Deployment failure

Got this error when I tried to provision a host pool. Followed the guide exactly...
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
"details": [
{
"code": "Conflict",
"message": "{\r\n  "status": "Failed",\r\n  "error": {\r\n    "code": "ResourceDeploymentFailure",\r\n    "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n    "details": [\r\n      {\r\n        "code": "VMExtensionProvisioningError",\r\n        "message": "VM has reported a failure when processing extension 'dscextension'. Error message: \"DSC Configuration 'FirstSessionHost' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource  failed to execute Set-TargetResource functionality with error message: One or more errors occurred.  The SendConfigurationApply function did not succeed.\"."\r\n      }\r\n    ]\r\n  }\r\n}"
}
]
}

Dokumentinformation
⚠ Redigera inte det här avsnittet. Det krävs för docs.microsoft.com ➟ länkning till GitHub-problem.

ID: 970202b7-165f-18df-e928-c47c45a18755
Version Independent ID: d5393b62-4211-72f5-fc7a-363f68f6d8a2
Content: Create a host pool with Azure Marketplace (preview)  - Azure
Content Source: articles/virtual-desktop/create-host-pools-azure-marketplace.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@Diwiton, I'm getting the same error. I was thinking if it was caused by lack of "administrative access" on the created host pool, or Set-TargetResource is casuing a conflict

@Diwiton, I've added "domain computers" to my AD Account. It works now when i tried it for the 2nd time.
Not sure it this was the fix, or it was just an intermittent error the 1st time around.

@Diwiton, I've also added Windows Virtual Desktop tenant name as xxxxxxxxx.onmicrosoft.com for the 2nd time attempt.

@chunsiongtan, I do not follow exactly. I cant see how I can add ".onmicrosoft.com" to my WVD Tenant Name. My WVD Tenant name is "Diwitest Virtual Desktop".
Im also using Azure AD Domain Services in my test setup and Im not sure how to assign the "Domain Computers" group to my admin account.

My bad, I meant something like this.
Existing tenant group name: "Default tenant group"
Existing Tenant Name: xxxxxx.onmicrosoft.com <--- this is based on my Azure Active Directory Name.
Let me try to run the template again without the "domain computers" group

By the way @Diwiton, I'm using AD DS on VM.
I've checked the requirement,
The Azure virtual machines you create for Windows Virtual Desktop must be:
Standard domain-joined or Hybrid AD-joined. Virtual machines can't be Azure AD-joined. <--- that might be the issue
https://docs.microsoft.com/en-us/azure/virtual-desktop/overview#requirements

No I do not mean Azure AD joined. The session hosts VM's will be joined to Azure AD Domain Services, Microsofts hosted ADDS.
Of course ADDS on VM is an option, but I like the concept of Azure ADDS because you do not need to worry about updates and backup and do not need to install Azure AD Connect, its built in to the service.

I read the link you supplied with the requirements now and it says:
"A Windows Server Active Directory in sync with Azure Active Directory. This can be enabled through:
Azure AD Connect
Azure AD Domain Services"
Azure AD Domain Services is what I run so it seems thats not the problem at least. However, in my directory I can not add user accounts (or any members at all) to the Domain Computers group.

@Diwiton Thank you for your query . We will investigate and update further.

I received this error yesterday and after investigating the dsc package I uncovered that I had not correctly following the pre-reqs of creating the tenant with powershell and also granting the proper role on the app registration.

Ok, tenant is created with PowerShell and the role TenantCreator is assignee to the service principal per the dokumentation.
Dora the user adding the CM’s to the domain need to have the TenantCreator role as well?

The user I used for domain join in my deployment did NOT have the TenantCreator role.

When WVD was first released the documentation did not have the link to create the tenant, this caused a lot of confusion and led to that DSC failure on deployment. Follow the below links:
https://docs.microsoft.com/en-us/powershell/windows-virtual-desktop/overview - install WVD PS Module
https://docs.microsoft.com/en-us/azure/virtual-desktop/tenant-setup-azure-active-directory - create the WVD tenant
Then you can move on to deploying the WVD marketplace offer.

I guess I spoke too soon. Even after adding the tenant, following the guide step by step, I am still getting the same DSC failure. It's joining my Active Directory domain, but still failing on the DSC with the same error.
https://i.imgur.com/K8TGL4K.png

Same issue here also. Been trying since yesterday. Not sure what else to try

So, I just had a successful deployment after ensuring that my AD Connect was synchronizing to Azure AD. Usually in my demo tenant I don't use AD Connect or have it on, but I think for this deployment to succeed - you have to have AD Connect set up and running, to sync the AD DS users to Azure AD. Once doing this, and specifying the UPN of the synchronized AD DS Users<EMAIL_ADDRESS>during the deployment (Page 1 of WVD Deployment) this worked. I think since it is assigning the users you specify on page 1 to the tenant, that something is requiring that sync to be active in order to work. I'll continue to see if I can make further progress...

That could be my issue, maybe. I'm all Azure ADDS; no on-premises AD.

I also had the same problem with AADDS, it kept failing on the DSCextension. Now i booted a VM with ADDS and now i got WVD to work. So it seems that AADDS is not working (yet)

Leon,
I've got to the point where I can see my Session Desktop in the WVD client, but when I click on it I get an error, 'invalid connection file'. After the deployment, did you do anything else before you were able to connect? It authenticated my UPN user/password, and pulled down the webfeed and the session desktop - but I can't launch it.
https://i.imgur.com/7fZTamq.png

@rbergertd I'm also now struggling to get the RDP connection to work. My WVD is now deployed without errors, but when i publish an RemoteApp (Calc.exe for example) i get an error message: Can't connect to the Remote Desktop Gateway Server.

@LeonJansen just out of curiosity, could you try the automatically created SessionDesktop and see if it lets you in that way? Sorry, I am just hoping I'm not alone at this point! :)

@rbergertd Nope, that also doesn't work. So we are at the same level right now ;-) I will try some stuff to get it to work. I'll send you a message when i found something.

@LeonJansen I think we may be at a stand still until Microsoft fixes things on the broker/gateway side. That's the point we're at with accessing the resource. If you navigate to the directory where the RDP file is launching from (my previous screen shot) you can 'edit' the .RDP file and look, it's going thru their Gateway at this point. If you try and double click the .RDP file from there, you'll get further errors. It's not even trying to connect before it errors out. I think at this point, this will be something Microsoft looks into. Let me know if you make any progress, I am going to call it a day. :)
https://i.imgur.com/vQo85x0.png
https://i.imgur.com/w3tPNc8.png

What is the status of your session host when queried with Get-RdsSessionHost

What’s weird is I discovered the web client works fine but still having issues with the RDP file. Continuing to look into this.
Get Outlook for iOShttps://aka.ms/o0ukef

From: tiktb8<EMAIL_ADDRESS>Sent: Saturday, March 23, 2019 7:28 AM
To: MicrosoftDocs/azure-docs
Cc: Berger, Ryan; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Deployment failure (#27773)
       This email originated outside of Tech Data.  Please help keep our organization and partners safe. It's up to us; think before you click.

What is the status of your session host when queried with Get-RdsSessionHost
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_MicrosoftDocs_azure-2Ddocs_issues_27773-23issuecomment-2D475861896&d=DwMCaQ&c=qk747rkER3kecdav6nsl8A&r=SPZRUkJ2cu5Q7lB-yS5fZGrUVvZyfyrKplF8Wmk95LI&m=vLFqnxZ_FUAymz-5tC17VST1VHwLlTPY4-WVUAeNgWc&s=qbbCM-UfDDlrn34e5_ETIiCHHyd4MUFT36A8CxQ5FME&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ar0Uf0Tk0-2DfQJTeEYpef88yiyNRJOXt1ks5vZg-2D-2DgaJpZM4cDACN&d=DwMCaQ&c=qk747rkER3kecdav6nsl8A&r=SPZRUkJ2cu5Q7lB-yS5fZGrUVvZyfyrKplF8Wmk95LI&m=vLFqnxZ_FUAymz-5tC17VST1VHwLlTPY4-WVUAeNgWc&s=5N-CCoaKe67Q1TcQjfK3o07or_PQJD8GgrPhR2K9dQc&e=.

<EMAIL_ADDRESS>The RDS Session Host looks good.
From: tiktb8<EMAIL_ADDRESS>Sent: Saturday, March 23, 2019 7:28 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Berger, Ryan<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Deployment failure (#27773)
This email originated outside of Tech Data.  Please help keep our organization and partners safe. It's up to us; think before you click.
What is the status of your session host when queried with Get-RdsSessionHost
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_MicrosoftDocs_azure-2Ddocs_issues_27773-23issuecomment-2D475861896&d=DwMCaQ&c=qk747rkER3kecdav6nsl8A&r=SPZRUkJ2cu5Q7lB-yS5fZGrUVvZyfyrKplF8Wmk95LI&m=vLFqnxZ_FUAymz-5tC17VST1VHwLlTPY4-WVUAeNgWc&s=qbbCM-UfDDlrn34e5_ETIiCHHyd4MUFT36A8CxQ5FME&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ar0Uf0Tk0-2DfQJTeEYpef88yiyNRJOXt1ks5vZg-2D-2DgaJpZM4cDACN&d=DwMCaQ&c=qk747rkER3kecdav6nsl8A&r=SPZRUkJ2cu5Q7lB-yS5fZGrUVvZyfyrKplF8Wmk95LI&m=vLFqnxZ_FUAymz-5tC17VST1VHwLlTPY4-WVUAeNgWc&s=5N-CCoaKe67Q1TcQjfK3o07or_PQJD8GgrPhR2K9dQc&e=.

@Heidilohr Could you please review this issue ?

This is now resolved for us. The service principal I created myself was the problem. When I followed the instructions on this page it went better:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-service-principal-role-powershell
This instruction should be included or linked to in the tutorial section "Windows Virtual Desktop Preview tenant information" under point 3 here:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-azure-marketplace#windows-virtual-desktop-preview-tenant-information

@Diwiton ! Thx had the same scenario and issue.  And agree the documentation was not in a logic order.
Did create a service principal when realizing an MFA enabled account would not work as the "WVD RDS Tenant Owner" BUT did that without setting it with the AvailableToOtherTenants=True
Changed that flag to true and all was good for me.
The information about creating service principals and role assignment came in too late , since then I already hade created the SP and didn´t noticed the parameter they did it with.

Having issues with the DSC failure. Copied the instructions on setting up the tenant in sections 1 and 4 but still having issues. Also seeing this when attempting to create the Host Pool via Powershell: New-RdsHostPool : User is not authorized to query the management service.
I am using a test Pay as you go subscription. Can anyone help point me in the right direction as to why I cannot create the Host Pool?

Also experiencing this error:
"id": "/subscriptions/01c0266d-fa91-4918-a9a5-b2a028fc8522/resourceGroups/Test_WVD/providers/Microsoft.Resources/deployments/rds.wvd-provision-host-pool-20190402141619/operations/08586473995036309862",
"operationId": "08586473995036309862",
"properties": {
  "provisioningOperation": "EvaluateDeploymentOutput",
  "provisioningState": "Failed",

Any ideas/solutions available? The registrations etc were all donw following the tutorial, the tenant group name is identical during initial setup aswell.

Try to verify that you enter the correct Application ID and Tenant Admin PW.
If you want to verify those run the following commands in PowerShell:
By running the command you will get the Password:
$svcPrincipalCreds.Value
By running the command you will get the Tenant ID:
$aadContext.TenantId.Guid
By running the command you will get the Application ID:
$svcPrincipal.AppId

I succesfully deployed a WVD, created a blogpost about it:
https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/
Please let me know if that works for you, otherwise let me know where you struggle.

Still the same error.
"error": { "code": "VMExtensionProvisioningError", "message": "VM has reported a failure when processing extension 'dscextension'. Error message: "DSC Configuration 'FirstSessionHost' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: One or more errors occurred. The SendConfigurationApply function did not succeed."." }, "name": "redacted } } }}

Van: erjenrijnders<EMAIL_ADDRESS>Verzonden: donderdag 4 april 2019 11:48
Aan: MicrosoftDocs/azure-docs
CC: Joepvtilburg; Comment
Onderwerp: Re: [MicrosoftDocs/azure-docs] Deployment failure (#27773)
I succesfully deployed a WVD, created a blogpost about it:
https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/
Please let me know if that works for you, otherwise let me know where you struggle.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/27773#issuecomment-479829272, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Au6wi149BLNsd9-pB2EeQ5g-_bWg9BYFks5vdcpRgaJpZM4cDACN.

Does your user have Owner access on the Azure Subscription?

Hey has anyone got it to work with AADDS. I seem to have the problem with AADDS, it kept failing on the DSCextension
I have folllowed the microsoft and https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/ guide step by step and am thinking the problem is AADDS
thanks

@stavrosmitchell yes, we used AADDS (Azure AD Domain Services) and got it to work.
Have you done as I wrote in my answer?
https://github.com/MicrosoftDocs/azure-docs/issues/27773#issuecomment-476862108

I still getting the error:
VM has reported a failure when processing extension 'dscextension'. Error message: "DSC Configuration 'FirstSessionHost' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource  failed to execute Set-TargetResource functionality with error message: User is not authorized to query the management service.\nActivityId: df42f7e3-73d9-47ec-be4a-408019d2d62f\nPowershell commands to diagnose the failure:\nGet-RdsDiagnosticActivities -ActivityId df42f7e3-73d9-47ec-be4a-408019d2d62f\n  The SendConfigurationApply function did not succeed."."

my user has owner access on the Azure Subscription.
i had created the service principals
all the follow commands worked:
By running the command you will get the Password:
$svcPrincipalCreds.Value

By running the command you will get the Tenant ID:
$aadContext.TenantId.Guid
By running the command you will get the Application ID:
$svcPrincipal.AppId
Can you help me, please?

@fbcarvalho Hi whatever user you are using does not have RDS Owner or RDS Contributor permissions on the WVD tenant and is not able to complete the creation of the WVD host pool
Error in IsAuthorizedAsync(Resources/Tenant/≤RPA_Tenant≥///Read) Exception=Microsoft.RDInfra.Authorization.Common.UserNotFoundException: WVD_50002:  not found.
at Microsoft.RDInfra.RDBroker.Authorization.RDmiUserIdentity.IsAuthorizedImplAsync(Provider provider, Operation operation, AuthorizationRoleScope scope, CancellationToken cancellationToken)

How can I assing RDS Owner or RDS Contributor permissions to the user?

Its in the documentation New-RdsRoleAssignment -TenantName $tenant -UserPrincipalName $userName -RoleDefinitionName "RDS Contributor"

Can anyone recommend further troubleshooting steps to those still experiencing a similar ‘dscextension’ error, even after switching from a user UPN to a service principal? I still receive the same error message as the OP:
VM has reported a failure when processing extension ‘dscextension’. Error message: DSC Configuration ‘FirstSessionHost’ completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: One or more errors occurred. The SendConfigurationApply function did not succeed.
I've tried deploying the host pool through the Azure web UI, via powershell script, and have even read through some of the scripts saved onto the WVD Host VM under C:\WindowsAzure and C:\Packages folder, nothing jumps out at me to explain why the deployment continually fails on this step.
I am deploying a single host, I run a single DC with AAD Connect as an Azure VM, and that is essentially it for my test environment.

@r-maestas : Glad your issue got resolved. We'll continue to monitor feedback to understand how to have the automated deployment mechanisms (Azure Marketplace and GitHub ARM template) can have more consistency. We also edited the order of these docs, so that should help. https://docs.microsoft.com/en-us/azure/virtual-desktop/tenant-setup-azure-active-directory

#please-close

Closing as per author comments.


Default subject routing

Proposed change
I'd like to be able to have a default handler instance of a function / service, with the ability to have specialist versions for specific customers, using something like:
fn.*.doSomething

and
fn.{clientID}.doSomething

Or some similar subject construct.
When first created, fn.*.doSomething picks up all messages; then I deploy a variation of the default handler for a specific client to listen on subject fn.client-1.doSomething. It runs the variation. In the meantime all other clients carry on using the default handler (such that fn.client-2.doSomething and fn.client-3.doSomething get routed to the generic fn.*.doSomething consumer).
Use case
We can deploy a standard handler for use by most clients. However, if some clients want to have additional processing applied, we can route to a specific handler for that client, without affecting anything else.
Contribution
No response

This is an interesting use case and I've wanted to build something similar a few times, where the more stuff I deploy, the more specific handlers get invoked and the less the "catch-all" handler gets invoked.
You can sort of do this now. If you deploy a function with a trigger subject of fn.*.doSomething, it will always be triggered. Then if you deploy a function triggered by fn.client-1.doSomething, both the specific client-bound function and the generic catch-all will be triggered.
If I don't want both to trigger, and it's an either-or situation, what I've done in the past is to ensure that there are no overlaps between the specific triggers and the catch-all. In this case, the catch-all would be triggered by fn.default.doSomething and the client-specific fn.client-x.doSomething. Here there's no overlapping wildcard so you won't get the double-trigger.
If you're okay with both the default processing and the additional processing taking place concurrently, then you can absolutely do this today with no changes.
However, there may be a bigger question here. Do we want a 1:1 correlation between clients and the function? This type of pattern could end up eating up a lot of compute time because we'll run more and more workloads the more clients we get, and we'll have to worry about idle functions for clients that aren't getting many calls.
I don't know if it works with your use case, but a pattern that I've used to great effect before is I'll deploy a single function that is triggered by fn.*.doSomething, and then the function will extract the client ID from the subject, use a key-value store (made available via host services) to get the client-specific data, and then respond accordingly.

Thanks - I'm considering writing a wrapper function that employs a KV/Database mechanism for this. Look up the subject and if there's a tenant-specific handler, use an alternate subject, otherwise allow the original subject through.  I'll do this before posting to NATS.
On the broader question of multiple clients - if we did something with the KV TTL, we could (in theory) cache the clients ... when booted from the cache, the client closes. This would incur a restart hit when another message comes through - but - for rarely used functions, this would probably be Ok because we can keep higher priority hot-starts alive. Those used the most often would remain in the cache. This would also provide the basis for auto-scaling commonly used functions.


profiling: support authentication of the profiling api

This PR supports the authentication of the profiling API.

This will break the download functionality. I think you can wait @Deardrops to give a solution for it.

You can update your PR according to https://github.com/pingcap-incubator/tidb-dashboard/pull/165 now :)


nil — true if x is either null or undefined

nil()
//=> true

nil(false)
//=> false

nil(0)
//=> false

nil(null)
//=> true

nil(undefined)
//=> true

:tada: This issue has been resolved in version 1.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Training fails with Roboflow dataset

Link to data: https://universe.roboflow.com/jacob-solawetz/aerial-maritime/dataset/22#
IoU metric: bbox
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = -1.000
To reproduce:
!python train.py --data data_configs/custom_data.yaml --epochs 5 --model fasterrcnn_resnet50_fpn_v2 --name custom_training --batch 8
!curl -L "https://universe.roboflow.com/ds/vTV0PieE66?key=FwNU4om5rO" > roboflow.zip; unzip roboflow.zip -d custom_data; rm roboflow.zip
%%writefile data_configs/custom_data.yaml
Images and labels direcotry should be relative to train.py
TRAIN_DIR_IMAGES: 'custom_data/train'
TRAIN_DIR_LABELS: 'custom_data/train'
VALID_DIR_IMAGES: 'custom_data/valid'
VALID_DIR_LABELS: 'custom_data/valid'
Class names.
CLASSES: [
'background',
'docks', 'boats', 'lifts', 'jetskis', 'cars'
]
Number of classes (object classes + 1 for background class in Faster RCNN).
NC: 6
Whether to save the predictions of the validation set while training.
SAVE_VALID_PREDICTION_IMAGES: True
This seems to be the case with multiple datasets. I download them with the 'voc setting' too. Any idea why they fail?

Can you please let me know what error you are facing? Or if it is just the mAP issue, please try passing --mosaic 0 to the training command. Mosaic augmentation can bit too much for some datasets, so the above command will turn it off.

I have pushed an update where mosaic is turned off by default. Please pull the code once. Most probably this will give much better results.

It is just the mAP.
I re-cloned the repo (using colab anyways). It is still showing the same issue.

I will check. I have never faced this issue before.

Can you please check the dataset paths in the YAML file once more?

Checking Labels and images...
100% 102/102 [00:00<00:00, 241705.65it/s]
Checking Labels and images...
100% 10/10 [00:00<00:00, 97997.76it/s]
Creating data loaders
/usr/local/lib/python3.10/dist-packages/torch/utils/data/dataloader.py:560: UserWarning: This DataLoader will create 4 worker processes in total. Our suggested max number of worker in current system is 2, which is smaller than what this DataLoader is going to create. Please be aware that excessive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
warnings.warn(_create_warning_msg(
Number of training samples: 102
Number of validation samples: 10
They are correct, it is being read.
If you have the time, could you please try running it with the same data? You can just re-implement it with the original details i have pasted on the question.

Pushed another update.
Actually, the class names are wrong. They are not plural (do not contain 's' in the end). The datasets.py was not showing the error because of a try-catch block. I corrected it. Now you can run with your current YAML file. It will show the error for the wrong class names in the YAML file. Correct the class names, and you should start getting results.
Let me know if you face more issues.
Please pull the update.

File "/content/fastercnn-pytorch-training-pipeline/datasets.py", line 107, in load_image_and_labels
labels.append(self.classes.index(member.find('name').text))
ValueError: 'dock' is not in list
It shows the error, thanks! It is also working and training appropriately now.
Thank you very much for the fast response always :)


fix ip_filter issue when a TF manifest has IP filters sorted in a dif…

…ferent way than on Aiven side

Acceptance Test Failure seems to be related to flakiness in the database resource test


Update xiaomi.md

Thank you

Thanks for the PR, could you please clarify what do you mean by the changes?

Closing for lack of response by the author.


Plugin conflict with Salesforce mobile SDK

Hi,
I have difficulties to have this plugin work together with Salesforce Mobile SDK plugin: https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin
I have already opened an issue there: https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/39
Could you have a check?
Thanks.

Please follow @xuzongque's helps.


UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

Process SpawnProcess-1:
Traceback (most recent call last):
File "D:\python\python310\lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "D:\python\python310\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\uvicorn_subprocess.py", line 76, in subprocess_started
target(sockets=sockets)
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\uvicorn\server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "D:\python\python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\python\python310\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\uvicorn\server.py", line 68, in serve
config.load()
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\uvicorn\config.py", line 467, in load
self.loaded_app = import_from_string(self.app)
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
module = importlib.import_module(module_str)
File "D:\python\python310\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\www\LLM\screenshot-to-code\backend\backend\main.py", line 5, in
load_dotenv()
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\dotenv\main.py", line 346, in load_dotenv
return dotenv.set_as_environment_variables()
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\dotenv\main.py", line 91, in set_as_environment_variables
if not self.dict():
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\dotenv\main.py", line 75, in dict
self._dict = OrderedDict(resolve_variables(raw_values, override=self.override))
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\dotenv\main.py", line 233, in resolve_variables
for (name, value) in values:
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\dotenv\main.py", line 83, in parse
for mapping in with_warn_for_invalid_lines(parse_stream(stream)):
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\dotenv\main.py", line 25, in with_warn_for_invalid_lines
for mapping in mappings:
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\dotenv\parser.py", line 173, in parse_stream
reader = Reader(stream)
File "C:\Users\36121\AppData\Local\pypoetry\Cache\virtualenvs\backend-I4rE4aR--py3.10\lib\site-packages\dotenv\parser.py", line 64, in init
self.string = stream.read()
File "D:\python\python310\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

Change the encoding of your env file to utf-8

Change the encoding of your env file to utf-8

Can you guide me on where to do this change?

As a sidenot to anybody who experiences this issue and does not have Notepad++ installed. You can also open the file in the regular Notepad and click "File" -> "Save As". You will have the the option to change the encoding at the bottom to UTF-8. This has solved the issue above for me.

Thanks for the fix. Included in the README now.


Update Core

About the PR

Update captain's room to have the golden toilet + rework, edits a couple small cameras, small salvage tweaks, and other bugfixes. AI core real.
Resolves #31462 and ticks off core's part of #31768.
Media

Requirements

[X] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

hold on lemme add station anchor 1 sec


Add Gitlab support?

Gitlab support would be nice :smile:

Yeah I'd like to add gitlab/bitbucket support soon! Maybe this weekend I'll get some time!


Loss Difference between paper and code

I notice that you have mentioned a latent space loss in the paper(equ.7).
But I can’t find this loss in the training code.
So which one is right? This is strange.

Hi Ricky, we found after the paper's formation that, the latent space loss only boosts slightly higher performance but with a much higher computational cost. So we remove the public version.
Regards

Get it! And I find that the depth pixel loss is directly L1 L2 loss, not like loss in Equ.6. Is it because using Equ.6 makes no difference? Thanks for replying me so fast.

OK, so if I want the best performance, I should change the default config and use the SIGloss instead of L1+L2 loss, right?

I would suggest for SIGLoss + L1+L2 + DDIM loss for initialization and SIGLoss + DDIM for finetune.

OK! Thanks for your reply! Helped me a lot!


Port reported is incorrect

Start a process on port 3000
This causes live server to go to 3001
Live server shows a notification saying server started on 3001
🐛 Server is actually on 3002

Can't get this dialog to appear anymore since I've uninstalled the old one. But what I do notice is this

Start a process on port 3000
Start live server it goes to 3001
Kill the process on port 3000
Kill live server
Start live server
🐛 Live server picks 3001 and doesn't reclaim 3000

Oh, this is by design so that it doesn't keep retrying ports that were occupied before each time it starts up. I thought it would be more efficient, especially if a lot of ports after the initial port are occupied. I can see that it might be unexpected, though. What do you think about this?


Support properties field in generative groupedResult field

Codecov Report
Patch coverage: 75.00% and project coverage change: -0.01 :warning:

Comparison is base (c1cfaff) 95.74% compared to head (4f7b869) 95.73%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #342      +/-   ##
==========================================
- Coverage   95.74%   95.73%   -0.01%
==========================================
  Files          64       64
  Lines        7798     7807       +9
==========================================
+ Hits         7466     7474       +8
- Misses        332      333       +1

Impacted Files
Coverage Δ

integration/test_graphql.py
91.53% <0.00%> (-2.17%)
:arrow_down:

test/gql/test_get.py
100.00% <100.00%> (ø)

weaviate/gql/get.py
97.22% <100.00%> (+0.04%)
:arrow_up:

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

🥳 Was looking forward to this! Added client examples.


modular helmet bug[BUG]

Description:
After crafting and installing all the modules on the modular helmet i equipped it and tha game crashed and now everytime i load in to the world it crash again
Steps to Reproduce:
install all possible module on modular helmet ad equip it
Technical Information:

Minecraft: 1.16.5
Fabric API: 0.34.2
Industrial Revolution: 1.9.17
Modpack:

Logs:

Use a paste service, do not paste the logs directly here.

Details:
Extra information that might be helpful like screenshots or technical information about your computer.
crash-2021-06-09_00.59.55-client.txt

Seems to be unrelated to Industrial Revolution and caused by VoxelMap.

Seems to be unrelated to Industrial Revolution and caused by VoxelMap.

oh ty so much, sorry for bothering


Collection log widget crash

None of the normal collection log functionality is working on opening the collection log because exceptions are being thrown, which I think may be caused by the change to getCollectionLogTitle():
2024-02-04 00:55:12 PST [Client] ERROR n.r.client.callback.ClientThread - Exception in invoke
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 0
at com.evansloan.collectionlog.CollectionLogPlugin.getCollectionLogTitle(CollectionLogPlugin.java:1116)
at com.evansloan.collectionlog.CollectionLogPlugin.setCollectionLogTitle(CollectionLogPlugin.java:879)
at com.evansloan.collectionlog.CollectionLogPlugin.setCollectionLogTitle(CollectionLogPlugin.java:869)
at com.evansloan.collectionlog.CollectionLogPlugin.update(CollectionLogPlugin.java:861)
at com.evansloan.collectionlog.CollectionLogPlugin.getPage(CollectionLogPlugin.java:691)
at net.runelite.client.callback.ClientThread.lambda$invokeLater$1(ClientThread.java:80)
at net.runelite.client.callback.ClientThread.invokeList(ClientThread.java:119)
at net.runelite.client.callback.ClientThread.invoke(ClientThread.java:101)
at net.runelite.client.callback.Hooks.tick(Hooks.java:218)
at client.uz(client.java:2380)
at client.bc(client.java)
at by.za(by.java:403)
at by.io(by.java)
at by.run(by.java:7195)
at java.base/java.lang.Thread.run(Thread.java:829)
Looks like the plugin crashes and doesn't display collection log widget text properly.

Caused by https://github.com/evansloan/collection-log/commit/93d8e56d73f6e51f5fbbbcc3cf113a295517adc2


No Source control "discard changes" confirmations (like no delete confirmation)

Deletions ask confirmations, but those can be disabled : https://github.com/microsoft/vscode/issues/1538
The same thing for "Discard changes" in the source control tab would be great

Thank you very much for filing this feature request. I will go ahead and close this feature request as "out-of-scope" based on my reasoning from here - https://github.com/microsoft/vscode/pull/190587#issuecomment-1856147189. In case you have any questions or concerns please don't hesitate to reopen this issue. Thanks!

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Check for jupyter in the environment before installing conda/etc.

Is there any reason to not check the environment for a Jupyter install? I don't mean the JUPYTER env var, but searching the current user's path to see if the jupyter executable exists.
From a user's stance, being ambushed by a conda + a ton of conda dependencies is terrifying (especially when rebuilding a Docker image and not knowing this is a new default behavior from Julia)

This is done intentional. Ref https://github.com/JuliaLang/IJulia.jl/issues/501.
I don't like it either (because I've never used a broken distro) but apparently it has caused many issues and it's possible to disable in my packaging script...

I wonder if we should switch back to the old behavior (looking for jupyter in the PATH by default) on Linux systems, where the culture is a bit different (people don't expect self-contained installs) and if jupyter is installed it is much more likely to be working.

Thanks for your quick replies! I would certainly be in support of that change @stevengj, as it's much more in line with the expected user experience of installing Julia on Linux.

A PR would be welcome.

Done.

Thank you! Amazed how responsive you all are!
On Jan 25, 2017 5:24 PM, "Steven G. Johnson"<EMAIL_ADDRESS>wrote:

Done.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaLang/IJulia.jl/issues/506#issuecomment-275252335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA61RQx-eyLRUxfRBVETD485fG9Pvuyvks5rV8ufgaJpZM4LtFjm
.


[Bug]: MacOS github actions runner is running into a MODULE_NOT_FOUND error when running the Ligo e2e tests

What happened?
In our main code when we run the Ligo tests on a mac OS runner in github actions it will fail with errors like the following:
node:internal/modules/cjs/loader:936
  throw err;
  ^
Error: Cannot find module<EMAIL_ADDRESS>    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:[77](https://github.com/ecadlabs/taqueria/runs/6659930423?check_suite_focus=true#step:12:77)8:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:[81](https://github.com/ecadlabs/taqueria/runs/6659930423?check_suite_focus=true#step:12:81):12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
and]
Commands:
  taq init [projectDir]                     Initialize a new project
  taq scaffold [scaffoldUrl] [scaffoldProj  Generate a new project using pre-mad
  ectDir]                                   e scaffold
Options:
      --version     Show version number                                [boolean]
      --build       Display build information about the current version[boolean]
  -p, --projectDir  Path to your project directory               [default: "./"]
  -e, --env         Specify an environment configuration
Taqueria is currently in BETA. You've been warned. :)
The @taqueria/plugin-ligo plugin experienced an error when getting information about the @taqueria/plugin-ligo plugin.
node:internal/modules/cjs/loader:936
  throw err;

What should have happened?
We should not see these errors since Ligo will build locally without an issue and the tests pass when run locally on a developers machine
Steps to reproduce the bug
Steps to reproduce the error:
Kick off a pipeline build through a draft/regular PR and watch the pipeline run, for example: https://github.com/ecadlabs/taqueria/runs/6659930423?check_suite_focus=true
The mac runners are the ones to watch since there is no issue on ubuntu/linux
Relevant log output
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module<EMAIL_ADDRESS>    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
and]

Commands:
  taq init [projectDir]                     Initialize a new project
  taq scaffold [scaffoldUrl] [scaffoldProj  Generate a new project using pre-mad
  ectDir]                                   e scaffold

Options:
      --version     Show version number                                [boolean]
      --build       Display build information about the current version[boolean]
  -p, --projectDir  Path to your project directory               [default: "./"]
  -e, --env         Specify an environment configuration

Taqueria is currently in BETA. You've been warned. :)

The @taqueria/plugin-ligo plugin experienced an error when getting information about the @taqueria/plugin-ligo plugin.
node:internal/modules/cjs/loader:936
  throw err;

Screenshots and images
Screenshot and images
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Pulling this into the sprint and assigning as critical since it's a red pipeline incident

This is the issue that fixed itself right @alexzbusko?


AV still alerting?

PoignardAzur from the forums reports they still get AV warnings when visiting the website.
https://forum.minetest.net/viewtopic.php?f=6&t=13153

My best guess as to the cause of the warning is this:
inchra-stats.minetest.net is a CNAME for stats.inchra.net, which is a CNAME for amun.inchra.net, which contains A/AAAA/etc records.  Avast must be resolving the CNAMEs and checking the resulting domain name instead of the original domain name.
If this guess is correct some solutions would be:

Copy all the amun.inchra.net records to inchra-stats.inchra.net
Get Avast to fix their anti-malware check.

You mean "Copy all the amun.inchra.net records to inchra-stats.minetest.net" don't you?

Er, yes, of course.

Getting flagged by an AV is quite a major issue.

Another idea: Enabling SSL might fix this -- the stats server is now ready for it.
Direct A/AAAA records aren't used yet though.
Is this even still an issue?  I haven't heard about anyone else getting malware warnings, it's been a while, and BrandonReese reported it as a false positive (posted to topic and awaiting reply).

This should get fixed soon, or the analytics should be removed.

I have now added stats.minetest.net which has A and AAAA records that point to the amun.inchra.net server (A=<IP_ADDRESS>, AAAA=2600:3c03::f03c:91ff:fe33:a4f8). Feel free to use.

Fixed by 87b8ef9bc25e4ed69cda5369374d8ba2a89f99f2 as reported by DI3HARD139 in the linked forum thread.


chore(main): release 1.0.3

:robot: I have created a release beep boop
1.0.3 (2022-11-28)
update

添加路由 (4c12fa8)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/School-of-Website-Engineering/Rosy-DR-Code-Ling/releases/tag/v1.0.3 :sunflower:


Create pipeline to build-push-deploy a non-Appsody Stack

User wants to run a pipeline to build something that is not an Appsody Stack, for example just build based on a Dockerfile

Most likely this would be a prototype / experimental in 090


Unwanted straight line on the one-sided BorderRadius shadow - mobile device using Web

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Run the sample code on an iPhone in Google Chrome.
Observe the shadow looking like the image in the actual results.

Expected results
We want the shadow to look like this even if we remove only the left radius:

Actual results
The shadow displays a straight line on the right of the button:

Code sample
Code sample
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends ConsumerWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(title),
      ),
      body:  Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            ElevatedButton(
        style: ButtonStyle(
          elevation: MaterialStateProperty.all(5),
          shape: MaterialStateProperty.all(
            const RoundedRectangleBorder(
                    borderRadius: BorderRadius.horizontal(
                            left: Radius.zero,
                            right: Radius.circular(25),
                          ),),
                  ),
          padding: MaterialStateProperty.all(
            EdgeInsets.zero,
          ),
          minimumSize: MaterialStateProperty.all(
            const Size(
              73,
              25,
            ),
          ),
          tapTargetSize: MaterialTapTargetSize.shrinkWrap,
          overlayColor: MaterialStateProperty.all(
            Colors.transparent,
          ),
        ),
        onPressed: (){},
        child: const Padding(
          padding: EdgeInsets.only(left: 30),
          child: Icon(Icons.add),
        ),
      )
          ],
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.4.1 22F770820d darwin-arm64, locale en-GB)
    • Flutter version 3.10.6 on channel stable at /Users/benjaminfarquhar/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (7 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/benjaminfarquhar/Library/Android/sdk
    • Platform android-33, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (4 available)
    • iPhone 14 (mobile)                           • 71E5AF8A-2773-4755-9075-76FAF35E49A9 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • iPad Pro (11-inch) (4th generation) (mobile) • 943DEA4F-33A9-43AC-A240-B25E5C6A82BA • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)                              • macos                                • darwin-arm64   • macOS 13.4.1 22F770820d darwin-arm64
    • Chrome (web)                                 • chrome                               • web-javascript • Google Chrome 116.0.5845.140

[✓] Network resources
    • All expected network resources are available.

• No issues found!

By the way, I don't know how to run on an iPhone using Chrome without hosting the web app on the internet. Is this possible? Screenshots were taken from my hosted web app.

Hi @BenjiFarquhar. Thanks for filing this issue. I'm able to reproduce this on the latest master and stable channels.
This issue is reproducible on both Android and iOS devices.
Hosting the web app and testing on Android and iOS:

Android
iOS (Safari)
iOS (Chrome)

Testing on Android using the following steps (per question in https://github.com/flutter/flutter/issues/133932#issuecomment-1704034843), I observed same behaviour :

Run flutter run -d web-server --web-port 5011

Connect device and verify if the device is connected properly adb devices

adb port-forwarding adb reverse tcp:5011 tcp:5011

Open Mobile Browser with http://localhost:5011/

Code Sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            ElevatedButton(
              style: ButtonStyle(
                elevation: MaterialStateProperty.all(5),
                shape: MaterialStateProperty.all(
                  const RoundedRectangleBorder(
                    borderRadius: BorderRadius.horizontal(
                      left: Radius.zero,
                      right: Radius.circular(25),
                    ),
                  ),
                ),
                padding: MaterialStateProperty.all(
                  EdgeInsets.zero,
                ),
                minimumSize: MaterialStateProperty.all(
                  const Size(
                    73,
                    25,
                  ),
                ),
                tapTargetSize: MaterialTapTargetSize.shrinkWrap,
                overlayColor: MaterialStateProperty.all(
                  Colors.transparent,
                ),
              ),
              onPressed: () {},
              child: const Padding(
                padding: EdgeInsets.only(left: 30),
                child: Icon(Icons.add),
              ),
            )
          ],
        ),
      ),
    );
  }
}

stable, master flutter doctor -v

[✓] Flutter (Channel stable, 3.13.2, on macOS 13.0 22A380 darwin-arm64, locale
    en-NG)
    • Flutter version 3.13.2 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (11 days ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • 6548B0D1-7674-4306-9852-198C465F1104 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)        • macos                                •
      darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 116.0.5845.140

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[✓] Flutter (Channel master, 3.14.0-14.0.pre.93, on macOS 13.0 22A380 darwin-arm64, locale en-NG)
    • Flutter version 3.14.0-14.0.pre.93 on channel master at /Users/damilolaalimi/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ef9befc9da (14 hours ago), 2023-09-03 11:23:20 -0700
    • Engine revision fbc6f4a540
    • Dart version 3.2.0 (build 3.2.0-131.0.dev)
    • DevTools version 2.27.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • iPhone 14 (mobile)          • EDD62579-BA84-4339-BDA7-E870040C507A • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • iPhone 14 Pro (mobile)      • 6548B0D1-7674-4306-9852-198C465F1104 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 116.0.5845.140

[✓] Network resources
    • All expected network resources are available.

• No issues found!


Added charcter s in straight font

Added character 's' in font straight
Referenced Issues
closes #472

@Gourab-Bistu, you haven't committed those changes. They are not visible here. Commit your changes and push.

commited sir , will I PR now ?

@Gourab-Bistu no need for PR. your existing PR works fine. I'll check it and merge it a bit later.


Why not iOS 6? Does it fail?

Thanks

Hi!
The only reason for why I have not given iOS 6.0 pod support is that I do not have iOS 6 simulator or device with me. But if you need run it on iOS 6 then feel free to do so by adding sources to your project directly.
I am planning to introduce some animations in the future using UIDynamics that may not work with iOS 6.
Thanks for using DXCustomCallout!

Ok, thanks
On Thursday, April 30, 2015, s3lvin<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/s3lvin/DXCustomCallout-ObjC/issues/1.
—
Reply to this email directly or view it on GitHub
https://github.com/s3lvin/DXCustomCallout-ObjC/issues/1#event-293865784.

--
Saludos,
Matías Castro
Dsarhoya


Headless mode with Firefox - Geckodriver

Dear support,
I've seen a headless mode with Chrome available, but what about firefox ? In my infrastructure we only use firefox,
I'm opening a BMC remote connection based on java via firefox, so I don't really need to have a browser opened.
Thanks.

I've seen the option in the documentation, it works.
Sorry about that.


Dual package hazard

I just ran into the dual package hazard problem with @bufbuild/protobuf and the exported WKT types. I was checking instanceof on a Timestap type and that failed because the object instance I got was from the CJS export (through a CJS library) and I was comparing it against Timestamp via my local ESM import.
Personally, I think it's time to drop CJS altogether. Top-level await has been available for quite some time now and is a perfectly acceptable escape hatch for anyone who needs to import ESM modules into CJS via dynamic import.

Hey @fubhy unfortunately I think this might be an issue with the ecosystem. But, can you share a bit more details with what happened? What CJS library was it that pulled in the CJS export, etc.?
Dropping CJS would be nice, but not sure we can without some tests to ensure we're not breaking a bunch of bundlers out there. I can maybe look into this with our connect-es-integration repo to see how things would behave.

Hey @smaye81. Sorry for the late reply!
I can see how it might be difficult for y'all to entirely drop CJS support now that it's already "live" with both ESM & CJS.
Maybe, instead of dropping it entirely you'd consider publishing the ESM package as a CJS wrapper instead? That would eliminate the dual package hazard effectively too... Admittedly at a bit of a maintenance burden in terms additional build & build config shenanigans.
Particularly for @bufbuild/protobuf though, I think this issue can't be ignored... I ran into it in an internal monorepo with some shared dependencies between some backend & frontend services. Due to some configuration issues involving some legacy packages, the shared package with the protobuf definitions was loaded twice. Once from CJS and once from ESM.
Given how "low level" particularly the "@bufbuild/protobuf" is for anything that has anything to do with connect, I'd be willing to bet that this is destined to happen more frequently as adoption increases. Especially as people might start to publish & reuse protos & utils via shared packages.  Mind you: this happened inside a single (admittedly large) monorepo with only local lib & app packages for me and it was already hard to debug ;-)

... This part in particular:
Another way of avoiding a dual package hazard is to use the bundler-specific module condition to direct bundlers to always load the ESM version of your package while letting node always fall back to the CommonJS version of your package. Both import and module are intended to be used with ESM but unlike import, the module condition is always active even if the import path was loaded using a require call. This works well with bundlers because bundlers support loading ESM using require, but it's not something that can work with node because node deliberately doesn't implement loading ESM using require.

@smaye81 Would you accept a PR (across all connect related repositories) that switches to ESM wrappers? That would eliminate the hazard effectively whilst also keeping support for both CJS and ESM. Unless I'm missing sth. here it would be simple to do for your packages as there's no default exports as mentioned.

I'm open to a discussion on it, but let's wait until people are back from vacation, etc. (ideally next week at the earliest). Don't want to make any big decisions without a proper review.

Switching to ESM wrappers has the downside of effectively disabling tree-shaking as the ESM wrapper imports the CJS file. See https://nodejs.org/api/packages.html#dual-package-hazard

Not if you also provide a esm version for bundlers.

Basically you author the package.json something like this:
"exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "module": "./dist/esm/index.js", // ESM (for bundlers)
      "import": "./dist/proxy/index.mjs", // ESM -> CJS Wrapper
      "default": "./dist/index.js" // CJS
    }
}

This way, you don't get the dual package hazard whilst retaining tree-shaking capabilities for bundlers.

Hey @timostamm, no problem.
I know that @Andarist has been neck deep in this problem space. I did a quick search through his packages and found that e.g. https://www.npmjs.com/package/react-textarea-autosize uses a similar setup. This one seems to be generated through https://preconstruct.tools/

Full disclosure: I use this setup in Emotion and it works exceptionally well. It's not that I didn't run into any problems though but they were really really minor and I went that extra mile to fix those issues at the root (for example in Vite). There is literally one really really edge case that I'm aware of in Next.js: https://github.com/vercel/next.js/issues/49898 . It doesn't affect most applications, it's related to a very specific mix of CJS & ESM in the app code~ and so far only one project has reported it. Even though Material UI reported it - they only observed it in their own docs-related setup and it was not reported by their users. We were examining this case and it looks like a bug in Next.js and not like the issue with this setup. Other than that... I'm not aware of any issues with it :)

Thanks @fubhy and @Andarist!
We just made the change for all relevant packages and ran some tests in https://github.com/connectrpc/examples-es/pull/1002. It's obviously a bit difficult testing it exhaustively, but I can confirm that the popular bundlers tested resolve as expected. (Thanks to @smaye81 and @paul-sachs for testing).


... how to use it as server?

Hi. Thanks for your port.
I see your dart server sample, but how can I install it as server and launch it?
I worked with php websocket server and launch it by terminal with command php myws.php.
I'm new to Dart so I'm sorry if my question seems to be stupid but I haven't found any docs on it.
Thanks in advance.

FYI: https://github.com/rikulo/socket.io-dart/tree/master/example
or integrate with StreamServer
For example in main.dart
import 'package:socket_io/socket_io.dart' as io;

void main() {
    final socketServer = new io.Server(server: new StreamServer(), options: ifAny);
}

After finish your main function, then you can run with the following command in a terminal.
dart main.dart

More details, please take a look at https://dart.dev/tools/dart-vm

Many thanks.

I installed the dart server and it's running. When I try to connect the client to it. The console output on the server is:
connection default namespace
2020-05-13 11:31:14.472794:stream:1
SHOUT: 2020-05-13 11:31:14.472471:Bad state: Header already sent
#0      _HttpResponse.statusCode= (dart:_http/http_impl.dart:862:35)
#1      PollingTransport.doWrite.<anonymous closure> (package:socket_io/src/engine/transport/polling_transport.dart:269:11)
#2      PollingTransport.doWrite (package:socket_io/src/engine/transport/polling_transport.dart:302:14)
#3      PollingTransport.write (package:socket_io/src/engine/transport/polling_transport.dart:246:5)
#4      PollingTransport.send.<anonymous closure> (package:socket_io/src/engine/transport/polling_transport.dart:235:12)
#5      PacketParser.encodePayload.<anonymous closure> (package:socket_io_common/src/engine/parser/parser.dart:212:22)
#6      PacketParser.map.<anonymous closure> (package:socket_io_common/src/engine/parser/parser.dart:229:25)
#7      _rootRunUnary (dart:async/zone.dart:1192:38)
#8      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#9      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#10     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#11     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#12     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#13     Future.wait.<anonymous closure> (dart:async/future.dart:402:22)
#14     _rootRunUnary (dart:async/zone.dart:1192:38)
#15     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#16     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#18     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#19     Future._complete (dart:async/future_impl.dart:516:7)
#20     new Future.microtask.<anonymous closure> (dart:async/future.dart:202:16)
#21     _rootRun (dart:async/zone.dart:1180:38)
#22     _CustomZone.run (dart:async/zone.dart:1077:19)
#23     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#24     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#25     _rootRun (dart:async/zone.dart:1184:13)
#26     _CustomZone.run (dart:async/zone.dart:1077:19)
#27     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#28     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#29     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#30     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#31     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#32     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

This is the simple dart client:
import 'package:socket_io_client/socket_io_client.dart' as IO;
void main() {
  IO.Socket socket = IO.io('http://<IP_ADDRESS>:3000');
  socket.on('connect', (_) {
    print('connect');
    socket.emit('msg', 'TEST MESSAGE!');
  });
  socket.on('event', (data) => print(data));
  socket.on('disconnect', (_) => print('disconnect'));
  socket.on('fromServer', (_) => print(_));
}

Any suggestions?

FYI: https://github.com/rikulo/socket.io-client-dart/tree/master/test
This example works well.

Yes it works! Thanks.

Hi, just another question.
In socket.io documentation seems to be possible to emit message only for users join to a specific room. In dart server side I can join a user to a room by:
client.join(room);
but emit with this code:
io.in(room).emit('message', 'what is going on, party people?');
Doesn't work. What's wrong?

FYI: https://github.com/rikulo/socket.io-dart/blob/master/lib/src/server.dart#L386
For example,
server.to(room).emit('message', 'what is going on, party people?');

Fine!

I am trying to start the server with websocket but I get the address <IP_ADDRESS>:3000
Is there something I am doing wrong?
import 'package:socket_io/socket_io.dart';

void main() {
  // Dart server
  var io = Server();
  io.on('connection', (client) {
    final headers = client.handshake['headers'];
    headers.forEach((k, v) => print('$k => $v'));

    print('connection default namespace');
    client.on('msg', (data) {
      print('data from default => $data');
      client.emit('fromServer', '$data');
    });
  });
  io.listen(3000);
}

PS D:\Applications\server> dart .\bin\server.dart
2020-06-05 11:34:36.532261:stream:0
INFO: Rikulo Stream Server 2.5.0 starting on <IP_ADDRESS>:3000

Yes, it's expected as localhost.


custom_components.json not updated

Describe the bug
in custom_components.json the version is still 1.3.1
I think the update script is not working because of this.
Thanks
Jan

Custom components was deprecated. Use HACS instead.


Loaded evidence items pre-sorted by trust rating.

This may be the most desirable initial sorting. Another alternative is level, but I think trust is more useful right now.

Malachi's issue is the same.


Non sorted objects produce wrong result

If keys your objects are not sorted the same way the output will be wrong e.g. I switched handle and last from the last object.
const dataObjects = [
  {
    number: 1,
    first: 'Mark',
    last: 'Otto',
    handle: '@mdo',
  },
  {
    number: 2,
    first: 'Jacob',
    last: 'Thornton',
    handle: '@fat',
  },
  {
    number: 3,
    first: 'Larry',
    handle: '@twitter',
    last: 'the Bird',
  },

It outputs:
number,first,last,handle
1,Mark,Otto,@mdo
2,Jacob,Thornton,@fat
3,Larry,@twitter,the Bird

But it should be
number,first,last,handle
1,Mark,Otto,@mdo
2,Jacob,Thornton,@fat
3,Larry,the Bird,@twitter

I'll take a look at it asap.
Contributions are welcome 👍

wake up bro


Build a deleteProduct method for /products API

Resolved by pull request https://github.com/UMM-CSci-3601-S22/it-1-bletchley-park/pull/49


Js links

Adding the JS, HTML, and jQuery changes from this branch

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


[Issue] Response of Image List should Include User Belong Project's Image and Public Image

In GitLab by @wknet123 on Sep 13, 2017, 17:24

In GitLab by @yhua123 on Nov 8, 2019, 07:36
LGTM

In GitLab by @sokril on Nov 8, 2019, 08:09
closed

In GitLab by @sokril on Nov 8, 2019, 08:09
assigned to @luotian-github


Option to require only needed lookups

Hi!
I was playing with derailed_benchmarks to benchmark the memory usage of my app and I realized geocoder is one of the most mem-consuming gems in my bundle. This is the derailed output, cut off at 0.8MiB.
geocoder: 5.9883 MiB
  geocoder/lookup: 5.1445 MiB
    geocoder/lookups/maxmind: 1.4063 MiB
      csv: 1.2539 MiB

The reason for such a footprint is that geocoder is requiring any possible lookup method, even if the app will not use it. I was thinking in a way to require only the lookup methods I was actually going to use, and I found they are hardcoded in Geocoder::Lookup.
Do you think reopening that module and changing street_services and ip_services is the way to go? Any better idea? Will it actually work? If so, would you accept a PR that adds this feature as a configuration option?
Thanks!

Hmm...I just checked out derailed_benchmarks and I get the following (similar on multiple projects):
geocoder: 1.3203 MiB
  geocoder/lookup: 1.2578 MiB
    geocoder/lookups/maxmind: 0.3828 MiB
      csv: 0.332 MiB

Nevertheless, thanks for this, and I am interested in keeping Geocoder's memory use low. It used to be that only the configured lookups would be loaded, but for performance and usability reasons that was changed a couple of years ago. If you can describe your solution in a little more detail (what do you mean by "reopening" Geocoder::Lookup?) I'm open to discussion, but I don't want to lose the performance and usability benefits of loading all the lookups on init. Keep in mind that lookups may not all be specified at load time but selected and configured while the app is running.

Thanks for the fast response. Actually, I'm seeing varying outputs for derailed_benchmarks depending on the CUT_OFF value, the project or at each execution of the command on the same project ... for the latter, I see values ranging from 6MiB to 2.8MiB. I don't know why is that.
Anyway, I still think adding the ability to selectively load lookups should improve the memory footprint. I was thinking in a configuration option for Geocoder with the list of the street_services and ip_services enabled, that would default to the lists now hardcoded here.
Roughly sketched and without knowing the internals of Geocoder, that's what I thought:
# config/initializers/geocoder.rb
Geocoder.configure(
  street_services_enabled: [:google, :bing, :mapquest],
  ip_services_enabled: [baidu_ip, :freegeoip]
)

And in `Lookup``
# lib/geocoder/lookup.rb
module Geocoder
  module Lookup
    def street_services
      @street_services ||= Geocoder.config.street_services_enabled
    end

    def ip_services
      @ip_services ||= Geocoder.config.ip_services_enabled
    end
  end
end

# lib/geocoder/configuration.rb
module Geocoder
   class Configuration
      # modify OPTIONS constant

      # move defaults from lookup.rb to a default here
      def set_defaults
         # ...
         @data[:street_services_enabled] = [:dstk, :esri, :google, ...]
         @data[:ip_services_enabled] = [:baidu_ip, :freegeoip, ...]
      end
   end
end

That way, Geocoder::Lookup.all_services will have a restricted set of lookups, and only those would be required here, thus reducing required classes.
Does any of this make sense?

By the way, Geocoder used to require lookups only as needed. That changed with #305. (cc @TrangPham)

@dgilperez Thanks for bringing this up!
We have reverted to the old method of requiring the lookups upon their usage.
After the changes I am seeing:
geocoder: 1.1484 MiB
geocoder/request: 0.4648 MiB
rack/request: 0.4453 MiB
rack/utils: 0.3398 MiB
geocoder/lookup: 0.3672 MiB
:dancer:


aws pipeline was waiting forever for versioned terraform.tfstate

I kicked off aws pipeline and found that it just waited indefinitely. The way I finally got it to kickoff was to submit blank terraform.tfstate file to bucket.

So I see there is a bootstrap terraform job, so supposed this is not needed, maybe just called out in documentation.

Thanks @cxhercules, we've prioritised this issue.

Thanks @cxhercules we've updated the documentation to include what you've suggested: https://github.com/pivotal-cf/pcf-pipelines/tree/master/install-pcf/aws#error.


feat: LEAP-1454: Custom action buttons in LSF

Introducing custom action buttons for LSF to allow additional actions, controlled from outside of editor. Provided buttons will completely replace the internal ones, but there is a way to reuse buttons you need, just add the button with internal name and no extra params.
TODO: Add example
Custom buttons need to behave similarly to internal ones, so we are using flags and additional checks. They will call the same event handleCustomButton(button_name) so external app will handle customButton event with store, button_name, options params.
Also new types for global MST stores are introduced in a draft state with intention to expand them with more props and methods so they can be used in other TypeScript code, which currently uses any for any MST stuff.
PR fulfills these requirements

[ ] Tests for the changes have been added/updated (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[x] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[x] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)

[x] Product design
[ ] Backend (Database)
[ ] Backend (API)
[x] Frontend

Describe the reason for change
We need to introduce new buttons in LSE and instead of creating another "hidden" buttons in LSF we create a way to use any button you need.
What alternative approaches were there?
Hardcode new buttons in LSF and display them by one more interface.
What feature flags were used to cover this change?
None. That's addition and will be used only if specific props are passed in.
Does this PR introduce a breaking change?

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[x] No
[ ] Not sure (briefly explain the situation below)

What level of testing was included in the change?

[ ] e2e
[ ] integration
[ ] unit

/git merge


Can't draw elevated terrain

Using firefox latest public release.
Foundry v10 latest stable
I have perfect vision as a module active and a bunch of others (levels, wall height,...) but I think the error messages points to some issue with perfect vision or the hooks rendering the toolbar.
TypeError: Error thrown in hooked function 'renderElevationLayerSubControls' for hook 'renderTerrainLayerToolBar'. canvas.elevation.toolbar is undefined
[Detected 1 package: elevatedvision]
    renderElevationLayerSubControls http://localhost:30000/modules/elevatedvision/scripts/controls.js:127
    #call http://localhost:30000/scripts/foundry.js:724
    callAll http://localhost:30000/scripts/foundry.js:681
    _render http://localhost:30000/scripts/foundry.js:5153
foundry.js:747:30
    onError foundry.js:747
    call_wrapped libWrapper-wrapper.js:507
    <anonym> listeners.js:135
    onError#0 libWrapper-wrapper.js:187
    #call foundry.js:728
    callAll foundry.js:681
    _render foundry.js:5153

Uncaught (in promise)
Exception { name: "NS_ERROR_FAILURE", message: "", result:<PHONE_NUMBER>, filename: "http://localhost:30000/modules/elevatedvision/scripts/perfect-vision/extract-pixels.js", lineNumber: 99, columnNumber: 0, data: null, stack: "pixelsToCanvas@http://localhost:30000/modules/elevatedvision/scripts/perfect-vision/extract-pixels.js:99:31\n_extractElevationImageData@http://localhost:30000/modules/elevatedvision/scripts/ElevationLayer.js:558:41\ndownloadElevationData@http://localhost:30000/modules/elevatedvision/scripts/ElevationLayer.js:628:32\nonClick@http://localhost:30000/modules/elevatedvision/scripts/controls.js:95:28\n_onClickTool@http://localhost:30000/scripts/foundry.js:67697:52\ninit/SceneControls.prototype._onClickTool@http://localhost:30000/modules/monks-wall-enhancement/monks-wall-enhancement.js:122:33\ndispatch@http://localhost:30000/scripts/jquery.min.js:2:43064\nadd/y.handle@http://localhost:30000/scripts/jquery.min.js:2:41048\n" }
extract-pixels.js:99
    downloadElevationData http://localhost:30000/modules/elevatedvision/scripts/ElevationLayer.js:629
    AsyncFunctionThrow self-hosted:814
    (Async: async)
    onClick http://localhost:30000/modules/elevatedvision/scripts/controls.js:95
    _onClickTool http://localhost:30000/scripts/foundry.js:67697
    _onClickTool http://localhost:30000/modules/monks-wall-enhancement/monks-wall-enhancement.js:122
    <anonym> self-hosted:1359
    jQuery 2

Additional warnings are rolling in the console.log:
WebGL warning: drawElementsInstanced: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0: Attachment has no width or height.
WebGL warning: drawElementsInstanced: Framebuffer must be complete.

Image dimensions in foundry: 13788 x 18336 because of silly 20ft grid scale on the background image
Image dimension: 3447 x 4584

Should be fixed in v0.4.0. The issue is almost certainly the size of the canvas dimensions. Version 0.4.0 deals with this by limiting the resolution of the underlying elevation data.

Thank you very much for fixing this issue. It works now reliably.


Adds parameter information to ApiExplorer

This change makes ApiDescription and ApiParameterDescription aware of all
of the new features we built into model binding for enhanced DTO support
(uber-binding).
The main change is that instead of sticking just to the declared
parameters on the action itself, we now traverse model metadata and break
the parameters down based on their logical data source.
This means that a model like the below will yield 3 parameters:
public class ProductChangeCommandDTO
{
    public int Id { get; set; }

    [FromBody]
    public ProductDetails Changes { get; set; }

    [FromQuery]
    public string AdminComments { get; set; }

    [FromServices]
    public IProductRepository Repository { get; set; }
}

The 'Repository' will be hidden, as it's not related to user input.
Additionally, we treat different sources differently. In the
above example, 'Changes' is from the body and will be treated as a
leaf-node.
However if you use nested DTOs that are bound from the query string (using
[FromQuery]) or similar, we'll recursively explore to find as much
structure as possible.
This information is combined with data from the route template to give a
much more complete picture than we ever could in the past for parameters,
especially when DTO/Command pattern is used.

Note that this PR has the design tag
What's missing:

Doc comments
Functional tests (current tests are passing, need to add more)
Updates to the sample

@harshgMSFT updated - now with functional tests.
Note that there are already really complete tests for the route-info part of the parameter data. I had to update a few things based on our decisions today.

Looks close to done .. :watch:  on couple of tests and minor comments.

Already added ApiExplorer_ThrowsForContentionalRouting

my bad .. didn't see that somehow, :shipit: after  fixing minor comments in tests.

pushed an update addressing minor stuff. Going to rebase on release and push there


Results are being displayed in 2 tables

Issue Type: Bug
Azure Data Studio Version: 1.3.9
Open a new query window connected to a DB, and run a single SQL select command to display data from one database table.
The "Results" window has 2 tables showing the same data.
Rerunning the query a second time fixes the issue and I see only one table in the "Results" window.
Azure Data Studio version: azuredatastudio 1.3.9 (cacf0777c747046af6839de3688d709b10ef9fca, 2019-01-14T23:30:09.442Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (8 x 3392)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.81GB (14.08GB free)

Process Argv
C:\Program Files\Azure Data Studio\azuredatastudio.exe

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

agent
Mic
0.35.2

profiler
Mic
0.5.1

server-report
Mic
0.1.3

sql-search
Red
0.2.1

(1 theme extensions excluded)

Most likely, running the query for second time doesn't fix the issue.

This is fixed in the master (and the latest insiders builds) and the fix will be included in the Feb release planned for this week.


add cloudflare_api_shield resource

This PR requires<EMAIL_ADDRESS>to merge. It will be angry until then. I'll wait for dependabot to do its thing then i'll rebase.

v0.49.0 landed here yesterday; bumping your branch in case it was cut prior to the merge.

acceptance tests are looking good!
TF_ACC=1 go test $(go list ./...) -v -run "^TestAccAPIShield_" -count 1 -parallel 1 -timeout 120m -parallel 1
?       github.com/cloudflare/terraform-provider-cloudflare     [no test files]
=== RUN   TestAccAPIShield_Basic
--- PASS: TestAccAPIShield_Basic (9.35s)
PASS
ok      github.com/cloudflare/terraform-provider-cloudflare/internal/provider   10.118s
?       github.com/cloudflare/terraform-provider-cloudflare/tools/cmd/changelog-check   [no test files]
?       github.com/cloudflare/terraform-provider-cloudflare/tools/cmd/maintainer-only-file-check        [no test files]
?       github.com/cloudflare/terraform-provider-cloudflare/tools/cmd/tf-log-check      [no test files]
?       github.com/cloudflare/terraform-provider-cloudflare/version     [no test files]


Add note in README: trick to open NERDTree as a window on startup.

Update README file, add directives to open NERDTree as a window automatically when vim starts up on opening a directory. Which can prevent NERDTree from hiding when first file selected as issue #494 pointed out.

@ggicci, It looks like this PR is a continuation of #627, which you closed. Did you know you can continue committing to your branch, and the pull request will get those changes as well?

This is very similar to, and better than, another tip in the README. Go ahead and remove this one while you're at it.
---
> How can I open NERDTree on startup, and have my cursor start in the other window?

Stick this in your vimrc:

    autocmd vimenter * NERDTree
    autocmd vimenter * wincmd p

 *via [stackoverflow/Yohann](http://stackoverflow.com/questions/4277808/nerdtree-auto-focus-to-file-when-opened-in-new-tab/19330023#19330023)*

Thank you @ggicci !!!


UCSD Baseline Results Transformation

Story
As UCSD, so that our EHR can ingest results messages from ReportStream, I need a variety of fields removed, modified, or swapped based on our technical scoping research.
Pre-conditions

These transformations should only be applied to either UCSD or CDPH.
The transformations have been implemented in the RS staging environment

Acceptance Criteria

[ ] Result messages delivered to UCSD are transformed based on https://docs.google.com/spreadsheets/d/1E7-ARoZ7Eb_8-N25XT3Fb77aybmsHHrD/edit#gid=1250549121

Tasks
Research

[ ] Update CA results spreadsheet to include which transformation are specific to UCSD and which are potentially needed by additional CA hospitals receiving CDPH ORUs. (also a task in #955)

Engineering

[ ] Transformation Engine

[ ] Design diagram

[ ] Update RS configuration to add/remove the appropriate fields:

[ ] MSH-4

[ ] Update sending facility to reflect value of CDPH

[ ] MSH-5
[ ] MSH-6
[ ] MSH-9
[ ] PID-3
[ ] PID-5
[ ] ORC-2
[ ] OBR-2
[ ] ORC-4

[ ] Deploy configuration changes to ReportStream staging
[ ] Merge PR to main

Definition of Done

[ ] Documentation tasks completed

[ ] Documentation and diagrams created or updated

[ ] Implementation guide (/ig folder)
[ ] ADRs (/adr folder)
[ ] Main README.md
[ ] Other READMEs in the repo
[ ] If applicable, update the ReportStream Setup section in README.md

[ ] Threat model updated
[ ] API documentation updated

[ ] Code quality tasks completed

[ ] Code refactored for clarity and no design/technical debt
[ ] Adhere to separation of concerns; code is not tightly coupled, especially to 3rd party dependencies
[ ] Code is reviewed or developed by pair; 1 approval is needed but consider requiring an outside-the-pair reviewer
[ ] Code quality checks passed

[ ] Security & Privacy tasks completed

[ ] Security & privacy gates passed

[ ] Testing tasks completed

[ ] Load tests passed
[ ] Unit test coverage of our code >= 90%

[ ] Build & Deploy tasks completed

[ ] Build process updated
[ ] API(s) are versioned
[ ] Feature toggles created and/or deleted.  Document the feature toggle
[ ] Source code is merged to the main branch

Research Questions

Optional: Any initial questions for research

Decisions

Optional: Any decisions we've made while working on this story

Notes

Optional: Any reference material or thoughts we may need for later reference

Note: For MSH-9.3, if we find this is problematic (because RS keys on this value), then we may need a new story to capture that specific transformation.

MSH-9: Maps to MessageHeader.eventCoding, example:
"eventCoding": {
          "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
          "code": "R01",
          "display": "ORU^R01^ORU_R01"
}

I believe trimming out the last segment of the display string will satisfy the transformation requirements.

PID-3: Maps to Patient.identifier. Inside it, there's type and assigner objects which seem to match the elements we want to remove.

PID-5: Maps to Patient.name. This is a HumanName object, in which PID-5.7 is mapped to use. Stripping that out should handle the requirement.

Moved pending refactoring tasks to story #1109

Load test is currently failing, we will address this issue in a separate ticket.

Load test is currently failing, we will address this issue in a separate ticket.

Specifically, that's #1121


IGDM

igdm is not letting me log in it is saying Instagram call check point for this action can someone help?

igdm not opening


feat: import everything from the module. "::*" Support

Feature Request
Describe the Feature Request

Enable importing everything from module using "::*".
Describe Preferred Solution

In the module were such import is used I get access to all items inside imported module.
Describe Alternatives

Related Code

use some::module::*;
Additional Context

My assumption would be changes in us.rs::priv_use_semantic_data to return array of resolved_item and consequently resolve_generic_path shall also return an array. In resolver on * segment we get all importable items from the module using db.module_items(? maybe some filtration needed). Add ast::UsePath::Glob and so on
If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[x] Yes
[ ] No

We decided we don't want this for now. It makes it harder for the reader to understand what actually is used in a module.
We have use grouping with use x::{a,b,c}, and hopefully we will have good language server support for auto import.

Hmm, if there will be good language server support, then perhaps grouping (or nesting as that's the word used frequently also) is also unnecessary? See how well Java works without it.
Though Java has wildcards which are helpful if you have like hundreds of Enum cases to import in a lexer or something.


Missing tests for parser class

we need tests for class Parser which is located in /validator/__parser__/parser.py file
FYI: Translator class can take arguments as follows
from validator import rules as R

rules = {'mail' : 'required|mail'}
rules = {'mail' : [required', 'mail]}
rules = {'mail' : [R.Required, R.Mail]}
rules = {'mail' : [R.Required(), R.Mail()]}

# If value has one rule it can be used without indicating as array
rules = {'name' : R.Required()}
rules = {'name' : R.Required}

Also, please test with multiple type of rules and multiple values to check
rules = {'name' : [R.Required, 'mail'],
         'mail': R.Mail,
         'age': R.Between(10,30)}

Also, lets use same PR to fix tests/ package we just need to initialize it's parser and rules subdirectories as packages.
just add __init__.py file in both directories. It should be empty file. you can see example int tests/__init__.py


Not working now !

I tried as you said in master readme but it added commits to my repo but not in contribution graph

How it stops it just running running . ctrl+c or else ?

its taking some time but its working now


fix: Added transition on hover

Added the smoothness on hover by adding transition on hover for all the elements.
Issue #106

Hi @UjjawalGu kindly fix the conflicts. Thanks.


Feature/aql subquery execution block impl execute implementation expected number of rows

Internal performance optimization in Aql.
Governed by existing tests, no changes from User Perspective.
Jenkins:
http://jenkins.arangodb.biz:8080/job/arangodb-matrix-pr/9050/
( All blue)
Internal Note:
This will reactivate the Expected number of output rows to avoid over allocation of blocks.

@markuspf yes and yes.


Want to use 2 separate button

How can I use two different buttons to take pictures and record videos separately?
Hope your help
Thanks

You would not want to use to SwiftyCamButtons. I would suggest you use to custom buttons, one that calls takePhoto(), and one that will startRecording and stopRecording


Ignoring embedded UI test

This test has problems:

it takes too long (it never completes in my local env)
it leaves .trustify dirs behind
it shells out to a binary
it uses a hardcoded port
it makes requests of URL's that don't exist
it's not clear that it affirms the fix for #422

I recommend it be moved beneath server/ and refactored to use TestRequest.

it takes too long :heavy_check_mark:  -- true -- (it never completes in my local env)  -- That is probably due the arbitrary time then

it leaves .trustify dirs behind -- :man_facepalming: probably needs another delete at the end

it shells out to a binary :heavy_check_mark:

it uses a hardcoded port :heavy_check_mark:  yeah not the best option in the planet but we need something diff than 8080

it makes requests of URL's that don't exist -- I'm not following that part

it's not clear that it affirms the fix for https://github.com/trustification/trustify/issues/422 :heavy_check_mark: -- yeah the test was based on this https://github.com/trustification/trustify/issues/426 issue

I recommend it be moved beneath server/ and refactored to use TestRequest.

That is a mock server
https://github.com/helio-frota/trustify/blob/dea876a7f0d838ea121a4e112156bd7de29ea5ee/modules/ui/src/endpoints.rs#L28
I think I'm not using TestRequest correctly then, because it says /foobar returns status-code 200
https://github.com/trustification/trustify/pull/429/files#r1644637254

it leaves .trustify dirs behind -- 🤦♂ probably needs another delete at the end

No.  Better to design your tests so that no filesystem is required, if possible.

it makes requests of URL's that don't exist -- I'm not following that part

Try it with curl/wget/httpie in a shell. Try all the URL's in your tests:

http://localhost:8080/sboms
http://localhost:8080/packages
http://localhost:8080/importers
http://localhost:8080/vulnerabilities
http://localhost:8080/foobar
http://localhost:8080/oooo

You'll see that all of those url's all return the exact same thing: a blob of javascript.
But if you try these, you'll get different results:

http://localhost:8080/api/v1/advisory
http://localhost:8080/graphql/

And this is due to the way we configure our routes, which is critically important knowledge for you as this test's author.

it's not clear that it affirms the fix for UI broken since GraphQL was merged #422 ✔ -- yeah the test was based on this Add a test ensuring the embedded UI works #426 issue

I'm pretty sure #426 fell out of #422, but you can confirm that with @ctron

Updated: ~That is a mock server~ https://github.com/helio-frota/trustify/blob/dea876a7f0d838ea121a4e112156bd7de29ea5ee/modules/ui/src/endpoints.rs#L28

I know. And it grok's Actix route configuration. You should be able to affirm our configuration with it.

I think I'm not using TestRequest correctly then, because it says /foobar returns status-code 200 https://github.com/trustification/trustify/pull/429/files#r1644637254

See my above comment to understand why that is.
Do this: create a failing test with TestRequest. Revert #423 in your local environment and convince yourself that the bug exists, both by manually trying it in a browser and a shell, and then automatically with a unit test using TestRequest. Once you have that failing, restore the fix (#423) in your local environment. Your test should now pass. If it doesn't, you did something wrong.

You'll see that all of those url's all return the exact same thing: a blob of javascript.

But if you try these, you'll get different results:

http://localhost:8080/api/v1/advisory
http://localhost:8080/graphql/
And this is due to the way we [configure our routes](https://github.com/trustification/trustify/blob/773e957153100ddfea186a1b2e00b7be47054749/server/src/lib.rs#L264-L301), which is critically important knowledge for you as this test's author.

When I started the test I was thinking (and continued) on the literal part embedded UI works the ui-crate.
thanks for the extra info :+1: