Fixed jQuery global for environments

Fixed jQuery global for environments that do not expose it as $ (e.g. default WordPress configuration).

Good spot, I did wonder who uses jQuery, now I know :)

About a million of people, ajajaj :D


Add users modifications

This PR removes references to 'active' user status as all users will be active once they are added.
This also makes a post request to /users when adding a user with their email address. This then fires off an email and adds the user to the fake-user store. (The user is fake. The store is real.)
Please see related PR on bookit-server # 28

Changes Unknown when pulling 2f38c4145989f5d72823621cb46cff61bf4e9b29 on add-users-modifications into ** on master**.


How to find Backup vault name,vault resource group name, backup policy name via Python sdk need example Please

Package Name:  vault recovery services
Package Version:
Operating System:  Linux
Python Version:  3.6

Describe the bug
How to get values for a given VM, I need to do it via python sdk, I wanted to find below information for a given VM (hostname as parameter) it should fine belwo details

Recovery services vault Name
Recovery Service Vault resource group for this VM
Backup policy Name

@changlong-liu  can i have some update please

@onenessboy : This API is exactly for that purpose. You only need to provide the ARM ID of the VM, and the result will give you the vault name, backup item name and the policy name. I don't have the python example yet but this API should give some clue.

@pvrk thanks for that API, but that does not work in our case, we wanted output as per this API https://docs.microsoft.com/en-us/rest/api/backup/backupprotecteditems/list which is we are exactly looking for these to work I need to know backupvaultname, vault resource group name and backuppolicy name to fetch status where I supply filter condition as "$filter=backupManagementType eq 'AzureIaasVM' and itemType eq 'VM' and policyName eq '{backup_policy_name}'  so now the issue is i want to know this information only by passing hostname not all other vault related parameters, i have to find it programatically

@onenessboy : The backupProtectedItems API is in the context of a vault and hence you always need a vault (which means vault name and vault resource group name). You can combine the 2 APIs: pass the ARM ID of the VM to get all the relevant details from check status API and supply the APIs output to backupProtectedItems API to get the relevant result. Of course, this is just my hypothesis.

@onenessboy : The backupProtectedItems API is in the context of a vault and hence you always need a vault (which means vault name and vault resource group name). You can combine the 2 APIs: pass the ARM ID of the VM to get all the relevant details from check status API and supply the APIs output to backupProtectedItems API to get the relevant result. Of course, this is just my hypothesis.

:) yeah, forgot to mention all our vms are backuped via vault. same hypothesis, i just had, ok i shall give a try, But can we get it official some usecase sample for this as well  ( i know automation always tricky and difficult than manually seeing it on console :)"  Meanwhile, i will try this messy merging of two API, can some from MS research team do along with me this parallel :) and let me know if i can get some working example please. :)

Ok Here is my trail with first API you mentioned , get backup status via POST method, i am getting {"ErrorCode":"CloudInvalidInputError","Message":{"Language":"en-US","Value":"The current operation failed due to an internal service error \"Invalid input error\". Please retry the operation after some time.\r\nIf the issue persists, please contact Microsoft support."},"Values":[]}  , i double checked code,i treid to print location and resrouce group name, its printing, that means credentials dont have issue. But above erros says something else...

@onenessboy : For the 1st request, where you asked for a python sample to backup a VM, Sambit was able to prepare a very raw version. Please try this and let us know if this works.
from azure.cli.command_modules.backup._client_factory import (
    vaults_cf, backup_protected_items_cf, protection_policies_cf, virtual_machines_cf, protection_containers_cf, backup_protectable_items_cf, protection_container_refresh_operation_results_cf)
from six.moves.urllib.parse import urlparse
from msrest.paging import Paged
from azure.mgmt.recoveryservicesbackup.models import ProtectedItemResource, AzureIaaSComputeVMProtectedItem

def main():
    vm_name, vm_rg = "name", "rg"
    policy_name = "policy"
    vault_name = "vault"
    vault_rg = "vault_rg"

    # Get protectable item.
    protectable_item = _get_protectable_item_for_vm(cmd.cli_ctx, vault_name, vault_rg, vm_name, vm_rg)

    # Construct enable protection request object
    container_uri = "iaasvmcontainer;vmrg;vmname"
    item_uri = "VM;iaasvmcontainer;vmrg;vmname"
    vm_item_properties = AzureIaaSComputeVMProtectedItem()
    vm_item_properties.policy_id = "policy_Arm_id"
    vm_item_properties.source_resource_id = protectable_item.properties.virtual_machine_id

    vm_item = ProtectedItemResource(properties=vm_item_properties)

    result = client.create_or_update(vault_name, resource_group_name, fabric_name,
                                     container_uri, item_uri, vm_item, raw=True)

def _get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg):
    protection_containers_client = protection_containers_cf(cli_ctx)

    protectable_item = _try_get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg)
    if protectable_item is None:
        refresh_result = protection_containers_client.refresh(vault_name, vault_rg, fabric_name, raw=True)
        _track_refresh_operation(cli_ctx, refresh_result, vault_name, vault_rg)
    protectable_item = _try_get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg)
    return protectable_item

def _try_get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg):
    backup_protectable_items_client = backup_protectable_items_cf(cli_ctx)

    filter_string = _get_filter_string({
        'backupManagementType': 'AzureIaasVM'})

    protectable_items_paged = backup_protectable_items_client.list(vault_name, vault_rg, filter_string)
    protectable_items = _get_list_from_paged_response(protectable_items_paged)

    for protectable_item in protectable_items:
        item_vm_name = _get_vm_name_from_vm_id(protectable_item.properties.virtual_machine_id)
        item_vm_rg = _get_resource_group_from_id(protectable_item.properties.virtual_machine_id)
        if item_vm_name.lower() == vm_name.lower() and item_vm_rg.lower() == vm_rg.lower():
            return protectable_item
    return None

def _track_refresh_operation(cli_ctx, result, vault_name, resource_group):
    protection_container_refresh_operation_results_client = protection_container_refresh_operation_results_cf(cli_ctx)

    operation_id = urlparse(result.response.headers['Location'])).path.split("/")[-1]
    result = protection_container_refresh_operation_results_client.get(vault_name,resource_group,fabric_name, operation_id, raw=True)

    while result.response.status_code == 202:
        time.sleep(1)s
        result = protection_container_refresh_operation_results_client.get(vault_name,resource_group,fabric_name,operation_id,raw=True)

def _get_list_from_paged_response(obj_list):
    return list(obj_list) if isinstance(obj_list, Paged) else obj_list

@onenessboy : For the 1st request, where you asked for a python sample to backup a VM, Sambit was able to prepare a very raw version. Please try this and let us know if this works.
from azure.cli.command_modules.backup._client_factory import (
    vaults_cf, backup_protected_items_cf, protection_policies_cf, virtual_machines_cf, protection_containers_cf, backup_protectable_items_cf, protection_container_refresh_operation_results_cf)
from six.moves.urllib.parse import urlparse
from msrest.paging import Paged
from azure.mgmt.recoveryservicesbackup.models import ProtectedItemResource, AzureIaaSComputeVMProtectedItem

def main():
    vm_name, vm_rg = "name", "rg"
    policy_name = "policy"
    vault_name = "vault"
    vault_rg = "vault_rg"

    # Get protectable item.
    protectable_item = _get_protectable_item_for_vm(cmd.cli_ctx, vault_name, vault_rg, vm_name, vm_rg)

    # Construct enable protection request object
    container_uri = "iaasvmcontainer;vmrg;vmname"
    item_uri = "VM;iaasvmcontainer;vmrg;vmname"
    vm_item_properties = AzureIaaSComputeVMProtectedItem()
    vm_item_properties.policy_id = "policy_Arm_id"
    vm_item_properties.source_resource_id = protectable_item.properties.virtual_machine_id

    vm_item = ProtectedItemResource(properties=vm_item_properties)

    result = client.create_or_update(vault_name, resource_group_name, fabric_name,
                                     container_uri, item_uri, vm_item, raw=True)

def _get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg):
    protection_containers_client = protection_containers_cf(cli_ctx)

    protectable_item = _try_get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg)
    if protectable_item is None:
        refresh_result = protection_containers_client.refresh(vault_name, vault_rg, fabric_name, raw=True)
        _track_refresh_operation(cli_ctx, refresh_result, vault_name, vault_rg)
    protectable_item = _try_get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg)
    return protectable_item

def _try_get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg):
    backup_protectable_items_client = backup_protectable_items_cf(cli_ctx)

    filter_string = _get_filter_string({
        'backupManagementType': 'AzureIaasVM'})

    protectable_items_paged = backup_protectable_items_client.list(vault_name, vault_rg, filter_string)
    protectable_items = _get_list_from_paged_response(protectable_items_paged)

    for protectable_item in protectable_items:
        item_vm_name = _get_vm_name_from_vm_id(protectable_item.properties.virtual_machine_id)
        item_vm_rg = _get_resource_group_from_id(protectable_item.properties.virtual_machine_id)
        if item_vm_name.lower() == vm_name.lower() and item_vm_rg.lower() == vm_rg.lower():
            return protectable_item
    return None

def _track_refresh_operation(cli_ctx, result, vault_name, resource_group):
    protection_container_refresh_operation_results_client = protection_container_refresh_operation_results_cf(cli_ctx)

    operation_id = urlparse(result.response.headers['Location'])).path.split("/")[-1]
    result = protection_container_refresh_operation_results_client.get(vault_name,resource_group,fabric_name, operation_id, raw=True)

    while result.response.status_code == 202:
        time.sleep(1)s
        result = protection_container_refresh_operation_results_client.get(vault_name,resource_group,fabric_name,operation_id,raw=True)

def _get_list_from_paged_response(obj_list):
    return list(obj_list) if isinstance(obj_list, Paged) else obj_list

@pvrk thanks for code, the same code I recived from @mepand on issue #12878 , but unfortunately it wont work for our case, as vault name, vault resourg group and backupolicy are hardcoded (i mean need to pass as parameters). As explained earlier in this issue and other issue, the requriement is only we will pass hostname and program should get vaultname, vault resource group, and backup policy for that VM , then trigger the backup.  As you said earlier, even I tried API method backupget status, backupprojtecteditem api , but its failing...... Is that possible for @sambitratha to prepare a sample with API mix model ?

@onenessboy : For the 1st request, where you asked for a python sample to backup a VM, Sambit was able to prepare a very raw version. Please try this and let us know if this works.
from azure.cli.command_modules.backup._client_factory import (
    vaults_cf, backup_protected_items_cf, protection_policies_cf, virtual_machines_cf, protection_containers_cf, backup_protectable_items_cf, protection_container_refresh_operation_results_cf)
from six.moves.urllib.parse import urlparse
from msrest.paging import Paged
from azure.mgmt.recoveryservicesbackup.models import ProtectedItemResource, AzureIaaSComputeVMProtectedItem

def main():
    vm_name, vm_rg = "name", "rg"
    policy_name = "policy"
    vault_name = "vault"
    vault_rg = "vault_rg"

    # Get protectable item.
    protectable_item = _get_protectable_item_for_vm(cmd.cli_ctx, vault_name, vault_rg, vm_name, vm_rg)

    # Construct enable protection request object
    container_uri = "iaasvmcontainer;vmrg;vmname"
    item_uri = "VM;iaasvmcontainer;vmrg;vmname"
    vm_item_properties = AzureIaaSComputeVMProtectedItem()
    vm_item_properties.policy_id = "policy_Arm_id"
    vm_item_properties.source_resource_id = protectable_item.properties.virtual_machine_id

    vm_item = ProtectedItemResource(properties=vm_item_properties)

    result = client.create_or_update(vault_name, resource_group_name, fabric_name,
                                     container_uri, item_uri, vm_item, raw=True)

def _get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg):
    protection_containers_client = protection_containers_cf(cli_ctx)

    protectable_item = _try_get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg)
    if protectable_item is None:
        refresh_result = protection_containers_client.refresh(vault_name, vault_rg, fabric_name, raw=True)
        _track_refresh_operation(cli_ctx, refresh_result, vault_name, vault_rg)
    protectable_item = _try_get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg)
    return protectable_item

def _try_get_protectable_item_for_vm(cli_ctx, vault_name, vault_rg, vm_name, vm_rg):
    backup_protectable_items_client = backup_protectable_items_cf(cli_ctx)

    filter_string = _get_filter_string({
        'backupManagementType': 'AzureIaasVM'})

    protectable_items_paged = backup_protectable_items_client.list(vault_name, vault_rg, filter_string)
    protectable_items = _get_list_from_paged_response(protectable_items_paged)

    for protectable_item in protectable_items:
        item_vm_name = _get_vm_name_from_vm_id(protectable_item.properties.virtual_machine_id)
        item_vm_rg = _get_resource_group_from_id(protectable_item.properties.virtual_machine_id)
        if item_vm_name.lower() == vm_name.lower() and item_vm_rg.lower() == vm_rg.lower():
            return protectable_item
    return None

def _track_refresh_operation(cli_ctx, result, vault_name, resource_group):
    protection_container_refresh_operation_results_client = protection_container_refresh_operation_results_cf(cli_ctx)

    operation_id = urlparse(result.response.headers['Location'])).path.split("/")[-1]
    result = protection_container_refresh_operation_results_client.get(vault_name,resource_group,fabric_name, operation_id, raw=True)

    while result.response.status_code == 202:
        time.sleep(1)s
        result = protection_container_refresh_operation_results_client.get(vault_name,resource_group,fabric_name,operation_id,raw=True)

def _get_list_from_paged_response(obj_list):
    return list(obj_list) if isinstance(obj_list, Paged) else obj_list

@pvrk thanks for code, first thanks for all stake holder who doing their best in ths usecase.the same code I recived from @mepand on issue #12878 , but unfortunately it wont work for our case, as vault name, vault resourg group and backupolicy are hardcoded (i mean need to pass as parameters). As explained earlier in this issue and other issue, the requriement is only we will pass hostname and program should get vaultname, vault resource group, and backup policy for that VM , then trigger the backup. As you said earlier, even I tried API method backupget status, backupprojtecteditem api , but its failing...... Is that possible for @sambitratha to prepare a sample with API mix model tested on your labs ? If we are able to get these vaultname,vault resoruce group, backuppolicy from programtically, then we can address two issues in one shot .hmm

@pvrk  here what I tried using getbackupstatus API which you referred to get vault related info. I will be happy if your team can do some research on this API mix model (seems to be simple) than other method I guess...either for trigger the backup or get the status of protected item. Make some sense ?
'''
i am  getting all other key details from system configured azure cli varibales. ..not included that peice of code here
if (VM_NAME == vm_name):
print("rg:", resource_group)
azureregion = vm.location
print(azureregion)
BASE_URL = f"https://management.azure.com/Subscriptions/{Subscription_id}/providers/Microsoft.RecoveryServices/locations/{azureregion}/backupStatus?api-version=2017-07-01"
print(BASE_URL)
headers = {
"Authorization": 'Bearer '+ credential.token["access_token"]
}
response = requests.post(BASE_URL, headers=headers)
print(response.text)
status = json.loads(response.text)
print(status)
'''
I am getting error like, dont know why, even though back up is running
{"ErrorCode":"CloudInvalidInputError","Message":{"Language":"en-US","Value":"The current operation failed due to an internal service error \"Invalid input error\". Please retry the operation after some time.\r\nIf the issue persists, please contact Microsoft support."},"Values":[]}
{'ErrorCode': 'CloudInvalidInputError', 'Message': {'Language': 'en-US', 'Value': 'The current operation failed due to an internal service error "Invalid input error". Please retry the operation after some time.\r\nIf the issue persists, please contact Microsoft support.'}, 'Values': []} ```

Closing this as resolved.


http://learnboost.github.io/kue is down

The page returns a 404 error and is no longer accessible!

yes, learnboost it changed to Automattic, and I should update Readme


Extracting session index from logout request

When handling a logout request, there doesn't seem to be a simple way to extract/obtain the session index from a logout request.
Is there such an API available to obtain this information?
Doing auth.get_session_index() returns None.

Yes, the LogoutRequest class has a get_session_indexes an this is an static method.
The auth.get_session_index() only works to retrieve the SessionIndex value from the SAMLResponse on the Assertion Consumer Service, and is set on the process_response.
On the process_slo the logout request is processed, a logout response is generated and a redirection happens, so I'm not saving data on the $auth object since will be lost when executing the redirection.
Notice that the method has a delete_session_cb, so you will be able to pass a function that can take care of the SessionIndex and the session itself if you need it.

Thanks. I ended up using get_session_indexes in my delete_session_callback:
def delete_session_cb():
         sreq = req['get_data']['SAMLRequest']
         logout_request = OneLogin_Saml2_Utils.decode_base64_and_inflate(sreq, ignore_zip=True)
         indexes = OneLogin_Saml2_Logout_Request.get_session_indexes(logout_request)
         # ....do stuff with indexes...

Wouldn't a better API design be to pass the logout request to the session callback? (And possibly not use static methods, but rather directly retrieve the index from the request).
The large use of static methods for things that are otherwise directly related to an instantiated logout request make this library really difficult to understand/use.

I think pass the logout request object makes totally sense.

I'd love to contribute to the library, however currently not in a position to due to other commitments of my time.
Closing this issue, since I did figure out how to achieve my goal in the end.


google.protobuf.message.DecodeError With Multi-GPU and Mirrored Strategy on 2.2rc3 (and 2.2rc4)

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): python3 -m pip install tensorflow-gpu==2.2rc3 (and 2.2rc4)
TensorFlow version (use command below): v2.2.0-rc2-77-gaad398b5e9 2.2.0-rc3
Python version: 3.6.9
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: CUDA - 10.1, cuDNN 7.6.4
GPU model and memory: eight Tesla V100-SXM2-16GB
ouput of nvidia-smi topo -m

	GPU0	GPU1	GPU2	GPU3	GPU4	GPU5	GPU6	GPU7	mlx5_0	mlx5_1	mlx5_2	CPU Affinity
GPU0	 X 	NV1	NV1	NV2	NV2	SYS	SYS	SYS	PIX	PHB	SYS	0-19,40-59
GPU1	NV1	 X 	NV2	NV1	SYS	NV2	SYS	SYS	PIX	PHB	SYS	0-19,40-59
GPU2	NV1	NV2	 X 	NV2	SYS	SYS	NV1	SYS	PHB	PIX	SYS	0-19,40-59
GPU3	NV2	NV1	NV2	 X 	SYS	SYS	SYS	NV1	PHB	PIX	SYS	0-19,40-59
GPU4	NV2	SYS	SYS	SYS	 X 	NV1	NV1	NV2	SYS	SYS	PIX	20-39,60-79
GPU5	SYS	NV2	SYS	SYS	NV1	 X 	NV2	NV1	SYS	SYS	PIX	20-39,60-79
GPU6	SYS	SYS	NV1	SYS	NV1	NV2	 X 	NV2	SYS	SYS	PHB	20-39,60-79
GPU7	SYS	SYS	SYS	NV1	NV2	NV1	NV2	 X 	SYS	SYS	PHB	20-39,60-79
mlx5_0	PIX	PIX	PHB	PHB	SYS	SYS	SYS	SYS	 X 	PHB	SYS
mlx5_1	PHB	PHB	PIX	PIX	SYS	SYS	SYS	SYS	PHB	 X 	SYS
mlx5_2	SYS	SYS	SYS	SYS	PIX	PIX	PHB	PHB	SYS	SYS	 X

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
When running the following:
strategy = tf.distribute.MirroredStrategy()
run_config = tf.estimator.tpu.RunConfig(
      ...
      train_distribute=strategy
  )
train_estimator = tf.estimator.tpu.TPUEstimator(
        ...
        config=run_config)
train_estimator.train(...)

The following exception occurs, when at least one visible GPU is not connected via NVLink.
INFO:tensorflow:training_loop marked as finished
I0501 17:10:16.417816<PHONE_NUMBER>89920 error_handling.py:115] training_loop marked as finished
WARNING:tensorflow:Reraising captured error
W0501 17:10:16.418111<PHONE_NUMBER>89920 error_handling.py:149] Reraising captured error
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Parsing Inputs...
Traceback (most recent call last):
  File "main.py", line 427, in <module>
    tf.app.run(main)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "main.py", line 283, in main
    FLAGS.train_batch_size))
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py", line 3083, in train
    rendezvous.raise_errors()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/tpu/error_handling.py", line 150, in raise_errors
    six.reraise(typ, value, traceback)
  File "/usr/local/lib/python3.6/dist-packages/six.py", line 703, in reraise
    raise value
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py", line 3078, in train
    saving_listeners=saving_listeners)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/estimator.py", line 349, in train
    loss = self._train_model(input_fn, hooks, saving_listeners)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/estimator.py", line 1180, in _train_model
    return self._train_model_distributed(input_fn, hooks, saving_listeners)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/estimator.py", line 1242, in _train_model_distributed
    self._config._train_distribute, input_fn, hooks, saving_listeners)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/estimator.py", line 1356, in _actual_train_model_distributed
    saving_listeners)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/estimator.py", line 1514, in _train_with_estimator_spec
    log_step_count_steps=log_step_count_steps) as mon_sess:
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/monitored_session.py", line 604, in MonitoredTrainingSession
    stop_grace_period_secs=stop_grace_period_secs)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/monitored_session.py", line 1038, in __init__
    stop_grace_period_secs=stop_grace_period_secs)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/monitored_session.py", line 737, in __init__
    h.begin()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/basic_session_run_hooks.py", line 563, in begin
    self._summary_writer = SummaryWriterCache.get(self._checkpoint_dir)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/summary/writer/writer_cache.py", line 63, in get
    logdir, graph=ops.get_default_graph())
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/summary/writer/writer.py", line 372, in __init__
    super(FileWriter, self).__init__(event_writer, graph, graph_def)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/summary/writer/writer.py", line 84, in __init__
    self.add_graph(graph=graph, graph_def=graph_def)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/summary/writer/writer.py", line 194, in add_graph
    true_graph_def = graph.as_graph_def(add_shapes=True)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py", line 3136, in as_graph_def
    result, _ = self._as_graph_def(from_version, add_shapes)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py", line 3053, in _as_graph_def
    graph.ParseFromString(compat.as_bytes(data))
google.protobuf.message.DecodeError: Error parsing message

However when limiting this to GPUs connected via NVLink (i.e. CUDA_VISIBLE_DEVICES="0,1,2,3" or CUDA_VISIBLE_DEVICES="4,5,6,7") this error does not occur. It does occur even when 2 GPUs are given that aren't NVLink connected (i.e. CUDA_VISIBLE_DEVICES="0,5").
Describe the expected behavior
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
I was unable to reproduce using a minimal example, however the code is a distributed fork of google brain's efficientdet.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

@mattangus Using MirroredStrategy with TPUEstimator may result in unexpected errors. Can you try using TPUStrategy or MirroredStrategy? Thanks!

I am currently using MirroredStrategy.  I don't have access to TPUs so I don't think I can use TPUStrategy.

The skeleton of that version of my code is:
strategy = tf.distribute.MirroredStrategy()
with strategy.scope():
    dataset = input_fn(...)
    ...
    loss, train_op = strategy.experimental_run_v2(model_fn,
                          args=(...))
    train_group = tf.group(train_op.values)

with tf.train.MonitoredTrainingSession(...) as sess:
    for i in range(max_steps):
          sess.run(train_op)
          if sess.should_stop():
               break
          sess.run(train_group)

@mattangus Just to confirm, does this happen without MirroredStrategy? I need a standalone reproducible example to debug this issue. Can you use the skeleton code you pasted above to make a more complete example?
We haven't tested MirroredStrategy without Estimator so it would be preferable to use Estimators in the example above. We are also focusing on Keras which is the high level API of TensorFlow. Would you be able to use Keras instead?

This doesn't happen without MirroredStrategy. Only with MirroredStrategy and a sufficient number of GPUs. The error doesn't happen with a very small example (adding two variables). I have yet to find a sufficiently self contained example where this occurs.

@anj-s Could the graph def be too large? In the function tensorflow/python/framework/ops.py(3053)_as_graph_def() there is a bit in the docstring saying:

Raises:
ValueError: If the graph_def would be too large.

Using pdb.post_mortem I get that len(data) is<PHONE_NUMBER> which is about 4.8 GB.

I'm not sure if this is helpful at all but the result of print(graph) after the error occurs is:
graph
node {
  name: "Const"
  op: "Const"
  device: "/replica:0/task:0/device:CPU:0"
  attr {
    key: "value"
    value {
      tensor {
        dtype: DT_FLOAT
        tensor_shape {
          dim {
            size: 196416
            name: "\010\004"
          }
        }
      }
    }
  }
}

@mattangus It looks like you are using an older Version of Tensorflow. Many bugs have been fixed in the latest version. Could you please execute your code using Latest Version 2.4.1 or 2.5.0 and let us know if the issue still persists? Thanks!

I think this issue can be closed. I no longer have access to the machine that was causing problems so I cannot test if an upgrade would work.


Illegal Instruction 4 with Tensor::sum on OSX

Hello,
I am encountering some brand new problems with Tensor::sum on MacOSX.
extern crate tch;

use tch::{Tensor, Kind};

fn main() {
    let v = vec![1f64,2f64,3f64];

    let t_v = Tensor::of_slice( &v.as_slice() ).to_kind( Kind::Float );

    &t_v.pow(2).print();
    &t_v.sum( Kind::Float ).print();
}

The code above generates this:
   Compiling tchtut v0.1.0 (/Users/vegapit/dev/tchtut)
    Finished release [optimized] target(s) in 0.62s
     Running `target/release/examples/test`
 1
 4
 9
[ CPUFloatType{3} ]
Illegal instruction: 4

I am using the latest libtorch for mac (1.5.0) and the current git repository for tch.

As usual with macos issues, it's a bit hard for me to debug as I don't have access to a mac and this works fine on my linux. There are a couple entries on the pytorch repo about "Illegal instruction: 4", maybe some of them are related (github link)?
If you want to try and investigate this, running it under gdb would probably be a good first step.

Oh dear, This is a pickle. The nightly mac version does not compile with torch-sys v0.1.7 while the stable mac library comes up with runtime errors.
The only thing left is to look into debugging libtorch and compile it from source, but this does not sound like a lot of fun. Thanks for the pointers in any case.


Android Sample Project?

I noticed that we're currently having a raising number of question related to usage of Detekt with type & symbol resolution. Apparently the configuration is not trivial (#2292), especially if you're dealing with an Android project.
I assume a significant amount of our users are actually Android Developers (do we have stats?). I think it would be beneficial to have a detekt/detekt-android-sample project to use as a template repo for developers that are planning to Detekt in an Android project.
I wanted to get your point of views on this.
Context
See #2292
Potentially related to #1169

This is part of #2259. We will provide the code snippet on the homepage.

That's really great.
My point was more about having an actually project and keeping its Detekt version up to date. We keep on having Gradle snippets on the docs that are deprecated (#2303 #2311). Having an actual configured working project (that is not the detekt repo itself) will give higher confidence to the users.
We could potentially have it also as a template repo

We are happy to link such a project in the readme or on the homepage. However, you can expect a developer familiar with Gradle to copy code from the docs to the corresponding file. I think it’s time consuming to have projects for all platforms that you need to maintain and adapt.
Once again, we are happy to link every blog post or repo peovided by the community in our docs. We also help to polish them if necessary.
I’m closing this due to the mentioned reasons.


Proposal to add --prefer-ac3 option to transcode-video

Proposal to add --prefer-ac3 option to transcode-video
No denies that Dolby Digital AC-3 audio is a legacy format still with us from the early 1990s and inefficient compared to the storage requirements of AAC. However, it's possible that even your toaster can decode AC-3. That's just how ubiquitous the format is.
While HandBrake includes an excellent AC-3 encoder, the same cannot be said of AAC unless you're fortunate enough to be on macOS where Core Audio is available.
The transcode-video tool currently defaults to encoding or copying the main audio track in AC-3 format as long as the original track layout is greater than 2.0 channels.
Unfortunately, there's no easy way using transcode-video to prefer AC-3 over AAC format when the original track channel layout is stereo or mono.
Here's how I would describe a new option, --prefer-ac3, designed to change that.
    --prefer-ac3    prefer AC-3 over AAC format when encoding or copying audio
                      even when original track channel layout is stereo or mono
                      (sets audio output "width" for all tracks to `surround`)

Would anyone else (besides me) use this?
Let me know what you think. Soon. Because I'm liable to add the option sometime this week.
Thanks.

Been wanting this for a while. Ship it!
Thanks,
Brent

On Jan 3, 2017, at 2:03 PM, Don Melton<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Proposal to add --prefer-ac3 option to transcode-video
No denies that Dolby Digital AC-3 audio is a legacy format still with us from the early 1990s and inefficient compared to the storage requirements of AAC. However, it's possible that even your toaster can decode AC-3. That's just how ubiquitous the format is.
While HandBrake includes an excellent AC-3 encoder, the same cannot be said of AAC unless you're fortunate enough to be on macOS where Core Audio is available.
The transcode-video tool currently defaults to encoding or copying the main audio track in AC-3 format as long as the original track layout is greater than 2.0 channels.
Unfortunately, there's no easy way using transcode-video to prefer AC-3 over AAC format when the original track channel layout is stereo or mono.
Here's how I would describe a new option, --prefer-ac3, designed to change that.
--prefer-ac3    prefer AC-3 over AAC format when encoding or copying audio
                  even when original track channel layout is stereo or mono
                  (sets audio output "width" for all tracks to `surround`)

Would anyone else (besides me) use this?
Let me know what you think. Soon. Because I'm liable to add the option sometime this week.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/donmelton/video_transcoding/issues/112, or mute the thread https://github.com/notifications/unsubscribe-auth/AEElB-9qgAr6Cq-QATm73F0FKUtmJ0egks5rOqmogaJpZM4LZ-Sj.
https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png https://github.com/donmelton/video_transcoding https://github.com/donmelton/video_transcoding/issues/112

@bmhayward Wow! I had no idea. :)

BTW, here's the patch to implement the feature:
diff --git a/bin/transcode-video b/bin/transcode-video
index d83f509..ed37ea1 100755
--- a/bin/transcode-video
+++ b/bin/transcode-video
@@ -124,6 +124,9 @@ Audio options:
                       with `surround` to allow single surround or stereo track
                       with `stereo` to allow only single stereo track
                       (can be used multiple times)
+    --prefer-ac3    prefer AC-3 over AAC format when encoding or copying audio
+                      even when original track channel layout is stereo or mono
+                      (sets audio output "width" for all tracks to `surround`)
     --ac3-bitrate 384|448|640
                     set AC-3 audio bitrate (default: 640)
     --pass-ac3-bitrate 384|448|640
@@ -239,6 +242,7 @@ HERE
       @audio_name                 = {}
       @audio_language             = []
       @audio_width                = {:main => :double, :other => :stereo}
+      @prefer_ac3                 = false
       @ac3_bitrate                = 640
       @pass_ac3_bitrate           = 640
       @copy_audio                 = []
@@ -533,6 +537,12 @@ HERE
         end
       end

+      opts.on '--prefer-ac3' do
+        @prefer_ac3 = true
+        @audio_width[:main] = :surround
+        @audio_width[:other] = :surround
+      end
+
       opts.on '--ac3-bitrate ARG', Integer do |arg|
         @ac3_bitrate = case arg
         when 384, 448, 640
@@ -1090,7 +1100,7 @@ HERE
             add_stereo.call info, copy
           end
         when :surround
-          if info[:channels] > 2.0
+          if @prefer_ac3 or (info[:channels] > 2.0)
             add_surround.call info, copy
           else
             add_stereo.call info, copy

As you can see, the implementation is trivial. :)

Currently the current defaults work for me. Considering AC 3 is legacy and I'm running on an iMac, I don't see any point myself in switching from the default.
That said, you make good points about other platforms and about compatibility. I think this is a reasonable option. Thumbs up!

@RodBrown1988 Yeah, I didn't think folks would be rushing to use this, especially on macOS. :) Thanks for the feedback!

Yes please.
AC3 is still standard even if it's legacy stuff.

Doubt I'd use it, I compile my own handbrake with fdk on Windows
That said, I see no harm in adding the option :-P

@samhutchins Yeah, compiling in the Fraunhofer FDK AAC library on Windows and Linux is currently the only way to get parity with macOS. Smart move. And thanks for the feedback!

I think this option would have helped me in a recent batch of encodes I did, where it took me a while to figure out the needed set of --copy and --add audio options to preserve the original AC3 track instead of re-encoding it, which I wanted to avoid.
Would definitely use this!

@timsutton Cool. Sounds like you were running into the same problem I was. :)

I would also use this feature. I'd probably not use it often, but it would be useful.

@martinpickett Thanks for the feedback! Likely it will get released tonight or tomorrow.

In general, I prefer to always keep AC3 because of exactly what you stated, which is that it's so universally supported for decoding and there isn't much bitrate savings to be had in re-compressing.

@timsutton Yes, and considering that commentary tracks (which I always add) are usually 192 Kbps AC-3, re-encoding them as 160 Kbps AAC seems pretty silly. :)

Don, I would definitely use this. I used to be Mac only, but I built a server on Windows this past spring and started using --copy-audio all --add-audio all  on some of my AC-3 only files for the same reasons you mention.

@bmhayward @RodBrown1988 @ericcardenas @samhutchins @timsutton @martinpickett OK, this has been released (along with an unrelated but very important bug fix) as version 0.14.0. Just gem update video_transcoding to get it all.
And thanks again for all your feedback and support!


Files disappearing during collaborative sedsions

This has happened a few times now, me and my friend have been working on some software over liveshare and randomly files disappear for no reason. I know it’s not him because we’re screensharing on Discord while doing it. We both keep on loosing hours of work because of it
1060 TI, 24GB RAM, Intel I5
Visual Studio Community 2019
Windows 10
Not sure
C#
Here is a screenshot of a file that just got deleted:

I am currently unable to provide logs, I’ll see if I can manage to do it when it happens again

Sorry for the spelling mistakes, I’m currently on phone so it’s a bit hard to type correctly lol

This has just happened to me too.  Its unbelievably frustrating.  We've also lost a few hours work due to this.  This must be the worst kind of bug, one that just hard deletes files off your hard drive...
I assume its caused by the same thing as #4344

We’ve made improvements in this area since this issue was filed. We believe this may have improved your experience and are closing this issue. If this issue still persists for you, please comment on the issue and let us know. Thank you.


Update of CharacterInstance does not record previous value for quantities

The HAS_STATE relationship that connects a CharacterInstance to a State will contain a value property if the State is a quantity. The current update logic does not record old values of this in the ENTERED_BY relationship when it is changed.
This problem applies to both the newer javascript-based update and the original cypher code. In fact, the javascript approach doesn't even record the new value in the HAS_STATE relationship!
I'm not sure this can be handled by the javascript approach, as it does not fit well into the generic approach to update that approach relies on. This might be an instance where we need to keep the specific cypher code in schema.graphql.
In the cypher code, I think we need to do something like this:
                WITH characterInstance, eb, oldState, **oldStateRelationship**
                    CALL apoc.do.case([
                            oldState IS NULL AND $data.stateID IS NOT NULL,
                            "SET eb.state = 'not present' RETURN eb",
                            oldState IS NOT NULL AND ($data.stateID IS NULL OR oldState.pbotID  <> $data.stateID),
                            "SET eb.state = oldState.pbotID, **eb.quantity = oldStateRelationship.value** RETURN eb"],
                            "RETURN eb",
                            {oldState: oldState, eb: eb}
                        ) YIELD value
				WITH characterInstance
				MATCH
                    (character:Character {pbotID: $data.characterID})<-[:STATE_OF*1..100]-(state:State {pbotID: $data.stateID})

This should work even if the State is not quantitative, since, in Neo4J, assigning null to a property is the same as the property not existing.
There will also have to be some reordering of the deletion of oldStateRelationship.

This is fixed in f421bfaf976825db2f75eaf6c37f6839ea25b949.


Support file extension icons for ThemeIcon.

Hello!
We are building an extension that visualizes some data for workspace files in our view using a class derived from TreeDataProvider. We wonder if there is a way to use file icons set by the current File Icons Theme for our custom tree items. Base icon class has a field icon: ThemeIcon which supports product icons. Wonder if something similar exists for referring to file-type icons?
Related question on StackOverflow: https://stackoverflow.com/questions/68353825/vscode-extension-api-file-type-extension-icons-using-themeicon

this.iconPath = ThemeIcon.File;
this.resourceUri = Uri.parse('_.js');

this.iconPath = ThemeIcon.File;
this.resourceUri = Uri.parse('_.js');

Perfect! Thank you so much.


WIP: BUILD-256: nuke manifest folder (those live under assets in CSO)

after analyzing must gather from https://github.com/openshift/csi-driver-shared-resource-operator/pull/17 and trading notes with @coreydaley, we now have the "collective" realization that these manifest files are irrelevant.
the (currently near) equivalents at https://github.com/openshift/cluster-storage-operator/tree/master/assets/csidriveroperators/shared-resource are the ones
@coreydaley is getting ready to broaden https://github.com/openshift/cluster-storage-operator/pull/229 to make sure  https://github.com/openshift/cluster-storage-operator/tree/master/assets/csidriveroperators/shared-resource has what we need, including the recent additions from @alicerum for metrics an my recent addition for the configuration configmap

/assign @coreydaley
being paranoid, applied WIP label for now cause I want to double check must gather before we merge anything

also, don't want this to take effect until @coreydaley has the copies over to CSO in flight

also, don't want this to take effect until @coreydaley has the copies over to CSO in flight

which @coreydaley  has up with https://github.com/openshift/cluster-storage-operator/pull/231

/lgtm

I think that this one can merge first, if I am missing something I can always get it from the previous commit.

so yeah tests passed and yeah I see various objects in the must gather
that said, this gave me pause ... so I see this service monitor in the must gather:
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  annotations:
    include.release.openshift.io/ibm-cloud-managed: "true"
    include.release.openshift.io/self-managed-high-availability: "true"
    include.release.openshift.io/single-node-developer: "true"
  creationTimestamp: "2021-11-01T19:27:33Z"
  generation: 1
  name: shared-resource-csi-driver-node
  namespace: openshift-cluster-csi-drivers
  resourceVersion: "6337"
  uid: dd96d1c6-dd5e-449a-a8bc-4f5abf1bfe40
spec:
  endpoints:
  - port: metrics
  selector:
    matchLabels:
      app: shared-resource-csi-driver-node

But that is one of the additions in @coreydaley 's https://github.com/openshift/cluster-storage-operator/pull/231/files#diff-ef4bf6daa1127f619d33f9cc575ff2d6df6605febb8c0505455a7e5af3b663e8
So I'm wondering, who is creating it?
Then I remembered that both the operator and driver have metrics endpoints, and I found https://github.com/openshift/csi-driver-shared-resource-operator/blob/master/assets/servicemonitor.yaml
I do not think both metrics endpoints can share the same servicemonitor.
So @coreydaley between you and @alicerum tomorrow while I'm out, you all will need to make sure the prometheus objects for both the operator and driver are uniquely named.

putting the /hold
we'll remove the WIP
@coreydaley I'm good with you removing the hold on this once the operator vs driver monitoring objects get sorted out

/hold

/hold cancel


Add Navigation Bar

Description: Create a navigation bar to allow users to jump between different pages or sections.
Acceptance Criteria: The navigation bar includes at least three links, and all links redirect correctly.

added


Can't verify signatures for the downloads

ISSUE TYPE

Documentation Report

COMPONENT NAME
pre-installation
SUMMARY
I tried to verify the downloaded file from here but the public key mentioned in the Wiki seems not to match and I couldn't find it on the usual public key servers.
STEPS TO REPRODUCE
Download the binary and the matching key. Try to verify the file but the key isn't found and doesn't seem to match the one provided in the documentation.
gpg --import strongbox.pgp
wget https://dl.bintray.com/strongbox/strongbox-generic/:strongbox-cli-0.2.7.tar.gz
wget https://dl.bintray.com/strongbox/strongbox-generic/:strongbox-cli-0.2.7.tar.gz.asc
gpg strongbox-cli-0.2.7.tar.gz.asc

In the above, strongbox.pgp is this content:
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQENBFnA4+ABCADQJwX+1TOdwLt3Aw4kk9BwAzdYVoeZXOU1sb/wxQ+a0VcG9JPj
gBaqdxv0xfPNChFaeyYV1lkv61R9PKO0tDfwoijQRQS1+IhhJKi6nwYvLVKOQ2RS
7wOjj/T06gYvOYHALdyEYqnvzt/8hewNv7+yQbmgel8wUiOVQY3zdZ85HGY3ui9z
p6pS10fQWqrba8aSa1Px31D2hxzRpNEH5t2dh87uQ88XDFyGvBRoGvk+ZcqNtjBT
Eyn0bVeoxxX7NGjvOBcOXdlYLMtxVypT9Q+RBDwcY2clWj18KDoe5n1pSTzt1OVd
wEs0cqtLvaC5iNwnZ41L4a3SsWLPOBPNgJkJABEBAAG0L1N0cm9uZ2JveCBTaWdu
aW5nIEtleSA8c3Ryb25nYm94QHNjaGlic3RlZC5jb20+iQE3BBMBCgAhBQJZwOPg
AhsDBQsJCAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJEBl0S+d+lmCsAQgH/112flrb
ypyYoEMfclFmTPfP7oZGTRb9zWHOdgnVvJcTJtqUqhjvBUD17YbHOQYF/jaqRdvf
uOIlH6+srd0Ku9GWRqnkOlg5zaWtnM/MGaSOR1sOunVLbiM5fD3+JikGpui3BAUb
pwEDpzLjCI0pTEukashG7Pyk0qTyc1vzsTazaCm02XDXRfmoWAUEI4rQzWYjubr1
J6WWNnIB4n1TzPhqSMmFYP2yfp6jejUKT62KHEizQiPO4VAqj6yoXubQttwVd9MS
YnvPyxvpO4WMvZy0XkI56f6S8nXjhuJ40hHe4HUJ5qJJFEOZ0fP9uGQCvzAVxMIh
/V8nNRCAjiArdzi5AQ0EWcDj4AEIAMeLWII/hMHxkbGn+z+WZbzUhLQwjTIuHC9u
eH/e/12pYQTFtWI5mzWV09f8oRSdyA7cFQfpPOjlBZ9WEG97dAMxl5azuEfTH43l
FknrVjXZDDDjiiWE9Ce3cKeS63CEtKpXUU11+1tNrTji6VbGmaGbEVo6BF3i17QE
Z5e1FOqYes0kNjJIEJ/GBhUq491LXnjDT32/DLDvs1NVraunSCdagevRZyWj17yo
wsQ0gmRU97bNx4lnTWHoVrgQTa03L2gzTxw9TKDqkW2aG0UL9mPY7yu8kvoNe0AY
PZ/ei78vXSW0MEtmYUEJxC8fkxMpwSG2WVer8p2soud3KkTynmEAEQEAAYkBHwQY
AQoACQUCWcDj4AIbDAAKCRAZdEvnfpZgrIpOB/47aeLKgBGjUu73wWHikjRXdIVq
YY+DqKfEu6DOKSY5mKwAQFc6EqhX5/dBWZvSDFC9PJ1Qry+BC5IeK+43DjAeO6Xw
Yej2wsTKbbSPYHNcVLdbGwwtjdOdtkkJhkeJNAEXZ0ZnEOQO5uuwHDMMC1oVsyDH
V+9tLEyVwgn7Fvv2I7VftGDhtwtxnmepgsCbPgVlN4rh7fCJ66KTPhbsmsbRcFbB
yTfMQ9zciWYMMekbGMTpT76Od8kHu4xn+O3a9CGJ1Nh39kHqfiU1piyOszYOdgQn
6DvyD9ArPKKivN35J6+78y8QpjJyjrNVOGTp91jpBMpKH8o5UMa3eqJtJd+O
=s/3Z
-----END PGP PUBLIC KEY BLOCK-----

from the Wiki. It is shown in gpg tool as:
pub   rsa2048 2017-09-19 [SC]
      3C35E931BC569D90310676BB19744BE77E9660AC
uid           [ unknown] Strongbox Signing Key<EMAIL_ADDRESS>sub   rsa2048 2017-09-19 [E]

EXPECTED RESULTS
Verified file. Or at least that you can import 4EBC11A759502FAE from a public key server and then verify it, e.g. gpg --recv-keys 4EBC11A759502FAE.
ACTUAL RESULTS
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
gpg: assuming signed data in 'strongbox-cli-0.2.7.tar.gz'
gpg: Signature made Fri 24 Nov 2017 16:42:23 CET
gpg:                using RSA key 4EBC11A759502FAE
gpg: Can't check signature: No public key

Either I am making some really newbie mistake with the GPG tool or 4EBC11A759502FAE and 3C35E931BC569D90310676BB19744BE77E9660AC are really not the same key and I got the wrong key from the Wiki?

Thank you for you interest in Strongbox, and apologies for the inconvenience.
Unfortunately we are currently using a different key for the tarballs than for the RPMs and Debs. The RPMs and Debs are signed on Travis before they are uploaded to Bintray -- with a key that is only accessible to Travis. We have not gotten around to sign the tarball on Travis, and opted to just let Bintray sign those for us. Bintray uses a different key which is mentioned in the Deb installation guide: https://bintray.com/user/downloadSubjectPublicKey?username=strongbox. I agree that both the correct approach and intuitive behavior would be to sign the tarball on Travis, using the key you tried to use.
The explanation for why we have two keys (which is not related to the tarballs) is that Debian by default checks the signature of the repository metadata rather than the Deb itself. Given that Bintray manages the repository metadata for us, it also needs to sign the metadata. We were not aware of this before setting things up, and had thought that we could do everything with one key on Travis. While Debian only verifies the repository metadata, it is still possible to verify the Deb with the signature from Travis, but this has not been documented. Changing the model to trust Bintray completely would simplify things, but
I don't think we'll do that.
Suggested action items

Improve documentation for how signing is done and should be verified
Sign the tarball using the Strongbox signing key on Travis before uploading to Bintray
Look into if the Bintray GPG key can be a subkey of the one in Travis to avoid having two separate keys

IMO, the most straightforward option here would be to disable signing tarballs by Bintray and use Travis to sign the tarball. Once signed, we will upload both the tarball and signed file to Bintray.

@xen0l Agreed. The two other action items was related to cleaning up signing in general.


Set interface name, like ping -I option(#111 #204)

Hello,
I attempted to implement a useful feature - sending data packets from a specific network interface, similar to what the "ping" command's "-I" option does in Linux.
Hoping I did it correctly. Test successfully passed on Linux OS.
Thanks!

issues:
#111
#204

This repo is deprecated


Error in pisa.CreatePDF

Everything worked for months, but all of a sudden we are getting error while creating pdf in django no recent changes made for months. Django site hosted in Microsoft azure, linux
my code sample:

getting this error.
2023-01-21T08:44:01.789656836Z Internal Server Error: /bill/4c9410cb6fef4f6683642eee5815b00c
2023-01-21T08:44:01.789737837Z Traceback (most recent call last):
2023-01-21T08:44:01.789745037Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
2023-01-21T08:44:01.789749737Z     response = get_response(request)
2023-01-21T08:44:01.789753437Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
2023-01-21T08:44:01.789757437Z     response = wrapped_callback(request, *callback_args, **callback_kwargs)
2023-01-21T08:44:01.789761037Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
2023-01-21T08:44:01.789764837Z     return self.dispatch(request, *args, **kwargs)
2023-01-21T08:44:01.789768537Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/django/contrib/auth/mixins.py", line 71, in dispatch
2023-01-21T08:44:01.789772237Z     return super().dispatch(request, *args, **kwargs)
2023-01-21T08:44:01.789780937Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/django/views/generic/base.py", line 98, in dispatch
2023-01-21T08:44:01.789784737Z     return handler(request, *args, **kwargs)
2023-01-21T08:44:01.789788138Z   File "/tmp/8daecb86395a945/service/views.py", line 275, in get
2023-01-21T08:44:01.789791638Z     pisa_status = pisa.CreatePDF(html, dest=response)
2023-01-21T08:44:01.789795038Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/document.py", line 104, in pisaDocument
2023-01-21T08:44:01.789798838Z     context = pisaStory(src, path, link_callback, debug, default_css, xhtml,
2023-01-21T08:44:01.789802438Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/document.py", line 67, in pisaStory
2023-01-21T08:44:01.789806138Z     pisaParser(src, context, default_css, xhtml, encoding, xml_output)
2023-01-21T08:44:01.789809738Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/parser.py", line 761, in pisaParser
2023-01-21T08:44:01.789813338Z     pisaLoop(document, context)
2023-01-21T08:44:01.789816738Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/parser.py", line 699, in pisaLoop
2023-01-21T08:44:01.789820338Z     pisaLoop(node, context, path, **kw)
2023-01-21T08:44:01.789823638Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/parser.py", line 643, in pisaLoop
2023-01-21T08:44:01.789827438Z     pisaLoop(nnode, context, path, **kw)
2023-01-21T08:44:01.789831038Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/parser.py", line 643, in pisaLoop
2023-01-21T08:44:01.789841638Z     pisaLoop(nnode, context, path, **kw)
2023-01-21T08:44:01.789846738Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/parser.py", line 643, in pisaLoop
2023-01-21T08:44:01.789850238Z     pisaLoop(nnode, context, path, **kw)
2023-01-21T08:44:01.789853638Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/parser.py", line 513, in pisaLoop
2023-01-21T08:44:01.789857139Z     attr = pisaGetAttributes(context, node.tagName, node.attributes)
2023-01-21T08:44:01.789860539Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/parser.py", line 125, in pisaGetAttributes
2023-01-21T08:44:01.789864339Z     nv = c.getFile(nv)
2023-01-21T08:44:01.789867839Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/context.py", line 795, in getFile
2023-01-21T08:44:01.789871439Z     return getFile(name, relative or self.pathDirectory)
2023-01-21T08:44:01.789874939Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/util.py", line 762, in getFile
2023-01-21T08:44:01.789878439Z     file = pisaFileObject(*a, **kw)
2023-01-21T08:44:01.789881839Z   File "/tmp/8daecb86395a945/antenv/lib/python3.8/site-packages/xhtml2pdf/util.py", line 665, in __init__
2023-01-21T08:44:01.789885339Z     conn.request("GET", path)
2023-01-21T08:44:01.789888839Z   File "/opt/python/3.8.12/lib/python3.8/http/client.py", line 1256, in request
2023-01-21T08:44:01.789892939Z     self._send_request(method, url, body, headers, encode_chunked)
2023-01-21T08:44:01.789896739Z   File "/opt/python/3.8.12/lib/python3.8/http/client.py", line 1302, in _send_request
2023-01-21T08:44:01.789900439Z     self.endheaders(body, encode_chunked=encode_chunked)
2023-01-21T08:44:01.789904039Z   File "/opt/python/3.8.12/lib/python3.8/http/client.py", line 1251, in endheaders
2023-01-21T08:44:01.789907639Z     self._send_output(message_body, encode_chunked=encode_chunked)
2023-01-21T08:44:01.789911039Z   File "/opt/python/3.8.12/lib/python3.8/http/client.py", line 1011, in _send_output
2023-01-21T08:44:01.789914639Z     self.send(msg)
2023-01-21T08:44:01.789918039Z   File "/opt/python/3.8.12/lib/python3.8/http/client.py", line 951, in send
2023-01-21T08:44:01.789921739Z     self.connect()
2023-01-21T08:44:01.789925140Z   File "/opt/python/3.8.12/lib/python3.8/http/client.py", line 922, in connect
2023-01-21T08:44:01.789928840Z     self.sock = self._create_connection(
2023-01-21T08:44:01.789932440Z   File "/opt/python/3.8.12/lib/python3.8/socket.py", line 808, in create_connection
2023-01-21T08:44:01.789935940Z     raise err
2023-01-21T08:44:01.789939340Z   File "/opt/python/3.8.12/lib/python3.8/socket.py", line 796, in create_connection
2023-01-21T08:44:01.789942840Z     sock.connect(sa)
2023-01-21T08:44:01.789946240Z TimeoutError: [Errno 110] Connection timed out

Looks like network issues.
I think all network files are downloaded an catch for network error, but need more information to look for the bug.


Parallel temporal rdo update

[ ] compare with hawktracer
[ ] benchmark it
[ ] consider optimizing it to use something better than par_bridge()

Coverage decreased (-0.5%) to 83.016% when pulling 4c8afd2c45a5550c8d9b5471f90ebba7515a7347 on rust-av:parallel-temporal-rdo-update into a89f7c0432dfaf9b03ecb07fee5935095bd1ef65 on xiph:master.


Low performance when using EventTimeInputBuilder

I'm currently using flink-spector to read a "large" (about 10.000 values) dataset from a CSV file and use the EventTimeInputBuilder to create a data stream from it. However, the performance drops significantly the larger the input gets. My application needs about 30 minutes to process those data (even though the algorithm basically just calculates a moving average). Cutting down the input to 5.000 values drops the runtime to 5 minutes.
I used a profiler to dig into the problem and it seems that InputUtil.produceWatermarks is quite time consuming.
I'm using the InputBuilder now and assign timestamps and watermarks myself which drops the runtime to a couple of seconds. Just wanted to report this.

This is interesting. I will investigate this.


Is there a way to configure and disable this feature: "All selections control (Checkbox, Radio, RadioButton and Switch) can now be focused and changed by keyboard"

Overview of the problem
Buefy version: v0.5.0
Vuejs version: v2.4.2
OS/Browser: Chrome 60.0.3112.101, Mozilla 55.0.2
Description
Is there a way to configure and disable this feature: "All selections control (Checkbox, Radio, RadioButton and Switch) can now be focused and changed by keyboard" ? Specifically, the style that is being added to the focused control.
For example for: Checkbox or Switch controls.
This feature was introduced in version v0.4.0. The thing it adds some styling for the focused control to make it stand out (shadow, glow kind of thing) and I don't want that. Preferably, I would like to have some control over that: enable / disable it.
This doesn't happen for Bulma components.
Expected behavior
I would like to be possible to control the focus styling for controls (at least: disable / enabled it).
Actual behavior
Right now, is not possible to control the focus styling for controls (or at least, I didn't find a way).

You can override the styling
/* Using SCSS */
.checkbox {
    &:focus {
        input[type=checkbox] + .check {
            box-shadow: none;
        }
        input[type=checkbox]:checked + .check {
            box-shadow: none;
        }
    }
}

/* Using CSS */
.checkbox:focus input[type=checkbox] + .check {
  box-shadow: none;
}
.checkbox:focus input[type=checkbox]:checked + .check {
  box-shadow: none;
}

thank you for the solution @iwan-wijaya


Add GitPromptValues global to allow error status display in prompt

It is useful to display the error status of the last command.  But in
order to do that we must preserve the value of $? and make the
original $LASTEXITCODE available to string expansion in the prompt.

Belated 👍
This is great!

Thanks!


Add XML-tag to top of metadata, and set content-type to application/xml

The XML-tag is now missing from the metadata. This is required since this year.
Also, when opening the metadata. The browser interprets it as an HTML document, rendering it badly. Can we set the content type to application/xml (or whatever is needed) so it shows properly in the browser?

Also, when opening the metadata. The browser interprets it as an HTML document, rendering it badly. Can we set the content type to application/xml (or whatever is needed) so it shows properly in the browser?

I suspect it's due to the missing <?xml ... ?> tag then, as we set the proper XML content type: https://github.com/maykinmedia/django-digid-eherkenning/blob/bad7a697c458af83766e3728e225dadd6892198b/digid_eherkenning/views/metadata.py#L46
Unless browsers require application/xml, but iirc text/xml is the correct one.


Feat/pupil 681/style subject listing page

Description
When I view the SubjectListingPage,
I want to see all the oak styles and components
So that the UX is high quality.
How to test

Go to https://deploy-preview-2419--oak-web-application.netlify.thenational.academy/pupils/beta/years/year-3/subjects
Go to https://deploy-preview-2419--oak-web-application.netlify.thenational.academy/pupils/beta/years/year-10/subjects

Screenshots
How it used to look (delete if n/a):

How it should now look:

ACs

[x]  page matches designs
[x]  screen readable
[x]  keyboard navigable
[x] displays correct subjects (legacy only)
[x] mobile , tablet, desktop

cheers @kimon-satan I think the only thing to update is the inner padding (top/ bottom) of the container to inner-padding-xl7 for desktop/ tablet and inner-padding-xl5 for mobile:

cheers @kimon-satan I think the only thing to update is the inner padding (top/ bottom) of the container to inner-padding-xl7 for desktop/ tablet and inner-padding-xl5 for mobile:

cheers @kimon-satan I think the only thing to update is the inner padding (top/ bottom) of the container to inner-padding-xl7 for desktop/ tablet and inner-padding-xl5 for mobile:

can we do these in separate ticket. We're still behind on meeting our sprint goals.

https://www.notion.so/oaknationalacademy/OWA-Subject-Listing-Page-container-padding-9de816a83cd84e918c29e3c025f4e2ec?pvs=4

:tada: This PR is included in version 1.434.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


⚠ Processors has degraded performance

In c19ee63, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 47 ms

Resolved: Processors performance has improved in 9df6bcb.


Wrape codemirror around a box and set a default height

By default, codemirror doesn't have a maximum height. That can be ok for tiny JSON. It's less ok when you have thousand line (like in the migration page).
Also Codemirror doesn't seem to be well constraint by the width of the container like Stack. So I wrapped it around a Box and allow user to give a pre-determine width if necessary
Signed-off-by: Augustin Husson<EMAIL_ADDRESS>

When the json editor in the panel gets large, you can end up with double-scrollbars, which can be a confusing or awkward user experience. I couldn't reproduce this with what's on main, so guessing something about the box wrapper. I don't have time to poke at this to see if there's an easy adjustment right now, but will try to circle back later in the day when I free from meetings. Shan might know offhand since he's got more experience with codemirror.

Not sure if I'm fully following the issue (I also can't seem to use Migrate on my local dev?). Getting a 500

Can you record a Loom or add some screenshots to clarify? There may be a better way to do this.

Ah yes so sorry about that, I should have recorded an example of the issue.
So before this PR here what we have:

With this PR, it becomes like that:

Regarding the 500 error, I rebased the PR and it fixed the issue. You might need to rebuild the backend.
Is it clearer like that ?

Yep thanks! Made a comment on the line. If anything, you can just wrap the JSONEditor with a Box in the "Migrate" section.

should be good for another review now :)


monitor: add monitor service in docker-compose

We plan to add the following monitoring service on siyuan mirror.

cAdvisor for monitoring network flow of each container.
node-exporter for monitoring host status.

Reference: https://github.com/stefanprodan/dockprom/blob/master/docker-compose.yml for node_exporter
Reference: https://prometheus.io/docs/guides/cadvisor/#docker-compose-configuration
  cadvisor:
    image: gcr.io/google-containers/cadvisor:latest
    container_name: cadvisor
    ports:
    - 8080:8080
    volumes:
    - /:/rootfs:ro
    - /var/run:/var/run:rw
    - /sys:/sys:ro
    - /var/lib/docker/:/var/lib/docker:ro

After that, we reverse-proxy these metrics in caddy with ip address limit. Ziqi and me will work on this config later.

[x] cAdvisor for monitoring network flow of each container.
[x] node-exporter for monitoring host status.


Changes for Kafka 3.8.0 - DO NOT MERGE - references Apache Kafka staging

Type of change
Select the type of your PR

Enhancement / new feature

Description
Testing Kroxylicious against Apache Kafka 3.8.0.

Changes to reflect changes in the MemoryRecordsBuilder API (Compression)
Changes to MultiTenantFilter to provide basic DescribeTopicParitions support.

Note: The POM references the Apache Kafka staging repo.  Do not merge.
Additional Context
Why are you making this pull request?
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Write tests
[ ] Make sure all tests pass
[ ] Review performance test results. Ensure that any degradations to performance numbers are understood and justified.
[ ] Make sure all Sonarcloud warnings are addressed or are justifiably ignored.
[ ] Update documentation
[ ] Reference relevant issue(s) and close them after merging
[ ] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

The last run was against RC3.


What command line?

File: get-started/index.md
The video mentions a command line. Nowhere is it mentioned what that command line is. It is just there all of a sudden. Please help the complete noobs a little here.
Another thing is the docker file. Where? What? How?

So I decided to thoroughly read the documentation instead of just glancing over it. Like carefully, word for word. It describes the docker file and what is in it, the syntax and that it basically is a text file, but no mention of where - except it in passing in Understand build context
This information should be consolidated.

It turns out that the "Copy and paste this command into your terminal and then come back" from the Docker Desktop window actually means a PowerShell console (yes, I use Windows). What it actually means is "Copy and paste this command into your PowerShell, close this window and reopen".

If port 80 is in use already (by a local IIS or otherwise), the getting-started container will not run. Using '81:80' makes it work when navigating to http://localhost:81/ - but the documentation was not helpful at all in this regard.
It is rather funny that I am met with this after I got the container running by wild guesses:

-p 80:80 - map port 80 of the host to port 80 in the container

Along with answers to all my other questions.

I could have spent this past hour and a half a whole lot better with a few friendly nudges instead of a whole lot of "everyone knows this".
Well, I am sorry if I am harsh like that, but the frustration was massive.

Thanks for sharing this issue. As the issue is old, the context may have changed. The documents have been updated heavily in the past year.
The command line is now explained at the start of the tutorial at in https://docs.docker.com/get-started/#start-the-tutorial
The reference information about port mapping is also now at the start of the tutorial.
A description of the Dockerfile is now at the second step of the tutorial at https://docs.docker.com/get-started/02_our_app/#build-the-apps-container-image


Ability to process data from clipboard

Maybe it is already supported, but I could not find it?
As an api user
I want to be able to translate a text from clipboard that represents a chunk of text copied / cut from MS Word document into HTML
So that I can then use that HTML on a web page
Actually, it would be perfect if I could pass just a string with OXML (so that I care about reading clipboard myself), I just described the real-life use case we need to support.

This is a great idea.  I'll take a look.  I am on vacation, so I am online only a limited amount every day.  But I may have a chance to look a this.


a major refactor of example/image-classification

this is a major refactor of image-classification. changes include:

moved common codes such as argument, data iterator and training into common/
moved symbol definitions into symbol/
added scripts to prepare data and download pretrained models
added score.py and fine-tune.py
updated README
added resnet from https://github.com/tornadomeet/ResNet

all *.py in the root fold are tested manually.
some TODOs

refactor the R part
instructions to enable mirror
double check benchmark.py on multiple machines
a test/ fold with scripts to test this example

We need some test for examples. Do you want to merge this first or add testing together with this pr?

LGTM

I will update the R part.
BTW, is it possible to move the R testing to jenkins?

Its on travis because @tqchen said osx-R is more "strict" than linux-R and
jenkins doesn't have osx. If you think its not an issue we can move it to
jenkins
On Fri, Dec 9, 2016 at 8:30 AM, Qiang Kou (KK<EMAIL_ADDRESS>wrote:

I will update the R part.
BTW, is it possible to move the R testing to jenkins?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/mxnet/pull/3999#issuecomment-266057192, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAiudBPpmTmr8bm8fPWP-7vZ5x8KheHXks5rGYISgaJpZM4K9D9I
.

We can have both. The reason I want to move it to jenkins is that R test takes quite a long time.
To meet the time limit on Travis-CI, some examples and test are disabled.


sourceComments path question

I am using node-sass with sourceComments: true , my questions is why the generated comments contains the full path to the source file:
/* line 3, C:/Users/icherkezov/_lab/node-sass-2/MyPolicy/Content/sass/styles.scss */
instead of:
/* line 3, MyPolicy/Content/sass/styles.scss */

With sourceComments option, libsass emits diagnostics information for each selector it encounters.
It is supposed to be a raw debug info, hence the paths  are not resolved.
On a more serious note, this info emerges from core abstract syntax tree, where resolving canonical file paths will slow down the performance of the overall compilation.
For the browser dev tools aid, please use sourceMap option instead, as source-map carries relative paths.

Thanks for the replay


ci: Add test setup for Ceph's Rados Gateway via S3 service

Let's add a setup for ceph rados gateway's s3 support.
We can use<EMAIL_ADDRESS>as an example

Interested!
So the  we need to add a ceph_rados folder and a action.yml file in https://github.com/apache/opendal/tree/main/.github/services/s3 ?
What about these configrations?

So the we need to add a ceph_rados folder and a action.yml file in

Yes. It's better to refer to minio which is more similar. We will need to start a ceph cluster in CI and test against it.


[BEAM-6181] Reporting user counters via MonitoringInfos in Portable Dataflow Runner.

Plumb user metrics through Portable Dataflow Runner.
Some constants are defined in code that later should be later changed to values defined in this pr.
Code only supports User counters. Other types of counters will be added in another PRs.
Added component level tests. Unittests require more refactoring that will hide the essense of this change.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

Thank you Scott.

Pre-commits before my fixup are green:


Update failed because of 'Network Interface in Use'

After I faced the error that cook book version problem, I upgrade cfncluster using pip (v 1.6.1 now).

[2018-11-06T14:34:25+00:00] ERROR: Cookbook 'seven_zip' version '3.1.0' depends on chef version [">= 13.0"], but the running chef version is 12.19.36

Then I was trying to update my cfncluster, but failed.
How can I disable the network interface to update my cloud formation?

  | 10:35:13 UTC+0900 | UPDATE_FAILED | AWS::IAM::Policy | CfnClusterPolicies | Resource update cancelled
  | 10:35:13 UTC+0900 | UPDATE_FAILED | AWS::EC2::Instance | MasterServer | Interface: [eni-******] in use. (Service: AmazonEC2; Status Code: 400; Error Code: InvalidNetworkInterface.InUse; Request ID: 93db933d-d4d3-4d67-9f55-1ae8865761d3)

Thank you, @enrico-usai
I downgraded my cfncluster to 1.3.2 (which was my first cfncluster a year ago).
But in my compute node, I faced another issue below.
Jun 12 05:13:35 ip-172-30-0-201 cloud-init: Cloud-init v. 0.7.5 running 'init-local' at Mon, 12 Jun 2017 05:13:35 +0000. Up 17.16 seconds.
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: Cloud-init v. 0.7.5 running 'init' at Mon, 12 Jun 2017 05:13:36 +0000. Up 17.78 seconds.
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: ++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: +--------+------+-------------+---------------+-------------------+
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: | Device |  Up  |   Address   |      Mask     |     Hw-Address    |
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: +--------+------+-------------+---------------+-------------------+
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: |  lo:   | True |  <IP_ADDRESS>  |   <IP_ADDRESS>   |         .         |
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: | eth0:  | True | <IP_ADDRESS> | <IP_ADDRESS> | 12:1f:ed:7a:d8:b8 |
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: +--------+------+-------------+---------------+-------------------+
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: +++++++++++++++++++++++++++++++Route info+++++++++++++++++++++++++++++++
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: +-------+-------------+------------+---------------+-----------+-------+
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: | Route | Destination |  Gateway   |    Genmask    | Interface | Flags |
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: +-------+-------------+------------+---------------+-----------+-------+
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: |   0   |   <IP_ADDRESS>   | <IP_ADDRESS> |    <IP_ADDRESS>    |    eth0   |   UG  |
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: |   1   |  <IP_ADDRESS> |  <IP_ADDRESS>   | <IP_ADDRESS> |    eth0   |   U   |
Jun 12 05:13:36 ip-172-30-0-201 cloud-init: ci-info: +-------+-------------+------------+---------------+-----------+-------+
Jun 12 05:13:38 ip-172-30-0-201 cloud-init: Cloud-init v. 0.7.5 running 'modules:config' at Mon, 12 Jun 2017 05:13:38 +0000. Up 20.44 seconds.
Jun 12 05:13:39 ip-172-30-0-201 cloud-init: Cloud-init v. 0.7.5 running 'modules:final' at Mon, 12 Jun 2017 05:13:39 +0000. Up 20.79 seconds.
Jun 12 05:13:39 ip-172-30-0-201 cloud-init: Cloud-init v. 0.7.5 finished at Mon, 12 Jun 2017 05:13:39 +0000. Datasource DataSourceEc2.  Up 20.93 seconds
Nov 19 01:32:09 ip-172-30-0-13 cloud-init: Cloud-init v. 0.7.5 running 'init-local' at Mon, 19 Nov 2018 01:32:08 +0000. Up 35.66 seconds.
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: Cloud-init v. 0.7.5 running 'init' at Mon, 19 Nov 2018 01:32:13 +0000. Up 40.23 seconds.
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: ++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: +--------+------+--------------+---------------+-------------------+
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: | Device |  Up  |   Address    |      Mask     |     Hw-Address    |
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: +--------+------+--------------+---------------+-------------------+
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: |  lo:   | True |  <IP_ADDRESS>   |   <IP_ADDRESS>   |         .         |
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: | eth0:  | True | <IP_ADDRESS> | <IP_ADDRESS> | 06:fb:6a:6b:04:0e |
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: +--------+------+--------------+---------------+-------------------+
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: +++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++++
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: +-------+-------------+-------------+---------------+-----------+-------+
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: | Route | Destination |   Gateway   |    Genmask    | Interface | Flags |
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: +-------+-------------+-------------+---------------+-----------+-------+
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: |   0   |   <IP_ADDRESS>   | <IP_ADDRESS> |    <IP_ADDRESS>    |    eth0   |   UG  |
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: |   1   | <IP_ADDRESS> |   <IP_ADDRESS>   | <IP_ADDRESS> |    eth0   |   U   |
Nov 19 01:32:13 ip-172-30-0-13 cloud-init: ci-info: +-------+-------------+-------------+---------------+-----------+-------+
Nov 19 01:32:14 ip-172-30-0-13 cloud-init: 2018-11-19 01:32:14,484 - util.py[WARNING]: Failed loading yaml blob
Nov 19 01:32:14 ip-172-30-0-13 cloud-init: 2018-11-19 01:32:14,500 - util.py[WARNING]: Failed loading yaml blob
Nov 19 01:32:14 ip-172-30-0-13 cloud-init: 2018-11-19 01:32:14,500 - util.py[WARNING]: Failed at merging in cloud config part from part-001
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: Cloud-init v. 0.7.5 running 'modules:config' at Mon, 19 Nov 2018 01:32:16 +0000. Up 43.01 seconds.
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: Cloud-init v. 0.7.5 running 'modules:final' at Mon, 19 Nov 2018 01:32:16 +0000. Up 43.27 seconds.
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + proxy=NONE
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + custom_cookbook=NONE
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + '[' NONE '!=' NONE ']'
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + proxy_args=
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + touch /tmp/proxy.sh
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + '[' NONE '!=' NONE ']'
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + '[' us-east-2 == us-east-1 ']'
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + s3_prefix=s3-us-east-2
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + cookbook_url=https://s3-us-east-2.amazonaws.com/cfncluster-resources-us-east-2/cookbooks/cfncluster-cookbook-1.3.2.tgz
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + export cfncluster_version=cfncluster-1.3.2
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + cfncluster_version=cfncluster-1.3.2
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + export cookbook_version=cfncluster-cookbook-1.3.2
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + cookbook_version=cfncluster-cookbook-1.3.2
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + export chef_version=12.19.36
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + chef_version=12.19.36
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + export ridley_version=5.1.0
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + ridley_version=5.1.0
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + export berkshelf_version=5.6.4
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + berkshelf_version=5.6.4
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + '[' -f /opt/cfncluster/.bootstrapped ']'
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: ++ cat /opt/cfncluster/.bootstrapped
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + installed_version=cfncluster-1.3.2
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + '[' cfncluster-1.3.2 '!=' cfncluster-1.3.2 ']'
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + mkdir /tmp/cookbooks
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + cd /tmp/cookbooks
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: ++ cat /etc/chef/cfncluster-cookbook.tgz.date
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: cat: /etc/chef/cfncluster-cookbook.tgz.date: No such file or directory
Nov 19 01:32:16 ip-172-30-0-13 cloud-init: + curl -v -L -o /etc/chef/cfncluster-cookbook.tgz -z '' https://s3-us-east-2.amazonaws.com/cfncluster-resources-us-east-2/cookbooks/cfncluster-cookbook-1.3.2.tgz
Nov 19 01:32:17 ip-172-30-0-13 cloud-init: Warning: Illegal date format for -z, --timecond (and not a file name).
Nov 19 01:32:17 ip-172-30-0-13 cloud-init: Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
Nov 19 01:32:17 ip-172-30-0-13 cloud-init: % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Nov 19 01:32:17 ip-172-30-0-13 cloud-init: Dload  Upload   Total   Spent    Left  Speed
Nov 19 01:32:17 ip-172-30-0-13 cloud-init: 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to s3-us-east-2.amazonaws.com port 443 (#0)
Nov 19 01:32:17 ip-172-30-0-13 cloud-init: *   Trying <IP_ADDRESS>...
 If --norollback was specified, check /var/log/cfn-init.log and /var/log/cloud-init-output.log.'
Nov 19 01:33:00 ip-172-30-0-13 cloud-init: + cfn-signal --exit-code=1 '--reason=Failed to run cfn-init. If --norollback was specified, check /var/log/cfn-init.log and /var/log/cloud-init-output.log.' --stack=cfncluster-CMS --resource=Co
mputeFleet --region=us-east-2
Nov 19 01:33:00 ip-172-30-0-13 cloud-init: ValidationError: Stack arn:aws:cloudformation:us-east-2:931172741559:stack/cfncluster-CMS/c5ebde70-6902-11e7-9c25-50faf8c48cd2 is in UPDATE_COMPLETE state and cannot be signaled
Nov 19 01:33:00 ip-172-30-0-13 cloud-init: + exit 1
Nov 19 01:33:00 ip-172-30-0-13 cloud-init: 2018-11-19 01:33:00,658 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-002 [1]
Nov 19 01:33:00 ip-172-30-0-13 cloud-init: 2018-11-19 01:33:00,659 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
Nov 19 01:33:00 ip-172-30-0-13 cloud-init: 2018-11-19 01:33:00,659 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyc'>) faile
d
Nov 19 01:33:00 ip-172-30-0-13 cloud-init: Cloud-init v. 0.7.5 finished at Mon, 19 Nov 2018 01:33:00 +0000. Datasource DataSourceEc2.  Up 87.38 seconds

Is it caused from my fault when I installed older version cfncluster?
I downloaded it from 'https://github.com/aws/aws-parallelcluster/releases' and
$ cd cli
$ python setup.py install

Hi @91bsjun the issue is seven_zip ~> 3.0.0, dropped support for chef 12.
We released a patched version of the cookbook that you can use in the older versions of cfncluster (>= 1.4.0).
See comment here: https://github.com/aws/aws-parallelcluster/issues/611#issuecomment-435536778


Update Grabdish Terraform

Update OKE version and provider; variablise the OKE ver for easier updates.

Found dup code in infra/k8s/oke/terraform which seems to be used over that in grabdish/terraform; made same changes.


Create Alpine/APK package for Deno

Using Deno inside of an Alpine docker image is currently not super easy because you need to manually install it and add it to the path. If there were an Alpine APK package for it, it could be a simple matter of adding the following to your Dockerfile:
RUN apk add deno
This would be incredibly valuable for my team since we use Deno scripts in lots of places where we'd normally use Bash scripts. Since build processes are often complex, require multiple commands, and need to run on different environments, scripts are an ideal way to run them. We absolutely loathe writing Bash scripts, and the sooner we can get Deno into an environment so we can stop defaulting to Bash, the happier we are.

I have moved this to deno_docker as any solution should be addressed in this repo.

I finally managed to get Deno installed into an existing Alpine image without too much complexity. Piggybacking on the deno:alpine image did work, there were just more resources that needed to be copied.


linux: omit build id

Motivation for this change
Don't include an NT_GNU_BUILD_ID (that is randomly generated
at build time).
This improves the kernel reproducibility (though there is
still some other remaining problems)
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

please tartget staging instead.

Oh, and thanks for investigating kernel reproducibility. That's not a easy one.

The sed command suggested here is the same as the one described in https://kernelnewbies.org/BuildId (which references https://github.com/mempo/mempo-kernel - probably used by Debian).

Wouldn't upstream accept a patch where you can more conveniently set the build id?

Have you tested whether the build ID is actually stable now? When I tried this a few weeks ago, it didn't work and the build id was still random.
You can extract the kernel using scripts/extract-vmlinux and then readelf -n to get the ID.

Have you tested whether the build ID is actually stable now? When I tried this a few weeks ago, it didn't work and the build id was still random.

Yes, it does look like it (though the readelf warning makes it so I'm not sure):
Without this PR:
Displaying notes found in: .notes
  Owner                 Data size	Description
  Xen                  0x00000006	Unknown note type: (0x00000006)	   description data: 6c 69 6e 75 78 00
  Xen                  0x00000004	Unknown note type: (0x00000007)	   description data: 32 2e 36 00
  Xen                  0x00000008	Unknown note type: (0x00000005)	   description data: 78 65 6e 2d 33 2e 30 00
  Xen                  0x00000008	Unknown note type: (0x00000003)	   description data: 00 00 00 ffffff80 ffffffff ffffffff ffffffff ffffffff
  Xen                  0x00000008	Unknown note type: (0x0000000f)	   description data: 00 00 00 00 ffffff80 00 00 00
  Xen                  0x00000008	NT_VERSION (version)	   description data: ffffff80 31 44 ffffff82 ffffffff ffffffff ffffffff ffffffff
  Xen                  0x00000008	NT_ARCH (architecture)   description data: 00 10 00 ffffff81 ffffffff ffffffff ffffffff ffffffff
  Xen                  0x00000029	Unknown note type: (0x0000000a)	   description data: 21 77 72 69 74 61 62 6c 65 5f 70 61 67 65 5f 74 61 62 6c 65 73 7c 70 61 65 5f 70 67 64 69 72 5f 61 62 6f 76 65 5f 34 67 62
  Xen                  0x00000004	Unknown note type: (0x00000011)	   description data: 01 ffffff88 00 00
  Xen                  0x00000004	Unknown note type: (0x00000009)	   description data: 79 65 73 00
  Xen                  0x00000008	Unknown note type: (0x00000008)	   description data: 67 65 6e 65 72 69 63 00
  Xen                  0x00000010	Unknown note type: (0x0000000d)	   description data: 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
  Xen                  0x00000004	Unknown note type: (0x0000000e)	   description data: 01 00 00 00
  Xen                  0x00000004	Unknown note type: (0x00000010)	   description data: 01 00 00 00
  Xen                  0x00000008	Unknown note type: (0x0000000c)	   description data: 00 00 00 00 00 ffffff80 ffffffff ffffffff
  Xen                  0x00000008	Unknown note type: (0x00000004)	   description data: 00 00 00 00 00 00 00 00
  GNU                  0x00000014	NT_GNU_BUILD_ID (unique build ID bitstring)	    Build ID: 6fe08243f4b43f38bf114798174991a5029dd47e
  Linux                0x00000001	OPEN	   description data: 00

With this PR:
readelf --wide --notes /nix/store/x3gw8wy4i7mms36x7bnbd3llbxqymfv8-linux-5.4.81-dev/vmlinux

Displaying notes found in: .notes
  Owner                 Data size	Description
  Xen                  0x00000006	Unknown note type: (0x00000006)	   description data: 6c 69 6e 75 78 00
  Xen                  0x00000004	Unknown note type: (0x00000007)	   description data: 32 2e 36 00
  xen-3.0              0x00000005	Unknown note type: (0x006e6558)	   description data: 08 00 00 00 03
readelf: Warning: note with invalid namesz and/or descsz found at offset 0x50
readelf: Warning:  type: 0xffffffff, namesize: 0x006e6558, descsize: 0x80000000, alignment: 8

(I also verified that, when disabling MODULE_SIG and SECURITY_LOCKDOWN_LSM, it seems the kernel is now reproducible)


Add CURIE support in SciGraph configuration file

Pretty sure CURIEs are supported in the web services config file, see here:
https://github.com/SciGraph/SciGraph/blob/master/SciGraph-services/configuration.yml#L73

This ticket is about allowing CURIEs in the configuration file for categories and mapped properties.

Let's raise an exception if the configuration uses a CURIE that doesn't exist in the configuration.

I didn't find a way to identify a string as an IRI or CURIE. The IRI rfc does not say explicitly that an IRI has to start with http. The best we can do is what we have right now in my opinion, try to expand a potential CURIE and leave it as is when no conversion is found.

You can't have forward slashes in curies?
On Fri, Dec 9, 2016 at 1:24 PM, Julie McMurry<EMAIL_ADDRESS>wrote:

is it not possible to regex test for the presence of //?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/SciGraph/SciGraph/issues/147#issuecomment-266127369,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEHMGCZn8FFuMUVs64HdkOvcSEsRT-3qks5rGcbzgaJpZM4Fjuq-
.


debugger line number broken by """ style comments

After a block of """ style commented lines, the debugger won't report the correct line number of an error.  Add the number of commented lines to the reported line, and that's the correct line.  If I take out the block, the line is reported correctly.

I'm closing this, because GDScript does not have multiline comments. The triple-quote token (""") is used for multiline strings.

Actually closing as a duplicate of #1320, I'm not entirely convinced that GDScript does not support multiline comments, as they seem to work fine as function description (Python style).


append_many for Dictionary builders

I have some data that I know is very repeated because it's essentially denormalized data, so the denormalized column is repeated for many rows. Because of this I'm using a dictionary, but I find myself forced into calling append_value in a loop to add the value multiple times. Under the hood this is going to hash it, find that it exists and append to the keys. I'd like a way to skip the extra hashing and instead add the value repeated n times.
I realize this can also be done via run encoding but I think this would be a simple and flexible API to add for dictionaries.

label_issue.py automatically added labels {'arrow'} from #6534


slide with links and fade effect doesn't work

Hi,
I have a slider with image + text + link for every slide,
all works but if I set the effect: 'fade'
the links are not clickable because the "next" slide it's over the actual slide with opacity: 0 I think.
How can I solve this?
I tried to change the z-index but nothing change.
if you want a preview it's almost at the end of this page with the title "PROGETTI":
http://alessiopaolettidesign.it/preco-snc/
(sorry for my english)

I can clearly click on links with fade effect, check here (2nd slide) https://stackblitz.com/edit/swiper-demo-22-fade-effect-ruemsh
Closing as can't replicate

It worked for me pointer-events:none; for all slides except the active one

Adjusting z-index like this worked for me.
 // fix swiper fade effect click bug   .swiper    &-fade {     .swiper-slide {       &-prev, &-next {         z-index: -1;       }     }   }


read conmon output and convert to json in two steps

when reading the output from conmon using the JSON methods, it appears that
JSON marshalling is higher in pprof than it really is because the pipe is
"waiting" for a response. this gives us a clearer look at the real CPU/time
consumers.
Signed-off-by: baude<EMAIL_ADDRESS>

/approve

Sure, LGTM as long as tests pass.

LGTM

/lgtm


ivi-homescreen: check commercial flag

for video_player_linux ffmpeg is required,
which requires LICENSE_FLAGS_ACCEPTED
commercial to be set

@kwavnet Thanks!!


Added absolute path for the Default PAA Trust Store

Problem

chip-tool is not working without the "--paa-trust-store-path" argument

Change overview

Added absolute path for the Default PAA Trust Store
chip-tool will use the default Trust Store if "--paa-trust-store-path" is not passed

Testing

Matter Unit Tests
Tested Commissioning flow (chip-tool vs chip-all-clusters-app)

Isn't it possible to run chip-tool without the store?

It is if we keep using GetTestAttestationTrustStore.  It's not clear to me whether that's meant to go away or not.  @vijs ?

/rebase

I've added a changeset to fall back to TestAttestationTrustStore if the --paa-trust-store-path is not passed. We can continue to work on a path to deprecate the TestAttestationTrustStore and use a default Trust Store after updating the test scripts and test harness to use the PAA Trust store
Also updated the chip-tool README file:
Trust store will be automatically created using the default TestAttestation PAA. To use a different set of PAAs, pass the path using the optional parameter --paa-trust-store-path while running the built executable. Trusted PAAs are available at credentials/development/paa-root-certs/.

/rebase

/rebase


fix: modify tracing filter config method.

What this PR does:
Update TraceFilterFactory's Config method, this should not return nil. In addition, resolve in samples doesn't need a tracing config.

Codecov Report

Merging #422 (3204eef) into develop (2b24d46) will increase coverage by 0.96%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #422      +/-   ##
===========================================
+ Coverage    36.61%   37.58%   +0.96%
===========================================
  Files           55       55
  Lines         3654     3720      +66
===========================================
+ Hits          1338     1398      +60
- Misses        2164     2166       +2
- Partials       152      156       +4

Impacted Files
Coverage Δ

pkg/server/pixiu_start.go
3.22% <0.00%> (-0.23%)
:arrow_down:

pkg/server/listener_manager.go
0.00% <0.00%> (ø)

pkg/common/extension/filter/filter.go
15.21% <0.00%> (ø)

...oregistry/registry/zookeeper/interface_listener.go
10.00% <0.00%> (ø)

...registry/zookeeper/application_service_listener.go
0.00% <0.00%> (ø)

pkg/config/xds/cds.go
52.89% <0.00%> (+0.39%)
:arrow_up:

pkg/config/xds/lds.go
58.03% <0.00%> (+51.78%)
:arrow_up:

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 2b24d46...3204eef. Read the comment docs.


Cloze

Is your feature request related to a problem? Please describe.
Text memorisation can be trained.
Describe the solution you'd like
Have clozes.
Additional context
An example: https://github.com/zg/text-memorize

Closing for reasons given in the manual: https://jzohrab.github.io/lute-manual/faq/why-no-flashcards.html
Adding testing is a massive effort which isn't really Lute's primary goal.  Instead I'd prefer to do #3 (opinionated Anki export) or similar, so that interested users can do this.