Feature: adds display of tag descriptions and regexp searching for tags

tag descriptions were not displayed to the user anywhere, so i've added those.
Also, for long tag lists there wasn't a good way to search through the tags.
This implementation assumes that if there were no results from the regexp search in the segment labels that the user might also want to search through the tags and tag descriptions and limit that list instead.

I am worried that it may be problematic for the behavior to depend on whether there are any label matches.  To avoid that, there could be a dedicated syntax for searching tag names/descriptions, e.g. "#/".   On the other hand an additional syntax adds complexity for users, and I suppose it may be the case in practice that labels are not used if tags are used.
Currently the query produces a list of segments that match, and the set of tags displayed is exactly the set of tags that match the query (or all tags if there is no query).
An option to filter the list of tags would break this invariant, because a segment could have one tag that matches the tag regexp and another tag that doesn't match the regexp.  If we filter the list of tags, it would be natural to also filter the segments to those that have a matching tag.  But then users might be interested in which other tags the matching segments have, and there would be no way to see that.

I think the issue of it matching one one tag but not another is not an issue.  The user simply presses the + button on the tag they were looking for.. the regexp goes away and the tag is added and then you have the behavior you were hoping for where you see the summary of other tags that remain in the list of segments (along with the #).
I'm not sure there are a lot of use cases where there are tags and labels that have overlapping search spaces.
I came up with one, where you have a hierarchical style segmentation, say of brain areas, where you have low level segment IDs that merge together into higher ones.  Each segment at each level has a name, but perhaps you tag all the lower level segments with the names/abbreviations of the higher level segments.  In this way, you could add all the segments that are underneath one node, or see when you filter to a lower level segment, what are all the higher level segments in the hierarchy that are associated with that lower level.
In that use case I think this interface actually works pretty well.  As you search for things it will default to searching for the labels themselves and the individual elements of the hierarchy, and not really be searching through the tags that have overlapping character strings.
I think you could have the syntax that you suggested in cases where you really want to search tags.
Zooming out, if this isn't the solution I feel like one has to have a different kind of solution to deal with situations where you have more tags than easily fit in the small window. Scrolling and hunting for the tag you want is not a great UI.

I agree that filtering by tag is important, and the basic approach you have here seems reasonable.
A few fixes are needed to make this work if there is no label property.

can you point me to an example with a valid segment_properties files with no labels so I can figure out how to modify this implementation to work correctly for that case?

can you point me to an example with a valid segment_properties files with no labels so I can figure out how to modify this implementation to work correctly for that case?

https://h01-dot-neuroglancer-demo.appspot.com/#!gs://h01-release/assets/neuroglancer_states/20210601/gallery/00_l2_interneurons.json

okay i've given it a shot.. i'm not certain if i've covered all the cases though.  Please give it a second look.. @jbms


Test Cases for search_items_API Function

Summary
This issue report details the purpose and expected outcomes of each test case implemented for the search_items_API function. The function aims to retrieve product data from multiple online retailers based on specified parameters. These test cases check the function’s robustness, accuracy, and its handling of various edge cases.
Test Cases Overview

Basic Functionality Checks

test_api_bestbuy: Validates that search_items_API returns results when querying for a "laptop" from Best Buy.
test_api_bestbuy1: Checks that the function returns a non-empty list of results.
test_api_bestbuy2: Ensures that exactly 10 results are returned.
test_api_bestbuy3: Confirms that the function output is in list format.
test_api_bestbuy4: Verifies that each result in the list is a dictionary.

Content Checks

test_api_bestbuy5 - test_api_bestbuy10: These tests verify that each result dictionary contains specific keys (timestamp, title, price, link, img_link, and website), ensuring data completeness.

Data Validation

test_api_bestbuy_collected_produce_price: Confirms that each price entry is in a valid numeric format.
test_api_bestbuy_collected_produce_title: Ensures that title values are not empty.
test_api_bestbuy_collected_produce_link: Validates that each link starts with http, https, or www, indicating valid URL format.
test_api_bestbuy_collected_produce_img_link: Checks that each img_link value has a valid URL format.
test_api_bestbuy_collected_produce_timestamp: Confirms that timestamp values are not empty.

Edge Case Handling

test_api_bestbuy_null: Tests the function with an empty product name. Expected result: None.
test_api_bestbuy_mojibake: Uses a product name containing special characters, simulating invalid input. Expected result: None.

Issues Identified

Edge Case Resilience: The function’s response to empty and special character inputs (e.g., test_api_bestbuy_null, test_api_bestbuy_mojibake) should be None, indicating proper handling of unexpected or invalid search terms.
Data Completeness: Keys within each dictionary result are expected to be consistently populated (timestamp, title, etc.), as tested in test_api_bestbuy5 - test_api_bestbuy10.

Recommendations

Ensure all dictionaries returned contain consistent and non-empty values for required fields.
Enhance error handling in search_items_API to account for empty strings and special characters, confirming that they return None.
Regularly validate URL formats in link and img_link fields to maintain data quality across scrapers.

#7 resolved this issue.


Exponents with decimals evaluate to 0.00

Any exponent with a decimal either in the power or the base evaluates to 0.
Tested on CalcVox
Evaluates correctly:
2 ^ 2
5 ^ 2
(5-2) ^ 3
Broken:
2.1 ^ 2
4 ^ 0.5
64 ^ (1/3)
2.0 ^ 2

It seems the decimal fixes in #1 completely fixed all of these, at least for me. @Gyoder, Do you mind testing again?


Deploying Container Apps

Bicep version
Bicep CLI version 0.4.1272
Describe the bug
Subnet subnet-proj-dev is in use by /subscriptions/c9448874-158f-40cb-a312-6780d82ac586/resourceGroups/MC_ashymushroom-83dafdf4-rg_ashymushroom-83dafdf4_northeurope/providers/Microsoft.Network/networkInterfaces/|providers|Microsoft.Compute|virtualMachineScaleSets|aks-systempool-24208290-vmss|virtualMachines|1|networkInterfaces|aks-systempool-24208290-vmss/ipConfigurations/ipconfig1 and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet. (Code: InUseSubnetCannotBeDeleted)
To Reproduce
Steps to reproduce the behavior:

Deploy Microsoft.Network/virtualNetworks, Microsoft.Network/virtualNetworks/subnets, Microsoft.App/managedEnvironments with properties:vnetConfiguration:internal: true and Microsoft.App/containerApps with properties:configuration:ingress:external: true
First deployment succeeds. But redeployment fails with the error described above.

Having the same issue here when using a custom vnet for container apps when trying to redeploy not delete
{"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/654faced-e930-4c6b-af2c-2936e5911da4/resourceGroups/rg-replaced-dev-norwayeast/providers/Microsoft.Resources/deployments/main","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/654faced-e930-4c6b-af2c-2936e5911da4/resourceGroups/rg-replaced-dev-norwayeast/providers/Microsoft.Resources/deployments/VirtualNetworkDeployment","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions/654faced-e930-4c6b-af2c-2936e5911da4/resourceGroups/rg-replaced-dev-norwayeast/providers/Microsoft.Resources/deployments/VirtualNetworkDeployment","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"InUseSubnetCannotBeDeleted","message":"Subnet snet-replaced-dev-norwayeast-002 is in use by /subscriptions/98b9562b-9a85-4b59-aea5-fc30f0cd8d70/resourceGroups/MC_victorioussmoke-b9e84895-rg_victorioussmoke-b9e84895_norwayeast/providers/Microsoft.Network/networkInterfaces/|providers|Microsoft.Compute|virtualMachineScaleSets|aks-systempool-22404287-vmss|virtualMachines|2|networkInterfaces|aks-systempool-22404287-vmss/ipConfigurations/ipconfig1 and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet.","details":[]}]}]}]}}
azure-cli                         2.49.0 *
core                              2.49.0 *
telemetry                          1.0.8
Dependencies:
msal                              1.20.0
azure-mgmt-resource               22.0.0
Python (Darwin) 3.10.11 (main, Apr  7 2023, 07:24:53) [Clang 14.0.0 (clang-14<IP_ADDRESS>)]
Bicep CLI version 0.19.5 (87ca110fc0)

Issue goes away when i comment this code/module out:
resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = {
name: 'vnet-${toLower(tags.applicationName)}-${toLower(tags.env)}-${tags.location}-${instance}'
location: tags.Location
properties: {
addressSpace: {
addressPrefixes: addressPrefixes
}
}
tags: tags
}

This is a common issue that you are running into.
You can see here, there is a linter rule in the process of being created to provide guidance of the pattern to avoid.

https://github.com/Azure/bicep/issues/4595

In short subnets are properties of the VNET, you should include ALL subnet information on the VNET deployment and not a separate resource deployment. Otherwise when you go to deploy the VNET again, your vnet has not subnets listed, so it simply tries to remove them.
If there is not enough info in that issue above, please provide feedback, so we can make this more clear.

Hi Ben.
It works.
Thank you.
Maybe Linter rule should be mentioned in official Microsoft documentation.
Here  is the only place I've found an indirect mention of this issue.
Thank you again and best regards.


Fix visibility issue for https://github.com/dlang/phobos/pull/5470

thx @ZombineDev @jmdavis for a quick turnaround


What changed?

Recently something has changed and this doesnt appear to be working as it used to. Can someone update this documentation?

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

ID: cb0fc0fc-b772-de61-258a-a6fd4ea9711c
Version Independent ID: 04e86827-c8da-a01a-2cb5-aeb2fbcef610
Content: Resolve license assignment problems for a group - Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/licensing-groups-resolve-problems.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @curtand
Microsoft Alias: curtand

@mattderosia Thanks for your feedback! Can you please elaborate on what exactly is not working ? Are you getting any errors ?

I had a shortcut on my azure portal similar to the screenshot from this documentation. This “pinned” shortcut would be a visual indication that I needed to review licensing. There was an error on it in my console. I don’t have a copy of the error, I had removed it in hopes of recreating it. This is no longer possible as the requirements for this have changed and are no longer the same. The pages don’t display the same. I cant even locate this information.
<EMAIL_ADDRESS>Thanks,
Matt Derosia
Cellular Sales | IT Staff Administrator, Infrastructure
9040 Executive Park Drive
Knoxville, TN  37923
(865) 244-2859
From: SaurabhSharma-MSFT<EMAIL_ADDRESS>Sent: Friday, November 1, 2019 1:39 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Matt Derosia<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] What changed? (#41953)
This message has originated from an [External Source]
@mattderosiahttps://github.com/mattderosia Thanks for your feedback! Can you please elaborate on what exactly is not working ? Are you getting any errors ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/41953?email_source=notifications&email_token=ANU34ONXMRWPEVAHKIZVTQTQRRSTVA5CNFSM4JH3LYQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC3ULJA#issuecomment-548881828, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANU34OK5HGVDCSQKAHAMNCLQRRSTVANCNFSM4JH3LYQQ.

@mattderosia I suggest you to please open a Azure Support Ticket so that Identity Support engineer can check further on this issue. In case you limitations in your support plan to open support ticket please let me know.

Now I am confused, are you saying that the path hasn’t changed and the documentation is accurate?
Thanks,
Matt Derosia
Cellular Sales | IT Staff Administrator, Infrastructure
9040 Executive Park Drive
Knoxville, TN  37923
(865) 244-2859
From: SaurabhSharma-MSFT<EMAIL_ADDRESS>Sent: Tuesday, November 5, 2019 12:45 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Matt Derosia<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] What changed? (#41953)
This message has originated from an [External Source]
@mattderosiahttps://github.com/mattderosia I suggest you to please open a Azure Support Tickethttps://aka.ms/azsupt so that Identity Support engineer can check further on this issue. In case you limitations in your support plan to open support ticket please let me know.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/41953?email_source=notifications&email_token=ANU34OJXYAZY6VX6V3JRYJTQSGWJZA5CNFSM4JH3LYQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDDU5YQ#issuecomment-549932770, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANU34OKR42Q4XKVVYNGRYO3QSGWJZANCNFSM4JH3LYQQ.

@mattderosia I do not see any issue with the documentation.  I can see the licenses information as per the documentation -
Once you go to Azure AD blade > Groups > {Select your respective group} then you can see the group overview blade and you can see the page as stated in point 1.
.
Please let me know if you are looking for something else which is not available.

Yes that part works fine…
Now reference step 3 on the page. See the RED BOX? I used to have that pinned to my dashboard (see error below), it was used to alert me that licenses needed attention.
“3.To find all groups that contain at least one error, on the Azure Active Directory blade select Licenses, and then select Overview. An information box is displayed when groups require your attention.”
You CANT navigate to this location…. Screenshot from my tenant (below)
<EMAIL_ADDRESS>The above screen shot is not the same as the screen shot in the documentation (below)
<EMAIL_ADDRESS>Now it says this! See error below when clicking the details link as seen in this screenshot.
<EMAIL_ADDRESS>Summary
Ctrl-C to copy
Copy to clipboard
Copied
•             Session ID
516beff5a2ec4a36993c498118cb9daa
•             Resource ID
Not available
•             Extension
Microsoft_AAD_IAM
•             Content
GroupsWithErrorsCountPart
•             Error code
Error reason
•             ErrorLocatingPartDefinitionDetails
errorData: undefined sourceErrorLevel: undefined baseTypes: ["t","MsPortalFx.Errors.Error"] code: undefined columnNumber: 790 data: 5 errorLevel: 2 extension: fx fileName: https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js handled: undefined innerErrors: ["errorData: undefined\r\n_sourceErrorLevel: undefined\r\nbaseTypes: ["t","MsPortalFx.Errors.Error"]\r\ncode: undefined\r\ncolumnNumber: 790\r\ndata: 2\r\nerrorLevel: 2\r\nextension: fx\r\nfileName: https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js\r\nhandled: undefined\r\ninnerErrors: ["errorData: undefined\r\n_sourceErrorLevel: undefined\r\nbaseTypes: [\"t\",\"MsPortalFx.Errors.Error\"]\r\ncode: undefined\r\ncolumnNumber: 790\r\ndata: 1\r\nerrorLevel: 2\r\nextension: fx\r\nfileName: https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js\r\nhandled: undefined\r\ninnerErrors: [\"columnNumber: 675\\r\\nfileName: https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js\\r\\nlineNumber: 32\\r\\nmessage: Failed to retrieve the blade definition for 'LicensesOverviewBlade' from the server.\\r\\nmessage:Manual require of the following modules failed; [\\\"generated/Blades/LicensesOverviewBlade\\\" : {Error: Couldn't load \\\"generated/Blades/LicensesOverviewBlade\\\" at \\\"https://afd.hosting.portal.azure.net/iam/Content/2.0.0102713-043673/Scripts/_generated/Blades/LicensesOverviewBlade.js?retryAttempt=1.5135028247342177\\\\\\\"; error code 404, message: Not Found}];\\r\\nstack: ###RPC_Exception###\\nr@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790\\nu@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:11:1296\\ntt@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:11:1405\\ng@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:73:1543\\nb/<@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:73:1711\\no@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:72\\ni.prototype.then/<@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:5444\\n\\r\\nFrom RPC: fx -> Microsoft_AAD_IAM (MsPortalFx.Internal.Constants.RpcMethods.entryPointGetBladeDefinition)\\r\\n(Callstack capturing is not enabled. Use ?trace=diagnostics to enable it.)\\r\\n\"]\r\nlineNumber: 18\r\nmessage: Unable to locate blade 'LicensesOverviewBlade'. Search path:'[0]Microsoft_AAD_IAM-[1]LicensesOverviewBlade'.\r\nname: Error\r\nsource: Extension/Microsoft_AAD_IAM/Blade/LicensesOverviewBlade\r\nstack: r@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790\nt@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:1872\nn.prototype.locateAsync/<@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:5309\no@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:72\ni.prototype.then/<@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:5444\n\r\ntimestamp: 22178\r\ntype: t\r\n"]\r\nlineNumber: 18\r\nmessage: Unable to locate lens 'GroupsWithErrorsLens'. Search path:'[0]Microsoft_AAD_IAM-[1]LicensesOverviewBlade-[2]GroupsWithErrorsLens'.\r\nname: Error\r\nsource: Extension/Microsoft_AAD_IAM/Blade/LicensesOverviewBlade/Lens/GroupsWithErrorsLens\r\nstack: r@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790\nt@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:1872\nn.prototype.locateAsync/<@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:5309\no@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:72\ni.prototype.then/<@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:5444\n\r\ntimestamp: 22178\r\ntype: t\r\n"] lineNumber: 18 message: Unable to locate part instance 'GroupsWithErrorsCountPart'. Search path:'[0]Microsoft_AAD_IAM-[1]LicensesOverviewBlade-[2]GroupsWithErrorsLens-[5]GroupsWithErrorsCountPart'. name: Error source: Extension/Microsoft_AAD_IAM/Blade/LicensesOverviewBlade/Lens/GroupsWithErrorsLens/PartInstance/GroupsWithErrorsCountPart stack: r@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790 t@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:1872 n.prototype.locateAsync/<@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:5309 o@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO_.js:4:72 i.prototype.then/<@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO_.js:4:5444 timestamp: 22178 type: t
Thanks,
Matt Derosia
Cellular Sales | IT Staff Administrator, Infrastructure
9040 Executive Park Drive
Knoxville, TN  37923
(865) 244-2859
From: SaurabhSharma-MSFT<EMAIL_ADDRESS>Sent: Wednesday, November 6, 2019 5:21 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Matt Derosia<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] What changed? (#41953)
This message has originated from an [External Source]
@mattderosiahttps://github.com/mattderosia I do not see any issue with the documentation. I can see the licenses information as per the documentation -
Once you go to Azure AD blade > Groups > {Select your respective group} then you can see the group overview blade and you can see the page as stated in point 1https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/licensing-groups-resolve-problems#to-find-users-in-an-error-state-in-a-group.
[image]https://user-images.githubusercontent.com/38112130/68342852-5049c280-00a0-11ea-8d1a-302731b6cee2.png.
Please let me know if you are looking for something else which is not available.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/41953?email_source=notifications&email_token=ANU34OLEI5JTVISCABQRCMLQSM7LNA5CNFSM4JH3LYQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDIGBAY#issuecomment-550527107, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANU34OPFJEU525MEDMSRSZ3QSM7LNANCNFSM4JH3LYQQ.

@mattderosia Sorry, unfortunately I am not able receiving your images.  Can you please send the screenshots by email to AzCommunity[at]microsoft[dot]com with the link of this GitHub Issue Id so that I can check it further.

Resending and including AzCommunity[at]microsoft[dot]com
Thanks,
Matt Derosia
Yes that part works fine…
Now reference step 3 on the page. See the RED BOX? I used to have that pinned to my dashboard (see error below), it was used to alert me that licenses needed attention.
“3.To find all groups that contain at least one error, on the Azure Active Directory blade select Licenses, and then select Overview. An information box is displayed when groups require your attention.”
You CANT navigate to this location…. Screenshot from my tenant (below)
<EMAIL_ADDRESS>The above screen shot is not the same as the screen shot in the documentation (below)
<EMAIL_ADDRESS>Now it says this! See error below when clicking the details link as seen in this screenshot.
<EMAIL_ADDRESS>Summary
Ctrl-C to copy
Copy to clipboard
Copied
•             Session ID
516beff5a2ec4a36993c498118cb9daa
•             Resource ID
Not available
•             Extension
Microsoft_AAD_IAM
•             Content
GroupsWithErrorsCountPart
•             Error code
Error reason
•             ErrorLocatingPartDefinitionDetails
errorData: undefined sourceErrorLevel: undefined baseTypes: ["t","MsPortalFx.Errors.Error"] code: undefined columnNumber: 790 data: 5 errorLevel: 2 extension: fx fileName: https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js handled: undefined innerErrors: ["errorData: undefined\r\n_sourceErrorLevel: undefined\r\nbaseTypes: ["t","MsPortalFx.Errors.Error"]\r\ncode: undefined\r\ncolumnNumber: 790\r\ndata: 2\r\nerrorLevel: 2\r\nextension: fx\r\nfileName: https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js\r\nhandledhttps://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js/r/nhandled: undefined\r\ninnerErrors: ["errorData: undefined\r\n_sourceErrorLevel: undefined\r\nbaseTypes: [\"t\",\"MsPortalFx.Errors.Error\"]\r\ncode<file://r//ncode>: undefined\r\ncolumnNumber: 790\r\ndata: 1\r\nerrorLevel: 2\r\nextension: fx\r\nfileName: https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js\r\nhandledhttps://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js/r/nhandled: undefined\r\ninnerErrors: [\"columnNumber: 675\\r\\nfileName: https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js\\r\\nlineNumberhttps://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js/r/nlineNumber: 32\\r\\nmessage: Failed to retrieve the blade definition for 'LicensesOverviewBlade' from the server.\\r\\nmessage:Manual require of the following modules failed; [\\\"generated/Blades/LicensesOverviewBlade\\\" : {Error: Couldn't load \\\"generated/Blades/LicensesOverviewBlade\\\<file://%22_generated/Blades/LicensesOverviewBlade/>" at \\\"https://afd.hosting.portal.azure.net/iam/Content/2.0.0102713-043673/Scripts/_generated/Blades/LicensesOverviewBlade.js?retryAttempt=1.5135028247342177\\\\\\\<file://%22https:/afd.hosting.portal.azure.net/iam/Content/2.0.0102713-043673/Scripts/generated/Blades/LicensesOverviewBlade.js%3fretryAttempt=1.5135028247342177/>"; error code 404, message: Not Found}];\\r\\nstack: ###RPC_Exception###\\nr@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790\\nu@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:11:1296\\ntt@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:11:1405\\ng@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:73:1543\\nb/<@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:73:1711\\no@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:72\\ni.prototype.then/<@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:5444\\n\\r\\nFrom RPC: fx -> Microsoft_AAD_IAM (MsPortalFx.Internal.Constants.RpcMethods.entryPointGetBladeDefinition)\\r\\n(Callstack<file://r//n(Callstack> capturing is not enabled. Use ?trace=diagnostics to enable it.)\\r\\n\"]\r\nlineNumber<file://r//n/%22%5d/r/nlineNumber>: 18\r\nmessage: Unable to locate blade 'LicensesOverviewBlade'. Search path:'[0]Microsoft_AAD_IAM-[1]LicensesOverviewBlade'.\r\nname: Error\r\nsource: Extension/Microsoft_AAD_IAM/Blade/LicensesOverviewBlade\r\nstack: r@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790\nt@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:1872\nn.prototype.locateAsync/<@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:5309\no@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:72\ni.prototype.then/<@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:5444\n\r\ntimestampmailto:r@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790\\nt@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:1872\\nn.prototype.locateAsync/<@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:5309\\no@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO_.js:4:72\\ni.prototype.then/<@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO_.js:4:5444\\n\\r\\ntimestamp: 22178\r\ntype: t\r\n"]\r\nlineNumber: 18\r\nmessage: Unable to locate lens 'GroupsWithErrorsLens'. Search path:'[0]Microsoft_AAD_IAM-[1]LicensesOverviewBlade-[2]GroupsWithErrorsLens'.\r\nname: Error\r\nsource: Extension/Microsoft_AAD_IAM/Blade/LicensesOverviewBlade/Lens/GroupsWithErrorsLens\r\nstack: r@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790\nt@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:1872\nn.prototype.locateAsync/<@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:5309\no@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:72\ni.prototype.then/<@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:5444\n\r\ntimestampmailto:r@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790\nt@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:1872\nn.prototype.locateAsync/<@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:5309\no@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO_.js:4:72\ni.prototype.then/<@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO_.js:4:5444\n\r\ntimestamp: 22178\r\ntype: t\r\n"] lineNumber: 18 message: Unable to locate part instance 'GroupsWithErrorsCountPart'. Search path:'[0]Microsoft_AAD_IAM-[1]LicensesOverviewBlade-[2]GroupsWithErrorsLens-[5]GroupsWithErrorsCountPart'. name: Error source: Extension/Microsoft_AAD_IAM/Blade/LicensesOverviewBlade/Lens/GroupsWithErrorsLens/PartInstance/GroupsWithErrorsCountPart stack: r@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790mailto:r@https://portal.azure.com/Content/Dynamic/d54PHuFc6uBX.js:18:790 t@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:1872mailto:t@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:1872 n.prototype.locateAsync/<@https://portal.azure.com/Content/Dynamic/MKriuUUFuMkw.js:67:5309 o@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO.js:4:72mailto:o@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO_.js:4:72 i.prototype.then/<@https://portal.azure.com/Content/Dynamic/HqqGcaigZQO_.js:4:5444 timestamp: 22178 type: t
@mattderosiahttps://github.com/mattderosia I do not see any issue with the documentation. I can see the licenses information as per the documentation -
Once you go to Azure AD blade > Groups > {Select your respective group} then you can see the group overview blade and you can see the page as stated in point 1https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/licensing-groups-resolve-problems#to-find-users-in-an-error-state-in-a-group.
[image]https://user-images.githubusercontent.com/38112130/68342852-5049c280-00a0-11ea-8d1a-302731b6cee2.png.
Please let me know if you are looking for something else which is not available.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/41953?email_source=notifications&email_token=ANU34OLEI5JTVISCABQRCMLQSM7LNA5CNFSM4JH3LYQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDIGBAY#issuecomment-550527107, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANU34OPFJEU525MEDMSRSZ3QSM7LNANCNFSM4JH3LYQQ.

@curtand Can you please look into this and update the images on the documentation.  The portal shows different than what is in the documentation -
Documentation Image

Portal Image

This content was updated 11/7. It should be the same now.

#please-close

I am not sure if you guys are even paying attention.
This page https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/licensing-groups-resolve-problems clearly shows an image in step #3 that I USED TO BE ABLE TO USE. Then Microsoft made a change and now its broke AND THE DOCUMENTATION HAS NOT BEEN UPDATED.
Not hard guys. Either fix the functionally or update the documentation.
Thanks,
Matt Derosia
Cellular Sales | IT Staff Administrator, Infrastructure
9040 Executive Park Drive
Knoxville, TN  37923
(865) 244-2859
From: PRMerger16<EMAIL_ADDRESS>Sent: Wednesday, November 13, 2019 5:43 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Matt Derosia<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] What changed? (#41953)
This message has originated from an [External Source]
Closed #41953https://github.com/MicrosoftDocs/azure-docs/issues/41953.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/41953?email_source=notifications&email_token=ANU34OPHNF7HULX6XTCQJOTQTR7FTA5CNFSM4JH3LYQ2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOU24BSVQ#event-2797082966, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANU34OJQTAQ6Y7NZEC53GIDQTR7FTANCNFSM4JH3LYQQ.


Bug Report:

Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as clearing cookies, clearing AppData, trying another browser) before submitting an issue.
If you are playing the game in a browser, what site are you playing it from?
Newgrounds or Itch.io? Specify below.
N/A
If you are playing the game in a browser, what browser are you using?
Chrome (or a Chromium based browser, i.e. Edge, Opera, etc.), Firefox, or Safari? Specify blow.
N/A
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Windows 10, latest version
What version of the game are you using? Look in the bottom left corner of the main menu.
Andromeda B6 (latest release)
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
Starting up Week 6 will cause this issue instantly.
Please describe your issue. Provide extensive detail and images if possible.
Upon starting up week 6 via the Story Mode menu on Hard mode, the game crashes and returns an error "Null Object Reference" (Video at https://streamable.com/iy3ydv)

try turning off week 6 shaders in options > preferences > effects and get back to me

wait nvm
i got it lmao

It actually is happening with all weeks, I just tried to play week 6 first when I downloaded it. Same issue occurs in freeplay.


iFrame security - bypass X-Frame-Options' header

Hi, i want to load external content in iFrame, but getting error on image below. Is there any way to fix this?

I'm using latest source code from repo. Looks like disabling browser security (as suggested #85 ) is not working due to it is hardcoded in blink (see this )
Is implementing proxy as suggested here is only option?

@Soarc interesting ...
CefGlue/CefSharp? Which of the IPCs are you using?

.NET/Javascript integration (CefSharp)
Generic Message Routing (Xilium.CefGlue)
Ajax HTTP/XHR (Xilium.CefGlue, CefSharp)

I'm using CefGlue.
I just changed in Chromely.CefGlue.Winapi.Demo app/chromely.html content to
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title of the document</title>
</head>

<body>
    <h1> Testing iFrame...... </h1>
    <iframe src="https://www.sesamestreet.org/videos?vid=25260" style="border:none;height:200px;width:300px;" ></iframe>
</body>
</html>

@Soarc I can't say if ServiceStack proxy is the only option, I can't see other ways to do it.
I went through ServiceStack's ProxyFeature and it is more or less the same as Chromely custom scheme handling - CefGlueHttpSchemeHandler.
What is not implemented is removing the header. This can be done here.
To do that for Chromely you will have:
ChromelyConfiguration config = ChromelyConfiguration()
                              .Create()
                              ....
                              .RegisterSchemeHandler("https", "www.sesamestreet.org", new CustomChromelySchemeHandler())
                              .....

I can test that over the weekend. But if you want to try too, please let us know how it goes.

I would consider this a security risk by just ignoring anything a web server sends. Even in previous issues of this type of problems I strongly encourage to not disable any of this or try to circumvent it. Web servers send these headers for a reason and the browser should be respecting them. In your case the web server is denying iframe from being used outside of its website/domain (sameorigin) and I wouldn't recommend going extra lengths to prevent it. You would have to load up the browser window to the domain itself and not a custom file which uses an iframe.

@NovusTheory I agree with you totally. But this is a project where you give developers options. I just showed you how ServiceStack's proxy could be implemented in Chromely. If it suits yours or other developers need - everybody is happy.
Besides I am curious too, and will try it..and see if not ignoring the headers will work. But that is for my curiosity. Will let you know if I find something.
Clarification: Chromely is primarily used to build SPAs where the html files are local. Embedding is of course allowed, but that is not the primary objective. See the iframe used for embedding in the demos for Google Shaka Player Demo. That url is used as-is. No change required. No custom scheme used.

@NovusTheory thanks for warning, but doing this xss-ish hack is exactly what i'm doing - i'm creating browser :) This browser controls (buttons, header, address bar) should be also html based. This browser will be locked to pages that I exactly know and no other navigation will be allowed, so i'm not worried about iFrame exploiting.
@mattkol Actually I tried your suggested approach, it works, but kind of. For some reason it is not rendering iFrame's content on some sites (like youtube) but showing it as plain text.
Also i didn't find, how to get request headers from CefRequest object, so this might be an actual problem.

        public class CustomCefGlueHttpSchemeHandler : CefResourceHandler
        {
            readonly HttpClient _httpClient;
            HttpResponseMessage _httpResponseMessage;
            Stream _contentStream;

            public CustomCefGlueHttpSchemeHandler()
            {
                _httpClient = new HttpClient();
            }

            static HttpMethod GetMethod(string methodName)
            {
                switch (methodName)
                {
                    case "GET":
                        return HttpMethod.Get;
                    case "POST":
                        return HttpMethod.Post;
                    default:
                        return HttpMethod.Get; //TODO: implement other methods
                }
            }

            protected override bool ProcessRequest(CefRequest request, CefCallback callback)
            {
                var httpRequest = new HttpRequestMessage(GetMethod(request.Method), request.Url);
                //TODO: copy body
                //TODO: where did i get request custom headers?

                Task.Run(async () =>
                {
                    using (callback)
                    {
                        try
                        {
                            _httpResponseMessage = await _httpClient.SendAsync(httpRequest);
                            _contentStream = await _httpResponseMessage.Content.ReadAsStreamAsync();
                        }
                        catch (Exception exception)
                        {
                            Log.Error(exception);
                        }
                        finally
                        {
                            callback.Continue();
                        }
                    }
                });

                //callback.Dispose();
                return true;
            }

            protected override void GetResponseHeaders(CefResponse response, out long responseLength, out string redirectUrl)
            {
                // unknown content-length
                // no-redirect
                responseLength = -1;
                redirectUrl = null; //TODO: handle redirect response

                try
                {
                    var headers = response.GetHeaderMap();

                    foreach (var header in _httpResponseMessage.Headers)
                    {
                        if (header.Key == "X-Frame-Options")
                            continue;
                        foreach (var val in header.Value)
                            headers.Add(header.Key, val);
                    }
                    headers.Add("Access-Control-Allow-Origin", "*");

                    foreach (var header in _httpResponseMessage.Content.Headers)
                    {
                        foreach (var val in header.Value)
                            headers.Add(header.Key, val);
                    }
                    headers.Add("content-encoding", "br");
                    response.SetHeaderMap(headers);

                    response.Status = (int) _httpResponseMessage.StatusCode;
                    //response.StatusText = _httpResponseMessage.Sta
                    //response.MimeType = _httpResponseMessage.Content.Mym;
                    response.StatusText = "OK";
                    responseLength = _httpResponseMessage.Content.Headers.ContentLength ?? -1;
                    //redirectUrl = _httpRe
                }
                catch (Exception exception)
                {
                    response.Status = (int)HttpStatusCode.BadRequest;
                    response.MimeType = "text/plain";
                    response.StatusText = "Resource loading error.";

                    Log.Error(exception);
                }
            }

            protected override bool ReadResponse(Stream response, int bytesToRead, out int bytesRead, CefCallback callback)
            {

                try
                {
                    var buff = new byte[bytesToRead]; //TODO: make shared buffer reading
                    bytesRead = _contentStream.Read(buff, 0, bytesToRead);
                    response.Write(buff, 0, bytesRead);
                }
                catch (Exception exception)
                {
                    Log.Error(exception);
                    bytesRead = 0;
                }

                return true;
            }

            protected override bool CanGetCookie(CefCookie cookie)
            {
                return true;
            }

            protected override bool CanSetCookie(CefCookie cookie)
            {
                return true;
            }

            /// <summary>
            /// The cancel.
            /// </summary>
            protected override void Cancel()
            {
                //TODO: add cancellation througt token source
            }
        }

Can you give me some tips on building right HttpRequestMessage object from CefRequest object?

Also I tried to use CefGlueHttpSchemeHandler directly, but getting this error.

@Soarc I got some errors but could load both sites. Sesame street has error when video started. Youtube plays well.
I do not see any difference with the header removed or unchanged. Files attached. Please change file extensions.
chromely.txt

.RegisterSchemeHandler("https", "www.sesamestreet.org", new CustomCefGlueHttpSchemeHandlerFactory())
.RegisterSchemeHandler("https", "youtube.com", new CustomCefGlueHttpSchemeHandlerFactory());
CustomCefGlueHttpSchemeHandler.txt
CustomCefGlueHttpSchemeHandlerFactory.txt

@Soarc just also used all the response headers and mimetype and ignoring header - X-Frame-Options.
With this Youtube plays well all the time. Sesamestreet still has errors.  Please see screenshot and file attached.
The error is - js_Ui3IC3Uo1BauZe23u…lDVRBoIk2g.js:30822 VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The media could not be loaded, either because the server or network failed or because the format is not supported.
Similar issue discussed here.
So this tells me it is not supported by Chromium/CEF out of the box. Likely a licensing, proprietary or copyright issues. I suggest you find more info on the video format. You can try https://html5test.com, https://html6test.com to see what is supported - please see this issue - https://github.com/chromelyapps/Chromely/issues/32
Good luck!
Keep us posted.

CustomCefGlueHttpSchemeHandler.txt

@mattkol thanks for help. Adding MimeType fixed my version also.
response.MimeType = _httpResponseMessage.Content.Headers.ContentType.MediaType; this line do the magic :) I'll check also rebuilding CEF with proprietary codecs. Thanks again.


_InlineInterlockedAdd64 is really InterlockedAdd64

InterlockedAdd64 is the name of the function that should be called/publicly documented. _InlineInterlockedAdd64 is hidden behind the define in winnt.h. Also, the type is LONG64, not LONGLONG.

@mattdurak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for fixing this, @mattdurak !


Update the sample so that the logs window actually opens the rails logs

By default rails logs are in log/development.log not logs/development.log
This bites me everytime I create a new config, as I like most of the defaults, and forget to change that one.

thanks


dashboard: release 3.1.0

Grafana revisions

Tarantool 3:

Prometheus revision 3,
InfluxDB revision 3;

Tarantool Cartridge and 1.10—2.x:

Prometheus revision 20],
InfluxDB revision 20;

Tarantool Data Grid 2:

Prometheus revision 9,
InfluxDB revision 9.

Added

Panels for Tarantool 3 configuration status and alerts (#224)

Changed

Use consistent style for panel requirements (PR #231)

Fixed

Missing panel requirement for vinyl Bloom filter panel (PR #231)

Tarantool 3 revision 2 InfluxDB dashboard has an issue filed in the first commit of this PR, so actual release is revision 3. (I had bumped both dashboards.) (Grafana does not allow to remove uploaded revisions, and the issue has been found after the publish.)


Missing official providers list

If you check Third-Party Providers page, it provides first party providers page which is leads to Page not found.
I was searching for Google provider, first I thought it was not available until I searched.
Thank you.

For now you can search https://github.com/thephpleague for oauth2- and it will list all repositories starting with oauth2- like oauth2-google

These markdown files are used to generate the documentation site at http://oauth2-client.thephpleague.com
The links in question function appropriately on that site...

@stevenmaguire I see, I checked the website and yes the link works there. Thank you.


Add support for building dpkg and RPM packaging

This adds support for building dpkg and RPM packages, which will allow ppc64le users to install VSCode system-wide more easily.
The series creates a Makefile to automate the process of downloading the electron and node packages, and selecting the appropriate gulp targets. It also includes a python utility script to convert certain x86 RPM dependencies to ppc ones; this would only need to be run if upstream's x86 dependencies change. This is tested on Fedora 30 and Ubuntu 19.04.

Thanks a lot for this! I will review this some time tomorrow. In the mean time, I can see that you are trying to merge against the ppc64le branch, however, later versions are in separate branches, such as 1.37.1-ppc64le, version 1.38 is out so I should port the changes over too.

cherry-picked into branch 1.38.0-ppc64le. Thanks!

Thanks. I tested in a Ubuntu VM, so it should work...


Date is UTC not localtime

The time in the Date column is displayed in UTC (without offset), I would expect local time here. Is that on purpose?

The time in the Date column is displayed in UTC (without offset), I
would expect local time here. Is that on purpose?

If I remember well it is a naive local time (without timezone offset)
and not UTC. Anyway on the develop branch it is not the case
anymore. Starting from the next release it will show a RFC3339 string
which contains the timezone (looking like
"2023-02-04T11:07:39+01:00"). So we can close this issue :)

Thank you! :)


Implement No-U-turn sampler

This pull request adds NUTS kernel for mcmc. The implement is quite similar to Algorithm 3 of the original paper.

[x] Implement NUTS
[ ] Add test file

This has been on our todo list, so cheers for starting work on this! I will be taking a look at this soon.

Thanks @fehiepsi this is great, will review when you add tests.  Did you consider implementing the dual averaging version (algorithm 6 in the paper)?

@eb8680 For dual averaging, I think that it applies to HMC too, so we can do it in another pull request. I intend to add kernels for Gaussian Process this week, so will consider to do it in a near future (after making GP more versatile).

@neerajprad @eb8680 I have used tests of HMC with a little modification for NUTS. This pull request is ready to review now. :)

@eb8680 I have to admit that it is easy to have bugs without comments. Now, I have added much more comments based on my understanding of the paper. I just started to study NUTS from the last week so please correct me if I got something wrong. For the example, I took from the test of HMC.
During the process of adding comments, I discover that I missed a crucial point: change the sign of step_size if we go to the left. After I fixed that bug, things seem good: we get better performance. As you can see from the test file, mean_tol and std_tol for both test case 1 and 2 are smaller than in HMC.  The tests 3 and 4 also passed for NUTS while they are failed in HMC. In addition, the acceptance rates of NUTS are much higher than HMC case (in my personal view, it suggests that we can use a smaller num_samples but still get good performance). For the speed, I don't think that it is a fair comparison because in HMC there are a fixed num_steps while in NUTS it is a free parameter (FYI, the first test took 12.27s for NUTS while it took 3.28s for HMC).
In addition, I have included a parameter max_tree_depth as in Stan package. This replaces the while loops (keep doubling until some conditions fail) by a for loop (when the tree is so big, by default it is 2**10 = 1024, we stop).

I don't have any major comments about the code. One of the reasons it took us a while to add HMC was profiling to make sure Pyro wasn't adding unacceptable overhead.

Since the runtime was primarily dominated by log prob and gradient computation, the additional NUTS book-keeping shouldn't add too much of an overhead. As @fehiepsi noted, doing a comparison on the test examples is not straightforward due to the adaptive nature of the num_steps parameter, but I think we can do some rough checks to ensure that the overhead isn't too much. I will try to run, and validate that. Also, due to the better effective sample size, we might not need as many samples to get a good posterior estimate with NUTS.
@fehiepsi - I was on vacation, so sorry about the delay in reviewing. Overall, this is looking great! Going through this in more detail now.

This is a very clean and well-documented implementation of NUTS. Love it! :)
One way to reuse the gradient computation could be to define a new integrator interface as follows for NUTS to allow for reusing gradients in a recursive setting, augment _TreeInfo with z_left_grad and z_right_grad, and pipe these in in _build_tree.
def single_step_velocity_verlet(z, r, potential_fn, step_size, z_grads=None):
    z_next = {key: val.data.clone() for key, val in z.items()}
    r_next = {key: val.data.clone() for key, val in r.items()}
    grads = _grad(potential_fn, z_next) if z_grads is None else z_grads

    for site_name in z_next:
        # r(n+1/2)
        r_next[site_name] = r_next[site_name] + 0.5 * step_size * (-grads[site_name])
        # z(n+1)
        z_next[site_name] = z_next[site_name] + step_size * r_next[site_name]
    grads = _grad(potential_fn, z_next)
    for site_name in r_next:
        # r(n+1)
        r_next[site_name] = r_next[site_name] + 0.5 * step_size * (-grads[site_name])
    z_next = {key: Variable(val) for key, val in z_next.items()}
    r_next = {key: Variable(val) for key, val in r_next.items()}
    return z_next, r_next, grads

We could also reuse the potential energy term instead of calling self._energy for each of the steps (the number of call could be num_steps those in the naive implementation). This will ensure that the NUTS overhead is very minimal. In its current form, it could add almost double the time as compared to the naive HMC implementation for the same number of steps.
I really like the simplicity and readability of the current approach though, so we can investigate if this is worth it in a later PR, and how best to do it.

@neerajprad You have pointed out a very important point for performance. Thanks a lot for that! I will try to address it in the next commit based on your idea.

@neerajprad You have pointed out a very important point for performance. Thanks a lot for that! I will try to address it in the next commit based on your idea.

We can try addressing any perf issues in a separate PR, and discuss the pros/cons of different approaches. This PR is looking great as is!

@neerajprad Yes, we can do it and discuss it in another pull request. I just addressed your comment about sorting dicts by making self._r_dist be an OrderDict. Now, we don't have sorted keys anymore.
Edit: In Trace, we use node_dict_factory = OrderedDict, so no need of the last commit. I will remove it.

Oopps, the randomness problem at #786 happened again. I am wondering .iter_stochastic_nodes() yield items from an OrderDict?

Yeah, it is strange. Despite that we use node_dict_factory = collections.OrderedDict for trace, the iter_stochastic_nodes() methods yield results randomly (maybe what I understand about node_dict_factory is wrong). After I sort it, I get consistent results. It should be fine now.

Despite that we use node_dict_factory = collections.OrderedDict for trace, the iter_stochastic_nodes() methods yield results randomly (maybe what I understand about node_dict_factory is wrong).

I think sorting this is needed, as the order from trace poutine is not by key's alphabetic order, but is probably related to the order of encountering the nodes in the execution.


Add shell script support

Added support for shell scripts

Will check for e.g version="1.0.0" in shell script in current folder.

Hi!
Thanks for the PR!
Is this a very common way of working in SH scripts?
I mean, do people always use VERSION= or version=?

Hello.
My pleasure!

I mean, do people always use VERSION= or version=?

Not always, but seems like a common theme from what i have seen.
Regards. :)


Migrate digiwf-engine to Spring Boot 3

Migrate digiwf-gateway to Spring Boot 3 (see Migration Guide).
Todo

Upgrade Spring Boot
Upgrade Spring Security
Configure Properties

Use the spring-boot-properties-migrator module to detect props that changed

Rename spring.factories to META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
Upgrade Dependencies

Additional Context

https://github.com/holunda-io/polyflow-examples/issues/233#issuecomment-1755538639
Remove @ConstructionBinding https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#constructingbinding-no-longer-needed-at-the-type-level
REST Template https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#apache-httpclient-in-resttemplate
Flyway https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#flyway
Hibernate https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#hibernate-61

FYI Die Message Api hat sich geändert (https://github.com/it-at-m/digiwf-core/pull/892#issuecomment-1781268535)


getDatetime2 not reads fsp when date is wrong

Please provide the following details.

Operating System: Linux
PHP Version: 7.1
php-mysql-replication Version: 5.0.5
*mysql version (SELECT VERSION();):  5.7.26-log

Steps required to reproduce the problem.

Have a table with column type DATETIME(6) NOT NULL - with fractional seconds
Update any row and set value of this column to NULL
Now you will receive an event that will fail when try to read value of any fields that go after mentioned above

Expected Result.

All data from binaryDataReader should go well after reading value from column with DATETIME(6) NOT NULL type

Actual Result.

binaryDataReader can't read next data because in the getDatetime2 function return null goes before it runs getFSP

#55

Thanks for approving pull request and merging to master branch!
When the new version will be released?

Many thanks!

Tx for fix
I just released new tag,


Edit tutorials - 2

Changes

Editing SeaORM tutorials (in progress)

I will go ahead and merge this


Speedup from caching data, speedup in freq calculation

Now much more responsive.

Merged build triggered.

Merged build started.

Merged build finished. Test PASSed.

Boom! Merged! Thanks @erictu! BTW, if possible, we should come up with a set of performance regression tests that we can run.


create a table instead of an array to hold the fibers in pmap-full

There is a crash when using pmap-full because the list of fibers passed to "join" is an array and not a table.
The fix aligns pmap-full implementation to pcall.
error: bad slot #0, expected table, got <array 0x600002C65C40>
  in table/clear [src/core/table.c] on line 411
  in drain-fibers [/Users/mraveloarinjaka/projects/sandbox/aoc2023/jpm_tree/lib/spork/ev-utils.janet] on line 35, column 3
  in join [/Users/mraveloarinjaka/projects/sandbox/aoc2023/jpm_tree/lib/spork/ev-utils.janet] on line 56, column 10
  in pmap-full [/Users/mraveloarinjaka/projects/sandbox/aoc2023/jpm_tree/lib/spork/ev-utils.janet] (tailcall) on line 84, column 3

That does look like a mismatch.
Using tabseq seems better and it's what pcall (which also uses join) does -- perhaps that's something that motivated the specific proposed changes :)
Just spelling things out here for other reviewers.

Hello,
What are the next steps?
It is not clear whether I should amend the changes or if I am missing something.

My earlier comment was just saying that the proposed changes looked on the ok side.  Sorry if that was unclear.
I think this PR and some others are awaiting the main maintainer's availability -- AFAIU he is pretty busy.


Support file fs in hyplet

Need this + new release first, to make circleci run tests and close #18

👍


Crash when vehicle is in service

I have my vehicle in service, and I've noticed that TeslaMate crashes due to the API returning an error indicating as such. Here's the log:
2021-01-19 08:07:53.956 [info] Migrations already up
2021-01-19 08:07:59.084 [info] Version: 1.21.1
2021-01-19 08:07:59.901 [info] Refreshed api tokens
2021-01-19 08:07:59.921 [info] Scheduling token refresh in 5 wk 5 d
2021-01-19 08:07:59.938 [info] Running TeslaMateWeb.Endpoint with cowboy 2.8.0 at :::4000 (http)
2021-01-19 08:07:59.953 [info] Access TeslaMateWeb.Endpoint at http://localhost
2021-01-19 08:08:00.234 [warn] TeslaApi.Error / %TeslaApi.Error{
  env: %Tesla.Env{
    __client__: %Tesla.Client{adapter: nil, fun: nil, post: [], pre: []},
    __module__: TeslaApi,
    body: %{
      "error" => "vehicle is currently in service",
      "error_description" => "",
      "response" => nil
    },
    headers: [
      {"date", "Tue, 19 Jan 2021 13:08:00 GMT"},
      {"content-type", "application/json; charset=utf-8"},
      {"content-length", "82"},
      {"connection", "keep-alive"},
      {"x-frame-options", "SAMEORIGIN"},
      {"x-xss-protection", "1; mode=block"},
      {"x-content-type-options", "nosniff"},
      {"cache-control", "no-cache"},
      {"x-request-id",
       "805fef69475040d99bd05f7e11f8fb49805fef69475040d99bd05f7e11f8fb49"},
      {"x-runtime", "0.037142"},
      {"strict-transport-security", "max-age=15724800; includeSubDomains"}
    ],
    method: :get,
    opts: [
      access_token: "<redacted>"
    ],
    query: [],
    status: 405,
    url: "https://owner-api.teslamotors.com/api/1/vehicles/<redacted>/vehicle_data"
  },
  message: "%{\"error\" => \"vehicle is currently in service\", \"error_description\" => \"\", \"response\" => nil}",
  reason: :unknown
}
2021-01-19 08:08:00.235 [info] Starting logger for 'Thomas's Model S'
2021-01-19 08:08:00.385 [info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
 - {:bad_cert, :hostname_check_failed}
2021-01-19 08:08:00.389 [error] GenServer {Tortoise.Registry, {Tortoise.Connection, "TESLAMATE_302E3436333"}} terminating
** (stop) {:tls_alert, {:handshake_failure, 'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}}
Last message: :connect
2021-01-19 08:08:00.500 [info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
 - {:bad_cert, :hostname_check_failed}
2021-01-19 08:08:00.501 [error] GenServer {Tortoise.Registry, {Tortoise.Connection, "TESLAMATE_302E3436333"}} terminating
** (stop) {:tls_alert, {:handshake_failure, 'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}}
Last message: :connect
2021-01-19 08:08:00.514 [warn] TeslaApi.Error / %{"error" => "vehicle is currently in service", "error_description" => "", "response" => nil}
2021-01-19 08:08:00.514 car_id=1 [error] Error / :unknown
2021-01-19 08:08:00.614 [info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
 - {:bad_cert, :hostname_check_failed}
2021-01-19 08:08:00.617 [error] GenServer {Tortoise.Registry, {Tortoise.Connection, "TESLAMATE_302E3436333"}} terminating
** (stop) {:tls_alert, {:handshake_failure, 'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}}
Last message: :connect
2021-01-19 08:08:00.727 [info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
 - {:bad_cert, :hostname_check_failed}
2021-01-19 08:08:00.729 [error] GenServer {Tortoise.Registry, {Tortoise.Connection, "TESLAMATE_302E3436333"}} terminating
** (stop) {:tls_alert, {:handshake_failure, 'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}}
Last message: :connect
2021-01-19 08:08:00.844 [info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
 - {:bad_cert, :hostname_check_failed}
2021-01-19 08:08:00.847 [error] GenServer {Tortoise.Registry, {Tortoise.Connection, "TESLAMATE_302E3436393"}} terminating
** (stop) {:tls_alert, {:handshake_failure, 'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}}
Last message: :connect
2021-01-19 08:08:00.956 [info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
 - {:bad_cert, :hostname_check_failed}
2021-01-19 08:08:00.959 [error] GenServer {Tortoise.Registry, {Tortoise.Connection, "TESLAMATE_302E3436393"}} terminating
** (stop) {:tls_alert, {:handshake_failure, 'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}}
Last message: :connect
2021-01-19 08:08:01.070 [info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
 - {:bad_cert, :hostname_check_failed}
2021-01-19 08:08:01.073 [error] GenServer {Tortoise.Registry, {Tortoise.Connection, "TESLAMATE_302E3436393"}} terminating
** (stop) {:tls_alert, {:handshake_failure, 'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}}
Last message: :connect
2021-01-19 08:08:01.186 [info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
 - {:bad_cert, :hostname_check_failed}
2021-01-19 08:08:01.188 [error] GenServer {Tortoise.Registry, {Tortoise.Connection, "TESLAMATE_302E3436393"}} terminating
** (stop) {:tls_alert, {:handshake_failure, 'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}}
Last message: :connect
2021-01-19 08:08:01.303 [info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
 - {:bad_cert, :hostname_check_failed}
2021-01-19 08:08:01.306 [error] GenServer {Tortoise.Registry, {Tortoise.Connection, "TESLAMATE_302E3938303"}} terminating
** (stop) {:tls_alert, {:handshake_failure, 'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}}
Last message: :connect
2021-01-19 08:08:01.415 [info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
 - {:bad_cert, :hostname_check_failed}
2021-01-19 08:08:01.418 [error] GenServer {Tortoise.Registry, {Tortoise.Connection, "TESLAMATE_302E3938303"}} terminating
** (stop) {:tls_alert, {:handshake_failure, 'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}}
Last message: :connect
...
2021-01-19 08:09:39.002 [info] Application teslamate exited: shutdown
{"Kernel pid terminated",application_controller,"{application_terminated,teslamate,shutdown}"}
Kernel pid terminated (application_controller) ({application_terminated,teslamate,shutdown})

The warning is being print out. It just means that the Tesla API returned an HTTP response with status 405.
Have you looked into the MQTT issue? That seems more relevant here. Are there any crash dumps written to a file?

The warning is being print out. It just means that the Tesla API returned an HTTP response with status 405.
Have you looked into the MQTT issue? That seems more relevant here. Are there any crash dumps written to a file?

I have not looked into the MQTT issue, but I do know that it was running just fine before I took the vehicle into service.
I'm actually running this as part of Home Assistant, which means that TeslaMate is running as a docker appliance. I'll have to look into a way of extracting any crash logs that may have been generated.

I have not looked into the MQTT issue, but I do know that it was running just fine before I took the vehicle into service.
I'm actually running this as part of Home Assistant, which means that TeslaMate is running as a docker appliance. I'll have to look into a way of extracting any crash logs that may have been generated.

It looks like this was due to the MQTT settings being incorrect. Thanks for pointing me in the right direction!

It looks like this was due to the MQTT settings being incorrect. Thanks for pointing me in the right direction!


Questions about T-SNE

Hello,
Thanks for sharing the interesting work, I just have one question about the T-SNE part. Could i know more detailed information about how you generate such amazing T-SNE results and i want to reproduce them. And actually i have tried TSNE of sklearn and open-tsne but they did not work.

Hi @knight-fzq ,
I used sklearn TSNE to generate the results. Here is the sample code for your reference, where features is the feature representations array and targets is the labels array of the input data.
        from sklearn.manifold import TSNE
        import matplotlib.pyplot as plt
        import pandas as pd
        import seaborn as sns

        df = pd.DataFrame()
        tsne = TSNE(n_components=2, verbose=1, perplexity=40, n_iter=300)
        tsne_results = tsne.fit_transform(features)
        df['y'] = targets
        df['tsne-2d-one'] = tsne_results[:,0]
        df['tsne-2d-two'] = tsne_results[:,1]
        fig = plt.figure()
        ax = fig.add_subplot(111)
        sns.scatterplot(
            x="tsne-2d-one", y="tsne-2d-two",
            hue="y",
            palette=sns.color_palette("tab10", 10),
            data=df,
            legend="full",
            alpha=0.8,
            s=5,
            ax=ax
        )
        ax.legend(title='class ID', loc='upper left')
        plt.axis('off')
        plt.show()

Thank you very much.

Hello,
Thanks for sharing the interesting work, I just have one question about the T-SNE part. Could i know more detailed information about how you generate such amazing T-SNE results and i want to reproduce them. And actually i have tried TSNE of sklearn and open-tsne but they did not work.
I would like to ask you if you have succeeded in reproduction? I also recently read this article to try to reproduce it, but it has been unsuccessful.

I would like to ask you if you have succeeded in reproduction? I also recently read this article to try to reproduce it, but it has been unsuccessful.


Update native dark-mode note in meta theme color

See https://twitter.com/quicksave2k/status/1376830182473015296 and https://chromiumdash.appspot.com/commit/eacbb32d64cb2c3e23e7a27c00ed969c942a84da

Thanks!


Installed addon doesn't load on game launch, new computer

See title, got a new laptop. It's lenovo LOQ 15 series that's out around 2023 so have new software, win11 and everything (if that needs to be considered). Fresh installed Guild Wars 2 and the latest Addon Manager. Tried plenty of stuff for hours but it just doesn't want to load any addons when I start the game. Manual installation of arcdps works completely fine.
I'm not sure where I can find the config.ini file, all I have in Addon Manager folder is GW2 Addon Manager.exe.config so i'll attach that.
would appreciate any help!
GW2 Addon Manager.exe.config.txt

I installed arcdps, arcdps boon table, and gw2 radial.
idk how to show size of folder on the list so I screenshotted each size's.

gw2al_log.txt

Does arcdps work (with the addon loader/manager)? if no, send the file /addons/arcdps/arcdps.log.
Rightclick d3d11.dll and select the Unlock button.

nope, installing arc ONLY with Addon Manager doesn't work as well.
Strange, I don't have arcdps log in the folder, only these two, and I have started the game already so log should've been made?

also I don't see unlock after rightclicking d3d11.dll

delete dxgi.dll in bin64
Do you use any of the following?

BitDefender
groupy
Citrix Workspace (v22 or later)
mydesk shield
Nvidia's GeForce Overlay
ASUS GPU Tweak III, Afterburner, RTSS (RivaTuner Statistics Server) or any other GPU overclock/control software
medal
(Razer Cortex)

done, deleted dxgi in bin64. Should I delete dxgi inside cef (inside bin64) too?
No I dont use any of that programs.  Checked app list on settings just in case they added any of those software when I bought the laptop yesterday as well, and I don't see any on that list installed.
thanks for helping btw

no, keep the dxgi inside cef, that one is most likely needed.
Install the latest C++ redistributable.
Page: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
Direct Download: https://aka.ms/vs/17/release/vc_redist.x64.exe

did, also updated net framework 4.8.1 since the requirements asks for it. Unfortunately still doesn't work

Still no arcdps log? I'm getting out of ideas :(

Oh wait might found the solution. When you told me to delete dxgi, it reminds me of Delta's arcdps site (https://www.deltaconnected.com/arcdps/) saying optionally you can rename d3d11.dll to dxgi.dll so I renamed the d3d11 in the gw2 directory into dxgi, had to replace the already existing dxgi and when I run the client these two error message pops out

BUT,
It works! I got the initial setup popup for arcdps and gw2radial. Really appreciate the ideas though because otherwise I would've given up and settled with only radial and no arc. Thx!
should I keep this ticket open incase anyone know what's up with that error message? or should I close and open a different ticket 🤔

So.. I lied, apparently the game only worked once with that "stopgap measure". Now whenever I open the game it just crashes after I tried selecting my toons in character select.  Asking for help once more.
I'll also attach gw2al_log:
[INFO] core | Addon loader v1.0 (v1.1 r33) initialized
[INFO] core | Loading addons from "./addons" path
[INFO] core | Loading arcdps
[INFO] core | Loaded d3d9_wrapper v2.0 r21
[INFO] core | Loaded arcdps v1.0 r541
[INFO] core | Loading d3d9_wrapper
[INFO] core | Loading gw2radial
[INFO] core | Loaded gw2radial v2.2 r1
[INFO] core | Done loading addons
[INFO] d3d9_wrapper | Loading system dxgi
[WARN] core | Init called twice without proper unload. If your addon is not working, make sure you handle this situation!
[INFO] d3d9_wrapper | Loading system dxgi
[WARN] core | Init called twice without proper unload. If your addon is not working, make sure you handle this situation!
[INFO] d3d9_wrapper | Loading system d3d11
[INFO] core | Unloading core addon
[INFO] core | Unloaded
r addon is not working, make sure you handle this situation!
[INFO] d3d9_wrapper | Loading system dxgi
thanks in advance!

Silly! found the fix myself. Apparently my pc refuses to automatically switch to my GPU. So I've been running gw2 on integrated graphic all this time and I think the addons don't like that. So if anyone is having issues with getting multiple addons to run, make sure to check your GPU control panel (Nvidia control panel in my case) and see which graphic card you're using to run the game.


cannot upip.install on nodemcu

Hi, I'm not sure if this is the correct place to raise this issue so feel free to let me know if now. Thanks for Picoweb, it looks to be exactly what I am after!
I have an ESP8266 flashed with the latest version of Micropython (1.8.5). On a fresh flash attempting to upip install picoweb generates an error:
`

import upip
upip.install('picoweb')
Installing to: /lib/
Traceback (most recent call last):
File "", line 1, in
File "upip.py", line 202, in install
File "upip.py", line 192, in install
File "upip.py", line 149, in install_pkg
File "upip.py", line 138, in get_pkg_metadata
File "upip.py", line 105, in url_open
OSError: -2
`

If you have any suggestions, or if I am doing something wrong please let me know.
Thanks,
Jon

Sorry, picoweb is (at least so far) not supported on ESP8266 port. However, the error above isn't even related to it, it's a sign of no Internet connectivity. Please direct further discussion of upip on ESP8266 to http://forum.micropython.org/viewtopic.php?f=16&t=2544. Thanks.

Understood and thanks for the pointer the problem I was actually seeing rather than the one I thought I had.


Using yarn workspaces the build does not contain expected Head usage

Are you reporting a bug?
Yes
When using yarn workspaces the build does not contain expected  usage. I.e. expected <title/> is not in the build output.
It seems that this package or an upstream package requires physical presence of dependencies within the cwd. The build works, but the  is not applied.
See synopsis at https://github.com/AubreyHewes/react-static-yarn-workspaces-build-error
Environment

react-static -v:

$ react-static -V # you need to update the issue template as it is a capital V ;-)
5.9.7

node -v:

$ node -v
v8.12.0

yarn --version or npm -v:

$ yarn --version
1.9.4

Operating system:

$ lsb_release --description  && uname -a
Description:	Ubuntu 17.10
Linux alita 4.13.0-46-generic #51-Ubuntu SMP Tue Jun 12 12:36:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Steps to Reproduce the problem
See https://github.com/AubreyHewes/react-static-yarn-workspaces-build-error
Base your steps off of any freshly installed react-static template!
See above repo (react-static basic template)
Expected Behavior
Build output contains  i.e. custom <title/>
Reproducible Demo
https://github.com/AubreyHewes/react-static-yarn-workspaces-build-error
git checkout tags/step2 as master is the workaround (nohoist)

Hmm, yeah this could be a problem. Interally, everything is either using one of required.resolve, require, or a webpack array of locations to be used. I've never used workspaces, so this is all new to me. If I showed you some code in the source, would you be able to help me diagnose this?

@tannerlinsley Yeah no problem.
I noticed that in the webpack (prod) config there are hard coded locations
i.e. https://github.com/nozzle/react-static/blob/47a1e672cca1dbbc094d5e47bf6ae13af906df55/src/static/webpack/webpack.config.prod.js#L35
Though I am unsure, in the above case, if it is the problem and if so what the solution should be..
Possibly recur up if expected packages are not found..?

Yeah, would you like to give that a try?
To test this out, you could just go into node_modules/react-static/lib/static/webpack/webpack.config.prod.js and modify that line (it may be a bit babelified, but it's doable).
Would could try:

Removing it. This would default the context to cwd. Even if that works, we should find a way to dynamically set the context to be correct.
Changing it to your cwd manually. Almost the same as above.
Detecting workspaces and setting it manually to the correct directory. This seems a bit fragile, but we could still try it out.

If changing that doesn't work, then it may be a combination of other fields that also need to be more dynamic. My guess is anywhere node_modules is used. I do think it's strange that it's working though, but the head is the only thing that doesn't work right.
One last thing that could help is if you tried this same experiment but with the react-static v6 beta.

@tannerlinsley Yeah will give it a go.
I agree it is strange that the build works except the Head

@tannerlinsley

Removing context does not help
Changing context to expected workspace does not help
Changing context to expected workspace and adding paths to modules does not help
Removing context and adding paths to modules does not help

In all cases renderToStringAndExtract does not have the required title
// Extract head calls using Helmet synchronously right after renderToString
// to not introduce any race conditions in the meta data rendering
var helmet = _reactHelmet2.default.renderStatic();
    console.log(helmet.title.toString());

Will have to debug it more to find a possible reason.. It still seems it is due to the possible directory locations (normal and yarn workspaces-nohoist works)

v6.0.0-beta.22 has the same problem
still digging ;-)

Extra (missing) information; I did not originally state that the dev version works as expected when used in yarn workspaces...
i.e.  cd client && yarn run start (based on issue repo)
So I am now looking at the differences between the dev and prod webpack configs and also how the node_modules/react-static/lib/static/index.js works which is not used in dev

So I seem to have found where it breaks.. still no idea why.
When rendering in yarn workspaces react-helmet Component.rewind() does not contain a mappedState https://github.com/nfl/react-helmet/blob/b22e2f4075971f8b80568cd9911a2143f602add1/src/Helmet.js#L68 and so fallbacks to a default state.
[react-static] renderToStringAndExtract appHtml
Home

Welcome to

  Error: [object Object]
      at renderToStringAndExtract (/app/node_modules/react-static/lib/static/index.js:521:35)
      at Object.renderToHtml (/app/node_modules/react-static/lib/static/getConfig.js:280:14)
      at _callee8$ (/app/node_modules/react-static/lib/static/index.js:559:39)
      at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40)
      at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22)
      at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime  /runtime.js:114:21)
      at step (/app/node_modules/react-static/lib/static/index.js:92:191)
      at /app/node_modules/react-static/lib/static/index.js:92:437
      at new Promise (<anonymous>)
      at /app/node_modules/react-static/lib/static/index.js:92:99

[react-helmet] renderStatic/rewind mappedState undefined
  Error: [object Object]
      at Function.Helmet._class.rewind (/app/node_modules/react-helmet/lib/Helmet.js:262:17)
      at renderToStringAndExtract (/app/node_modules/react-static/lib/static/index.js:539:62)
      at Object.renderToHtml (/app/node_modules/react-static/lib/static/getConfig.js:280:14)
      at _callee8$ (/app/node_modules/react-static/lib/static/index.js:559:39)
      at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40)
      at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22)
      at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime  /runtime.js:114:21)
      at step (/app/node_modules/react-static/lib/static/index.js:92:191)
      at /app/node_modules/react-static/lib/static/index.js:92:437
      at new Promise (<anonymous>)

[react-helmet] renderStatic/rewind NO MAPPED STATE; FALLBACK

[react-static] renderToStringAndExtract helmet.title <title data-react-helmet="true"></title>

Possibly an upstream issue with react-dom/server ?
Still digging; -)

Wow, this rabbit hole is deep! Keep digging!
On Oct 3 2018, at 2:01 pm, Aubrey Hewes<EMAIL_ADDRESS>wrote:

So I seem to have found where it breaks.. still no idea why.
When rendering in yarn workspaces react-helmet Component.rewind() does not contain a mappedState https://github.com/nfl/react-helmet/blob/b22e2f4075971f8b80568cd9911a2143f602add1/src/Helmet.js#L68 (https://link.getmailspring.com/link/1538596912.local-e7150b7b-597b-v1.4.2-f587b7b7@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2Fnfl%2Freact-helmet%2Fblob%2Fb22e2f4075971f8b80568cd9911a2143f602add1%2Fsrc%2FHelmet.js%23L68&recipient=cmVwbHkrMDA1NTI2MDkxOWYzYmYzYmZlNTA2YTg2ZDAwMDFkOTdlMDk0ODkxMTAzZjA3NzcwOTJjZjAwMDAwMDAxMTdjY2UyMWE5MmExNjljZTE1OThkZDVjQHJlcGx5LmdpdGh1Yi5jb20%3D) and so fallbacks to a default state.
[react-static] renderToStringAndExtract appHtml HomeWelcome to
Error: [object Object]
at renderToStringAndExtract (/app/node_modules/react-static/lib/static/index.js:521:35)
at Object.renderToHtml (/app/node_modules/react-static/lib/static/getConfig.js:280:14)
at _callee8$ (/app/node_modules/react-static/lib/static/index.js:559:39)
at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime /runtime.js:114:21)
at step (/app/node_modules/react-static/lib/static/index.js:92:191)
at /app/node_modules/react-static/lib/static/index.js:92:437
at new Promise ()
at /app/node_modules/react-static/lib/static/index.js:92:99
[react-helmet] renderStatic/rewind mappedState undefined
Error: [object Object]
at Function.Helmet._class.rewind (/app/node_modules/react-helmet/lib/Helmet.js:262:17)
at renderToStringAndExtract (/app/node_modules/react-static/lib/static/index.js:539:62)
at Object.renderToHtml (/app/node_modules/react-static/lib/static/getConfig.js:280:14)
at _callee8$ (/app/node_modules/react-static/lib/static/index.js:559:39)
at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime /runtime.js:114:21)
at step (/app/node_modules/react-static/lib/static/index.js:92:191)
at /app/node_modules/react-static/lib/static/index.js:92:437
at new Promise ()
[react-helmet] renderStatic/rewind NO MAPPED STATE; FALLBACK
[react-static] renderToStringAndExtract helmet.title
Possibly an upstream issue with react-dom/server ?
Still digging; -)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/1538596912.local-e7150b7b-597b-v1.4.2-f587b7b7@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fnozzle%2Freact-static%2Fissues%2F762%23issuecomment-426780089&recipient=cmVwbHkrMDA1NTI2MDkxOWYzYmYzYmZlNTA2YTg2ZDAwMDFkOTdlMDk0ODkxMTAzZjA3NzcwOTJjZjAwMDAwMDAxMTdjY2UyMWE5MmExNjljZTE1OThkZDVjQHJlcGx5LmdpdGh1Yi5jb20%3D), or mute the thread (https://link.getmailspring.com/link/1538596912.local-e7150b7b-597b-v1.4.2-f587b7b7@getmailspring.com/2?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFUmCQww1wNfJCb9z3f2Trn6cazQTYpLks5uhReagaJpZM4Wy0hB&recipient=cmVwbHkrMDA1NTI2MDkxOWYzYmYzYmZlNTA2YTg2ZDAwMDFkOTdlMDk0ODkxMTAzZjA3NzcwOTJjZjAwMDAwMDAxMTdjY2UyMWE5MmExNjljZTE1OThkZDVjQHJlcGx5LmdpdGh1Yi5jb20%3D).

:rabbit:

debugging this is a :hankey: :cloud_with_lightning_and_rain:

The baker said, "stale? have some nice fresh rogge!" Unfortunately, I have not had the time to dig into this any further. Our current solution is to CI with extra "nohoist".
I will get back in to this when I have the time. @tannerlinsley You can close this if you want as I can not say when I will have the time to continue this.

nohoist is the recommended solution for now. Thanks for your help @AubreyHewes!


doc: fix broken rST syntax in Kconfig help

Update usage of literal syntax in Kconfig file from markdown to proper rST.
Fixes #29853

I am testing this locally, seems like changing Kconfig files also does not trigger documentation builds!

I am testing this locally, seems like changing Kconfig files also does not trigger documentation builds!

Which is why the original PR that brought this in was not properly tested...

Thanks. I wasn't aware rST was allowed for Kconfig documentation.

All Kconfig files are parsed and made into rST, so CONFIG_ symbols can be resolved in the documentation. I will add a commit also filtering Kconfig files...

All Kconfig files are parsed and made into rST, so CONFIG_ symbols can be resolved in the documentation.

Good to know.  I see that at least two Kconfigs in Linux also use rST markup so this isn't Zephyr-only.

Good to know. I see that at least two Kconfigs in Linux also use rST markup so this isn't Zephyr-only.

Oh no, we have a custom script that does this, doc/scripts/gen_kconfig_rest.py, it is not something that happens in a standard documentation build. I doubt Linux is also doing the same!

I doubt Linux is also doing the same!

It's not doing it the same way, but what I mean is that there are Kconfig files in Linux that use rST markup, which means we can reasonably assume that presence of rST in Kconfig help is compatible with standard tools to process Kconfig content.  If we couldn't make that assumption there would be a problem if, like devicetree source, we want Zephyr Kconfig files to be compatible with non-Zephyr systems.  Then we'd have either remove the markup, or document that Zephyr Kconfigs are not portable.


Question - Way to go to past years

Great plugin, just started using. Is there a way to go to past years say i want to save my dad's birthday in 1900's.. On tapping the month-year, nothing happens. May be am i missing something?

This plugin uses Android's CalendarView.  What you want would be to pop open a DatePickerDialog.html when tapping on that area.


Fix Z_SOLO mode

Without this patch, #include <zlib.h> with Z_SOLO defined
(e.g. while building perl 5.34.0) fails because of use of
undefined types.

@Dead2 any thoughts on my last comment?

@nmoinvaz The zconf.h thing might be a good idea, though I am not 100% sure about any consequences it might have. I am sure a PR would get any cause for discussion going. 😉
Regarding WITH_GZFILEOP, I am not sure. Are they really doing the same thing, it did not look like it when I had a very quick look?
I meant to verify more thoroughly, because the two are really not the same when it comes to the actual idea behind them.
Z_SOLO is meant to disable functionality that requires functions linked in from an external library.
As far as I understand, in stock zlib this means it disables any features using file access as those functions are external.
We should of course honor this flag in compat mode.
Should we also support the flag in native mode?
How do we verify where we have calls to functions from external libraries? Have we introduced new dependencies?
So we could also get a situation where Z_SOLO and WITH_GZFILEOP diverge more than today. 🤷
I accepted these two PRs so we have a starting point that we can build upon, because I suspect this could be a relatively complex issue.


[#289] Use independent 'prop-types' package.

Addressing issue #289 React.PropTypes is deprecated in<EMAIL_ADDRESS>

@acdlite Could someone take a look at this PR to add compatibility with React 16? Is there someone else that has been maintaining this project that should get a mention instead?
Thanks!

It might be time to consider a community fork for this project, it seems unmaintained. AdHawk would be happy to lead that initiative if others will join.
I've started a fork and merged this PR: https://github.com/adHawk/redux-router


Constant redirect when logging in

Steps to reproduce:

npm Install
npm Start
Nav to locahost:3000
Enter credentials to log in

Expected result
Log-in with office graph
Actual result
Back to localhost:3000/login
Notes:
Console is empty
URL displays:
_http://localhost:3000/login?error=unauthorized_client&error_description=AADSTS70001%3A+Application+'8da52ad8-962c-48ea-886c-5bf72505c834'+is+not+supported+for+this+API+version.
Trace+ID%3A+23f4d94b-8467-45c1-8d0d-a17f2285b9f2
Correlation+ID%3A+7dde97db-8726-42bb-a84c-952683694319
Timestamp%3A+2016-06-02+17%3A11%3A23Z_
Link to image

Hi @DaveVoyles
Quick question. Did you register your app in the Application Registration Portal?
If that's the case, the URL shows the right error message. The application is not supported for this API version.
This sample uses ADAL for Node.js, which still doesn't support apps registered in the App Registration Portal. Use the Office 365 App Registration Tool instead to register your app.
Let me know if that solves the issue. Thank you.

I'm glad you said something -- I didn't realize there was a third portal to register at!

I registered there, and all seems to work well.  However, I tried logging into the app with my work credentials (I also work at Microsoft) via Dvoyles at microsoft, entered my password, received a phone call for two-factor auth, but then when the login page returned, (https://login.microsoftonline.com/login.srf) it said:

Sorry, but we’re having trouble signing you in.
We received a bad request.

Does this not work for Microsoft / corp accounts?

Oh, the 2nd and 3rd portals are essentially the same.
app-registration is just a wrapper that registers the app on manage.windowsazure.com
The first one is used to register apps with the Azure App Model v2. Unfortunately, the libraries that we are using are still not ready for this new model. I'll update this sample when the libraries have support for the new model.
You're right, the sample doesn't work with Microsoft corp accounts. I'll look into it, but I think that the library also has problems with custom sign-in pages (like ours).
Outlook and Hotmail accounts do not work. I know the sign-in page is a little confusing regarding what accounts you can use. Hopefully, this will be solved when we have support for the new app model.
Thank you for trying the sample. Let me know if you have any other questions (or suggestions).

OK, thank you for clarifying, now I understand!
Do you know of a sample that I could use to parse the office graph from a corp account?
Essentially I'm trying to log in via my corp ID, grab the name + loc of my co-workers, and draw that to a map.

Mmm... the PHP version of this sample works with my corporate account.
Office 365 PHP Connect sample using Microsoft Graph
The PHP sample doesn't use an authentication library. That should be okay for a demo, but for production, you should use an OAuth library.
Oh, I forgot to ask, are you looking specifically for a node sample? Or does the PHP sample work for you?

Yes please, it would have to be a node sample, as I am building this for a tutorial series around node and Office.
So that I better understand, is the issue that the Office graph cannot be parsed w/ a corp account, or just that this auth library does not support that?

The issue is that the authentication library doesn't support multiple tenants. At the moment, if you use this library you can only authenticate users from the same tenant where you registered the web application.

Since #41, this sample supports users from multiple tenants as a consequence of supporting the App Model v2. I believe this should take care of this issue. Feel free to reopen the issue if that is not the case.


Test: assist user in setting up eslint

See ESLint extension (see https://github.com/Microsoft/vscode-eslint)

[x] any OS - @octref

Complexity: 2
Setup:

Install eslint-extension@latest
create a new workspace and change dir into it
npm install eslint
open workspace

Test:

create JS file with an unused variable.
no ESLint error and no window message should appear.
the ESLint output channel should contain a message like:

[Warn  - 3:14:29 PM] No ESLint configuration (e.g .eslintrc) found for file: extension.js
File will not be validated. Consider running the 'Create .eslintrc.json file' command.

Run F1 > 'Create .eslintrc.json file'
Ensure that the JS file is validated and a warning is shown for the unused var.

Other than #12808 works great!


PDF tests should be skipped when ghostscript is not installed.

@xinyuejohn ran into this. It's confusing. The test should be skipped when Ghostscript is not installed.

https://github.com/theislab/ehrapy/commit/8564dc193e136b0169ef17fd4d4fd5dfed2ac5ef


BZR-62: add code coverage

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4b868f8). Click here to learn what that means.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff            @@
##             master       #5   +/-   ##
=========================================
  Coverage          ?   75.18%
  Complexity        ?      241
=========================================
  Files             ?       64
  Lines             ?      927
  Branches          ?        0
=========================================
  Hits              ?      697
  Misses            ?      230
  Partials          ?        0


MICR fonts

copied from https://github.com/tesseract-ocr/langdata/issues/59#issuecomment-290533931

@Shreeshrii 3. Traineddata for MICR

@theraysmith Beyond the scope of this change.

https://github.com/tesseract-ocr/tesseract/wiki/AddOns lists Tesseract-MICR-OCR:
for 3.0x
So will not work with 4.0?

It could be used as fine tuning training and should work.
On Fri, Mar 31, 2017 at 11:34 PM, Shreeshrii<EMAIL_ADDRESS>wrote:

https://github.com/tesseract-ocr/tesseract/wiki/AddOns lists
Tesseract-MICR-OCR: https://github.com/BigPino67/Tesseract-MICR-OCR
for 3.0x
So will not work with 4.0?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/langdata/issues/64#issuecomment-290900016,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL056cNa6tnvLbZou1Q8fsmWgs8WL5Lpks5rrfAMgaJpZM4MwY5I
.

--
Ray.


frontend: KubeObject: Set missing attributes in attrs

Previously, the apiVersion was not being provided in the jsonData object in the resource table, and apiVersion is necessary for authenticating and displaying valid row actions. This change ensures that resource, group, and version are always provided to ensure that valid row actions for the given KubeObject are visible.
Fixes: #2633
Testing

[X] Apply the YAML for the deployment, SA, and RBAC given in #2633
[X] Generate a new kubeconfig from this and apply it in the Headlamp app
[X] Open the new context and navigate to the "Deployments" page
[X] Ensure that the row actions in the table and actions on the deployment page match the permissions

@skoeva Do we always need to set the group + version + resource when checking for permissions? I think the original logic was "check if we are checking permissions with e.g. the resource, if so, use this API version's one instead", in these changes it does: "even if we were not testing permissions using the resource, will just set it".
Are we sure this is the right approach? We ought to test variants of these calls.

@joaquimrocha I think it would be fitting to have a complete resource to evaluate permissions for, no? The issue before was that the object was incomplete and therefore we were unable to check for its permissions. In what case would we prefer an incomplete object?

@joaquimrocha I think it would be fitting to have a complete resource to evaluate permissions for, no? The issue before was that the object was incomplete and therefore we were unable to check for its permissions. In what case would we prefer an incomplete object?

I just saying the nature of how we were checking things was more of if we use a resource name -> now try the resource name from this other version, and right now we're saying if a resource name is not set -> try the resource name from this version. So I believe this is incorrect to what is the point of that logic. It may be that the logic is wrong in some cases, but if we are missing fields, we should verify why that is instead of adding them from a new version, or by not replacing them with the current testing version, which is what these changes also do.


Fix hotel title line break

Change this

to this

Integrated, thanks. I just removed the wrapping view.