fix(test): replace Docker by Podman within (integration) test docs

How to categorize this PR?
/kind test
/area os
/os garden-linux
What this PR does / why we need it:
Replace deprecated Docker commands by Podman.
Release note:
NONE

The same change are in https://github.com/gardenlinux/gardenlinux/pull/752

closing (DUP)


Wrong error with react-i18next

I use react-i18next for i18n function. It shows errors like this
<Text>{t('sign-in-screen.sign-in')}</Text>
//          ^ Text string "'sign-in-screen.sign-in'" must be rendered within a <Text> component

This should be a valid case

Update the extension, must've been fixed, lmk.


Upgrade to latest sql client

@aderderian can you merge this and invite @jptissot to the repo.
He will probably want to look at it, to understand how the dynamic migrations can be integrated into GraphQL.
Ta


chore(main): release 1.0.5

:robot: I have created a release beep boop
1.0.5 (2024-05-10)
Bug Fixes

update to devcontainer-base 1.0.8 (07e36bf)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/whynotea/devcontainer-golang/releases/tag/v1.0.5 :sunflower:


Different env file per Environment

How can I use different .env file per environment like for database configuration and the other configuration. Example : .env.development, .env.testing, .env.production.

Managed to find a solution find changing the StoreBuilder/make with the following code:
`/**
* Creates a new store instance.
*
* @return \Dotenv\Store\StoreInterface
*/
public function make()
{
$file = '.env';
if(defined('ENVIRONMENT')){
$file = '.env.'.ENVIRONMENT;
}
    return new FileStore(
        Paths::filePaths($this->paths, $this->names === null ? [$file] : $this->names),
        $this->shortCircuit
    );
}`

This is useful for CI/CD with Docker Integration

The store builder will be final in v5, and cannot be edited or extended. You should not need to edit or extend any classes of phpdotenv to customise things. The codebase was specifically designed to be compositional.


Nami wallet > conflict with Metamask

Hi,
Lately Metamask could not connect to Dapps anymore.
I found out that if i disabled Nami wallet the problem was solved.
I tried enabling it again and there was a conflict again.
Using Chrome Version 100.0.4896.127 on MacOs

Talk to Cardano Dev on the Live support page so that your issue can be looked into.

Have you able to resolve your issues?

Please provide your wallet address


Improve documentations

It is an ongoing task, we will continuously improve our documentations when further (external) need arise.


Additional System

Would you be able to add iOS as a platform to Daijisho, with TouchHLE available as a player?

I gave touchHLE a try and it doesn't seem like it supports launching games/apps from a frontend or adb session. Another hurdle it requires ipa files to be placed in a directory where Daijishou can't select:

Android\data\org.touchhle.android\files\touchHLE_apps\

As of this time, no, you can't make it as a selectable platform/player


Fixed #10969: generator migration tool not works with decimal params …

#10969

Looks good.
Could you add a test with the following fields declaration: id,address,address2,email1 to ensure that negative lookahead in the regular expression works as expected

@s1lver done! https://github.com/yiisoft/yii2/pull/10972/files#diff-33f8821d6bc8dc452d832a461508c6ddR310

Thank you!


test against java 8 and 11 for each scala version on CI

Codecov Report

Merging #113 (490ed6f) into master (0d90b22) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #113   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           41        41
=========================================
  Hits            41        41

Continue to review full report at Codecov.

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


Pmcb/updated generator deps and common

Updated versions of:

The Artifact Generator.
The Inrupt namespace has moved over to the w3id.org PURL service.
The JavaScript Vocab Term library (that provides access to term types now).
Major version bump on the generated JS artifacts.
Lots more 'common' RDF vocabs added.

Changing the inrupt namespace is a breaking change. Are there any consumers of these vocabularies, and if so have they been made aware of the nature of the change (as I don't see a version bump in this PR)?

Hiya @NSeydoux - (I can't reply inline to your comment, so quoting above instead!).
Good spot, but yeah, there is a major version bump in the JS artifacts (to v2.0.0), but it was in a previous PR that didn't get released, so the latest versions on NPM are still at v1.5.0 (see here) - so I think we're good.
The published Java artifacts are still below v1, and are on a SNAPSHOTs (and I'm not aware of anyone using them anyways), so I think we're good there too.


Compatibility with mods that modify locations/map

https://www.nexusmods.com/stardewvalley/mods/1149
https://www.nexusmods.com/stardewvalley/mods/1317
https://www.nexusmods.com/stardewvalley/mods/1531
https://www.nexusmods.com/stardewvalley/mods/130
https://www.nexusmods.com/stardewvalley/mods/1504
For maps, would probably have to work with mod author to come up with a modified map that works for both, although we will have to control Mod loading order with SMAPI (not implemented).
For locations... probably #17

I've got a new idea to circumvent this and I don't really want to bother with more tedious non-code work with the map page


Missing File

I was trying to run Dataloader for MICCAI BraTS 2020 Dataset but I am getting the following error that MICCAI_BraTS2020_TrainingData/Grade/val_fold_1.csv is missing.

Thanks for bringing out the issue. I've uploaded the data split csv files at: https://github.com/weinajin/multimodal_explanation/tree/main/data/brats2020/MICCAI_BraTS2020_TrainingData/Grade
Please let me know if you have any further errors. Thank you very much!


Add support for [hidden] to md-button

Do you want to request a feature or report a bug?
feature
What is the current behavior?
[hidden] is ignored in both anchor and button mode.
If the current behavior is a bug,
please provide steps to reproduce and if possible a minimal demo of the problem:
http://plnkr.co/edit/ZULwBrp3fHLorUSedYrt?p=preview
What is the expected behavior?
Button should be hidden when expression evaluates to true.
What is the motivation / use case for changing the behavior?
Standard feature request.
Which version of Angular and Material, and which browser and OS does this issue affect?
Did this work in previous versions of Angular / Material?
Please also test with the latest stable and snapshot versions.
Chrome. "@angular2-material/button": "2.0.0-alpha.4",
Workaround
Custom CSS:

[hidden][md-button] {
  display: none;
}

I would like to fix that, by removing the display property on the button-base.

Normally the user-agent uses display: inline-block on the button by default, but I imagine, the display property was added intentionally.

We actually consider using the hidden property to be an anti-pattern due to its very poor implementation in browsers and want to recommend that devs either use ngIf or hide elements using a css class.
Kara actually blogged about this topic recently.
Alternatively, you could add
[hidden] {
  display: none !important;
}

to your own applications, which is similar to what Angular 1 did with ng-hide.

Good to know Jeremy. Thank you!

ngIf causes problems when trying to use ViewChild in the component class.


Make consistency check a decorator [close #6]

As discussed in #6.

Didn't I say somewhere that the CI is useless because it does exactly what our pre-commit hooks do... well. Found a way to get around those.


wuauserv cannot be enabled or started

Description
Using the default scripts to build the image for win2019, there appears to be a difference between the MS-hosted pool image and the one produced by the scripts.  When trying to enable wuauserv, the user does not have permissions.  Simply changing to the MS-hosted pool works immediately.
Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[X] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Image version in logs is "dev", but release label used to build the image was "win19/20211219.1"
Is it regression?
unknown
Expected behavior
##[debug]Entering Assert-SdtAtLeastOneServiceIsValid.
##[debug] ExpectedServices: 'System.Collections.Hashtable'
##[debug] MessageForServiceNotFound: 'Windows Update is required to download and install up-to-date Antimalware signatures.'
##[debug] MessageForServiceDisabled: 'If the group policy does not disable the service and the account this build is running under has admin privileges, you can check the "Enable Required Services for Windows Update if Disabled" checkbox in the build task UI to have the service enabled.'
##[debug] AllServices: 'True'
##[debug] Throw: 'True'
##[debug]Try getting service: wuauserv
##[debug]Found service: Windows Update (wuauserv), with Status: Stopped, StartType: Disabled
##[debug]Service Windows Update (wuauserv) is disabled
##[debug]Try enabling the Windows Update (wuauserv) service...
##[debug]Entering Set-SdtService.
##[debug] Service: 'System.ServiceProcess.ServiceController'
##[debug] StartupType: 'Manual'
##[debug]Leaving Set-SdtService.
##[debug]Starting the Windows Update (wuauserv) service...
##[debug]The Windows Update (wuauserv) service current Status: Running, StartType: Manual
##[debug]Leaving Assert-SdtAtLeastOneServiceIsValid.
Actual behavior
##[debug]Script stack trace:
##[debug]at Write-DteError, C:\a_tasks\AntiMalware_02f6ca63-3d4a-4c14-833a-737a4ab099dd\3.308.0\DevToolsEngine\Write-DteError.psm1: line 16
##[debug]at Write-DteMessage, C:\a_tasks\AntiMalware_02f6ca63-3d4a-4c14-833a-737a4ab099dd\3.308.0\DevToolsEngine\Write-DteMessage.psm1: line 28
##[debug]at Write-SdtAntiMalwareMessage, C:\a_tasks\AntiMalware_02f6ca63-3d4a-4c14-833a-737a4ab099dd\3.308.0\Assert-SdtAtLeastOneServiceIsValid.psm1: line 234
##[debug]at Assert-SdtAtLeastOneServiceIsValid, C:\a_tasks\AntiMalware_02f6ca63-3d4a-4c14-833a-737a4ab099dd\3.308.0\Assert-SdtAtLeastOneServiceIsValid.psm1: line 113
##[debug]at Invoke-SdtAntiMalware, C:\a_tasks\AntiMalware_02f6ca63-3d4a-4c14-833a-737a4ab099dd\3.308.0\SdtAntiMalware.psm1: line 171
##[debug]at , C:\a_tasks\AntiMalware_02f6ca63-3d4a-4c14-833a-737a4ab099dd\3.308.0\AntiMalwarePSV3.ps1: line 24
##[debug]at , : line 1
##[debug]at , : line 22
##[debug]at , : line 18
##[debug]at , : line 1
##[debug]Exception:
##[debug]Microsoft.PowerShell.Commands.WriteErrorException: If the group policy does not disable the service and the account this build is running under has admin privileges, you can check the "Enable Required Services for Windows Update if Disabled" checkbox in the build task UI to have the service enabled.
##[error]If the group policy does not disable the service and the account this build is running under has admin privileges, you can check the "Enable Required Services for Windows Update if Disabled" checkbox in the build task UI to have the service enabled.
##[debug]Processed: ##vso[task.logissue type=error]If the group policy does not disable the service and the account this build is running under has admin privileges, you can check the "Enable Required Services for Windows Update if Disabled" checkbox in the build task UI to have the service enabled.
Repro steps
Run a build against the default image/agent with the AntiMalware Scan Azure DevOps task.

Hi @lonevvolf
We will take a look at this.

@lonevvolf , Could you please provide the output of the whoami /groups command from a self-hosted agent?

Starting: CmdLine
==============================================================================
Task         : Command line
Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version      : 2.182.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
Script contents:
whoami /groups
========================== Starting Command Output ===========================
"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "C:\a\_temp\c8c1af35-c67d-4c03-8dcb-5b9b521bd1f8.cmd""

GROUP INFORMATION
-----------------

Group Name                                                    Type             SID                                           Attributes
============================================================= ================ ============================================= ==================================================
Everyone                                                      Well-known group S-1-1-0                                       Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\Local account and member of Administrators group Well-known group S-1-5-114                                     Group used for deny only
<machineprefix>-0000M5\VSTS_AgentService_G39071                      Alias            S-1-5-21-1965340077-819459311-2943365379-1004 Mandatory group, Enabled by default, Enabled group
BUILTIN\Administrators                                        Alias            S-1-5-32-544                                  Group used for deny only
BUILTIN\Users                                                 Alias            S-1-5-32-545                                  Mandatory group, Enabled by default, Enabled group
BUILTIN\Performance Log Users                                 Alias            S-1-5-32-559                                  Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\INTERACTIVE                                      Well-known group S-1-5-4                                       Mandatory group, Enabled by default, Enabled group
CONSOLE LOGON                                                 Well-known group S-1-2-1                                       Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\Authenticated Users                              Well-known group S-1-5-11                                      Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\This Organization                                Well-known group S-1-5-15                                      Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\Local account                                    Well-known group S-1-5-113                                     Mandatory group, Enabled by default, Enabled group
LOCAL                                                         Well-known group S-1-2-0                                       Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\NTLM Authentication                              Well-known group S-1-5-64-10                                   Mandatory group, Enabled by default, Enabled group
Mandatory Label\Medium Mandatory Level                        Label            S-1-16-8192
Finishing: CmdLine

@lonevvolf , I see Mandatory Label\Medium Mandatory Level UAC is enabled and you have limited token .
Configure VMs to run interactive tests (Windows Server OS Only) - Windows agents can either be configured to run unelevated with autologon and with interactive UI, or they can be configured to run with elevated permissions. Check this box to run unelevated with interactive UI. In either case, the agent user is a member of the Administrators group.

Do you mean to say that we cannot mix interactive tests with the malware scans?  This is working on the MS-hosted pipelines.

Yes.
On Mon, Jan 10, 2022 at 2:08 PM lonevvolf @.***> wrote:

Do you mean to say that we cannot mix interactive tests with the malware
scans? This is working on the MS-hosted pipelines.
—
Reply to this email directly, view it on GitHub
https://github.com/actions/virtual-environments/issues/4821#issuecomment-1008646140,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXFGVRH5VRSEANE3LRKKPU3UVKLGRANCNFSM5LBA4Y6A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

How can we have the same behavior as with MS-hosted pipelines?

Well it depends on the system's capacity. And the behavior of the system
itself.
On Mon, Jan 10, 2022 at 2:24 PM lonevvolf @.***> wrote:

How can we have the same behavior as with MS-hosted pipelines?
—
Reply to this email directly, view it on GitHub
https://github.com/actions/virtual-environments/issues/4821#issuecomment-1008658003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXFGVRELM36U5XGPWWEBOILUVKNC5ANCNFSM5LBA4Y6A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

@akvelon https://github.com/akvelon Can u help me in this issue?
On Mon, Jan 10, 2022 at 2:26 PM Freddy Fazbear @.***> wrote:

Well it depends on the system's capacity. And the behavior of the system
itself.
On Mon, Jan 10, 2022 at 2:24 PM lonevvolf @.***>
wrote:

How can we have the same behavior as with MS-hosted pipelines?
—
Reply to this email directly, view it on GitHub
https://github.com/actions/virtual-environments/issues/4821#issuecomment-1008658003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXFGVRELM36U5XGPWWEBOILUVKNC5ANCNFSM5LBA4Y6A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Apologies, I don't follow what is meant here by capacity or system behavior.
We are using the MS-provided scripts to build the system image.  They claim these are the same scripts used to build the MS-hosted images, yet they are exhibiting different behavior.  How can we align our image to act the same as the official one?

Ok, so there is a image problem.
So know what you are going to do is simply re write the code or fix the system's way of thinking.

And can u also see what was the last error during this failure of the image?

So that we can have a idea of what caused the issue.

And can u also see what was the last error during this failure of the image?

The error is listed in the original report.

Ok so is there a pull request attached to this issue?

So that I can check the behaviour more quickly.

So then you have to configure it, for ignorer for it to work.

So do we have a team on standby for me to talk to and proceed further with this?

Do you mean to say that we cannot mix interactive tests with the malware scans? This is working on the MS-hosted pipelines.

This works on Hosted Agents, because the runner user has full token and an agent runs via script in the user session.

Yes

Do you mean to say that we cannot mix interactive tests with the malware scans? This is working on the MS-hosted pipelines.

This works on Hosted Agents, because the runner user has full token and an agent runs via script in the user session.

Is there a way to change the self-hosted behavior to the same without changing that checkbox?  Again, both interactive tests and the scanner tasks work on the MS-hosted without any changes, but not on self-hosted.

Because I need the last known error message from this lot.

And the repro steps aren't enough to start our work.

So now if @al-cheb Can send me the link to this it will be very helpful.

So, now based off of this I can tell that we have lot of work today 😄
And that we should take this very seriously.

Do you mean to say that we cannot mix interactive tests with the malware scans? This is working on the MS-hosted pipelines.

This works on Hosted Agents, because the runner user has full token and an agent runs via script in the user session.

Is there a way to change the self-hosted behavior to the same without changing that checkbox? Again, both interactive tests and the scanner tasks work on the MS-hosted without any changes, but not on self-hosted.

We don't use VMSS based pool, as I mentioned above we run an agent in the user session via task scheduler, that's why we don't have such configuration.

Why not?

Ok, so can we re configure the entire thing?
And start fresh?

Do you mean to say that we cannot mix interactive tests with the malware scans? This is working on the MS-hosted pipelines.

This works on Hosted Agents, because the runner user has full token and an agent runs via script in the user session.

Is there a way to change the self-hosted behavior to the same without changing that checkbox? Again, both interactive tests and the scanner tasks work on the MS-hosted without any changes, but not on self-hosted.

We don't use VMSS based pool, as I mentioned above we run an agent in the user session via task scheduler, that's why we don't have such configuration.

Why can we just re configure the entire thing?

@al-cheb why do u think?

Do you mean to say that we cannot mix interactive tests with the malware scans? This is working on the MS-hosted pipelines.

This works on Hosted Agents, because the runner user has full token and an agent runs via script in the user session.

Is there a way to change the self-hosted behavior to the same without changing that checkbox? Again, both interactive tests and the scanner tasks work on the MS-hosted without any changes, but not on self-hosted.

We don't use VMSS based pool, as I mentioned above we run an agent in the user session via task scheduler in interactive mode, that's why we don't have such configuration.

I don't really know why we do not have that configuration option but can we try to get get it back and start it again?

Sign in with the user account you plan to use in your Azure DevOps organization (https://dev.azure.com/{your_organization}).
From your home page, open your user settings, and then select Personal access tokens.
Go to your security details.
Create a personal access token.
For the scope select Agent Pools (read, manage) and make sure all the other boxes are cleared. If it's a deployment group agent, for the scope select Deployment group (read, manage) and make sure all the other boxes are cleared.
Select Show all scopes at the bottom of the Create a new personal access token window window to see the complete list of scopes.
Copy the token. You'll use this token when you configure the agent.

Steps to re configure.

@lonevvolf is this helpful?

And also this.

Select the scopes for this token to authorize for your specific tasks.
For example, to create a token to enable a build and release agent to authenticate to Azure DevOps Services, limit your token's scope to Agent Pools (Read & manage). To read audit log events, and manage and delete streams, select Read Audit Log, and then select Create.

@freddy123098 I think a main reason for my confusion is you need to check your comment visibility - it looks like you are having internal conversations and I am seeing half of it.

@freddy123098 I think a main reason for my confusion is you need to check your comment visibility - it looks like you are having internal conversations and I am seeing half of it.

Oh oops I am very sorry for that part.

Since there seems to be some confusion based on the comments I have seen, I will just link to the MS article here which are following to setup the VMSS as an agent pool:
Create the scale set agent pool
Note that the agents are automatically provisioned - we have little to no control here over that part.

Since there seems to be some confusion based on the comments I have seen, I will just link to the MS article here which are following to setup the VMSS as an agent pool: Create the scale set agent pool
Note that the agents are automatically provisioned - we have little to no control here over that part.

In that case you have 2 options:

Uncheck Configure VMs to run interactive tests
Don't use VMSS  and  manually provision a self-hosted pool in the interactive mode

2. Don't use VMSS  and  manually provision a self-hosted pool in the interactive mode

If we were to do this, what would we configure differently to get the feature to work?

If we were to do this, what would we configure differently to get the feature to work?

Deploy a vm
Configure autologon
Install vsts agent in interactive mode(configure.cmd & run.cmd)
Run a build

BTW, option #1 is not an option for us due to:
Failure to get lock fails installation
(yes I realize it's a different team, just want to mention)
I guess in this case, the issue comes down to a difference in the implementation of agent pools in Azure DevOps between self- and MS-hosted.  A third option in our case would be to just enable wuauserv by default in the image, but I'm not sure how to do that yet.  Any tip would be greatly appreciated.  Otherwise, I guess you can close this issue.

BTW, option #1 is not an option for us due to: Failure to get lock fails installation (yes I realize it's a different team, just want to mention)
I guess in this case, the issue comes down to a difference in the implementation of agent pools in Azure DevOps between self- and MS-hosted. A third option in our case would be to just enable wuauserv by default in the image, but I'm not sure how to do that yet. Any tip would be greatly appreciated. Otherwise, I guess you can close this issue.

Failure to get lock fails installation <- As I understand this issue occurs at an agent installation time and not at the running build time.

We have intentionally disabled "Windows Updates" to prevent unexpected situations and by default wuauserv service is set to manual start mode. Maybe, CSE could help - https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops#customizing-virtual-machine-startup-via-the-custom-script-extension

Close as external.


⚠ Bofrost.be has degraded performance

In 814e1c5, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1220 ms

Resolved: Bofrost.be performance has improved in d69836c after 16 minutes.


Duty doesn't deal with interactive commands (like Invoke does)

After converting an invoke script to duty, I found that commands that asked for interaction didn't work as well (or at all).
Here's the simplest example that I could make:
@duty
def debug(c):
    c.run(f'touch /tmp/toto.txt')
    c.run(f'rm -i /tmp/toto.txt')

In this case, it still works but the prompt doesn't appear. In my original case, which calls certbot over ssh, which in itself asks for a prompt, it doesn't work at all.
Both cases work with Invoke.

OK, it works in both cases with capture=False.
Thanks for the help.
IMHO this illustrates the need to write down the differences (both in goals/scope and API details) with Invoke.
I'd also argue that Invoke works "out of the box" for this particular use case, though I don't know if there are important uses cases were capture=True bu default makes more sense.

Yep, working on some docs right now.
One of duty's goal is minimalist output, so capturing output is wanted in almost all cases. The exception is... interactive commands, which are, in my experience, rare enough in a task runner context :slightly_smiling_face:


1x1 Ellipses constructed with multiple arguments causes errors

When creating an Ellipse, it's often the case that MakerJs.path.distort() is called. If the ellipse's dimensions are 1x1 (i.e. a circle), the return null here will cause an error to bubble up when we pass null into the BezierCurve() constructor (here).
For our use-case, since we aren't also using EllipticArc models, it was enough to comment out that return null. But there should be a general way to not distort in the case of 1x1 ellipses.

Wow good catch, thanks for pointing this out. This was supposed to be an optimization, but now I see that it should actually return a clone in the 1x1 case.

Fixed in 0.9.45


helmsman: only build helmsman subPackage

Added myself as a maintainer and explicitly set the subPackages to only build helmsman. helmsman would otherwise try to build the following subPackages:
https://github.com/Praqma/helmsman/tree/dadf5fa910fb25e48b617cb71f7f380d53970ea1/internal
Removed the following from this PR based on the points raised in: https://github.com/NixOS/nixpkgs/pull/355293#issuecomment-2469960084

nix shell nixpkgs#helmsman would other fail to run:
helmsman --dry-run -f services.yml

 _          _
| |        | |
| |__   ___| |_ __ ___  ___ _ __ ___   __ _ _ __
| '_ \ / _ \ | '_ ` _ \/ __| '_ ` _ \ / _` | '_ \
| | | |  __/ | | | | | \__ \ | | | | | (_| | | | |
|_| |_|\___|_|_| |_| |_|___/_| |_| |_|\__,_|_| |_| version: v3.17.0
A Helm-Charts-as-Code tool.

2024-11-11 14:38:41 INFO: cmd.Start: exec: "helm": executable file not found in $PATH
2024-11-11 14:38:41 CRITICAL: While checking helm version: exec: "helm": executable file not found in $PATH

helmsman requires kubernetes-helm to be in the PATH for execution: https://github.com/Praqma/helmsman?tab=readme-ov-file#install Added myself as a maintainer and explicitly set the subPackages to only build helmsman.

NOTE: helm-diff is an option dependency, currently not include in the drv

The following changes result in helmsman running as expected:
./result/bin/helmsman --dry-run -f services.yml
 _          _
| |        | |
| |__   ___| |_ __ ___  ___ _ __ ___   __ _ _ __
| '_ \ / _ \ | '_ ` _ \/ __| '_ ` _ \ / _` | '_ \
| | | |  __/ | | | | | \__ \ | | | | | (_| | | | |
|_| |_|\___|_|_| |_| |_|___/_| |_| |_|\__,_|_| |_| version: v3.17.1
A Helm-Charts-as-Code tool.

2024-11-11 14:34:06 WARNING: helm diff not found, using kubectl diff
2024-11-11 14:34:06 INFO: validating environment variables in services.yml
2024-11-11 14:34:06 INFO: Parsed [[ services.yml ]] successfully and found [ 3 ] apps
2024-11-11 14:34:06 INFO: Validating desired state definition
2024-11-11 14:34:06 INFO: Setting up kubectl
2024-11-11 14:34:06 INFO: Setting up helm
2024-11-11 14:34:07 INFO: Setting up namespaces
2024-11-11 14:34:07 INFO: Namespace [ metrics-server ] created
2024-11-11 14:34:07 INFO: Namespace [ datadog ] created
2024-11-11 14:34:07 INFO: Namespace [ ingress-nginx ] created
2024-11-11 14:34:07 INFO: Getting chart information
...

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Please do not prefix PATH with kubernetes-helm, for the same reason in #144863 (comment), this will make it unable to use helm plugins, such as helm-diff.
You can instead use something like:
let
  my-helm = pkgs.wrapHelm pkgs.kubernetes-helm {
    plugins = with pkgs.kubernetes-helmPlugins; [
      helm-diff
    ];
  };
  my-helmsman = pkgs.runCommandNoCC "helmsman" { buildInputs = [ pkgs.makeWrapper ]; } ''
    makeWrapper ${pkgs.helmsman}/bin/helmsman $out/bin/helmsman \
      --prefix PATH : ${pkgs.lib.makeBinPath [ my-helm ]}
  '';
in
  my-helmsman

or simply install kubernetes-helm in $PATH.

Thanks @azuwis for point this out. Its too bad there isnt a better way to incorporate helm and its plugins in the PATH.
I fixed up the PR and the description to include the remaining changes.

ArchLinux and Homebrew both only build cmd/helmsman.


Client call returns [rest_no_route]

Hi,
my WordPress version is 4.5.2 with WooCommerce version 2.5.5 and I'm trying to make a call to the Rest API. I have installed and enabled the WordPress REST API (Version 2) and generated API Key for WooCommerce.
$woocommerce = new Client(
    'http://wp-rest-api.dev', // it's a local domain
    '...1235bd6', // consumer key
    '...ecb6412', // consumer secret
    [
        'wp_api' => true, // Enable the WP REST API integration
        'version' => 'wc/v1' // WooCommerce WP REST API version
    ]
);

and when I try to call an API endpoint, eg. products
$woocommerce->get('products');

I'm getting Error: No route was found matching the URL and request method [rest_no_route]
Can someone please point me on to the right direction.

I found where my problem is:
WooCommerce (WC) 2.6+ is fully integrated with the WordPress REST API...
That means I have to use the legacy v3 API as my WC version is < 2.6.x
Sorry, my bad.

Same error occurs on WC 2.6.4. Rest-API is enabled and:
curl -X OPTIONS https://my-host/wp-json/wc/v1/orders
works fine but the class doesn't work.


Catalog app, custom style does not get applied to modal content.

Describe the bug
Below component gets shown on modal/dialog.

open-choice
radio buttons
check boxes
But none of above mentioned component accepts custom style in modal.

To fix this issue below changes are required
In OptionSelectDialogFragment use MaterialAlertDialogBuilder and pass attribute which reference themeOverlay of MaterialAlertDialog.
Component
SDC library, Catalog app
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: [e.g. Pixel4a emulator]
Android version: [e.g. Settings -> About phone -> Android version]
Build number: [e.g. Settings -> About phone -> Build number]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.

#1026

#1019

the first thing to work out is if we want to provide a version of these widgets that are not in an modal dialog. @shelaghm @kevinmost until this is resolved i think this is blocked.
i think @shelaghm made an argument to not use modal dialogs for these widgets.

@jingtang10 @santosh-pingle @kevinmost
Yes, let's align on the use of modals for these widgets. My perspective is that the modal adds a step/click and that on small phones it can reduce the amount of choices we can display on the screen, so I recommend we move away from modals. Modals are great for decision dialogs, so we will likely want to still have a dialog/modal functionality, just not for this specific use case of choice selections. However, I don't know all the background of how we landed on modals, so feel free to chime in with other perspectives. What do you all think?
I imagine the default view for checkboxes / radio buttons would be something like this:

@juanchazo fyi


add cast_string_to_date as cross-db macro

This is a:

[ ] documentation update
[ ] bug fix with no breaking changes
[x] new functionality
[ ] a breaking change

All pull requests from community contributors should target the main branch (default).
Description & motivation

Checklist

[ ] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[ ] Redshift
[ ] Snowflake
[x] Oracle

[x] I followed guidelines to ensure that my changes will work on "non-core" adapters by:

[x] dispatching any new macro(s) so non-core adapters can also use them (e.g. the star() source)
[ ] using the limit_zero() macro in place of the literal string: limit 0
[ ] using dbt_utils.type_* macros instead of explicit datatypes (e.g. dbt_utils.type_timestamp() instead of TIMESTAMP

[ ] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have added an entry to CHANGELOG.md

Hi @algol68, thanks for suggesting this! I'm going to close it because we are currently pulling all cross-database macros out of dbt-utils, for definition in dbt Core and implementation in each adapter's codebase. See https://github.com/dbt-labs/dbt-utils/discussions/487 for more info on that.
If you wanted to open an issue against dbt Core, suggesting cast_string_to_date as a cross-db macro, then the Core team would be happy to triage and respond to that suggestion.
Something else to keep in mind for the future: all of dbt Labs' open source repositories require PRs to be associated with an issue, and ideally for that issue to have been triaged by a maintainer before contributors start work on an implementation. This helps avoid cases like this one where you've done work which we can't merge. See https://docs.getdbt.com/docs/contributing/oss-expectations for more context.


Check whether a React component contains another React component with Jest only

How to check if a component contains another component with Jest only?
Suppose,
My code Structure is  -
<Parent Component>           </Child Component> </Parent  Component>
I Want To Test Whether Child Component is present in Parent Component or Not.

I believe you could you the .children property of the parent element to test this.


Aeotec Z-stick 700: Strange characters displayed in controllers bootloader when upgrading

I got an Aeotec Z-stick 700 (with firmware v7.17.2) and tried updating to v7.18.1 (by using Aeotec download link from README). I followed both firmware update instructions, by using Docker container and running bash script from host, but after 10 seconds, when the controllers bootloader is displayed, I get strange characters continously in the command line. It's impossible to quit the process and I never see any menu with options.
Im running Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-56-generic x86_64) on Intel Nuc, and Im ssh into the machine when executing the commands.
With bash script (but similar with docker container)
> sudo bash zfw-update.sh

Welcome to minicom 2.8

OPTIONS: I18n
Port /dev/ttyUSB0

Press CTRL-A Z for help on special keys

Activating the controller's bootloader. It will appear in about 10 seconds...
9...
8...
2!$�.�21"ֵ�21"ֵ�21"ֵ�21"ֵ�s`
1"��s                                                    `
1"��s       `
1"��s       `
1"��s       `
1"���s      `
2�"u`   R��u`
1"گ7�u          `
1"گ7�u      `
1"گ7�u      `
2!$�1�``R�r``
1"���      `
1"���     `
1"���     `
1"���71   `
              ���71
                       ���71
                                ���71
                                         ���s
1"��s                                           `
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.8   VT102 | Offline | ttyUSB0

> echo $TERM
xterm-256color

Replacing print X and sleep X with sleep 10 did not have any effect.

Found similar issue on stackoverflow when using minicom through ssh. But not sure how to configure character tx delay, one of the replies suggests.

Hmm, I tried following the upgrade instructions on rpi3 (running raspberrian OS) from the official Aeotec docs, but I experienced the same issue with strange/rubbish characters. And that was the case when using ssh and running locally  from Terminal in rpi.
Could it be something with encryption key(s) on my Z-stick?

I also managed to set the character tx delay to 1 in minicom, as suggested in mentioned stackoverflow thread. But that did not solve the issue.

No, I made sure to exit the zwavejs2mqtt docker container, and Home Assistant before starting the upgrade instructions. And now I have moved the Z-stick to my rpi, which is clean installation of raspbian OS, without any service running that uses zwave controller

I finally managed to get rid of the rubbish characters and get the bootloader menu readable. Not exactly sure what I did that resolved the issue, but what happened on the last attempt was that I moved the Z-stick back to my Intel Nuc and started zwavejs2mqtt container. While the container where running I started the bash script and the issue where gone. I then stopped the zwavejs2mqtt container, uploaded the file and run the firmware. Now zwave-js UI shows v7.18.1. Closing the issue! Thanks for the hints during the debug session.

I am experiencing this same issue, but not on SSH. I am trying inside of Ubuntu.
When I launch the docker command, I see the countdown, but when the menu is supposed to pop up, I just get a blank screen with weird characters. I will also note that none of the control commands work. They just produce more strange characters. To exit, I have to close the window and docker stop the running container.

This seems like an encoding issue. I added these lines to the top of the script and then it worked.
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"

I then removed these lines and it still worked, so clearly there is some state hidden somewhere I am not aware of. Regardless, it worked, and I was able to complete the upgrade. I suggest others running into this issue try this out as well.


tgsend: Add option to disable weblink preview in message

Hi! $subj

Thank you anightshade !
Merged successfully.


Changes to Paramedic to include Jasmine Reproters for Junit Test Report

Changes to Paramedic to include Jasmine Reproters for Junit Test Report
@dblotsky @sgrebnov @riknoll @vladimir-kotikov Can you please review and merge this PR?

LGTM!

I also think we should rename savePath parameter to something more meaningful like reportSavePath

I've added a change on top of this to rename savePath to reportSavePath and changed implementation to pass this param only once when calling specReproters.initalize. @sarangan12, please contribute documentation update (Readme.md). Tested by passing absolute path for this param, please verify if relative path will work as well.
https://github.com/sgrebnov/cordova-paramedic/commit/51e264628472bd849c7f5dd56280be8e5281871a


Anyway to load the pretrained GPT-2 model weight to levenshtein transformer?

Hi,
I'm trying to use a small dataset (500 training examples) on levenshtein transformer to do text generation task. However, the loss maintains around 11. I think the dataset is too small, so I'm wondering if there is a way to load the pretrained GPT-2 weights to levenshtein transformer ?  Thanks.

I found a way to load pre-trained BERT models from huggingface API to fairseq transformers by substituting the name of parameters. However, since gpt2 has a different architecture from the standard transformer, my method doesn't work in this scenario. I suggest you use BERT models, or you have to modify the arch of Levenshtein transformer such that you can load gpt-2 for your tasks.

I found a way to load pre-trained BERT models from huggingface API to fairseq transformers by substituting the name of parameters. However, since gpt2 has a different architecture from the standard transformer, my method doesn't work in this scenario. I suggest you use BERT models, or you have to modify the arch of Levenshtein transformer such that you can load gpt-2 for your tasks.

excuse me, may I ask how to load the pretrained model in huggingface  to fairseq? I want to use the bert-base-chinese in huggingface and trained it with fairseq?

I found a way to load pre-trained BERT models from huggingface API to fairseq transformers by substituting the name of parameters. However, since gpt2 has a different architecture from the standard transformer, my method doesn't work in this scenario. I suggest you use BERT models, or you have to modify the arch of Levenshtein transformer such that you can load gpt-2 for your tasks.

excuse me, may I ask how to load the pretrained model in huggingface to fairseq? I want to use the bert-base-chinese in huggingface and trained it with fairseq?

Hi @ttzHome, here is my solution:
def __init__(self, args, encoder, decoder):
        super().__init__(encoder, decoder)
        self.args = args
        self.supports_align_args = True

       pretrained_model = BertModel.from_pretrained(pretrained_model_path)

       # encoder
       loaded_state_dict = upgrade_state_dict_with_pretrained_weights(
                state_dict=encoder.state_dict(),
                pretrained_model=pretrained_model,
            )
       encoder.load_state_dict(loaded_state_dict, strict=True)

      # decoder
      decoder_state_dict = decoder.state_dict()
      for k in decoder_state_dict.keys():
          if k not in loaded_state_dict:
              loaded_state_dict[k] = decoder_state_dict[k]

       decoder.load_state_dict(loaded_state_dict, strict=True)

def upgrade_state_dict_with_pretrained_weights(
    state_dict: Dict[str, Any], pretrained_model: BertModel,
) -> Dict[str, Any]:

    pretrained_state_dict = pretrained_model.state_dict()

    embed_ln = re.compile("LayerNorm\.(weight|bias)")
    self_attn = re.compile(r"layer\.(\d+)\.+attention.+((q)uery|(k)ey|(v)alue|(out)put\.dense|(output)\.LayerNorm)\.(weight|bias)")
    ffns = re.compile(r"layer\.(\d+)\.(intermediate|output)\.dense\.(weight|bias)")
    ffns_ln_p = re.compile(r"layer\.(\d+)\.output\.LayerNorm\.(weight|bias)")

    for key in pretrained_state_dict.keys():
        # print(key)
        if "embeddings" in key:
            if "word" in key:
                new_key = "embed_tokens.weight"
            elif "position" in key:
                new_key = 'embed_positions.weight'
            elif "type" in key:
                new_key = None
            else:
                fs_embed_ln = "layernorm_embedding.{}"
                new_key = fs_embed_ln.format(embed_ln.search(key).group(1))
        elif "attention" in key:
            # print(k)
            groups = self_attn.search(key).groups()
            fs_self_attn = "layers.{}.self_attn.{}_proj.{}"
            fs_self_attn_ln = "layers.{}.self_attn_layer_norm.{}"
            if "query" in key:
                # print(fs_self_attn.format(groups[0], groups[2], groups[-1]))
                new_key = fs_self_attn.format(groups[0], groups[2], groups[-1])
            elif "key" in key:
                # print(fs_self_attn.format(groups[0], groups[3], groups[-1]))
                new_key = fs_self_attn.format(groups[0], groups[3], groups[-1])
            elif "value" in key:
                # print(fs_self_attn.format(groups[0], groups[4], groups[-1]))
                new_key = fs_self_attn.format(groups[0], groups[4], groups[-1])
            elif "output.dense" in key:
                # print(fs_self_attn.format(groups[0], groups[5], groups[-1]))
                new_key = fs_self_attn.format(groups[0], groups[5], groups[-1])
            else:
                # print(fs_self_attn_ln.format(groups[0], groups[-1]))
                new_key = fs_self_attn_ln.format(groups[0], groups[-1])
        elif "dense" in key and "pooler" not in key:
            groups = ffns.search(key).groups()
            # print(groups)
            ffns_f1 = "layers.{}.fc1.{}"
            ffns_f2 = "layers.{}.fc2.{}"
            if "intermediate" in key:
                # print(ffns_f1.format(groups[0], groups[-1]))
                new_key = ffns_f1.format(groups[0], groups[-1])
            else:
                # print(ffns_f2.format(groups[0], groups[-1]))
                new_key = ffns_f2.format(groups[0], groups[-1])
        elif "LayerNorm" in key:
            # print(key)
            groups = ffns_ln_p.search(key).groups()
            ffns_ln = "layers.{}.final_layer_norm.{}"
            # print(groups)
            # print(ffns_ln.format(groups[0], groups[-1]))
            new_key = ffns_ln.format(groups[0], groups[-1])

        else:
            new_key = None

        if new_key is not None:
            # print(model[key].shape)
            # print(new_key, key)
            # print(state_dict[new_key].shape, pretrained_state_dict[key].shape)
            assert new_key in state_dict, (
                "{} Transformer encoder / decoder "
                "state_dict does not contain {}. Cannot "
                "load {} from pretrained XLM checkpoint "
                "{} into Transformer.".format(
                    str(state_dict.keys()),
                    new_key, key, pretrained_state_dict)
                )

            if new_key == "embed_tokens.weight":
                size = pretrained_state_dict[key].size(0)
                state_dict[new_key][:size] = pretrained_state_dict[key]
            else:
                assert state_dict[new_key].shape == pretrained_state_dict[key].shape
                state_dict[new_key] = pretrained_state_dict[key]

    return state_dict

I found a way to load pre-trained BERT models from huggingface API to fairseq transformers by substituting the name of parameters. However, since gpt2 has a different architecture from the standard transformer, my method doesn't work in this scenario. I suggest you use BERT models, or you have to modify the arch of Levenshtein transformer such that you can load gpt-2 for your tasks.

excuse me, may I ask how to load the pretrained model in huggingface to fairseq? I want to use the bert-base-chinese in huggingface and trained it with fairseq?

Hi @ttzHome, here is my solution:
def __init__(self, args, encoder, decoder):
        super().__init__(encoder, decoder)
        self.args = args
        self.supports_align_args = True

       pretrained_model = BertModel.from_pretrained(pretrained_model_path)

       # encoder
       loaded_state_dict = upgrade_state_dict_with_pretrained_weights(
                state_dict=encoder.state_dict(),
                pretrained_model=pretrained_model,
            )
       encoder.load_state_dict(loaded_state_dict, strict=True)

      # decoder
      decoder_state_dict = decoder.state_dict()
      for k in decoder_state_dict.keys():
          if k not in loaded_state_dict:
              loaded_state_dict[k] = decoder_state_dict[k]

       decoder.load_state_dict(loaded_state_dict, strict=True)

def upgrade_state_dict_with_pretrained_weights(
    state_dict: Dict[str, Any], pretrained_model: BertModel,
) -> Dict[str, Any]:

    pretrained_state_dict = pretrained_model.state_dict()

    embed_ln = re.compile("LayerNorm\.(weight|bias)")
    self_attn = re.compile(r"layer\.(\d+)\.+attention.+((q)uery|(k)ey|(v)alue|(out)put\.dense|(output)\.LayerNorm)\.(weight|bias)")
    ffns = re.compile(r"layer\.(\d+)\.(intermediate|output)\.dense\.(weight|bias)")
    ffns_ln_p = re.compile(r"layer\.(\d+)\.output\.LayerNorm\.(weight|bias)")

    for key in pretrained_state_dict.keys():
        # print(key)
        if "embeddings" in key:
            if "word" in key:
                new_key = "embed_tokens.weight"
            elif "position" in key:
                new_key = 'embed_positions.weight'
            elif "type" in key:
                new_key = None
            else:
                fs_embed_ln = "layernorm_embedding.{}"
                new_key = fs_embed_ln.format(embed_ln.search(key).group(1))
        elif "attention" in key:
            # print(k)
            groups = self_attn.search(key).groups()
            fs_self_attn = "layers.{}.self_attn.{}_proj.{}"
            fs_self_attn_ln = "layers.{}.self_attn_layer_norm.{}"
            if "query" in key:
                # print(fs_self_attn.format(groups[0], groups[2], groups[-1]))
                new_key = fs_self_attn.format(groups[0], groups[2], groups[-1])
            elif "key" in key:
                # print(fs_self_attn.format(groups[0], groups[3], groups[-1]))
                new_key = fs_self_attn.format(groups[0], groups[3], groups[-1])
            elif "value" in key:
                # print(fs_self_attn.format(groups[0], groups[4], groups[-1]))
                new_key = fs_self_attn.format(groups[0], groups[4], groups[-1])
            elif "output.dense" in key:
                # print(fs_self_attn.format(groups[0], groups[5], groups[-1]))
                new_key = fs_self_attn.format(groups[0], groups[5], groups[-1])
            else:
                # print(fs_self_attn_ln.format(groups[0], groups[-1]))
                new_key = fs_self_attn_ln.format(groups[0], groups[-1])
        elif "dense" in key and "pooler" not in key:
            groups = ffns.search(key).groups()
            # print(groups)
            ffns_f1 = "layers.{}.fc1.{}"
            ffns_f2 = "layers.{}.fc2.{}"
            if "intermediate" in key:
                # print(ffns_f1.format(groups[0], groups[-1]))
                new_key = ffns_f1.format(groups[0], groups[-1])
            else:
                # print(ffns_f2.format(groups[0], groups[-1]))
                new_key = ffns_f2.format(groups[0], groups[-1])
        elif "LayerNorm" in key:
            # print(key)
            groups = ffns_ln_p.search(key).groups()
            ffns_ln = "layers.{}.final_layer_norm.{}"
            # print(groups)
            # print(ffns_ln.format(groups[0], groups[-1]))
            new_key = ffns_ln.format(groups[0], groups[-1])

        else:
            new_key = None

        if new_key is not None:
            # print(model[key].shape)
            # print(new_key, key)
            # print(state_dict[new_key].shape, pretrained_state_dict[key].shape)
            assert new_key in state_dict, (
                "{} Transformer encoder / decoder "
                "state_dict does not contain {}. Cannot "
                "load {} from pretrained XLM checkpoint "
                "{} into Transformer.".format(
                    str(state_dict.keys()),
                    new_key, key, pretrained_state_dict)
                )

            if new_key == "embed_tokens.weight":
                size = pretrained_state_dict[key].size(0)
                state_dict[new_key][:size] = pretrained_state_dict[key]
            else:
                assert state_dict[new_key].shape == pretrained_state_dict[key].shape
                state_dict[new_key] = pretrained_state_dict[key]

    return state_dict

Thanks! Let me try......


Godoc reports Internal Server Error

I have created a new version of a library with a breaking change from the previous version. I am using Gustavo Niemeyer's gopkg.in facility for versioning APIs. The godoc URL to the new version is http://godoc.org/gopkg.in/stomp.v2.
This URL reports one of two error messages:

Internal server error.
Another error about failing to retrieve code. I only see this very occasionally and cannot reproduce at the moment.

I have communicated this problem to Gustavo, and he thinks it looks like a problem with godoc.
Can anyone help me with diagnosing this problem?

I can see that this is a duplicate of issue #286.


feat: add Talisman wallet

This PR adds support for Talisman, an open-source wallet for Polkadot and Ethereum

merged, thank you @0xKheops!


ci/cd view: Build status is always completed and green even when it build fails

Expected Behavior

Status indicator on the each build step is correct colour and status text

Current Behavior

When the build fails each build step is listed as Completed with a green status mark

Possible Solution

Update the status text and colour to reflect a more realistic status

Steps to Reproduce

Have a component with builds enabled like the CRA template
Create a failing build
Head to the CI/CD tab, and check out the failing build steps

Hi @benjdlambert
I'd like to work on this issue.
Kindly let me what exactly needs to be done and I'll try my best to get it fixed.

@benjdlambert which plugin? there's at least 3 CI/CD ones hooked up as far as I know, circle, github actions and Jenkins, I think there might be a travis one too

@benjdlambert which plugin? there's at least 3 CI/CD ones hooked up as far as I know, circle, github actions and Jenkins, I think there might be a travis one too

sorry, this was a quick ticket that I should have fleshed out a little more. it's the github actions on AFAIK.

Hello @benjdlambert
I have set up the development environment and got the Backstage Example App running on my system.
I am getting overwhelmed by the size of the project. Being new to these is not helping either.
Would you kindly let me know which files I should look into, to make the required fix?
Any other pointers or suggestions would be highly appreciated.
I have not set up Docker as of yet. Would Docker also be necessary to fix the above problem?
Thanks in advance!

@shmidt-i could you maybe take a look at @rajatdiptabiswas question? Where does this code come from?

Of course!
So we are talking about the @backstage/plugin-github-actions package which is located in plugins/github-actions. I think mainly there are 2 points of interest - plugins/github-actions/src/components/WorkflowRunStatus/WorkflowRunStatus.tsx - there is no failed case atm, but that doesn't give explanation about why they all are just green, cause the default case supposed to be StatusPending. The other one is plugins/github-actions/src/api/GithubActionsClient.ts - the implementation of the api for the plugin, where you can debug what's the real status is and why it's always shown as a green :)

Hi @shmidt-i
Thanks for the response.
I'll look into the files and try getting it fixed.
Thanks.

Hi @shmidt-i
I took a look at the files that were related to the screenshots you posted.
Would you kindly tell me the steps necessary to recreate the bug as shown in your screenshot?
I can't seem to understand how to create the failing build with the CRA template.
Would a guest account on the backstage example app be enough to debug this?
It's showing a Failed to fetch error on most pages.
I'm very confused and I think it would be best if you looked into the error yourself.
Wish I could be of some more help.

@rajatdiptabiswas you'll also need to run yarn start-backend too to get the backend up and running.
I'd recommend checking out this documentation to get everything running
https://backstage.io/docs/getting-started/running-backstage-locally
And also work through this documentation to get something running
https://backstage.io/docs/features/software-templates/software-templates-index
Then the steps to reproduce might make a little more sense

Hi @benjdlambert
Thanks a lot for the links and yarn start-backend command.
The software templates doc has been invaluable.
Please bear with me while I try my best to get this fixed!

Hi @benjdlambert
Fixed the Failed to fetch errors, thanks to your yarn start-backend tip.
Tried creating components several times using Create... > Create React App Template on the website. They took a long time and would eventually fail.
Installed Docker.
They failed at
Backend failed to start up Error: Cannot find module '../schema'
Require stack:
- /usr/src/app/plugins/catalog-graphql/dist/index.cjs.js
- /usr/src/app/plugins/graphql/dist/index.cjs.js
- /usr/src/app/packages/backend/dist/index.cjs.js
...

Fortunately, trying Create... > Create React App Template after the Docker installation helped complete a template build named testing.
However, even after creating the template, I could not find the testing template on the website.
Any pointers to help me find the built CRA template and creating the failing build (similar to the screenshots posted by @shmidt-i) would do wonders.
Also tried yarn add @backstage/plugin-github-actions and yarn workspace @backstage/plugin-github-actions start using https://backstage.io/docs/plugins/ but I'm probably not doing it right.
I tried looking into the docs but I am having trouble fully understanding the docs.
Really want to get this done, but I'm running into several beginner roadblocks.
Thank you so much for being patient.

So it looks to me that you're trying to develop on backstage by using a copy of backstage that you made by using npx @backstage/create-app? Is that correct?
I think you were on the right track, but we've updated that template that you create by running that command a lot recently with different releases, if you wanting to develop on backstage we recommend you follow this guide https://backstage.io/docs/getting-started/running-backstage-locally to get yourself set up with a clone of the repo rather than something that can drift out of date when we do releaes.
It's not a problem at all, let's see if we can get you set up with a development environment that we can replicate the issue first.
If you follow the guide before, you should be able to do the same commands as before, but I think you'll get past the schema issue that you ran in to.
You'll need to create a Create React App template with docker installed, and it should successfully create the repo where you choose, and after it's created is where the bug occurs.
Can you try the above and let me know what you see after trying to create a CRA template

Hi again @benjdlambert
I deleted all my previous git clone files and started afresh.
I followed the steps given in https://backstage.io/docs/getting-started/running-backstage-locally.
Once the Example App was running, I logged in as Guest and created a new template using Create... > Create React App from the website.
RUN THE TEMPLATER completed successfully with the following message.
...
Done in 323.29s.
Success! Created backstage-test at /result/backstage-test

Inside that directory, you can run several commands:
yarn start
...

We suggest that you begin by typing:
cd backstage-test
yarn start

Happy hacking!

backstage-test was the template name I used when creating the template. I can't seem to find the backstage-test directory.
However PUBLISH TEMPLATE ran into this error.
error: Stage failed with error: No publisher registered for type: "github" {"id":"0ebc71e1-c6fc-4a3e-b2c8-1ccb72ebe40a","stage":"Publish template","timestamp":"2020-09-29T07:25:15.505Z"}

I ran into the above error several times yesterday as well.
I'm guessing I made a mistake while putting the repo name they ask for when creating the template?
Or do I need to complete the GitHub OAuth process following the steps given in https://github.com/spotify/backstage/tree/master/plugins/auth-backend#github?
Thanks once again.

Yeah you'll net to get setup with a Personal Access token to be able to create the repositories in Github.
Take a look at these docs to get the scaffolder set up correctly.
https://backstage.io/docs/features/software-templates/installation

Tried a few of the steps in the documentation. Still no luck.
Will get back to this, first thing tomorrow morning with a clear head.
I shall let you know as soon as I manage to get it running.

Ok it's mainly the part that looks like this in the documentation:

  const githubClient = new Octokit({ auth: githubToken });
  const githubPublisher = new GithubPublisher({
    client: githubClient,
    token: githubToken,
    repoVisibility,
  });
  publishers.register('file', githubPublisher);

Hi @benjdlambert
There's another problem that I ran into. Decided to start afresh again and follow each step diligently.
Followed the steps in Running Backstage Locally. Also set the environment variables for AUTH_GITHUB_CLIENT_ID and AUTH_GITHUB_CLIENT_SECRET.
Then moved onto trying to install the Scaffolder plugin as you mentioned earlier. The documentation stated that The Scaffolder plugin also depends on the Software Catalog. Hence looked up the documentation for installing @backstage/plugin-catalog and @backstage/plugin-catalog-backend as well.
While following the steps there, I ran into an issue.
There is a step, in the docs, which mentions to add a few lines inside the ApiRegistry builder function in packages/app/src/apis.ts. However apis.ts does not seem to have the builder function.
A reference to a ApiRegistry builder function could be found in packages/storybook/.storybook/apis.js but that is probably not what we are looking for.
It's not just the Software Catalog plugin installation docs. The Scaffolder documentation also requires adding a builder.add(...) inside the ApiRegistry builder function of packages/app/src/apis.ts.
Should I just use npx @backstage/create-app instead? The docs state that the plugins will already be present if I used that command.
I'm really sorry for being such a headache.
Thanks for all your support!

If you clone the main repo this stuff should already be setup in the example backend package that we ship the development. You should be able to just add a github access token to config and create components? Are you not seeing that?

I just noticed that @backstage/plugin-catalog, @backstage/plugin-catalog-backend, @backstage/plugin-scaffolder, and @backstage/plugin-scaffolder-backend were already present in their respective package.json.
I'm sorry for not noticing those earlier.
Setting up the GITHUB_ACCESS_TOKEN environment variable fixed the following warning when running yarn start from backstage/packages/backend.
2020-09-30T07:53:15.521Z scaffolder warn Skipping github scaffolding provider, Missing required config value at 'scaffolder.github.token'

It would have been easier if the docs mentioned to simply set up the GITHUB_ACCESS_TOKEN variable.
I was able to sign in with GitHub as well. The GitHub request access page showed up and I granted access to the backstage-dev OAuth App I created earlier.
However, after the sign in http://localhost:3000/create is not loading like it used to. It's just a white screen now.
I'll redo everything and check whether the issue goes away.
This is taking way longer than it should. Thanks for the patience.

Hi @benjdlambert
I finally got a repo made. The component is showing up under Home > Websites. However the CI/CD tab shows the following.
CI/CD switcher:
No CI/CD is available for this entity. Check corresponding annotations!

This was a long time coming, but at least I just got the setup done!

Ok perfect! Let me check this and get back to you, I think if you're using a fork of the repo the annotations should be up to date, @shmidt-i or was this work not merged yet, could we get that work merged if possible and leave the other changes in a seperate PR/

@benjdlambert I did not fork the repo.
I used git clone git@github.com:spotify/backstage.git to clone the repository onto my system.
Followed the documentation steps as is.

ok I think the annotations are not merged yet, so you might not get the github for free with CRA, can you try the SSR template and see if that works?

@benjdlambert Managed to get it running using the React SSR template.
The build is showing as failed on my Actions tab on GitHub, but showing completed and green in the Backstage Example App.
I got similar error logs to the screenshots posted by @shmidt-i.
I'll try to figure out what might be causing them.

@rajatdiptabiswas perfect! apologies it's been a ride to try get to this point but now we have something!

Hi!
I'm not sure if this is some sort of faux pas in the open source community (i'm new to this) since the issue is already assigned to @rajatdiptabiswas , but I took a look at the issue and seem to have found the root cause. Please, let me know if that's the case; I don't want to step on any toes :)
From what I've gathered, the Github check-run api returns among other things both a status and a conclusion. According to the Github API docs, the status can only be one of queued, in_progress, or complete whereas the conclusion is the final conclusion of the check (a status of completed). Conclusion can be one of success, failure, neutral, cancelled, skipped, timed_out, or action_required. The v3 docs has a nice little visualization of this:

When debugging, it is evident that the actual conclusion of the builds is set as "failure" while the status is "complete".
This means that the status doesn't represent whether the build has failed or not, only that it's been completed. Since the conclusion isn't accounted for in WorkflowRunStatus.tsx, the build status stays a friendly green since it's completed even it if it in actuality failed.
I can see a couple of potential fixes for this, some bigger than others. I'd be happy to hear your thoughts on what I found and I'd be even more happy to correct it!

Hi @erictnilsson
It's amazing that you found the root cause of the issue this quick.
Your comment is very comprehensive as well.
I'm even newer to all this (as evident by the amount of time I took to just recreate the bug).
You're definitely more qualified to fix this! I think it's best you take it from here.
Good luck!

Thank you @rajatdiptabiswas!
Do you guys have any preferred solution in mind @benjdlambert or should I brainstorm a few of my ideas? :)


Custom colour of brackets is ignored

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:

Version: 1.80.2
Commit: 2ccd690cbff1569e4a83d7c43d45101f817401dc
Date: 2023-07-27T20:41:52.615Z
Electron: 22.3.14
ElectronBuildId: 22695494
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.0-78-generic

OS Version:

Description:    Ubuntu 22.04.2 LTS
Release:        22.04

Steps to Reproduce

Create a file (for example, c++) with curly and round brackets, such as this:
namespace {

class SparcOperand;

class SparcAsmParser : public MCTargetAsmParser {
  MCAsmParser &Parser;

  /// @name Auto-generated Match Functions
  /// {

#define GET_ASSEMBLER_HEADER
#include "SparcGenAsmMatcher.inc"

  /// }

  // public interface of the MCTargetAsmParser.
  bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
                               OperandVector &Operands, MCStreamer &Out,
                               uint64_t &ErrorInfo,
                               bool MatchingInlineAsm) override;

Open settings and set colours of brackets:
{ "scope": "punctuation.section.block.begin.bracket.curly"                  , "settings": { "foreground": "#ff0000", "fontStyle": "bold" } },
{ "scope": "punctuation.section.parameters.begin.bracket.round"             , "settings": { "foreground": "#ff0000", "fontStyle": "bold" } },

I also attached my entire settings.json file.

You should now be able to observe two issues:

actual colours of bracket does not match request/specified in the settings
open "Developer Inspect Editor Tokens and Scopes", and see that the information provided there also does not match actual colour.

For example, the dialog states that the colour is "foreground": "#FF0000", while in reality it is not.

Please, see attached screenshots:

png for curly brackets
png for round brackets

NOTE:
I was not able to upload files with extension json to github, because they "do not support files with such extensions", so, I had to append .txt to them. In order to view them, just remove the .txt extension.

Thank you for super-quick resolution (I disabled it, and everything works as expected).


Requirement Quality Widget not respecting selected Query (Release Pipeline)

Hey Azure DevOps Team,
I am having issues with the Requirement Quality Widget that you describe in this document here.
In short: the widget does not show the results of our linked automated tests, when we follow the steps described above.
Even after associating tests with stories, they still show up in the test analytics pane as "not associated" tests. When looking into a user story on the links pane, it shows all linked tests, but as non-clickable url: "vstfs:///TestManagement/TcmTest/48177591". Where should I post my issue description to find help?

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

ID: 9c179cd8-483f-b664-6081-0984cc74d519
Version Independent ID: 2925de17-0d71-52e8-ed79-1d9affd1bc9e
Content: Trace test requirements - Azure Pipelines
Content Source: docs/pipelines/test/requirements-traceability.md
Product: devops
GitHub Login: @vinodjo
Microsoft Alias: vinojos

Hi Hupka,
Apologies that you are facing this issue. Can you please log the issue in our Developer Community so that our engineers can look into it. Also request you to please add screenshots to help us repro.
Can you also clarify what you mean by "not show up in the test analytics pane as "not associated" tests"?

Hi @divais, thanks for asking!
I just tried it again and now it works - I just had to remove all the old links and now it's working. The Requirement Tests Widget properly shows test/failure rates. There is one other issue though: I could not get the widget to actually respect the selected Query. it is always showing all User Stories that have linked tests within a release pipeline.
Is it enough to raise the issue here?
Regards,
Adrian

Will look into this and get back.

@divais Any follow up here? Thanks!

Hi @thomps23 ,
This works as expected, the widget doesnt take a WIT query as input rather shows all user stories associated with the selected build or release pipeline.
https://github.com/MicrosoftDocs/vsts-docs/blob/master/docs/pipelines/test/requirements-traceability.md#quality-traceability

Thanks, closing this issue out.

Hi @divais, thanks for asking!
I just tried it again and now it works - I just had to remove all the old links and now it's working. The Requirement Tests Widget properly shows test/failure rates. There is one other issue though: I could not get the widget to actually respect the selected Query. it is always showing all User Stories that have linked tests within a release pipeline.
Is it enough to raise the issue here?
Regards,
Adrian

Having the same issue. @Hupka I know this is dated, but is there any chance you could recall how you addressed this? You mention you removed the old links - what were the new ones; did you update your instance of DevOps?
Thanks,
Nathan

Uh, not so easy.. I recall that the behavior seemed a bit healthy. I am recalling that the clickable URL vanished later again. At some point already after a few weeks we abandoned this widget. 🤷🏻♂

@Hupka ok. I did manage to find something of a workaround for anyone running into the same issue. Using the link button has never yet worked for me, but using the add bug button has always worked. So if I change the requirement to a bug, add the test result to it, and then change the "bug" back to a requirement, it works just fine.


<EMAIL_ADDRESS>decompress error

Installing 'poedit' (3.5) [64bit] from 'extras' bucket
Loading Poedit-3.5-setup.exe from cache
Extracting Poedit-3.5-setup.exe ... ERROR Exit code was 1!
Failed to extract files from C:\install\Scoop\apps\poedit\3.5\Poedit-3.5-setup.exe.
Log file:
    \Scoop\apps\poedit\3.5\innounp.log

Contents in innounp.log:

Signature detected: Inno Setup Setup Data (6.3.0)
This is not directly supported, but i'll try to unpack it as version 5602
; Version detected: 6300
Critical error: The setup files are corrupted. Please obtain a new copy of the program.

I assume you have scoop install innounp? Not sure if that would help. You can run scoop checkup to see if you do have it.

Unfortunately, innounp was already installed. No idea what happend to poedit.
> scoop list innounp
Installed apps matching 'innounp':

Name    Version Source Updated             Info
----    ------- ------ -------             ----
innounp 0.50    main   2022-04-28 00:49:17

Duplicates #13922.


Allow for null facingMode and null constraint maps in getUserMedia (Android)

GUM constraints like the following example from the readme:
getUserMedia({
  audio: false,
  video: {
    optional: [{sourceId: selectedCamera.id}]
  }
}

Are crashing on Android when attempting to get non-existent mandatory key from map-type constraints and attempting to get non-existent facingMode key for video constraints.
This PR adds hasKey() checks to ensure the keys exist before getting the values.

thanks!


Replacing $ref paths with resolved objects

Hey so we are using Manatee for our Json Schema validation, and ran into wanting to do something that I dont think is currently possible (maybe it is? Let me know!)
We store our JSON schema files as strings into our database, then when json objects are later loaded into the system, we pull out the schemas, and validate the objects being loaded.
This currently works because all references to different types are currently kept in the same file as the schema, and referenced via ("$ref": "#/definitions/myInternalDefinition"). This is handy because no external references need to be resolved after the database call (which dont exist because it's coming from a DB, not a file).
However we now want to store some of these definitions externally from the given schema file, and reference them via ("$ref": "definitions.json#/definitions/myExternalDefinition").  We need some way to basically replace this reference with the actual json object definition, since we won't have access to the original files later on when we read the schema string out of the database.
Hopefully something like this is already possible, but I didn't stumble into anything after playing around with it for awhile.

Hey, @SamuelDev! Thanks for using Manatee.Json!
This is absolutely a thing you can do. I actually do something similar in the schema test suite.
Have a look at the test suite line 70.  You'll see here that I'm setting the JsonSchemaOptions.Download property to a new Func.  Overwrite this to look into your database, and you should be good to go.
One note, though: if you still it need to resolve internet references, you may want to hold onto the properties default value and fall back to calling that inside your func.

@SamuelDev does this answer your question?

Hey, yeah we implemented something similar and it is working for us.

Awesome. Thanks.  Closing the issue.


Move to KO + Chainguard for building KLT components

Goal
Move to KO for building KLT images using cgr.dev/chainguard/static as a base image.
Details
In https://github.com/keptn/lifecycle-toolkit/issues/1094, we analyzed different possibilities to reduce the image size and improve the security of the container images. We agreed to move to chainguard static images for our base images used in the Dockerfiles. Furthermore, the whole build should be moved to ko to simplify SBOM and multi-platform generation.
Dockerfiles will be preserved to give users still a well-established way of building containers.
DoD

[ ] Dockerfile should use chainguard images
[ ] CI pipeline should use ko for building containers

FYI @vadasambar - please let me know if everything is clear :)

I agree with @vedsmand . If we move to ko we don't need the Dockerfiles anymore

I planned to keep Dockerfiles to give devs time to adapt to the ko workflow - but I also see your point @mowies @vedsmand and I am happy to only use ko

We can always dig the files back up from the git history if we really need to

I want to re-discuss this in the next community meeting. Maybe it's good enough to leave the images as they are right now...

We rescoped the ticket to only change the base image used in the production step in our Dockerfiles. A poc for KO would be nice to have to see the real benefits of the tool in our CI pipeline

@vedsmand do you still wanna work on this?
(see the above reduction in scope)

Ok then I will un-assign you for now

Hey @mowies  I want to work on this. Could you please assign this to me?
also please share some steps/resources to get started on this issue

It would be great if you could finish your other ticket first :)
But then I'll gladly assign this to you

It would be great if you could finish your other ticket first :)
But then I'll gladly assign this to you

Okay thanks

Chainguard only supports latest container image tags in the free version. That is unfortunately not an option for us in this project, so I think we should close this issue. @Bharadwajshivam28 sorry that you already invested time into this and we only found out now..

Chainguard only supports latest container image tags in the free version. That is unfortunately not an option for us in this project, so I think we should close this issue. @Bharadwajshivam28 sorry that you already invested time into this and we only found out now..

No worries..
Thanks @mowies


[EMM-1879] Policy monitoring Commands send to all device will cause high load to servers

Reference: https://wso2.org/jira/browse/EMM-1879

This was fixed by WarunaJ, by adding a fix to send the operations as batches of devices. And hence closing this.


2422-Refactor submission result relationship

This is good to be merged pending review

Hi @aclar48, thanks for your work on this. I appreciate your commits to address the Hound comments - if you want to change the .rubocop.yml file to not complain about multiline lambdas, I'm okay with that change.
I did a quick search through the app for remaining uses of the old submission->remark result association, and found a few places where remark_result_id is used. Could you please add this as an instance method (or if you like, rewrite the places where it's used)?

remark_result_id method added to submission

Thanks, @aclar48!


Recursion error for test case 11

Summary
My code works fine for the rest of the test cases before, but not this one.
To explain my code:
i decided not to create an additional class for my self checkout, and just let all my customers queue at the first self checkout counter
for my wait event:
-i will check whether the customer is the first customer and check whether the server the customer is waiting at is available
-if not available, i will check whether server is a self checkout and check whether the other self checkouts are currently available
-if both conditions above are not met, then i will return a wait again event, which is essentially the same as my wait event
however i'm not sure what is causing the recursion error... can yall give me some advice
Screenshots (if any):
Test case 11

processEvent function for wait event

Just to be frank, you can attach a debugging session on Visual Studio Code and see if the server availability times do get updated...

If there is no self checkout available, customer should wait for the soonest available checkout i.e. the one with the earliest possible time that it will be done.

You could try to debug your code by inserting print statements and see where the recursion occurs


how to use NavigationDrawer click to replace the layout of materialviewpager

Hi!
please can you help me how to use navigationdrawer so that I can have different  layouts for different drawer items.
Thanx in advance

I think thia is not issue, so you spam.

Yes I know ... I am asking to guide me how to use it bcoz it's confusing me how to use it ... how to change materialviewpager on drawe item click.


WooCommere variable or grouped product display sample?

Does anyone has a sample code/gist for recreating all WooCommerce functions and behavior for Timber?
Expected behavior
I would like to show variations of a product on single-product.twig, but I can't make it work.
Actual behavior
Dumping the current product (post) does show some attributes at _custom, but this just won't be enough I think :)
What version of WordPress, PHP and Timber are you using?
WP: 4.8, PHP: 7.1.1,  Timber: 1.5 (integrated into the theme)
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
Composer --> integrated into the theme (everything else works just fine)

Hello @jake46a , any news about your guide? I am struggeling to work with variations product : like display only the price of the current variations or display the product gallery.

@aureliendebord here's his guide:
https://github.com/timber/timber/pull/1747
Could you take a spin and see if this helps to answer your Qs? It'd be great to get a second set of eyes on what he's written (I'm not a WC user, so I'm not much help) before we merge it in

Closing this as stale. If you want to expand the Woocommerce documentation, please open a PR.


Update yaml file to v2.3.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

close this PR as the builds failed due to the version incompatibility of required packages during the pip check. Will change the version requirements.


Added a new Leetcode problem link and its solution

I have added a problem link of Isomorphic strings and its solution, I am very thankful if you will merge my pull request of it.
Thank you....

Have merged the code. Thank you.


[Feature] : there is no logo in contact page

Description
In the contact page, there is no logo in the main page and navbar
Screenshots

please assign me @pa
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)

Actually there is the logo, but somehow this doesnot gets rendered everytime. WE need to refresh it actually.Could you identify this problem and lemme know the fix over here in comments?
@jayanththalla

Actually there is the logo, but somehow this doesnot gets rendered everytime. WE need to refresh it actually.Could you identify this problem and lemme know the fix over here in comments?
@jayanththalla

after rendering it showing same as previous one

Actually there is the logo, but somehow this doesnot gets rendered everytime. WE need to refresh it actually.Could you identify this problem and lemme know the fix over here in comments?
@jayanththalla

after rendering it showing same as previous one

Ok you can fix this :)


added benchmark script and documentation

Exciting benchmark utility detailed in benchmark.md! Also added documentation showing how to stream directly without using a dump file. #21

Merged as 5895158aa67bccbbce33a159c84c70b325e8abf1, thanks


[Bug]: Add Support for Qt 6.8.x [win64_msvc2022_64] Binaries

Bug description
Can't install Qt 6.8.0 Beta1 available here as announced here
Qt have moved to MSVC 2022 Packages as of Qt 6.8 as announced here
Expected behavior
To be able to install/test Qt 6.8.x
aqt and python version
aqtinstall(aqt) v3.1.15 on Python 3.11.9 [CPython MSC v.1938 64 bit (AMD64)]
Operating System
Windows
Relevant log output
C:\hostedtoolcache\windows\Python\3.11.9\x64\python.exe -m aqt install-qt windows desktop 6.8.0 win64_msvc2019_64 --autodesktop --outputdir D:\a\qBittorrent/Qt --archives qtbase qtsvg qttools

INFO    : aqtinstall(aqt) v3.1.15 on Python 3.11.9 [CPython MSC v.1938 64 bit (AMD64)]
WARNING : Specified Qt version "6.8.0" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.
WARNING : Failed to download checksum for the file 'Updates.xml'. This may happen on unofficial mirrors.
ERROR   : Failed to locate XML data for Qt version '6.8.0'.

INFO    : aqtinstall(aqt) v3.1.15 on Python 3.11.9 [CPython MSC v.1938 64 bit (AMD64)]
C:\hostedtoolcache\windows\Python\3.11.9\x64\python.exe -m aqt install-qt windows desktop 6.8.0 win64_msvc2022_64 --autodesktop --outputdir D:\a\qBittorrent/Qt --archives qtbase qtsvg qttools
INFO    : aqtinstall(aqt) v3.1.15 on Python 3.11.9 [CPython MSC v.1938 64 bit (AMD64)]
WARNING : Specified Qt version "6.8.0" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.
WARNING : Specified target combination "windows desktop win64_msvc2022_64" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.
WARNING : Failed to download checksum for the file 'Updates.xml'. This may happen on unofficial mirrors.
ERROR   : Failed to locate XML data for Qt version '6.8.0'.

Code of Conduct

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

Here is a path for arm64 version
- https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/qt6_663/qt.qt6.663.win64_msvc2019_arm64/
- https://download.qt.io/online/qtsdkrepository/windows_arm64/desktop/qt6_680/qt6_680/qt.qt6.680.win64_msvc2022_arm64/

aqt expect package name as qt.qt6.680.msvc22_x86 but Update.xml has qt.qt6.680.win64_msvc2022_64

@miurahr Note: Qt 6.7.x will have both MSVC2019 & MSVC2022 binaries/packages (possibly .3 release, as .2 is just out) where as Qt 6.8.x will only have MSVC2022.

In one of the next bug-fix releases of Qt 6.7, possibly in Qt 6.7.2, we will add packages built with MSVC 2022 in addition to the MSVC 2019 ones as we have now.

https://www.qt.io/blog/moving-to-msvc-2022-in-qt-68

@miurahr Note: Qt 6.7.x will have both MSVC2019 & MSVC2022 binaries/packages (possibly .3 release, as .2 is just out) where as Qt 6.8.x will only have MSVC2022.

You can specify  "win64_msvc2022_64" or "win64_msvc2019_64" as arch argument.
https://aqtinstall.readthedocs.io/en/latest/cli.html#install-qt-command
If you have a trouble, please raise another issue ticket.


HDDS-2975. Print Freon summary to log in non-interactive mode

What changes were proposed in this pull request?
Freon prints progress to log in non-interactive mode since HDDS-2861, but summary statistics are still printed to standard output.  This change proposes to print summary statistics to the log instead of the console in the non-interactive mode.
https://issues.apache.org/jira/browse/HDDS-2975
How was this patch tested?
Tested Freon in both modes (using -T flag of docker-compose exec):
$ docker-compose exec --help
...
Options:
...
  -T  Disable pseudo-tty allocation. By default `docker-compose exec`
      allocates a TTY.
...

$ docker-compose exec om ozone freon ockg -n 5 -t 1 -p interactive
...
2020-02-03 15:49:19,659 [main] INFO freon.BaseFreonGenerator: Executing test with prefix interactive

 0.00% |?                                                                                |  0/5 Time: 0:00:012020-02-03 15:49:21,341 [pool-1-thread-1] WARN impl.MetricsSystemImpl: ozone-freon metrics system already initialized!
 100.00% |?????????????????????????????????????????????????????????????????????????????????????????????????????|  5/5 Time: 0:00:04
2/3/20, 3:49:23 PM =============================================================

-- Timers ----------------------------------------------------------------------
key-create
             count = 5
         mean rate = 1.64 calls/second
     1-minute rate = 0.00 calls/second
     5-minute rate = 0.00 calls/second
    15-minute rate = 0.00 calls/second
               min = 61.32 milliseconds
               max = 1871.40 milliseconds
              mean = 448.14 milliseconds
            stddev = 712.96 milliseconds
            median = 65.82 milliseconds
              75% <= 176.41 milliseconds
              95% <= 1871.40 milliseconds
              98% <= 1871.40 milliseconds
              99% <= 1871.40 milliseconds
            99.9% <= 1871.40 milliseconds

Total execution time (sec): 4
Failures: 0
Successful executions: 5

$ docker-compose exec -T om ozone freon ockg -n 5 -t 1 -p noninteractive
...
2020-02-03 15:49:27,908 [main] INFO freon.BaseFreonGenerator: Executing test with prefix noninteractive
2020-02-03 15:49:27,915 [Thread-6] INFO freon.ProgressBar: Progress: 0.00 % (0 out of 5)
2020-02-03 15:49:28,920 [Thread-6] INFO freon.ProgressBar: Progress: 0.00 % (0 out of 5)
2020-02-03 15:49:29,571 [pool-1-thread-1] WARN impl.MetricsSystemImpl: ozone-freon metrics system already initialized!
2020-02-03 15:49:29,886 [Thread-6] INFO freon.ProgressBar: Progress: 0.00 % (0 out of 5)
2020-02-03 15:49:30,886 [Thread-6] INFO freon.ProgressBar: Progress: 100.00 % (5 out of 5)
2020-02-03 15:49:30,973 [Thread-5] INFO metrics: type=TIMER, name=key-create, count=5, min=54.2227, max=1714.7334, mean=388.4163, stddev=663.1605489068511, median=57.5416, p75=59.2239, p95=1714.7334, p98=1714.7334, p99=1714.7334, p999=1714.7334, mean_rate=2.4488359801005632, m1=0.0, m5=0.0, m15=0.0, rate_unit=events/second, duration_unit=milliseconds
2020-02-03 15:49:30,974 [Thread-5] INFO freon.BaseFreonGenerator: Total execution time (sec): 3
2020-02-03 15:49:30,975 [Thread-5] INFO freon.BaseFreonGenerator: Failures: 0
2020-02-03 15:49:30,975 [Thread-5] INFO freon.BaseFreonGenerator: Successful executions: 5

https://github.com/adoroszlai/hadoop-ozone/runs/423452418

I am +1 on this change, and the failures in acceptance test does not seem to be related. That is, MR and S3 tests failing does not seem to be related to change in the Freon output. @adoroszlai  Please feel free to commit after you take a look at the acceptance results. Thanks

Thanks @anuengineer for the review.
Acceptance test seems to have gotten painfully slow.  I would guess it's due to some environment issue, because it is failing even in simple doc translation PRs.  Note that it is even hiding a genuine failure (see #527).
This change is not urgent, so I can wait until we can get a clean acceptance test run.

Thanks @elek for reviewing and committing it.


QtWayland: depends on mtdev and libinput

Why does QtWayland depend on libinput..? Shouldn't that be handled by
qtcore?
On 7 October 2016 at 12:56, socec<EMAIL_ADDRESS>wrote:

@socec approved this pull request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Pelagicore/meta-bistro/pull/42#pullrequestreview-3281193,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEGCj-clKEy26icB5z-ExtjCPtsam0tks5qxiVdgaJpZM4KQ5WB
.

--
Jonatan Pålsson
M.Sc
Software Engineer
PELAGICORE | Experience Change
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
Mobile: +46 (0)73 698 7205
E-Mail<EMAIL_ADDRESS>IRC: jonatan @ FreeNode

Unfortunately, the meta-qt5 layer is far from ideal in this case. The libinput is included through packageconfig (https://github.com/meta-qt5/meta-qt5/blob/krogoth/recipes-qt/qt5/qtbase_git.bb#L131), though it's not an explicit dependency for qtwayland which I believe should be.
Of course in qtbase it should remain as a packageconfig as it depends are you gonna use it or not.

I think this is the wrong place for this patch, it should go into meta-qt5 instead.

Yeah, you're right I'll create a patch for krogoth on meta-qt5... Thanks!
On 2016-10-07 13:41, Richard Pannek wrote:

I think this is the wrong place for this patch, it should go into
meta-qt5 instead.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Pelagicore/meta-bistro/pull/42#issuecomment-252230077,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFFTv7Mj7rr9YNAoq-SX7x5SrGJDVO2Kks5qxjAGgaJpZM4KQ5WB.

--
Gordan Markuš
Embedded Linux Software Developer
Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
+46 (0)7333 04579
<EMAIL_ADDRESS>www.pelagicore.com
PelagicoreLogo
Registered Office Gothenburg, Sweden
Registration No.<PHONE_NUMBER>


Feat tableofcontents

I've added the Table of contents below the header. Please review and let me know if any changes are needed.

Please format the files using prettier

Just one more thing - Can you make the entire table of contents bar clickable?


Allow playing music while metadata is syncing

Many users have pretty big collections,
maybe syncing metadata could be run in another thread, so you can play music while?
thanks for reading!

Hmm, strange. Out of curiosity, how do you find performance with 160k files? Does the app seem to handle things reasonably well? I've only tested this many songs artificially, so I'm curious how well it works in the real world.

It works perfectly, everything is fast, once synced. No problems navigating folders or whatever.
Do you want me to put 10-20K mp3s in the same folder to see how it works?
Thanks!

I've checked cache, musik.db is 753 and thumbs folder is 4.7GB.
Do you think is needed to cache covers?, they are already in my folders and inside my mp3s.
Also, i've to check it but, could I have cache in a definable drive/folder? I prefer this to be out of my SSD system drive.

That's great to hear it performs well at that scale! Hmm, yeah, we should probably (1) add the ability to disable thumbs extraction, and (2) allow the user to specify the data directory. I'm surprised that 753 thumbnails is 4.7GB though. Perhaps a big chunk of that is the size of the metadata database itself? We do some pretty aggressive indexing to keep things snappy, but it will definitely increase the size.
For now you can move the ~/.musikcube directory to a different drive, then symlink it and the app should still be happy. Something like:

stop musikcube
mv ~/.musikcube /mnt/wheverever/musikcube
ln -s /mnt/wherever/musikcube ~/.musikcube
start musikcube

I am using it in Windows10 full updated, with an external Topping D10 DAC
No, I meant, musik.db file (nice you used sqlite), is 753MB, the thumbs subfolder contains 8176 images occuping 4.9GB (I added more music yesterday :D)
Thanks!

Now it seems I got a real bug in syncing :D
Basically, i can move in the panels, but only the selected entry is showed, strange...
Attached some screenshots

This should be fixed in the most recent builds, I believe. If you're still using musikcube and still see this issue, please re-open.

ok, thanks!, I'll delete de DBs and check again with my collection, regards!