Compatibility with Expo and web

Great project, thanks for making it available -- I couldn't find any other RN libraries that provide such full functionality.
I installed the package as shown in the README (including changes to metro.config.js), but

when running npx expo start -c with web I run into the following error:

Unable to resolve "react-async-hook" from "node_modules/react-native-international-phone-number/node_modules/react-native-country-picker-modal/lib/Flag.js"

when running eas update --auto for Expo EAS updates I run into the following error:

[expo-cli] Error: While trying to resolve module `react-async-hook` from file `/Users/uzaymacar/Projects/<PROJECT_NAME>/node_modules/react-native-international-phone-number/node_modules/react-native-country-picker-modal/lib/Flag.js`, the package `/Users/uzaymacar/Projects/<PROJECT_NAME>/node_modules/react-native-international-phone-number/node_modules/react-async-hook/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/Users/uzaymacar/Projects/<PROJECT_NAME>/node_modules/react-native-international-phone-number/node_modules/react-async-hook/react-async-hook.esm.js`. Indeed, none of these files exist:

[expo-cli]   * /Users/uzaymacar/Projects/<PROJECT_NAME>/node_modules/react-native-international-phone-number/node_modules/react-async-hook/react-async-hook.esm.js(.web.jsx|.jsx|.web.js|.js|.web.ts|.ts|.web.tsx|.tsx|.web.cjs|.cjs|.web.json|.json)
[expo-cli]   * /Users/uzaymacar/Projects/<PROJECT_NAME>/node_modules/react-native-international-phone-number/node_modules/react-async-hook/react-async-hook.esm.js/index(.web.jsx|.jsx|.web.js|.js|.web.ts|.ts|.web.tsx|.tsx|.web.cjs|.cjs|.web.json|.json)

Any ideas how to solve this?

Hello @uzaymacar
I tried to simulate your problem, but I couldn't.
Below is the step by step of my simulation:
I started an expo bare workflow project (npx create-expo-app --template bare-minimum) and just installed the lib react-native-international-phone-number (npm i react-native-international-phone-number).
I did the following tests:

First I run the npx expo start -c command and the app worked normally (print 1);
Second I tested with the command you used (npx expo start -c --web) and it worked fine (print 2) - before I needed to install dependencies to support the web version (https://docs.expo.dev/workflow/web/).

Unfortunately I couldn't replicate your problem. I leave below the package.json data and the versions of the frameworks/libs used:
{
{ "name": "my-app",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios", "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"expo": "48.0.18",
"expo-splash-screen": "0.18.2",
"expo-status-bar": "1.4.4",
"react": "18.2.0",
"react-native": "0.71.8",
"react-native-international-phone-number": "0.4.6",
"@expo/webpack-config": "18.0.1",
"react-dom": "18.2.0",
"react-native-web": "0.18.10"
},
"devDependencies": {
"@babel/core": "7.20.0"
},
"private": true
}

Thanks for your quick response and analysis @AstrOOnauta! It helps to know that the problem is with my setup -- I'll try replicate your config and get back to you if the issue persists.

You're welcome, @uzaymacar!
If you discover the cause of the problem...please, share it with us for future users ;)

I ended up having this issue.
The end cause is likely because react-async-hook isn't downloaded to version 4.0.0 on your machine. You can confirm this with
yarn/npm why react-async-hook. You likely have it at 3.6.1
There was an issue in previous versions where it incorrectly told the package manager the code for react-async-hook was at it's root folder as opposed to it's dist folder.
You can either
patch react-async-hook to fix the location
-  "module": "react-async-hook.esm.js",
+  "module": "dist/react-async-hook.esm.js",

or add a yarn resolution / npm override for that package to v4.0.0
yarn
"resolutions": {
  "react-async-hook": "4.0.0"
}

npm
"overrides": {
  "react-async-hook": "4.0.0"
}


show the filename in errors when executing commands from yaml files

A convenience feature - when there's an error executing a yaml package, prints the name of the yaml file the code is from.

I've fixed this in resources2 branch. Closing.

Awesome, thanks!
On Wed, Mar 25, 2015 at 6:27 PM, allan johns<EMAIL_ADDRESS>wrote:

Closed #148 https://github.com/nerdvegas/rez/pull/148.
—
Reply to this email directly or view it on GitHub
https://github.com/nerdvegas/rez/pull/148#event-265366000.


Any toggle switch in GUI editor makes card unresponsive

No matter what browser I try whenever I hit one of the switches in the appearance settings the browser goes completely unresponsive, I've tried this on both Arc Browser (chromium) and Safari and both are the same result.

Same here!

same here as well.

Does nobody have a solution?

same here


[Feature]: Export MockedObject & similar utility types?

🚀 Feature Proposal
Could TypeScript types such as MockedObject please be exported from some package that consumers would have access to while using the @jest/globals package?
Motivation
It'd be convenient for declaring types of objects that contain mocks. Right now there's now easy way to declare in the type system that an object is a MockedObject<T> for any T object type.
Example
In https://github.com/typescript-eslint/tslint-to-eslint-config/pull/1458 I'm trying to get the TypeScript types to work for a createStubWritableStream function that returns a mocked version of a NodeJS.WritableStream. Here's a minimum reproduction in the TypeScript playground.
Pitch
MockedObject isn't exported in any way I can find -nor documented on the website-. There's no way to declare the return type of createStubWritableStream -or variables that store that value type- to be MockedObject<NodeJS.WritableStream>.
Even if I'm using jest.fn() and/or the types wrong, being able to refer to MockedObject<...> is quite useful for debugging type system woes such as this one.

Did you check these from jest-mock:
https://github.com/facebook/jest/blob/49393d01cdda7dfe75718aa1a6586210fa197c72/packages/jest-mock/src/index.ts#L77-L87
Documentation is missing, but seems to be exposed. Or these aren’t exactly what you need?

I think those are exactly what I need, yes and thank you! +1 to documentation existing -- I'd assumed jest-mock was an internal package not meant for consumer.

Current I work on #12727. It will add Mocked utility type to Jest object (similar to jest.Mocked from @types/jest) for those who import {jest} from '@jest/globals'. Documentation will be part of that PR, of course.

Documenting that all the mock types are available from jest-mock seems reasonable. Not sure putting all of them on jest makes sense, but making sure they are consumable from jest-mock sounds good

From https://github.com/facebook/jest/pull/12856#issuecomment-1214150532
#12727 landed recently adding refreshed (see #13123) utility types jest.Mocked, jest.MockedClass, jest.MockedFunction and jest.MockedObject. Will be released with Jest 29. Simply import {jest} from '@jest/globals' and use them. Docs: https://jestjs.io/docs/next/mock-function-api#jestmockedsource
@JoshuaKGoldberg @alesmenzel Just wanted to ask – are there any other types you would find useful?

This looks like all I'd need for now, thank you very much!


Vortex scans changed its URL

Source information
Vortex scans 1.4.34
Source language
English
Source new URL
https://vortexscans.com/
Other details
Vortex scans changed its URL to
https://vortexscans.com/
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

Vortex scans has changed back its URL to Old URL
https://vortexscans.org/,
So this issues can be closed.


Digital Miner does nothing when Silk Touch is activated

Issue description:
When activating the silk touch Feature in the digital miner, the digital miner just stops working, even though "All well" is shown. The ore Counts no longer down and no ore is delivered.
Version (make sure you are on the latest version before reporting):
Forge: 2513
Mekanism: <IP_ADDRESS>6
I don't know if this is a bug, or has any other reason, as i never used Silk Touch in the miner before.
There is enough electricity, as the digital miner is fed by a creative engine, as i'm atm using it to check if my worldgen is as i want it.

From discussions on discord seems like a two parter:

some blocks are failing to silk touch and process does not continue
enabling silk while running might not correctly activate

I can confirm this, even after silk touch is turned off, miner continues to stall. I tried replacing it with another and using a creative energy cube and the new one stalls as well, without silk touch turned on.


 System Windows_NT 10.0.17134
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "build"

The module is fairly old (and I'd say not needed anymore), so it hasn't been updated in a while and hence does not account for any potential recent changes. If you absolutely need it, I'd suggest creating a PR with a fix, otherwise I'd suggest using an alternative.


Can't resolve the version of 'SUSE:sles-15-sp3:gen2'

Describe the bug
az vm image list command list SuseSles15SP3 as an alias.
toshi [ ~ ]$ az vm image list -o table
You are viewing an offline list of images, use --all to retrieve an up-to-date list
Architecture    Offer                         Publisher               Sku                                 Urn                                                                             UrnAlias                 Version
--------------  ----------------------------  ----------------------  ----------------------------------  ------------------------------------------------------------------------------  -----------------------  ---------
x64             CentOS                        OpenLogic               8_5-gen2                            OpenLogic:CentOS:8_5-gen2:latest                                                CentOS85Gen2             latest
x64             debian-11                     Debian                  11-backports-gen2                   Debian:debian-11:11-backports-gen2:latest                                       Debian11                 latest
x64             flatcar-container-linux-free  kinvolk                 stable-gen2                         kinvolk:flatcar-container-linux-free:stable-gen2:latest                         FlatcarLinuxFreeGen2     latest
x64             openSUSE-leap-15-4            SUSE                    gen2                                SUSE:openSUSE-leap-15-4:gen2:latest                                             OpenSuseLeap154Gen2      latest
x64             RHEL                          RedHat                  8-lvm-gen2                          RedHat:RHEL:8-lvm-gen2:latest                                                   RHELRaw8LVMGen2          latest
x64             sles-15-sp3                   SUSE                    gen2                                SUSE:sles-15-sp3:gen2:latest                                                    SuseSles15SP3            latest
x64             0001-com-ubuntu-server-jammy  Canonical               22_04-lts-gen2                      Canonical:0001-com-ubuntu-server-jammy:22_04-lts-gen2:latest                    Ubuntu2204               latest
x64             WindowsServer                 MicrosoftWindowsServer  2022-datacenter-g2                  MicrosoftWindowsServer:WindowsServer:2022-datacenter-g2:latest                  Win2022Datacenter        latest
x64             WindowsServer                 MicrosoftWindowsServer  2022-datacenter-azure-edition-core  MicrosoftWindowsServer:WindowsServer:2022-datacenter-azure-edition-core:latest  Win2022AzureEditionCore  latest
x64             WindowsServer                 MicrosoftWindowsServer  2019-datacenter-gensecond           MicrosoftWindowsServer:WindowsServer:2019-datacenter-gensecond:latest           Win2019Datacenter        latest
x64             WindowsServer                 MicrosoftWindowsServer  2016-datacenter-gensecond           MicrosoftWindowsServer:WindowsServer:2016-datacenter-gensecond:latest           Win2016Datacenter        latest
x64             WindowsServer                 MicrosoftWindowsServer  2012-R2-Datacenter                  MicrosoftWindowsServer:WindowsServer:2012-R2-Datacenter:latest                  Win2012R2Datacenter      latest
x64             WindowsServer                 MicrosoftWindowsServer  2012-Datacenter                     MicrosoftWindowsServer:WindowsServer:2012-Datacenter:latest                     Win2012Datacenter        latest

However, the alias is actually not usable.
toshi [ ~ ]$ az vm create -g 82597 -n susevm --image SuseSles15SP3
Can't resolve the version of 'SUSE:sles-15-sp3:gen2'

toshi [ ~ ]$ az vm image show --urn SUSE:sles-15-sp3:gen2:latest
Can't resolve the version of 'SUSE:sles-15-sp3:gen2'

Related command
az vm create, az vm image
Errors
Can't resolve the version of 'SUSE:sles-15-sp3:gen2'

Issue script & Debug output
toshi [ ~ ]$ az vm image show --urn SUSE:sles-15-sp3:gen2:latest --debug
cli.knack.cli: Command arguments: ['vm', 'image', 'show', '--urn', 'SUSE:sles-15-sp3:gen2:latest', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7fa2788b81f0>, <function OutputProducer.on_global_arguments at 0x7fa278778b80>, <function CLIQuery.on_global_arguments at 0x7fa278712160>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'vm': ['azure.cli.command_modules.vm']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: vm                        0.181        58       247
cli.azure.cli.core: Total (1)                 0.181        58       247
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: ai-examples               0.052         1         1  /usr/lib/python3.9/site-packages/azure-cli-extensions/ai-examples
cli.azure.cli.core: Total (1)                 0.052         1         1
cli.azure.cli.core: Loaded 59 groups, 248 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : vm image show
cli.azure.cli.core: Command table: vm image show
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7fa277b6f790>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/toshi/.azure/commands/2024-10-22.10-47-09.vm_image_show.689.log'.
az_command_data_logger: command args: vm image show --urn {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x7fa277b994c0>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x7fa277b3e4c0>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x7fa277b5c3a0>, <function register_upcoming_breaking_change_info.<locals>.update_breaking_change_info at 0x7fa277b5c430>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7fa278778c10>, <function CLIQuery.handle_query_parameter at 0x7fa2787121f0>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x7fa277b5c310>]
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=SubscriptionClient
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2554
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: MSIAuthenticationWrapper.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2554
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: Normalize expires_on: '1729597769' -><PHONE_NUMBER>
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/<subscriptionid>/locations?api-version=2022-12-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'fc69f63c-9062-11ef-bda4-00155d822b67'
cli.azure.cli.core.sdk.policies:     'CommandName': 'vm image show'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--urn --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.65.0 (RPM) azsdk-python-core/1.28.0 Python/3.9.19 (Linux-<IP_ADDRESS>-microsoft-standard-x86_64-with-glibc2.35) cloud-shell/1.0'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/<subscriptionid>/locations?api-version=2022-12-01 HTTP/1.1" 200 42680
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Content-Length': '42680'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '249'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-global-reads': '3749'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'b75752b0-3871-4d83-a48f-a63cc47035bc'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'b75752b0-3871-4d83-a48f-a63cc47035bc'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'SOUTHEASTASIA:20241022T104710Z:b75752b0-3871-4d83-a48f-a63cc47035bc'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.sdk.policies:     'X-MSEdge-Ref': 'Ref A: 4B91E9108E694B359F4768299F880EB5 Ref B: MAA201060513047 Ref C: 2024-10-22T10:47:09Z'
cli.azure.cli.core.sdk.policies:     'Date': 'Tue, 22 Oct 2024 10:47:10 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"value":[{"id":"/subscriptions/<subscriptionid>/locations/eastus","name":"eastus","type":"Region","displayName":"East US","regionalDisplayName":"(US) East US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"United States","geographyGroup":"US","longitude":"-79.8164","latitude":"37.3719","physicalLocation":"Virginia","pairedRegion":[{"name":"westus","id":"/subscriptions/<subscriptionid>/locations/westus"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"eastus-az3"},{"logicalZone":"2","physicalZone":"eastus-az1"},{"logicalZone":"3","physicalZone":"eastus-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/southcentralus","name":"southcentralus","type":"Region","displayName":"South Central US","regionalDisplayName":"(US) South Central US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"United States","geographyGroup":"US","longitude":"-98.5","latitude":"29.4167","physicalLocation":"Texas","pairedRegion":[{"name":"northcentralus","id":"/subscriptions/<subscriptionid>/locations/northcentralus"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"southcentralus-az3"},{"logicalZone":"2","physicalZone":"southcentralus-az1"},{"logicalZone":"3","physicalZone":"southcentralus-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/westus2","name":"westus2","type":"Region","displayName":"West US 2","regionalDisplayName":"(US) West US 2","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"United States","geographyGroup":"US","longitude":"-119.852","latitude":"47.233","physicalLocation":"Washington","pairedRegion":[{"name":"westcentralus","id":"/subscriptions/<subscriptionid>/locations/westcentralus"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"westus2-az3"},{"logicalZone":"2","physicalZone":"westus2-az1"},{"logicalZone":"3","physicalZone":"westus2-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/westus3","name":"westus3","type":"Region","displayName":"West US 3","regionalDisplayName":"(US) West US 3","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"United States","geographyGroup":"US","longitude":"-112.074036","latitude":"33.448376","physicalLocation":"Phoenix","pairedRegion":[{"name":"eastus","id":"/subscriptions/<subscriptionid>/locations/eastus"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"westus3-az3"},{"logicalZone":"2","physicalZone":"westus3-az1"},{"logicalZone":"3","physicalZone":"westus3-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/australiaeast","name":"australiaeast","type":"Region","displayName":"Australia East","regionalDisplayName":"(Asia Pacific) Australia East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Australia","geographyGroup":"Asia Pacific","longitude":"151.2094","latitude":"-33.86","physicalLocation":"New South Wales","pairedRegion":[{"name":"australiasoutheast","id":"/subscriptions/<subscriptionid>/locations/australiasoutheast"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"australiaeast-az3"},{"logicalZone":"2","physicalZone":"australiaeast-az1"},{"logicalZone":"3","physicalZone":"australiaeast-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/southeastasia","name":"southeastasia","type":"Region","displayName":"Southeast Asia","regionalDisplayName":"(Asia Pacific) Southeast Asia","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Asia Pacific","geographyGroup":"Asia Pacific","longitude":"103.833","latitude":"1.283","physicalLocation":"Singapore","pairedRegion":[{"name":"eastasia","id":"/subscriptions/<subscriptionid>/locations/eastasia"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"southeastasia-az3"},{"logicalZone":"2","physicalZone":"southeastasia-az1"},{"logicalZone":"3","physicalZone":"southeastasia-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/northeurope","name":"northeurope","type":"Region","displayName":"North Europe","regionalDisplayName":"(Europe) North Europe","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Europe","geographyGroup":"Europe","longitude":"-6.2597","latitude":"53.3478","physicalLocation":"Ireland","pairedRegion":[{"name":"westeurope","id":"/subscriptions/<subscriptionid>/locations/westeurope"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"northeurope-az3"},{"logicalZone":"2","physicalZone":"northeurope-az1"},{"logicalZone":"3","physicalZone":"northeurope-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/swedencentral","name":"swedencentral","type":"Region","displayName":"Sweden Central","regionalDisplayName":"(Europe) Sweden Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Sweden","geographyGroup":"Europe","longitude":"17.14127","latitude":"60.67488","physicalLocation":"Gävle","pairedRegion":[{"name":"swedensouth","id":"/subscriptions/<subscriptionid>/locations/swedensouth"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"swedencentral-az3"},{"logicalZone":"2","physicalZone":"swedencentral-az1"},{"logicalZone":"3","physicalZone":"swedencentral-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/uksouth","name":"uksouth","type":"Region","displayName":"UK South","regionalDisplayName":"(Europe) UK South","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"United Kingdom","geographyGroup":"Europe","longitude":"-0.799","latitude":"50.941","physicalLocation":"London","pairedRegion":[{"name":"ukwest","id":"/subscriptions/<subscriptionid>/locations/ukwest"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"uksouth-az3"},{"logicalZone":"2","physicalZone":"uksouth-az1"},{"logicalZone":"3","physicalZone":"uksouth-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/westeurope","name":"westeurope","type":"Region","displayName":"West Europe","regionalDisplayName":"(Europe) West Europe","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Europe","geographyGroup":"Europe","longitude":"4.9","latitude":"52.3667","physicalLocation":"Netherlands","pairedRegion":[{"name":"northeurope","id":"/subscriptions/<subscriptionid>/locations/northeurope"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"westeurope-az3"},{"logicalZone":"2","physicalZone":"westeurope-az1"},{"logicalZone":"3","physicalZone":"westeurope-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/centralus","name":"centralus","type":"Region","displayName":"Central US","regionalDisplayName":"(US) Central US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"United States","geographyGroup":"US","longitude":"-93.6208","latitude":"41.5908","physicalLocation":"Iowa","pairedRegion":[{"name":"eastus2","id":"/subscriptions/<subscriptionid>/locations/eastus2"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"centralus-az3"},{"logicalZone":"2","physicalZone":"centralus-az1"},{"logicalZone":"3","physicalZone":"centralus-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/southafricanorth","name":"southafricanorth","type":"Region","displayName":"South Africa North","regionalDisplayName":"(Africa) South Africa North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"South Africa","geographyGroup":"Africa","longitude":"28.21837","latitude":"-25.73134","physicalLocation":"Johannesburg","pairedRegion":[{"name":"southafricawest","id":"/subscriptions/<subscriptionid>/locations/southafricawest"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"southafricanorth-az3"},{"logicalZone":"2","physicalZone":"southafricanorth-az1"},{"logicalZone":"3","physicalZone":"southafricanorth-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/centralindia","name":"centralindia","type":"Region","displayName":"Central India","regionalDisplayName":"(Asia Pacific) Central India","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"India","geographyGroup":"Asia Pacific","longitude":"73.9197","latitude":"18.5822","physicalLocation":"Pune","pairedRegion":[{"name":"southindia","id":"/subscriptions/<subscriptionid>/locations/southindia"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"centralindia-az3"},{"logicalZone":"2","physicalZone":"centralindia-az1"},{"logicalZone":"3","physicalZone":"centralindia-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/eastasia","name":"eastasia","type":"Region","displayName":"East Asia","regionalDisplayName":"(Asia Pacific) East Asia","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Asia Pacific","geographyGroup":"Asia Pacific","longitude":"114.188","latitude":"22.267","physicalLocation":"Hong Kong","pairedRegion":[{"name":"southeastasia","id":"/subscriptions/<subscriptionid>/locations/southeastasia"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"eastasia-az3"},{"logicalZone":"2","physicalZone":"eastasia-az1"},{"logicalZone":"3","physicalZone":"eastasia-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/japaneast","name":"japaneast","type":"Region","displayName":"Japan East","regionalDisplayName":"(Asia Pacific) Japan East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Japan","geographyGroup":"Asia Pacific","longitude":"139.77","latitude":"35.68","physicalLocation":"Tokyo, Saitama","pairedRegion":[{"name":"japanwest","id":"/subscriptions/<subscriptionid>/locations/japanwest"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"japaneast-az3"},{"logicalZone":"2","physicalZone":"japaneast-az1"},{"logicalZone":"3","physicalZone":"japaneast-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/koreacentral","name":"koreacentral","type":"Region","displayName":"Korea Central","regionalDisplayName":"(Asia Pacific) Korea Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Korea","geographyGroup":"Asia Pacific","longitude":"126.978","latitude":"37.5665","physicalLocation":"Seoul","pairedRegion":[{"name":"koreasouth","id":"/subscriptions/<subscriptionid>/locations/koreasouth"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"koreacentral-az3"},{"logicalZone":"2","physicalZone":"koreacentral-az1"},{"logicalZone":"3","physicalZone":"koreacentral-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/canadacentral","name":"canadacentral","type":"Region","displayName":"Canada Central","regionalDisplayName":"(Canada) Canada Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Canada","geographyGroup":"Canada","longitude":"-79.383","latitude":"43.653","physicalLocation":"Toronto","pairedRegion":[{"name":"canadaeast","id":"/subscriptions/<subscriptionid>/locations/canadaeast"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"canadacentral-az3"},{"logicalZone":"2","physicalZone":"canadacentral-az1"},{"logicalZone":"3","physicalZone":"canadacentral-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/francecentral","name":"francecentral","type":"Region","displayName":"France Central","regionalDisplayName":"(Europe) France Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"France","geographyGroup":"Europe","longitude":"2.373","latitude":"46.3772","physicalLocation":"Paris","pairedRegion":[{"name":"francesouth","id":"/subscriptions/<subscriptionid>/locations/francesouth"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"francecentral-az3"},{"logicalZone":"2","physicalZone":"francecentral-az1"},{"logicalZone":"3","physicalZone":"francecentral-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/germanywestcentral","name":"germanywestcentral","type":"Region","displayName":"Germany West Central","regionalDisplayName":"(Europe) Germany West Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Germany","geographyGroup":"Europe","longitude":"8.682127","latitude":"50.110924","physicalLocation":"Frankfurt","pairedRegion":[{"name":"germanynorth","id":"/subscriptions/<subscriptionid>/locations/germanynorth"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"germanywestcentral-az3"},{"logicalZone":"2","physicalZone":"germanywestcentral-az1"},{"logicalZone":"3","physicalZone":"germanywestcentral-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/italynorth","name":"italynorth","type":"Region","displayName":"Italy North","regionalDisplayName":"(Europe) Italy North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Italy","geographyGroup":"Europe","longitude":"9.18109","latitude":"45.46888","physicalLocation":"Milan","pairedRegion":[]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"italynorth-az3"},{"logicalZone":"2","physicalZone":"italynorth-az1"},{"logicalZone":"3","physicalZone":"italynorth-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/norwayeast","name":"norwayeast","type":"Region","displayName":"Norway East","regionalDisplayName":"(Europe) Norway East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Norway","geographyGroup":"Europe","longitude":"10.752245","latitude":"59.913868","physicalLocation":"Norway","pairedRegion":[{"name":"norwaywest","id":"/subscriptions/<subscriptionid>/locations/norwaywest"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"norwayeast-az3"},{"logicalZone":"2","physicalZone":"norwayeast-az1"},{"logicalZone":"3","physicalZone":"norwayeast-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/polandcentral","name":"polandcentral","type":"Region","displayName":"Poland Central","regionalDisplayName":"(Europe) Poland Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Poland","geographyGroup":"Europe","longitude":"21.01666","latitude":"52.23334","physicalLocation":"Warsaw","pairedRegion":[]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"polandcentral-az3"},{"logicalZone":"2","physicalZone":"polandcentral-az1"},{"logicalZone":"3","physicalZone":"polandcentral-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/spaincentral","name":"spaincentral","type":"Region","displayName":"Spain Central","regionalDisplayName":"(Europe) Spain Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Spain","geographyGroup":"Europe","longitude":"3.4209","latitude":"40.4259","physicalLocation":"Madrid","pairedRegion":[]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"spaincentral-az3"},{"logicalZone":"2","physicalZone":"spaincentral-az1"},{"logicalZone":"3","physicalZone":"spaincentral-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/switzerlandnorth","name":"switzerlandnorth","type":"Region","displayName":"Switzerland North","regionalDisplayName":"(Europe) Switzerland North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Switzerland","geographyGroup":"Europe","longitude":"8.564572","latitude":"47.451542","physicalLocation":"Zurich","pairedRegion":[{"name":"switzerlandwest","id":"/subscriptions/<subscriptionid>/locations/switzerlandwest"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"switzerlandnorth-az3"},{"logicalZone":"2","physicalZone":"switzerlandnorth-az1"},{"logicalZone":"3","physicalZone":"switzerlandnorth-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/mexicocentral","name":"mexicocentral","type":"Region","displayName":"Mexico Central","regionalDisplayName":"(Mexico) Mexico Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Mexico","geographyGroup":"Mexico","longitude":"-100.389888","latitude":"20.588818","physicalLocation":"Querétaro State","pairedRegion":[]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"mexicocentral-az3"},{"logicalZone":"2","physicalZone":"mexicocentral-az1"},{"logicalZone":"3","physicalZone":"mexicocentral-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/uaenorth","name":"uaenorth","type":"Region","displayName":"UAE North","regionalDisplayName":"(Middle East) UAE North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"UAE","geographyGroup":"Middle East","longitude":"55.316666","latitude":"25.266666","physicalLocation":"Dubai","pairedRegion":[{"name":"uaecentral","id":"/subscriptions/<subscriptionid>/locations/uaecentral"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"uaenorth-az3"},{"logicalZone":"2","physicalZone":"uaenorth-az1"},{"logicalZone":"3","physicalZone":"uaenorth-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/brazilsouth","name":"brazilsouth","type":"Region","displayName":"Brazil South","regionalDisplayName":"(South America) Brazil South","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Brazil","geographyGroup":"South America","longitude":"-46.633","latitude":"-23.55","physicalLocation":"Sao Paulo State","pairedRegion":[{"name":"southcentralus","id":"/subscriptions/<subscriptionid>/locations/southcentralus"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"brazilsouth-az3"},{"logicalZone":"2","physicalZone":"brazilsouth-az1"},{"logicalZone":"3","physicalZone":"brazilsouth-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/israelcentral","name":"israelcentral","type":"Region","displayName":"Israel Central","regionalDisplayName":"(Middle East) Israel Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Israel","geographyGroup":"Middle East","longitude":"33.4506633","latitude":"31.2655698","physicalLocation":"Israel","pairedRegion":[]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"israelcentral-az3"},{"logicalZone":"2","physicalZone":"israelcentral-az1"},{"logicalZone":"3","physicalZone":"israelcentral-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/qatarcentral","name":"qatarcentral","type":"Region","displayName":"Qatar Central","regionalDisplayName":"(Middle East) Qatar Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geography":"Qatar","geographyGroup":"Middle East","longitude":"51.439327","latitude":"25.551462","physicalLocation":"Doha","pairedRegion":[]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"qatarcentral-az3"},{"logicalZone":"2","physicalZone":"qatarcentral-az1"},{"logicalZone":"3","physicalZone":"qatarcentral-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/centralusstage","name":"centralusstage","type":"Region","displayName":"Central US (Stage)","regionalDisplayName":"(US) Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geography":"usa","geographyGroup":"US"}},{"id":"/subscriptions/<subscriptionid>/locations/eastusstage","name":"eastusstage","type":"Region","displayName":"East US (Stage)","regionalDisplayName":"(US) East US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geography":"usa","geographyGroup":"US"}},{"id":"/subscriptions/<subscriptionid>/locations/eastus2stage","name":"eastus2stage","type":"Region","displayName":"East US 2 (Stage)","regionalDisplayName":"(US) East US 2 (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geography":"usa","geographyGroup":"US"}},{"id":"/subscriptions/<subscriptionid>/locations/northcentralusstage","name":"northcentralusstage","type":"Region","displayName":"North Central US (Stage)","regionalDisplayName":"(US) North Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geography":"usa","geographyGroup":"US"}},{"id":"/subscriptions/<subscriptionid>/locations/southcentralusstage","name":"southcentralusstage","type":"Region","displayName":"South Central US (Stage)","regionalDisplayName":"(US) South Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geography":"usa","geographyGroup":"US"}},{"id":"/subscriptions/<subscriptionid>/locations/westusstage","name":"westusstage","type":"Region","displayName":"West US (Stage)","regionalDisplayName":"(US) West US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geography":"usa","geographyGroup":"US"}},{"id":"/subscriptions/<subscriptionid>/locations/westus2stage","name":"westus2stage","type":"Region","displayName":"West US 2 (Stage)","regionalDisplayName":"(US) West US 2 (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geography":"usa","geographyGroup":"US"}},{"id":"/subscriptions/<subscriptionid>/locations/asia","name":"asia","type":"Region","displayName":"Asia","regionalDisplayName":"Asia","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/asiapacific","name":"asiapacific","type":"Region","displayName":"Asia Pacific","regionalDisplayName":"Asia Pacific","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/australia","name":"australia","type":"Region","displayName":"Australia","regionalDisplayName":"Australia","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/brazil","name":"brazil","type":"Region","displayName":"Brazil","regionalDisplayName":"Brazil","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/canada","name":"canada","type":"Region","displayName":"Canada","regionalDisplayName":"Canada","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/europe","name":"europe","type":"Region","displayName":"Europe","regionalDisplayName":"Europe","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/france","name":"france","type":"Region","displayName":"France","regionalDisplayName":"France","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/germany","name":"germany","type":"Region","displayName":"Germany","regionalDisplayName":"Germany","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/global","name":"global","type":"Region","displayName":"Global","regionalDisplayName":"Global","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/india","name":"india","type":"Region","displayName":"India","regionalDisplayName":"India","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/israel","name":"israel","type":"Region","displayName":"Israel","regionalDisplayName":"Israel","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/italy","name":"italy","type":"Region","displayName":"Italy","regionalDisplayName":"Italy","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/japan","name":"japan","type":"Region","displayName":"Japan","regionalDisplayName":"Japan","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/korea","name":"korea","type":"Region","displayName":"Korea","regionalDisplayName":"Korea","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/newzealand","name":"newzealand","type":"Region","displayName":"New Zealand","regionalDisplayName":"New Zealand","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/norway","name":"norway","type":"Region","displayName":"Norway","regionalDisplayName":"Norway","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/poland","name":"poland","type":"Region","displayName":"Poland","regionalDisplayName":"Poland","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/qatar","name":"qatar","type":"Region","displayName":"Qatar","regionalDisplayName":"Qatar","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/singapore","name":"singapore","type":"Region","displayName":"Singapore","regionalDisplayName":"Singapore","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/southafrica","name":"southafrica","type":"Region","displayName":"South Africa","regionalDisplayName":"South Africa","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/sweden","name":"sweden","type":"Region","displayName":"Sweden","regionalDisplayName":"Sweden","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/switzerland","name":"switzerland","type":"Region","displayName":"Switzerland","regionalDisplayName":"Switzerland","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/uae","name":"uae","type":"Region","displayName":"United Arab Emirates","regionalDisplayName":"United Arab Emirates","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/uk","name":"uk","type":"Region","displayName":"United Kingdom","regionalDisplayName":"United Kingdom","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/unitedstates","name":"unitedstates","type":"Region","displayName":"United States","regionalDisplayName":"United States","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/unitedstateseuap","name":"unitedstateseuap","type":"Region","displayName":"United States EUAP","regionalDisplayName":"United States EUAP","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/<subscriptionid>/locations/eastasiastage","name":"eastasiastage","type":"Region","displayName":"East Asia (Stage)","regionalDisplayName":"(Asia Pacific) East Asia (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geography":"asia","geographyGroup":"Asia Pacific"}},{"id":"/subscriptions/<subscriptionid>/locations/southeastasiastage","name":"southeastasiastage","type":"Region","displayName":"Southeast Asia (Stage)","regionalDisplayName":"(Asia Pacific) Southeast Asia (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geography":"asia","geographyGroup":"Asia Pacific"}},{"id":"/subscriptions/<subscriptionid>/locations/brazilus","name":"brazilus","type":"Region","displayName":"Brazil US","regionalDisplayName":"(South America) Brazil US","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Brazil","geographyGroup":"South America","longitude":"0","latitude":"0","physicalLocation":"","pairedRegion":[{"name":"brazilsoutheast","id":"/subscriptions/<subscriptionid>/locations/brazilsoutheast"}]}},{"id":"/subscriptions/<subscriptionid>/locations/eastus2","name":"eastus2","type":"Region","displayName":"East US 2","regionalDisplayName":"(US) East US 2","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"United States","geographyGroup":"US","longitude":"-78.3889","latitude":"36.6681","physicalLocation":"Virginia","pairedRegion":[{"name":"centralus","id":"/subscriptions/<subscriptionid>/locations/centralus"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"eastus2-az3"},{"logicalZone":"2","physicalZone":"eastus2-az1"},{"logicalZone":"3","physicalZone":"eastus2-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/eastusstg","name":"eastusstg","type":"Region","displayName":"East US STG","regionalDisplayName":"(US) East US STG","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Stage (US)","geographyGroup":"US","longitude":"-79.8164","latitude":"37.3719","physicalLocation":"Virginia","pairedRegion":[{"name":"southcentralusstg","id":"/subscriptions/<subscriptionid>/locations/southcentralusstg"}]}},{"id":"/subscriptions/<subscriptionid>/locations/northcentralus","name":"northcentralus","type":"Region","displayName":"North Central US","regionalDisplayName":"(US) North Central US","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"United States","geographyGroup":"US","longitude":"-87.6278","latitude":"41.8819","physicalLocation":"Illinois","pairedRegion":[{"name":"southcentralus","id":"/subscriptions/<subscriptionid>/locations/southcentralus"}]}},{"id":"/subscriptions/<subscriptionid>/locations/westus","name":"westus","type":"Region","displayName":"West US","regionalDisplayName":"(US) West US","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"United States","geographyGroup":"US","longitude":"-122.417","latitude":"37.783","physicalLocation":"California","pairedRegion":[{"name":"eastus","id":"/subscriptions/<subscriptionid>/locations/eastus"}]}},{"id":"/subscriptions/<subscriptionid>/locations/japanwest","name":"japanwest","type":"Region","displayName":"Japan West","regionalDisplayName":"(Asia Pacific) Japan West","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Japan","geographyGroup":"Asia Pacific","longitude":"135.5022","latitude":"34.6939","physicalLocation":"Osaka","pairedRegion":[{"name":"japaneast","id":"/subscriptions/<subscriptionid>/locations/japaneast"}]}},{"id":"/subscriptions/<subscriptionid>/locations/jioindiawest","name":"jioindiawest","type":"Region","displayName":"Jio India West","regionalDisplayName":"(Asia Pacific) Jio India West","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"India","geographyGroup":"Asia Pacific","longitude":"70.05773","latitude":"22.470701","physicalLocation":"Jamnagar","pairedRegion":[{"name":"jioindiacentral","id":"/subscriptions/<subscriptionid>/locations/jioindiacentral"}]}},{"id":"/subscriptions/<subscriptionid>/locations/centraluseuap","name":"centraluseuap","type":"Region","displayName":"Central US EUAP","regionalDisplayName":"(US) Central US EUAP","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Canary (US)","geographyGroup":"US","longitude":"-93.6208","latitude":"41.5908","physicalLocation":"","pairedRegion":[{"name":"eastus2euap","id":"/subscriptions/<subscriptionid>/locations/eastus2euap"}]}},{"id":"/subscriptions/<subscriptionid>/locations/eastus2euap","name":"eastus2euap","type":"Region","displayName":"East US 2 EUAP","regionalDisplayName":"(US) East US 2 EUAP","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Canary (US)","geographyGroup":"US","longitude":"-78.3889","latitude":"36.6681","physicalLocation":"","pairedRegion":[{"name":"centraluseuap","id":"/subscriptions/<subscriptionid>/locations/centraluseuap"}]},"availabilityZoneMappings":[{"logicalZone":"1","physicalZone":"eastus2euap-az3"},{"logicalZone":"2","physicalZone":"eastus2euap-az1"},{"logicalZone":"3","physicalZone":"eastus2euap-az2"}]},{"id":"/subscriptions/<subscriptionid>/locations/southcentralusstg","name":"southcentralusstg","type":"Region","displayName":"South Central US STG","regionalDisplayName":"(US) South Central US STG","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Stage (US)","geographyGroup":"US","longitude":"-98.5","latitude":"29.4167","physicalLocation":"Texas","pairedRegion":[{"name":"eastusstg","id":"/subscriptions/<subscriptionid>/locations/eastusstg"}]}},{"id":"/subscriptions/<subscriptionid>/locations/westcentralus","name":"westcentralus","type":"Region","displayName":"West Central US","regionalDisplayName":"(US) West Central US","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"United States","geographyGroup":"US","longitude":"-110.234","latitude":"40.89","physicalLocation":"Wyoming","pairedRegion":[{"name":"westus2","id":"/subscriptions/<subscriptionid>/locations/westus2"}]}},{"id":"/subscriptions/<subscriptionid>/locations/southafricawest","name":"southafricawest","type":"Region","displayName":"South Africa West","regionalDisplayName":"(Africa) South Africa West","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"South Africa","geographyGroup":"Africa","longitude":"18.843266","latitude":"-34.075691","physicalLocation":"Cape Town","pairedRegion":[{"name":"southafricanorth","id":"/subscriptions/<subscriptionid>/locations/southafricanorth"}]}},{"id":"/subscriptions/<subscriptionid>/locations/australiacentral","name":"australiacentral","type":"Region","displayName":"Australia Central","regionalDisplayName":"(Asia Pacific) Australia Central","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Australia","geographyGroup":"Asia Pacific","longitude":"149.1244","latitude":"-35.3075","physicalLocation":"Canberra","pairedRegion":[{"name":"australiacentral2","id":"/subscriptions/<subscriptionid>/locations/australiacentral2"}]}},{"id":"/subscriptions/<subscriptionid>/locations/australiacentral2","name":"australiacentral2","type":"Region","displayName":"Australia Central 2","regionalDisplayName":"(Asia Pacific) Australia Central 2","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Australia","geographyGroup":"Asia Pacific","longitude":"149.1244","latitude":"-35.3075","physicalLocation":"Canberra","pairedRegion":[{"name":"australiacentral","id":"/subscriptions/<subscriptionid>/locations/australiacentral"}]}},{"id":"/subscriptions/<subscriptionid>/locations/australiasoutheast","name":"australiasoutheast","type":"Region","displayName":"Australia Southeast","regionalDisplayName":"(Asia Pacific) Australia Southeast","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Australia","geographyGroup":"Asia Pacific","longitude":"144.9631","latitude":"-37.8136","physicalLocation":"Victoria","pairedRegion":[{"name":"australiaeast","id":"/subscriptions/<subscriptionid>/locations/australiaeast"}]}},{"id":"/subscriptions/<subscriptionid>/locations/jioindiacentral","name":"jioindiacentral","type":"Region","displayName":"Jio India Central","regionalDisplayName":"(Asia Pacific) Jio India Central","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"India","geographyGroup":"Asia Pacific","longitude":"79.08886","latitude":"21.146633","physicalLocation":"Nagpur","pairedRegion":[{"name":"jioindiawest","id":"/subscriptions/<subscriptionid>/locations/jioindiawest"}]}},{"id":"/subscriptions/<subscriptionid>/locations/koreasouth","name":"koreasouth","type":"Region","displayName":"Korea South","regionalDisplayName":"(Asia Pacific) Korea South","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Korea","geographyGroup":"Asia Pacific","longitude":"129.0756","latitude":"35.1796","physicalLocation":"Busan","pairedRegion":[{"name":"koreacentral","id":"/subscriptions/<subscriptionid>/locations/koreacentral"}]}},{"id":"/subscriptions/<subscriptionid>/locations/southindia","name":"southindia","type":"Region","displayName":"South India","regionalDisplayName":"(Asia Pacific) South India","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"India","geographyGroup":"Asia Pacific","longitude":"80.1636","latitude":"12.9822","physicalLocation":"Chennai","pairedRegion":[{"name":"centralindia","id":"/subscriptions/<subscriptionid>/locations/centralindia"}]}},{"id":"/subscriptions/<subscriptionid>/locations/westindia","name":"westindia","type":"Region","displayName":"West India","regionalDisplayName":"(Asia Pacific) West India","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"India","geographyGroup":"Asia Pacific","longitude":"72.868","latitude":"19.088","physicalLocation":"Mumbai","pairedRegion":[{"name":"southindia","id":"/subscriptions/<subscriptionid>/locations/southindia"}]}},{"id":"/subscriptions/<subscriptionid>/locations/canadaeast","name":"canadaeast","type":"Region","displayName":"Canada East","regionalDisplayName":"(Canada) Canada East","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Canada","geographyGroup":"Canada","longitude":"-71.217","latitude":"46.817","physicalLocation":"Quebec","pairedRegion":[{"name":"canadacentral","id":"/subscriptions/<subscriptionid>/locations/canadacentral"}]}},{"id":"/subscriptions/<subscriptionid>/locations/francesouth","name":"francesouth","type":"Region","displayName":"France South","regionalDisplayName":"(Europe) France South","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"France","geographyGroup":"Europe","longitude":"2.1972","latitude":"43.8345","physicalLocation":"Marseille","pairedRegion":[{"name":"francecentral","id":"/subscriptions/<subscriptionid>/locations/francecentral"}]}},{"id":"/subscriptions/<subscriptionid>/locations/germanynorth","name":"germanynorth","type":"Region","displayName":"Germany North","regionalDisplayName":"(Europe) Germany North","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Germany","geographyGroup":"Europe","longitude":"8.806422","latitude":"53.073635","physicalLocation":"Berlin","pairedRegion":[{"name":"germanywestcentral","id":"/subscriptions/<subscriptionid>/locations/germanywestcentral"}]}},{"id":"/subscriptions/<subscriptionid>/locations/norwaywest","name":"norwaywest","type":"Region","displayName":"Norway West","regionalDisplayName":"(Europe) Norway West","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Norway","geographyGroup":"Europe","longitude":"5.733107","latitude":"58.969975","physicalLocation":"Norway","pairedRegion":[{"name":"norwayeast","id":"/subscriptions/<subscriptionid>/locations/norwayeast"}]}},{"id":"/subscriptions/<subscriptionid>/locations/switzerlandwest","name":"switzerlandwest","type":"Region","displayName":"Switzerland West","regionalDisplayName":"(Europe) Switzerland West","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Switzerland","geographyGroup":"Europe","longitude":"6.143158","latitude":"46.204391","physicalLocation":"Geneva","pairedRegion":[{"name":"switzerlandnorth","id":"/subscriptions/<subscriptionid>/locations/switzerlandnorth"}]}},{"id":"/subscriptions/<subscriptionid>/locations/ukwest","name":"ukwest","type":"Region","displayName":"UK West","regionalDisplayName":"(Europe) UK West","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"United Kingdom","geographyGroup":"Europe","longitude":"-3.084","latitude":"53.427","physicalLocation":"Cardiff","pairedRegion":[{"name":"uksouth","id":"/subscriptions/<subscriptionid>/locations/uksouth"}]}},{"id":"/subscriptions/<subscriptionid>/locations/uaecentral","name":"uaecentral","type":"Region","displayName":"UAE Central","regionalDisplayName":"(Middle East) UAE Central","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"UAE","geographyGroup":"Middle East","longitude":"54.366669","latitude":"24.466667","physicalLocation":"Abu Dhabi","pairedRegion":[{"name":"uaenorth","id":"/subscriptions/<subscriptionid>/locations/uaenorth"}]}},{"id":"/subscriptions/<subscriptionid>/locations/brazilsoutheast","name":"brazilsoutheast","type":"Region","displayName":"Brazil Southeast","regionalDisplayName":"(South America) Brazil Southeast","metadata":{"regionType":"Physical","regionCategory":"Other","geography":"Brazil","geographyGroup":"South America","longitude":"-43.2075","latitude":"-22.90278","physicalLocation":"Rio","pairedRegion":[{"name":"brazilsouth","id":"/subscriptions/<subscriptionid>/locations/brazilsouth"}]}}]}
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ComputeManagementClient
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2554
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: MSIAuthenticationWrapper.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2554
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: Normalize expires_on: '1729597769' -><PHONE_NUMBER>
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/<subscriptionid>/providers/Microsoft.Compute/locations/westus/publishers/SUSE/artifacttypes/vmimage/offers/sles-15-sp3/skus/gen2/versions?$top=1&$orderby=name%20desc&api-version=2024-07-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'fc69f63c-9062-11ef-bda4-00155d822b67'
cli.azure.cli.core.sdk.policies:     'CommandName': 'vm image show'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--urn --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.65.0 (RPM) azsdk-python-core/1.28.0 Python/3.9.19 (Linux-<IP_ADDRESS>-microsoft-standard-x86_64-with-glibc2.35) cloud-shell/1.0'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/<subscriptionid>/providers/Microsoft.Compute/locations/westus/publishers/SUSE/artifacttypes/vmimage/offers/sles-15-sp3/skus/gen2/versions?$top=1&$orderby=name%20desc&api-version=2024-07-01 HTTP/1.1" 200 2
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Content-Length': '2'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43940'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'x-ms-served-by': 'adecdf86-3493-49a8-ae5d-b36c204f1a47_133711588014377672'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'bff84e54-ed42-4b65-842d-80b4c893cb5d'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '249'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-global-reads': '3749'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': '1aa91ea6-f32e-4312-8e38-e99787311832'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'SOUTHEASTASIA:20241022T104711Z:1aa91ea6-f32e-4312-8e38-e99787311832'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.sdk.policies:     'X-MSEdge-Ref': 'Ref A: 778C3BB682C54230986296C0D476C2DC Ref B: MAA201060516045 Ref C: 2024-10-22T10:47:10Z'
cli.azure.cli.core.sdk.policies:     'Date': 'Tue, 22 Oct 2024 10:47:10 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: []
cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "/usr/lib64/az/lib/python3.9/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 666, in execute
    raise ex
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 733, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 703, in _run_job
    result = cmd_copy(params)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 336, in __call__
    return self.handler(*args, **kwargs)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 363, in handler
    show_exception_handler(ex)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/arm.py", line 432, in show_exception_handler
    raise ex
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 361, in handler
    return op(**command_args)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/vm/custom.py", line 2353, in show_vm_image
    version = _get_latest_image_version(cmd.cli_ctx, location, publisher, offer, sku)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/vm/_actions.py", line 282, in _get_latest_image_version
    raise InvalidArgumentValueError("Can't resolve the version of '{}:{}:{}'".format(publisher, offer, sku))
azure.cli.core.azclierror.InvalidArgumentValueError: Can't resolve the version of 'SUSE:sles-15-sp3:gen2'

cli.azure.cli.core.azclierror: Can't resolve the version of 'SUSE:sles-15-sp3:gen2'
az_command_data_logger: Can't resolve the version of 'SUSE:sles-15-sp3:gen2'
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7fa277b6f9d0>]
az_command_data_logger: exit code: 1
cli.__main__: Command ran in 2.686 seconds (init: 0.106, invoke: 2.580)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 4029 in cache file under /home/toshi/.azure/telemetry/20241022104711386
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "/usr/bin/python3.9 /usr/lib/az/lib/python3.9/site-packages/azure/cli/telemetry/__init__.py /home/toshi/.azure /home/toshi/.azure/telemetry/20241022104711386"
telemetry.process: Return from creating process 699
telemetry.main: Finish creating telemetry upload process.

Expected behavior
VM image alias is usable
Environment Summary
toshi [ ~ ]$ az --version
azure-cli                         2.65.0

core                              2.65.0
telemetry                          1.1.0

Extensions:
ai-examples                        0.2.5
ml                                2.30.1
ssh                                2.0.5

Dependencies:
msal                              1.31.0
azure-mgmt-resource               23.1.1

Python location '/usr/bin/python3.9'
Extensions directory '/home/toshi/.azure/cliextensions'
Extensions system directory '/usr/lib/python3.9/site-packages/azure-cli-extensions'

Python (Linux) 3.9.19 (main, Aug 23 2024, 00:07:48)
[GCC 11.2.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context
No response

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


[GLUTEN-5001][CORE] Support HiveGenericUDF when mapping to native function

What changes were proposed in this pull request?
Support HiveGenericUDF when mapping to native function
(Fixes: #5001)

LGTM


Battery unsupported

Hi, thank you for amazing plugin, I wanna ask you about battery, which is showing unsuporrted state. But when I installed for first time, it worked for few minutes, but shows that is not supported in homekit.
Am I doing something wrong? Thanks

Hi, did you set the "Battery installed?" in configuration to true for your inverter?

Yes, and battery showing as unsuported

Sorry, can you point to the unsupported part on the above pictures? :smile:

Yes, sorry :-D
I think thats why it missing at top bar, after reseting server it apears for few minutes then dissapear

What plugin version are you using?

2.3.0 keeping it up to date


Use Redis (or alternative) for session store instead of MongoDB

I was checking the telemetry on the ops dashboard, and by far freecodecamp.sessions.find is the most (expected) used query.
We maybe able optimize the load by using a Redis session store instead of MongoDB?

/cc @BerkeleyTrue @Bouncey @QuincyLarson

@raisedadead do you have experience with redis?

Nothing on production, so to be honest nope.
But that said, if we agree on the idea atleast. I can preparing something separate of beta timelines and get some research done into this.

I believe that a key-value store is much more suited to our long terms goals for the backend for things like sessions, and possibly other stuff which can be async from the DB queries?

I'm not sure what the key/value query speed difference is between the two. I say as long as we will see a significant query performance (a magnitude atleast). Then it would be worth the move.

👍 to use Redis over Mongo for session storage.
I've used it in production on AWS (they market Redis as a service as "Elasticache") which was completely hands off. Not sure how good the Digital Ocean experience is, I see they advertise it as a "one click app" https://www.digitalocean.com/products/one-click-apps/redis, and there are a bunch of tutorials available.

I am also in favor of moving some things over to Redis. @BerkeleyTrue and I have discussed this for at least a year. One other thing we've considered storing in Redis is campers' solutions. This is how JSBin handles it.
This is something we can consider after we ship beta and our other mission-critical features.


Instruction cache pollution for distbench

Instruction cache pollution for distbench.

After changing number of functions from 62k to 10k... the binary size has reduced from 19MB to 12MB


Puppeteer issue with docker

Steps to reproduce
Tell us about your environment:

Puppeteer version:
1.17.0
Platform / OS version:
Mac OS using docker version 18.09.2
URLs (if applicable):
Node.js version:
10

What steps will reproduce the problem?
My Dockerfile is as follows
FROM node:10-alpine

RUN echo "http://dl-2.alpinelinux.org/alpine/edge/main" > /etc/apk/repositories
RUN echo "http://dl-2.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN echo "http://dl-2.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories

ENV CHROME_BIN="/usr/bin/chromium-browser" \
    PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"

RUN set -x \
    && apk update \
    && apk upgrade \
    && apk add --no-cache \
    udev \
    ttf-freefont \
    chromium \
    && npm install<EMAIL_ADDRESS>
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app

WORKDIR /home/node/app

ENV PATH /home/node/app/node_modules/.bin:$PATH

COPY package*.json ./

RUN apk --no-cache --virtual build-dependencies add \
    python \
    make \
    g++ \
    && npm install \
    && apk del build-dependencies

USER node

RUN npm install

RUN mkdir -p /home/node/app/logs

COPY --chown=node:node . .

EXPOSE 4000

EXPOSE 3050

CMD [ "node", "app.js" ]

Please include code that reproduces the issue.

const puppeteer = require("puppeteer");

fetchLedgerPdf : async function (req,res,next){

const browser = await puppeteer.launch({
                headless: true,
                executablePath: '/usr/bin/chromium-browser',
                args: ['--no-sandbox', '--headless', '--disable-gpu', '--disable-dev-shm-usage']
            });
            const page = await browser.newPage();

await page.setContent()

await page.addStyleTag()

const buffer = await page.pdf({
                // path : 'page.pdf',
                format: "A4",
                scale : 0.9,
                printBackground : true,
                displayHeaderFooter : true,
                headerTemplate: '
Page  of
',
                footerTemplate: '
...
',
                preferCSSPageSize : true
            });

await browser.close();
   res.end(buffer);
}

What is the expected result?
Process the PDF
What happens instead?
Throw the following error
{ Error: Protocol error (IO.read): Invalid parameters handle: string value expected
    at Promise (/home/node/app/node_modules/puppeteer/lib/Connection.js:183:56)
    at new Promise (<anonymous>)
    at CDPSession.send (/home/node/app/node_modules/puppeteer/lib/Connection.js:182:12)
    at Function.readProtocolStream (/home/node/app/node_modules/puppeteer/lib/helper.js:241:37)
    at Page.pdf (/home/node/app/node_modules/puppeteer/lib/Page.js:988:25)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  -- ASYNC --
    at Page.<anonymous> (/home/node/app/node_modules/puppeteer/lib/helper.js:111:15)
    at fetchLedgerPdf (/home/node/app/Models/post/pdfCreation.js:316:39)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  message:
   'Protocol error (IO.read): Invalid parameters handle: string value expected' }

I have tried following lots of other issues facing similar problem. I have also ensured that my chromium and puppeteer version are the same as mentioned on a lot of forums. I am using puppeteer@1.17.0(based on release 76.0.3803.0as obtained from https://omahaproxy.appspot.com) with the edge image of alpine that uses chromium 76.0.3809.132-r0. I also tried with<EMAIL_ADDRESS>Still facing this trouble. Any help would be appreciated.

Well, docker has some issue with the Puppeteer or vice versa. I also tried to deploy the same setup on AWS EC2 machine but with google the never allows to sign in using a headless setup that too on a docker or EC2 instance.

Is there any update on this?


Make ActionRequests that extend UpdateRequest to extend more generic ActionRequest

Description
WIP to fix errors seen in CI with security checks.
See more details on https://github.com/opensearch-project/security/pull/4937
Related Issues
Resolves https://github.com/opensearch-project/index-management/issues/1281
Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[ ] API changes companion pull request created.
[ ] Commits are signed per the DCO using --signoff.
[ ] Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Adding changes from https://github.com/opensearch-project/index-management/pull/1310


Add support for inline image Markdown - attribute fix

This PR is an optional followup for https://github.com/Expensify/expensify-common/pull/658 if we'd like to patch a problem where image attribute content is being parsed to HTML as detailed in: https://github.com/Expensify/expensify-common/pull/658#discussion_r1508088239
Fixed Issues
$ https://github.com/Expensify/App/issues/37246
Tests

Unit/Integration Tests Covering the Change:

The changes are covered by unit tests added to ExpensiMark-HTML-test.js and ExpensiMark-Markdown-test.js. These tests validate that MD content designated for the alt attribute is escaped as HTML entities so it isn't converted to html tags by following rules

Tests Performed to Validate Changes:

Ran all newly added tests and ensured they pass, verifying the correct conversion of markdown to HTML  tags and vice versa.
Manually tested the parsing of markdown containing images in various formats and contexts to ensure the output matches expectations.
Checked the handling of invalid image URLs to ensure they remain unchanged, as expected.

QA

QA Validation Steps:

Test the handling of invalid Markdown image syntax, such as using a broken or incorrectly formatted URL (e.g., ![image](invalid-link)). These should not be parsed and ought to remain displayed as the raw Markdown text, without conversion or rendering as an image.

Puneet, adding you as reviewer as you're assigned to the issue

Looks like this commit is not verified https://github.com/Expensify/expensify-common/pull/661/commits/caa6cf293bb8dd045943c413d5eeeb499ca49233

This should be on hold for https://github.com/Expensify/expensify-common/pull/658, right?

Looks like this commit is not verified caa6cf2

Fixed

This should be on hold for #658, right?

Yes, and #658 was just merged

I found a bug I've described here https://github.com/Expensify/expensify-common/pull/661#discussion_r1530208382 and I'm currently trying to fix it

Thanks @kidroca!
Let us know when it's ready for review and I can give this a merge. 🙇

I've addressed the bug related to the autolink rule by adjusting the pattern to exclude self-closing tags, like . The pull request is ready for review. However, I'm cautious about declaring this the definitive fix for HTML within attributes. Given the current order of rule application, where code blocks and inline code precede others, HTML tags such as  ...  could still appear within the alt attribute.
This PR aimed to find a minimal solution to prevent these occurrences, but it couldn't fully achieve that, so we might consider looking for a different approach.

we could merge the current PR as it provides some coverage
we can turn to a broader audience for ideas
we can test a bit to make certain there are no undetected problems

we could merge the current PR as it provides some coverage

I'd lean towards this unless there are any glaring major regressions or limitations.

Given the current order of rule application, where code blocks and inline code precede others, HTML tags such as ... could still appear within the alt attribute.

That sounds kind of edge case to me. Can you give a practical example of what a user might do and what weird behavior would result?

The latest test has an example:
    test('No html inside the src attribute', () => {
        const testString = '![`code`](https://example.com/image.png)';
        const resultString = '<img src="https://example.com/image.png" alt="code" />';
        expect(parser.replace(testString)).toBe(resultString);
    })

As you can see this particular input would result in html inside the alt attribute
The part [`code`] is first converted to html [code] and later added to the alt attribute
It doesn't seem to lead to anything breaking, but preferably should be escaped as I'm not sure it's valid
We've we able to escape  and alike because their rules run after the image...

Ah I see. Well, I think it's valid HTML - but definitely leaves us with semantically strange alt tags. Tbh, I don't think we need to worry about this right now. We can try to address the alt tag inconsistencies as a follow up.


MaxPool2D checks (#435)

Check all padding (N S E W), kernel and input size to avoid index out of range

LGTM. Thanks for the fix. Can you send me an email<EMAIL_ADDRESS>with the title "Gorgonia Contributor"? Thanks


typo in the documentation

Hi) Sorry for another issue.
https://microsoft.github.io/presidio/anonymizer/
In the Built-in operators passage there is a table. There is a typo in the header: Operaor name -> Operator name

Thanks @OlegBEZb! This will be fixed in #763


Azure Resource Manager Tools for Visual Studio Code (Preview)--无法安装

Repro steps:

Action: acquireDotnet
Error type: 1
Error Message: Command failed: "c:\Users\zhenglif.vscode\extensions\msazurermtools.azurerm-vscode-tools-0.7.0\assets\install scripts\dotnet-install.cmd" -InstallDir 'c:\Users\zhenglif\AppData\Roaming\Code\User\globalStorage\msazurermtools.azurerm-vscode-tools.dotnet\2.2.5' -Runtime dotnet -Version 2.2.5
Could not find/download: ".NET Core Runtime" with version = 2.2.5
Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
����λ�� C:\Users\zhenglif.vscode\extensions\msazurermtools.azurerm-vscode-tools-0.7.0\assets\install scripts\dotnet-i
nstall.ps1:596 �ַ�: 5

throw "Could not find/download: `"$assetName`" with version = $Sp ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (Could not find/...ET Core support:String) [], RuntimeException
FullyQualifiedErrorId : Could not find/download: ".NET Core Runtime" with version = 2.2.5
Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support

Version: 0.7.0
OS: win32
Product: Visual Studio Code
Product Version: 1.38.1
Language: zh-cn

@si7eka What happens if you do the following from command window:
curl -o dotnet-install.ps1 https://dot.net/v1/dotnet-install.ps1
Does it download dotnet-install.ps1 into your current directory?
If yes, can you try running powershell .\dotnet-install.ps1?  Does it succeed in installing dotnet?

PS C:\WINDOWS\system32> curl -o dotnet-install.ps1 https://dot.net/v1/dotnet-install.ps1
curl : 基础连接已经关闭: 发送时发生错误。
所在位置 行:1 字符: 1

curl -o dotnet-install.ps1 https://dot.net/v1/dotnet-install.ps1

  + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest]，WebExce
  ption
  + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Maybe I'm a regulated network

C:\Users\zhenglif> curl -o dotnet-install.ps1 https://dot.net/v1/dotnet-install.ps1
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 24378  100 24378    0     0  11065      0  0:00:02  0:00:02 --:--:-- 11065
I tried it once in CMD. EXE and it can be downloaded

Have you tried restarting vscode and seeing if it works the second time?  If no, can you do "F1" then "Azure Resource Manager Tools: Uninstall dotnet core for this extension", restart and try again?
thanks!

Azure Resource Manager Tools for Visual Studio Code (Preview) extension, I have reinstalled, but it still does not work properly;
Now whenever I start vscode, it will display "Downloading .NET Core tooling version(s) 2.2.5 ......................... ................", but will not succeed;

Did you try this from above?

Press "F1" then select "Azure Resource Manager Tools: Uninstall dotnet core for this extension", restart and try again?


Convert bool_and & bool_or to UDAF

Which issue does this PR close?
Closes #11008.
What changes are included in this PR?

Converts bool_and, bool_or to UDAF
Export above as fluent style API for creating Exprs
Add expressions to roundtrip_expr_api test

Are these changes tested?

Existing sqllogictest in aggregate.slt
Logical plan round trip test

Are there any user-facing changes?

I've pushed the following changes based on the code review:

Delete the redundant test code
Use self.name() instead of hard-coding either bool_and/bool_or

Thanks again @jcsherin  and @jayzhan211


Swimming pool

Icon name
Swimming pool
Use cases
This week I twice needed an icon to indicate that there is an swimming pool.
Case 1: A map that shows the kind of sport locations in the area. Gym, Running track and also: Swimming pools.
Case 2: Kind of an hotel overview page that indicated if the hotel had a pool. Similar to airbnb, booking etc.
Design ideas
I created something that fit the rest of the icons for my use cases. It contains the waves from the "waves" icon. With a pool ladder on top.

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
[X] I have searched existing icons to make sure it does not already exist and I didn't find any.
[X] I am not requesting a brand logo and the art is not protected by copyright.
[X] I am not requesting an icon that includes religious, political imagery or hate symbols.
[X] I have provided appropriate use cases for the icon(s) requested.

Based on waves:
Open lucide studio

Double wave fits, only barely tho.
Open lucide studio

Double wave fits, only barely tho. Open lucide studio

That's why I stuck with one wave only, & to keep them as consistent as possible.

Double wave fits, only barely tho. Open lucide studio

That's why I stuck with one wave only, & to keep them as consistent as possible.

Your one feels a bit small tho.

Uglier but maybe better size wise?
Open lucide studio


Make make lint work for new projects.

With this patch make lint wouldn't report errors in newly created projects.

Good catch, thanks!


[PowerToys Run] Would like to switch to the last open application - e.g. "<<" will toggle to window I switched away from last

Description of the new feature / enhancement
When I use Alt-Space and then switch to another window, I would like to jump back to the one I just left. Without having to retype the name of the one I went to last.
I'm in Chrome on a website.
I switch to notepad:
< notepad
I want to now switch back to Chrome that I was on quickly.
<<  (this should take me back to the last used application when I switched away with Powertools Run.)
Scenario when this would be used?
So it's like switching between two programs maybe across different virtual desktops.
Supporting information
No response

You can press Alt+Tab once to jump back to that window(the second window in the list is the one you just left).

Not if it's on a different virtual desktop though.
On 12 September 2022 06:23:42 unuing @.***> wrote:

You can press Alt+Tab once to jump back to that window(the second window in
the list is the one you just left).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


Allow available software to be released before publication, not submission

For 0.7 to mitigate the schedule compression (from 4 months to 3) and the variation in different submitter's QA burden/cycle time, proposal is to allow for a submission to be considered "available" if the software is made generally available by publication time, rather than submission time.
This assumes the software stack is made available to all auditors.
The intention is to allow for some of the QA cycle that goes with a software release to happen between submission and publication, which gives a bit more schedule slack for companies intending to submit under "available"

See proposed language change: https://github.com/mlperf/policies/pull/22

Let's revisit this next week in context  of the 2 week push; and the possibility of beta. It could be an option for a v0.7 if necessary.

SWG:
Good discussion to have. This round we're not making changes.


[stable/jenkins] Add ability to pass additional config files by path

I like the AdditionalConfig to write additional, custom files to $JENKINS_HOME. However, it only allows for the files' content to be defined inline. I would like to be able to reference an existing file on my local machine, which is then just copied over. This would be extremely helpful in situations, where your additional files are very large.

I think its not possible to refrence files outside the chart scope...


safe_base only works for scalar types

Class template safe_base is defined as follows:
template<
    class Stored,
    Stored Min, // <-- non-type parameter
    Stored Max, // <-- non-type parameter
    class P,
    class E
>
class safe_base;

Note that two values of type Stored are passed as template non-type parameters. This means that Stored can only be a (built-in) scalar type. Because only scalar types (apart from pointers and references) are allowed as non-type template parameters.
From reading the documentation one gets the impression that the library would work for any type that models Integer<T> concept, but that is not true. Even safe<safe<int>> doesn't work.
Technically, this could be fixed by using a different implementation of safe_base:
template<
    class Stored,
    class MinMaxPolicy, // <-- type parameter
    class P,
    class E
>
class safe_base
{
    constexpr Stored Min = MinMaxPolicy::min();
    constexpr Stored Max = MinMaxPolicy::max();
    // ...
};

Of course you're correct on all this.  For now though I'm not going to address it.  But I have added a long section in Pending issues section discussing it.  For what it's worth, my preference would be to do something like:
template<typename T>
struct range {
    T m_lowest;
    T m_highest;
    // default implementation
    range(
        const & T t_min,
        const & T t_max
    ) :
        m_lowest(std::numeric_limits<T>::lowest(t_min),
        m_highest(std::numeric_limits<T>::max(t_max)
    {}
};

Then redeclare safe_base, etc.  accordingly

One thing to add. In C++20 we will be able to use other literal types as template non-type parameters, not only scalars:
template< std::pair<int, long> P > // will be valid in C++20
struct X;

It will not address all the types, but a wide variety.


Node v15 support?

$ yarn
yarn install v1.22.10
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "10.x || 12.x || 14.x". Got "15.0.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
$ node --version
v15.0.1

edit
I'm not actually using it for node, but for the browser. So I found that I can make yarn ignore the incompatibility by running yarn config set ignore-engines true. Still somewhat annoying.

Ran into the same issue, using @graphql-tools/mock which depends on this library

Looks like this was actually already solved: https://github.com/prisma-labs/graphql-request/commit/37b51e1b7613ad17d01a0c92918f4120761ff71d#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519


use latest ForgeGradle and mavenCentral

jcenter is going to be closed. My ForgeGradle fork will use mavenCentral so remove jcenter.

see anatawa12/ForgeGradle-2.3#6

@anatawa12 Thanks you!


How to filter like All operator with list field?

Hi ,
I required support of All operator.
Consider I have list of integer as input and want to check all the given values available in the list.
Input object,
User :
[{
Name : “User abc”,
ListInt :  { 1, 2 ,3 , 4 }
}]
Condition:
{ ‘value’ : [1, 2] };
Currently query builder supports,
In operator -  support any of the given values in the list.
Not In operator -  support none of the given values in the list.
But, I need support of All operator – Check all the given values available in the list.
Is there a way to achieve?
Thanks,
Kannan Eswar.

Someone recently added a PR that allows you to create custom operators, so you could create that custom All operator behavior and have it work that way.  If you do so and feel like it would be useful to others, feel free to submit a PR.


[Maintenance] pip install convlab fails due to version conflict in Colab

Describe the feature
Currently it is not possible to use the Tutorial Colab due to version conficts in convlab.
https://colab.research.google.com/github/ConvLab/ConvLab-3/blob/master/tutorials/Getting_Started.ipynb#scrollTo=qPqTs6EP0wxO
! pip install convlab ends in following error.
**ERROR: Cannot install convlab==3.0.0 and convlab==3.0.1 because these package versions have conflicting dependencies.
The conflict is caused by:
convlab 3.0.1 depends on deepspeech
convlab 3.0.0 depends on deepspeech**
Expected behavior
pip install work successfully
Additional context
Add any other context about the feature here.

Thanks! It seems recently the deepspeech package is no longer usable. I will update the package requirements

update requirements.txt and release convlab==3.0.2a


3.0 SDK Documentation and .Net Core

Are these docs going to be updated for the 3.0 version of the SDK sometime soon. I'd love to use this to create WebJobs on .Net Core but I can't find any official docs on the Microsoft site for creating a .Net Core WebJob.
The closest thing to seeing anything new I've found is this sample https://github.com/Azure/azure-webjobs-sdk/blob/00686a5ae3b31ca1c70b477c1ca828e4aa754340/sample/SampleHost/Program.cs from a comment on this issue https://github.com/Azure/azure-webjobs-sdk/issues/1870#issuecomment-417888043

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

ID: a4500b14-64b4-4d1b-aae3-f0fd4dde85f2
Version Independent ID: 8fb75741-37b9-b45f-c0ca-9948ddaf1c06
Content: How to use the WebJobs SDK - Azure
Content Source: articles/app-service/webjobs-sdk-how-to.md
Service: app-service-web
GitHub Login: @ggailey777
Microsoft Alias: glenga

@adagarpallat I have it almost done, so hopefully by next week.
Is there an API you have a question about...I may be able to answer it here?

The updates are now live and we can #please-close this issue. Please reopen if we have not addressed your issue to your satisfaction.


Cannot deploy site with netlify : view different from local jekyll serve

I tried deploying the site with netlify and the view is not what renders on local jekyll serve. I followed this tutorial and added everything but the view is still not right. I went to another link from the same page and at one point it says that depending on how my page generator is set up I might need to add the link to other templates too. Any help?

Turns out, my url and baseurl parameters for  _config.yml were wrong. Further details can be found here.
Closing the issue.


Refactor SafeStatus

Close #763
Create new SafeLastStatus table and refactor code using SafeLastStatus historical table
Use SafeLastStatus to get Safes by owner and remove 1 hour cache to get Safes by owner endpoint, as now the query is really fast
Use SafeLastStatus to return Safe info instead of using Ethereum RPC
Minor fixes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

40 of 50 (80.0%)  changed or added relevant lines in 3 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.09%) to 87.971%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

safe_transaction_service/history/indexers/tx_processor.py
11
14
78.57%

safe_transaction_service/history/models.py
24
31
77.42%

Files with Coverage Reduction
New Missed Lines
%

safe_transaction_service/history/indexers/tx_processor.py
1
86.53%

safe_transaction_service/history/services/collectibles_service.py
3
90.91%

Totals

Change from base Build<PHONE_NUMBER>:
-0.09%

Covered Lines:
5675

Relevant Lines:
6451

💛  - Coveralls

@rmeissner @fmrsabino One big change for this PR is not using anymore nodes for the /safes/<address>/ endpoint, we will be using the new Last Safe Status table. I think this will improve performance of the service a lot by cutting most of our RPC requests from the web worker. The only downside for this is that we will get the last indexed status and not the real status for the Safe. WDYT?

@rmeissner @fmrsabino One big change for this PR is not using anymore nodes for the /safes/<address>/ endpoint, we will be using the new Last Safe Status table. I think this will improve performance of the service a lot by cutting most of our RPC requests from the web worker. The only downside for this is that we will get the last indexed status and not the real status for the Safe. WDYT?

I really like this idea and I think we should review if this can be applied to other endpoints (it might require bigger changes of course but just saying this for the long term).


inconsistent type hints / warnings between local variables and fields w/o type annotations

This issue was originally filed by<EMAIL_ADDRESS>
The var keyword is strictly equivalent to dynamic when used to declare fields, whereas it provides a *weak* type inference in the case of local vars.
(type inference on local vars is weak in the sense that it yields hints instead of warnings in case of blatant misuses, and there is no flow-analysis to follow through a change of implicit type)
This is confusing and makes type inference unreliable / much less useful than it could be.
Take the following example:
class Foo {
  final bar = 10; // No difference between final and var.
}
useField() {
  var foo = new Foo();
  String s = foo.bar;  // No complains: foo.bar is dynamic.
  foo.bar = "10";
  print(10 + foo.bar);
}
useLocalTyped() {
  int bar = 10;
  String s = bar;      // Here's a warning.
}
useLocalVar() {
  var bar = 10;
  String s = bar;      // Just a hint here: a value of type int cannot be
                       // assigned to a value of type String.
                       // Seems like this should be a warning.
  print(10 + s);       // Warning: int + String is bad.
  bar = "10";          // Let's change the implicit type of bar.
  print(10 + bar);     // Flow-analysis could spot that bar is a String now.
}
useLocalVar2() {
  var baz = ["10"];
  Map baz2 = baz;      // Hint against List / Map mismatch: so, baz is a List?
  print(10 + baz);     // No hint / warning: baz is a dynamic?
  print(10 + baz2);    // Warning: baz2 clearly is more strongly typed than baz.
}
I suggest the following rules of thumb for a more dependable analysis (they might conflict with the Dart spec, though):

Have var to strongly infer the type (i.e. not be a shorthand for dynamic), both for local vars and for (at least final) fields.
Use flow-analysis to pick the last "obvious" type of a variable.

I believe that strong mode will fix this issue.


Update readme

Simplify the readme:

Show highlights first
Simplified quickstart
Provide links to other docs for more details

Notes for reviewer(s):

This isn't perfect / final 😄
We'll iterate many times in the future
If possible, please limit review comments to major "blockers" (e.g. something I wrote is fundamentally wrong) ❤

/approve

:shipit:
/lgtm


Add timeout to jerry_debugger_receive

Fixed when debug server uses a CPU core on 100%.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik<EMAIL_ADDRESS>

Is this a problem? Debugging is not for benchmarking.

I know it's not for benchmarking, but in my opinion the debug server consumes 10 times more resources than it really needs.

The idea is good but I worry about the compatibility here. What about TizenRT, nuttix and other exotic systems?

Partly revising myself: as the debugger support cannot even be built with jerry-libc, implementing nanosleep/usleep/sleep in jerry-libc is not needed. The rest of the above still holds ("JerryScript should be kept plain C99", "a standard libc function should be used in jerry-core", "options are nanosleep, usleep, and sleep", ...)
(PS: jerry-core/debugger/debugger-ws.c can act as an example for how to separate includes. Those headers that are available everywhere can go before #ifdef JERRY_DEBUGGER, while those that are not available in jerry-libc should go after it. Should that kind of header separation become necessary.)

Thanks for your tips and advice, I'm going to refactor the code as soon as possible. I really appreciate your help @akosthekiss ! :)

@akosthekiss I modified it depending your previous comments. Can you review it?

I fixed these @akosthekiss!

I've fixed these mistakes.

LGTM