How to handle custom methods in endpoint routes such as /posts/{id}:like and /posts/{id}:unlike

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from typing import Union

from fastapi import FastAPI

app = FastAPI()

@app.patch("/posts/{id}:like")
def like_post(id: int):
    return {"id": id, "message": "This post was successfully liked!"}

@app.patch("/posts/{id}:unlike")
def unlike_post(id: int):
    return {"id": id, "message": "This post was successfully unliked!"}

Description
What is the best way to define a custom method that falls outside of the standard HTTP verbs? For example liking or unliking a post on a social media website.
I tried the included code sample and I get an error: "value is not a valid integer" because I think it is trying to validate the {id}:unlike as an integer.
Google provides some details on custom methods here and I'm trying to use them in the way they describe: https://cloud.google.com/apis/design/custom_methods
Operating System
Windows
Operating System Details
No response
FastAPI Version
0.78.0
Python Version
3.8.0
Additional Context
No response

Don't over think it.
The resource is a like, dont patch it, create it or delete it.
# Create a like for a specific post
@app.post("/posts/{id}/like

# Delete (unlike) a like for a specific post
@app.delete("/posts/{id}/like

Thanks for the reply!
Yes that or something similar would work for this specific example. But a couple reasons I think it'd still be helpful to know the best way to handle custom methods in the way defined by Google:

Some companies might mandate a standard for custom methods in the way Google defined it
Maybe there are some use cases out there where custom methods are more suitable than the standard methods

Obviously if there is no way to implement custom methods cleanly then that is fine too :)

Ah yes.
So the behavior you are seeing is described here in starlette https://www.starlette.io/routing/#path-parameters
You may be able to achieve what you want with a custom converter (I am not sure this is exposed in FastAPI) and a custom router but I don't think it will work out of the box.

@erenz14 could you share curl code which are returning "value is not a valid integer" error? Because I don't get this error:
@app.get("/api/{id:int}:action1")
async def action1(id: int) -> int:
    return id

@app.get("/api/{id:int}:action2")
async def action2(id: int) -> int:
    return id

> curl -X 'GET' \
  'http://<IP_ADDRESS>:8000/api/100:action1' \
  -H 'accept: application/json'
100

@erenz14 could you share curl code which are returning "value is not a valid integer" error? Because I don't get this error:
@app.get("/api/{id:int}:action1")
async def action1(id: int) -> int:
    return id

@app.get("/api/{id:int}:action2")
async def action2(id: int) -> int:
    return id

> curl -X 'GET' \
  'http://<IP_ADDRESS>:8000/api/100:action1' \
  -H 'accept: application/json'
100

This is the curl I've been using:
$ curl --location --request PATCH 'http://localhost:8000/posts/1:like'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    99  100    99    0     0  18907      0 --:--:-- --:--:-- --:--:-- 33000{"detail":[{"loc":["path","id"],"msg":"value is not a valid integer","type":"type_error.integer"}]}

Using your example I noticed the following behavior. None of them actually returned the ID.
Using your exact example that had the route as "/api/{id:int}:action1":
$ curl -X 'GET'   'http://<IP_ADDRESS>:8000/api/100:action1'   -H 'accept: application/json'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    22  100    22    0     0   3760      0 --:--:-- --:--:-- --:--:--  5500{"detail":"Not Found"}

Using your example but removing ":int" from route i.e. "/api/{id}:action1":
$ curl -X 'GET'   'http://<IP_ADDRESS>:8000/api/100:action1'   -H 'accept: application/json'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    99  100    99    0     0  13996      0 --:--:-- --:--:-- --:--:-- 19800{"detail":[{"loc":["path","id"],"msg":"value is not a valid integer","type":"type_error.integer"}]}

@jgould22 Thanks for the links. I'm going to spend some time today exploring what you referenced and will close this issue out depending on what I discover.


2 step + Client DPS

Merged clients into 1.
Made 3 step to 2 step init.

Copyright (c) Microsoft Corporation. All rights reserved.

Not sure if these samples belong in a folder called "advanced-hub-scenarios" since they're provisioning scenarios and not hub scenarios.

Refers to: azure-iot-device/samples/advanced-hub-scenarios/register_symmetric_key.py:2 in 59eb2ff. [](commit_id = 59eb2ff236b5139e853364a8bdf434cfbfc11f79, deletion_comment = False)

Copyright (c) Microsoft Corporation. All rights reserved.

should we rename to advanced scenarios or make a folder separate for provisioning scenarios ?

In reply to: 502802487 [](ancestors = 502802487)

Refers to: azure-iot-device/samples/advanced-hub-scenarios/register_symmetric_key.py:2 in 59eb2ff. [](commit_id = 59eb2ff236b5139e853364a8bdf434cfbfc11f79, deletion_comment = False)


broker: Add binding for redis

Steps to test
Set up the cluster
minikube start --kubernetes-version v1.9.4 --extra-config=apiserver.Authorization.Mode=RBAC
eval $(minikube docker-env)
sleep 5

kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/scripts/minikube-rbac.yaml

helm init

sleep 10

kubectl create clusterrolebinding tiller-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default

helm repo add svc-cat https://svc-catalog-charts.storage.googleapis.com

sleep 30

helm install svc-cat/catalog --name catalog --namespace catalog

Run kubectl get pods --all-namespaces and wait until all pods are running.
Deploy habitat operator
From the habitat-operator project root:
git fetch && git checkout master
make image
kubectl apply -f examples/rbac/

Check and wait for the habitat operator to be in Running state.
Install the habitat service broker
make deploy-helm
kubectl apply -f https://gist.githubusercontent.com/indradhanush/f8e79c5097370afd7f75d50f0b65a840/raw/33c6340bf2d50b53cc81aad92969622f6f08fc96/habitat-osb-hack.yml

See issue #10 for more details on the above hack.
Wait for pod to be in Running state.
Install svcat
Follow this link for more details: https://github.com/kubernetes-incubator/service-catalog/blob/master/docs/install.md#installing-the-service-catalog-cli
Check status of the broker
$ svcat get brokers
       NAME                                                 URL                                            STATUS
+----------------+---------------------------------------------------------------------------------------+--------+
habitat-broker   http://habitat-service-broker-habitat-service-broker.habitat-broker.svc.cluster.local   Ready

Check status of installed service classes
$ svcat get classes
      NAME                DESCRIPTION                           UUID
+---------------+-----------------------------+--------------------------------------+
  nginx-habitat   Nginx packaged with Habitat   1ac7de1d-d89a-41c7-b9a8-744f9256e375
  redis-habitat   Redis packaged with Habitat   50e86479-4c66-4236-88fb-a1e61b4c9448

Install the redis service binding
kubectl apply -f manifests/redis/service-instance.yaml

svcat get instances

Check status of pod created in the default namespace. Play around.
Install the binding
kubectl apply -f manifests/redis/binding.yaml

svcat get bindings

kubectl get secrets habitat-osb-binding -o yaml

Look for the value under the data segment for the key
user.toml. It will look something like this:
...
data:
  user.toml: cmVxdWlyZXBhc3MgPSAibWNiREllYzY0MCI=
...

The string contains the base64 encoded password. For example, you
can use the following to retrieve it for the above string:
echo "cmVxdWlyZXBhc3MgPSAibWNiREllYzY0MCI=" | base64 -d
Test the bindings
kubectl exec redis-0 -ti bash

$ redis-cli
> auth <insert-password-here>

Note: Currently to see the changes reflected correctly the pod
needs to be deleted by running kubectl delete pods redis-0 and
the new pod that is spawned will have the changes. However this
is far from ideal behaviour and is an independent issue
probably. This is a workaround at the moment but you're welcome
to test it without deleting the pod first. :)

It seems to be that the implementation of unbinding is missing, which probably should drop the Spec.Service.ConfigSecretName from the habitat object and then drop the secret, hm?
@krnowak I intend to follow up with a separate PR for this. :)

LFAD.

Merged on the command line.


Had a problem using the search and replace: my search results tab didnt scroll, so once i went across some files I was stuck there. Is this known?

VSCode Version: Code 1.9.0 (27240e71ef390bf2d66307e677c2a333cebf75af, 2017-02-02T08:31:00.827Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

easy-icons
jamesmaj
0.3.1

FlatUI
lkytal
1.1.0

material-icon-theme
PKief
1.3.2

Steps to Reproduce:

Search for something with a large number of results in a large number of files
Expand all results
try to scroll up and down

Haven't seen this before. Do you see a scrollbar?

I upgraded my client, and I see a scrollbar now. Not sure what was causing this.


Image.load_*_from_buffer() freezes UI when loading large or many images

Godot version
v3.5.2.stable.official [170ba337a]
System information
Linux x64
Issue description
When loading image data with one of the Image.load_*_from_buffer() methods it causes the UI to freeze if loading a large image or many consecutively.
I have mainly tested this with load_png_from_buffer() and have attempted numerous work-arounds which all failed, including:

yield()ing on a function which creates the Image object from the data
calling a function asynchronously using a signal
calling a function asynchronously which then runs the code in a Thread
creating a GDNative extension which loads the data into the Image using std::async

At this point all I can assume is that the Image.load_*_from_buffer() methods are synchronized with the rendering of the UI. But I am hoping that someone can provide some insights on how I can resolve this issue.
Steps to reproduce
If you run the example project attached you will see that every time an image is loaded you will be unable to scroll for a moment, creating a very jerky motion. If all the images were loaded at once it would freeze the UI for a few seconds.
Minimal reproduction project
example_project.zip

For yielding and signaling, the target code is still executed on the main thread, so there's no different.
For threading, it should work. But do note that calling wait_to_finish() would block the calling thread if the thread is still running. And modifying the scene tree / nodes should be done via call_deferred().
I tried adding threading to your MRP and it does not freeze the UI:
# use a member variable so it does not get destroyed after a function
var thread = Thread.new()

# start the thread at the end of _ready
func _ready():
    # ...
    thread.start(self, "create_image_thread")

# block when exiting if create_image_thread is not yet finished
func _notification(what: int) -> void:
    match what:
        NOTIFICATION_EXIT_TREE:
            if thread.is_alive():
                thread.wait_to_finish()

# add this function, use call_deferred to modify the button
func create_image_thread():
    for i in range(IMAGE_COUNT):
        var b = $ScrollContainer/VBoxContainer.get_child(i)
        var image = Image.new()
        image.load_png_from_buffer(image_data)
        call_deferred("set_button_image", b, image)

Documentation on properly loading images in a thread should be added to Using multiple threads. I would also check https://github.com/godotengine/godot-demo-projects/tree/master/loading/threads to see if it's working correctly.


json undo log parse some place have not replace with jackson

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

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

Codecov Report

Merging #591 (031bf71) into master (367e2dd) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##           master     #591   +/-   ##
=======================================
  Coverage   37.08%   37.08%
=======================================
  Files         172      172
  Lines       11616    11616
=======================================
  Hits         4308     4308
  Misses       6944     6944
  Partials      364      364

@slowmoon 看起来这个改动没什么问题。可以详细描述一下你的修改理由，可以更好地帮助其他人理解这个pr。

我这边使用1.2.0版本也出现了报错：undo log parser type jackson not found
改为使用1.1.0版本正常

seata java 那边使用的是 “jackson”，建议保持一致。如果会出现“undo log parser type jackson not found” 的问题，可以从别的地方修改


Update the form when the queryParams are updated

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
When updating the queryParams of a component via this.router.navigate([], { queryParams: { search: 'b' } });, the formControl search is not updated.
Expected behavior
The formControl search should be updated with the value b
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/stackblitz-starters-3f5dsm?file=src%2Fapp%2Fapp.component.ts
What is the motivation / use case for changing the behavior?
When navigating through the app, inputs should match the queryParams even if the component  is reused.
The binding should be "bi-directional".
The only way to achieve this is to completely destroy the component or manually listen to queryParams and update the form.
I can eventually do the PR, do not hesitate if you have any ideas on how to implement it.

@shaharkazaz can you take this discussion?


Support tests with reserved prototype names

QUnit.test('constructor', function (assert) {;
// ..

QUnit.test('toString', function (assert) {;
// ...

Both of these cause the following warning, and the result is not included in the output:

Reserved name for it block (constructor)! Please use an other name, otherwise the result are not printed correctly

See also #8 which reported this issue previously. It was closed since a warning was added and the crash mitigated by instead ignoring the result, but I don't see why we can't make it work. Arbitrary names shouldn't be made properties of a plain object.
It looks like this project intends to support Node v4 and higher, which means this could be stored using an ES5 null-inherited plain object (Object.create(null)) or by using a more appropiate store, such as ES6 Set or Map.
Where Set/Map solve the problem entirely, Object.create solves all cases except for the magic string ___proto__.
Alternatively, you could also simply prefix the keys internally with a string of your choosing, e.g. $ or x. That would naturally avoid all conflicts with prototype methods.

Released as v2.2.3


Test reports are not being published to Azure Pipelines

Tests are running in the pipeline, but results are not being published for reporting. Azure Pipelines provides excellent reporting capabilities that help you with:
Easy analysis and troubleshooting for failed tests - the test reports show all relevant details (error message, stack trace, failing for how long, etc.) to make it easy to analyze failed tests.
Timing analysis - Test duration information helps you figure out long running tests, so that you can improve test collateral to speed up the pipelines.
Build-on-build trends/analytics help you get rich insights, for e.g., easily identify top failing tests.
The fix required is to use an XML reporter for jest and update the YAML file to publish these test reports.
I am a Software Engineer on the Azure Pipelines team and will be happy to raise a PR to address this.

Hey Vagisha, I'd be happy to merge a PR solving this 👍

Fixed in #5715


schedule board meetings for 2020

Let's build out the 2020 schedule for board meetings. Suggest making these monthly and co-located in-person meetings with our events.

Support APAC (Japan) Timezone
Monthly would have to take form of committee meetings (Probably Strategy Committee)
At least one in-person meeting


distributed computation via maps interface.

Hi,
I've been thinking a little bit about how to adapt this code to run across a large distributed compute cluster (particularly using scoop - http://scoop.readthedocs.org/en/0.7/). I stopped a little short of specifically re-writing to depend on scoop, but I did instead re-do a few bits and pieces to allow the user to define a custom map function through which the initialisation and optimisation routine are run instead of loops. The user can then pick whatever future of map they fancy (which in my case is scoop)
I also made a couple changes to the maximisation routine to make it a bit more flexible in the case of using a futurised map. For example, you might if you're running across a cluster, want to run a few evaluations in parallel at each iteration. I've allowed for that by adding an n_evals argument to maximise().
Anyhow, thought some of these changes might be useful in general.
BW

This looks very interesting. I'll take a closer look over the the weekend, but I like the idea.
Thanks.


SelectableLazyColumn items selection is getting slow with big amount of elements

Here is the reproducer with 5k elements. Try to hold arrow down/up:

fun main() = singleWindowApplication {
    IntUiTheme(IntUiTheme.lightThemeDefinition()) {
        Box(modifier = Modifier.fillMaxSize()) {
            val elements = remember {
                List(5_000) {
                    "Element $it"
                }
            }
            val selectableListState = rememberSelectableLazyListState(selectionMode = SelectionMode.Single)
            val lazyListState = selectableListState.lazyListState
            val adapter = rememberScrollbarAdapter(lazyListState)

            SelectableLazyColumn(
                state = selectableListState
            ) {
                for (element in elements) {
                    item(element) {
                        val hoverInteraction = remember { MutableInteractionSource() }
                        val isHovered by hoverInteraction.collectIsHoveredAsState()

                        val background = when {
                            isHovered -> Color.Gray
                            isSelected -> Color.Cyan
                            else -> Color.White
                        }

                        Text(
                            element,
                            modifier = Modifier
                                .hoverable(hoverInteraction)
                                .background(background)
                        )
                    }
                }
            }
        }
    }
}

Hi folks, there is an active branch where we are reforging the SelectableLazyColumn, i will perform a short analysis of this use case in the new implementation.
this task is not so far to be done, but i'm busy with other assignments and it can take a few days to be finished.


added ability to ignore certificate validation for self signed certificate

I'm still having issues with the suggestion. I created my own self-signed rootCA cert using
openssl genrsa -out rootCA.key 2048
openssl req -x509 -new -nodes -key rootCA.key -days 365 -out rootCA.crt

Then added it into the list of trusted CAs with ssl-root-cas with
require('ssl-root-cas/latest')
  .inject()
  .addFile('./ssl/rootCA.crt')

This solved the UNABLE_TO_VERIFY_LEAF_SIGNATURE error but introduced a new one. @ciaranj, how were you able to successfully add a self-signed root cert to the root CAs? When I do this, the HTTPS request errors out with SELF_SIGNED_CERT_IN_CHAIN.

For anyone looking for this, an insecure but working solution is:
require('https').globalAgent.options.rejectUnauthorized = false


Issue with ISE VM when passing user_data

Hi - I have been trying to deploy an ISE VM for weeks now and for some reason they never seem to "complete" for me.  I'm able to deploy this through the Azure Portal without issue, but if I deploy a machine by Terraform using the same user_data, for some reason the machine never seems to work.
I'm not sure if you have this issue, but the admin password never works for me, nor does the SSH key I create after the machine is deployed.  However, if I don't pass any user_data to the machine, I'm able to authenticate fine (but obviously the ISE stuff never comes online).  I've triple checked that the user_data parameters are all within reason, and like I said I used the same user_data on a machine created through the portal without issue.  The only way I'm able to get into the machine is if I change the password through the portal using the VM agent.
I've also noticed that the machine I deployed manually through the portal does not let me authenticate either, but after the ~30 minute wait, the admin page becomes accessible and I can proceed with the first time setup.  I'm not sure if this is by design or if something just isn't working right.
I'm at a loss for what to do here since I have literally used the files from your repo to deploy a test VM and I have the same issue.  I've also locked my provider to the same version you've mentioned, and I've tried both an Azure build agent and a windows build agent.
For argument's sake, I deployed another random RHEL machine and passed user_data to it to see if I would encounter the same problem, but I am able to SSH into that machine without issue, so it seems specific to the ISE VM image.
Please let me know if you have any thoughts on this since I'm at a loss and plan on deploying through the portal for our environment :(.  Thanks for the help!

Hi @stoveranger. The biggest issue I've seen with deploying using the VM variant is something in the user data content that the Zero Touch Provisioning (ZTP) process does not like. If the ZTP process fails, the application build process will fail.
Are you able to share a sanitised version of your user data content?
One of the biggest mistakes I've seen people make is using 'cisco' (including different case or reverse) in the password field. This does not meet the password requirements as per the Cloud Deployment Guide and will cause the ZTP process to fail.
With ISE 3.2, the initial GUI login will require a change of the default 'iseadmin' account password so I normally use something like 'Ch@ngePassw0rd' in my user data.
What kind of error are you getting when trying to connect via SSH using the 'iseadmin' username and private key?

Do we have any visibility into the ZTP logs?  I've been running into such strange behavior where it seems like regardless of what I pass to the user_data on the machine, it doesn't like it.  If I pass nothing, the actual Linux OS seems to work fine.  After one of my failed deployments, I actually reset the password using the Portal and I went into the iseadmin directory to find that it wasn't creating the .ssh/authorized_keys, so there was no way my keys would ever work, but if I don't pass any user_data to the machine, the SSH key provisioning works fine.  Same is true of password auth; if I enable it and set a password, it works fine unless I supply user_data, in which case it doesn't work at all.
Below is the user_data text file that I read in with filebase64 as you've shown with one of my more recent deployments.  I've also tried this with a templatefile and base64enoding just a plain heredoc string, but no dice.
hostname=ise321-az1
primarynameserver=<IP_ADDRESS>
dnsdomain=my.domain.com
ntpserver=<IP_ADDRESS>
timezone=UTC
password=1oQEv5Zo7n
ersapi=no
openapi=no
pxGrid=no
pxgrid_cloud=no

I've also tried adding username=iseadmin  (although I've noticed the Azure doc doesn't mention this specifically, but I have seen an example repo where this worked)
For the admin_username on the machine itself, I'm also using iseadmin.  I've made sure to set a password within the parameters of the Cisco doc as well, and it doesn't contain cisco or ise in any fashion.
I noticed you were using a newer provider version than me so I even tried changing that to no avail.

Hi @stoveranger. I spun up an ISE VM using my TF code and the same timezone and password values you are using. After waiting 30 minutes for the ISE application build to complete, I was able to SSH into the node using my private key and the username 'iseadmin' with no issues.
I am not aware of a way to monitor the ZTP process for public cloud deployments. When deploying an on-prem VMware node using the OVA, the ZTP logs can be seen using a virtual serial port, but that is not an option in the public cloud.
I don't believe using the password reset from the Azure portal will have any affect on the 'iseadmin' account password. The ISE nodes do not provide for root access without support from TAC, so I doubt that option is supported.
Are you using the same code in your resource block for the ISE VM that I have posted here?
It sounds like SSH is not working regardless of whether you are building the node from the Azure portal (VM variant process) or using Terraform, so you might want to open a TAC case to see if they can work with you to investigate the issue.

Sorry when I was saying iseadmin password reset, I was referring to the local admin on the machine, not the one intended for use within ISE - I had just started using iseadmin as the machine local admin as well.
Yes I have used the same resource blocks as you've posted, just substituting my own host name and subnet ID, user data, no public ip. I've tried with and without an NSG (our subnets/vnets don't block any of the protocol traffic that you've built the rules for anyhow). I've tried with and without disable password auth. I'll be happy to share the code too. The only thing I haven't tried is deploying to another region; I've done all of this is in US Central, but the portal-initiated deployment works fine in the region so I doubt that's it.

Here is all the relevant code:
resource "tls_private_key" "isekey" {
  algorithm = "RSA"
  rsa_bits  = 4096
}

# Create a network interface for the ISE node
resource "azurerm_network_interface" "ise32_az1_gig0" {
  name                = "ise32-az1-gig0"
  location            = var.location
  resource_group_name = module.vmtest_rg.rg_name

  ip_configuration {
    name                          = "ise32-az1-gig0"
    subnet_id                     = data.terraform_remote_state.spoke.outputs.sn00_id
    private_ip_address_allocation = "Dynamic"

  }
}

# Create ISE VM instance
resource "azurerm_linux_virtual_machine" "ise321_az1" {
  name                = "ise321-az1"
  resource_group_name = module.vmtest_rg.rg_name
  location            = var.location
  size                = "Standard_D8s_v4"
  admin_username      = "iseadmin"

  network_interface_ids = [azurerm_network_interface.ise32_az1_gig0.id]
  user_data             = filebase64("./ise32-az1.txt")

  admin_ssh_key {
    public_key = chomp(tls_private_key.isekey.public_key_openssh)  # I've tried this with and without the chomp
    username   = "iseadmin"
  }

  os_disk {
    caching              = "ReadWrite"
    disk_size_gb         = 300
    storage_account_type = "StandardSSD_LRS"
  }

  plan {
    name      = "cisco-ise_3_2"
    product   = "cisco-ise-virtual"
    publisher = "cisco"
  }

  source_image_reference {
    offer     = "cisco-ise-virtual"
    publisher = "cisco"
    sku       = "cisco-ise_3_2"
    version   = "3.2.0"  # I've tried latest here as well
  }
}

resource "azurerm_network_security_group" "ise_sg2" {
  name                = "nsg-isetest"
  location            = var.location
  resource_group_name = module.vmtest_rg.rg_name

  security_rule {
    name                       = "permit-ssh-all"
    priority                   = 100
    direction                  = "Inbound"
    access                     = "Allow"
    protocol                   = "Tcp"
    source_port_range          = "*"
    destination_port_range     = "22"
    source_address_prefix      = "*"
    destination_address_prefix = "*"
  }
  security_rule {
    name                       = "permit-https-all"
    priority                   = 110
    direction                  = "Inbound"
    access                     = "Allow"
    protocol                   = "Tcp"
    source_port_range          = "*"
    destination_port_range     = "443"
    source_address_prefix      = "*"
    destination_address_prefix = "*"
  }
  security_rule {
    name                       = "permit-onprem"
    priority                   = 120
    direction                  = "Inbound"
    access                     = "Allow"
    protocol                   = "*"
    source_port_range          = "*"
    destination_port_range     = "*"
    source_address_prefix      = "<IP_ADDRESS>/8"
    destination_address_prefix = "*"
  }
  security_rule {
    name                       = "permit-icmp"
    priority                   = 130
    direction                  = "Inbound"
    access                     = "Allow"
    protocol                   = "Icmp"
    source_port_range          = "*"
    destination_port_range     = "*"
    source_address_prefix      = "*"
    destination_address_prefix = "*"
  }
}

resource "azurerm_network_interface_security_group_association" "ise_sg_assoc2" {
  network_interface_id      = azurerm_network_interface.ise32_az1_gig0.id
  network_security_group_id = azurerm_network_security_group.ise_sg2.id
}

ise32-az1.txt content:
hostname=ise321-az1
primarynameserver=<IP_ADDRESS>
dnsdomain=my.domain.com
ntpserver=<IP_ADDRESS>
timezone=UTC
password=1oQEv5Zo7n
ersapi=no
openapi=no
pxGrid=no
pxgrid_cloud=no

Sorry I know I'm repeating myself, but I have tried with and without the NSG, with and without the SSH keys (using password auth), but nothing seems to give.  I can build a machine from the portal using this exact same user_data, on the same subnet and resource group.  Let me know what you think.  Thanks a lot!

Here is a screen shot of what I encounter when I try to SSH into the machine using the key:

And if I were to do a password reset and explore the file system, I would find that the .ssh/authorized_keys path was never created under iseadmin, so the public key that I tried to insert just goes into oblivion.  I'll stand up another machine with the same image and no user data and I'll be able to authenticate to it without issue.

I tested with the same VM size you're using as well, but I cannot replicate any issue. The only thing I'm doing different is using an SSH private/public key that was created ahead of time from Azure rather than generating a new private key via the TF resource. I've done this so that I can spin the lab up and down and consistently use the same keypair for SSH.
I'm mainly connecting via SSH using the MacOS terminal, but I also copied my private key to a Windows VM, converted it to the .ppk format using PuTTYGen, and was able to connect using PuTTY.

@stoveranger... No, there should be no issue with connectivity. I just spun up a new instance using private IP addresses for the DNS and NTP servers to which the node would have no connectivity or name resolution and I was able to SSH into the new instance after 30 minutes.

Well I'm perplexed then.  MSFT wants to investigate this with me further, so I'm going to deploy an ISE VM with and without user data for them to see.  Is there a way that I can re-trigger the ISE scripts/internal provisioning after the 30 minutes have come and gone and the machine doesn't work?  MSFT wanted to test incrementally adding user data to see if one of the values in particular are causing the machine to go sideways, but I wouldn't know how to re-run the ISE stuff without re-deploying the machine.

No, there is no way I'm aware of to re-trigger the provisioning process. AFAIK, the Zero Touch Provisioning process only kicks off at the initial deployment. The same is true with a VM deployment via ISO in VMware.


replace req.Method POST with DELETE

replace req.Method POST with DELETE

@lixiaobing10051267 Closing this, see https://github.com/docker/docker/pull/28540#pullrequestreview-8979669


[dl-downer] GoPlay DRM Protected content

GoPlay changed their site and is now using a sifferent DRM provider, see GOPLAY.py for partial details.

GoPlay changed their site and is now using a sifferent DRM provider, see GOPLAY.py for partial details.

see linked PR for more details if you are ever confused in the future.


NewTab won't leave the Command Palette

Environment
Windows build number: 10.0.19042.0
Windows Terminal version : 1.3.2382.0

Steps to reproduce
Add the following to your settings.json:
{ "name": null, "command": { "action": "newTab", "commandline": "wsl.exe" }, "keys": "f2" }

Expected behavior
This entry does not appear in the Command Palette.
Actual behavior
It appears in the Command Palette after explicitly setting "name" to null.

oh no, this is another instance where we need to know the difference between null and ""!
Except not in JSON. In Command.cpp:33-66

Hi. I've tried to resolve this, and I think it can't be since code is acting the way it is.
{ "name": null, "command": { "action": "newTab", "commandline": "wsl.exe" }, "keys": "f2" } and
 {"command": {"action": "splitPane", "commandline": "wsl.exe" },"keys": "f2" } are pretty much treated as exactly same(meaning they are both null) so no matter I use something like name.isNull(), name ==Json::Value::nullSingleton, and name == NULL "name": null would pass if (const auto name{ json[JsonKey(NameKey)] }) in Command.cpp line 63 and _nameFromJson() returns L"". All I am saying is that if there are way to differentiate
{ "name": null, "command": { "action": "newTab", "commandline": "wsl.exe" }, "keys": "f2" } and
 {"command": {"action": "splitPane", "commandline": "wsl.exe" },"keys": "f2" }
this issue can be resolved. Sorry if I'm wrong.

@zadjii-msft, @DHowett - so this one is broken for 4 months.. and actually I am not sure when it really worked last time for commands that have action args :blush: Right now I don't see any evidence it ever worked 🤔
So.. I am not sure if it is acceptable.. but cannot we simply replace this mechanism with something more explicit and parse-able. Like adding a dedicated field (aka "hideFromPalette")? Since I am not sure we can call it breaking compatibility

FYI future readers: #8402 has more investigation in it too.
Yea, I think the "name": null idea for hiding came about long before auto-generated names did, so now hiding with a null name seems weird.
I'm almost wondering how important hiding default commands is in the first place. It doesn't really seem like we've gotten requests for it. It's not like having default keybindings, where their presence might impact other apps.
That would certainly make the design easier. If we didn't need to worry about hiding defaults, we could focus on just hiding commands defined by the user.

For what it's worth, I'm always for as much customizability as possible. The presence of commands that one has long decided they're never going to use creates a measure of noise and, worse, can often hinder "fluent" use by necessitating more keystrokes for the fuzzy-find search.


Add a uid for the kubernetes job creation

Fixes #1554
When running large for-each branches (3000+) Metaflow will sometimes cause job name collisions on kubernetes. This adds a UUID to the prefix which should add sufficient entropy to prevent this from happening.

This is quite serious. Running only 25000 jobs within a week results in a 95% chance of error due to job name collisions.
We have run into this problem many times already, and it is super hard to debug because the join-step that fails does not tell you why.
Foot notes:

TTL (time to live) is set to 7 days and this cannot be changed without making an extension.
Computation of collision chances was computed using the formula from Wikipedia (equation marked with "(1)") like so:

n_possible_job_names = 40**5
n_jobs = 25000
1 - np.prod([(n_possible_job_names - j) / n_possible_job_names for j in range(n_jobs)])

Out[]: 0.9527302210394215

Went back to UUID to maintain backwards compatibility with python 3.5. Using 3 characters since UUID doesn't have as large a character set as secrets

Went back to UUID to maintain backwards compatibility with python 3.5. Using 3 characters since UUID doesn't have as large a character set as secrets

If I am not mistaken, the character set is the same. Both things are hexadecimal. secrets.token_hex(2) returns 4 characters. And the current code using str(uuid4())[:3] only return 3 characters. Is that on purpose?

I really really appreciate that all of you are pushing this forward. High five 🙌
But I don't understand why you don't want to make it scalable? With this change, we get 36**5 * 16**3 possible job names, which means that running only 25.000 jobs per day will give you a chance of collisions of 6% over the course of a week. With 4 characters as originally proposed, it is 0.39% which is somewhat acceptable if we think 25000 per day is our upper limit. But isn't that quite low?
Apologies, if you find me annoying, I am really just trying to help and avoid future Github issues. As I say, I appreciate what you are doing.

I really really appreciate that all of you are pushing this forward. High five 🙌 But I don't understand why you don't want to make it scalable? With this change, we get 36**5 * 16**3 possible job names, which means that running only 25.000 jobs per day will give you a chance of collisions of 6% over the course of a week. With 4 characters as originally proposed, it is 0.39% which is somewhat acceptable if we think 25000 per day is our upper limit. But isn't that quite low?
Apologies, if you find me annoying, I am really just trying to help and avoid future Github issues. As I say, I appreciate what you are doing.

I was wondering the same., to be fair.
It is still not clear to me why a unix timestamp wouldn't just solve the issue, to be honest,
If you don't want to take that approach though, surely using more characters from the UID would be preferable?

@elgehelge Not finding you annoying at all!
Looks like I made 2 missteps when pushing my latest changes.

I misread the secrets code and assumed the 2 in secrets.token_hex(2) meant it was returning 2 characters
Didn't notice that secrets also uses hexadecimal

It was actually my attempt to increase rather than decrease when using 3 characters
@roofurmston

It is still not clear to me why a unix timestamp wouldn't just solve the issue, to be honest,

I spoke with @savingoyal yesterday and now understand that changes to the codebase need to be carefully considered in order to maintain the stability of the project, particularly because Metaflow interacts with so many external systems (AWS Batch, Kubernetes, local machines, etc.) An example of a thorny problem when it comes to UID length is an active issue with Argo Workflows: https://github.com/Netflix/metaflow/issues/1521. A timestamp would bump us up to 10 characters, and it would limit our character set to numbers (10 possibilities vs 16 per character.)
Looks like @saikonen bumped the UID up to 8 characters yesterday, so we should be good to go with entropy


Now the default certs get copied to the container volume

Removed UPGRADE log

looks good in testing... merging.


Fix the way of getting ClrMethod from method handle or instruction pointer

The existing implementation is not able to get the method from an instantiated method handle or instruction pointer, as type.Methods only contains typical uninstantiated MethodDescs.
Change the way how we get ClrMethod to support getting instantiated method as well.

I was just debugging this and created a PR before I saw yours, so you beat me to it.  :)
I'll merge yours instead, thanks for the submission!  I'll push a build tomorrow morning to NuGet


support for: keys with spaces, escaped values

support for: keys with spaces, escaped values
what are the characters that need escaping?

Done as of cdbee01d1e590c8f654b6ee2211b99a1f94b14ef


feat(perf): Use [u32;16] for message block in sha256

Description
Problem*
Resolves #6304
Follows https://github.com/noir-lang/noir/pull/6318
Summary*
Changes the MSG_BLOCK type in sha256.nr from [u8; 64] to [u32; 16] to:

save a step of having to convert before compression
reduce the number of array writes (which currently incur copying) in favour of more arithmetic operations (byte packing)

TODO:

[x] Rewrite the data types
[x] Pass unit and fuzz tests
[ ] Implement and re-enable verification constraints
[ ] Benchmarks
[ ] Look at the circuit size report to see what we achieved

Additional Context
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Just ran the new noir-profiler execution-flamegraph from https://github.com/noir-lang/noir/pull/6327 command on this PR and am getting less than half the same amount of opcodes execution for sha256.
Before this PR with the sha256 from master (28k samples):

Current state of this PR (13k samples):

The latest changes did indeed help Brillig:
bench_sha256_long_execute_brillig
                        time:   [225.33 µs 230.03 µs 235.24 µs]
                        change: [-20.162% -17.224% -13.501%] (p = 0.00 < 0.05)
                        Performance has improved.

bench_sha256_long_execute_brillig
time:   [225.33 µs 230.03 µs 235.24 µs]
change: [-20.162% -17.224% -13.501%] (p = 0.00 < 0.05)
Performance has improved.

I ran the flamegraph from #6327 again and got the following:

We improved from 139k samples -> 133k


Runbot.bat CMD window closes

Everytime I open the runbot.bat or run.py they close instantly showing no text. I then tried to open the update_deps and still didn't work. It updated the deps but the bot doesn't start and every other console window shows this path ,, C:/Users/confidential(not really my pc name)/Desktop/MUSICB~1'' I know the ,,/'' are reversed normally but it's hard to type it. I have already tried the run as admin , same thing also I have tried but i don't know if i did it right  , adding the: ;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
To my system enviromental variables , since i saw the other post. Please tell my why it doesn't work , I have both Python 3.5  and 3.6 installed with all plugins.

It probably has nothing to do with your environment variables. Try the following steps:

Run lazy_cmd.bat inside the MusicBot folder.
Type python run.py and press enter

Let me know what happens when you do this.

i am having the same problem. i tried doing the run.py and it didn't do anything. at the start it keeps telling me no module named discord found.

What is the exact error?

It's says cannot find discord module or something like that.
On Feb 11, 2017 3:10 PM, "Chew"<EMAIL_ADDRESS>wrote:
What is the exact error?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Just-Some-Bots/MusicBot/issues/868#issuecomment-279175982,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYOPzPt_9zGHFdQBQF0n0z_KC5Y-2p2Hks5rbiPHgaJpZM4Luyen
.

This issue is being closed due inactivity of OP

any resolution to this issue?


Rectangle select not working with Firefox 83.0

Anchoring the first corner works, but then the second corner is never confirmed, all that happens is forever dragging around the second corner. Have to select another mode/tool in order to escape that behavior

Duplicate of #87. Please use Chrome in the meantime -- sorry.


Scheduler node: time portion of status text showing as German

Describe the bug
When using the "time of day" event for the scheduler node. The status text of the node shows German for the time section and English for the "next event" section when the browser default locale is set to English.
It does show English correctly when the "sun/moon position" is selected.
To reproduce
screenshots show setup
Expected behavior
To show English for both when the browser locale is set to English.
Screenshots

Context information
Please complete the following information.

Platform & OS:
node-red-contrib-chronos version: 1.25.0
Node-RED version: 3.1.11 and 4.0
Node.js version: 20

Additional information

There's not much I can do about this. The status text contains a static part (e.g., "next event") which is translated using the Node-RED translation functionality and a dynamic part (the time part) which is translated by the moment library. The latter always uses the configured language of the backend (i.e., either the configured language of the Node-RED runtime from settings.js or - if nothing is configured there - the configured language of the operating system). The translation of the static part via Node-RED seems to use the configured language of the editor (i.e., the setting that you configure in the browser). However, this doesn't seem to be consistent, I've also seen different behavior of Node-RED here.
Hint: Ensure that the language configured in the Node-RED editor and in the Node-RED runtime match, then these effects shouldn't occur.
Here are some related topics:
https://discourse.nodered.org/t/node-status-translation/49907
https://discourse.nodered.org/t/feature-request-node-status-translation-context/80368

Sorry, I missed the part with the inconsistency between time of day and sun or moon time. So I made more tests and were able to reproduce the issue. I found a small bug that I will correct in a new patch release.

Should be solved with release 1.25.1.


Remove route result observers

Closes #376

@weierophinney should we remove the result-observers.md completely from docs?

should we remove the result-observers.md completely from docs?

Yes.

Thanks, @danizord!


release v1.3.19

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: ricardo-a-alves-alb:x: jfboevejfboeve seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Sound settings

Suggestion: Enable or disable sound triggers on tracks with them (i.e. disabling the reset on Toad's Factory and allowing for regular BRSTMs on all tracks)

Master volume and background music volume would be nice to have.

And character voices.


Adding Callbacks.js and Router.js

https://github.com/dperrymorrow/router.js
https://github.com/dperrymorrow/callbacks.js

Hi there! A description (for each of the additions) is needed for submission.


Kubernetes Cluster down without any changes

Since the update to v1.6.10 i have several problems with Kubernetes. Its getting unhealthy every second day. https://screencast.com/t/OBFdGpuj
Last times this happened i could repair with restarting rancher but now this does not work anymore.
This is very critical for our company since this is our production system and we are happy about any hints.
Here are some logs with fatal failures at startup.
2017-10-17 05:29:16,082 INFO    [main] [ConsoleStatus] [DONE ] [12441ms] Startup Succeeded, Listening on port 8081
time="2017-10-17T05:29:16Z" level=info msg="Starting rancher-compose-executor" version=v0.14.18
time="2017-10-17T05:29:16Z" level=fatal msg="Unable to create event router" error="Get http://localhost:8080/v2-beta: dial tcp [::1]:8080: getsockopt: connection refused"
time="2017-10-17T05:29:16Z" level=fatal msg="Failed to configure cattle client: Get http://localhost:8080/v2-beta: dial tcp [::1]:8080: getsockopt: connection refused"
time="2017-10-17T05:29:16Z" level=warning msg="Couldn't load install uuid: Get http://localhost:8080/v2-beta: dial tcp [::1]:8080: getsockopt: connection refused"
time="2017-10-17T05:29:16Z" level=info msg="Starting Catalog Service (port 8088, refresh interval 300 seconds)"
time="2017-10-17T05:29:17Z" level=info msg="Downloading key from http://localhost:8081/v1/scripts/api.crt"
time="2017-10-17T05:29:17Z" level=info msg="Starting websocket proxy. Listening on [:8080], Proxying to cattle API at [localhost:8081], Monitoring parent pid [9]."
time="2017-10-17T05:29:17Z" level=info msg="Configured http API filter"
time="2017-10-17T05:29:17Z" level=info msg="Configured authTokenValidator API filter"
time="2017-10-17T05:29:17Z" level=info msg="Master config file: master.conf"
time="2017-10-17T05:29:18Z" level=info msg="Starting go-machine-service..."
time="2017-10-17T05:29:23Z" level=info msg="Registering backend for host 900f7796-86de-4d8e-90b3-8b66864ccf77 with session ID 5f6dfbcd-3baf-422d-b86f-4ad40fabc7ca."
time="2017-10-17T05:29:24Z" level=info msg="Handling backend connection request."
time="2017-10-17T05:29:24Z" level=info msg="Registering backend for host b1d4ff44-21f6-4961-6e08-3c5758c7949c with session ID f405bfdc-c7be-4c08-a448-557008c3b00a."
time="2017-10-17T05:29:29Z" level=error msg="Error looking up token." error="HTTP error: 404 Not Found, 404"
time="2017-10-17T05:29:33Z" level=info msg="Shutting down backend 900f7796-86de-4d8e-90b3-8b66864ccf77. Connection closed because: websocket: close 1006 unexpected EOF."
time="2017-10-17T05:29:33Z" level=info msg="Removed backend. Key: 900f7796-86de-4d8e-90b3-8b66864ccf77. Session ID 5f6dfbcd-3baf-422d-b86f-4ad40fabc7ca ."
time="2017-10-17T05:29:44Z" level=error msg="Error looking up token." error="HTTP error: 404 Not Found, 404"
time="2017-10-17T05:29:45Z" level=info msg="Handling backend connection request."
time="2017-10-17T05:29:45Z" level=info msg="Registering backend for host 900f7796-86de-4d8e-90b3-8b66864ccf77 with session ID a8f1a729-c1d3-4e65-b37c-609772710a65."
time="2017-10-17T05:29:57Z" level=error msg="Error looking up token." error="HTTP error: 404 Not Found, 404"
time="2017-10-17T05:29:58Z" level=error msg="Error looking up token." error="HTTP error: 404 Not Found, 404"
time="2017-10-17T05:30:00Z" level=info msg="Shutting down backend 900f7796-86de-4d8e-90b3-8b66864ccf77. Connection closed because: websocket: close 1006 unexpected EOF."
time="2017-10-17T05:30:00Z" level=info msg="Removed backend. Key: 900f7796-86de-4d8e-90b3-8b66864ccf77. Session ID a8f1a729-c1d3-4e65-b37c-609772710a65 ."
2017-10-17 05:30:03,820 ERROR [cc45bf9b-d5ce-4350-bb89-f19f3e601f68:118537273] [instance:3940443] [instance.start->(InstanceStart)] [] [ecutorService-7] [i.c.p.process.instance.InstanceStart] Failed [Dependencies readiness error instance is not running] for instance [3940443]
time="2017-10-17T05:30:07Z" level=info msg="Handling backend connection request."
time="2017-10-17T05:30:07Z" level=info msg="Registering backend for host 900f7796-86de-4d8e-90b3-8b66864ccf77 with session ID f8a52817-f051-4997-8f79-7ac0b52f22c3."
2017/10/17 05:30:08 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n
408 Request Time-out
\nYour browser didn't send a complete request in time.\n\n\n"; err=<nil>
time="2017-10-17T05:30:33Z" level=info msg="Shutting down backend 900f7796-86de-4d8e-90b3-8b66864ccf77. Connection closed because: websocket: close 1006 unexpected EOF."
time="2017-10-17T05:30:33Z" level=info msg="Removed backend. Key: 900f7796-86de-4d8e-90b3-8b66864ccf77. Session ID f8a52817-f051-4997-8f79-7ac0b52f22c3 ."
time="2017-10-17T05:30:41Z" level=info msg="Invalid backend host requested." hostUuid=900f7796-86de-4d8e-90b3-8b66864ccf77
time="2017-10-17T05:30:41Z" level=info msg="Invalid backend host requested." hostUuid=900f7796-86de-4d8e-90b3-8b66864ccf77
time="2017-10-17T05:30:43Z" level=info msg="Invalid backend host requested." hostUuid=900f7796-86de-4d8e-90b3-8b66864ccf77
time="2017-10-17T05:30:47Z" level=info msg="Handling backend connection request."
time="2017-10-17T05:30:47Z" level=info msg="Registering backend for host 900f7796-86de-4d8e-90b3-8b66864ccf77 with session ID 787c61a9-9a96-4cf9-93ad-e5e342b59649."
time="2017-10-17T05:31:02Z" level=info msg="Shutting down backend 900f7796-86de-4d8e-90b3-8b66864ccf77. Connection closed because: websocket: close 1006 unexpected EOF."
time="2017-10-17T05:31:02Z" level=info msg="Removed backend. Key: 900f7796-86de-4d8e-90b3-8b66864ccf77. Session ID 787c61a9-9a96-4cf9-93ad-e5e342b59649 ."
time="2017-10-17T05:31:06Z" level=info msg="Invalid backend host requested." hostUuid=900f7796-86de-4d8e-90b3-8b66864ccf77
time="2017-10-17T05:31:09Z" level=info msg="Handling backend connection request."

Useful
Info

Versions
Rancher v1.6.10 Cattle: v0.183.22 UI: v1.6.23

Access
github admin

Orchestration
Kubernetes

Route
stacks.index

After restarting rancher several time and also restarting docker service i have most of cluster up again. Still kubernetes, addon-starter and ingress are not comming up.
Failure:
Upgrading (Failed to allocate instance [container:1i3941152]: Bad instance [container:1i3941152] in state [error]: Allocation failed: No healthy hosts meet the resource constraints: [instanceReservation: 1].)

Please share info about your setup, or better, use the issue template: https://github.com/rancher/rancher/issues/new
Interesting here is: OS and kernel, Docker version, Rancher setup (single/HA), K8s setup (using resiliency planes or not, how many nodes)

docker info
Containers: 65
Running: 50
Paused: 0
Stopped: 15
Images: 244
Server Version: 1.12.3
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 1447
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-53-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 31.16 GiB
Name: name
ID: 8ULW:4XPP:AJZY:P7CX:FOWM:TN3C:A6DY:X2UN:4HQQ:PHHT:KTKG:OC4U
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
<IP_ADDRESS>/8

uname -r
4.4.0-53-generic

I have two nodes, single node rancher, internal DB.
Running Kubernetes.

With several restarts i managed to get kubernetes cluster running again but if i do kubectl apply i often get this message now.
Error from server (InternalError): an error on the server ("Service unavailable") has prevented the request from succeeding
Also Kubernetes Dashboard shows Service unavailable on every second request.

Today this happened again that cluster just got into invalid state without any input and did not heal itself.

Probably related to this: https://github.com/rancher/rancher/issues/10062

Ping me on Rancher Users Slack (https://slack.rancher.io/) so we can take a look

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


File "/home/mona/anaconda3/lib/python3.9/site-packages/numpy/core/overrides.py", line 6, in      from numpy.core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

Hi
After following all the steps for building the code from scratch on Ubuntu 22.04, I get this error.
Could you please suggest a fix?
(venv) (base) 2024-10-14 12:02:42 [mona@DOS pyorbbecsdk]$ python3 examples/color_viewer.py
OpenCV bindings requires "numpy" package.
Install it via command:
    pip install numpy
Traceback (most recent call last):
  File "/home/mona/anaconda3/lib/python3.9/site-packages/numpy/core/__init__.py", line 23, in <module>
    from . import multiarray
  File "/home/mona/anaconda3/lib/python3.9/site-packages/numpy/core/multiarray.py", line 10, in <module>
    from . import overrides
  File "/home/mona/anaconda3/lib/python3.9/site-packages/numpy/core/overrides.py", line 6, in <module>
    from numpy.core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mona/Downloads/OrbbecSDK_v1.10.12/Example/build/pyorbbecsdk/examples/color_viewer.py", line 16, in <module>
    import cv2
  File "/home/mona/anaconda3/lib/python3.9/site-packages/cv2/__init__.py", line 11, in <module>
    import numpy
  File "/home/mona/anaconda3/lib/python3.9/site-packages/numpy/__init__.py", line 141, in <module>
    from . import core
  File "/home/mona/anaconda3/lib/python3.9/site-packages/numpy/core/__init__.py", line 49, in <module>
    raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.10 from "/usr/bin/python3"
  * The NumPy version is: "1.24.3"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'

installed this in Jetson AGX ORIN w no problem. Really didn't need to get it setup on my laptop. Hence closing the issue.


Nanoseconds existence check bug

https://github.com/ClickHouse/clickhouse-jdbc/blob/272d9c48b1d72a7605953b6c94d760f2895afafb/clickhouse-jdbc/src/main/java/ru/yandex/clickhouse/util/ClickHouseValueFormatter.java#L133
Guys, please, fix nanoseconds existence check bug. You should use 1_000_000_000 (nano) not 1_000_000 (micro) for this check.

Actually fixing the check won't help much as the old driver relied on text-based data format and parsing and it was painful to handle date time and especially time zone. You may now use new JDBC driver com.clickhouse.jdbc.ClickHouseDriver in 0.3.2 instead.
Will revisit this issue later together with TabSeparated format enhancement.

Close as the legacy driver has been removed and the issue does not exist in new driver.


Starting project with --v2 flag generates v3 project

Ionic version:  (check one with "x")
[ ] 1.x
[x ] 2.x
[ ] 3.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

Generating new project with --v2 flag starts a v3 project
Expected behavior:

I did not upgrade my CLI at any point so would expect -v2 flag to generate v2 app.
I would like to continue with v2 for now and would expect the same project structure with the --v2 flag.
Steps to reproduce:

Related code:
ionic start newApp --v2

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.5.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.8
Node Version: v6.9.5
Xcode version: Not installed

Thanks for opening an issue with us.
Like Angular, ionic comes in two versions:
Ionic 1 - running AngularJS (hosted here)
Ionic - running Angular
So when you tell the CLI to start --v2, it uses Ionic and not Ionic 1.
I would recommend using the beta version of the CLI, to avoid this confusion.
Is there a reason you don't want to work with Ionic v3? It is the same as ionic 2, with some improvements, and using Angular latest (4), which has its own benefits.
Note, that v2 is not longer maintained.

yep it's better to just look at ionic v3 as just the latest version of ionic2.  It's not the same as the ionic1 to ionic2 step.

Please don't use the CLI Beta versions...
@AmitMY
In the forum they are so confused about the CLI 3.0 and Ionic Angular 3.0. For production builds never use a Beta version of anything.

@MTechDE I really like the CLI beta version. I don't have any bugs with it, and am using it on windows and mac.
For production build, there is no problem to use ionic cli beta, the way I see it.
Let's say you want to build for production:
ionic cordova:build android --prod --release
It first builds angular for AoT, then runs cordova build android --prod --release.
Nothing beta running under the hood.

Hello, everyone! I would definitely recommend using the beta cli. It has some YUGEEEEE improvements over the current cli including faster installs, much-improved architecture under the hood, faster starting of new apps, faster builds etc etc etc. We are working extremely hard on this becoming the stable cli in the next few weeks but to accelerate this process I would urge that you guys give it a try and report any bugs here. Also, this admittedly confusing naming issue of the --v2 flag creating an ionic-angular v3 project is a thing of the past in the v3 cli. For now, I am going to close this issue as it has been fixed in cli v3.

I like the CLIv3, but am a little miffed that "ionic serve --prod" no longer works.  I have to use "ionic cordova:run browser --prod" to get a browser-usable emulation.
I do this mostly to check the sanity of the build between the two modes before I start building and running on actual devices.


Since no desktop can not fix Resident Evil 2 Remake

Hello and good day all, I'm loving this OS, But one thing disliking is the no desktop version, Resident evil 2 can be played but one issue, It needs a DLL file added in so the cut scenes do not get stuck in a boot loop, With out access to a desktop to traverse to the games save file I and others got Jo way to correct that minor issue, And with RE3 fast approaching I'm willing to bet it will need that same file to run.
Any way to fix this?

You can use the command line or an ftp program after you enable ftp in
Steam Buddy (web interface). I am not sure that simply adding the dll will
make the videos play though.
On Fri, Mar 6, 2020, 19:57 Mannyrue<EMAIL_ADDRESS>wrote:

Hello and good day all, I'm loving this OS, But one thing disliking is the
no desktop version, Resident evil 2 can be played but one issue, It needs a
DLL file added in so the cut scenes do not get stuck in a boot loop, With
out access to a desktop to traverse to the games save file I and others got
Jo way to correct that minor issue, And with RE3 fast approaching I'm
willing to bet it will need that same file to run.
Any way to fix this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gamer-os/gamer-os/issues/78?email_source=notifications&email_token=AAIWMWAP2RPUK7GQFRVGQYLRGGLXVA5CNFSM4LDKUAL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITIDE4A,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIWMWCWVR4FYSEGEMBWG4TRGGLXVANCNFSM4LDKUALQ
.

You can use the command line or an ftp program after you enable ftp in Steam Buddy (web interface). I am not sure that simply adding the dll will make the videos play though.
…
On Fri, Mar 6, 2020, 19:57 Mannyrue @.***> wrote: Hello and good day all, I'm loving this OS, But one thing disliking is the no desktop version, Resident evil 2 can be played but one issue, It needs a DLL file added in so the cut scenes do not get stuck in a boot loop, With out access to a desktop to traverse to the games save file I and others got Jo way to correct that minor issue, And with RE3 fast approaching I'm willing to bet it will need that same file to run. Any way to fix this? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#78?email_source=notifications&email_token=AAIWMWAP2RPUK7GQFRVGQYLRGGLXVA5CNFSM4LDKUAL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITIDE4A>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIWMWCWVR4FYSEGEMBWG4TRGGLXVANCNFSM4LDKUALQ .

Sadly the only fix for the infinite boot loop loading in Resident evil 2 remake is the mfplat.DLL, this is a known problem with this game and running it on Linux, Also never had to use a ftp, How do I start itl And where are the game files saved in this is as well? Since this DLL has to be placed with the .exe of re2

GamerOS runs Steam Buddy (a web interface mostly for managing non-Steam games) which has an option to enable an FTP server. Check out https://github.com/gamer-os/steam-buddy, but you can connect to it by opening a browser on another computer and entering gameros.local or the IP address of your GamerOS machine.
In Steam Buddy, you click on the cog icon on the top right and select Settings, there you can enable FTP.
The game files will be under ~/.local/share/Steam/steamapps/common/
Hope that helps!

Hello, I sadly ran into a brick wall, I need to run wine-staging to install a few other files, And not sure how to go about it, -Sighs- Loving this OS and do not want to change again, Hate to ask but would you happen to have RE2 remake on steam? or know of someone whom does? I need to get a copy of some of their files to install them with mine so it can run in a linux distro i guess now.

If you are talking about the mfplat work around, I believe you need wine and some other packages. GamerOS comes as a read only system by default. However, if you plug in a keyboard and press ctrl-alt-f3 you can get to a terminal. Log in with username gamer and password gamer.
Now run the command: sudo frzr-unlock. This will make the system read-write.
At this point you can use pacman to install any additional packages needed to run the mfplat work around.
Just note that the added packages will be removed after the next system update.

Removed? So would have to reinstalled them again to get it to work?
On Sat, Mar 7, 2020, 3:12 PM alkazar<EMAIL_ADDRESS>wrote:

If you are talking about the mfplat work around, I believe you need wine
and some other packages. GamerOS comes as a read only system by default.
However, if you plug in a keyboard and press ctrl-alt-f3 you can get to a
terminal. Log in with username gamer and password gamer.
Now run the command: sudo frzr-unlock. This will make the system
read-write.
At this point you can use pacman to install any additional packages needed
to run the mfplat work around.
Just note that the added packages will be removed after the next system
update.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gamer-os/gamer-os/issues/78?email_source=notifications&email_token=AFAGZH4CC2JAO45SVZCMC33RGKTCVA5CNFSM4LDKUAL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOEELWA#issuecomment-596133336,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAGZHY6YBPGNBFT6U2GMCLRGKTCVANCNFSM4LDKUALQ
.

Just the extra software would be removed after an update. So if you wanted
to run the mfplat workaround script on another game or if you uninstalled
RE2 and wanted to run the workaround again you would have to reinstall the
extra packages again. The update wouldn't remove the changes already made
to installed games.
Does that make sense?
On Sat, Mar 7, 2020, 20:02 Mannyrue<EMAIL_ADDRESS>wrote:

Removed? So would have to reinstalled them again to get it to work?
On Sat, Mar 7, 2020, 3:12 PM alkazar<EMAIL_ADDRESS>wrote:

If you are talking about the mfplat work around, I believe you need wine
and some other packages. GamerOS comes as a read only system by default.
However, if you plug in a keyboard and press ctrl-alt-f3 you can get to a
terminal. Log in with username gamer and password gamer.
Now run the command: sudo frzr-unlock. This will make the system
read-write.
At this point you can use pacman to install any additional packages
needed
to run the mfplat work around.
Just note that the added packages will be removed after the next system
update.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/gamer-os/gamer-os/issues/78?email_source=notifications&email_token=AFAGZH4CC2JAO45SVZCMC33RGKTCVA5CNFSM4LDKUAL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOEELWA#issuecomment-596133336
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AFAGZHY6YBPGNBFT6U2GMCLRGKTCVANCNFSM4LDKUALQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gamer-os/gamer-os/issues/78?email_source=notifications&email_token=AAIWMWENJK7GISYYEU23AG3RGLVCBA5CNFSM4LDKUAL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOEJMWA#issuecomment-596153944,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIWMWDJI3NHSFNGNWFNYN3RGLVCBANCNFSM4LDKUALQ
.

Yes it does, Sorry if I'm being a bother, Just not use to Linux anymore and
made this gaming machine to be my new game console , And I love re2 a lot,
Am confused on how to run wine-staging with this but will google help docs
and FAQs and figure it out eventually.
On Sat, Mar 7, 2020, 8:15 PM alkazar<EMAIL_ADDRESS>wrote:

Just the extra software would be removed after an update. So if you wanted
to run the mfplat workaround script on another game or if you uninstalled
RE2 and wanted to run the workaround again you would have to reinstall the
extra packages again. The update wouldn't remove the changes already made
to installed games.
Does that make sense?
On Sat, Mar 7, 2020, 20:02 Mannyrue<EMAIL_ADDRESS>wrote:

Removed? So would have to reinstalled them again to get it to work?
On Sat, Mar 7, 2020, 3:12 PM alkazar<EMAIL_ADDRESS>wrote:

If you are talking about the mfplat work around, I believe you need
wine
and some other packages. GamerOS comes as a read only system by
default.
However, if you plug in a keyboard and press ctrl-alt-f3 you can get
to a
terminal. Log in with username gamer and password gamer.
Now run the command: sudo frzr-unlock. This will make the system
read-write.
At this point you can use pacman to install any additional packages
needed
to run the mfplat work around.
Just note that the added packages will be removed after the next system
update.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/gamer-os/gamer-os/issues/78?email_source=notifications&email_token=AFAGZH4CC2JAO45SVZCMC33RGKTCVA5CNFSM4LDKUAL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOEELWA#issuecomment-596133336

,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AFAGZHY6YBPGNBFT6U2GMCLRGKTCVANCNFSM4LDKUALQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/gamer-os/gamer-os/issues/78?email_source=notifications&email_token=AAIWMWENJK7GISYYEU23AG3RGLVCBA5CNFSM4LDKUAL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOEJMWA#issuecomment-596153944
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAIWMWDJI3NHSFNGNWFNYN3RGLVCBANCNFSM4LDKUALQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gamer-os/gamer-os/issues/78?email_source=notifications&email_token=AFAGZH36XWYZ6QJIGM7Y7M3RGLWRRA5CNFSM4LDKUAL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOEJSEI#issuecomment-596154641,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAGZH2JLJ6CY3FA7CKTZULRGLWRRANCNFSM4LDKUALQ
.

What do you need wine-staging for though? My understanding is you just need to run the mfplat install script with wine and then you can run the game with proton. Check out the RE2 entry on protondb.com for info on the workaround.
Ideally, I would love to have RE2 and other games affected by this issue working out of the box on GamerOS, but there are many hurdles. There is the legal issue of mfplat, but there is also the issue of having to include wine and python2 just for this workaround. That would increase the size of the system quite dramatically.

Be great if could find a middle platform, A media player on Linux that
could read the in game cut scenes correctly and not have to be patched by
something like this. But I might actually stream this from my old PC to the
one now running gameros, mighty be a tad uglier but I don't MIMD really
just wanted this also on PC to mod it and enjoy it all over again in a new
way.
On Sat, Mar 7, 2020, 8:23 PM alkazar<EMAIL_ADDRESS>wrote:

What do you need wine-staging for though? My understanding is you just
need to run the mfplat install script with wine and then you can run the
game with proton. Check out the RE2 entry on protondb.com for info on the
workaround.
Ideally, I would love to have RE2 and other games affected by this issue
working out of the box on GamerOS, but there are many hurdles. There is the
legal issue of mfplat, but there is also the issue of having to include
wine and python2 just for this workaround. That would increase the size of
the system quite dramatically.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gamer-os/gamer-os/issues/78?email_source=notifications&email_token=AFAGZHYJSGPJN6MMFDMNWKTRGLXRLA5CNFSM4LDKUAL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOEJW7Y#issuecomment-596155263,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAGZH56JGNE265THTSOFLLRGLXRLANCNFSM4LDKUALQ
.

Looks like there is some hope this will get fixed in a future version of Wine/Proton. There was a recent post that a developer is working on it.

Hello, Not sure if you will get this message or not, But recently bought a
new headset and prior my sound was coming in through my GPU/TV, Well my
sound is gone from TV and headset and am not sure what to do, I have
changed settings in audio to no avail, do believe pulse orr whatever might
of muted my sound and not sure how to get to that to fix the issue.
On Tue, Mar 17, 2020, 7:51 PM alkazar<EMAIL_ADDRESS>wrote:

Looks like there is some hope this will get fixed in a future version of
Wine/Proton. There was a recent post that a developer is working on it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gamer-os/gamer-os/issues/78#issuecomment-600355334,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAGZH3NCRZEKOBN7KALTSDRIAEIPANCNFSM4LDKUALQ
.

Please see https://github.com/gamer-os/gamer-os/issues/74 for some possible workarounds.
The short answer is that the Steam client UI for audio settings seems to be unreliable and/or busted.
Some alternatives are suggested in the linked issue.

In the future, please try not to add unrelated comments to existing issues.


@μσ_methods

This PR adds a macro @μσ_methods that makes it easier to add methods for location-scale families. For example, we can start with just StudentT(ν), and then (editing out some line-number stuff)
julia> @macroexpand MeasureTheory.@μσ_methods StudentT(ν)
quote
    function rand(rng::AbstractRNG, d::StudentT{(:ν, :μ, :σ)}, x)
        d.σ * rand(rng, StudentT(d.ν)) + d.μ
    end

    function logdensity(d::StudentT{(:ν, :μ, :σ)}, x)
        z = (x - d.μ) / d.σ
        return logdensity(StudentT(d.ν), z) - log(d.σ)
    end

    function rand(rng::AbstractRNG, d::StudentT{(:ν, :σ)}, x)
        d.σ * rand(rng, StudentT(d.ν))
    end

    function logdensity(d::StudentT{(:ν, :σ)}, x)
        z = x / d.σ
        return logdensity(StudentT(d.ν), z) - log(d.σ)
    end

    function rand(rng::AbstractRNG, d::StudentT{(:ν, :μ)}, x)
        rand(rng, StudentT(d.ν)) + d.μ
    end

    function logdensity(d::StudentT{(:ν, :μ)}, x)
        z = x - d.μ
        return logdensity(StudentT(d.ν), z)
    end
end

rand methods aren't quite working right yet, but it's pretty close.

This is neat, actually.

This is neat, actually.

Codecov Report

Merging #44 (289a871) into master (923a5fa) will decrease coverage by 7.19%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master     #44      +/-   ##
=========================================
- Coverage    9.36%   2.16%   -7.20%
=========================================
  Files          27      26       -1
  Lines         267     277      +10
=========================================
- Hits           25       6      -19
- Misses        242     271      +29

Impacted Files
Coverage Δ

src/macros.jl
0.00% <0.00%> (-51.73%)
:arrow_down:

src/probability/cauchy.jl
0.00% <0.00%> (ø)

src/probability/laplace.jl
0.00% <0.00%> (ø)

src/probability/normal.jl
0.00% <ø> (ø)

src/probability/studentt.jl
0.00% <ø> (ø)

src/domains.jl
0.00% <0.00%> (-75.00%)
:arrow_down:

Continue to review full report at Codecov.

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

Codecov Report

Merging #44 (289a871) into master (923a5fa) will decrease coverage by 7.19%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master     #44      +/-   ##
=========================================
- Coverage    9.36%   2.16%   -7.20%
=========================================
  Files          27      26       -1
  Lines         267     277      +10
=========================================
- Hits           25       6      -19
- Misses        242     271      +29

Impacted Files
Coverage Δ

src/macros.jl
0.00% <0.00%> (-51.73%)
:arrow_down:

src/probability/cauchy.jl
0.00% <0.00%> (ø)

src/probability/laplace.jl
0.00% <0.00%> (ø)

src/probability/normal.jl
0.00% <ø> (ø)

src/probability/studentt.jl
0.00% <ø> (ø)

src/domains.jl
0.00% <0.00%> (-75.00%)
:arrow_down:

Continue to review full report at Codecov.

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


Any plans for multimon?

Hey, I was wondering if you plan to add the multimon patch? I don't know if there is a specific reason it's not included. Maybe it would be beneficial? Would definetly improve my setup.

@sevi-kun its not included because i dont have multi-monitors.  just add it yourself!


iPadOS and iOS IPSW

This feature request is about iOS and iPadOS can you make it so that you can run iOS and iPadOS ipsws as a vm on the mac version of utm

This is not likely to be supported because we do not control Virtualization framework. The only way this would work is if Apple decides to support it publicly.


6 info about unreleased changes

This PR introduces a new mandatory attribute, unreleased_changes, to the Repo class. It denoted how many commits have been made since the last release/tag or how many commits a repository has if no tags are given.
Closes #6.
This PR has to be handled after #7.

Did you rebase between #7 and #10/#12? Because GH still shows all the commits in both later PR.

Did you rebase between #7 and #10/#12? Because GH still shows all the commits in both later PR.

Mmh, I usually don't rebase but merge, see 9837d71. Is it better practice to rebase?


Don't marshal the order string

Don't marshal the order string because when we do we end up JSON-escaping
things which looks funky and inconsistent with the other samples
Signed-off-by: Doug Davis<EMAIL_ADDRESS>

This change looks good to me.

My thought: This change makes sense also because data is already []byte so no real need to cast as a string and re-marshal it unless you want predictable whitespace and indentation in what is written to w. I think for this reason, removing the extra step simplifies the code.


Support python SDK in ARM/Android platform

Is your feature request related to a problem? Please describe.
I have written a programe, which I want it available in all platforms. However, I found in Android platform(with termux) installing azure-cognitiveservices-speech is impossible due to only windows, mac, limux is provided on pypi.
Describe the solution you'd like
A azure-cognitiveservices-speech version built for Android(ARM) with termux.
Additional context
I can't build it myself due to I can't find code for lib libMicrosoft.CognitiveServices.Speech.core and so on.

The speech SDK have native library dependencies (libMicrosoft.CognitiveServices.Speech.core.so), so it is not enough to just compile the python bindings for ARM. We refactored our Wheel files, and plan to add ARM support in our upcoming 1.24 release, but this ARM support is for Linux and does not enable Android support for our python wheels.
We can look and see what it would cost us to add Android support for Python at some future point, but it is currently not on our roadmap.
We do support Java on android though.
There is also the Java Script SDK that does not have native dll dependencies.


waypoint configuration : loadWaypoint failed The execution could not be executed

Which DJI Product you are using?
o	DJI Mavic air2 fireware version 01.01.0700, RC 04.11.0032
Which Android Device and Android system version you are using?
o	Redmi note10 , Android 11 RKQ1.201022.002
Which Android Studio version you are using?
o	Android Studio 2020
A short description of your problem includes debugging logs or screenshots.
o	I try to do the project base on Android GSDemo Google map (https://github.com/DJI-Mobile-SDK-Tutorials/Android-GSDemo-GoogleMap) tag DJI Android SDK 4.15 then I need to test. is the demo project work fine? But I found some problem.
o	After I clone the demo project, I config the DJI KEY, Google map KEY then run the app demo. The app work fine, can pair the drone but there is some problem.
o	I do waypoint configuration, and press finish it seem waypoint set attitude successfully but loadWaypoint failed.

o	loadWaypoint failed The execution could not be executed

FYI: The demo app can connect with the drone and correctly show actual position of drone or also correctly show simulation position but I can not loadWaypoint and upload the information to the drone so I cannot test waypoint simulator demo project.

Thank you.

Agent comment from DJI SDK in Zendesk ticket #58875:尊敬的开发者，感谢您联系DJI 大疆创新
由于github不是我们主要的咨询渠道，您的问题可能跟进不及时。我们建议您通过填写表单（ https://djisdksupport.zendesk.com/hc/zh-cn/requests/new ）向我们反馈问题。或者您也可以在论坛发帖，与其它开发者交流。论坛链接：https://djisdksupport.zendesk.com/hc/zh-cn/community/topics
Dear developer, thank you for contacting DJI.
Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics
°°°

Agent comment from William Wong in Zendesk ticket #58875:Mavic Air 2 does not support waypointMIssion
°°°

Does Mavic Mini support waypointMission?


implemented custom item quantity per order limit

solved issue #4, with invalid order limit for items in oddities menu

That was quick, fixed it before I even got the chance to think about it! :) Thank you!


Multibyte characters are garbled

Text containing UTF-8 multibyte characters (e.g. Japanese) is garbled when parsed and converted.
There is no particular problem at the lexical analysis stage, but the string cut out by yytext is garbled.
The reason for this is that System.Text.StringBuilder is used for the BuildElement member variables bldr and next of the BuildElement child class of BuildBuffer near line 260 of GplexBuffers.cs.
Essentialy, the string <-> byte[] conversion of a UTF-8 encoded string should be done with byte[], but by charifying it and adding char[] with the Append of System.Text.StringBuilder, the encoding is broken.
The StringBuilder implementation to be used here should be, for example, the following code…
    public class StringBuilderExt
    {
        private byte[] buffer;
        private int length;
        private int max =4096;

        public StringBuilderExt()
        {
            buffer = new byte[max];
            length = 0;
        }

        public char this[int index]
        {
            get
            {
                char c = (char)0x00;
                if (index < length)
                {
                    c = (char)buffer[index];
                }
                return c;
            }
        }

        public void Append(char[] c, int pos, int len)
        {
            var temp = new byte[buffer.Length];
            if (length + pos > temp.Length)
            {
                temp = new byte[buffer.Length + len];
            }
            buffer.CopyTo(temp, pos);
            buffer.AsSpan(0, pos).CopyTo(temp);
            for(int i=0;i<len;i++)
            {
                temp[pos + i] = (byte)c[i];
                length++;
            }
            buffer = temp;
        }

        public String ToString(int pos, int len)
        {
            return System.Text.Encoding.Default.GetString(buffer.AsSpan(pos, len));
        }

        public int Length {
            get
            {
                return System.Text.Encoding.Default.GetString(buffer).Length;
            }
            set
            {
                length = value;
            }
        }
    }

I've confirmed that this implementation can Append and ToString correctly, but I'd like to see it work correctly as a whole and release the latest version with the problem fixed as soon as possible. Because I really like this Nuget Package and use it in my https://github.com/kae-made/xtuml-ooa-of-ooa-library project.
Thank you!

Hi, Thank you very much for the feedback. I will look at it and will let you know.
Cheers!

I missed sample code of StringBuilderExt.
Here's the code that has verified that it works correctly.
    internal class StringBuilderExt
    {
        private byte[] buffer;
        private int length;
        private int max = 4096;
        private int unitBytes = 4096;

        public StringBuilderExt()
        {
            buffer = new byte[max];
            length = 0;
        }

        public char this[int index]
        {
            get
            {
                char c = (char)0x00;
                if (index < length)
                {
                    try
                    {
                        c = (char)buffer[index];
                    }
                    catch(Exception e)
                    {
                        Debug.WriteLine(e.Message);
                    }
                }
                return c;
            }
        }

        public void Append(char[] c, int pos, int len)
        {
            var temp = new byte[buffer.Length];
            if (buffer.Length < length + len)
            {
                temp = new byte[(((length + len) / unitBytes) + 1) * unitBytes];
            }
            buffer.CopyTo(temp, 0);
            for (int i = 0; i < len; i++)
            {
                temp[length + i] = (byte)c[pos + i];
            }
            length += len;
            buffer = temp;
        }

        public String ToString(int pos, int len)
        {
            return System.Text.Encoding.Default.GetString(buffer.AsSpan(pos, len));
        }

        public int Length
        {
            get
            {
                return System.Text.Encoding.Default.GetString(buffer).Length;
            }
            set
            {
                length = value;
            }
        }
    }

I misunderstood the behavior of StringBuilder Append method.
Thank you

Hi @kae-made, the support for multi-byte encoding was already there, but was not working well. I have done some fixes to the GPLEX for better guessing the right encoding to use and then I have updated all the packages. Try by updating the package YaccLexTools to version 1.2.3. After updating the package. Remove the files GplexBuffers.cs and ShiftReduceParserCode.cs and the generated parsers and scanners. Then build again the project for regenerating the files. You will see a new of  GplexBuffers.cs that should fix your issue.


MWPW-158010

Resolves : MWPW-158010
Removing nonprofit block

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.73%. Comparing base (d75cedc) to head (5f9f609).
Report is 19 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #849      +/-   ##
==========================================
- Coverage   88.62%   85.73%   -2.90%
==========================================
  Files          51       47       -4
  Lines        7815     6027    -1788
==========================================
- Hits         6926     5167    -1759
+ Misses        889      860      -29

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Young Coders Volunteer Page Link Doesn't Open a Volunteer Page

The Young Coder's volunteer link on the volunteer page just links back to the volunteer page instead of a Google doc or similar

The volunteers were able to get this fixed. Thanks!


Doesn't show the "Add to Youtube Notfications" button on the New Youtube Layout

I'm missing the "Add to Youtube Notifications" button on the New Youtube Beta Layout.
I'm wondering if you'd add support for the new layout?
Here's an image of where it should've been:

Thanks

Apologies for the late reply, the new version which has been pushed just now will work with the new layout.


[Feature Request] Force Removal Taint

Is your feature request related to a problem? Please describe.
Hello! We're an organization with fairly heavy duty usage on Escalator, and we love it so far!
Something we've recently been wrestling with, is an issue with our storage provider (totally unrelated to Escalator) that impacts nodes running new pods, live pods are fine. Unfortunately when nodes are in this state, it's not automatically recoverable and the node needs to be removed. We can add a taint, but Escalator won't scale the node down until the job queue is empty.
Describe the solution you'd like
My proposed solution, is to implement a new taint. Something like:
atlassian.com/escalator=force:NoSchedule

This taint would be added by a custom health checking process, and not the responsibility of Escalator.
When this is encountered during the Escalator loop, a check would be made for running pods, and if none are found the node is scaled out, regardless of if there are still pending jobs. This would not have any impact on the existing usage of taints.
This way, the entire system is able to purge bad nodes for whatever reason and scale up as normal.
Very curious if there is any interest in this functionality! I am happy to implement it if so!
Thank you

Hello! We're an organization with fairly heavy duty usage on Escalator, and we love it so far!

Awesome to hear!

When this is encountered during the Escalator loop, a check would be made for running pods, and if none are found the node is scaled out, regardless of if there are still pending jobs. This would not have any impact on the existing usage of taints.

This way, the entire system is able to purge bad nodes for whatever reason and scale up as normal.

It's funny - we're actually interested in this feature ourselves too. We have cases were bad configuration has been rolled out to some or all nodes, and we'd like a method to quickly remove these bad nodes, regardless of how old they are.
Our thinking has also been some sort of taint that users can apply to the node, in which if Escalator sees it - it will prioritise replacing that node ASAP.
Currently we rely on doubling the desired amount of instances in the autoscaling group to force Escalator to replace old, broken nodes, however this is time consuming, requires access to modify the autoscaling group and is sometimes costly.
So having a taint to selectively do this would be great - it allows us to only target the nodes with the bad configuration as well as let our internal cluster users apply the taint themselves without need for AWS access.

Very curious if there is any interest in this functionality! I am happy to implement it if so!

We'd love it if you're able to implement this. Also happy to spend the time reviewing and testing it once implemented.

@awprice This is a match made in heaven then eh!
I'll put something together, ideally within the next week :) To be totally transparent I've never touched Go before, and am making assumptions about how quick it'll be to implement (we're a Scala/Java shop).

Also happy to spend the time reviewing and testing it once implemented.

Really appreciate this! I'll follow up in this thread once things are moving forward :)
At a high level, how do you feel about the naming: atlassian.com/escalator=force?

@awprice I've opened up a WIP PR with barebones logic. Are you able to take a peek and let me know your thoughts on overall pattern/direction? Thank you!

@jackcasey-visier 👍 will take a look


Update poco submodule for broken timeouts

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Bug Fix

Short description (up to few sentences):
Fix bug introduced in query profiler which leads to endless recv from socket.

Description:
Without this option, Poco library will restart recv after EINTR, but it doesn't update socket receive timeout that leads to infinite wait when query profiler is activated.


Can't remove users from a large moderation list

Describe the bug
I have a moderation list with 890 users, and the function to remove a user from the list stopped working at some point.
To Reproduce
Steps to reproduce the behavior:

Go to the Moderation List page.
Scroll down the user list (Keep doing this until you have a good number of users at the top of the list).
Click Edit and click to remove user.
When update the list the user still there.

Expected behavior
To remove the user from the moderation list.
Details

Platform: desktop firefox linux
Platform version: 130.0.1
App version: 1.91.2 f2a69c4 (prod)

Additional context
The other small moderation lists are still working fine, and the top of the list removes users as well. It seems like the issue is related to the number of users.

Update: I ended up discovering that the issue on desktop was resolved when I disabled the uBlock Origin extension, but on iOS (18.0), the problem persists.


Update pci-req6.md

On 6.4, changed the colon to a period.
On 6.4, removed two extra  spaces above the bullets. Did this on two lists with the same problem.
On 6.4.3, added a period to the end of the requirement.
On 6.4.4, I changed the slash (/) to "or" instead.
Under 6.5, I changed "etc." to "and so on."
I added a period to the end of that note and the following note.
Removed periods at the end of 6.5.6 and 6.5.8.

@EdPrice-MSFT,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/compliance/pci-req6.md
:white_check_mark:Succeeded
View

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


loading html from dll

We're trying to use chromely as UI for an Installer.
For this task we need to load the html file from a dll as embedded recource.
Till now we did not got this working.
Is there already a way to get this to work?

@Naicos interesting ...
No not specifically, but I think it can be done.
You can see how CefGlue subprocess executable is embedded.

Embedding:
https://github.com/chromelyapps/Chromely/blob/e93c564c2fcba30049ef795831747f702dc984b0/src/Chromely.CefGlue/Chromely.CefGlue.csproj#L63

Watch carefully the embedding path.
Example:
If the project file is in PROJ and namespace is PROJ, the resource must be as below:
Assume embedding dll name is EMBED.DLL
"C:\PROJ\EMBEDFOLDER\EMBED.DLL"
EMBEDFOLDER\ EMBED.DLL
Namespace may be an impact too.

Extraction:
DefaultSubprocessExe

string resourcePath = "EMBED.DLL.launch.html";
Namespace may be an impact too.
https://github.com/chromelyapps/Chromely/blob/e93c564c2fcba30049ef795831747f702dc984b0/src/Chromely.CefGlue/Subprocess/DefaultSubprocessExe.cs#L116

Only need to make sure that the extraction is done before launching Chromely.

This is actually very interesting, what if Chromely could natively package the HTML files for you?


Sets

Are you sure in the coding questions you meant what you have there and not this:
var x = immutable.Set[Int]()
val y = mutable.Set[Int]()
Notice the S and the ()

Wow! How I never saw that mistake? I'm really ashamed of myself =(
Thanks!