samples: bluetooth: hci_spi: add nrf52dk_nrf52832 board support

Add nrf52dk_nrf52832 board support to bluetooth hci_spi sample.
SPI1 is used as bluetooth hci_spi slave.
It is configured with a pin slave configuration and gpio P0.03 is configured as output interrupt to communicate with the host board.

INFO    - 1/2 96b_carbon_nrf51          samples/bluetooth/hci_spi/sample.bluetooth.hci_spi SKIPPED (RAM overflow)
INFO    - 2/2 nrf51dk_nrf51422          samples/bluetooth/hci_spi/sample.bluetooth.hci_spi SKIPPED (RAM overflow)
INFO    - 2220 test scenarios (2 test instances) selected, 2 configurations skipped (0 by static filter, 2 at runtime).
INFO    - 0 of 2 test configurations passed (0.00%), 0 failed, 0 errored, 2 skipped with 0 warnings in 12.34 seconds
INFO    - In total 0 test cases were executed, 2 skipped on 0 out of total 550 platforms (0.00%)
INFO    - 0 test configurations executed on platforms, 0 test configurations were only built.

I think the board has to be added to platform_allow in addition to integration_platforms to be compiled. Not sure what is the difference.

@claudiatempesta you can use git rebase -i origin/main

@claudiatempesta could you push the rebased commit? git push --force-with-lease
The "commits" tab on the PR still has a lot of stuff, it should only have your one commit

@claudiatempesta Please stop fighting with Github.

@claudiatempesta Did you close it on purpose?


Devstack changes for demo

Synce'd devstack and diskimage-create scripts from the submitted patch
Modified service_vendor value in service_flavor field of service profile
Fixed flavor create
Modified README-NFP

@YogeshRajmane

[Ashutosh] Can we have nfp-fw, nfp-lb instead of nfp.
[Jagadish] Makes sense. However, lets do this after summit. Yogesh tested with this change and we have only couple of hours before summit.

Changes are fine.


Added a channel delete listener to nuke resources of a channel

As per the spec in #56 the resources in a channel are deleted when the channel is deleted
An embed is logged in the warning channel with the resources that the channel had

Closed by #115


Unify (and create production version) ENV variables for all apps

Creating hard links from .env.local to ..\.env should be last resort

Done by 4d964d88048ef7e27ea03119dfb6210ba9650f10


Drone autonomous flight bug

Basic Information

Mission version:
v0.96.6
Map used:
Altis
Mods used:
Blastcore Edit
Advanced Urban Rappelling
CBA_A3
JSRS Soundmod
ShackTack UI
Sway Fix
Dedicated or local game:
Dedicated; Linux DS [CentOS Linux release 8.0.1905 (Core)]
Source of the mission file (URL):
https://github.com/KillahPotatoes/KP-Liberation/releases/download/v0.96.6/kp_liberation.Altis.zip
Individual Things
Did you edit anything within the mission files?
Yes
If yes, what did you edit exactly?
Edited the parameters of the mission to allow for Halo Jumping.
Short Issue Description
Drones randomly during the mission begin to fly off the map. They also show 2 AIs controlling it at once for some reason. The drone will ignore automatic flight path commands unless you manually take control of it.
Expected Behaviour

Should remain under your control...
Steps to Reproduce the Issue

Purchase a drone, place it and begin flying.
Land after a few seconds of flight to restock munitions.
Take off again and attempt to use autonomous flight.
Be frustrated and restart the server to fix issue.

Screenshots, Serverlog or any other helpful Information
Video of the bug taking place

https://github.com/KillahPotatoes/KP-Liberation/issues/654

Personally I wasn't able to reproduce this. At least not in a reliable way.
There are indeed some issues with UAVs as it seems, but nothing I could really hunt down atm.
So if anybody out there might have an idea or even already fixed something similar in their mission etc., any contribution or hints are appreciated.

we only got the problem when dying the drone gets connected to a dead player. Only fix for that was a restart of the Server.

Can confirm with player dying the UAV control he had on him will be stuck to to the drone making it unusable for anyone one else to connect to until you go to the dead body of original player connected to drone and disconnect that terminal. Idea I think would be to add disconnect UAV terminal on player death or respawn.

As now also commented in the above PR: We already have this in the mission since about three years.
Refer to #19

Have been noticing this bug for a while in 0.96.6, I think it may have something to do with LAND waypoints. From the bohemia wiki about waypoint types:

When added to a fixed-wing crew, they will land at the nearest runway and taxi quickly until they are in position to take off.

For me, if a drone is issued a LAND waypoint through the UAV terminal, it will land and begin taxiing, but its path to taxi back to the start of the runway is obstructed by a FOB, so it just sits there. If I manually re-take control and fly off, it begins exhibiting the behaviour mentioned in the OP. But if I manually land the drone, stop it and turn off its engine while its previous waypoint (loiter, move, etc.) is still issued, it does not exhibit this behaviour and will work as normal when it takes off again.
I can try and get some video evidence of this later if it will help. I firmly believe the unresponsive behaviour has to do with an incomplete LAND waypoint.


Spread the EdgeX Micro Service Management (MSM) API to the ExportClient service.

The gist of having EdgeX Micro Service Management (MSM) API spread to the ExportClient service is to add the capability of delegating to the ExportClient service the request (to the SMA) for that service's configuration info and for its metrics info.
Initially, this existed only for the support-notifications service.

Closing this issue in favor of: Issue #697 and Issue #690.


ci(windows): consolidate unit tests and smoke tests

Related to #3922
I think this might save 10 minutes of runner time. Since the CI runs are highly parallel, it might only be 1 minute or so in wall time.

CI/CD is changing a lot in #4049 and the change I made here is trivial to redo later if we need it, so closing this.


[ISSUE #2095]acl multip files

close #2095

Coverage increased (+0.09%) to 51.318% when pulling 0ffb4bbf89c87c66b381d247554a4f02afaab8f6 on coder-zzzz:apache_features/#2095_ACL_MULTIP_FILES into fac30c3596d5577cd80a52af9ad89a0839016137 on apache:develop.


Do not check for existence of .analysis_options

When the analyzer is looking for the default analysis options for a package, it checks against analysis_options.yaml and .analysis_options. .analysis_options has been deprecated for a while. There is also a hint that shows up in the IDE asking users to migrate to analysis_options.yaml.
So it should be safe at this time to remove the checks for .analysis_options while trying to find the default options file.

@kevmoo, wdyt?
/cc, @stereotype441 , @scheglov

@keertip – is this pretty well contained or is this something causing complexity and issues elsewhere?
Might be a good thing to take care if in Vnull-safety+1

This is well contained, will not cause complexity elsewhere.
Looking at this now since it impacts the number of file access a stateless analysis would do every time it has to analyze a file. In a distributed system file access is more expensive than on a local machine.

https://dart-review.googlesource.com/c/sdk/+/138660

@keertip points for including the SHA where it was closed, too – 8329bd7ca81e4ff0706cbc9603e2a1ca295ee3a8 – makes it easier to find which release it's in!

Thanks Kevin!


Enable en-GB locale.

r+

Hi what is this. ?
On Thursday, August 13, 2015, Nikos Roussos<EMAIL_ADDRESS>wrote:

r+
—
Reply to this email directly or view it on GitHub
https://github.com/mozilla/mozillians/pull/1211#issuecomment-130604432.

@shajeeamaan r+ means that the pull request is reviewed and ready to be merged into master.


Extend cluster to more than 50 nodepools

Description
I have an existing cluster with ~40 nodepools. After adding ~15 more nodepools to the agent-nodepool list terraform apply failed with the following error message:
│ Error: subnet limit reached (resource_limit_exceeded)
│
│   with module.kube-hetzner.hcloud_network_subnet.agent[50],
│   on ../kubehetzner/main.tf line 42, in resource "hcloud_network_subnet" "agent":
│   42: resource "hcloud_network_subnet" "agent" {
│
╵

The documentation in the kube.tf file states, that the maximum number of nodepools is 255 in total.
But since a new subnet is created for every nodepool, the limit for maximum subnets set by hetzner, which is 50, prevents the creation of that many nodepools.
I could not find any option to configure this behaviour. So apparently the actual limit of combined nodepools is 50 due to the hetzner subnet limitation.
A potential solution to this would be to add an optional subnet parameter to the nodepool configuration, so one can configure multiple nodepools to use the same internal subnet, or to disable the creation of subnets for the nodepools alltogether and just add all nodes to the overlaying <IP_ADDRESS>/8 subnet.
Kube.tf file
...
module "kube-hetzner" {
  providers = {
    hcloud = hcloud
  }
  hcloud_token = var.hcloud_token != "" ? var.hcloud_token : local.hcloud_token

  source = "../terraform-hcloud-kube-hetzner"
  ssh_public_key = file("~/.ssh/id_ed25519.pub")
  ssh_private_key = file("~/.ssh/id_ed25519")
  network_region = "eu-central"

  control_plane_nodepools = [
    {
      name        = "control-plane-fsn1",
      server_type = "cx21",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 1
    },
    {
      name        = "control-plane-nbg1",
      server_type = "cx21",
      location    = "nbg1",
      labels      = [],
      taints      = [],
      count       = 1
    },
    {
      name        = "control-plane-hel1",
      server_type = "cx21",
      location    = "hel1",
      labels      = [],
      taints      = [],
      count       = 1
    }
  ]

  agent_nodepools = [
    ## more than 47 nodepools
  ]

  # * LB location and type, the latter will depend on how much load you want it to handle, see https://www.hetzner.com/cloud/load-balancer
  # load_balancer_type     = "lb11"
  # load_balancer_location = "fsn1"

  enable_klipper_metal_lb = "true"

  initial_k3s_channel = "v1.25"

  use_cluster_name_in_node_name = false

  enable_rancher = true

  rancher_hostname = "rancher.mydomain.xyz"
}

provider "hcloud" {
  token = var.hcloud_token != "" ? var.hcloud_token : local.hcloud_token
}

terraform {
  required_version = ">= 1.4.0"
  required_providers {
    hcloud = {
      source  = "hetznercloud/hcloud"
      version = ">= 1.41.0"
    }
  }
}

output "kubeconfig" {
  value     = module.kube-hetzner.kubeconfig
  sensitive = true
}

variable "hcloud_token" {
  sensitive = true
  default   = ""
}

Screenshots
No response
Platform
Ubuntu

@thomasprade It makes sense. Please have a look at the subnet creation logic in locals.tf. If you can think of a way to solve this, PR most welcome, of course it needs to be optional with a variable flag, so as to stay backward compatible. It's kind of a deep problem because of how the cluster networking works (but it's really the best solution we could find). And I believe you also have a limit of 500 nodes per Hetzner network, so I would imagine you are going to hit that pretty soon too.
What you could try, is create a vpn network overlay with tailscale on top of multiple clusters.  See https://docs.k3s.io/networking#multicluster-cidr-experimental. PR welcome too for that feature.
As a plan c, there's also something called submariner.io that was built by the rancher team. But the tailscale solution seems better.

I think there is a limit of 100 nodes per network: https://docs.hetzner.com/cloud/networks/faq#are-there-any-limits-on-how-networks-can-be-used

You can attach up to 100 servers to a Network.

I am not sure if it is possible to expand it via a request to Hetzner

@thomasprade Can you explain your use case in a bit more detail? It feels like you are creating a separate node pool for each node. Just wondering why you can't work with increasing the node count per node pool like this?
agent_nodepools = [
    {
      name        = "agent-small",
      server_type = "cpx11",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 10
    }
]

@M4t7e That is correct, each nodepool only has a single server in it.
Our application (unfortunately) is completely monolithic and since we promise a certain amount of compute power to each of our customers, we provision one server for each deployment of our application i.e. each customer.
And as for using multiple nodes within one nodepool, we decided against that for better management of the customer specific server, so that if a customer terminates their contract, we can easily deprovision the node by setting the count to 0.
I know, this is not the intended way to use a tool like this, or even kubernetes in general, but it allows us to more easily manage both, servers and application deployments.
So technically my issue is pretty much an edge case, but others may hit that problem as well, so a fix or at the least a warning/disclaimer is in order.

@mysticaltech While debugging a few attempts at the subnet creation logic, i also found, that creating the 42th nodepool results in an ip-address conflict with the default cluster_cidr of k3s, which is <IP_ADDRESS>/16.
I tried setting the cluster_ipv4_cidr variable to something like <IP_ADDRESS>/16 and these changes are reflected in the deployment of the hcloud controller manager, but all pods are still given IPs in the default 10.42.x.x range.
Only when I set k3s_exec_server_args = "--cluster-cidr=<IP_ADDRESS>/24 pods are now scheduled into that IP range.
So I added the argument to the k3s server start command in locals.tf:69 with --cluster-cidr=${var.cluster_ipv4_cidr} after the k3s_exec_server_args. Since this variable's default is the k3s default it should be completely backwards compatible.
PR for this change is coming asap.
This definitely isn't a solution for the whole problem, that @maggie44 is also facing, but at least it allows to create nodepools up to the limit of 50 in total (for now).

@M4t7e good to know, that using Cilium the issue of the pod IPs is different.
In #902 I added the use of the custom cluster- and service-cidrs to the k3s start command, which results in k3s reliably using an IP range other than <IP_ADDRESS>/16. If you could try these changes with your Cilium, that would be great.
A component, that is, afaik, also involved in the pod IP scheduling, or rather the addition of routes you mentioned, is the hcloud controller manager.
Right now I'm testing some solutions to omit the creation of subnets for each nodepool altogether, i.e. just one for all agents and control-planes respectively.

@M4t7e @thomasprade It is indeed the cloud controller, in our case the hcloud cloud controller that assigns the routes. You can see them its pod's logs, and also while runnig hcloud network inspect ....
In the past with Cilium, in the past, I was able to make it work with the Hetzner network directly without overlay network (native). It was not partly working but not super stable, but recently a user found out that the mtu for cilium was not set correctly and that is now fixed, so maybe that was the cause.

@thomasprade I submitted your issue to GPT-4 out of curiousity, and you may find it interesting. I think it's really worth it considering tweaking your follow, here what it said:

While it's a deviation from the conventional use of Kubernetes, your reasons for such an approach are understood. Let's explore some suggestions and thoughts:

Embracing Kubernetes: Even though Kubernetes is often associated with microservices, monolithic applications can definitely run on it. The one-server-per-customer strategy is atypical, but perhaps there's a middle ground where you can maintain management convenience while leveraging Kubernetes more effectively.

Namespace Isolation: If your primary objective is to isolate customer deployments, have you considered using Kubernetes namespaces? By assigning a namespace to each customer, you can isolate and manage resources on a per-customer basis.

Node Tainting and Affinities: To ensure each customer's deployment only runs on its specific node, consider node taints and tolerations along with node/pod affinities. This way, only the designated customer's pods will run on their dedicated node.

Cost Efficiency: Allocating a full server to each customer might not be the most economical, especially if not all customers utilize their server's resources entirely. Perhaps grouping smaller customers onto shared nodes and reserving dedicated nodes for larger customers could be more efficient.

Infrastructure as Code (IaC): To streamline the provisioning and deprovisioning of customer resources, tools like Terraform or Pulumi might be beneficial. These can help automate the management of infrastructure elements specific to each customer.

Logging and Monitoring: It's crucial to have robust monitoring and logging in place, especially when dedicating entire nodes to individual customers. Tools such as Prometheus, Grafana, or the ELK stack can provide invaluable insights.

Documentation: Given the potential implications for others, it might be valuable to document this scenario in your project's FAQ or issues section. This could assist others who adopt similar deployment strategies.

Feedback Loop: I encourage you to continuously share feedback or any modifications you make to meet your requirements. Collaboration can lead to a project that's both robust and versatile.

Scaling Considerations: As your application grows, this approach may present scaling challenges. We should discuss potential scaling scenarios and how to utilize Kubernetes' inherent scaling mechanisms more efficiently.

Potential Redesign: If there's ever a window of opportunity, consider breaking your monolithic application into smaller microservices. This could not only optimize Kubernetes usage but also offer improved scalability and flexibility.

In conclusion, while unconventional, the flexibility of Kubernetes allows for various deployment strategies. What's crucial is aligning these strategies with business needs while being aware of best practices and potential challenges.

@maggie44 Let's open a proper feature requests for what you need in the issues section, as it seems related to the node labels we talked about tthe under day. (In discussions, I may forget about it, but not in the issues).

@thomasprade Closing this for now, as there is not much we can do. The limitation has you mentioned above is from the Hetzner network. I will adjust the docs to give proper expectations.

@mysticaltech In my PR #902 I already updated/clarified the documentation in the kube.tf to a certain degree. I hope that is at least somewhat helpful/sufficient.
I will also further investigate a potential solution for the subnet limitation, and if I get to something practical I will open a new PR.
Thanks for the help and for the suggestions above :+1:


(AAD B2C) Potentially incorrect info on the ability to force a password reset with Microsoft Graph.

Hi there,
In the documentation referenced below, it's described how, via the Microsoft Graph API, it's possible to programatically force a password reset of an Azure AD B2C consumer user. However, the circumstances I'm observing lead me to believe this may not be possible (though I genuinely hope I'm making a daft error as I'm trying to avoid using custom policies).
Namely:

In other sections such as here, the docs say to set the forceChangePasswordNextSignIn to false, then advises to use the advice given in the docs this issue refers to, which advises setting it to true. There are a few other locations in the Graph docs that reference that this value must be set to false for B2C users, and an answer on Stack Overflow from a Microsoft employee, circa 2020, saying that custom policies were, at that time, the only option.

Believing the above advice to set to false to be specific to creating a new user, I first created a new user then attempted to follow the linked guide. I created a test user and tested that it could login, then attempted to set forceChangePasswordNextSignIn to true. I receive the following error:

{
	"error": {
		"code": "Authorization_RequestDenied",
		"message": "Insufficient privileges to complete the operation.",
		"innerError": {
			"date": "2022-07-26T02:20:51",
			"request-id": "08a26df3-e744-4b0a-9aee-13e20696a6ce",
			"client-request-id": "08a26df3-e744-4b0a-9aee-13e20696a6ce"
		}
	}
}

Wondering if this was a permissions error, I first checked the API's permissions (I'm using application rather than delegated permissions) met the requirements of Update user (User.ReadWrite.All, User.ManageIdentities.All, Directory.ReadWrite.All), which they were. I then added any permission that vaguely looked user-info or security-related, which had no effect:
(From the JWT):
"roles": [
    "IdentityUserFlow.ReadWrite.All",
    "Policy.ReadWrite.PermissionGrant",
    "Policy.ReadWrite.ConditionalAccess",
    "Policy.ReadWrite.AuthenticationMethod",
    "UserAuthenticationMethod.Read.All",
    "Mail.ReadWrite",
    "User.ReadWrite.All",
    "Policy.ReadWrite.AuthenticationFlows",
    "UserAuthenticationMethod.ReadWrite.All",
    "Policy.ReadWrite.ApplicationConfiguration",
    "Directory.ReadWrite.All",
    "AuthenticationContext.ReadWrite.All",
    "User.Invite.All",
    "IdentityProvider.ReadWrite.All",
    "Organization.ReadWrite.All",
    "Directory.Write.Restricted",
    "PrivilegedAccess.ReadWrite.AzureAD",
    "PrivilegedAccess.ReadWrite.AzureResources",
    "Mail.Send",
    "User.ManageIdentities.All",
    "RoleManagement.ReadWrite.Directory",
    "AdministrativeUnit.ReadWrite.All",
    "Policy.ReadWrite.CrossTenantAccess",
    "Member.Read.Hidden",
    "Policy.ReadWrite.Authorization",
    "Policy.ReadWrite.FeatureRollout",
    "Policy.ReadWrite.TrustFramework",
    "PrivilegedAccess.ReadWrite.AzureADGroup"
  ],

For reference, I have no issue amending any other element of the B2C user's profile, just the passwordProfile.
Combined, the above leads me to believe that it's not possible to follow the procedure given on this documentation page, and that the necessary route is to use a custom policy to accomplish this.
Conversely, if I'm doing something wrong, I beg that somebody puts me out of my misery and tells me what!

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

ID: ba68c500-97ef-0043-42d1-fd4e2cd1c2bc
Version Independent ID: ad857714-2cd7-1188-4b94-fb98d370bbe0
Content: Configure a force password reset flow in Azure AD B2C - Azure AD B2C
Content Source: articles/active-directory-b2c/force-password-reset.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@kjkent Thanks for your feedback. We will investigate and update the thread.

@shwetamathur7, thank you. I've updated the issue as I've found a solution/workaround:

After some more debugging, I've discovered that this behaviour is due to the application not being assigned the "Password Administrator" administrative role from within Azure AD. After adding this, the problem resolves. Looking through the Graph API documentation, I don't believe it's sufficiently clear that this step must be taken in order to run certain requests. Or, is it possible that this is unwanted behaviour?
For instance, on the Update user page, there is an info box discussing Azure AD roles in the context of who the API can access, but it doesn't say that an application must be manually assigned an administrative role on top of its API application permissions.
With this in mind I'd like to focus this issue, if possible, on the documentation of the needed permissions to alter a user's passwordProfile, or any next steps if this issue reflects unwanted behaviour.

@kjkent Glad you are able to resolve the issue. Yes, to update the password. User should have user administrator or a password administrator role as specified here "Sign in to the Azure portal as a user administrator or a password administrator."
Closing thread as issue has been resolved.

Hi @shwetamathur7, I'm not sure this should be closed as I think you misunderstood my response - I've always been signing into Azure as a Global Administrator.
What I said was that the application itself needed to be assigned the role of Password Administrator, which is not documented.

@kjkent Apologies for misunderstood the ask here. I will check and update you.

@shwetamathur7 No apologies necessary! :) Just wanted to make sure you were aware.

Hi @kjkent , I have the same issue here, trying to set the "forceChangePasswordNextSignIn" to "True", but I get a "Insufficient privileges to complete the operation." message. Always on an Azure AD B2C tenant.
How exactly did you manage to assign the Password Administrator role to the application in Azure b2c?

@GiannisKout In your Azure AD B2C tenant, open the Azure Active Directory resource (not the B2C one), and there will be a blade called Roles and administrators.
From within that tab you can filter by name and assign your application to the role as if you were assigning a user (by typing in its name).

@kjkent Perfect!! Thank you a lot for your help! :)

@kengaderdus Could you please look into this and confirm.

Thanks @shwetamathur7, @GiannisKout and @kjkent
We'll use @kjkent narrative and doublecheck, and we'll update the document soon.

@kjkent, @GiannisKout
We've updated the doc. And you're right @kjkent, your Microsoft Graph app needs the Password Administrator role, or if you need to do everything related to user management, you can assign it the User Administrator role, and you can do it right from Azure AD B2C blade.

@kengaderdus Thanks for such a speedy resolution, hopefully it helps the next person to run into this!
I actually found another eccentricity surrounding passwords and B2C — I'm not 100% sure whether it's a documentation issue or unexpected behaviour, but I believe there's a docs improvement to be made regardless. I'll make a new issue for that :).
All the best.

@kjkent
Thank you for your feedback. Please create the new issue and we'll be glad to address it.


Add fixes for sketch thumbnails and layouts

We had a few image issues with sketches:

We show some sketches at a larger size, but only have 400x400 thumbnails from OP
Some sketches on OP don't have thumbnails at all because the author never saved one

This addresses those issues by using a scheme where we can provide manual screenshots at a higher resolution. When fetching a sketch thumbnail, it will first look in the src/content/sketches/images directory for a file named ${id}.png, and will fall back to the OP thumbnail if it does not find one. I've added high res screenshots for everything that currently shows up on the Community homepage, and all sketches in the curation that currently do not have any screenshot:

Another tweak I made was on the page for a single sketch. Every sketch was being displayed in a 400x400 iframe, which means most sketches get scrollbars. The OpenProcessing API also lets us see the sketch source code, so I used it to extract the canvas size that the sketch requests, and then use the following logic:

If the sketch sizes itself to the window, then I make it fit the site's standard column width and keep a 3:2 aspect ratio always (the same we use for our thumbnails)

If the sketch requests a fixed size canvas, then I display the canvas at that exact size (plus 50px vertically for the header bar in the embed), and then use a CSS transform to scale it down to match the column width

This also fixes some little things, like how the name of a sketch in the breadcrumbs included the author due to it being on a second line in the title (now I pass in the second line separately so that it can be displayed but not in the breadcrumbs.)

Moving to the api folder sounds good to me, just moved the files there.
What was the layout issue on the community page you were mentioning?


Sexual debut - Ethiopia

Add likelihood of sexual debut by age from DHS (v531) imputed with age at first union.

See data processing folder for code

@aaslinur Here are the sexual debut probabilities by age for the Ethiopia 2016 DHS.  Let me know if you were looking for something else!
Debut_age_probs_DHS_Ethiopia.csv

Issue Closed: PR #156


useMutation mutate function does not call onSucces on first slow item when fired twice

Describe the bug
I have a useMutation function that calls the server in one of two ways, depending on the type of resource provided.
One call is slow, one call is fast. Both calls starts almost at the same time.
 The onSucces function is not called for the first slow call, only for the fast second call.
Your minimal, reproducible example
https://codesandbox.io/s/eloquent-cloud-dv8uwl?file=%2Fsrc%2FApp.js
Steps to reproduce
In the codesandbox link you find an object with a onSuccess method. The function should be called twice (for the fast and slow call), but is only called once for the fast call (like the description within the code says).
Expected behavior
If a onSuccess method is send with the mutate function, the onSuccess method should always be called.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
OS: Windows 11. Firefox 112.0.2
Tanstack Query adapter
react-query
TanStack Query version
4.28.0
TypeScript version
No response
Additional context
No response

The callbacks on mutate are only called for the last invocation. That is on purpose. The callbacks on useMutation are called every time.
This is documented here: https://tanstack.com/query/v4/docs/react/guides/mutations#consecutive-mutations


Eliminate MD rule suppression for lists being surrounded by blank lines

The linter rule is 'MD032'.
I think this may be able to be fixed once the rest of the CSS/SASS is optimized so we don't have to add specific classes to lists.

This issue was resolved.


Stronger check for 'available', if there is an error with the native code it calls the callback with 'false'.

As an example, I built an app for cordova-windows (windows 10 universal app), and has no support from flashlight, but the plugin js is still loaded into the project (so window.plugins.flashlight object exists), but any call to 'available' will never get an answer (callback never fired), when is clearly not available.

Thanks! 👍

Thanks to you for the plugin!


zpaqfranz: 60.6 -> 60.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/fcorbelli/zpaqfranz/releases.
meta.description for zpaqfranz is: Advanced multiversioned deduplicating archiver, with HW acceleration, encryption and paranoid-level tests
meta.homepage for zpaqfranz is: https://github.com/fcorbelli/zpaqfranz
meta.changelog for zpaqfranz is: https://github.com/fcorbelli/zpaqfranz/releases/tag/60.7
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 60.7 with grep in /nix/store/qlfr0sif13scmmagp3gv8rb2h4r4ascm-zpaqfranz-60.7
found 60.7 in filename of file in /nix/store/qlfr0sif13scmmagp3gv8rb2h4r4ascm-zpaqfranz-60.7

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

zpaqfranz

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qlfr0sif13scmmagp3gv8rb2h4r4ascm-zpaqfranz-60.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A zpaqfranz https://github.com/r-ryantm/nixpkgs/archive/517425649e70b87be93da2acc62210f3c1251c34.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/517425649e70b87be93da2acc62210f3c1251c34#zpaqfranz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qlfr0sif13scmmagp3gv8rb2h4r4ascm-zpaqfranz-60.7
ls -la /nix/store/qlfr0sif13scmmagp3gv8rb2h4r4ascm-zpaqfranz-60.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

zpaqfranz

Maintainer pings
cc @AndersonTorres for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@ofborg eval

@NixOS/nixpkgs-merge-bot merge


Teams iOS app can't call XXX.XXX.XXXX format numbers

In Active Directory, we stored user phone numbers in the format XXX.XXX.XXXX
In the iOS Teams app, when you pull up a contact and try to call a phone number in this format, it asks if you want to call XXX.  It only seems to find the first three digits of the number when you use dots to separate the sections.  If you use dashes to separate like XXX-XXX-XXXX or international format like +1 XXXXXXXXXX, the app can make the call with no problem.
This seems to be a bug to me.

Thanks for reporting. We have filed a bug for this.

I am looking into this. It seems phone numbers formatted with standard periods are detected correctly. Any chance the numbers in this particular case are being separated by some non-standard symbol?

Hello,
See attached screenshots. We are using the standard period character as a separator, ascii 46, in our phone numbers.
As you can see on the first picture, Caleb’s desk phone is<PHONE_NUMBER>
When you try to call that number from the Teams app with that contact information, it only grabs 717 and not the rest of the number.
Thanks for looking into this!
Leonard
[cid:sage_37818263-3e8f-4deb-acb2-07ec993e385c.png]
Leonard Wolf
IT Helpdesk Coordinator
Sage Technology Solutions, Inc.
1040 West Main Street | Mount Joy, PA 17552
Direct |<PHONE_NUMBER>
websitehttps://sagetechs.com/ |<EMAIL_ADDRESS>| servicehttps://sagetechs.com/what-we-do/service-support/service-request-form  24hr<PHONE_NUMBER>
This message is intended only for official business use by the individual or entity to which it is addressed.
This message was sent from my mobile device.
On Mar 19, 2019, at 3:47 PM, Sten Uusvali <notifications<EMAIL_ADDRESS>wrote:
I am looking into this. It seems phone numbers formatted with standard periods are detected correctly. Any chance the numbers in this particular case are being separated by some non-standard symbol?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/msteams-docs/issues/498#issuecomment-474550616, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AuSLt1V_Rx3WA-wqsCdFTzEZTVzpSxQ5ks5vYT7ogaJpZM4bwDkS.

I tested this again today and it's still broken on my iPhone in the iOS Teams app.
If there is a Teams contact with a phone number in the xxx.xxx.xxxx format and I try, from the Teams contact, to call the phone number for that contact, it just gets the first three digits of the number.
Apple seems to work around this problem by converting any/every contact phone number from xxx.xxx.xxxx to (xxx) xxx-xxxx. I can paste the xxx.xxx.xxxx number into a contact or even into the number on my iPhone dialer, but it automatically/immediately converts it to (xxx) xxx-xxxx.
Let me know if there's any more progress on this issue from your side.
Thanks!

The fix will be available in 2nd Week of July.


[ci] Fixes gradle 8.0 native publish issue

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report
Patch coverage: 73.93% and project coverage change: +1.81 :tada:

Comparison is base (bb5073f) 72.08% compared to head (d18b898) 73.90%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2457      +/-   ##
============================================
+ Coverage     72.08%   73.90%   +1.81%
- Complexity     5126     6805    +1679
============================================
  Files           473      673     +200
  Lines         21970    29700    +7730
  Branches       2351     3065     +714
============================================
+ Hits          15838    21951    +6113
- Misses         4925     6261    +1336
- Partials       1207     1488     +281

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

.../modality/cv/translator/ImageFeatureExtractor.java
0.00% <0.00%> (ø)

.../ai/djl/modality/cv/translator/YoloTranslator.java
27.77% <0.00%> (+18.95%)
:arrow_up:

...ain/java/ai/djl/modality/cv/util/NDImageUtils.java
67.10% <0.00%> (+7.89%)
:arrow_up:

api/src/main/java/ai/djl/modality/nlp/Decoder.java
63.63% <ø> (ø)

... and 228 more

... and 340 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Search in a timeline

Expected commend:
timesketch-tools.py sketch -o search -sid 1 -st win

Should search in the sketch id 1 for the term win

there you go:
https://github.com/deralexxx/timesketch-tools#search-in-a-sketch
https://github.com/deralexxx/timesketch-tools/commit/f8fe58571eaf403eefb28509b665cd58502442d9


LOOP statements

In LOOP statements, VARYING, WHILE and UNTIL clauses can be scattered across the body. However, my question is can there be multiple VARYING clauses or multiple WHILE or multiple UNTIL clauses? If the answer is yes what should be the control flow of such LOOP statement?

According to the diagram, there can indeed be several clauses of each kind.
Just imagine each LOOP as one encompassing while(true) where different things are happening in the body. Then, for instance, each UNTIL X=0 can be compiled to an equivalent of if(x==0)break; — that happens at exactly the place where the UNTIL clause is found, not necessarily at the beginning or the end of the loop body, like in boring mainstream languages.


build FacDB 24v2 draft 2

resolves #1186
all builds on this branch here
using this branch to pin versions, will not merge changes to facilities/recipe.yml

Just fyi, you can use the repeat build gha to keep versions pinned but use latest code in a branch!

@damonmcc we can close?


Global: Reset the default viewport size for the App

Overview
The new viewport default size is causing some issues with how our pages are rendering. Until we're able to fix all of these responsiveness issues, let's revert the default viewport size to: 1020x768px
Acceptance Criteria

[ ] The default viewport for the app is 1020x768px

Putting this on hold for now. We're going to see if we can fix all the responsive bugs from the 6.0 ALPHA


single crossbuild

Description
Testing

[ ] Unit, integration tests

Documentation

[ ] Changelog update
[ ] Documentation link

Changes Unknown when pulling fb5ffdf7135b7619fb76448d92a041ce632472ef on feature/singleCrossbuild into ** on master**.


[BUG] Can't access data inside a table

🐛 Bug Report
I'm developing a web app using react and I need to read data inside and Excel Table. I can get the table using worksheet.getTable() but then I'm unable to read the data directly from the table and im forced to just cycle the rows of the entire worksheet.
From the documentation it seems that there should be a rows property in the table to access the data, but I keep getting errors as it's undefined in my case.
Here is the Excel i'm trying to read: test.xlsx
Lib version: 4.3.0
Steps To Reproduce

const workbook = new Workbook();
const xlsx = await workbook.xlsx.load(file);
const worksheet = xlsx.getWorksheet('test');
const table = worksheet.getTable('tbl_dictionary');

table.rows <---  undefined
table.table.rows <---  undefined

table.addRow(['test']) <--- throws error Cannot read properties of undefined (reading 'length')

The expected behaviour:
I'm able to loop through table rows using table.rows or table.table.rows

You can use table.getColumn
for example
// Get Column Wrapper for second column
const column = table.getColumn(1);

@okon3  , yeah, I have already coming across to the same problem working on a professional project. @singhxamit21 using getColumn(1) works for me but it does not present any useful data about the table content as all properties are undefined as specified in the given screen

I am experiencing the same issue :/

I also cannot grab any meaningful data using this table function.


Pushing for help with Redux selectors

I watched a Redux video and read some of the docs. I've created my action (please ignore the do and confirm actions, I will delete those, sorry) and reducer and they seem to be working but my selector is not. I could use help on this. I think once I manage to get the videoPause value from the store into the VideoPlayer component I will be able to wrap this up.

I'm looking into this

Making a follow up issue to this since this is work.


Creating Katib experiment, not errors but the trial pods are not created

Hi! I am new to Kubeflow, Katib and Kale so perhaps I'm missing something obvious. I have a notebook that works fine with Kale as far as creating and running pipelines is concerned. However when I create an experiment by enabling and configuring Katib, it creates the firs pod for the search (grid, random, etc)  but then nothing else happens. The katib controller log shows that the trials are "running" and that's also what the UI says, but nothing else really happens. There are no new pods created and I don't get any errors in either the logs or the UI. What could be causing this? Thanks in advance!

It was an issue with the service account.


Releasing LoRA Trainer Code

Hi Yuwei, do you have any ETA on when you wil release the LoRA trainer code? Many in the community have different ideas on how to use it.

I try to train lora with peft, the results of training are right. But i can not load lora ckpt rightly.

I try to train lora with peft, the results of training are right. But i can not load lora ckpt rightly.
@jiaxiangc I am writing code to train it by LORA, can we have chance to discuss this


darkfish documentation warning output when installing gem

I just downloaded ruby 2.3 on my new system and installed dependencies on my project via: rvm use ruby-2.3.0 && cd rails/ && gem install bundle && bundle
I saw this output when parsing your documentation (this happened only to your gem)
Parsing documentation for mime-types-2.99
Installing ri documentation for mime-types-2.99
Installing darkfish documentation for mime-types-2.99
Parsing documentation for mail-2.6.3
Installing ri documentation for mail-2.6.3
Installing darkfish documentation for mail-2.6.3
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
Parsing documentation for actionmailer-4.2.5
Installing ri documentation for actionmailer-4.2.5
Installing darkfish documentation for actionmailer-4.2.5
Parsing documentation for rails-4.2.5

I had the same thing today (rbenv ruby 2.4.1) when did gem update:
Installing darkfish documentation for mail-2.6.5
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
Done installing documentation for mail after 11 seconds

@ozgg Can you reproduce with rdoc --verbose to identify where the warning is arising? This output isn't enough to go on.

@jeremy I'm not sure if I did everything right, but here is gist of output for rdoc --verbose which I ran in ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mail-2.6.5

Hmm no warnings there. Not sure what is tickling it, then!

@jeremy maybe there is something to do with combination of rdoc, darkfish and mail? Anyway I don't think that's something critical :)

I think it's only the problem of darkfish documenter, because there are pretty much similar warnings having darkfish with eval for other gems in Google.

Looks like this is fixed by https://github.com/rdoc/rdoc/pull/440


Accessibility: change the description heading to H2

An issue was highlighted in the basic accessibility check with the "Description" heading on data pages.
This is currently tagged as H3 and should be updated to H2.

https://github.com/ministryofjustice/find-moj-data/pull/888


fix: consider only healthy pods as electable for synchronous replica

Closes #339
Signed-off-by: Armando Ruocco<EMAIL_ADDRESS>

/test


JUnit test failure only on Github Action CI

Description:
We're experiencing a JUnit test failure only on the CI container that can't be replicated on any other developer machines. I recognize this doesn't necessarily implicate the contianer, but given that it's just a unit test that doesn't use network requests or interact with the database, I don't see any obvious places where test pollution might occur.
Area for Triage:  Java, Testing and code coverage
Question, Bug, or Feature?:  Bug
Virtual environments affected

[x] Ubuntu 18.04
[x] Ubuntu 20.04
[x] macOS 10.15

Expected behavior
Running ./gradlew test passes on any environment.
Actual behavior
One particular unit test fails, only on CI.
Repro steps

Run ./gradlew test. Project is open source so feel free to clone it and use the readme instructions to run the test yourselves.
Test failure on 20.04
Failure on 18.04

@bencalegari i see the test seems to be fixed by removing  @ContextConfiguration annotation of CoverPageInputsMapperTest class . Please confirm the problem is solved now

I'm not sure what version of the file you're referencing, but we ended up resolving the issue by getting the Locale from the LocaleContextHolder, and elevating it to a SpringBoot test. Unsure exactly what happened but I'll close this for now.


New to, subject and body flags.

Users can use the gomtp for their daily needs.
We should create a config file which includes the SMTP server configuration.
Then users should run gomtp like an example command below:
Send basic body directly.
gomtp -f ~/gomtp.yaml --to<EMAIL_ADDRESS>--subject "gomtp test mail" --body "This is a test email sent from gomtp."

Read the body from a file.
gomtp -f ~/gomtp.yaml --to<EMAIL_ADDRESS>--subject "gomtp test mail" --body-file ~/gomtp-body

Read the body from the stdin.
echo "This is a test email sent from gomtp." | gomtp -f ~/gomtp.yaml --to<EMAIL_ADDRESS>--subject "gomtp test mail"

The feature working as expected, tests are passing in local. But in the Github Actions, it is giving error. If you need the feature, you can switch to that branch (feature/32) and build the app locally for now.


Document trigger()

Trigger method is not documented. See https://tabrisjs.com/documentation/1.5/api/Events

It's now documented on NativeObject.


DOCS: fix parsed base_tag code in alert note

It's a bit hard to fix the alert blocks, as the preview doesn't display them at all. Using HTML entities should do the trick though.

I disagree with this change, sorry. The issue with not parsing markdown inside the HTML blocks is one that lies with silverstripe/docsviewer, but I think this reduces readability of the docs themselves.


Use latest compiler for Windows

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Close #53

@conda-forge-admin, please rerender


[Feature Request]: Create issues for modules in missing modules table

Description
A list of all potential modules can be found here: Excel

the team feels that creating all those issues may be a bit too much. How instead automate a list of missing resources/children to follow a lean approach?

Will serve new modules on a "is needed" basis


Vespa CLI 8.405.15 did not get marked as latest release

👋 looks like 8.405.15 did not get marked as latest release, raise this issue for some awareness. Thanks!
relates to https://github.com/Homebrew/homebrew-core/pull/183574

Thanks, fixed! 😊
https://github.com/vespa-engine/vespa/releases/tag/v8.405.15

thanks @esolitos!

@esolitos looks like same thing happens for 8.410.10 rel, https://github.com/Homebrew/homebrew-core/pull/191085

Indeed 😞
I'll make sure to fix this tomorrow.


ProductListRemovals doesn't map to Remove Cart in Adobe Analytics (scRemove)

Expected Behaviour
commerce.productListRemovals.value = 1 maps to the Cart Removals metric in Adobe Analytics.
Actual Behaviour
Cart Removals is not populated with data.
Reproduce Scenario (including but not limited to)

Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem

@ericmatisoff Could you past the JSON payload you are sending here. That will help us diagnose the problem.

{"events":[{"xdm":{"web":{"webPageDetails":{"URL":"https://ericm-uzr7nty-3bng3vp43k57a.demo.magentosite.cloud/#"},"webReferrer":{"URL":"https://ericm-uzr7nty-3bng3vp43k57a.demo.magentosite.cloud/"}},"device":{"screenHeight":1050,"screenWidth":1680,"screenOrientation":"landscape"},"environment":{"type":"browser","browserDetails":{"viewportWidth":987,"viewportHeight":948}},"placeContext":{"localTime":"2020-08-18T11:18:54.840-04:00","localTimezoneOffset":240},"timestamp":"2020-08-18T15:18:54.840Z","implementationDetails":{"name":"https://ns.adobe.com/experience/alloy","version":"2.1.0","environment":"browser"},"commerce":{"productListRemovals":{"value":1}},"productListItems":[{"SKU":"24-mb02","name":"fusion backpack"}]}}],"query":{"identity":{"fetch":["ECID"]}},"meta":{"state":{"domain":"ericm-uzr7nty-3bng3vp43k57a.demo.magentosite.cloud","cookiesEnabled":true,"entries":[{"key":"kndctr_EDA8E66E593730510A495EFA_AdobeOrg_consent","value":"general=in"},{"key":"kndctr_EDA8E66E593730510A495EFA_AdobeOrg_identity","value":"CiY2MTI5MTY1OTM4NDk0ODY0MDgyMDEyNzkxODYzMTE5MzQ2Mzc2N1INCMHJ4uu-LhAAGAEgCKABwcni674uqAGfrN2025PV_ukB8AGc16mQwC4="},{"key":"kndctr_EDA8E66E593730510A495EFA_AdobeOrg_consent_check","value":"1"},{"key":"kndctr_EDA8E66E593730510A495EFA_AdobeOrg_personalization_sessionId","value":"cfbe3d2f-e755-4225-a46e-ace4f8301731"}]}}}

Referenced in AN-230356

@ericmatisoff We weren't able to reproduce this.
{"events":[{"xdm":{"web":{"webPageDetails":{"URL":"https://ericm-uzr7nty-3bng3vp43k57a.demo.magentosite.cloud/#"},"webReferrer":{"URL":"https://ericm-uzr7nty-3bng3vp43k57a.demo.magentosite.cloud/"}},"device":{"screenHeight":1050,"screenWidth":1680,"screenOrientation":"landscape"},"environment":{"type":"browser","browserDetails":{"viewportWidth":987,"viewportHeight":948}},"placeContext":{"localTime":"2020-08-18T11:18:54.840-04:00","localTimezoneOffset":240},"timestamp":"2020-08-18T15:18:54.840Z","implementationDetails":{"name":"https://ns.adobe.com/experience/alloy","version":"2.1.0","environment":"browser"},"commerce":{"productListRemovals":{"value":1}},"productListItems":[{"SKU":"24-mb02","name":"fusion backpack"}]}}],"query":{"identity":{"fetch":["ECID"]}},"meta":{"state":{"domain":"ericm-uzr7nty-3bng3vp43k57a.demo.magentosite.cloud","cookiesEnabled":true,"entries":[{"key":"kndctr_EDA8E66E593730510A495EFA_AdobeOrg_consent","value":"general=in"},{"key":"kndctr_EDA8E66E593730510A495EFA_AdobeOrg_identity","value":"CiY2MTI5MTY1OTM4NDk0ODY0MDgyMDEyNzkxODYzMTE5MzQ2Mzc2N1INCMHJ4uu-LhAAGAEgCKABwcni674uqAGfrN2025PV_ukB8AGc16mQwC4="},{"key":"kndctr_EDA8E66E593730510A495EFA_AdobeOrg_consent_check","value":"1"},{"key":"kndctr_EDA8E66E593730510A495EFA_AdobeOrg_personalization_sessionId","value":"cfbe3d2f-e755-4225-a46e-ace4f8301731"}]}}}

Here is what got mapped
{
  "bh": "948",
  "bw": "987",
  "c.a.x.device.screenorientation": "landscape",
  "c.a.x.environment.type": "browser",
  "c.a.x.placecontext.localtime": "2020-08-18T11:18:54.840-04:00",
  "c.a.x.placecontext.localtimezoneoffset": "240",
  "c.a.x.productlistitems.[0].sku": "24-mb02",
  "c.a.x.timestamp": "2020-08-18T15:18:54.840Z",
  "cust_hit_time_gmt": "1579781427",
  "events": "scRemove",
  "g": "https://ericm-uzr7nty-3bng3vp43k57a.demo.magentosite.cloud/#",
  "pl": ";fusion backpack",
  "r": "https://ericm-uzr7nty-3bng3vp43k57a.demo.magentosite.cloud/",
  "s": "1680x1050"
}

Is this still not working for you?

Unfortunately, yes, still not seeing any Cart Removals. I'd expect the above mapping to fire one too

Checking in today and still not seeing Cart Removals. Really strange!

Do you have a page we could look at?

Yes absolutely, sorry I missed that.
https://ericm-uzr7nty-3bng3vp43k57a.demo.magentosite.cloud/
Add any product to cart, click the minicart in the top-right, then click the trashcan in the minicart to remove the product (and fire the associated tag).
Thanks for looking into this

@ericmatisoff Is this still an issue?

I just gave it a try to see if any Cart Removals appear in AA. Will check later to confirm

No longer an issue. Going to close


Document remaining obsolete SSL_OP_NETSCAPE_*_BUG

SSL_OP_NETSCAPE_CA_DN_BUG became obsolete in 3c33c6f6b1086435 and support for SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG was removed by 7a4dadc3a6a487db. The definitions are still listed under "OBSOLETE OPTIONS retained for compatibility" in ssl.h.in, so this commit adds them to the list of obsolete options in doc/man3.
Refs: https://github.com/nodejs/node/pull/46954

Checklist

[x] documentation is added or updated

This pull request is ready to merge

Merged, thanks for the fix.


Create a plain vanilla fake API

This API should be promise based.
Right now we will focus on the following contracts:

Validate a given login (on a given user and password return success or not).
Display a list of courses available for a given student.

Folder structure:
+src
+api
 |   + restAPI.ts // Singleton
+model
 |   + TrainingModel  // Entity sinmple class

About the API (pseudcode I would expecte something like, pseudocode)

class RestAPI {

  public validateLogin(loginName : string, password: string) : Promise<bool> {
      // ...
  }

  // in the real app it will extract logged in user Id from the JWT token
  public GetTrainingsPerLoggedInStudent() {
      //...
  }
}

export const restAPI = new RestAPI();

About fake api, we need to have a session and define the contracts for you to start creating the real fake api.I will update you soon.

We will start on friday integrating this in the real project, as soon as I we get the first part ready in the class session we can continue with the rest

I will close this issue, since we have splitted it in #36, #33, #28


Long wait time even for few emails

I think i'm doing something wrong, cause fetching 5 mails for me can take up to 15 seconds, for 30 mail it takes about a minute. Evertything is working as exepected and i correctly read and display the mails, but this loading times are making this great package unusable, so i hope someone can help me with that.
My internet connection is fast and stable and i tried setFetchBody(false) and setFetchAttachment(false) but it seems to speed up the loading time of only a few seconds overall, not making a big difference.
Here is my code. I am only retrieving the gmail folder with his children folders, to speed things up a little bit. I noticed that the connection part takes a "normal"  3-4 seconds. and most of the time is consumed by the query.
Thanks again to whoever would want to help me, and sorry for bad formatting of code.
ENV FILE:
IMAP_HOST=imap.gmail.com
IMAP_PORT=993
IMAP_ENCRYPTION=ssl
IMAP_VALIDATE_CERT=true
IMAP_USERNAME=*********
IMAP_PASSWORD=********
IMAP_DEFAULT_ACCOUNT=default
IMAP_PROTOCOL=imap

PHP FILE:
        $oClient = new Client([
            'host'          => 'imap.gmail.com',
            'port'          => 993,
            'encryption'    => 'ssl',
            'validate_cert' => true,
            'username'      => '*******',
            'password'      => '*******',
            'protocol'      => 'imap',
        ]);

//Connect to the IMAP Server
        $oClient->connect();

//Get all Mailboxes

        $gmailFolder=$oClient->getFolders(true,'[Gmail]')[0];

//Loop through every folder, only in gmail
//        $gmailFolder=$aFolder[4]->children;
        /** @var \Webklex\IMAP\Folder $oFolder */
        $folders=[];
        foreach($gmailFolder->children as $oFolder){
            //Get all Messages of the current Mailbox $oFolder

            $aMessage = $oFolder->query()->since('26.10.2018')->limit(3)->setFetchFlags(false)
               ->setFetchBody(false)
                ->setFetchAttachment(false)->get();

                $mails=[];

            /** @var \Webklex\IMAP\Message $oMessage */
            foreach($aMessage as $oMessage){
                $mail['subject']=$oMessage->getSubject();
                $mail['from']=$oMessage->getFrom();
                $mail['replyTo']=$oMessage->getReplyTo();
      //          $mail['HTMLBody']=$oMessage->getHTMLBody();
                $mail['date']=$oMessage->getDate();
                $mails[]=$mail;

            }
            $folders[$oFolder->name]=$mails;
    }

Hi @andreav94 ,
how many folders are you actually fetching?
If you time your code by using something like this:
$start = microtime(true);
$gmailFolder=$oClient->getFolders(true,'[Gmail]')[0];
echo 'folders fetched: '.(microtime(true) - $start);

$_start = microtime(true);
foreach($gmailFolder->children as $oFolder){
     $start = microtime(true);
     $aMessage = $oFolder->query()->since('26.10.2018')->limit(3)->setFetchFlags(false)
               ->setFetchBody(false)
                ->setFetchAttachment(false)->get();
     echo 'messages fetched: '.(microtime(true) - $start);
}
 echo 'all messages fetched: '.(microtime(true) - $_start);

..whats the output?
Best regards

@kill300r have you fixed your issue regarding long waiting time? I also experience the same issue.

Hey, yes I have :)
The problem is that the Site has to load too many e-mails at once.
You have to load around 20 Mails per page. Personally i made my own pagination
because I could’t make Webklexes to work right...
Check this PDF file I hope it helps you!

Am 24.02.2019 um 22:12 schrieb sigmund-avila<EMAIL_ADDRESS>@kill300r https://github.com/kill300r have you fixed your issue regarding long waiting time? I also experience the same issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Webklex/laravel-imap/issues/164#issuecomment-466817535, or mute the thread https://github.com/notifications/unsubscribe-auth/AfW3QuK6SyYn4wgKat2eOKJKoH7ljscCks5vQwA8gaJpZM4YA4Oo.

Thanks for your response. Meanwhile i cannot view the pdf that you mentioned. It says Whoops! That unsubscribe link isn't valid for your account.

@kill300r Thanks for your response but I cannot find the PDF that you mentioned.
Another thing, are you saving the email data to the database? If yes, how do you do it? My objective is to fetch the emails of our users then save it to a database.


enchantments in bedwarsREL Shop

I wanted to add the customs enchantments in my bedwarsREL shop in shop.yml but I can't find the enchantments name like SHARPNESS etc... Can someone tell me how to fix it?

If you are adding enchantments to items you must add them as lore.
They must be exact color code, spelling, and spaces as it normally has on an item.

I know but what is the name like DAMAGE_ALL or PROTECTION_ENVIRONEMENTAL
Because I know where to put the enchantments but I don't know how

You would do something like "&7Blast I" to the lore. There is no "DAMAGE_ALL" style. You add them exactly as the color code, spelling, and spacing it would do if you put the book on it like Badbones said previously.


fix: Update to seamapi v8.2.2

Something is mis-confiruged, GET requests are returning "CORS Missing Allow Credentials". API may need to return access-control-allow-credentials on other methods (it only returns it on OPTIONS now?)
This option should mean the client side is allowed to make the request https://github.com/seamapi/javascript/blob/62dbfb9c87fdc9314045328ac51fa8d0b8ca1043/src/seam-connect/client.ts#L96


WIP: Migrate old hart plugins to new api

💔 Breaking Changes
Migrate old chart plugins to new property queriesData from queryData
It's addition to: https://github.com/apache-superset/superset-ui/pull/873
🏆 Enhancements
📜 Documentation
🐛 Bug Fix
🏠 Internal

@simchaNielsen I think you need to change only non-legacy plugins.
only they actually have access to multiple queries support
while legacy remains the same
@villebro  WDYT?


Add twig filter for retrieving the field or option labels

Closes #16

Thanks!
Other than one minor thing with the docblock it's :+1: for merging.

Yes! Thanks, added the param in new commit.


Error reported after upgrade

Description

Gitea Version
1.21.1
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Error reported after upgrade
Database
None

GetRecentlyPushedBranches, Error 1267 (HY000): Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='

this is MariaDB? Or what database is this?
And what "upgrade"? What did you actually upgrade?

这是玛丽亚数据库？或者说这是什么数据库？
什么“升级”？你实际上升级了什么？

v1.21.0  -> 1.26  -> 1.21.1
mysql

https://docs.gitea.com/administration/command-line#doctor-convert


Add contributors image to the contributors.md

Add the images / GitHub profile picture of the people who does contributorion to this repo automatically

Hey!
Can you assing this issue to me please? i woud like to work on this issues :heart_eyes:


Cloudflare Pages support?

Hello,
I'm trying to deploy on Cloudflare Pages, but it seems we need to add Edge Runtime config in api pages. I can make a PR to add the flag in each of the routes in api folder if you think it's good enough.

i'm currently looking into using Swell + Cloudflare Pages and had read in the Swell Docs that Cloudflare Pages is supported. So I'd love to know what the official status is? Did you get Swell working with CFP @ralphilius?

cc @logeshswell

@fucha-co @ralphilius We have a Github discussion to deploy swell storefronts in Cloudflare. I can also confirm that a few merchants are hosting their Swell storefronts via Cloudflare without any issues.
If you face any issues, please feel free to start a new thread in the below discussion. I am very happy to answer you.
https://github.com/orgs/swellstores/discussions/279


Add graylog package and service

Things done

[x] Tested using sandboxing
Built on platform(s)

[x] NixOS

Superficially, this looks good to me

Thanks, I tried to incorporate your feedback and pushed a new version.

Thank you


Undefined Trim Issue on Select Screens

Hi all,
We are running into an issue using the Path were we are getting the following error:
Error
Cannot read properties of undefined (reading 'trim')
We have configured using the following:

Observations
We have only noticed this error on select screens. Ie 1 progress bar screen works but most others in our flows do not.
Details
The below code resolves to 'Path'
 let indicatorClean = indicatorDirty.trim().toLowerCase();

We are seeing a similar error that occurs when utilizing this in a Screen Flow where users click the Previous button and then return to any of the later screens with the progress bar.
Error:

Flow Config:
This is set up to display a different progress bar dynamically, and occurs whether the 'component visibility' criteria is based on a text variable that is assigned, or a screen input resource.

@esnorris we resolved this by creating a new flow.


feat: enable users to disable validation only on specific topics

This PR enables users to avoid validation only on specific topics. It is necessary because, prior to this commit it was possible to create messages with incorrect or missing subjects. By fixing the validation of subject flows that were previously functioning (but shouldn't have been) now no longer work due to the added validation.
With this PR, users can migrate their flows one by one while adding new validated flows, rather than opting out of validation completely if they wish to retain the functionality of old flows without refactoring them.

Thank you so much, @eliax1996! We are now struggling from disability of publishing new schemes for existing topics.

@GSokol glad to know that this would help. I will create a new optional release in Aiven as soon as it is merged.

Also it's good to have a config setting, to disable schema validation by default. But it could be done in a separate PR to make this thing in faster.

@GSokol this is already implemented (and merged and available in Aiven), if you look there is a config called name_strategy_validation that if set to false disable the validation. This PR is just to enable the users to explicitly disable the validation only on a specific subset of topics since using the validation brings more order in the topics (otherwise it's basically like Kafka vanilla where you can write anything in a topic)

@eliax1996, name_strategy_validation is only used in the REST API logic.

Hi @GSokol, you wrote that

name_strategy_validation is only used in the REST API logic.

and it made me curious about your expectations regarding this feature. This PR adds ability to disable validation per topic, but also this configuration affects only REST API logic. I hope this still matches your expectations.


Discharge trigger penalty

dps calcs seems ignored the 35% less damage penalty when discharge is supported with trigger skill.

Fixed in the next update.


Links in the preface are incorrect

Describe the erratum
In the preface, on page x, there are 2 links to bayesoptbook.com which in reality links to https://bayesoptbook.com//book/bayesoptbook.com and github.com/bayesoptbook/bayesoptbook.github.io which links to https://bayesoptbook.com//book/github.com/bayesoptbook/bayesoptbook.github.io
This is most likely due to not using https:// making them relative to the current page. - this can be observed when opening the PDF in the browser itself rather than a system viewer,
Version and Location

Draft as of 27 October 2021.
x

Proposed correction
Use https://
Additional context
May not manifest if using a system PDF viewer. I used the builtin firefox viewer which seems to interpret protocol-less links as relative to the current page.

The targets are now fully qualified URLs!


Unable to clone the repository due to: error: object c15765f108a2799a540bf4fd7bd9aa85542a8720:invalid author/committer line - missing space before email

Unable to clone the repository due to:
error: object c15765f108a2799a540bf4fd7bd9aa85542a8720:invalid author/committer line - missing space before email

Actually I found out it's caused by setting transfer.fsckObjects = true on client. Just gotta turn it off for repositories with broken history.

Thanks for revisiting that!


add __ prefix to local functions in (SPARC) assembly files

crypto/ec/asm/ecp_nistz256-sparcv9.pl has a bunch of functions that are local however do not follow the common naming scheme, namely the __ prefix. This needs to be addressed across all (SPARC) assembly files.
For starters: sparc_asm_locl.patch.gz
This is a follow-up from PR #9132.

"needs" is a relative term. It's a convention, not something that will make the compiler emit different code (apart from the symbol name), so this change is cosmetic.
Something to keep in mind is that initial underscore is reserved in C, so this might be controversial to some.
A question is if this should be done only for solaris / sparc, or if other assembler sources should be similarly touched.

A question is if this should be done only for solaris / sparc, or if other assembler sources should be similarly touched.

Yep, that's why it's in the brackets - until the scope determined.

"needs" is a relative term. It's a convention, not something that will make the compiler emit different code (apart from the symbol name), so this change is cosmetic.

I agree it's cosmetics. Arguably, this might have prevented #8936.

Something to keep in mind is that initial underscore is reserved in C, so this might be controversial to some.

Double or single underscore, it should be consistent.

Marking as inactive, to be closed at the end of 3.4 dev barring further input


Change "DevEd4" to DevEd

I'm not sure where you got "DevEd4" from, I've never used that name anywhere.

Closing this since it's been fixed as of 638a6ca.

just a typo. apologies.


⚠ T:Riza Docs has degraded performance

In 103426c, T:Riza Docs (https://docs.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 5284 ms

Resolved: T:Riza Docs performance has improved in a0fe0e2.


get goals and post goals api

get goals and post goals api has been integrated and some needed ui tweaks
Date: 30th Nov 2023
Developer Name: Ashif

Issue Ticket Number

Add the relevant issue ticket number here (e.g., Closes #<issue_number>).

Description
get goals and post goals api has been integrated and some needed ui tweaks
Documentation Updated?

[ ] Yes
[x] No

If your feature adds a new API, then documentation related to the feature like API-Contracts, and Data-models  must be updated.
Breaking Changes

[ ] Yes
[x] No

If your feature introduces breaking changes or if something is missing, please mention the related issue tickets.
Development Tested?

[x] Yes
[ ] No

Confirm whether the changes have been tested locally during development.
https://github.com/Real-Dev-Squad/mobile-app/assets/54736284/786ce724-2d01-405f-a606-7108d2abc50d
Tested in Staging?

[x] Yes
[ ] No

Indicate whether the changes have been tested in the staging environment.
Under Feature Flag

[x] Yes
[ ] No

Specify if the changes are currently under a feature flag.
Database Changes

[ ] Yes
[x] No

Indicate whether the changes include modifications to the database.
Screenshots
Attach any relevant screenshots, such as test coverage reports, before and after images, or other visual aids.
Test Coverage
Provide information on the test coverage for the changes made in this PR. Include details on the types of tests conducted and their outcomes.

Additional Notes
Include any additional notes, considerations, or explanations that might be helpful for reviewers.

https://github.com/Real-Dev-Squad/mobile-app/assets/54736284/809658b6-6a37-4270-9a2d-1103ea01aecd


Windows 10 / PowerShell: crossterm is reacting to event that occured before program started executing

I'm on Windows 10 and running my app in PowerShell console.
My app reacts to Enter key (char 13), and it triggers the reaction immediately after the start. I tracked down the problem to the fact that it's processing the Enter key that I was using to invoke the command from the cli.
I.e.:

I type  .\target\debug\myapp.exe
I press "Enter" ley.
My app starts and immediately triggers "Enter" key handler (caisng it to quit in my case).

I expect step 3 to be "My app starts and waits for input".
I tried both sync and async input - the behaviour is the same.
I'm using fixes branch.

Yes, I'm usually developing on powershell too, and I know about this behavior. The enter you use to start the application is processed directly. I want to see if CMD had this behavior too.
If CMD does not have this behavior its a powershell bug. Powershell has more of those problems, an other one was for example the dark yellow who wasn't implemented well.

Good old cmd.exe works. I have another problem with it - in particular, I’m using tui (a branch that integrates crossterm 0.9) and the text doesn’t render as bold. This is not related, but is another blocker for me.
Also, in “git bash” on Windows my app doesn’t even start. Not sure why. I’ll probably create another issue for this one if I’m able to pin point that issue to crossterm.

If this is a PowerShell bug - can there be a hack implemented in crossterm to work around it?
Or what can I do there? Maybe there’s a workaround I could implement at the app side?

You can work arround the problem, just ignoring the first enter hit.
Bold; your using powershell, as said before powershell does weird sometimes and CMD might work perfect, can you try that too?
Git bash; i thought that I had fixed this issue. I can check that out. You can create an issue for it.

Bold; In powershell I wasn't able to see how it renders, so I can't tell if bold rendering works, since it closes immediately :) I encountered that issue with CMD. I switched to testing other platforms, but now I'm going back to look into it again in more detail. I should open a separate issue for that. The problem is I'm using tui and the unstable wip branch that integrated crossterm 0.9 - so I'm not sure where to address that issue. It may be that crossterm works perfectly and tui  Any hints?
Git bash; I'll open an issue after I test it without my app code involved, cause it may also crash with the similar error.

I am sorry to say but I messed up that branch, there will be a new PR soon.

Oh, I see, got it. Thanks for letting me know!

Please check this one out: https://github.com/fdehau/tui-rs/pull/153

Tried it, however the results are idential. Same issue with bold text not working, same issue with git-bash.
Furthermore, I've had very similar results with termion's windows support PR as a tui backend.
So, with git-bash, the error I got look like this:
$ app.exe
Getting mode failed
Error: The handle is invalid. (os error 6)

Looks very similar to https://github.com/TimonPost/crossterm/issues/90

For git-bash I created a separate tracking issue #125.

This is more of a .Net issue than a PowerShell issue.
The .Net api Console.ReadKey returns on key down, see here and here.
This could maybe be addressed in PowerShell (or more specifically PSReadLine) by consuming the key up event before returning the completed command line. If you'd like to see that happen, I suggest opening an issue or even better, submit a PR.

Hey @lzybkr, that's an pretty in-depth point of view on this problem, thanks!
I created an issue. Maybe it's not a good one, but it's at least a start. Feel free to add more details in the comments.
I don't have much experience with PowerShell/C# actually, so don't expect a PR from me any time soon. 😞
I'm afraid that, even if it's fixed at PSReadLine, the fix won't arrive to the actual end users up until the next major Windows update, or maybe event the next one if the fix is not made in time.
@lzybkr what would be the release cycle for such kind of fix?

You're right about Windows releases - it can take a long time from when a fix is made before the fix is available in a Windows release. Also - I don't have any control over what fixes the PowerShell team picks up for Windows releases.
Note that PSReadLine is also released in PowerShell gallery as releases are ready, so affected users can easily pick up a release with a fix.  I haven't been very active in maintaining PSReadLine though, the PowerShell team might be taking over for me in that regard.

Well, in that case I could potentially bundle the fixed version of PSReadLine with my software and make it easiliy installable for the end users if the choose to (i.e. via installer option).
This means fixing it in the PSReadLine is a practical thing to do. I'll see if I can help, but still - I have no experience with dotnet and related stuff. It might be quicker for me to build and just only ship the GUI version of the app - rather than going through the loop of solving the PowerShell issues.

@TimonPost
There are some problems with keyboard events in powershell, which will get the last keystroke event that you pressed before running. For example, when you run cargo run, you press the enter key (this time the button is obviously pressed before the program is compiled and run, and it has been processed by powershell), then when the program first tries to get the button When the event, it will get the enter event.

Did you read the above comments? It is a known issue in powershell.

Sorry, I didn't look at the comments above carefully.

I think that this can be closed? Crossterm is and will not be capable of ignoring the Enter key only for powershell.


Unable to authenticate against Bot Framework

We tried to prototype a Skype Bot with a custom ubuntu server. As a basis we use the sample echo bot from this repository. We host the Server on Port 443 and wrap the Socket with the Python ssl module.
try:
    SERVER = http.server.HTTPServer(('', 443), BotRequestHandler)
    SERVER.socket = ssl.wrap_socket (SERVER.socket,
        keyfile="server.key",
        certfile='server.cert', server_side=True)
    print('Started http server')
    SERVER.serve_forever()
except KeyboardInterrupt:
    print('^C received, shutting down server')
SERVER.socket.close()

With our Setup we are able to connect our Bot to the Bot Framework and receive Messages. However, the Server does not answer (send response 401). We tried to Debug this Error and found that the error is within the authentication. We modified the Code to track the error and added some print Statements in the functions and print out the error in the authentication.
def do_POST(self):
        body = self.rfile.read(int(self.headers['Content-Length']))
        data = json.loads(str(body, 'utf-8'))
        activity = Activity.deserialize(data)

        print("do_post", activity.text)

        if not self.__handle_authentication(activity):
            print("handle_auth")
            return

        if activity.type == ActivityTypes.conversation_update.value:
            print("conv_upd")
            self.__handle_conversation_update_activity(activity)
        elif activity.type == ActivityTypes.message.value:
            print("msg_value")
            self.__handle_message_activity(activity)
        else:
            print("else")
            self.__unhandled_activity()

and
def __handle_authentication(self, activity):
        credential_provider = SimpleCredentialProvider(APP_ID, APP_PASSWORD)
        loop = asyncio.new_event_loop()
        try:
            loop.run_until_complete(JwtTokenValidation.authenticate_request(
                activity, self.headers.get("Authorization"), credential_provider))
            print("Try")
            return True
        except Exception as ex:
            print(ex)
            self.send_response(401, ex)
            self.end_headers()
            print("except")
            return False
        finally:
            print("fin")
            loop.close()

When we now send a message ("Hello Bot") to the Bot we get the following Output:
do_post Hello Bot

Task <Task pending coro=<JwtTokenValidation.authenticate_request() running at /home/ubuntu/.local/lib/python3.5/site-packages/botframework/connector/auth/jwt_token_validation.py:34> cb=[_run_until_complete_cb() at /usr/lib/python3.5/asyncio/base_events.py:164]> got Future <Task pending coro=<ChannelValidation.authenticate_token() running at /home/ubuntu/.local/lib/python3.5/site-packages/botframework/connector/auth/channel_validation.py:51>> attached to a different loop

<IP_ADDRESS> - - [02/Aug/2018 07:44:41] "POST / HTTP/1.1" 401 -

except

fin

handle_auth

Is this an error from our Setup or in the sdk? How can we fix this error? Any help is appreciated.
AppId and password are handed over correct to the auth function and we also generated new passwords and tried with them -> No Change.
We use the latest stable releases installed via pip3.

Attemping to reproduce error.

I've run into the same issue after deploying to an Azure App Service with the following versions:
botbuilder-core                                4.0.0a6
botbuilder-schema                           4.0.0a6
botframework-connector                  4.0.0a6
I've confirmed that the AppId and App Password are correct.  They are stored in App Service "Application Settings" environment variables named MicrosoftAppId and MicrosoftAppPassword. They are referenced in the bot code as follows:
APP_ID = str(os.environ.get('MicrosoftAppId')) APP_PASSWORD = str(os.environ.get('MicrosoftAppPassword'))
The authentication function is as follows:
   def __handle_authentication(self, activity):         credential_provider = SimpleCredentialProvider(APP_ID, APP_PASSWORD)         loop = asyncio.new_event_loop()         try:             loop.run_until_complete(JwtTokenValidation.authenticate_request(                 activity, self.headers.get("Authorization"), credential_provider))             return True         except Exception as ex:             print(ex)             self.send_response(401, ex)             self.end_headers()             return False         finally:             loop.close()
After debuginning locally, 401 error is returned when attempting to authenticate:
`----------------------------------------
<IP_ADDRESS> - - [09/Aug/2018 12:56:24] "POST /api/messages HTTP/1.1" 202 -
<IP_ADDRESS> - - [09/Aug/2018 12:56:27] "POST /api/messages HTTP/1.1" 200 -
Exception happened during processing of request from ('<IP_ADDRESS>', 61481)
Traceback (most recent call last):
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\msrest\service_client.py", line 235, in send
session = self.creds.signed_session(self._session)
TypeError: signed_session() takes 1 positional argument but 2 were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\socketserver.py", line 317, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\socketserver.py", line 348, in process_request
self.finish_request(request, client_address)
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\socketserver.py", line 361, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\socketserver.py", line 696, in init
self.handle()
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\http\server.py", line 418, in handle
self.handle_one_request()
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\http\server.py", line 406, in handle_one_request
method()
File "c:\Users\kcmunnin\OneDrive - Microsoft\repo\pybot\main.py", line 78, in do_POST
self.__handle_message_activity(activity)
File "c:\Users\kcmunnin\OneDrive - Microsoft\repo\pybot\main.py", line 46, in __handle_message_activity
connector.conversations.send_to_conversation(reply.conversation.id, reply)
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\botframework\connector\operations\conversations_operations.py", line 229, in send_to_conversation
request, header_parameters, body_content, stream=False, **operation_config)
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\msrest\service_client.py", line 237, in send
session = self.creds.signed_session()
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\botframework\connector\auth\microsoft_app_credentials.py", line 59, in signed_session
basic_authentication = BasicTokenAuthentication({"access_token": self.get_access_token()})
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\botframework\connector\auth\microsoft_app_credentials.py", line 81, in get_access_token
oauth_token = self.refresh_token()
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\botframework\connector\auth\microsoft_app_credentials.py", line 94, in refresh_token
response.raise_for_status()
File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\requests\models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token
----------------------------------------`

I've run into the same issue after deploying to an Azure App Service with the following versions:
botbuilder-core    4.0.0a6
botbuilder-schema     4.0.0a6
botframework-connector    4.0.0a6

I've confirmed that the AppId and App Password are correct.  They are stored in App Service "Application Settings" environment variables named MicrosoftAppId and MicrosoftAppPassword.

They are referenced in the bot code as follows:
APP_ID = str(os.environ.get('MicrosoftAppId'))
APP_PASSWORD = str(os.environ.get('MicrosoftAppPassword'))

The authentication function is as follows:
    def __handle_authentication(self, activity):
        credential_provider = SimpleCredentialProvider(APP_ID, APP_PASSWORD)
        loop = asyncio.new_event_loop()
        try:
            loop.run_until_complete(JwtTokenValidation.authenticate_request(
                activity, self.headers.get("Authorization"), credential_provider))
            return True
        except Exception as ex:
            print(ex)
            self.send_response(401, ex)
            self.end_headers()
            return False
        finally:
            loop.close()

After debuginning locally, 401 error is returned when attempting to authenticate:
----------------------------------------
<IP_ADDRESS> - - [09/Aug/2018 12:56:24] "POST /api/messages HTTP/1.1" 202 -
<IP_ADDRESS> - - [09/Aug/2018 12:56:27] "POST /api/messages HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 61481)
Traceback (most recent call last):
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\msrest\service_client.py", line 235, in send
    session = self.creds.signed_session(self._session)
TypeError: signed_session() takes 1 positional argument but 2 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\socketserver.py", line 317, in _handle_request_noblock
    self.process_request(request, client_address)
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\socketserver.py", line 348, in process_request
    self.finish_request(request, client_address)
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\socketserver.py", line 361, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\socketserver.py", line 696, in __init__
    self.handle()
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\http\server.py", line 418, in handle
    self.handle_one_request()
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\http\server.py", line 406, in handle_one_request
    method()
  File "c:\Users\kcmunnin\OneDrive - Microsoft\repo\pybot\main.py", line 78, in do_POST
    self.__handle_message_activity(activity)
  File "c:\Users\kcmunnin\OneDrive - Microsoft\repo\pybot\main.py", line 46, in __handle_message_activity
    connector.conversations.send_to_conversation(reply.conversation.id, reply)
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\botframework\connector\operations\conversations_operations.py", line 229, in send_to_conversation
    request, header_parameters, body_content, stream=False, **operation_config)
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\msrest\service_client.py", line 237, in send
    session = self.creds.signed_session()
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\botframework\connector\auth\microsoft_app_credentials.py", line 59, in signed_session
    basic_authentication = BasicTokenAuthentication({"access_token": self.get_access_token()})
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\botframework\connector\auth\microsoft_app_credentials.py", line 81, in get_access_token
    oauth_token = self.refresh_token()
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\botframework\connector\auth\microsoft_app_credentials.py", line 94, in refresh_token
    response.raise_for_status()
  File "C:\toolkits\anaconda-<IP_ADDRESS>\envs\pybots\lib\site-packages\requests\models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token
----------------------------------------

After retrying an hour later, the same code worked without changes locally.  I still receive a 401 error when attempting to access the bot deployed to Azure App Service.


Add example to readme for subscribes multiple resources

Description
Documentation - adds an example of multiple subscribes in the haproxy_service resource to allow reloading haproxy when multiple files change, like certs and config.
Issues Resolved
Fixes: #274
Contribution Check List

[n/a] All tests pass.
[n/a] New functionality includes testing.
[n/a] New functionality has been documented in the README if applicable

          1 Error

:no_entry_sign:
Please add labels to this Pull Request

  Generated by :no_entry_sign: Danger

Looks good! 👍 :shipit:


checkbox and radio border in customIcon

Description
After upgrade React 0.66.4 to 0.66.5 my checkbox have a border and broken my layout
CodeSandbox/Snack link

Steps to reproduce
a tried set margin: 0, padding:0, borderWidth:0  in _icon, _checked,_unchecked
`<Checkbox
key={index}
value={item.checked}
isChecked={item.checked}
onChange={() => handleCheckedFilter(index, item.checked)}
icon={}

{item.status}
`

"react": "17.0.2"
"react-native": "0.66.5"
"react-native-svg": "12.1.1"
"react-native-svg-transformer": "^1.0.0"
NativeBase Version
3.4.25
Platform

[X] Android
[ ] CRA
[ ] Expo
[ ] iOS
[ ] Next

Other Platform
No response
Additional Information
No response

Thanks for reporting @riansco14. We will look into this


How can I strip terminal color code

Hello.
My application is outputting logs using winston with colorize option set to true. This allows me to see logs that is colorized based on the log type (error shows up in red, etc..)
Now, since pm2-slack sends logs to slack without stripping the terminal color code, I am seeing something like following in the slack channel.
my.host.com BOT [3:44 AM]
sca-wf-task - error
----------------
"Thu Oct 06 2016 07:44:01 GMT+0000 (UTC) - \u001b[31merror\u001b[39m: can't clean taskdir on resource_id:575ef81e9b8f34d642b15106 because resource status is not ok\n"

Is there anyway to strip those terminal color codes like.. \u001b[31m?

Did anyone figure this out ?

Looks like that is unicode, I would be worried that if I tried to strip out unicode that it might actually strip out something important that someone might need. I will look into terminal colors and see if I can come up with a regex or something to only strip those.
As this is only a presentation issue and not a breaking bug this will be set to a low priority bug. I probably wont be able to get to it for a few weeks (my Wife just had a baby), so if anyone has any ideas to fix this or can help out, that would be appreciated.
Thanks for reporting this issue.

I'm not sure if this is the best solution, but it is what worked for me. I tried a few different things and found that the JSON.stringify were causing multiple issues, including the log messages in Slack actually showing the \n instead of converting it to a new line. So I added the strip-ansi package and replaced the JSON.stringify with stripAnsi
Add the strip-ansi package:
npm install strip-ansi --save
Modify index.js:
6a7
> var stripAnsi = require('strip-ansi');
57c58
<                 short: true
---
>                 short: false
150c151
<                     description: JSON.stringify(data.data),
---
>                     description: stripAnsi(data.data),
164c165
<                     description: JSON.stringify(data.data),
---
>                     description: stripAnsi(data.data),
190c191
<                     description: JSON.stringify(data.data),
---
>                     description: stripAnsi(data.data),

@soichih can you please test if this is fixed in version 0.3.1

@mattpker
I've updated to v0.3.1. The output looks better, but I don't think it's fixed ??
sca-progress - error
----------------
Fri Feb 17 2017 00:21:45 GMT+0000 (UTC) - [34mdebug[39m: key:_sca.58a5ab1d3e74b77dbc65a017.58a5ab323e74b77dbc65a01c
{
   "status": "running",
   "progress": 79.65,
   "msg": "Executing recon_all"
}

Fri Feb 17 2017 00:21:46 GMT+0000 (UTC) - [34mdebug[39m: updating _sca.58a5ab1d3e74b77dbc65a017.58a5ab323e74b77dbc65a01c

After some research I do not feel comfortable stripping any sort of code from log/error messages. The point of this module is to dump all of an error/log message to slack and trying to strip code from these messages might end up removing something someone may actually need in their slack messages. As this is just a cosmetic request and is out of the scope of this module, I am considering this issue closed.


Unexpected NaN sign value on the stack

Description
Current State
0x0 0x0 0x0 0x2f 0x0 0x0 0xf0 0xff
Expected
........ 0xf8 0xff (The most significant bit of payload is 1)
Environment

Code Version: git commit id fdc136f57d7cf3a0f184debe00bdf29e373f6326
Hardware Architecture: x86_64
Operating system: Ubuntu 20.04

Steps to Reproduce
wasmi.zip

build the wasmi
run the test case by wasmi <test_case_name> to_test

wasmtime run wasmi_nan.wasm --invoke to_test prints NaN and wasmi_cli wasmi_nan.wasm to_test prints NaN as well. What else do you expect exactly? There is no differentiation between +NaN and -NaN in case you mean that.

wasmtime run wasmi_nan.wasm --invoke to_test prints NaN and wasmi_cli wasmi_nan.wasm to_test prints NaN as well. What else do you expect exactly? There is no differentiation between +NaN and -NaN in case you mean that.

Thank you for your reply. The output is NaN is as expeced. However, according to the specification https://webassembly.github.io/spec/core/exec/numerics.html#floating-point-operations, in this example, for the value on the stack,  the most significant bit of payload is supposed to be 1. It means the highest 13 bits are 0111 1111 1111 1 or 1111 1111 1111 1 . In this example. The highest 13 bit of the value on the stack is 1111 1111 1111 1.

Thank you!

With respect to Wasm spec testsuite compliance for NaN values in wasmi I found that wasmi's current spec testsuite is not 100% correct on the semantics of NaN value checking compared to what Wasmtime does here: https://github.com/bytecodealliance/wasmtime/blob/main/crates/wast/src/core.rs#L106
In contrast, wasmi simply evaluates .is_nan(). I am sure we can find and fix those NaN sign bit errors by improving the Wasm spec testsuite in this regard.

@erxiaozhou I just re-ran the above test with Wasmi v0.38.0 and got the following result:
% time wasmi_cli 04-original.wasm
nan:0x7FF8000000000039

I guess the bits have to be swapped: 39 00 00 00 00 00 F8 7F
This has the F8 7F at the end as you have expected but also the 39 at the start. So I am not sure if this bug is now fixed or if this is as intended.