Android activity launchMode should set to "singleTask"

Godot version
Godot v4.1.1.stable - Windows 10.0.22621 - Vulkan (Compatibility) - AMD Radeon RX 5700 XT (Advanced Micro Devices, Inc.; 31.0.22011.4008) - Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (16 Threads)
System information
Godot v4.1.1.stable - Windows 10.0.22621 - Vulkan (Compatibility) - AMD Radeon RX 5700 XT (Advanced Micro Devices, Inc.; 31.0.22011.4008) - Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (16 Threads)
Issue description
Currently it sets to "singleInstance", which causes black screen when
1:  The game integrates SDK that have another activity, e.g  ads sdk
2:  The user switched the game to background while the full screen activity is on top. e.g, a reward ad is being played
3:  Android system had determined to kill the game activity (onDestroy was called)
4:  The user switched the game back to foreground
I'm not familiar with Android development, so I took a look at an Unity built apk with ads sdk, and I noticed the launchMode is "singleTask". I changed apk built by Godot to "singleTask", and the issue went away.
It seems singleTask doesn't cause any other problem, at least in my project. So it might be good to change this in Godot export template as well.
Steps to reproduce
as stated in issue description
Minimal reproduction project
Can't provide because it need my ads sdk key :(

CC @m4gr3d

@kxn Can you test with using singleInstancePerTask instead of singleTask and see if that fixes the issue.

Seems working fine, too.
Out of curiosity, what's the difference between the three? why do we prefer singleInstancePerTask over singleTask?
Thanks

@kxn Can you test with using singleInstancePerTask instead of singleTask and see if that fixes the issue.

Seems working fine, too.
Out of curiosity, what's the difference between the three? why do we prefer singleInstancePerTask over singleTask?
Update: I've just checked apks built by Unreal Engine 4.27, it is singleTask as well.

To clarify a little bit， I had tested "singleInstancePerTask"  in previous post, it was working fine.  The rest of the post is just my own curiosity, not  a blocking issue.

@kxn Can you test with using singleInstancePerTask instead of singleTask and see if that fixes the issue.

Seems working fine, too.
Out of curiosity, what's the difference between the three? why do we prefer singleInstancePerTask over singleTask?
Update: I've just checked apks built by Unreal Engine 4.27, it is singleTask as well.

@kxn To provide some context, Android organizes Activities into groups called Tasks, and the launchMode attribute influences how Activities are launched into these tasks:

singleInstance causes the Activity to always be launched into its own task, and doesn't allow any other Activities into that task. So in your scenario, the Activity from the SDK was launched into another task causing the task holding the Godot Activity to be terminated by the system (note that in general immediate termination is not the norm as the system can hold multiple tasks at the same time, so you may need to check your device settings to ensure that it's not limiting how many tasks can run in the background).
singleTask causes the Activity to be launched into its own task, unless there's an existing task with the same taskAffinity. Unlike singleInstance, singleTask allows other Activities in the same task so it's also a solution for your issue.
singleInstancePerTask causes the Activity to always be launched into its own task, but like singleTask admits other Activities into that task. So it also addresses your issue because now the Activity from the SDK can run into the same task as the Godot Activity. Given the similarities with singleTask, it's selected for future-proofing because it'll allow to support  non-embedded Godot Window on Android for Godot 4.3.

For more details, feel free to take a look at:

https://developer.android.com/guide/components/activities/tasks-and-back-stack.html#TaskLaunchModes
https://developer.android.com/guide/topics/manifest/activity-element#lmode


Link does not work

The Link to the Libraries part does not work

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

ID: 47bb00ae-8ec1-0000-4972-5dfd22983982
Version Independent ID: 8a8a2723-9a42-1f24-80c4-9c44b59372e2
Content: Databricks CLI - Azure Databricks
Content Source: databricks/dev-tools/cli/index.md
Service: azure-databricks
GitHub Login: @mamccrea
Microsoft Alias: mamccrea

@marcelfranke Could you please point where the link does not work?

Reference > Databricks CLI > Libaries points to https://docs.microsoft.com/en-us/

@marcelfranke Thanks for bringing this to our attention. Your feedback  has been shared with the content owner for further review.
@mamccrea Could you please correct the link?
Reference > Databricks CLI > Libraries points to https://docs.microsoft.com/en-us/
Replace with
Reference > Databricks CLI > Libraries points to https://docs.microsoft.com/en-us/azure/databricks/dev-tools/cli/libraries-cli

Thanks. This is the correct link. I'll fix the toc: https://docs.microsoft.com/en-us/azure/databricks/dev-tools/cli/libraries-cli

I have fixed this issue and it should be live soon. Thanks again for your feedback. #please-close


dart2native has unneeded output

We currently produce a fair amount of status output:
$ dart2native hello.dart
Generating AOT kernel dill.
Generating AOT snapshot.
Generating executable.
Marking binary executable.
Generated: /Users/mit/tmp/hello.dart.exe
$

I suggest that we remove anything but the last line from the standard output. If there is a reason to keep it, I suggest we put it behind a -v, --verbose flag like other Dart commands.

This is now fixed in 0b7a78d.


No placeholder option for md-input

Seems placeholder not implemented for md-input?

...seems not when you pre-populate field, then delete text and field container cuts off the label text :-)


Simplify formToObject

Description

formToObject could be simplified to use of two new methods:
FormData.prototype.entries()
Object.fromEntries()
They are supported in Chrome 73+, Firefox 63+ and Safari 12.1+
Previous version:
const formToObject = form =>
  Array.from(new FormData(form)).reduce(
    (acc, [key, value]) => ({
      ...acc,
      [key]: value
    }),
    {}
  );

Updated version:
const formToObject = form => Object.fromEntries(new FormData(form).entries())

While this is an interesting option indeed, Object.fromEntries() worries me for the time being, due to it being a Draft still. I will put this on hold and we will revisit it in a few months, when this has moved forward a little bit.

Closing due to inactivity. Will reopen when these methods are in a better place so to speak.


Need modify Deepspeed test script to support Xeon CPU

python/llm/example/GPU/Deepspeed-AutoTP/run_qwen_14b_arc_2_card.sh
python/llm/example/GPU/Deepspeed-AutoTP/run_vicuna_33b_arc_2_card.sh
python/llm/dev/benchmark/all-in-one/run-deepspeed-arc.sh
Current the following code only enable on the Intel Core CPU.
But on Intel Xeon CPU, also need enable the SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS to improve performance.
if grep -q "Core" /proc/cpuinfo; then
    export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=2
fi

According to our previous benchmark experiment, export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 performs better on Xeon CPU + multi GPUs. The default value of SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS is exactly 0, I think no need to modify script.


az containerapp commands output error on stderr

Describe the bug
The command writes error to the standard output which makes it fail in CI pipeline.
az containerapp command often display error information on the standard output. Therefore we need to use the failOnStdErr option to true (in Azure DevOps) to fail the task when this happen.
However, since wednesday 25 september, some output errors are displayed even when it works well, which makes all our deployments to fail.
Related command
az containerapp update
Errors
##[error]
/ Running ..
| Running ..
##[error]Script has output to stderr. Failing as failOnStdErr is set to true.
Issue script & Debug output
2024-09-26T09:30:59.3832601Z | Running ..DEBUG: cli.azure.cli.core.util: Found subscription ID SUBSCRIPTION_ID_MASKED in the URL https://management.azure.com/subscriptions/SUBSCRIPTION_ID_MASKED/providers/Microsoft.App/locations/francecentral/containerappOperationResults/037ac9fc-90a0-4fec-8d71-9308298b56df?api-version=2024-03-01&t=638629398441513134&c=MASKED
2024-09-26T09:30:59.3841654Z DEBUG: cli.azure.cli.core.util: Retrieving token for resource https://management.core.windows.net/, subscription SUBSCRIPTION_ID_MASKED
2024-09-26T09:30:59.3843010Z DEBUG: urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
2024-09-26T09:30:59.3844736Z DEBUG: msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/ID_MASKED
2024-09-26T09:30:59.3849979Z DEBUG: msal.authority: openid_config("https://login.microsoftonline.com/ID_MASKED/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/ID_MASKED/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/ID_MASKED/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/ID_MASKED/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/ID_MASKED/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/ID_MASKED/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/ID_MASKED/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/ID_MASKED/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
2024-09-26T09:30:59.3855136Z DEBUG: msal.application: Broker enabled? None
2024-09-26T09:30:59.3857140Z DEBUG: cli.azure.cli.core.auth.msal_authentication: ServicePrincipalCredential.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
2024-09-26T09:30:59.3858330Z DEBUG: msal.application: Cache hit an AT
2024-09-26T09:30:59.3859438Z DEBUG: msal.telemetry: Generate or reuse correlation_id: 3452927f-d457-401b-ab57-c29d5fde9972
2024-09-26T09:30:59.3868981Z INFO: cli.azure.cli.core.util: Request URL: 'https://management.azure.com/subscriptions/SUBSCRIPTION_ID_MASKED/providers/Microsoft.App/locations/francecentral/containerappOperationResults/037ac9fc-90a0-4fec-8d71-9308298b56df?api-version=2024-03-01&t=638629398441513134&c=MASKED'
2024-09-26T09:30:59.3878031Z INFO: cli.azure.cli.core.util: Request method: 'GET'
2024-09-26T09:30:59.3879021Z INFO: cli.azure.cli.core.util: Request headers:
2024-09-26T09:30:59.3880359Z INFO: cli.azure.cli.core.util:     'User-Agent': 'python/3.11.8 (Linux-<IP_ADDRESS>-1.cm2-x86_64-with-glibc2.36) AZURECLI/2.64.0 (DEB) VSTS_151c32f3-f21f-4434-8b15-25c958202171_build_364_0'
2024-09-26T09:30:59.3881690Z INFO: cli.azure.cli.core.util:     'Accept-Encoding': 'gzip, deflate'
2024-09-26T09:30:59.3882688Z INFO: cli.azure.cli.core.util:     'Accept': '/'
2024-09-26T09:30:59.3883683Z INFO: cli.azure.cli.core.util:     'Connection': 'keep-alive'
2024-09-26T09:30:59.3884813Z INFO: cli.azure.cli.core.util:     'x-ms-client-request-id': '22bad57d-398e-41d8-a352-fefd60f0cfcb'
2024-09-26T09:30:59.3885917Z INFO: cli.azure.cli.core.util:     'CommandName': 'containerapp update'
2024-09-26T09:30:59.3887051Z INFO: cli.azure.cli.core.util:     'ParameterSetName': '--name --resource-group --image --debug'
2024-09-26T09:30:59.3888275Z INFO: cli.azure.cli.core.util:     'Authorization': 'Bearer ***
2024-09-26T09:30:59.3889236Z INFO: cli.azure.cli.core.util: Request body:
2024-09-26T09:30:59.3890142Z INFO: cli.azure.cli.core.util: None
2024-09-26T09:30:59.3891175Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
2024-09-26T09:30:59.7105448Z DEBUG: urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/SUBSCRIPTION_ID_MASKED/providers/Microsoft.App/locations/francecentral/containerappOperationResults/037ac9fc-90a0-4fec-8d71-9308298b56df?api-version=2024-03-01&t=638629398441513134&c=MASKED HTTP/1.1" 200 3661
2024-09-26T09:30:59.7120179Z INFO: cli.azure.cli.core.util: Response status: 200
2024-09-26T09:30:59.7121210Z INFO: cli.azure.cli.core.util: Response headers:
2024-09-26T09:30:59.7122266Z INFO: cli.azure.cli.core.util:     'Cache-Control': 'no-cache'
2024-09-26T09:30:59.7123469Z INFO: cli.azure.cli.core.util:     'Pragma': 'no-cache'
2024-09-26T09:30:59.7124558Z INFO: cli.azure.cli.core.util:     'Content-Length': '3661'
2024-09-26T09:30:59.7125721Z INFO: cli.azure.cli.core.util:     'Content-Type': 'application/json; charset=utf-8'
2024-09-26T09:30:59.7126856Z INFO: cli.azure.cli.core.util:     'Expires': '-1'
2024-09-26T09:30:59.7128197Z INFO: cli.azure.cli.core.util:     'Vary': 'Accept-Encoding'
2024-09-26T09:30:59.7129525Z INFO: cli.azure.cli.core.util:     'x-ms-ratelimit-remaining-subscription-reads': '249'
2024-09-26T09:30:59.7131461Z INFO: cli.azure.cli.core.util:     'api-supported-versions': '2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview'
2024-09-26T09:30:59.7132874Z INFO: cli.azure.cli.core.util:     'X-Powered-By': 'ASP.NET'
2024-09-26T09:30:59.7133987Z INFO: cli.azure.cli.core.util:     'x-ms-ratelimit-remaining-subscription-global-reads': '3749'
2024-09-26T09:30:59.7135387Z INFO: cli.azure.cli.core.util:     'x-ms-request-id': '917b7f86-4366-43a7-bdb8-e7d89feb56e6'
2024-09-26T09:30:59.7137270Z INFO: cli.azure.cli.core.util:     'x-ms-correlation-request-id': '917b7f86-4366-43a7-bdb8-e7d89feb56e6'
2024-09-26T09:30:59.7139284Z INFO: cli.azure.cli.core.util:     'x-ms-routing-request-id': 'FRANCECENTRAL:20240926T093059Z:917b7f86-4366-43a7-bdb8-e7d89feb56e6'
2024-09-26T09:30:59.7140516Z INFO: cli.azure.cli.core.util:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
2024-09-26T09:30:59.7141621Z INFO: cli.azure.cli.core.util:     'X-Content-Type-Options': 'nosniff'
2024-09-26T09:30:59.7142633Z INFO: cli.azure.cli.core.util:     'X-Cache': 'CONFIG_NOCACHE'
2024-09-26T09:30:59.7143821Z INFO: cli.azure.cli.core.util:     'X-MSEdge-Ref': 'Ref A: 7E049269CF2C4082ABD6ED3B7ACAF824 Ref B: VIEEDGE1910 Ref C: 2024-09-26T09:30:59Z'
2024-09-26T09:30:59.7144968Z INFO: cli.azure.cli.core.util:     'Date': 'Thu, 26 Sep 2024 09:30:59 GMT'
2024-09-26T09:30:59.7146169Z INFO: cli.azure.cli.core.util: Response content:
2024-09-26T09:30:59.7155227Z INFO: cli.azure.cli.core.util: {"id":"/subscriptions/SUBSCRIPTION_ID_MASKED/resourceGroups/do1-compute-rg/providers/Microsoft.App/containerapps/do1-NAME_MASKED-ca","name":"do1-NAME_MASKED-ca","type":"Microsoft.App/containerApps","location":"France Central","tags":{"Component":"NAME_MASKED","Creator":"Terraform","Env":"do1","ProjectName":"NAME_MASKED.com"},"systemData":{"createdBy":"","createdByType":"Application","createdAt":"2024-06-27T13:01:22.7476807","lastModifiedBy":"","lastModifiedByType":"Application","lastModifiedAt":"2024-09-26T09:30:43.9638161"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/SUBSCRIPTION_ID_MASKED/resourceGroups/do1-compute-rg/providers/Microsoft.App/managedEnvironments/do1-shared-cae","environmentId":"/subscriptions/SUBSCRIPTION_ID_MASKED/resourceGroups/do1-compute-rg/providers/Microsoft.App/managedEnvironments/do1-shared-cae","workloadProfileName":"Consumption","outboundIpAddresses":null,"latestRevisionName":"do1-NAME_MASKED-ca--drhar7n","latestReadyRevisionName":"do1-NAME_MASKED-ca--drhar7n","latestRevisionFqdn":"do1-NAME_MASKED-ca--drhar7n.CONTAINER_APP_ENV_MASKED.francecentral.azurecontainerapps.io","customDomainVerificationId":"A453E6FA0E0DEB19EC0CB32F1BB8C43B0B2FA0A1D243136A9B09BA36A8535493","configuration":{"secrets":[{"name":"acrsecret"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"do1-NAME_MASKED-ca.CONTAINER_APP_ENV_MASKED.francecentral.azurecontainerapps.io","external":true,"targetPort":8080,"exposedPort":0,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"customDomains":[{"name":"NAME_MASKED.do1.NAME_MASKED.work","certificateId":"/subscriptions/SUBSCRIPTION_ID_MASKED/resourceGroups/do1-compute-rg/providers/Microsoft.App/managedEnvironments/do1-shared-cae/certificates/NAME_MASKED-work-certificate-secondary","bindingType":"SniEnabled"}],"allowInsecure":false,"ipSecurityRestrictions":null,"corsPolicy":null,"clientCertificateMode":null,"stickySessions":null,"additionalPortMappings":null},"registries":[{"server":"ACR_MASKED.azurecr.io","username":"ACR_MASKED","passwordSecretRef":"acrsecret","identity":""}],"dapr":null,"maxInactiveRevisions":100,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"ACR_MASKED.azurecr.io/api-NAME_MASKED:20240926-2-123326","name":"do1-NAME_MASKED-ca","env":[{"name":"env","value":"do1"},{"name":"ASPNETCORE_ENVIRONMENT","value":"do1"},{"name":"ASPNETCORE_FORWARDEDHEADERS_ENABLED","value":"true"},{"name":"IS_CONTAINER_APP","value":"true"}],"resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"},"probes":[],"volumeMounts":[{"volumeName":"do1-shared-cae-storage","mountPath":"/do1sharedcaefs"}]}],"initContainers":null,"scale":{"minReplicas":1,"maxReplicas":5,"rules":[{"name":"memoryscalerule","custom":{"type":"memory","metadata":{"type":"Utilization","value":"70"}}},{"name":"cpuscalerule","custom":{"type":"cpu","metadata":{"type":"Utilization","value":"70"}}}]},"volumes":[{"name":"do1-shared-cae-storage","storageType":"AzureFile","storageName":"do1-shared-cae-storage"}],"serviceBinds":null},"eventStreamEndpoint":"https://francecentral.azurecontainerapps.dev/subscriptions/SUBSCRIPTION_ID_MASKED/resourceGroups/do1-compute-rg/containerApps/do1-NAME_MASKED-ca/eventstream","delegatedIdentities":[]},"identity":{"type":"SystemAssigned","principalId":"c25dd8b0-62ba-4931-8062-040fb1c0cd8f","tenantId":"ID_MASKED"}}
2024-09-26T09:30:59.7161515Z
2024-09-26T09:30:59.7162799Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7462aad9b560>, <function _x509_from_base64_to_hex_transform at 0x7462aad9b600>]
2024-09-26T09:30:59.7163982Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnFilterResult []
2024-09-26T09:30:59.7165014Z DEBUG: cli.knack.cli: Event: Cli.SuccessfulExecute []
2024-09-26T09:30:59.7166078Z DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7462aafc6160>]
2024-09-26T09:30:59.7167084Z INFO: az_command_data_logger: exit code: 0
2024-09-26T09:30:59.7168059Z INFO: cli.main: Command ran in 17.402 seconds (init: 0.102, invoke: 17.300)
2024-09-26T09:30:59.7423970Z INFO: telemetry.main: Begin splitting cli events and extra events, total events: 1
2024-09-26T09:30:59.7425355Z INFO: telemetry.client: Accumulated 0 events. Flush the clients.
2024-09-26T09:30:59.7426906Z INFO: telemetry.main: Finish splitting cli events and extra events, cli events: 1
2024-09-26T09:30:59.7429221Z INFO: telemetry.save: Save telemetry record of length 3763 in cache file under /azp/_work/_temp/.azclitask/telemetry/20240926093059742
2024-09-26T09:30:59.7431339Z INFO: telemetry.main: Begin creating telemetry upload process.
2024-09-26T09:30:59.7434512Z INFO: telemetry.process: Creating upload process: "/opt/az/bin/python3 /opt/az/lib/python3.11/site-packages/azure/cli/telemetry/init.py /azp/_work/_temp/.azclitask /azp/_work/_temp/.azclitask/telemetry/20240926093059742"
2024-09-26T09:30:59.7437048Z INFO: telemetry.process: Return from creating process 1499
2024-09-26T09:30:59.7438570Z INFO: telemetry.main: Finish creating telemetry upload process.
2024-09-26T09:30:59.8240949Z URL to check: do1-NAME_MASKED-ca--drhar7n.CONTAINER_APP_ENV_MASKED.francecentral.azurecontainerapps.io
2024-09-26T09:30:59.8303755Z Attempt N°1 (do1-NAME_MASKED-ca--drhar7n.CONTAINER_APP_ENV_MASKED.francecentral.azurecontainerapps.io)
2024-09-26T09:31:00.0738241Z Status code 200.
2024-09-26T09:31:00.0739951Z The healthcheck process succeeded.
2024-09-26T09:31:00.1365239Z
2024-09-26T09:31:00.1443752Z ##[error]DEBUG: cli.knack.cli: Command arguments: ['containerapp', 'update', '--name', 'do1-NAME_MASKED-ca', '--resource-group', 'do1-compute-rg', '--image', 'ACR_MASKED.azurecr.io/api-NAME_MASKED:20240926-2-123326', '--debug']
DEBUG: cli.knack.cli: init debug log:
Cannot enable color.
DEBUG: cli.knack.cli: Event: Cli.PreExecute []
DEBUG: cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7462abd18180>, <function OutputProducer.on_global_arguments at 0x7462abcc6340>, <function CLIQuery.on_global_arguments at 0x7462abadbe20>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
DEBUG: cli.azure.cli.core: Modules found from index for 'containerapp': ['azure.cli.command_modules.containerapp', 'azure.cli.command_modules.serviceconnector']
DEBUG: cli.azure.cli.core: Loading command modules:
DEBUG: cli.azure.cli.core: Name                  Load Time    Groups  Commands
DEBUG: cli.azure.cli.core: containerapp              0.193        37       123
2024-09-26T09:31:00.1456161Z ##[error]Script has output to stderr. Failing as failOnStdErr is set to true.
2024-09-26T09:31:00.1459929Z [command]/usr/bin/az account clear
2024-09-26T09:31:00.5922083Z ##[section]Finishing: Container : Update image
Expected behavior
The containerapp update command should run correctly without outputing errors on the standard output.
Environment Summary
/usr/bin/az --version
azure-cli                         2.64.0
core                              2.64.0
telemetry                          1.1.0
Dependencies:
msal                              1.30.0
azure-mgmt-resource               23.1.1
Python location '/opt/az/bin/python3'
Extensions directory '/home/agent/.azure/cliextensions'
Python (Linux) 3.11.8 (main, Aug 28 2024, 05:46:04) [GCC 12.2.0]
Additional context
The environment version of the az cli or other tools has not been upgraded.
Therefore, the root cause of the issue might be from the Azure backend since we did not update the cli az.

Thank you for opening this issue, we will look into it.

Any news on this? This started to fail all of our release pipelines today.

We are also experiencing this error. Not correlated to region, managed instance, number of container apps, vnet, or anything I can tell. This is similarly blocking our PRs due to failOnStdErr set to true.

We are also experiencing the same issue, changing az-cli version (2.6.0, 2.6.2, 2.64) does not seem to help. Everything was working well, up until a week before & we started noticing this issue without changing anything on our end.

As mentioned in the initial post - its confusing, since the containerApp update works just fine with the changes (even though it throws an error in the logs) and we would like to continue using the failOnStandardError: true flag in our pipeline!

This is a good point to ensure is highlighted - the new container app revision is still provisioned and started successfully. You can go into the portal to check the Activity Log and see it's running. The only other thing that looks 'off' is the time between the Accepted status and Succeeded status, but I don't know if that's normal or not.

We are impacted too. Due to this, Azure Pipelines fails and are interrupting our releases. While we could temporarily unblock ourselves by setting "failOnStdErr " to false, this would put us on a risky situation during our production releases as we are allowing for the deployments to continue even in case of a potential genuine error.

@anthonychu could you please have a look to this issue regarding Container App?
It has been opened for 1 week, multiple customers are impacted and it is still not assigned.

Any progress on this? It still continues to to be a problem with our deployments in production :(

Hi @ranat5
What is the error? Base on the log I can not find what is the output error.

Hi @dsczltch @ranat5 @sg-vintri
The ##[error]
/ Running ..
| Running ..
was log by this code when polling the result of updating containerapp:
https://github.com/Azure/azure-cli/blob/095d5249b248b4f6a7df603526a69080523e3f0a/src/azure-cli/azure/cli/command_modules/containerapp/_clients.py#L35
It should not use sys.stderr.write in here. I will create a PR to fix it.
For a temporary workaround you can add --no-wait, wait a few seconds then check the provisioningState manually.

Hi @dsczltch  @ranat5  @sg-vintri
Containerapp side didn't change the logic for log Running ...
I'm curious if your pipeline will failed due to the same error if you run the following command:
az acr create  -n {acr-name} -g {resource-group-name} --sku Standard --location eastus
It will log Running too.

Hi @Greedygre - I tried creating an ACR with the above, and even though it momentarily shows "running" state, it creates it successfully without any error messages (so seems like it does not push the intermediate logs to stderr?). az cli version 2.64.0.
Was something fixed?

Hi @Greedygre - I tried creating an ACR with the above, and even though it momentarily shows "running" state, it creates it successfully without any error messages (so seems like it does not push the intermediate logs to stderr?). az cli version 2.64.0. Was something fixed?

Do you try create ACR in your pipeline too? Thanks for trying.


Handle case of job start endpoint returning empty response

Resolves #288

Changes Unknown when pulling fabaec7cb107870f160ecbba89774239308ca65d on AlanCoding:fix_empty_response into ** on ansible:master**.


feat(prettier): add parens to conditional and arrow expr

Current dependencies on/for this PR:

main

PR #1529

PR #1530   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 24, 1:57 AM: Graphite rebased this pull request as part of a merge.


Incident Table to Point tool not importing datetimestart field from excel table as a date field

When you run the Incident Table to Point tool it is importing the datetimestart field from the excel table as a text field instead of a date field as it should be. This is causing the definition queries for the date break out (last 24 hours, last 48 hours ... etc ...) of incidents to not work, which then causes other tools not to be able to perform analysis on the data.  Attached is the table in question, however I have observed this with tables from released versions of the template (10.1, 10.2)
MontereyIncidents.xlsx

@lfunkhouser

The problem we are having here is in ArcGIS's support of Excel files. Basically, Excel doesn't store field types, and therefore ArcGIS must interpret them based on the first 8 rows. So in reading a date field, which is a mix of numbers and characters, it is read as a mixed set, and is therefore a string. The direct info on the problem is here...
http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/understanding-how-to-use-microsoft-excel-files-in-arcgis.htm
Where it states:
Excel does not enforce field types for values during data entry like standard databases do. Therefore, the field type specified in Excel is not used in determining the field type exposed in ArcGIS. Instead, field type in ArcGIS is determined by a scan of the values in the first eight rows for that field. If the scan finds mixed data types in a single field, that field will be returned as a string field, and the values will be converted to strings.

So at this time we can give them an alternate version of the data (suggest CSV with the included schema.ini) that will enforce date and time fields.

@nfeuerstein we may need to get a hold of the original creator of this tool, and ask exactly how this was expected to work, given what matt just pointed out. i've never "workflow" tested this template, only certified it, and all the tools do certify given they have good data, which they always did. however the way i interpret things, this is an issue for a user to start from the true beginning using their own table. because none of the definition queries, nor any of the tools that compare dates will work with excel spreadsheets.
@conklinbd @lfunkhouser

w.r.t. how the CSV with schema.ini file works, the Overriding how text files are formatted section of http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/adding-an-ascii-or-text-file-table.htm.
...  suggests looking at MSDN for topics on schema.ini files. Here is one that I found that fits our needs:
https://msdn.microsoft.com/en-us/library/ms709353(v=vs.85).aspx

So when I saved MontereyIncidents.xlsx as a CSV, I made schema.ini that went along with it that contained the following:
[MontereyIncidents.csv]
Col1=title Text
Col2=category Text
Col3=datetimestart DateTime
Col4=datetimeend DateTime

@mfunk good start, the field is coming in as a "Date" with this workaround, however now all the values in that field are null

@dfoll @mfunk -the "Incident Table to Point" tool is the same "Table to Point" tool that is in the Import and Conversion toolbox (which was previously included in the Position Analysis template).  So, unless I'm mistaken I actually think Matt was the original author of that tool.  I also believe the intent of the tool was to create points out of a table in the TOC, not go straight from an .xls/x to points.  So, the user would need to have a valid table (with the date being in a date format) for the tool to work.  The sample table IncidentData.xls that was included with the template has a date field that remains a date field when its added as a table to the TOC - so I'm still unclear why the Monterey .xlsx is not working.

@nfeuerstein Simply they way ArcGIS reads XLSX files, we (Esri) are not interpreting dates correctly. The same problem happens with the Excel To Table tool. We have no problem with text or number fields, but dates are a combination of numbers and characters, and are then read as string/text fields.

Let me ammend that last comment. Whatever library Esri uses to read XLSX doesn't handle dates well. I don't want to assume its some bit of code that Esri wrote, but it might be.

I hear what you're saying, but is that a blanket statement that applies to all date and date/time formats?  Because the Incidents.xls spreadsheet that was included in the data folder of the template has a date field with a date format (3/14/2012), and when I add that sheet to the TOC as a table and look at the properties the field type is Date.  So, I'm thinking that perhaps only certain date formats are accepted (read by ArcGIS as dates).

I can only speak to the file and date/time format that is with this template which is using a combined date and time format of "DD/MM/YY hh:mm:ssAM". Even Excel can define it as a date/time...

However, if we just open the XLSX in ArcMap. It only sees this as a TEXT field:

At this point we haven't even touched the tool. The tool is just reading what the platform tells it this file is.

@karlterrey fyi

i went way back in time, and went and got Incident Analysis 1.0.0 from the downloads page. when you add the Incidents.xls spreadsheet as data, or by dragging and dropping it on the table of contents, then view the open the table, the "datetimestart" field shows as type text. I have attached the exact spreadsheet i am seeing this with, or it can be retrieved from IA version 1.0.0 from the link above
Incidents.zip

took another look at this today, and the data being used for testing was in fact bad. essentially the problem was this... the datetimestart field as we used it over jalalabad had only the date, no time. (see matt's explanation as to why this was a problem). the sample data now included with the monterey location of the template now matches that format and has only the date in the datetimestart. i'm closing this issue, and proceeding with testing the pro version and creating content for the website.


Fix uninit glitch

Problem
During timeline creation we create special mark file which presense indicates that initialization didnt complete successfully. In case of a crash restart we can remove such half-initialized timeline and following retry from control plane side should perform another attempt.
So in case of a possible crash restart during initial loading we have following picture:
timelines
| - <timeline_id>___uninit
| - <timeline_id>
| - | <timeline files>

We call std::fs::read_dir to walk files in timelines directory one by one. If we see uninit file
we proceed with deletion of both, timeline directory and uninit file. If we see timeline we check if uninit file exists and do the same cleanup. But in fact its possible to get both branches to be true at the same time. Result of readdir doesnt  reflect following directory state modifications. So you can still get "valid" entry on the next iteration of the loop despite the fact that it was deleted in one of the previous iterations of the loop.
To see that you can apply the following patch (it disables uninit mark cleanup on successful timeline creation):
diff --git a/pageserver/src/tenant.rs b/pageserver/src/tenant.rs
index 4beb2664..b3cdad8f 100644
--- a/pageserver/src/tenant.rs
+++ b/pageserver/src/tenant.rs
@@ -224,11 +224,6 @@ impl UninitializedTimeline<'_> {
                             )
                         })?;
                 }
-                uninit_mark.remove_uninit_mark().with_context(|| {
-                    format!(
-                        "Failed to remove uninit mark file for timeline {tenant_id}/{timeline_id}"
-                    )
-                })?;
                 v.insert(Arc::clone(&new_timeline));

                 new_timeline.maybe_spawn_flush_loop();

And perform the following steps:
neon_local init
neon_local start
neon_local tenant create
neon_local stop
neon_local start

The error is:
INFO load{tenant_id=X}:blocking: Found an uninit mark file .neon/tenants/X/timelines/Y.___uninit, removing the timeline and its uninit mark
2023-06-09T18:43:41.664247Z ERROR load{tenant_id=X}: load failed, setting tenant state to Broken: failed to load metadata

Caused by:
    0: Failed to read metadata bytes from path .neon/tenants/X/timelines/Y/metadata
    1: No such file or directory (os error 2)

So uninit mark got deleted together with timeline directory but we still got directory entry for it and tried to load it.
The bug prevented tenant from being successfully loaded.
Summary of changes
Ideally I think we shouldnt place uninit marks in the same directory and gather them as an input to actual listing, but that would be sort of an on-disk format change, so just check whether entries are still valid before operating on them.
Checklist before requesting a review

[X] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

you can extract lines 981 - 1110, to a read_and_sort_timelines_dir method that you can write a UT for this scenario

https://github.com/neondatabase/neon/pull/4520

May I propose my abandoned PR's title Tenant::load: fix uninit timeline marker processing

I've pushed a unit test. Some drive by cleanups to test harness. Other changes are caused by me changing get_timeline to return GetTimelineError (wanted to check it in the test).


hello guys I am new to Algo trading and just started learning Python.

hello guys
I am new to Algo trading and just started learning Python. Can I get a sample code for any strategy so that I get a basic idea and work from there.


Add axe core helper

This PR is bigger than I would have hoped, and I'm sorry. I:

re-did the whole demo by moving most of the code out of the custom element, and into the main page, and just adding the Redux bits into a custom element
updated the redux example to always log the state
added @azakus's axe-report and a demo for it.

The demo for the reporter looks like this:

The demo for the redux bit looks like this:

I really like the "Test helpers" idea, will add it to the readme and the demo.


Scala 3 support

Hi,
so there was this Scala 3 branch that seemed like it would work when just substituting some macro implementations. This is my experiment what that would entail. And maybe to start a discussion if its desirable to address the remaining issues, and if so, how.
In short, what works

All functionality & macros ported to scala 3.
all fastparse.jvm[3.1.2].test pass, except for one error message that has a slightly changed parser name, and I am not sure why.

What does not work / is problematic:

.rep has a lot of weird overloads that did not directly work on Scala 3 (and everything became ambiguous), so they are removed for now. This is source incompatible in the sense that one has to write .rep() instead of .rep. This works with using  instead of implicit.
This does not use macros yet. Lots of methods can probably be justed marked inline to get the old runtime behavior, however,  for methods that build some matching logic at compile time like charsWhile in and StringsIn, this PR currently does a super literal translation of the prior logic, which is assumed to be incredibly inefficient. All macros are ported, there are some annoyances with the way Scala 3 changed overload resolution, how fastparse uses overloads, and also https://github.com/lampepfl/dotty/issues/15287, which make it seemingly impossible to use an overload for rep(min) while still remaining API compatibility for the rest. But even the non overloaded version should be fast enough for now.
I do know basically nothing about mill, and I did not spend time figuring out how to update dependencies to make building for Scala Native with Scala 3 happen.

who might be able to review and/or merge this...?

This PR passed under my radar. Thank you for commenting on my old PR @SethTisue. I'm not familiar with the FastParse Scala 2 macros but I can do a first round of review before someone more experienced with them and with Scala 3 macros can help :)
This is great!! @rmgk Thank you!

I think I messed up 🙈
I deleted my PR with its branch not understanding that your PR was targeting my branch, not the master branch.

Just wondering what the state of this is please @lihaoyi ?

@rmgk @SethTisue @davidrwood @lolgab - Maybe it is time to consider a fork of this repository? It seems abandoned, yet it is critical to a project I'm working on and the lagging Scala 3 support is holding up our Scala 3 migration.  I'm sure that is true for many others who use fastparse.
@lihaoyi  - would you like to unburden yourself of the maintenance chore of this library?

Anyone who wants commit access can have it. I already have given commit access to several others. No need to fork, you can do it right in this repo if you would like. The only question is who wants to do it. There's about a half dozen individuals with commit access already
If someone wants to push Scala 3 support for Fastparse over the finish line, they are welcome to do so. I personally am stuck on Scala 2.12/2.13, so that person is unlikely to be me for the foreseeable future

@lihaoyi Thanks for replying! Not something I can do myself but from what I can tell this exact PR should do the trick and just needs to be reviewed by someone qualified to do so.
Do you have time check it over perhaps? If so that might be all that's needed.🙂

@lihaoyi - Please add me as a committer. I'm highly invested in Fastparse and want to move the ball forward to Scala 3, so I may just take this on. Thanks.

@reid-spencer I have sent you an invite
The goal for Scala 3 support should be to get all test suites in this repo passing, including the "integration tests" exercising ScalaParse/PythonParse/CssParse/etc. That would ensure you get all edge cases nailed down.
We should maintain Scala 2 support, so all those existing tests should continue to pass, to avoid regressions.
Ideally we should preserve backwards compatibility as much as possible, but I think it's OK if you find you need to break some stuff in the interest of Scala 3 support. If that becomes necessary, we can always just label the new version FastParse 3.0.0.
Some APIs would look different in Scala 3. IMO the common def parse[_: P] = P(...) can probably be improved to def parse = P(...) by making P(...) a context function. That would be a nice simplification in the FastParse developer experience, and maybe even help encourage people to migrate

@reid-spencer I have sent you an invite for write access to this repository

Invitation accepted. Thank you.

The goal for Scala 3 support should be to get all test suites in this repo passing, including the "integration tests"
exercising ScalaParse/PythonParse/CssParse/etc. That would ensure you get all edge cases nailed down.

Thanks for making it easy to achieve the goal

We should maintain Scala 2 support, so all those existing tests should continue to pass, to avoid regressions.

Agreed.

Ideally we should preserve backwards compatibility as much as possible, but I think it's OK if you find you need to break some stuff in the interest of Scala 3 support. If that becomes necessary, we can always just label the new version FastParse 3.0.0.

Hopefully that won't be needed, but thanks for your approval in advance.

Some APIs would look different in Scala 3. IMO the common def parse[_: P] = P(...) can probably be improved to def parse = P(...) by making P(...) a context function. That would be a nice simplification in the FastParse developer experience, and maybe even help encourage people to migrate

It would indeed.  The simpler we can make it the better.  I expect that would require a 3.0.0 version number unless the older syntax can be retained at the same time.

@reid-spencer One more point of note: we do not need to upgrade Scalaparse's business logic to parse Scala 3 syntax as part of this effort, we only need to update its source code to be Scala 3 compatible. The existing Scala 2 test input files should be enough to validate Fastparse itself, for people using Fastparse elsewhere. Making Scalaparse able to parse Scala 3 would be a nice-to-have, but is not strictly necessary for the vast majority of use cases

@reid-spencer Just wondering how it's going with the Scala 3 update?

@reid-spencer Just wondering how it's going with the Scala 3 update?

Unfortunately, I haven't started yet. Higher priority work is taking precedence.

Hi, I'm trying to use fastparse for a project at university.
In the mean time is there any way to use this library in Scala 3 ?
like in the build.sbt
libraryDependencies += ("com.lihaoyi" %% "fastparse" % "2.3.3").cross(CrossVersion.for3Use2_13)

Shouldn't this work ? I'm new to Scala so there is probably something I'm misunderstanding, but reading https://www.scala-lang.org/blog/2021/04/08/scala-3-in-sbt.html#using-scala-213-libraries-in-scala-3 is confusing me quite a bit.

Hi, I'm trying to use fastparse for a project at university.
In the mean time is there any way to use this library in Scala 3 ? like in the build.sbt

This PR is about preparing fastparse to work with Scala 3.  This PR has done much of the work but it is not complete and not verified.

@lihaoyi - I'm going to back off my work converting fastparse to Scala 3.  After 2 days of trying, I can't get grok mill and its many confounding error messages. I've fixed many of them in this PR but won't commit because I don't know where the end of that trail will lead.  I am a total mill neophyte and unwilling to learn it since I will never use it again.
Sorry to disappoint everyone, but I'll just stick with 2.13.10 for now or switch to a LALR parser generator. Seems easier.

In the mean time is there any way to use this library in Scala 3 ?

No. Only macro-free Scala 2 libraries work with Scala 3. Fastparse is macro-based.

I've just create #266 which builds upon this and the previous PR
I've updated the mill project and library version and made fixes to cssparse and pythonparse. Now
mill cssparse.__.test
mill pythonparse.__.test

appear to work (jvm, js native).
scalaparse needs some macro work and a couple of tests are still failing.
I'm not sure how much time I'll have to continue, still we are almost at the point of having something working,

superseded by https://github.com/com-lihaoyi/fastparse/pull/266

superseded by https://github.com/com-lihaoyi/fastparse/pull/271


MINIO as Module Integration

Please Describe The Problem To Be Solved
To make devtron light we are removing the default MINIO integration and making it optional. Can be added later via config if required.
Add a check of blob configuration on artifact, logs and cache. if config available show stored artifact, logs and provide caching option. if not available provide user doc link to configure if he wants.

@kripanshdevtron when testing also cover scenario listed in #1656

@anupdhiran Thanx for sharing the link, we have also fixed this issue in this story.


[Feature-Request] install_requirements.py check for RPI

Start with the why:
If there are no prebuilt wheels for opencv (happens for RPI), building them fails often (example).
Move to the what:
Check in install_requirements.py if system is RPI and python version is not 3.7/3.9 and warn user that there are no prebuilt wheels for CV2 - so they should update OS/python version.
Move to the how:
/

@Erol444 this is now implemented as a part of https://github.com/luxonis/depthai/pull/448


Update quick-start.md

The old version is correct.
Perhaps this part of document is forgotten to be updated.

The new code is actually correct for Electron v0.35+.
If you are using and older version just use the old docs (e.g. https://github.com/atom/electron/tree/v0.34.3/docs).

I have another question, why npm install the v0.34 on ubuntu 14.04lts?


Fix: Use the id of the post for the Meetup rsvp-by-

As noticed by snarfed in bridg#906, there may not be an actor, as the
source post may not contain the correct Microformats2 to describe it.
We can instead use the id of the post (which should be unique) to
de-duplicate it.
We've updated the tests to show that it should be a URL, instead of a
tag, for clarity.

(btw feel free to grab me in chat if it's easier to iterate there!)

sure! works for me. thanks for your patience with all this back and forth! 😁


Open Folder Button

Is it possible or be a new feature to have an open folder (as opposed to file) button? The open file button is nice, but often I need to open a project/folder and there is no button for that.

You probably meant to open this issue on Main Tool Bar package, but if you want more control of the buttons you need Flex Tool Bar package.


Tests occasionally terminated when large files are open

My Node.js Mocha tests get occasionally terminated (and not even started) with the following error output on the console:
/usr/local/bin/node /path/to/project/node_modules/mocha/bin/_mocha /path/to/additional/testfile --ui bdd --reporter "/Users/myuser/Library/Application Support/IntelliJIdea15/NodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js" --recursive /path/to/project/test
[ '"postgres://configForDatabase"' ]
Error: EAGAIN: resource temporarily unavailable, write
    at Error (native)
    at Object.fs.writeSync (fs.js:658:20)
    at Object.writeSync (/Users/myuser/Library/Application Support/IntelliJIdea15/NodeJS/js/mocha-intellij/lib/mochaIntellijUtil.js:129:15)
    at /Users/myuser/Library/Application Support/IntelliJIdea15/NodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js:272:14
    at Tree.writeln (/Users/myuser/Library/Application Support/IntelliJIdea15/NodeJS/js/mocha-intellij/lib/mochaIntellijTree.js:21:5)
    at TestNode.Node.register (/Users/myuser/Library/Application Support/IntelliJIdea15/NodeJS/js/mocha-intellij/lib/mochaIntellijTree.js:109:13)
    at registerTestNode (/Users/myuser/Library/Application Support/IntelliJIdea15/NodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js:114:12)
    at /Users/myuser/Library/Application Support/IntelliJIdea15/NodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js:289:9
    at Array.forEach (native)
    at /Users/myuser/Library/Application Support/IntelliJIdea15/NodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js:288:13
    at executeSafely (/Users/myuser/Library/Application Support/IntelliJIdea15/NodeJS/js/mocha-intellij/lib/mochaIntellijUtil.js:114:5)
    at Runner.<anonymous> (/Users/myuser/Library/Application Support/IntelliJIdea15/NodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js:270:5)
    at emitNone (events.js:72:20)
    at Runner.emit (events.js:166:7)
    at start (/path/to/project/node_modules/mocha/lib/runner.js:732:10)
    at Runner.run (/path/to/project/node_modules/mocha/lib/runner.js:757:5)
    at Mocha.run (/path/to/project/node_modules/mocha/lib/mocha.js:486:17)
    at Object.<anonymous> (/path/to/project/node_modules/mocha/bin/_mocha:393:18)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Function.Module.runMain (module.js:467:10)
    at startup (node.js:136:18)
    at node.js:963:3

It happens reproducible when larger files are open (e.g. JavaScript file with more than 500 lines). When I close all open files, the tests mostly succeed. So it seems to be a performance issue…?
My configuration: OS X 10.11.2 on rather powerful a MacBook Pro; IntelliJ IDEA 15.0.2; Node.js 4.2.3; Mocha 2.3.3.; and I use ESLint as Code Quality Tool. It is a node.js project with about 1200 Test Cases, split above various files.

We noticed this starting to happen once we upgraded to IntelliJ 15. For us, it didn't seem to be related to file size. I've found that this error only happens when a test fails, but it doesn't always happen when a test fails.
In our case, we have a test we found it on, and we can modify it to fail normally in some cases, but they don't seem to point to an obvious problem (yet). Still looking into it.

@deyhle Sorry for the delay, missed the issue somehow.
Yeah, it's a known issue (https://youtrack.jetbrains.com/issue/WEB-19433). Looks like fs.writeSync may legally fail with EAGAIN and client should be ready for this. Well, mocha-intellij reporter wasn't ready for this.
It should be fixed in IntelliJ IDEA 15.0.3 #143.1821 with NodeJS plugin 143.1453.2.
Could you please try and confirm the fix?

@segrey: Updated to the versions specified. It seems to be working correctly, at least in our case that @NiXXeD referred to.

Yep it does appear to be working in the new version. Thanks!


You can get stuck in MRTK3 DisableInteractors Example if you turn off all interactors or select "VR" mode

Describe the bug
Yo can get stuck in MRTK3 DisableInteractors Example if you turn off all interactors
Reproduction 1
Steps to reproduce the behavior:

Go to DisableInteractors scene
Click "Common Modes > VR"
All AR input is disabled, and you can't leave the scene.  We should remove this "VR" option

Reproduction 2

Go to DisableInteractors scene
Click all buttons under "Toggle Pointers"3.
All AR input is disabled, and you can't leave the scene.  We should only allow one interactor to be disables at a time in this scene (make a radio button)
\

Fixed with

https://github.com/microsoft/MixedRealityToolkit-Unity/pull/11744


Documentation around adjusting pool_size

:wave:
As usual, thanks a lot for this excellent library!
One thing I found myself struggling with a bit yesterday was trying to adjust the pool size. I eventually found the documentation inside run_finch that pointed me in the right direction.
I.e. I'm now starting my own Finch pool under my application and am specifying it as finch: MyFinch when making requests with Req and it seems to work :tada:
Took me a while to get there/understand it - I had assumed as Req starts its own pool I could somehow change the default pool size Req uses but didn't find a way to do it. I mean ok I did find this comment on a PR but it discouraged setting it globally plus I think it also just meant setting finch: there vs. altering the default options that Req works with. Having Reqs pool size be adjustable may be nice, but of scope for this.
Improvements I see:

mention pool_size/pool size somewhere (search came up empty on the 0.5.4 docs)
link to the finch pool configuration docs to give people an easy leg up https://hexdocs.pm/finch/Finch.html#start_link/1-pool-configuration-options
maybe add some more higher level documentation, unsure if in the README/pages or the main Req module. It makes sense that the main docs are under the run_finch step but adjusting pool size feels important enough to deserve a shoutout (esp. since people looking for it will usually want to fix/increase it fast :grin: )

Very happy to make a PR trying to improve on these myself if you agree, just wanted to check in first and get some feedback :)
Thanks for all your work once again!

Please send a PR!


Mosaic#tabs

this is still a wip

@denismaxim0v, @kunalmohan, can you let me know when this is ready for another review?


Localization For Turkish

"Send"="Gönder"
"Load earlier messages"="Eski mesajları yükle"
"New Message"="Yeni Mesaj"

Codecov Report

Merging #2155 into develop will increase coverage by 3.63%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2155      +/-   ##
===========================================
+ Coverage    60.62%   64.26%   +3.63%
===========================================
  Files           63      106      +43
  Lines         2283     3458    +1175
  Branches       139      195      +56
===========================================
+ Hits          1384     2222     +838
- Misses         823     1147     +324
- Partials        76       89      +13

Impacted Files
Coverage Δ

...esViewController/Views/JSQMessagesCollectionView.h
25% <0%> (-15%)
:arrow_down:

...essagesViewController/Model/JSQLocationMediaItem.m
54.93% <0%> (-3.74%)
:arrow_down:

...SQMessagesViewController/Model/JSQPhotoMediaItem.m
80.56% <0%> (-1.02%)
:arrow_down:

...ntroller/Factories/JSQMessagesBubbleImageFactory.m
96.3% <0%> (-0.37%)
:arrow_down:

...Controller/Controllers/JSQMessagesViewController.h
100% <0%> (ø)
:arrow_up:

.../Factories/JSQMessagesMediaViewBubbleImageMasker.h
100% <0%> (ø)
:arrow_up:

...Layout/JSQMessagesCollectionViewLayoutAttributes.h
100% <0%> (ø)
:arrow_up:

...ontroller/Views/JSQMessagesLoadEarlierHeaderView.h
100% <0%> (ø)
:arrow_up:

JSQMessagesViewController/Model/JSQMediaItem.m
68.18% <0%> (ø)
:arrow_up:

...SQMessagesViewController/Model/JSQVideoMediaItem.h
100% <0%> (ø)
:arrow_up:

... and 78 more

@ulaserdegor thanks for submitting a PR. However, the changes seem to relate to images, not about the translation.

Hello everyone!
I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details:
http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊
Thanks for understanding,
— jsq


Disable stack protector for GNU M4 with MinGW

It would not build otherwise. This closes #171815.
Description of changes
Disables stack protection for GNU M4 when building with MinGW
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Please follow our CONTRIBUTING.md commit msg style

A newline also wouldn't hurt there


[HTTP2] Count down available streams in HTTP2Connections

Currently we don't make sure that we schedule a maximum of Int32.max/2 (=<PHONE_NUMBER>) on a single HTTP2Connection. We should do so in the connection and regular communicate the remaining streams back to the HTTPConnectionPool.
To allow use cases like querying services behind AWS ALB we should also make the starting max number configurable for users. If a user knows they will use AWS ALB, they should be able to configure 10k max streams on the client.

AWS Application Load Balancer seems to send a GOAWAY after 10k streams:
▿ FramePayload
  ▿ goAway : 3 elements
    ▿ lastStreamID : HTTP2StreamID(19999)
      - networkStreamID : 19999
    ▿ errorCode : HTTP2ErrorCode<0x0 No Error>
      - _networkCode : 0
    - opaqueData : nil

The load balancer sends a response code of 000
With HTTP/2 connections, if the compressed length of any of the headers exceeds 8K bytes or if the number of requests served through one connection exceeds 10,000, the load balancer sends a GOAWAY frame and closes the connection with a TCP FIN.

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-troubleshooting.html


Add careers link to footer

Add a “Careers” link to footer as requested in this task.

Thanks @colinta!


Issues regarding migrating ESP-Insights from idf-V4.4 to idf-V5.0

there are errors with deprecated file name for eg. sntp.h has been upgraded as esp_sntp.h and there many more file names such that. Anyone has figured it out or process is still in development. can some one provide migrating guide??

Hi @yorocoboy1 thanks for reporting. We will take a look and fix this. Deprecation, however, should be treated as warning and not error. Please check if you are adding stricter compiler flags, -Werror=deprecated-declarations in this case.

cc @sanketwadekar

This should have been sorted by now. Closing this.


Time is different if I do math on the fields in a SELECT

Directions
GitHub Issues are reserved for actionable bug reports and feature requests.
General questions should be sent to the InfluxDB Community Site.
Before opening an issue, search for similar bug reports or feature requests on GitHub Issues.
_If no similar issue can be found, fill out either the "Bug Report" or the "Feature Request" section below.
Erase the other section and everything on and above this line.
Bug report
System info: InfluxDB 1.2.2 on Fedora 25
Steps to reproduce:
The following query demonstrates this.  If I didn't do the math on the fields, I get a single results row as I would expect.
SELECT MAX("peak")/10.0*8 AS "peak",SUM("gauge")/620602.559674*8 AS "gauge" FROM m WHERE "tag1"="val1" AND time >= '2017-04-25T15:01:10Z' GROUP BY tag2, tag3

Expected behavior:
name: m
tags: tag2=valX, tag3=valY
time                 peak   gauge
----                 ----   -----
2017-04-25T15:01:10Z  3078.4      0.07711215375124872

Actual behavior:
name: m
tags: tag2=valX, tag3=valY
time                 peak   gauge
----                 ----   -----
2017-04-25T15:01:10Z        0.07711215375124872
2017-05-01T01:50:00Z 3078.4

Additional info:
https://community.influxdata.com/t/time-in-response-is-different-if-i-do-math-in-the-select-clause/797

This looks like a duplicate of #8167.


Check if files exist before using them

taskConcat() and taskMinify() do not seem to care if the file you try to use exists or not.
What about adding a generic method (could be implemented in a trait as well) that can be used in all tasks to check a string or an array (iterate over it) if it's a path or file and throw a hard error if it does not exist?

Yes, it should be added. Please do it )

Do you want to throw an exception or use one of the methods to print out an error? If yes, which one please. :)

@DavertMik whould this be good enough for you?
<?php
namespace Robo\Common;

trait FileAndFolderCheck
{
	use IO;

	/**
	 * Checks if the given input is a file or folder.
	 *
	 * @param string|array $resources
	 * @param string $type "file", "dir", "both"
	 * @return void
	 */
	protected function checkResources($resources, $type)
	{
		if (is_string($resources)) {
			$resources = [$resources];
		}
		foreach ($resources as $resource) {
			switch ($type) {
				case 'file':
					if (!$this->isFile($resource)) {
						$this->printTaskError(sprintf('File "%s" does not exist!'), $this);
					}
				case 'dir':
					if (!$this->isDir($resource)) {
						$this->printTaskError(sprintf('Directory "%s" does not exist!'), $this);
					}
				case 'both':
					if (!($this->isDir($resource) || $this->isFile($resource))) {
						$this->printTaskError(sprintf('File or directory "%s" does not exist!'), $this);
					}
			}
		}
	}

	/**
	 * Convenience method to check the often uses "source => target" file / folder arrays.
	 *
	 * @param string|array $resources
	 * @return void
	 */
	protected function checkSourceAndTargetResource($resources) {
		if (is_string($resources)) {
			$resources = [$resources];
		}
		$sources = [];
		$targets = [];
		foreach ($resources as $source => $target) {
			$sources[] = $source;
			$target[] = $target;
		}
		$this->checkResources($sources);
		$this->checkResources($targets);
	}

	protected function isDir($directory)
	{
		return is_dir($directory);
	}

	protected function isFile($file)
	{
		return file_exists($file);
	}
}

    protected function checkResources($resources, $type)
    {
        if (!in_array($type, ['file', 'dir', 'both'])) {
            throw new \InvalidArgumentException(sprintf('Invalid resource check of  type "%s" used!', $type));
        }
        if (is_string($resources)) {
            $resources = [$resources];
        }

I'd add resource types as constants (I think it is possible to attach constants to traits, or not)

I'd set the $type = 'both' so to have default type

I'd rename both because it's hard to guess what is it all about without a context

Why constants? There is not really a need outside of this method for them and you'll add the constants to everything that uses the trait. So you'll give them a pretty unique - long - naming.

OK

What's your suggestion? fileAndDir?

It is a good practice of PHP to not rely on strings and use constants... Anyway, it is up to you.
yes, fileAndDir would be ok, I think. But with bit-constants you could do it like FILE & DIR =)

I'm aware of this but it just makes sense in a case like UserRole::ADMIN or Gender::MALE. The values here are only used internally. Also by adding them to a trait will spread the constants across all tasks using the trait. FoobarTask::IS_DIR, SomeThingElseTask::IS_DIR...

OK

Agreed

Resolved by https://github.com/Codegyre/Robo/pull/238


Rework invoice template on pdf and admin show page

PDF:
Before:

After:

Show Page:
Before:

After:

The "Name" column should be aligned to left, not right :)

Done 👌🏻

Thank you, Tomasz! :tada:


vectorization in py_vollib

i am looking to calculate implied volatility using black scholes formula for european options for around 1 million + rows. I have the data stored required data like stock price, strike, option price etc in a dataframe. I am looking for a process which i can use to get the implied volatility calculated for all the rows rather than me manually looping through each and every row of the dataframe and calling py_vollib implied volatility function. What would you recommend so that i can speed up this entire process?

This is how I would do it.
>>>from py_vollib.black_scholes import black_scholes as bs
>>>from py_vollib.black_scholes.implied_volatility import implied_volatility as iv
>>>import pandas, numpy
>>>p=[bs('c', 100, 100, .5, .01, sigma) for sigma in numpy.linspace(.05,.3,10)]
>>>df = pandas.DataFrame()
>>>df['p']=p
>>>df['flag']='c'
>>>df['S']=100
>>>df['K']=100
>>>df['r']=.01
>>>df['t']=.5
>>>df.head()
...
          p flag    S    K     r    t
0  1.670303    c  100  100  0.01  0.5
1  2.446734    c  100  100  0.01  0.5
2  3.225586    c  100  100  0.01  0.5
3  4.005140    c  100  100  0.01  0.5
4  4.784811    c  100  100  0.01  0.5
>>>df['iv'] = df.apply(lambda row: iv(row.p, row.S, row.K, row.t, row.r, row.flag), axis=1)
>>>df.head()
...
          p flag    S    K     r    t        iv
0  1.670303    c  100  100  0.01  0.5  0.050000
1  2.446734    c  100  100  0.01  0.5  0.077778
2  3.225586    c  100  100  0.01  0.5  0.105556
3  4.005140    c  100  100  0.01  0.5  0.133333
4  4.784811    c  100  100  0.01  0.5  0.161111

Thank you for the response. Yes true this could be used. But for deep ITM calls which are below parity. Which happens a lot in European options for various reasons. The iV function fails and there is no way to accommodate that. What would you recommend in that case?
Thanks
Neetesh

On Apr 17, 2020, at 8:00 PM, pythonlarry<EMAIL_ADDRESS>wrote:

This is how I would do it.

from py_vollib.black_scholes import black_scholes as bs
from py_vollib.black_scholes.implied_volatility import implied_volatility as iv
import pandas, numpy
p=[bs('c', 100, 100, .5, .01, sigma) for sigma in numpy.linspace(.05,.3,10)]
df = pandas.DataFrame()
df['p']=p
df['flag']='c'
df['S']=100
df['K']=100
df['r']=.01
df['t']=.5
df.head()
...
p flag    S    K     r    t
0  1.670303    c  100  100  0.01  0.5
1  2.446734    c  100  100  0.01  0.5
2  3.225586    c  100  100  0.01  0.5
3  4.005140    c  100  100  0.01  0.5
4  4.784811    c  100  100  0.01  0.5
df['iv'] = df.apply(lambda row: iv(row.p, row.S, row.K, row.t, row.r, row.flag), axis=1)
df.head()
...
p flag    S    K     r    t        iv
0  1.670303    c  100  100  0.01  0.5  0.050000
1  2.446734    c  100  100  0.01  0.5  0.077778
2  3.225586    c  100  100  0.01  0.5  0.105556
3  4.005140    c  100  100  0.01  0.5  0.133333
4  4.784811    c  100  100  0.01  0.5  0.161111
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Implied vol is undefined for a call priced below intrinsic.  (Puts can have negative time value, so the same rule doesn't strictly apply to puts and calls, but it's a good rule of thumb)  Think about it:  price = f(sigma_hat).  Now set sigma_hat equal 10e-12, for example.  You will get a certain price, say P.  Remember that 10e-12 is the sigma_hat you put into f() that gives you P.  That means that P is essentially the intrinsic value plus a tiny, tiny amount of time value.  Now if you try to find the iv for P-0.1, for example, you're essentially requesting an iv that is considerably lower than 10e-12, i.e. negative iv.  But we don't define negative standard deviations, so you must implement some kind of exception handling for such 'nonsensical' prices.

what would you recommend how do you build exception handling around apply
and lambda functions?
On Sat, Apr 18, 2020 at 9:44 AM pythonlarry<EMAIL_ADDRESS>wrote:

Implied vol is undefined for a call priced below intrinsic. (Puts can have
negative time value, so the same rule doesn't strictly apply to puts and
calls, but it's a good rule of thumb) Think about it: price = f(sigma_hat).
Now set sigma_hat equal 10e-12, for example. You will get a certain price,
say P. Remember that 10e-12 is the sigma_hat you put into f() that gives
you P. That means that P is essentially the intrinsic value plus a tiny,
tiny amount of time value. Now if you try to find the iv for P-0.1, for
example, you're essentially requesting an iv that is considerably lower
than 10e-12, i.e. negative iv. But we don't define negative standard
deviations, so you must implement some kind of exception handling for such
'nonsensical' prices.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vollib/py_vollib/issues/14#issuecomment-615553112,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGT537KHW5CK7LQG33QHH2TRNESIPANCNFSM4MKV6QSA
.

--
Thank you,
Neetesh Rathod

I would make a new function like this:
>>>from py_lets_be_rational.exceptions import BelowIntrinsicException
>>>def iv_with_exception_handling(price, S, K, t, r, flag):
>>>    try:
>>>       return iv(price, S, K, t, r, flag)
>>>    except BelowIntrinsicException:
>>>        return numpy.nan

>>>iv_with_exception_handling(.1, 100, 100, .5, .01, 'c')
nan

Then, just substitute this back into the previous lambda function.

Thank you that was helpful. Appreciate your help.
Another question I have is regarding limiting the number of strikes for which I am calculating iV.  I know I could use moneyness but that would mean but that would have to treat $100 stock with 100 iV same as $100 stock with 15 iV. Which doesn’t make sense. What would you recommend?
Thanks
Neetesh

On Apr 18, 2020, at 7:22 PM, pythonlarry<EMAIL_ADDRESS>wrote:

I would make a new function like this:

from py_lets_be_rational.exceptions import BelowIntrinsicException
def iv_with_exception_handling(price, S, K, t, r, flag):
try:
return iv(price, S, K, t, r, flag)
except BelowIntrinsicException:
return numpy.nan

iv_with_exception_handling(.1, 100, 100, .5, .01, 'c')
nan
Then, just substitute this back into the previous lambda function.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi Neetesh,
That is a good question, and the answer has many nuances.  I think it depends on your objectives.  Some people will go for fixed log-moneyness boundaries, but there are other approaches.  I suggest taking some hints from Jim Gatheral's writings, or Peter Jaeckel's "Let's be Rational."
Good luck,
Larry

Really great solutions. Was facing the same problem and found this very helpful


Add version numbers

While the dates are great for the updates, many people would appreciate the version number attached to each update. The release notes are not fully helpful if the version that correlates with the release are not also published.

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

ID: b5eedcae-036a-4e99-e47f-9e2503b667b2
Version Independent ID: 3914f6ac-352c-8654-0d84-77bc066a734c
Content: Release notes for Microsoft Teams - Microsoft Teams
Content Source: Teams/release-notes/release-notes.md
Service: msteams
GitHub Login: @tonysmit
Microsoft Alias: tonysmit

@jascox19 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@jascox19 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

It would be nice to see versions, feature introductions, and issue resolution in Teams similar to what is provided for Teams Rooms.

It would be nice to see versions, feature introductions, and issue resolution in Teams similar to what is provided for Teams Rooms.

The most recent support article about what's new in Teams doesn't have version numbers for Desktop/Web, iOS, or Android but does for Desk phones and Teams Rooms on Android.

The most recent support article about what's new in Teams doesn't have version numbers for Desktop/Web, iOS, or Android but does for Desk phones and Teams Rooms on Android.

Hi @jascox19 @earthsound, thank you for your feedback and help us to improve docs.microsoft.com.
These are admin features, and I'm not sure if there are public version numbers assigned to them. Anyway, I'll pass your feedback to the product team because it's not the first time we receive a request to add version numbers to the client features article.
Thank you again!

Hi @jascox19 @earthsound, thank you for your feedback and help us to improve docs.microsoft.com.
These are admin features, and I'm not sure if there are public version numbers assigned to them. Anyway, I'll pass your feedback to the product team because it's not the first time we receive a request to add version numbers to the client features article.
Thank you again!

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


⚠ Bofrost.be has degraded performance

In 3c772f6, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1937 ms

Resolved: Bofrost.be performance has improved in f6621cb after 23 minutes.


Refactor ApiException and add support for any messages

Converts ApiException to a RuntimeException
Refactors static factory methods to support decoding Any messages in createFromRpcStatus
Add Any message decoding helper to Serializer
Add additional tests for ApiException

It won't improve usability directly - all of the public methods are the same. It will improve the readability of the exception message in the case that the metadata is supplied as a list of Any classes. I will update the description accordingly.

Actually it would be great to get everyone's input on converting ApiException to a RuntimeException. I am not all that confident that this is a good idea any more. I was originally thinking that ApiException fits the description of a RuntimeException as given here: http://php.net/manual/en/class.runtimeexception.php. And that this would be more informative. However, one downside is that IDEs won't prompt users to insert a missing try/catch (or at least, Intellij doesn't). WDYT?

Codecov Report

Merging #202 into master will increase coverage by 0.2%.
The diff coverage is 91.42%.

@@            Coverage Diff            @@
##           master     #202     +/-   ##
=========================================
+ Coverage   84.14%   84.35%   +0.2%
=========================================
  Files          63       63
  Lines        2826     2851     +25
=========================================
+ Hits         2378     2405     +27
+ Misses        448      446      -2

Impacted Files
Coverage Δ

src/ApiCore/ApiException.php
90% <100%> (+15%)
:arrow_up:

src/ApiCore/Serializer.php
91.89% <80%> (-1.05%)
:arrow_down:

Continue to review full report at Codecov.

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

Reverted back to 'Exception', PTAL

@tmatsuo gentle ping, it would be great to get this merged as it will unblock followup changes to add grpc-fallback support


Add Google Maps with markers of the public servers + Add the cities

@afgane If you want to check the styles for Google maps => https://snazzymaps.com/explore?tag=dark


[Feature Request] Full Calendar Component

Existing Component
No
Component Name
Full Calendar
Description
I think full calendar is important too...

Sorry, we have no plan to support this.


Shortcut (keys) in flask

I'm trying to find if there are any already in here, but what do you think if some shortcuts were added?  (When moving between images, some keys for the next action you want to take could save a lot of time).  In my case, for example, I'm doing poly lines each image, (although I'd probably assign it to something on the left of the kb).
(Sorry, I have no experience with flask so I'm a bit lost in this code).

Okay, for those who might find it useful, I modified the code for a couple keystrokes.  Please feel free to use this repo/branch and even extend it to include other shortcuts:
https://github.com/Britefury/django-labeller/pull/23


error: invalid command 'osx'

I installed briefcase using pip install briefcase, but then I couldn't run briefcase as I get:
(ENV)$ briefcase
-bash: briefcase: command not found

Now when I try and build the toga webkit browser test app I get the following error:
(ENV) $ python setup.py osx
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'osx'

This is probably because the briefcase commands have not been added to my virtual environment? OS X 10.11.4; Python 3.5.1

Hi Svan
Did you find a solution to this problem cause i have the exact same problem with python setup.py ios command ..
Thanks

@Cerise1 - If you've installed recently, you might have been caught by a recent update  - I've renamed "osx" to "macos" to reflect Apple's own renaming of the platform.
You may also have problems if you've installed via python setup.py install,  rather than pip install.
Let me know if either of these correct the problem for you. Leaving this open as a marker to update the docs to say "macos", not "osx"

hi freakboy, thanks for your quick reply !
My problem was not with the osx command but with the iOS command cause i try to create an application for ios !
And yes i ve installed briefcase with pip install briefcase !
when i try the command i got :
` python setup.py ios
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'ios'`
and when i try python setup.py --help-commands it shows only some native command like build sdist etc ...

Ah - another option: What version of setuptools do you have installed? Older versions are known to have some problems installing distutils hooks. Try the following:
pip uninstall briefcase
pip install --upgrade setuptools
pip install briefcase

hum pip gave me an error so i upgrade with easy-install and it worked !
But then exact same error with ios macos or android !
to make sure i am not wrong on the procedure :
i have a directory on my linux distro with a main.py file wich lauch au python script, i also created a setup.py file as described in the briefcase readme on the same directory.
Then i go on the terminal cd to the directory and run python setup.py ios
then i get the error :(

I had the same error because I was using distutils.core instead of setuptools setup, which is required for handling the iOS, macos and android entry points.

I'm guessing this means we should add setuptools>=27.0 as an install_requires entry. We should probably update the pip requirement to pip>=8.1 while we're at it.

Fixed by #18


Go to position relative to a feature

Request/Suggestion from a user: It would be useful to be able to navigate to a position relative to the start of a feature. For example: Go to the 10th nucleotide of transcript X. This is because often variants are reported relative to the start of a feature rather than as a genomic position. Perhaps we could also support positions within proteins (e.g. go to the 10th aminoacid of protein Y).
I guess for implementation one would have to convert relative coordinates to genomic coordinates and for this you need to skip introns.

I am working on somewhat similar things to map protein coordinates to genome coordinates and vice versa for some projects in jb2 (specifically MSA viewer and protein 3d structure viewer). It's a tricky problem. If there is interest in collaborating on it let me know, it may be that similar concepts can be used for navigation

For information: In Artemis, there's an option to Go To > Feature Base position.  If you're interested in codon positions, you have to make sure it's the CDS model that's selected.
Go to > Feature amino acid position is another option in the same menu


How to add the style "cursor:pointer" to the element  ?

Example:

I wonder is there any way  to do this without modifying js or css?

You can try replacing the link with "#" or with "#[blank]" (for new tab) for implementing the "cursor:pointer" without changing js or css.
st=>start: Start:>#[blank]
e=>end:>#


Contribute to the thought process for 3rd party language packaging if you'd like

Contribute to the thought process for 3rd party language packaging if you'd like
As a maintainer of a Highlight.js language grammar you might be interested in the discussion of an official packaging format.  I just created an issue to track the discussion and I've been working on this along with the new build system.
https://github.com/highlightjs/highlight.js/issues/2328
Sorry for the spam, but I couldn't think of an easier way to ping the people who might be most interested in weighing in on the subject.  Feel free to simply close this issue or leave it open (whatever works best for you!).

closed because https://github.com/highlightjs/highlight.js/issues/3008 has been resolved.

@joshgoebel, does the repo highlightjs-cypher need to be updated?

@gusbemacbe

 hljs.initHighlightingOnLoad() has been deprecated.
charset="UTF-8" isn't necessary for minified distributables - they are ASCII now

* `hljs.initHighlightingOnLoad()` has been deprecated.

I will check your documentation to replace it.

I will replace it with hljs.highlightAll(), right, @joshgoebel ?

Yep.


Travis CI: Run the test suite with Node.js 5.0.

Fixes #1366

Current coverage is 100.00%

Merging #1367 into master will not affect coverage as of 75f4640

@@            master   #1367   diff @@
======================================
  Files            1       1
  Stmts         3088    3088
  Branches       585     585
  Methods          0       0
======================================
  Hit           3088    3088
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 75f4640

Powered by Codecov. Updated on successful CI builds.

Changes Unknown when pulling 75f464058b580ffed06bab90db9f0c9ff2db348e on ariya:nodejs-5 into ** on jquery:master**.


Update random provider to 3.2

@midu-git
Thanks for the PR! 🚀✅ Lint checks have passed.

random provider has introduced bcrypt_hash as output to random_password in version 3.2. We use this output in our setup making this module not usable for us. However, there is no requirement in this module to stick on version 3.1.

@midu-git IIUC you would like to v3.2 of the provider. This module should support any version greater than 3.1, so we would not need to bump the min verson.


Update portfolio contribution for Kheng Yang

No milestone becuase this can be done in v1.6

no dispute for contributions/optional, hence no update


⚠ TiendaEnLinea has degraded performance

In 283315d, TiendaEnLinea (https://www.fahorro.com/) experienced degraded performance:

HTTP code: 200
Response time: 5213 ms

Resolved: TiendaEnLinea performance has improved in 8aa6e1f.


pod has unbound immediate PersistentVolumeClaims while trying demo

Probably not directly a bug, but while giving a try to the docs and following the demo, especially this one: https://banzaicloud.com/docs/one-eye/logging-operator/quickstarts/kafka-nginx/
I get from the logs: pod has unbound immediate PersistentVolumeClaims
I am trying this with minikube using helm
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
helm update
helm install --namespace logging logging banzaicloud-stable/logging-operator --set createCustomResource=false
helm install --namespace logging logging-demo banzaicloud-stable/logging-demo --set kafka.enabled=True

But I am stuck with this error (kubectl -n logging describe pod logging-demo-fluentd-0):
Events:
 Type Reason Age From Message
 ---- ------ ---- ---- -------
 Warning FailedScheduling 68s (x24 over 29m) default-scheduler running "VolumeBinding" filter plugin for pod "logging-demo-fluentd-0": pod has unbound immediate PersistentVolumeClaims

Any idea about how to fix this?
Thanks in advance.

Hello, i have same problem

Hi, this is a minikube releadet issue https://github.com/kubernetes/minikube/issues/3869 please use older kuberenetes version minikube config set kubernetes-version 1.17.0


feat: state management and sync popover

Closes #66
Closes #67
This PR sets up the @preact-signals/safe-react library as the state management and showcases its usage with the SyncBar and StatusPopover implementation.
Why Signals?
Signals is the most primitive state management library. It is basically a global variable that you can share between components. With the help of the SWC compiler, all components are smart enough to automatically subscribe to the signal updates. In my opinion, it is better than other libraries not because it has something extra but exactly because it doesn't have unnecessary overhead.

Curious your thoughts on Dan Abramov's comment. Is this implementation of signals getting us into a place that will hurt future upgrades?
Mobx has a quite similar, signal-esc API. Should we consider that instead for less future risk?
Also, I wonder what state management libraries will be compatible with server components if/when we use this.

@grod220 You might be right about Signals – it might truly be broken in the future, my oversight. I still believe it's React's problem that it cannot support this API without hacks.
Anyway, after a couple more thoughts, I tend towards Zustand instead of Mobx. They both are great in terms of the component updates only when necessary but Mobx discourages me with its observer HOC and the need to pass the state instance as props – usually this means having global state.
Before changing this PR, I propose we use Zustand but differently from Penumbra Minifront. We should not try to implement global state with Zustand but keep it localized by feature. Let's say we have a feature "sync status" that requests data and stores it in the state. It would be best to place UI, api and state in the same directory, and keep it as independent as possible. Having the global state makes it mostly uncontrollable and more difficult to test. Local by-feature state would help decouple the code and make it more scalable and future proof.
As for the server components, idk if they even need state management. So far I've only seen the minimal request-and-render server components.


ui: fix for truncated name for project accounts

Fixes truncated name for accounts in project details UI
Existing behaviour,

While Accounts page table showed the complete name,

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
UI after changes,

How Has This Been Tested?
UI

@DaanHoogland @PaulAngus can you please review

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-513

LGTM

(please forward merge @DaanHoogland to 4.14 as well?)


Updating to<EMAIL_ADDRESS>

This change updates beaker to require<EMAIL_ADDRESS>as much
of the code was converted to use native es6 concepts like arrow functions.
Also snuck in the beginnings of TypeScript support ;)

This is a doozy, we may need a team effort here @psbanka @sandersky @danjres

hmm, seems to be a build failure with<EMAIL_ADDRESS>on travis, even though it works on the mac...