text:
Hide FileSharing API from stable build

What
Cherry pick of #1744
Why
Remove leaked beta-only API.

Will merge this once CI blesses it, even as I wait on main merge. I need this in to start API review discussion again.


text:
Detached resources not listed anymore after second deployment with the same template. Normal?

Describe the bug
I am not sure if I just not completely understand deployment stacks yet or if it is really something that does not work as it should in my tenant or something.
When some resources as removed form the the bicep file and then then Deployment Stack is updated with 'detatchAll'  the removed resources are shown as detached resources as expected. But then after the the Deployment Stack is updated again with exactly the same template the detached resources are not shown anymore.
To Reproduce
Steps to reproduce the behavior:

Given the following simple Bicep template:

param location string = resourceGroup().location

resource storageaccount1 'Microsoft.Storage/storageAccounts@2021-02-01' = {
  name: 'strdeploystacktest123'
  location: location
  kind: 'StorageV2'
  sku: {
    name: 'Standard_LRS'
  }
}

resource storageaccount2 'Microsoft.Storage/storageAccounts@2021-02-01' = {
  name: 'strdeploystacktest12345'
  location: location
  kind: 'StorageV2'
  sku: {
    name: 'Standard_LRS'
  }
}

Create a deployment Stack with az stack group create ... --action-on-unmanage detachAll or New-AzResourceGroupDeploymentStack ... -ActionOnUnmanage DetachAll
Removing 'storageaccount1' resource from the Bicep file.
Update the Deployment Stack with az stack group create ... --action-on-unmanage detachAll or New-AzResourceGroupDeploymentStack ... -ActionOnUnmanage DetachAll  agian.
The Storage Account 'str12345' is shown as detached resource now just as expected.
Update the Deployment Stack again. Still same command line options and same Bicep file as used on step 4.
The Storage Account 'str12345' is not shown as detached resource anymore. Even tough the resource itself still exists it can not be tracked with the Deployment Stack anymore.

Expected behavior
I would have expected that after the Stack is updated again with an unmodified template (Step 6. above) the Deployment Stack still keeps track of the previous detached resources so that they may also be cleaned up / deleted later on trough the Deployment Stack.
Especially when I read this section in the documentation: https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/deployment-stacks?tabs=azure-cli#control-detachment-and-deletion I would assume that I would be able to delete detached Resources by changing the option of 'action-on-unmange' from 'detachAll' to 'deleteResources' or 'deleteAll' and updated the Deployment Stack again (without changing the Bicep file anymore). But it seems that this is only possible on the first Deployment Stack update right after a resource is removed from the Bicep files. If I choose to detach the removed resource at this moment I will not have any option anymore to delete the detached resources by a Deployment Stack update later on. Correct?
Screenshots
Initial creation of the Deployment Stack. Bot Storage Account are shown as Managed:

Removing 'strdeploystacktest123' from the Bicep file and update the Deployment Stack ('DetachAll'). 'strdeploystacktest123' is listed as Detached as expected:

Updating the Deployment Stack again with the same Bicep file and same command line parameters. 'strdeploystacktest123' is not shown anymore. This is what surprises me:

Hey @dantedallag

The detached and deleted resource lists are only a reference to that last operation and a resource can't go from managed --> detached --> deleted; it can only go from managed --> detached or deleted.

Ah yes, makes perfectly sense. That is what I had misunderstood. I thought the detached resources are tracked by the Deployment Stack until they get actually deleted. But it make sense that they are get in an unmanaged state and therefore are not tethered to the stack anymore.
I was just thinking about some blue/green deployment scenarios where you would create new resources in parallel and let the old ones in detached state. Once the new resources are ready and tested the old, detached resources can be deleted by specify the 'deleteResources' in the next Stack Update. But the longer I think about it I think this should probably better be solved with two Deployment Stacks.
Thank you, you helped me a lot!

source: gharchive/issue

repo: Azure/deployment-stacks

license: MIT

license_type: permissive

license_source: github-api


text:
Remove hardcoded 'Fuentes'

https://github.com/Azure/gpt-rag-frontend/blob/bb983acaafa9d387b028360793c85fe1d5b35ed1/frontend/src/components/Answer/Answer.tsx#L78

#30 done

repo: Azure/gpt-rag-frontend


text:
Nightly Build and SBOM plugin

Description
Configured nightly build and integrated SBOM
Issue reference
The issue this PR will close: #71 #85
Checklist
Please make sure you've completed the relevant tasks for this PR out of the following list:

[x] All acceptance criteria in the backlog item are met
[x] The documentation is updated to cover any new or changed features
[x] Manual tests have passed
[x] Relevant issues are linked to this PR

Need to fix the linter issues before merging code.

Need to fix the linter issues before merging code.

We are just leaving those as those are bash script linting issues

/azp run

source: gharchive/pull-request

repo: Azure/missionlz-edge


text:
lightgbm: many executor id have changed

I use spark to train lightgbm, in driver it would save a map for every exector id and its ip address, which will be use in executor to find the corresponding ip. However I noticed that my executor's id will change while running, so the exception will be thrown out:
    18/10/16 10:59:53 WARN scheduler.TaskSetManager: Lost task 33.1 in stage 5.0 (TID 596, zjy-hadoop-prc-st2076.bj, executor 32): java.util.NoSuchElementException: **key not found: 32**
    at scala.collection.MapLike$class.default(MapLike.scala:228)
    at scala.collection.AbstractMap.default(Map.scala:59)
    at scala.collection.MapLike$class.apply(MapLike.scala:141)
    at scala.collection.AbstractMap.apply(Map.scala:59)
    at com.microsoft.ml.spark.TrainUtils$$anonfun$4.apply(TrainUtils.scala:201)
    at com.microsoft.ml.spark.TrainUtils$$anonfun$4.apply(TrainUtils.scala:195)
    at com.microsoft.ml.spark.StreamUtilities$.using(StreamUtilities.scala:29)
    at com.microsoft.ml.spark.TrainUtils$.trainLightGBM(TrainUtils.scala:194)
    at com.microsoft.ml.spark.LightGBMRegressor$$anonfun$1.apply(LightGBMRegressor.scala:81)
    at com.microsoft.ml.spark.LightGBMRegressor$$anonfun$1.apply(LightGBMRegressor.scala:81)
    at org.apache.spark.sql.execution.MapPartitionsExec$$anonfun$6.apply(objects.scala:186)
    at org.apache.spark.sql.execution.MapPartitionsExec$$anonfun$6.apply(objects.scala:183)
    at org.apache.spark.rdd.RDD$$anonfun$mapPartitionsInternal$1$$anonfun$apply$25.apply(RDD.scala:826)
    at org.apache.spark.rdd.RDD$$anonfun$mapPartitionsInternal$1$$anonfun$apply$25.apply(RDD.scala:826)
    at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
    at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:323)
    at org.apache.spark.rdd.RDD.iterator(RDD.scala:287)
    at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
    at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:323)
    at org.apache.spark.rdd.RDD.iterator(RDD.scala:287)
    at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87)
    at org.apache.spark.scheduler.Task.run(Task.scala:99)
    at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:318)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

the logs in driver is:
18/10/16 10:36:53 INFO spark.LightGBMRegressor: driver expecting 64 connections...
18/10/16 10:36:53 INFO spark.LightGBMRegressor: driver accepting a new connection...
18/10/16 10:36:53 INFO spark.LightGBMRegressor: driver waiting for connections on host: 10.101.11.57 and port: 5920
......
// **notice that there is no executor id 32**
18/10/16 10:38:11 INFO spark.LightGBMRegressor: Nodes used for LightGBM: (4,10.152.116.7),(29,10.152.69.47),(52,10.152.75.26),(33,10.152.115.16),(35,10.152.46.2),(64,10.152.85.10),(14,10.152.88.10),(63,10.152.73.21),(21,10.152.49.6),(13,10.152.106.29),(47,10.152.69.23),(49,10.152.44.43),(17,10.152.46.8),(45,10.152.40.7),(5,10.152.116.7),(24,10.152.118.14),(27,10.152.111.2),(25,10.152.47.27),(53,10.152.44.15),(23,10.152.44.23),(7,10.152.96.46),(12,10.152.106.29),(31,10.152.46.9),(54,10.152.93.30),(55,10.152.80.4),(1,10.152.46.43),(40,10.152.78.21),(24,10.152.118.14),(9,10.152.81.50),(23,10.152.44.23),(49,10.152.44.43),(17,10.152.46.8),(45,10.152.40.7),(12,10.152.106.29),(52,10.152.75.26),(33,10.152.115.16),(31,10.152.46.9),(53,10.152.44.15),(5,10.152.116.7),(4,10.152.116.7),(35,10.152.46.2),(22,10.152.43.13),(55,10.152.80.4),(47,10.152.69.23),(63,10.152.73.21),(24,10.152.118.14),(54,10.152.93.30),(11,10.152.111.27),(7,10.152.96.46),(25,10.152.47.27),(13,10.152.106.29),(27,10.152.111.2),(1,10.152.46.43),(29,10.152.69.47),(37,10.152.81.47),(14,10.152.88.10),(21,10.152.49.6),(23,10.152.44.23),(45,10.152.40.7),(17,10.152.46.8),(64,10.152.85.10),(40,10.152.78.21),(52,10.152.75.26),(12,10.152.106.29)

so the executor will repeatedly failed.

add a pull request:
https://github.com/Azure/mmlspark/pull/399

repo: Azure/mmlspark


text:
npm audit fix

Type of change?

[ ] Bug fix
[ ] New feature
[ ] Enhancement
[ ] Breaking change (breaks backward compatibility)

Description, Context, Motivation
...
Checklist:

[ ] All tests passed
[ ] The code follows the code style and conventions of this project
[ ] The change requires a change to the documentation
[ ] I have updated the documentation accordingly

This change is

Does this change only require package-lock.json change? Should there also be a package.json change?

@ppathan - can we just merge this now so that we are not blocking other PRs?

@isaac73 How is this blocking other PRs? I at least need to know what the plane for package.json is before we merge this in.

https://github.com/Azure/pcs-remote-monitoring-webui/pull/1127 - is unable to build because of this issue.
@sushilraje can you please create an issue from build website?

If the npm audit didn't change the major version of the module then it will lock the minor version in package-lock.json

authors: isaac73 ppathan sushilraje

repo: Azure/pcs-remote-monitoring-webui


text:
#4093032 Update EHS docs for custom deployment stages. #4099355 Updat…

#4093032 Update EHS docs for custom deployment stages
#4099355 Update EHS docs to tell partners to use storage disaster recovery

OPS Build status updates of commit 64a0e00:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Publish service's config file: .openpublishing.publish.config.json is not found. Exception:

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

OPS Build status updates of commit bb8d5fe:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Publish service's config file: .openpublishing.publish.config.json is not found. Exception:

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

authors: mikekinsman wissamz

repo: Azure/portaldocs


text:
Handle listComplete error separately from Next()

Although this code followed the example resource groups code, there is apparently a problem there where the initial error can be swallowed. Handling it separately seems to ensure it will be returned to the user as an error.
I tested locally with bad creds set in the environment variables.
Before:
% ./bin/rg-cleanup
2022/05/26 14:38:20 Initializing rg-cleanup
2022/05/26 14:38:20 Scanning for stale resource groups

After:
% ./bin/rg-cleanup
2022/05/26 14:37:33 Initializing rg-cleanup
2022/05/26 14:37:33 Scanning for stale resource groups
2022/05/26 14:37:34 Error when running rg-cleanup: Error when listing all resource groups: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/redacted/resourcegroups?api-version=2018-05-01: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_request","error_description":"AADSTS900023: Specified tenant identifier 'redacted' is neither a valid DNS name, nor a valid external domain.\r\nTrace ID: 08c63805-1675-40a8-a4c8-a3a010993600\r\nCorrelation ID: 2bf53bf8-edf2-4d83-92b6-50b7e562ce91\r\nTimestamp: 2022-05-26 20:37:34Z","error_codes":[900023],"timestamp":"2022-05-26 20:37:34Z","trace_id":"08c63805-1675-40a8-a4c8-a3a010993600","correlation_id":"2bf53bf8-edf2-4d83-92b6-50b7e562ce91","error_uri":"https://login.microsoftonline.com/error?code=900023"}

lgtm

authors: jsturtevant mboersma

repo: Azure/rg-cleanup


text:
Hotfix/scaleout anf multi-node standby  (optional )

Problem
current deployment of Scale out - ANF deploys a N+1 configuration where one node is always standby. This causes issues for customers where the on-prem/source HANA setup is 'N' node setup with no standby, causing HSR setup to fail.
Also, once HANA scale out is deployed, we cannot remove/change assigned roles to existing nodes, only new node addition can be done.
Solution
Added a flag "database_HANA_no_standby_role" in terraform in addition to existing "database_HANA_use_ANF_scaleout_scenario" that will configure hdblcm setup to not add any standby role to any nodes during setup.
This variable adds an ansible variable "db_no_standby" that controls how "_rsp_additional_hosts" is passed to the HANA parameter file, i.e last node is worker/standby based on the value of this flag.
Tests
Run a standard deployment with >2 nodes for HANA scale out - ANF based storage. Validate using python /usr/sap//HDB/exe/python_support/landscapeHostConfiguration.py post deployment of Scale out setup.

Thank you @shekharsorot

authors: KimForss shekharsorot

repo: Azure/sap-automation


text:
chore: repository governance

Repository governance update
This PR was automatically created by the AVM Team hive-mind using the grept governance tool.
We have detected that some files need updating to meet the AVM governance standards.
Please review and merge with alacrity.
Grept config source: git::https://github.com/Azure/Azure-Verified-Modules-Grept.git//terraform
Thanks! The AVM team :heart:

Supersceeded by #60


text:
chore: repository governance

Repository governance update
This PR was automatically created by the AVM Team hive-mind using the grept governance tool.
We have detected that some files need updating to meet the AVM governance standards.
Please review and merge with alacrity.
Grept config source: git::https://github.com/Azure/Azure-Verified-Modules-Grept.git//terraform
Thanks! The AVM team :heart:

Supersceeded by #41


text:
Broken Wiki Links

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform: 1.7.0
azure provider: 3.65.0
module: 6.0.0
Description
Describe the bug
Broken links in wiki since rename of files
Steps to Reproduce

Navigate to the wiki
Select any link which refers to multi-region networking with custom settings (hub/spoke and vwan) - including side bar
links are broken and send you 'home'

Screenshots
n/a
Additional context
looks like the files were renamed in this commit but the links on the sidebar and other pages were not updated.
https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/commit/b7bff069ad321d329a6090231eac2fd0dd95d83e
I have raised a PR to fix the links but there may also be a desire to rename the link descriptions?
I tried to raise a PR but the bot didn't trigger and I received an error advising that I aren't a collaborator :/

I also observed this issue,
the broken link is:
https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/wiki/[Examples]-Deploy-Virtual-WAN-Resources-With-Custom-Settings
I found this page, which I assume is the missing one:
https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/blob/main/docs/wiki/[Examples]-Deploy-Virtual-WAN-Multi-Region-With-Custom-Settings.md

Yes, sorry I didn't add the full details above because I had intended on linking my PR - can anyone help with how I can trigger the bot to become a collaborator so I can submit the PR from my fork?
Otherwise the two broken links are:
https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/wiki/[Examples]-Deploy-Virtual-WAN-Multi-Region-With-Custom-Settings
and
https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/wiki/[Examples]-Deploy-Multi-Region-Networking-With-Custom-Settings
These two pages are referenced in the following places which need to have their links updated at the bottom of the pages to fix:
docs/wiki/Examples.md
docs/wiki/[Examples]-Deploy-Connectivity-Resources.md
docs/wiki/[Examples]-Deploy-Multi-Region-Networking-With-Custom-Settings.md
docs/wiki/[Examples]-Deploy-Virtual-WAN-Multi-Region-With-Custom-Settings.md
docs/wiki/[Examples]-Deploy-Virtual-WAN-Resources.md
docs/wiki/[Examples]-Deploy-using-multiple-module-declarations-with-orchestration.md
docs/wiki/[Examples]-Deploy-using-multiple-module-declarations-with-remote-state.md
docs/wiki/_Sidebar.md

closed by #1110


text:
Bug: Port Forwarding Only Works for Default Namespace

I have been using this extension and it is awesome productivity booster.
I noticed that port forwarding currently does not propagate the namespace (selected namespace) context to kubectl here and other places portForwardToPod is called no namespace is passed and hence the default namespace is used.
Happy to work on a PR if you can point me towards the implementation you would like to see to plumb in the namespace.

cc @bnookala
Thanks for the offer to tackle this!  If memory serves, using a non-default namespace should be changing the default namespace for kubectl (see useNamespaceKubernetes in extension.ts), so the code paths from right-click (if (explorerNode)) and 'select from drop-down' (lines 69ff.) should work correctly.  If not then we do indeed need to propagate the namespace.  Let's confirm the issue occurs in these cases, and we can provide more guidance on the implementation of these cases if you want to work on it.
However there is definitely a problem if a pod manifest is open - in this case we infer the pod name from there, but do not pick up the namespace.  Fixing this probably means updating the tryFindKindNameFromEditor function (referenced in line 179) which will have a knock-on effect throughout the extension - but this will fix similar incorrect behaviour throughout the extension.
Let us know if you plan to send a PR for this - otherwise we will tackle it, we just don't want to duplicate effort!  Happy to discuss other details of the implementation if the above pointers aren't enough.  Thanks again!

Thanks for the response @itowlson, I can try fixing this bug:

The explorerNode case was straightforward to fix I have tested this multiple times today. Let me know if I am in the right direction on this.

In the case when pod manifest is open, is where I need some more pointers. Currently tryFindKindNameFromEditor returns <object_kind>/<object_name> there could be one implementation where it returns <namespace>/<object_kind>/<object_name> since other things (in extension.ts) rely on tryFindKindNameFromEditor wanted to get more feedback before implementing anything.

@itowlson @shreyu86
I think it's time we make findKindNameForText (used by tryFindKindNameFromEditor return an object that conforms to an interface with the three fields: namespace, resourceType, resourceName, and change usages as such.
Right now, we use <object_kind>/<object_name> because we can pass the entire string directly to kubectl without having to specify the resource type ie:
kubectl describe pod/myCoolPod
Obviously that's not going to work if we add the namespace into the same string.

@bnookala Thanks for the feedback, I will give that a go tonight and open an PR (WIP) for more feedback.

Fixed in #232.

authors: bnookala itowlson shreyu86

repo: Azure/vscode-kubernetes-tools


text:
Microsoft Azure Build and deploy PHP app to Azure Web App: Laravel App - Unable to create lockable file

Hello,
We have a Laravel PHP application and we have deployed with the Build and deploy PHP app to Azure Web App workflow.
we have used nginx.
Sometimes we are facing issues related to permissions please find the below detailed error:
Unable to create lockable file: /home/site/wwwroot/storage/framework/cache/data/5a/0f/5a0fce553c194ec423d77dd06617ff2720c4c5c6. Please ensure you have permission to create files in this location.
so the solution is we need to give the permission and ownership using the below command:
chmod -R 775 /home/site/wwwroot/storage
chown -R www-data:www-data /home/site/wwwroot/storage
but after execution, nothing happened, and I was facing the same problem randomly.
Can anyone help with it?
Thanks

Have you tried adding the commands to the startup command in the app service?

Yes, I have tried that as well but the same problem occurred.

I think I found the problem.

/home in App Service is not local, but it's a CIFS mount.
CIFS often doesn't support flock()
Laravel use flock() in https://github.com/laravel/framework/blob/11.x/src/Illuminate/Filesystem/LockableFile.php
LockableFile is used by default in Cache -> FileStore https://github.com/laravel/framework/blob/11.x/src/Illuminate/Cache/FileStore.php
Referring to the official Laravel Sample, we need to move the Cache File outside /home, (or to not use an alternative Cache Store https://github.com/Azure-Samples/laravel-tasks/blob/main/config/cache.php#L54

Hi all,
The fix i used for this was to put the storage folder on mounted storage, you can do this by specifying a storage location via your environment variables.
For example, our mounted storage was available at /app. So we set our APP_STORAGE=/app/storage.
We did the same for the cache files:
APP_PACKAGES_CACHE=/app/cache/packages.php
APP_ROUTES_CACHE=/app/cache/routes.php
APP_SERVICES_CACHE=/app/cache/services.php
Hope this helps.
Thanks
Jonathan

repo: Azure/webapps-deploy


text:
JWT aud field is optional, but validation fails when not present

I'm currently attempting to verify a JWT received from Cognito, which does not include the aud claim.  As the aud claim is optional, this should be fine.  However, I'm receiving the error:
Error validating identity token: Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException: IDX10214: Audience validation failed. Audiences: 'empty'. Did not match: validationParameters.ValidAudience: '[CENSORED]' or validationParameters.ValidAudiences: 'null'.
   at Microsoft.IdentityModel.Tokens.Validators.ValidateAudience(IEnumerable`1 audiences, SecurityToken securityToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)

It looks like that error is being thrown here, and 'empty' is just whatSerializeAsSingleCommaDelimitedString gives back for an empty list.

we intend to disable validationParameters.ValidateAudience as a temporary workaround, but would ultimately like to keep validation enabled when the claim is present

@hauntingEcho you are correct that https://tools.ietf.org/html/rfc7519#section-4.1.3 specifies the claim as optional.
Both the OIDC and OAuth 2.0 indicate the need for check the value of this claim.
(OIDC - required, OAuth 2.0, should).
Since our SDK is used mainly to validate inbound request, we validate the 'aud' by default.
OIDC: https://openid.net/specs/openid-connect-core-1_0.html#IDToken
OAuth 2.0: https://tools.ietf.org/html/draft-ietf-oauth-jwsreq-20
Without checking the value of 'aud' the receiver is opening up a forwarding attack where a token that is signed by a trusted identity provider but for a different host, will be accepted.
We realize that some users may have other requirements, we added the ability to turn off validation, define a set of acceptable 'aud' values OR hook a delegate to set ownership to the application on a token by token case.
Please feel free to reopen or suggest additional API's.

That makes sense - it may be helpful to have a different error message in that case, since by default 'empty' gets censored (by PII settings) so it seems as though something's setting a literal 'empty' aud

@hauntingEcho could open an issue describing what improvements to the error message would be? We view error messaging as important, the fixes are easy and benefit can be large.
Customer opened issues have a bit more weight than internal :-)

opened as #1410 - thanks!

authors: brentschmaltz hauntingEcho


text:
I cannot pass ClientId as a scope to Azure B2C

Please follow the issue template below. Failure to do so will result in a delay in answering your question.

Library

[x] msal@1.2.2 or @azure/msal@1.x.x
[ ] @azure/msal-browser@2.x.x
[ ] @azure/msal-angular@0.x.x
[ ] @azure/msal-angular@1.x.x
[ ] @azure/msal-angularjs@1.x.x

Important: Please fill in your exact version number above, e.g. msal@1.1.3.
Framework
React 16, but that's not at play in this instance
Description
I am unable to use the clientId as a scope when using AzureB2C and MSAL.
Calling loginRedirect(loginRequest) results in
Uncaught ClientConfigurationError: Client ID can only be provided as a single scope. Given value: my-client-id,openid,profile
I am not in control of the B2C instance being used for Authentication. I have been using this B2C instance and clientID using HelloJS for some time, and requesting the scopes that I'm attempting to use here successfully.
Security
Is this issue security related?
No.
Regression
Did this behavior work before?
using HelloJs, yes, attempting to port to MSAL is not going well...
Configuration
Please provide your MSAL configuration options.
export const msalConfig: Configuration = {
    auth: {
        clientId: Resources.ApplicationId,
        authority: `https://${Resources.AadTenantName}.b2clogin.com/${Resources.AadTenantName}.onmicrosoft.com/${Resources.Aadb2cPolicy}`,
        redirectUri: `${window.location.origin}${Resources.RedirectUriRelativePath}`,
        validateAuthority: false
    },
    cache: {
        cacheLocation: 'localStorage',
        storeAuthStateInCookie: false
    }
};
loginRequest = {
    scopes: [Resources.ClientId, 'openid', 'profile']
};

Reproduction steps

Use the above configuration.
const msalApp: UserAgentApplication = new UserAgentApplication(msalConfig);
msalApp.loginRedirect(loginRequest);

Using just the clientId results in the scopes passed to the authorize endpoint being scopes=openid%20profile
If I do not have the client ID listed as a scope the B2C page fails with: AADB2C90047:+The+resource+'https://partner-domain.com/b2cview/signinup'+contains+script+errors+preventing+it+from+being+loaded
I attempted to be cute and set a scope of 'openid profile my-client-id' and but MSAL is being too smart and turning this into a scope parameter on the authorize GET of openid%20profile%2018236251-fd4e-4755-a5f9-b6d5e4ebc5fa%20openid%20profile.
Expected behavior
I am allowed to pass the clientId along with additional scopes to the Azure B2C page
Browsers
Not browser specific

client_id is not actually a "real" scope in the same sense that the others are. Sending client_id as a scope tells the service that you are requesting an id_token. The purpose of the loginRedirect and loginPopup methods, by design, is to get you an id_token so in this case it would be redundant to send client_id in the request. The scopes that you send to these methods are the scopes that you want the user to consent to in order to successfully login and msal will add openid and profile automatically to the request if they are not included in this request.
If you need to renew your id_token you can send client_id as the only scope to acquireTokenSilent() and msal will silently fetch you a new id_token. If you, however, need an access token please send the scopes you need an access token for to acquireTokenRedirect() or acquireTokenPopup() first, and from then on you can call acquireTokenSilent() to retrieve the access token from the cache if it's there and still valid, or make a silent network call to get a new one.

Thanks for the reply @tnorling.
I've subsequently discovered that the hellojs implementation was making a single combined request for an access_token and id_token via response_type=token%20id_token, and additionally setting an extra parameter required by the B2C customizations our partner has made.
Since doing a little refactoring on my end I'm able to get the Id token, which is all I need as based on the Identity of the User our application does some authorization outside of the IDP and issues it's own access_token with application specific scopes

authors: gavinbarron tnorling


text:
Log Errors to the Console Too

Why does the code in handleAuthenticationResponse() only log errors to the logger?  Shouldn't it log to the console too?
try {
    if (tokenReceivedCallback) {
    tokenReceivedCallback(errorDesc, token, error, tokenType);
    }

} catch (err) {
    self._logger.error("Error occurred in token received callback function: " + err);
}

I had a bug in my handler code and I got no indication that there was a problem.
If it shouldn't log to the console then shouldn't a logger be required or at least strongly encouraged?

@spottedmahn Thank you for your feedback. We want to limit the number of required parameters in the constructor for better code readability and hence logger is not a required field. Logging errors on the console can lead to a lot of unnecessarily traffic for cases where people are writing automated login code and their callback function has an error. Hence as a library we do not log anything on the console. To catch this edge case, the developer will have to enable logging by passing a logger to the constructor function.

Hi @rohitnarula7176 - I see, that makes sense.
I think it would be good to put a [NOTE] on the readme page that:

errors will get swallowed... please use the logger to see error/issues

What do you think?

And, in the future, can you leave some time before closing the issue?  I understand proper hygiene and keeping the issues list current but what if the reporter has feedback 😄


text:
Next.Js SSR support example

Core Library
MSAL.js v2 (@azure/msal-browser), MSAL.js v1 (@azure/msal or msal), MSAL Node (@azure/msal-node)
Wrapper Library
MSAL React (@azure/msal-react)
Description
I was using msal-node library and I was trying to make it work with Next.JS SSR following these docs here https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node
but unfortunately I'm getting different errors for example like
ClientAuthError: invalid_client_credential: Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential

I would like to request to include an example which shows how to use MSAL on Server side rendering with Next.Js.
Source
External (Customer)

@gitmurali We unfortunately do not support token acquisition during server-side rendering for SPA apps today. I've added a feature to our backlog to take this under consideration.

@tnorling does msal-node not support on SSR  on SPA's ?

@tnorling can we not use this as example app in my nextjs app ? https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-nodejs-webapp-msal

If you are purely acquiring tokens server-side I suppose you could use msal-node but that would defeat the purpose of SSR, no? When I think about SSR support I'm thinking that you would like the ability to acquire tokens server-side when the app (or a new page) is first loaded and then client-side thereafter. This is a scenario we do not support today.

I'm also getting the same error with nextjs using @msal/node with purely server side authentication. @gitmurali did you find a fix for this?

If you're doing purely server side auth you should set up msal as a Confidential Client

@tnorling Yes I have set up msal as a Confidential Client and I am still seeing this error. The only fix for now is to create a new instance of the ConfidentialClientApplication for each requests, but that does not allow for caching the token, and has a negative impact on performance.

I was able to resolve the issue. For me, the problem was I was mixing client-side imports with server-side imports in an index.ts file. I resolved this by removing the index.ts file and importing directly from the correct file. I generally followed this example https://github.com/Azure-Samples/ms-identity-javascript-nodejs-console

I think that the hang-up on SSR is misplaced. It is used here as a borrowed term from the 'modes' metaframeworks support. I don't think that anyone has conceptualized shipping a rendered page with a dehydrated access token. I am 100% sure that what you call 'purely server side' is actually what is meant. The question is how to have a msal-browser-like experience that is delivered by the backend. Basically https://github.com/Azure-Samples/ms-identity-node but with nextjs

authors: cherealnice datner gitmurali tnorling


text:
Unneeded reference to ADAL?

After I forked the repro and built it, I got these compiler warnings.  But ADAL is not needed in this project.
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.IdentityModel.Clients.ActiveDirectory". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

Fixed.

authors: dstrockis skwan

license_source: bigquery


text:
[k8s-extension] Add Managed Identity Auth support for ContainerInsights Extension

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[x] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

[x] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

@ganga1980 Can you please add E2E testing for the scenarios that are being covered for these changes here: https://github.com/AzureArcForKubernetes/azure-cli-extensions/blob/k8s-extension/public/testing/test/extensions/public/AzureMonitor.Tests.ps1

@ganga1980 Can you please add E2E testing for the scenarios that are being covered for these changes here: https://github.com/AzureArcForKubernetes/azure-cli-extensions/blob/k8s-extension/public/testing/test/extensions/public/AzureMonitor.Tests.ps1

@jonathan-innis , Since the tests are in different fork and branch, I will make an other PR to add the test to cover managed identity auth feature of container insights extension.  Lets get this PR merged as conformance test teams needs to run the tests on all distros.

@ganga1980 Can you please add E2E testing for the scenarios that are being covered for these changes here: https://github.com/AzureArcForKubernetes/azure-cli-extensions/blob/k8s-extension/public/testing/test/extensions/public/AzureMonitor.Tests.ps1

@jonathan-innis , Since the tests are in different fork and branch, I will make an other PR to add the test to cover managed identity auth feature of container insights extension.  Lets get this PR merged as conformance test teams needs to run the tests on all distros.

Sure sounds good, please make sure to add these as soon as this is merged

@ganga1980 Can you please add E2E testing for the scenarios that are being covered for these changes here: https://github.com/AzureArcForKubernetes/azure-cli-extensions/blob/k8s-extension/public/testing/test/extensions/public/AzureMonitor.Tests.ps1

@jonathan-innis , Since the tests are in different fork and branch, I will make an other PR to add the test to cover managed identity auth feature of container insights extension.  Lets get this PR merged as conformance test teams needs to run the tests on all distros.

Sure sounds good, please make sure to add these as soon as this is merged

Sure, will do. Btw, thanks for adding the container insights specific tests.


text:
Change QuickBuild log formatting

Rather than saying "starting to stream logs," output "Build is queued and waiting for a build agent..."
Before streaming logs, output the "stream logs" message

Very similar to #94, should be done in unison.

Fixed in https://github.com/AzureCR/azure-cli/pull/117

authors: djyou ehotinger

repo: AzureCR/azure-cli


text:
Rule to mandate input of a mutation as required

Allow
type Mutation {
createEmployee(input: EmployeeInput!)
}

Disallow
type Mutation {
createEmployee(input: EmployeeInput)
}

Why do you think this rule should be part of graphql-eslint?

@B2o5T, sorry there was a typo in my original example, I fixed it now.
Additional context is that we want to enforce all mutations have non-null Input. If we don't have exclamation mark the input becomes optional and we do not want optional inputs.

Will you be planning to add this rule?

@dimaMachina , could you please let me know if you have any plans to implement this rule?

@gituserjava This rule is accepted, if you want you can work on it and send a PR

I forked the repository and will explore on this based on my availability.
Quick question, which command should I use to run the test and see the result? For example, I want to test "input-name.spec.ts".

vitest input-name.spec.ts

authors: B2o5T dimaMachina gituserjava


text:
demo cannot run

demo build has crash ,please solve it

Examples updated to the new syntax

Thanks


text:
Cloud benchmarking

Closes #18

Codecov Report

Merging #27 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   76.29%   76.29%
=======================================
  Files          23       23
  Lines        1004     1004
=======================================
  Hits          766      766
  Misses        200      200
  Partials       38       38

Continue to review full report at Codecov.

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

Thanks guys :ok_hand:

authors: codecov-io suizman

repo: BBVA/qed


text:
Bug or wrong behaviour in the PieCharts

When the users click in one of the tissues in the piechart the search only shows one experiment:
http://localhost:8000/app/browse.html#/search?q=undefined even when the tissue in the pie charts says that the resource contains 25 experiments.

done

authors: baimingze ypriverol

license: mit


text:
Include example BIDS data

I was wondering if you had an example of the minimum BIDS inputs I would need to get going with the MRtrix3 connectome BIDSApp? Is there perhaps an example dataset?
Thanks for all your help!

@thomshaw92: While not comprehensive, the 0.5.0 update in #62 performs Continuous Integration testing of all three analysis levels, where for each it downloads test data from this OSF project. Longer-term I'd like to have sample data where it tests all compatible DWI acquisition strategies, but perhaps for now this shows some examples of what the data look like.


text:
add(INPUT): key rebinding, I do not condone the horrors I was forced …

…to write
please forgive me

God is dead and we've killed him

repo: BKFP/R-Type


text:
Error when posting to piov: MultiValueDictKeyError at /api/cdb_rest/piov

I am trying to add an interval using this API but get the following error. Is this expected?
MultiValueDictKeyError at /api/cdb_rest/piov

'payload_list'

Request Method: 	POST
Request URL: 	http://npdb-test-test.apps.rcf.bnl.gov/api/cdb_rest/piov
Django Version: 	3.2.12
Exception Type: 	MultiValueDictKeyError
Exception Value:

'payload_list'

Exception Location: 	/usr/local/lib64/python3.6/site-packages/django/utils/datastructures.py, line 78, in __getitem__
Python Executable: 	/usr/bin/python3
Python Version: 	3.6.8
Python Path:

['/nopayloaddb/cdb_rest',
 '/nopayloaddb',
 '/usr/lib64/python36.zip',
 '/usr/lib64/python3.6',
 '/usr/lib64/python3.6/lib-dynload',
 '/usr/local/lib64/python3.6/site-packages',
 '/usr/local/lib/python3.6/site-packages',
 '/usr/lib64/python3.6/site-packages',
 '/usr/lib/python3.6/site-packages']

Any updates? I still need instructions or an example how to use the API to insert values. Thank you

So basically we've worked on the new write APIs set. And this one also was changed since then. I'll close this as I believe there should not be an issue with the new implementation

repo: BNLNPPS/nopayloaddb


text:
Establish storage for calculated product footprints

Priority: Low;
Estimated person-hours: 5
Volunteer(s)/Candidate(s): Marie de Saxcé (GitHub name unknown - still valid?)
Functional specifications: Although product footprints may be produced on the fly from the the Direct Requirements Matrix, the calculated footprints may need to be stored (temporarily) to allow more speedy access.
Technical specifications: Provide a store for calculated product footprints in a form that makes them quickly accessible for web-queries, e.g. as csv files.
Relates to #10, copied from here with minimal editing for quality.

The volunteer is not valid any longer.
I'd keep links to definitions in glossary to facilitate understanding of concepts, e.g. the Direct Requirement Tables

Thanks @MicDr, it's updated now

authors: MicDr tmillross

repo: BONSAMURAIS/bonsai


text:
NoMethodError: undefined method `subscribed?' for #User:0x000000079e8a98

View details in Rollbar: https://rollbar.com/trystant/BOW/items/753/

NoMethodError: undefined method `subscribed?' for #<User:0x000000079e8a98>
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activemodel-4.2.9/lib/active_model/attribute_methods.rb", line 433, in method_missing
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/acts_as_follower-0.2.1/lib/acts_as_follower/follower.rb", line 96, in method_missing
  File "/home/rlgreen91/Projects/BOW/app/models/user.rb", line 35, in add_to_mailchimp
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/callbacks.rb", line 432, in block in make_lambda
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/callbacks.rb", line 239, in block in halting
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/callbacks.rb", line 506, in block in call
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/callbacks.rb", line 506, in each
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/callbacks.rb", line 506, in call
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/callbacks.rb", line 92, in __run_callbacks__
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/callbacks.rb", line 778, in _run_validation_callbacks
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activemodel-4.2.9/lib/active_model/validations/callbacks.rb", line 113, in run_validations!
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activemodel-4.2.9/lib/active_model/validations.rb", line 338, in valid?
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/validations.rb", line 58, in valid?
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/validations.rb", line 83, in perform_validations
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/validations.rb", line 37, in save
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/attribute_methods/dirty.rb", line 21, in save
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/transactions.rb", line 286, in block (2 levels) in save
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/transactions.rb", line 351, in block in with_transaction_returning_status
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract/database_statements.rb", line 213, in block in transaction
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract/transaction.rb", line 184, in within_new_transaction
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract/database_statements.rb", line 213, in transaction
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/transactions.rb", line 220, in transaction
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/transactions.rb", line 348, in with_transaction_returning_status
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/transactions.rb", line 286, in block in save
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/transactions.rb", line 301, in rollback_active_record_state!
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/transactions.rb", line 285, in save
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/persistence.rb", line 34, in create
  File "/home/rlgreen91/Projects/BOW/db/seeds.rb", line 193, in <top (required)>
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/dependencies.rb", line 268, in load
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/dependencies.rb", line 268, in block in load
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/dependencies.rb", line 240, in load_dependency
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activesupport-4.2.9/lib/active_support/dependencies.rb", line 268, in load
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/railties-4.2.9/lib/rails/engine.rb", line 547, in load_seed
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/tasks/database_tasks.rb", line 253, in load_seed
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@ebwiki/gems/activerecord-4.2.9/lib/active_record/railties/databases.rake", line 173, in block (2 levels) in <top (required)>
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb", line 250, in block in execute
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb", line 250, in each
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb", line 250, in execute
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb", line 194, in block in invoke_with_call_chain
  File "/usr/share/rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/monitor.rb", line 214, in mon_synchronize
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb", line 187, in invoke_with_call_chain
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb", line 180, in invoke
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb", line 152, in invoke_task
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb", line 108, in block (2 levels) in top_level
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb", line 108, in each
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb", line 108, in block in top_level
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb", line 117, in run_with_threads
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb", line 102, in top_level
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb", line 80, in block in run
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb", line 178, in standard_exception_handling
  File "/home/rlgreen91/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/applicatio

Development bug.

repo: BOWiki/BOW


text:
Excon::Errors::Forbidden: Expected(204) <=> Actual(403 Forbidden)
excon.error.response
:body          => "\nAllAccessDisabledAll access to this object has been disabled<Req

View details in Rollbar: https://rollbar.com/trystant/BOW/items/425/

Excon::Errors::Forbidden: Expected(204) <=> Actual(403 Forbidden)
excon.error.response
  :body          => "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error>AllAccessDisabled<Message>All access to this object has been disabled</Message><RequestId>0221CFB664CC7178</RequestId><HostId>xpfcvPvERD9ASxWgYIww3EMNFVMVc8EETi5DIgfp2GdQZNN2JeWRxF4ZB5l9xDFapkh/ze55dVo=</HostId></Error>"
  :headers       => {
    "Content-Type"     => "application/xml"
    "Date"             => "Mon, 09 May 2016 10:59:33 GMT"
    "Server"           => "AmazonS3"
    "x-amz-id-2"       => "xpfcvPvERD9ASxWgYIww3EMNFVMVc8EETi5DIgfp2GdQZNN2JeWRxF4ZB5l9xDFapkh/ze55dVo="
    "x-amz-request-id" => "0221CFB664CC7178"
  }
  :host          => "s3.amazonaws.com"
  :local_address => "192.168.0.14"
  :local_port    => 65216
  :path          => "/uploads/article/avatar/2027/AltonWitchard.jpg"
  :port          => 443
  :reason_phrase => "Forbidden"
  :remote_ip     => "54.231.19.48"
  :status        => 403
  :status_line   => "HTTP/1.1 403 Forbidden\r\n"

  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/excon-0.48.0/lib/excon/middlewares/expects.rb", line 6, in response_call
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/excon-0.48.0/lib/excon/middlewares/response_parser.rb", line 8, in response_call
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/excon-0.48.0/lib/excon/connection.rb", line 389, in response
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/excon-0.48.0/lib/excon/connection.rb", line 253, in request
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/fog-core-1.36.0/lib/fog/core/connection.rb", line 81, in request
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/fog-xml-0.1.2/lib/fog/xml/connection.rb", line 9, in request
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/fog-aws-0.9.2/lib/fog/aws/storage.rb", line 611, in _request
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/fog-aws-0.9.2/lib/fog/aws/storage.rb", line 606, in request
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/fog-aws-0.9.2/lib/fog/aws/requests/storage/delete_object.rb", line 23, in delete_object
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/fog-aws-0.9.2/lib/fog/aws/models/storage/file.rb", line 112, in destroy
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/carrierwave-0.10.0/lib/carrierwave/storage/fog.rb", line 187, in delete
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/carrierwave-0.10.0/lib/carrierwave/uploader/remove.rb", line 15, in block in remove!
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/carrierwave-0.10.0/lib/carrierwave/uploader/callbacks.rb", line 17, in with_callbacks
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/carrierwave-0.10.0/lib/carrierwave/uploader/remove.rb", line 14, in remove!
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/carrierwave-0.10.0/lib/carrierwave/mount.rb", line 392, in remove!
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/carrierwave-0.10.0/lib/carrierwave/mount.rb", line 195, in remove_avatar!
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/carrierwave-0.10.0/lib/carrierwave/orm/activerecord.rb", line 49, in remove_avatar!
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 432, in block in make_lambda
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 253, in block in conditional
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 506, in block in call
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 506, in each
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 506, in call
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 92, in __run_callbacks__
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 778, in _run_commit_callbacks
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activerecord-4.2.6/lib/active_record/transactions.rb", line 314, in committed!
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/transaction.rb", line 89, in commit_records
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/transaction.rb", line 153, in commit
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/transaction.rb", line 175, in commit_transaction
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/transaction.rb", line 194, in within_new_transaction
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/database_statements.rb", line 213, in transaction
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activerecord-4.2.6/lib/active_record/transactions.rb", line 220, in transaction
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activerecord-4.2.6/lib/active_record/transactions.rb", line 348, in with_transaction_returning_status
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activerecord-4.2.6/lib/active_record/transactions.rb", line 281, in destroy
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/rails_admin-0.6.7/lib/rails_admin/adapters/active_record/abstract_object.rb", line 27, in method_missing
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/rails_admin-0.6.7/lib/rails_admin/config/actions/delete.rb", line 36, in block (2 levels) in <class:Delete>
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/rails_admin-0.6.7/app/controllers/rails_admin/main_controller.rb", line 22, in instance_eval
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/rails_admin-0.6.7/app/controllers/rails_admin/main_controller.rb", line 22, in delete
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/actionpack-4.2.6/lib/action_controller/metal/implicit_render.rb", line 4, in send_action
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/actionpack-4.2.6/lib/abstract_controller/base.rb", line 198, in process_action
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/actionpack-4.2.6/lib/action_controller/metal/rendering.rb", line 10, in process_action
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
  File "/Users/marnyon/.rvm/gems/ruby-2.3.0@ebwiki/gems/activesupport-4.2.6/lib/active_support/callba

This is a side effect of copying production locally and attempting to access the production S3 bucket. Changing my s3 bucket to blackopswiki resolves this for the short term, but there should be a separate ticket opened about the ownership of the s3 account.


text:
🛑 GET to API Endpoint is down

In 01883b2, GET to API Endpoint (https://api.dictionaryapi.dev/api/v2/entries/en/hello) was down:

HTTP code: 502
Response time: 177 ms

Resolved: GET to API Endpoint is back up in 1c72f79 after 18 minutes.

repo: BSGalvan/freeDictionaryAPI-uptime


text:
无指令删除词库

rrtt

修复，word....啥来着，我看看
word.rmdb <词库名称>——删除一个词库
word.recycledb 查看回收站
word.restoredb <词库名称>——从回收站回收某个词库

repo: BSTluo/koishi-plugin-word-core


text:
extend grid height when move or resize grid item

Whenever, grid item move or resize event is triggered, extend grid height, so the user could easily move grid items around.

You can use float:true in grid option. It will help you out.

@vbinithyanandamv I'm not sure which grid option you are referring to.
I looked for float option in INgGrid.d.ts. I couldn't see any option named to it.

Hi Martin, sorry for the misunderstanding. Seems like there is no API for it as you said. Then there is no straight forward way. However you can manually use CSS to fix the grid container height.

authors: MartinJLee vbinithyanandamv


text:
mechanical power-loops with no wind/water wheel

Please see below method for creating a mechanical power-loop that can have the power source removed and still continue providing power.

the wind mill/water wheel then can be added next to the gearbox (must be directly adjacent with no axles in-between)

Once power has fully propagated around the loop, the wind mill/water wheel can be removed with power remaining.

Syllei'Anor

Also to quickly add to this, if you use the water wheel sized one (only 1 set of axles long instead of 2) then the loop is small enough that 3/4 buckets of water can get the water wheel moving for long enough for it to power the full loop, and then not need the wheel any more

repo: BTW-Community/BTW-Public


text:
Trying to install SysID from github, not working in SDL

A user at one of our customers would like to explore the SysID package shown in our Seeq gallery launched this week. I am trying to follow the install steps, screenshot below, and I am running into an issue at Step 3.

I am able to create a new SDL project, run the terminal, run step 2 command. Then I shutdown that terminal and open a new one, per the video, and enter the command on step 3 - however, I get the following error when running that command (I also note that in my new terminal, I do not have the (base) prepending the command line. I am an Admin on the server.

Is there something else I need to do in the project? My colleagues at Seeq tell me that we cannot use conda installs in Seeq Data Lab projects, therefore the Add On will not run for all users. Is there another way to install this package??
I'm following the steps from here: https://github.com/BYU-PRISM/Seeq/blob/main/README.md

We tried to use a pre-built slycot package to avoid that error. Building slycot from the source code requires a compiler.
However, We simplified the installation procedure, and there is no need to install some packages based on slycot.
You can install the Seeq-SysID package by running pip install seeq-sysid in a new terminal.
Installation Guide

Hey guys, this is working! App runs as expected in App Mode as well. Thanks for your help!
From: Mohd.Reza Babaei @.>
Sent: Tuesday, October 19, 2021 6:06 PM
To: BYU-PRISM/Seeq @.>
Cc: Kjell Raemdonck @.>; Author @.>
Subject: Re: [BYU-PRISM/Seeq] Trying to install SysID from github, not working in SDL (Issue #2)
We tried to use a pre-built slycot package to avoid that error. Building slycot from the source code requires a compiler.
However, We simplified the installation procedure, and there is no need to install some packages based on slycot.
You can install the Seeq-SysID package by running pip install seeq-sysid in a new terminal.
Installation Guidehttps://github.com/BYU-PRISM/Seeq#user-installation-seeq-data-lab
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/BYU-PRISM/Seeq/issues/2#issuecomment-947196341, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWEEAYJ3WSJJX4GM5WM7N6LUHYBVJANCNFSM5GJVCTIA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

authors: KjellRSeeq imanbabaei

repo: BYU-PRISM/Seeq


text:
是否支持只严格转换？

dict 里面有的才转换，不把词分成单字单独转换再组合结果。

不把词分成单字单独转换再组合结果

可以複製一份配置文件，把其中轉換單字的配置去掉

否。可以按用戶配置的轉換規則轉換。

authors: lotem sgalal tiglog

repo: BYVoid/OpenCC


text:
AssetContainer addAllToScene and removeAllFromScene should also handle particle systems

Feature request

Link to forum discussion about the feature:
https://forum.babylonjs.com/t/webxr-keepassets-and-assetcontainers/24705/7

Feature description
Add and remove particle systems in line with other asset types in the AssetContainer addAllToScene and removeAllFromScene methods.

Good one!

authors: darkverse deltakosh


text:
Add more glTFLoader tests

[ ] Add memory leak tests
[ ] Add validation for right handed system

Closing as no activity. Feel free to re-open.

authors: sbtron thomlucc


text:
NME - copy/paste action does not select newly pasted node

##Bug
When a selected node is copied, the resulting pasted node is not selected, but rather the original node that was copied remains selected. This becomes problematic when you copy several nodes at once. We paste the chain down sometimes over other nodes that are already in the graph that were not part of the originally selected nodes. In this case it is important that we keep the newly pasted nodes selected so we can easily move those nodes to a free space in the graph.
original nodes selected to be copied:

pasted nodes:

I'll take care of it

authors: PatrickRyanMS deltakosh


text:
GeometryBufferRenderer: Use bone texture if supported

See https://forum.babylonjs.com/t/error-on-new-ssrrenderingpipeline/41812/16
We used uniforms even when bone texture was supported because of the velocity target (which only supports passing previous bone data through uniforms). The PR let use bone texture for the model while still using uniforms for previous bone data.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.


text:
fix wrong drag axis bboxgizmo

fix regression https://github.com/BabylonJS/Babylon.js/issues/15485

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15503/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15503/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15503/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15503/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15503/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15503/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15503/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15503/merge#BCU1XR#0

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15503/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15503/merge/testResults/webgpuplaywright/index.html

authors: CedricGuillemet bjsplat


text:
Small fixes in how_to_start.md

Small spelling/grammar fixes, included link to Docs contribution.

Hello! and thank you:)
we are in the middle of a big rework.
So I may wait a bit before merging your PR
ping @BabylonJSGuide fyi

And thanks a lot for this PR btw

Ping @temechon as well

Hey sorry but we may have introduced some conflicts :)

Hi @ashanhol,
I can see your PR contains some conflicts, do you mind fixing it please ? Or do you want me to close the PR and move it manually ?

Ok, merged in the latest master. Seems the only conflict was an error log?

Thank you !

authors: QuentinRillet ashanhol deltakosh

repo: BabylonJS/Documentation


text:
diff-cover takes entire project as diff

Hi,
I use diff-cover successfully and  with great pleasure for my personal projects and tried implementing it at work to ease development.
Unfortunately despite checking that the diff is empty (branch is a fresh copy of master) when I run diff-cover on the previously generated coverage.xml (on the unchanged copy of master) it will report every single file in the coverage.xml that is missing coverage as missing, completely ignoring the fact that there is no diff and the report should be empty!
The projects structure is quite nested.
main_dir/sub_dir/src/project/code_folder_1 etc.
tests are in:
main_dir/sub_dir/tests
I am running diff-cover from main_dir.
Do you think there can be a problem with file paths ?
Btw. the same problem applies to diff-quality. Also it was unable to see .flake8 config file present in the folder from which I am running diff-quality command.
Many thanks for looking into this :).
Tom

Ok, so what is the specific command you are running (what args) and form what directory.
also, you say there is no diff but humor me and see if this has any output
git -c diff.mnemonicprefix=no diff origin/master...HEAD --no-color  --no-ext-diff

Hi Matt,
Many thanks for coming back so fast and pointing me at the right direction.
I have checked the command I am using and it is:
diff-cover coverage.xml —compare-branch=“$COMPARE_BRANCH” —html-report “$COV_PATH”
Where:
COMPARE_BRANCH=‘origin/develop’ - here was the mistake, it should not be a string :)!
I have fixed it and all is good!
Once again many thanks for your help and wonderful open source project!
Best regards,
Tomasz
On 8 Feb 2019, at 02:22, Matt Bachmann <notifications@github.commailto:notifications@github.com> wrote:
Ok, so what is the specific command you are running (what args) and form what directory.
also, you say there is no diff but humor me and see if this has any output
git -c diff.mnemonicprefix=no diff origin/master...HEAD --no-color --no-ext-diff
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Bachmann1234/diff-cover/issues/91#issuecomment-461668454, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AY1UaY8NPiEEbWQNyCAXWCMyid3yLouGks5vLN9VgaJpZM4aqDGt.


text:
Order of API routes on swagger page

Question
Not sure if this is a question, bug or I'm just missing something.
I have the following routes (as an example):
'/api/users/'
'/api/users/user/:userId'
In a basic setup using 'Enable-Pode-OpenApi' these stay in the above order. However when using a  "-RouteFilter '/api/*'" the order switches to:
'/api/users/user/:userId'
'/api/users/'
Obviously I would prefer the first example as the second route is a child of the first so this flows better and makes more sense to an end user.
I just wanted to see if I'm missing anything obvious, if this is intended or is a bug.
Thanks

Just as a follow up here is what I mean with screenshots.
Using Enable-PodeOpenApi -Path '/docs/openapi' -Title 'Lorem ipsum API' -Version 0.0.0.1

Using Enable-PodeOpenApi -Path '/docs/openapi' -Title 'Lorem ipsum API' -RouteFilter '/api/*' -Version 0.0.0.1

Hey @s-dobson,
I managed to reproduce the issue, and the changes in the above commit fixes the ordering so it's more consistent. Are you able to make the same couple of changes in the above commit to your Pode module locally and test?
Thanks :)

I've merged the fix for this as testing shows the correct order now, but if it's still occurring please feel free to re-open :)

Hey @Badgerati ,
Sorry about the delay getting back to you.
I've just tested this and its working on v2.4.2,.
Thanks 👍

authors: Badgerati s-dobson

repo: Badgerati/Pode


text:
Migrates Stream functions into the .NET Listener

Description of the Change
Migrates PowerShell streaming functions into the compiled .NET DLL, to prevent VirusTotal from flagging the Private/Streams.ps1 file as "malicious" just because it reading and compresses streams!
Related Issue
Resolves #1426
Additional Context
Scan results after changes

it's not part of your pull request but in PodeHelper line 143
if (count > 0)
{
       await stream.WriteAsync(array, startIndex, count, cancellationToken).ConfigureAwait(false);
}

can be improved performance-wise using
if (count > 0)
{
      await stream.WriteAsync(array.AsMemory(startIndex, count), cancellationToken).ConfigureAwait(false);
}

https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1835

This one I'm aware of, but as Spans/Memory were .NET8 only I didn't include them originally. I have thought about wrapping the code in #if NET8_0_OR_GREATER for the various places that would benefit from it though

authors: Badgerati mdaneri


text:
Update readme.md

Example printer dident work this is the fixed and working version

Merged manually

repo: BadlionNetwork/BadlionClientModAPI


text:
🛑 Bailey Studio is down

In e20de22, Bailey Studio (https://www.bailey.studio) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bailey Studio is back up in 26e37ad.

repo: BaileyStudio/Monitor


text:
Allow to have zero replicas

Fix #4

Hey there! 👋
Any chance this could be merged in a near future?
Thanks! 🙏
Ben

And it's done, sorry for the delay :)

authors: Baldinof bpolaszek

repo: Baldinof/caddy-supervisor


text:
Support for a large number of fields/scrollbar

If there are to many fields on a table, the horizontal scrollbar does not appear and i can't accses/visualize the data on those, unless i zoom out vscode window.

Hi, could you provide more details or a screenshot? I tired it with a bigger sports table and it looks just fine. Horizontal scrollbar is visible (see screenshot).

Hi, could you provide more details or a screenshot? I tried with a bigger table in sports db and it looks just fine. Horizontal scrollbar is visible (see screenshot).

Hey, thanks for the reply.
Screenshot without de scrollbar.

Screenshoot zooming out.

I tried to reproduce the same bug with a much bigger table. The horizontal scrollbar does not disappear.

authors: PauliusKu Rafael-Coop darkeris345

repo: BalticAmadeus/ProBro


text:
repo2pdf@2.2.2 fails to install/run

Just started showing up today with 2.2.2, ran fine before that. Looks to be a prettier dep issue:
E:\>npx repo2pdf
node:internal/modules/cjs/loader:1148
  throw err;
  ^

Error: Cannot find module 'prettier'
Require stack:
- C:\Users\jordan.burke\AppData\Local\npm-cache\_npx\0b76f6d2ca81e1a2\node_modules\repo2pdf\dist\clone.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
    at Module._load (node:internal/modules/cjs/loader:986:27)
    at Module.require (node:internal/modules/cjs/loader:1233:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (C:\Users\jordan.burke\AppData\Local\npm-cache\_npx\0b76f6d2ca81e1a2\node_modules\repo2pdf\dist\clone.js:24:36)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\jordan.burke\\AppData\\Local\\npm-cache\\_npx\\0b76f6d2ca81e1a2\\node_modules\\repo2pdf\\dist\\clone.js'
  ]
}

Node.js v20.13.1

Also fails on Docker too fwiw. Thanks.

Hey going over some updates today for this... catching edge cases ect... you can run npm i prettier in the directory to get it working or npm i --global prettier

authors: BankkRoll jordanburke


text:
Question

How to disable/changevalue of autosplit ?
Sorry bad inglish

change playerMaxSize to whatever you want.

@NatsuTheGreat Not it,when up to 25000 mass(I think)

1500*1500/100 = 22500.

You'll have to follow that formula.

@NatsuTheGreat How much is 100k ?

3162 sounds good.

GhostShot3: you can calculate size with SQRT ( mass * 100 ).
For example to set max mass = 100000, you're need to set size = SQRT ( 100000 * 100 ) = 3162
Also you can use massToSize, for example:
playerMaxSize = massToSize(100000)

@Barbosik there are converters for it?, I do not understand, do not speak fluent English :(

yes just use massToSize(100000) instead of 100000

@Barbosik You are owner ?

you should add how to do that in gameserver.ini so people wont get confused

I think there are already instructions there :)

not how to use massToSize

Cool.

repo: Barbosik/MultiOgar


text:
borders

I trying making a border like agar.io , but have a problem

what is this?
i mean wing green part of the cell that you can see

Don't make issues about OgarUL Clients HERE. THIS IS NOT OGARUL

IS A CIGAR CLIENT..

agariocity use multiogar , check on ogar-tracker.tk

Well if it's a Cigar client THEN ESPECIALLY WHAT ARE WE GOING TO GO

ok..

You need to understand that that graphics are not server side, therefore, you're in the wrong issue area. We can't do anything to help you with that graphic issue. Go to Cigar, and make an issue there

ok thx

authors: NatsuTheGreat supportAC


text:
🛑 Aurora College is down

In 846dc02, Aurora College (https://www.auroracollege.nt.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Aurora College is back up in 721bdc3.

repo: Barctic/gnwt-monitor


text:
🛑 Infrastructure is down

In 45ab272, Infrastructure (https://www.inf.gov.nt.ca) was down:

HTTP code: 403
Response time: 537 ms

Resolved: Infrastructure is back up in 527ef07.


text:
🛑 Infrastructure is down

In 40db3c5, Infrastructure (https://www.inf.gov.nt.ca) was down:

HTTP code: 504
Response time: 367 ms

Resolved: Infrastructure is back up in 36becca after 670 days, 22 hours, 51 minutes.


text:
🛑 Education Culture and Employment is down

In aeb5a48, Education Culture and Employment (https://www.ece.gov.nt.ca) was down:

HTTP code: 504
Response time: 318 ms

Resolved: Education Culture and Employment is back up in 0206183 after 8 minutes.


text:
🛑 GNWT Main Page is down

In cbe1cf8, GNWT Main Page (https://www.gov.nt.ca) was down:

HTTP code: 504
Response time: 304 ms

Resolved: GNWT Main Page is back up in fddda03 after 28 minutes.


text:
🛑 Lands is down

In 7ede733, Lands (https://www.lands.gov.nt.ca) was down:

HTTP code: 504
Response time: 618 ms

Resolved: Lands is back up in 95a006e after 8 minutes.


text:
Change order of execution of delegates from FILO to FIFO

Signed-off-by: "Manohar Reddy" <"201451024@iiitvadodara.ac.in">

Is there a reason not change the exit handlers as well?

https://github.com/Bareflank/hypervisor/blob/dev/bfvmm/include/hve/arch/intel_x64/exit_handler/exit_handler.h#L119
I guess exit handler already uses FIFO
On Sun, Feb 18, 2018 at 11:54 PM, Connor Davis notifications@github.com wrote:

Is there a reason not change the exit handlers as well?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yeah, the exit handlers were already FIFO. I think I changed the exit handlers, and forgot to change this one.

Looks like I broke the build. It built in my local machine. I checked it before pushing it.

yeah windows is very touchy

It appears that Cygwin is broken at the moment. I'll merge as this should get cleared up by Cygwin in the near future (usually does).

authors: boddumanohar connojd rianquinn

repo: Bareflank/hypervisor


text:
🛑 QBitTorrent webUI is down

In de8e5f3, QBitTorrent webUI (https://qbittorrent.local.jonthan.xyz) was down:

HTTP code: 404
Response time: 489 ms

Resolved: QBitTorrent webUI is back up in 45812fe after 7 minutes.

repo: Baronhez/upptime


text:
Android 10 background location

This is a relatively minor PR that adds support for the new background location permission in Android 10.

[X ] All projects build
[X] Follows style guide lines (code style guide)
[X] Relevant documentation was updated
[X] Rebased onto current develop

Why closed previous PR? :thinking:

I wanted it to count towards Hacktoberfest😅(https://hacktoberfest.digitalocean.com/).

Thank you for contributing @athornz

authors: athornz audkar mvanbeusekom

repo: BaseflowIT/flutter-permission-plugins


text:
fix textmate path on some platforms

often which mate will be different from hardcoded /usr/bin/mate
uname -a
Darwin ipovalmac.local 14.1.0 Darwin Kernel Version 14.1.0: Thu Feb 26 19:26:47 PST 2015; root:xnu-2782.10.73~1/RELEASE_X86_64 x86_64

which mate
/usr/local/bin/mate

Again, while I agree with the nature of the fix, does this really belong in the profile template? People not using TextMate, or on other platforms where TextMate is not available, will not benefit from this.
Shouldn't we move this into a plugin?

+1 to move it into a plugin

@nwinkler, @edubxb, thanks for the suggestion, moved textmate into plugin

Excellent - thanks!

authors: edubxb ipoval nwinkler

repo: Bash-it/bash-it


text:
EventHandler

Sorry for being a novice, but how do I code an eventhandler to pick up when a device has been removed?
I can't see any examples anywhere.

You can do this by using https://github.com/Bassman2/UsbMonitor.


text:
Parse Job Options to Extra Variables in Ansible Playbook Inline

First of all the plugin is very nice and useful :+1:
Is there a way to parse job option values to extra variables on Ansible Inline Playbook? Haven't managed to make it work yet, or perhaps any hints how this could be achieved?

While I haven't tried this myself, I'd suggest adding ${option.xxx} values to your inline playbook.
---
  - hosts: all
    gather_facts: no
    tasks:
    - name: Check option variables
      debug: msg="Option option1 is ${option.option1}"

Has this resolved your issue?

Had the same problem. ${option.option1}" works fine

authors: alogoc angrybb mcassaniti

repo: Batix/rundeck-ansible-plugin


text:
Adjust masternet colors for the wallet

the design is here
https://app.zeplin.io/project/5ba9be48f029d520c456f395?seid=5c88ed40b18b6538304b0209

@gingervik do we have masternet for mobile wallets?

@sasha-abramovich yes, we have

it is already done, guys

@Denis-Asipenko please, close this issue if it's done

checked

authors: Denis-Asipenko gingervik sasha-abramovich vain-onnellinen

repo: BeamMW/android-wallet


text:
fix: Change /users to /admin/users api for jhipster mapping

fix #192

Does https://github.com/BearStudio/start-ui-web/blob/fbc1501a14f8c14c358edace9dca0566b152adba/public/open-api.json needs to be changed?

Yes you are right 👍 Nice catch

Does https://github.com/BearStudio/start-ui-web/blob/fbc1501a14f8c14c358edace9dca0566b152adba/public/open-api.json needs to be changed?

Fixed ;)

repo: BearStudio/start-ui-web


text:
Running the test.py.

Traceback (most recent call last):
File "test.py", line 122, in
net.load_state_dict(torch.load(snapshot))
File "/home/jdj/anaconda3/envs/trans/lib/python3.7/site-packages/torch/nn/modules/module.py", line 830, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for VisionTransformer:
Missing key(s) in state_dict:
A lot of keys were merged, could u please tell me how to fix it?
Thanks!

@stefenmax   Have you solved the problem?  Thanks.

Have you solved the problem?  I also couldn't run the test.py with a keyerror

Have you solved the problem? I also couldn't run the test.py with a key error

I have solved the problem. It‘s because multiple GPUs are used in training. so
Modify test.py
parser.add_argument('--use_gpu', type=bool,
default=True, help='In training use multiple GPU')
net = ViT_seg(config_vit, img_size=args.img_size, num_classes=config_vit.n_classes).cuda()
join
if args.use_gpu:
net = torch.nn.DataParallel(net).cuda()

I have solved the problem. It‘s because multiple GPUs are used in training. so Modify test.py
parser.add_argument('--use_gpu', type=bool,
                    default=True, help='In training use multiple GPU')

net = ViT_seg(config_vit, img_size=args.img_size, num_classes=config_vit.n_classes).cuda()
## join
if args.use_gpu:
    net = torch.nn.DataParallel(net).cuda()
##

Thank you for your solution !

repo: Beckschen/TransUNet


text:
Dev ram/message parcer

Help to create a function & way to get and show the data from the JSON file scraped

Is ocurring something in here, in my code happens the same.
The data in some files is obtained corrected, but in the last, it doesn't. It isn't obtaining the data, because if the cell is empty, the title should have '---' as a description.

repo: BeelanMX/scrapCFEBot


text:
Hangs after clicking "Remove OneDrive folder"

Hello,
I was relieved and excited to find this project.   OneDrive has been making my life hell for so long and the other day I discovered it wasn't done yet.  I've performed the registry edits suggested in other articles, disabled the service and renamed the folder but my system still thinks those files need a cloud provider and the associate exception is thrown when I try to access them.
The {CIS}.DAT file was loaded successfully and whenI realised the utility isn't going to be able to copy the contents of the files, I right-clicked ont he top level of the tree-view and selected "Remove".   The hourglass appeared and it's been like that ever since, the window fading in that familiar way when a program is not responding.
I know that the files do have content - they were never cloud-only files.  It's just 1D doing things without asking that has put that folder structure in an inconsistent state.  Surely this utility doesn't require OneDrive to be running in order to remove the folder?
Either way, if you can offer any help as to how I can bypass this interference so that my C# application attempting to move these files can work, it'd be very much appreciated, even if this issue cannot constructively be addressed.
Cheers,
.pd.

I haven’t been able to reproduce the behavior yet. Couple of questions. What version are you running? Are you using the exe or the python script.
I don’t think this tool is going to do what you want it to. If you are trying to remove OneDrive, this will not work. OneDriveExplorer is a forensics tool to parse OneDrive artifacts from an endpoint and present them in a human readable format.

Thanks for getting back to me.   I ran the python gui script from the latest zip.  I guess I thought "remove from OneDrive" would unlink the folder for me.
Background: OneDrive has made my life a misery.  I tried unlinking the account and following all the recommended procedures but it would hang indefinitely when I tried switching off on-demand, unlinking folders etc.  Up until on-demand, I was quite happy to let 1D make cloud copies of my files.  But, it seems they weren't content with 50% of my trust and just decided to delete my content and devour 100% of my system resouces maintaining connections that shouldn't have existed in the first place.
OneDrive is the most evil combo of Trojan Horse and RansomWare in the history of computing.
So what I was really looking for was either a way to bypass the cloud provision check on the command line, a registry hack or even a bit of code.   Failing that, a low-level sub-file i/o method of bypassing the check for cloud provision as "rd /s" seems to be able to do, but instead of deleting the files, I just wanted grab the fragments via whatever on-disk bitmap exists on NTFS and put the files back together in a safe haven far from the intefering clutches of this sickeningly incompetent and unprofessional algorithmic doggeril.
I've found a C reinvention of rawcopy that I'm investigating, but in the meantime, I've reasoned that since these files in their last accessible state were consistent with the cloud copies, I might as well delete the lot with rd and download anything missing directly from my onedrive account.   That in itself poses a challenge  cuz the download function is cynically unreliable - they don't want you getting hold of your own data and they'll use any dark and sinister means at their disposal to hold your data hostage until you reinstall their amateur excuse for a software product.
So, now I'm trawling thru onedrive projects on here, looking for functions I can shoplift to get my files via whatever direct API exists - tho, I shudder to think how monumentally awful it'll be when I do find it.
Apologies for the rant.  I really am my wits end.  This has cost me so many days of productivity loss..  If I had the money, I'd sue them.

authors: Beercow gigjacker

repo: Beercow/OneDriveExplorer


text:
Allow different browser/setup in suites

It would be nice if different Browsers / Extensions could be used per suite:
default:
  extensions:
    emuse\BehatHTMLFormatter\BehatHTMLFormatterExtension:
      name: html
      renderer: Twig
      file_name: index
    Behat\MinkExtension:
      sessions:
        default:
          goutte: ~
  autoload:
    '': %paths.base%/tests/features/bootstrap
  suites:
    ie8:
      paths: [ %paths.base%/tests/features ]
      contexts:
        - Behat\MinkExtension\Context\MinkContext
        - SeleniumContext
        - WordPressContext
    iPhone5:
      extensions:
        Behat\MinkExtension:
          sessions:
            default:
              goutte: ~
            iPhone5:
              browser_stack:
                capabilities:
                  browserName: iPhone
                  platform: MAC
                  device: iPhone 5

This wouldn't work as container is not rebuilt between suites in a single profile. Use profiles for extension-bound configs. However, if what you want is custom configuration for the same extension per suite - you already can do it if extension is built that way. Simply put - it is extension responsibility to provide you with a config that allows drastical change of environment between suites.

authors: everzet sourcerer-mike

repo: Behat/Behat


text:
Update README.md

Feel free to discard this PR, but fix the webots working version.
Thanks!

Thanks, I missed that one :)

authors: antbono sigurg

repo: Bembelbots/WebotsLoLaController


text:
UnpicklingError: invalid load key, '<'.

I've insured my metadata.csv file is UTF-8 encoded without BOM since that's what these ML algorithms seem to like. Here's my error:
INFO:root:Setting batch size to 38, learning rate to 0.0003082207001484488. (14GB GPU memory free)
INFO:root:Loading model...
INFO:root:Loaded model
INFO:root:Loading data...
79 train files, 20 test files
/content/Voice-Cloning-App/training/tacotron2_model/stft.py:69: FutureWarning: Pass size=1024 as keyword args. From version 0.10 passing these as positional arguments will result in an error
  fft_window = pad_center(fft_window, filter_length)
/content/Voice-Cloning-App/training/tacotron2_model/stft.py:159: FutureWarning: Pass sr=22050, n_fft=1024, n_mels=80, fmin=0.0, fmax=8000.0 as keyword args. From version 0.10 passing these as positional arguments will result in an error
  mel_basis = librosa_mel_fn(sampling_rate, filter_length, n_mel_channels, mel_fmin, mel_fmax)
INFO:root:Loaded data
---------------------------------------------------------------------------
UnpicklingError                           Traceback (most recent call last)
[<ipython-input-5-9bb687479d52>](https://localhost:8080/#) in <cell line: 9>()
      7 symbols = load_symbols(os.path.join(alphabet_directory, alphabet.value)) if alphabet.value else DEFAULT_ALPHABET
      8 checkpoint_path = os.path.join(checkpoint_directory, dataset.value, checkpoint.value) if checkpoint.value else None
----> 9 train(
     10     metadata_path=metadata,
     11     dataset_directory=wavs,

3 frames
[/usr/local/lib/python3.10/dist-packages/torch/serialization.py](https://localhost:8080/#) in _legacy_load(f, map_location, pickle_module, **pickle_load_args)
   1031             "functionality.")
   1032
-> 1033     magic_number = pickle_module.load(f, **pickle_load_args)
   1034     if magic_number != MAGIC_NUMBER:
   1035         raise RuntimeError("Invalid magic number; corrupt file?")

UnpicklingError: invalid load key, '<'.

I have everything in seemingly the right position, accessible by remote collab. Any help would be appreciated thank you.

This line is returning Google Drive's virus scan link

gdd.download_file_from_google_drive(file_id='1c5ZTuT7J08wLUoVZ2KkUs_VdZuJ86ZqA', dest_path="./"+transfer_learning_path, unzip=False)

see:
! file pretrained.pt
! cat pretrained.pt
Get the file from here:
https://drive.usercontent.google.com/download?id=1c5ZTuT7J08wLUoVZ2KkUs_VdZuJ86ZqA
rename it to pretrained.pt, put it in your Voice-Cloning dir, comment out the gdd.download_file_from_google_drive and run again.

https://colab.research.google.com/gist/bitplane/60543855a8fc3df473e94e18d45b06a3/copy-of-voice-cloning-training.ipynb

authors: SentinalMax bitplane

repo: BenAAndrew/Voice-Cloning-App