text:
Use platform specific default value for separator

This PR fixes #128345
This PR naively sets explicit default value that should match current behavior on Windows.
P.S. @bpasero I tried to use Copy Relative Path in web version (lauched as yarn web as I don't have access to Codespaces), however it always copies with \\ independently from setting. Is it expected behavior or I should file new issue for web version?

@IllusionMH we cannot set a default that is platform specific because a windows box might be connected to a linux remote. We only know the standard path separator at the time we copy the path by checking the remote OS.

@bpasero agree. Looks like I've missed that VS Code correctly copies path on Windows when connected to WSL or Remote now so platform specific check doesn't make sense.
What about question about yarn web where it always copies e.g. \sample-folder\large\rnd.foo for both Copy Path and Copy Relative Path and doesn't account for "explorer.copyRelativePathSeparator": "/" at all? It is expected behavior?

@IllusionMH good catch, looks like we fail to use the separator if we cannot find a formatting:
https://github.com/microsoft/vscode/blob/4153751d05faa65c43d6bca9f1c9e3736f82ded8/src/vs/workbench/services/label/common/labelService.ts#L141-L144
Do you want to change this PR to fix that particular issue?
As to why we use backslash by default in web on Windows, I refer to @isidorn who owns the label service.

backslash by default in web on Windows

I think we just use backslash by default on Windows. We did not write code for the web specific scenario.
But I think it might make sense if the use is copying paths from web to his local windows machine.

copying paths from web to his local windows machine

@isidorn What are current expected workflows for "web" version? My assumption was that "web" version is mainly for Codespaces that connects to Linux under the hood and has self sufficient development environments/workflows that won't need local PC and local paths.
Is it wrong assumption?
@bpasero I can take a stab on it or at least will create separate issue to track this unexpected behavior for "web" builds and will close this PR as you already properly fixed #128345 .

Sounds good thanks.

source: gharchive/pull-request

authors: IllusionMH bpasero isidorn


text:
keep cursor stable & fix go to symbol as terminal accessibility buffer dynamically updates / resizes

fixes #178703
fixes #178695
fixes #177923
still some issues noted in #179186

just noticed an issue where go to symbol doesn't contain the commands that are in the scroll back 😢

repo: microsoft/vscode

license: MIT

license_type: permissive

license_source: github-api


text:
Speed up local link detector tests

Shaves about 10 seconds off running this suite on my machine (~60s -> ~50s)

Problems getting this to pass, abandoning as it's not worth the time.


text:
fix(markdown-preview/copy-image): invalid error with blob when download image.

When you copied an image with an external link, it gave a CORS error.

Since it wasn't possible to fix the CORS issue directly to resolve this problem, instead of copying an image from an external source, it now copies the link to your clipboard so you can access the image. For local images, it still copies normally like before.
issue: https://github.com/microsoft/vscode/issues/205624

@Felipeex please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree


text:
Using vscode-telemetry-extractor npm package.

Our build scripts used to clone a repo and run npm install, but now that repo has been released as an npm package and therefore we should use that for easier management. This just edits the build to account for the new changes.

@lramos15 Always use yarn to add/update dependencies: yarn add vscode-telemetry-extractor. You missed the yarn.lock file: https://github.com/microsoft/vscode/commit/a6c461b564ad5857a8bd1486d336a3678039030a

Oh okay :+1:. I just manually put it in the package.json and the builds worked because when they run yarn it gets added to the yarn lock.


text:
Fixes focused status bar entry should use orange border when using the high contrast theme

This PR fixes #99350

Great work, love it.
Fixes that issue and also fixed the hover background to be the dotted line in High Contrast.
Merging in, thanks a lot! 🍻 ☀


text:
Fix std propagation for windows-core

Fixes windows-core always enabling std on the result and strings crates
Fixes: #3163⬅

Thanks! The fix looks reasonable to me. What's missing is any way to test this to avoid a regression. I have the no-default-features.yml but it would be great to have some enduring validation that this actually fails/works before and after this change.
https://github.com/microsoft/windows-rs/blob/master/.github/workflows/no-default-features.yml

Nice! I just typed up an identical fix for wgpu only to see that you beat me by a week. Looks good!

Still need a test. Will come up with a test and open a new PR.

@MarijnS95 The man is asking for a test, even offers to come up with one, and your sole response is

:-1:

What is wrong with you?

@tim-weis clickable emoji replies don't exactly allow more elaboration, and going out of my way to write a comment for it defeats the purpose of replying with an emoji (except if it were positive, as you wouldn't be asking for my clarification, most likely).
Either way, to answer your question, nothing wrong with me; but there is something (a lot) wrong with how windows-rs is managed. If windows-rs wasn't as good as it is and solving real gaps in the Rust ecosystem, I'd stay very far away from engaging in contributions and conversations. I'll leave it as an exercise to the reader to figure out feels unheard - sometimes even disrespected - around here.

authors: Intege-rs MarijnS95 kennykerr tim-weis

repo: microsoft/windows-rs


text:
It totally crashes when I run wingetcreate which module not found on Windows 11 23H2 Release Preview.

I can't create the manifest using Windows 11 23H2 Release Preview Build.

@BrandonWanHuanSheng , I have tried spinning up a clean vm and I am not able to repro this error. The error message does make me think that your .NET runtime may be modified or corrupted. Could you try reinstalling the .NET 6.0 Desktop Runtime and seeing if that changes anything. It might be a shot in the dark but it's something to try.

It seem like does not change anything.

source: gharchive/issue

authors: BrandonWanHuanSheng ryfu-msft

repo: microsoft/winget-create


text:
[Update Request]: Microsoft.OfficeDeploymentTool + old ones are dead

What type of update are you requesting?
A new version of an existing package
Current Package Identifier
Microsoft.OfficeDeploymentTool
Package Version
16.0.16227.20258
Please describe the changes you would like to see
https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_16227-20258.exe
Btw the install links of old versions of the package is dead.
Maybe the package could be reenginered as a portable installation, using
https://officecdn.microsoft.com/pr/wsus/setup.exe

Checking for x86 if it is error.

It look like that setup might restart the application.

I got some new information with this file. It look like that PackageUrl is related to another URL.

That setup is an portable program. How do we find the configuration file for https://officecdn.microsoft.com/pr/wsus/setup.exe

https://github.com/microsoft/winget-pkgs/pull/105168#issuecomment-1533683007

People make their configuration themselves:
https://learn.microsoft.com/en-us/deployoffice/office-deployment-tool-configuration-options
Btw it seems the Microsoft.Office package also uses this, but immediately calls with a predefined config:
https://github.com/microsoft/winget-pkgs/blob/master/manifests/m/Microsoft/Office/16.0.16227.20244/Microsoft.Office.installer.yaml

authors: BrandonWanHuanSheng NLZ

repo: microsoft/winget-pkgs


text:
[Update Request]: dotPDNLLC.paintdotnet 5.0.8 -> 5.0.9

What type of update are you requesting?
A new version of an existing package
Current Package Identifier
dotPDNLLC.paintdotnet
Package Version
5.0.9
Please describe the changes you would like to see
Also:  older versions are removed  and can't be downloaded anymore
InstallerUrl: https://github.com/paintdotnet/release/releases/download/v5.0.9/paint.net.5.0.9.install.x64.zip
InstallerUrl: https://github.com/paintdotnet/release/releases/download/v5.0.9/paint.net.5.0.9.install.arm64.zip
InstallerUrl: https://github.com/paintdotnet/release/releases/download/v5.0.9/paint.net.5.0.9.winmsi.x64.zip
InstallerUrl: https://github.com/paintdotnet/release/releases/download/v5.0.9/paint.net.5.0.9.winmsi.arm64.zip
InstallerUrl: https://github.com/paintdotnet/release/releases/download/v5.0.9/paint.net.5.0.9.portable.x64.zip
InstallerUrl: https://github.com/paintdotnet/release/releases/download/v5.0.9/paint.net.5.0.9.portable.arm64.zip

If older versions are still provided by the publisher, they should be available as a historical reference - in case someone wants to install and troubleshoot an issue with another program, recreate a beneficial bug, or to see what an older version of software was like. Is there a specific reason to remove the older versions of these packages?

#116078

Personally, I feel that if older versions are still provided by the publisher, they should be available as a historical reference - in case someone wants to install and troubleshoot an issue with another program, recreate a beneficial bug, or to see what an older version of software was like. Is there a specific reason to remove the older versions of these packages?

They can't be downloaded anymore.   Installing 5.0.8 (the latest at the time of writing)  of this package gave me 404 error.   Hence I opened this issue: https://github.com/paintdotnet/release/releases/download/v5.0.8/paint.net.5.0.8.install.x64.zip => 404

this issue can be closed now

Personally, I feel that if older versions are still provided by the publisher, they should be available as a historical reference - in case someone wants to install and troubleshoot an issue with another program, recreate a beneficial bug, or to see what an older version of software was like. Is there a specific reason to remove the older versions of these packages?

The author of this package will remove old version immediately when a new version is released.

Close with reason: Newer version available in repo;

authors: Pckgrapp SpecterShell Trenly blackzafiqz j-dc stephengillie


text:
How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://github.com/SHOEGAZEssb/Last.fm-Scrubbler-WPF/releases
Publisher: https://github.com/SHOEGAZEssb
Package Name: SHOEGAZEssb.Lastfm-Scrubbler-WPF
Description:  Manual Last.fm scrobbling for when a service (or you!) failed to scrobble.
Package Version: 1.30
Installer URL: https://github.com/SHOEGAZEssb/Last.fm-Scrubbler-WPF/releases/download/B1.30/Last.fm-Scrubbler-WPF-Beta-1.30.zip

Not possible yet since the exe in those zip files depends on DLLs also present, and winget doesn't support extracting all those contents yet.
Related to: https://github.com/microsoft/winget-cli/issues/2711

[Policy] Unblocked; Will require ManifestVersion: 1.9.0 with ArchiveBinariesDependOnPath: true

authors: BiosPlus Trenly soredake


text:
New package: BastianPedersen.lazydocker version 0.23.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

Manual Validation ended with:

2024/01/15 10:47:21 > could not determine host context "default" does not exist 2024/01/15 10:47:21 unable to parse docker host ``

(Automated response - build 566.)

Hi. This is a known issue and will be fixed in the root repository. Once the fix is deployed I will re-upload with the new binaries.

This has nothing to do with lazydocker. It is something wrong with your Docker configuration.

Hi @bastianpedersen,
I have some items out of order here. Let me explain:

This package installs and launches normally in a Windows 10 VM.
This package gives the Error from my 2nd message. Does this mean Docker is a dependency?
When trying with Docker.DockerDesktop as a dependency, I got the error from my first message.

Hi @bastianpedersen,
I have some items out of order here. Let me explain:

This package installs and launches normally in a Windows 10 VM.
This package gives the Error from my 2nd message. Does this mean Docker is a dependency?
When trying with Docker.DockerDesktop as a dependency, I got the error from my first message.

Yes, Docker is a core dependency for this application. Hence the name lazydocker 😅 . Please make sure you have clean install of Docker Desktop on your system.

Can I please get some help here? The application installs just fine on my Windows 11 build.

Automatic Validation ended with:

Installation failed with exit code -1978334972

(Automated response - build 599.)

@wingetbot waivers Add Validation-Installation-Error

Thanks for your patience.

This PR adds noise with a new package ID for a package that already existed in the system as JesseDuffield.Lazydocker... Now the same product exists twice with two names (BastianPedersen.lazydocker + JesseDuffield.Lazydocker) and for the same version, referencing the same installer.😞
PR #135365 is the correct version of what this should have been, adding a new version to the existing package ID instead of registering a new package.
@stephengillie Does the winget repo ever do retractions for cases of duplicates like these?

Thank you for pointing this out.

https://github.com/microsoft/winget-pkgs/pull/155072


text:
Remove: AtomicJar.Testcontainers version 1.5.4

## Newer version exists in repo - vanity URL

[X] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[X] This PR only modifies one (1) manifest
[X] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Microsoft Reviewers: Open in CodeFlow

URL: https://app.testcontainers.cloud/download/testcontainers-desktop_windows_x86-64.msi
Status Code: 200
(Automated message - build 643)

authors: Trenly stephengillie


text:
Microsoft.VisualStudioCode.Insiders.CLI_v1.87.0 cli

Microsoft.VisualStudioCode.Insiders.CLI_v1.87.0
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

No errors to post.

(Automated response - build 695.)

@wingetbot waivers Add Validation-Executable-Error

authors: lszomoru stephengillie


text:
Remove D:\Git\winget-pkgs\manifests\t\the-sz\Homedale\2.09

Newer version available in repo; package uses vanity url
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

authors: ItzLevvie Trenly


text:
New version: Google.Chrome.Beta.EXE version 125.0.6422.14

Created by 🥟 Dumplings in workflow run #4640.
Logs
Updated: 125.0.6422.4 → 125.0.6422.14
Submitting WinGet manifests

Microsoft Reviewers: Open in CodeFlow

https://sites.google.com/view/ano-center-gemini25


text:
New version: M2Team.NanaZip version 3.0.996.0

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -2147009295
2024-06-15 06:02:43.024 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(161)\WindowsPackageManager.dll!553FE94A: (caller: 553697A7) Exception(1) tid(193c) 80073CF1 Package was not found.
2024-06-15 06:02:43.124 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!553FD7AF: (caller: 553FED72) Exception(2) tid(193c) 80073CF1 Package was not found.
2024-06-15 06:02:43.124 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(126)\WindowsPackageManager.dll!553FEA29: (caller: 553FFBF8) LogHr(1) tid(193c) 80073CF1 Package was not found.
Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!553FD7AF: (caller: 553FED72) Exception(2) tid(193c) 80073CF1 Package was not found.
2024-06-15 06:02:43.128 [CLI ] MSIX installer failed: 2147958001

(Automated response - build 886.)

authors: BiosPlus stephengillie


text:
New version: PerfectWorld.PerfectWorldArena version 1.0.24071112

Created by 🥟 Dumplings in workflow run #6501.

Log
Updated: 1.0.24071111 → 1.0.24071112
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/issues/142854

authors: SpecterShell stephengillie


text:
kmeleonbrowser.org.K-Meleon version 75.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I committed all the changes and now there's a manifest validation error?

You'll need to change the folders to match the PackageIdentifier using the GitHub Desktop client on Windows.

let me make the bot try again,

You'll need to change the folders and file names to match the PackageIdentifier and PackageVersion using the GitHub Desktop client on Windows.

I had issues with that before, was I doing it wrong?  What I was doing is: fetch origin to make sure everything is up to date, view the repo files in file explorer, rename the folder, then doing CTRL+P to push the changes.  Is that incorrect?

is this what is supposed to happen when you rename 75.1 to 75.0?

There, I tried pushing the changes and it does nothing at all...

I'm not really sure what the issue is with the github desktop app or if it's just me doing something wrong.

I had issues with that before, was I doing it wrong? What I was doing is: fetch origin to make sure everything is up to date, view the repo files in file explorer, rename the folder, then doing CTRL+P to push the changes. Is that incorrect?

Yes, you need to rename the folder and then commit the changes and then Ctrl + P to push the changes.
You need to remove the org folder and move everything that's inside of that folder to the root of kmeleonbrowser and rename the version folder to 75.0

I had issues with that before, was I doing it wrong? What I was doing is: fetch origin to make sure everything is up to date, view the repo files in file explorer, rename the folder, then doing CTRL+P to push the changes. Is that incorrect?

Yes, you need to rename the folder and then commit the changes (write a commit message, etc.) and then Ctrl + P to push the changes to your branch.
You need to remove the org folder and move everything that's inside of that folder to the root of kmeleonbrowser and rename the version folder to 75.0

Alright I can do all of that except for commit, the button is grayed out and clicking it does nothing.

Sorry, I mean write a commit summary (not the description), the button shows up for me when all of the files are ticked and a summary is written.

Sorry, I didn't even notice those 🤦

Yay!!

But....

Did I do it wrong somehow?

Sorry, you also need to rename the file names too to match PackageIdentifier

There we go :)

authors: ItzLevvie sanikdah


text:
Remove version: Appest.Dida version 4.1.2.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators or/and anyone else

[!Caution]
As a result of several personal problems I've had over the last few months + my final exams coming up very soon, I'm currently unable to look at my GitHub notifications every day and maintain my executions correctly.
If you detect a certain problem on a certain pul request:

Either you can close the pull request directly without mentioning me.
Or you can send me a message on X (Twitter): @Exorcism0666

Thank you for your understanding, and I'm sorry if some pull requests can't be approved due to the situation I'm in.

This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

URL: https://cdn.dida365.cn/download/win64/dida_win_setup_release_x64_4120.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 912)


text:
New version: GLab.GLab version 1.44.1

Pull request has been created with komac v2.3.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run


text:
New version: charmbracelet.soft-serve 0.7.5

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Automated with GoReleaser
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\soft.exe returned exit code: 1

(Automated response - build 887.)

authors: charmcli stephengillie


text:
New version: GiulioSorrentino.Latorredibabele version 3.0.0.1

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/azp run

authors: GiulianoSpaghetti stephengillie


text:
New version: Mozilla.Firefox.DeveloperEdition.id version 132.0 (132.0b4)

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Verify by proxy: https://github.com/microsoft/winget-pkgs/pull/179431#issuecomment-2400690391


text:
Remove version: Wagnardsoft.DisplayDriverUninstaller version 18.0.6.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://www.wagnardsoft.com/DDU/download/DDU v18.0.6.2_setup.exe
Status Code: 200
(Automated message - build 897)

Close with reason: Package still available.;


text:
New package: EEO.CamIn version 3.1.0.73

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Verify:


text:
Remove version: CrystalDewWorld.CrystalDiskInfo.KureiKeiEdition version 8.12.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://osdn.net/frs/redir.php?m=ipconnect&f=crystaldiskinfo%2F74801%2FCrystalDiskInfo8_12_0KureiKei.exe
Response Error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
(Automated message - build 923)


text:
Modify: ImageMagick.ImageMagick version 7.1.1.39

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe returned exit code: 1

(Automated response - build 897.)


text:
Remove version: qBittorrent.qBittorrent version 4.6.5

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-4.6.5/qbittorrent_4.6.5_x64_setup.exe/download
OK
(Automated message - build 923)

Close with reason: Package still available.;


text:
Remove version: Wesnoth.BattleForWesnoth version 1.15.10

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Duplicate;


text:
Update Windows Admin Center to 1.2.24130.0 (Product version 2007)

Previous manifest fails with a hash mismatch due to a new GA release of WAC on 7/21: https://aka.ms/wac2007
Removed specific local from URLs

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] Have you validated your manifest locally with winget validate <manifest>, where <manifest> is the name of the manifest you're submitting?
[x] Have you tested your manifest locally with winget install -m <manifest>?

Microsoft Reviewers: Open in CodeFlow

I seem to get a 1603 error and the app is not installed.

authors: KevinLaMS jwwool


text:
Metadata: calibre.calibre 5.27.0 - Update Installer URLs

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.
Closes #28904

Microsoft Reviewers: Open in CodeFlow

I used the GitHub URLs so @wingetbot wouldn’t hit the DDOS protection the Calibre download server has. I was going to change the rest of them to match (since all of the downloads are mirrored on GitHub releases, which can handle the traffic), but I was told to wait to see if the maintainers could mitigate it.
It’s been months since this problem started, and it’s not really something that can be fixed on the bot side (since we need to be respectful of people with bandwidth limits). If the developer offers a perfectly good high bandwidth mirror, why wouldn’t we use it?

I see. The github releases are removed though, but they are still available from the calibre download server


text:
Update: Automattic.Simplenote version 1.4.0

null
Microsoft Reviewers: Open in CodeFlow

#42616


text:
New version: tailscale.tailscale version 1.26.1

Result: Installation Successful

Manifest
Add/Remove Programs

Name
Tailscale
Tailscale

Version
1.26.1
1.26.1

Publisher
Tailscale Inc.
Tailscale Inc.

ProductCode

Tailscale IPN

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 2242
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run


text:
Make Multi-line Field Exclude ending Newline

null
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run


text:
igoogolx.lux version 0.1.5

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree


text:
Windows 11 dev preview broken WSLg

Environment
Windows 11 build 22000.51, dev preview broken WSLg
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]
Your WSLg version: [Open 'Apps and Features' and check the version of 'Windows Subsystem for Linux GUI app support', e.g: 0.2.3.13]

Steps to reproduce
click Ubuntu 20.04 icon, wait many mins, then it exit

WSL logs:

Attach WSLg logs from  /mnt/wslg

You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)

puseaudio.log
weston.log
versions.txt

Expected behavior

Actual behavior

Hi, I install first windows 10 Pro, install wsl, join to insider, update to windows 11, install nvidia recommended drivers, install wslg and all work fine (nautilus, gedit and all workfloow), for now.
Now a install IntellIdea in linux and and I'm going to test that.
Exuseme for mi English, spanish is my native language

I confirm that after update to Windows11 developers preview wslg stops working.
You need to update wsl and then it works again.
But all wsl entries are missing from the start menu.

fixed it by follow steps
1, open a terminal as admin right
2, run
wsl --update
update to 5.10.16
3, wsl --shutdown
4, wsl

Sounds like everyone in this thread got their WSLg working again, closing the thread. Let us know if you are still experiencing issues.

authors: dpeterc maximo-draco spronovo wormwang

repo: microsoft/wslg


text:
Some WSLg applications can't interact with Windows 11 browser

Environment
Windows Build Number
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.22000.0 Microsoft Windows NT 10.0.22000.0

Distro: Fedora Linux 35
WSLg version: 1.0.26
Steps to reproduce

Install Gitkraken
Login into an account
Go to settings
Go to "Integrations"
Go to "Github"
Click "Connect to Github"

Expected behavior
I was expecting the browser to open (I've already have a $BROWSER env variable pointing to my Windows browser)
Actual behavior
Nothing happens

Hi @delucca, have you installed any browser in Linux? For me, the Linux version of Firefox starts up and process login. Btw, you are on very old version of WSLg, please update it from aka.ms/wslstorepage, thanks!

WSLg version: 1.0.26

@hideyukn88 thanks!
i don't have any browser installed on Linux, can't I link it to open the Windows browser?
Regarding the WSLg version, actually the installed app is Windows Subsystem for Linux WSLg Preview (which has the 1.0.26 version)
My WSL installation is custom (Fedora), I've searched for WSLg in the Microsoft Store but was not able to find anything. Also, if I run wsl --update from an elevated shell it says that is already up to date

@delucca, I think you will need a browser installed in Linux side. For WSLg update, please type aka.ms/wslstorepage to your Windows's browser, then Store app will start up with WSL page, thanks!

@delucca,

(I've already have a $BROWSER env variable pointing to my Windows browser)

May I ask what do you set in $BROWSER env ? thanks!

@hideyukn88 sure, here it is:
~
❯ echo $BROWSER
/mnt/c/Program Files/Mozilla Firefox/firefox.exe

It is the path to Firefox on my Windows machine.
BTW, I've just updated WSLg using your URL

@delucca, sorry for late response, I was able to observe same issue with GitHub CLI, and it looks it appears they don't handle space in path such as "Program Files" well, please see below error message. And if firefox is copied to the folder with no space in path, such as /mnt/c/tmp/firefox.exe, then Github CLI is able to launch Windows version of Firefox properly. Could gitkarken be same? Please let us know, thanks!
hideyukn@HIDEYUKN-SX2:~$ echo $BROWSER
/mnt/c/Program Files/Mozilla Firefox/firefox.exe

hideyukn@HIDEYUKN-SX2:~$ gh auth login
? What account do you want to log into? GitHub.com
? You're already logged into github.com. Do you want to re-authenticate? Yes
? What is your preferred protocol for Git operations? HTTPS
? How would you like to authenticate GitHub CLI? Login with a web browser

! First copy your one-time code: XXXX-XXXX
Press Enter to open github.com in your browser...
! Failed opening a web browser at https://github.com/login/device
exec: "/mnt/c/Program": stat /mnt/c/Program: no such file or directory
Please try entering the URL in your browser manually

For GitHub CLI case, by looking at https://github.com/cli/cli/blob/b9c1605c411167f1cb38e5323f038149c32a9a9f/pkg/cmdutil/web_browser.go#L28, it splits by space and first token is considered as executable, thus it doesn't work if path contains space.

Closing the issue as this is not actionable from WSLg.


text:
Manifest parsing has failed: Uploading the manifest on setting ngrok throws error in Teams

When I updated the environment file to configure the ngrok url locally. THe VS Code Extension regenerates the zip file fine. But unfortunately when I go to upload it I get an error:
Error while reading manifest.json: Url should start with "https://" Url should start with "https://"
The env file looks like this
version=1.0.0
appname=Moderator
fullappname=Meeting Moderator
baseUrl0=http://98fa4b61016d.ngrok.io

I can see $baseUrl0 referenced in the manifest everywhere , maybe its not replacing with the environment?

If I use the https ngrok url this works fine. We should add this in the instructions.

Thanks Jeremy!  Yes will add that to the instructions

repo: microsoftgraph/meeting-moderator-sample


text:
In _authCodeFlowHandler: failed to redeem authorization code

I use the Node.js and follow the Tutorials. The  error code as following:
{"name":"AzureAD: OIDC Passport Strategy","hostname":"tpea90100328","pid":17200,"level":40,"msg":"Production environments should always validate the issuer.","time":"2020-06-01T05:47:10.469Z","v":0}
{"name":"AzureAD: OIDC Passport Strategy","hostname":"tpea90100328","pid":17200,"level":40,"msg":"Using http for redirectUrl is not recommended, please consider using https","time":"2020-06-01T05:47:10.471Z","v":0}

The error in the http://localhost:3000  as following:
In _authCodeFlowHandler: failed to redeem authorization code: {"statusCode":400,"data":"{\"error\":\"invalid_request\",\"error_description\":\"AADSTS9002331: Application 'c441126d-df19-43bd-9da1-3eab6c53d417'(Node.js Graph Tutorial) is configured for use by Microsoft Account users only. Please use the /consumers endpoint to serve this request.\\r\\nTrace ID: 68666000-d43d-4049-b0ae-09d20a9a4e01\\r\\nCorrelation ID: a0fdf95e-aa73-455f-bafd-710a83a19c3e\\r\\nTimestamp: 2020-06-01 08:51:32Z\",\"error_codes\":[9002331],\"timestamp\":\"2020-06-01 08:51:32Z\",\"trace_id\":\"68666000-d43d-4049-b0ae-09d20a9a4e01\",\"correlation_id\":\"a0fdf95e-aa73-455f-bafd-710a83a19c3e\"}"}

Sorry, this is an error in setting Azure AD.
This problem is not an issue.


text:
Misaligned Text (VGA)

Describe the bug
When inputting a newline character into the write_str_centered_x function in VGA Mode the whole text gets misaligned.
To Reproduce
Steps to reproduce the behavior:

Go to 'vga_driver.rs'.
Use \n in a write_str_centered_x call.
You should see misaligned text.

Expected behavior
I expected the text to be outputted in the middle, but it went out of bounds.
fn my_page() {
    /*******************
    * Buggy Code Start
    *******************/

    write_str_centered_x(box_start_u, box_end_u, box_start_u.1 + 20, "Hepha Engine", Color16::LightGreen);

    write_str_centered_x(box_start_u, box_end_u, box_start_u.1 + 40, "Lorem ipsum dolor sit amet, \nconsectetur adiüiscing elit.", Color16::LightRed);
    write_str_centered_x(box_start_u, box_end_u, box_start_u.1 + 80, "Praesent velit sem, viverra \net elit quis, euismod euismod lectus.", Color16::LightRed);

    /******************
    * Buggy Code End
    ******************/
}

Will investigate

Hey there, may I see the whole function so I can find the bug/replicate it easier?

Updated issue to explain the issue in more detail and replaced the code screenshot with a code block

Fixed in this commit!
Thank you for reporting this bug!

repo: midas-os/MidAS

license: Unlicense


text:
Implement a number-count animation for DORA-cards

Why do we need this ?
we can add some animation to the cards' numbers on

similar to this

Acceptance Criteria

try not to introduce packages within the code base, writing optimized code will be appreciated

It's best if you apply these animation for the Deployment frequency and Change failure rate first. These look farely straight forward

using a component/custom-hook based approach is appreciated

[ ] TODO 1

[ ] TODO 2

[ ] TODO 3

Further Comments / References

Hey @KartikChawla09, sure you can take this up.

I'm assigning this to you. In case that changes, let me know and I'll unassign you.

I'm assigning this to you. In case that changes, let me know and I'll unassign you.

Thank you for assigning it to me. Can you have a look at #459 while I work on this ?

Hey @KartikChawla09, #459 was merged. 👏🏽 👏🏽 👏🏽
Feel free to continue on this.

Hey @KartikChawla09, #459 was merged. 👏🏽 👏🏽 👏🏽 Feel free to continue on this.

Yes! I am working on it. Will raise a PR ASAP.

Hey @e-for-eshaan @jayantbh .

The page is getting stuck on this loading animation for more than 5 minutes. It used to work previously but after fetching the latest commit it stopped to work.
I am attaching the logs below.

Is this an issue with my local deployment ?

Hey @KartikChawla09, this shouldn't have happened. Did you check if there is an older commit that seems to not have this issue?

The last commit I remember working correctly was this one. But maybe the issue is at my end only.  It would really help if someone could confirm that by checking on their local deployment.

Hey @KartikChawla09 , are you still working on this?

Hey @KartikChawla09 , are you still working on this?

Yes! I have implemented the counter as well but I am having some issues with my local deployment due to which I am not able to test the code locally. I will push the code when I am able to fix the issue. I have sent the error on  Slack as well.

@KartikChawla09 been a while, how's this coming up, should I assign this to someone else?

There was some issue with my local deployment, as I mentioned I raised as issue on Slack as well but it didn't get fixed so I couldn't test my code.
import { useEffect, useState } from "react";
const easeInOutQuad = (t: number) => {
return t < 0.5 ? 2 * t * t : -1 + (4 - 2 * t) * t;
};
const CounterAnimation = ({
targetValue,
duration,
}: {
targetValue: number;
duration: number;
}) => {
const [count, setCount] = useState(0);
useEffect(() => {
const flag = Math.floor(targetValue) === targetValue;
let start = 0;
const iterations = 10;
const time = duration / iterations;
const startTime = performance.now();
const counter = setInterval(() => {
const elapsed = performance.now() - startTime;
const progress = elapsed / duration;
const easedProgress = easeInOutQuad(progress);
start += 1;
flag
? setCount(Math.floor(easedProgress * targetValue))
: setCount(parseFloat((easedProgress * targetValue).toFixed(2)));
if (start >= iterations) {
clearInterval(counter);
setCount(targetValue);
}
}, time);
}, [duration, targetValue]);
return <>{count}</>;
};
export default CounterAnimation;
This code snippet might help the person who takes up this issue!

Thanks @KartikChawla09 for your contribution, even though we couldn't sort out issues with running Middleware on an 8GB RAM system. Hopefully we'll get an idea of how to deal with that in the near future.
Unless you're able to see if Gitpod works out for you (which based on the last time we chatted about this, you'd hit some limits).
I've unassigned the issue for now, such that someone else can take it up.

@jayantbh please assign this issue to me, I'll would like to pick this up.

Done, @xyfer17

@jayantbh can you help me out, I'm unable to load the dora metrics getting error from api side:
Endpoint: dora_metrics/fetchTeamDoraMetrics
{
    "message": "<!doctype html>\n\n<title>400 Bad Request</title>\n
Bad Request
\n
Invalid data: extra keys not allowed (path pr_filter[base_branches][0])
\n"
}

I think this broke as part of a recent axios upgrade. Could you check if this works with an older commit?

@jayantbh have checked using git bisect it broke in the commit  by axios version change
Updates `axios` from 0.26.1 to 0.28.0

Ah damn dependabot update. Let's see if we can revert that.

@jayantbh I have few questions on for the above ehancement:

Should the animation run only once (only on every page render), or do we need to reset or loop the animation under certain conditions?

on Deployment frequency the value always showing in whole number, can i show the animation over there in decimal  places or whole number.

If you want to keep it simple, then once per load, meaning when team changes or date changes or user navigates away and back to the page.
A better implementation might be to load it once at least 5 minutes after any of the above conditions have happened. This makes the animation happen after some time of inactivity instead of being more frequent and feeling noisy.

Can you Please take a look on the https://github.com/middlewarehq/middleware/pull/610 for the above issue.
Thanks :)

repo: middlewarehq/middleware


text:
autoregister class

Hello,
Before with php and 1 line I already had the class instantiated:
1)$object = new Class;
with flightphp I have to do 2 lines for each instance:
1)Flight::register ('Class', 'Class');
2)$object = Flight::Class();
Is it possible to autoregister?

https://flightphp.com/learn#frameworkinstance

It is about the custom classes that I add to the framework. In the manual it says:
Registering Classes
To register your own class, you use the register function:
// Register your class
Flight :: register ('user', 'User');
// Get an instance of your class
$ user = Flight :: user ();

FlightPHP is a framework, so there are a few more lines required.

It would be interesting if the Class class would be automatically registered when you do this:
$ object = Flight :: Class ();
1 single line and it is also prevented from registering classes that we don't use later.

it is torture having to add 2 lines for each class in my application. Self-registration.
Even if it is by configuration variable.
please.

It is not possible to auto register because how would PHP even know what classes to register?
But also you don't have to register all your classes. It's just a convenience method, but you can declare your classes like normal.

authors: magikstm mikecao oscarlosan

repo: mikecao/flight

license: mit

license_source: bigquery


text:
this.constants munges what's defined in this.config during initializations

setting up a test to see if GHE is supported and it seems like it is.
however, when attempting to query a known user from GHE using the setup perscribed in the readme, i'm redirect to use the public github.com apis rather than the prefixed GHE host.
It looks like the constants are always used within the config from the routes.defines area rather than the config.

A lot has changed since this ticket was created. Are you still seeing this?

There was an issue where any provided host in the config was being clobbered by the default non-enterprise one. It's been fixed.

authors: kaizensoze landongn

repo: mikedeboer/node-github


text:
Wildcards and "in" not working with integers

I am creating a rule for some object that I need to validate. The validation works fine when I use this syntax
"someArray.*.parentProp.childProp": ["required", "integer"]
However, when I add "in" with integer values I get the TypeError shown bellow.
"someArray.*.parentPro.childProp": ["required", "integer", { in: [0, 1, 2, 3] }]
TypeError: path2.indexOf is not a function

      3 | export default function validate(data, rules, customErrors) {
      4 |   const validatorCustomErrors = customErrors || {};
    > 5 |   const validator = new Validator(data, rules, validatorCustomErrors);
        |                     ^
      6 |   return validator;
      7 | }
      8 |

      at services/devices-api/node_modules/validatorjs/src/validator.js:299:25
          at Array.forEach (<anonymous>)
      at Validator._replaceWildCards (services/devices-api/node_modules/validatorjs/src/validator.js:295:10)
      at Validator._parseRulesDefault (services/devices-api/node_modules/validatorjs/src/validator.js:275:27)
      at Validator._parseRulesCheck (services/devices-api/node_modules/validatorjs/src/validator.js:244:12)
      at Validator._parsedRulesRecurse (services/devices-api/node_modules/validatorjs/src/validator.js:256:14)
      at Validator._parseRulesCheck (services/devices-api/node_modules/validatorjs/src/validator.js:242:12)
      at Validator._parseRules (services/devices-api/node_modules/validatorjs/src/validator.js:233:12)
      at new Validator (services/devices-api/node_modules/validatorjs/src/validator.js:19:21)
      at validate (services/devices-api/src/libs/validator-lib.js:5:21)

Hello
I believe you have the rule definition incorrect, it should be in formatted as a string, such as
"someArray.*.parentPro.childProp": ["required", "integer", "in:0,1,2,3" }]

Please adjust your code accordingly and see how this goes for you.
Mike

repo: mikeerickson/validatorjs


text:
Automated tests failing

The automated tests using devtools::test() fail. Presumably, the edits in the data still need to be incorporated.

You are correct! I forgot to adopt the new test data names. This has been fixed.


text:
🛑 OMSF is down

In dae0e67, OMSF (https://www.omsf.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OMSF is back up in 4c57b22 after 10 minutes.

repo: mikemhenry/website-uptime


text:
use ToLowerInvariant instead of ToLower

replace ToLower with ToLowerInvariant

@mikependon I just realized that I forgot to revert the changes I've made in Database.cs

repo: mikependon/RepoDb


text:
Tutorial 4 pvmodule performance

Adds content for tutorial 4 on module performance.  Just wanted to get something in before tomorrow. It still needs some markdown.

looks like you can view the goods here: https://github.com/mikofski/PVSC48-Python-Tutorial/blob/tutorial-4-pvmodule-performance/Tutorial 4 - Model a Module's Performance.ipynb

ok, @shirubana and @kanderso-nrel maybe you can take another look now?
https://nbviewer.jupyter.org/github/mikofski/PVSC48-Python-Tutorial/blob/tutorial-4-pvmodule-performance/Tutorial 4 - Model a Module's Performance.ipynb
If it's okay with you, maybe you can make comments, or merge this, and make edits in a separate PR?
I will add the parameter generation in another PR okay? I'd like to merge this asap, so we're all working on the same set of notebooks, okay?
thanks!

Thanks @mikofski for putting up with my plot bike shedding :)

authors: kanderso-nrel mikofski


text:
SchemaGenerator UpdateSQL does not reference schema name

Describe the bug
When updating the schema inside a postgresql database, the update SQL does not relate changes to the schema.
Result
alter table "customer" rename column "name" to "customer_name";

node_modules/@mikro-orm/postgresql/PostgreSqlExceptionConverter.js:38
                return new core_1.TableNotFoundException(exception);
                       ^
TableNotFoundException: alter table "customer" rename column "name" to "customer_name"; - relation "customer" does not exist

To Reproduce
Steps to reproduce the behavior:
The Wildcard Entity "Customer" has its property "name" changed to "customerName".
The script below is the code to update all existing tenant schemas for that change.

(async () => {
  const ormPublic = await MikroORM.init(MikroOrmOptionsPublic);

  const migrationPromise = new Promise((resolveMig, rejectMig) => {
    ormPublic.em.fork().transactional(async (emPublic: EntityManager) => {
      try {
        const platform = emPublic.getPlatform();
        const tenantSchemas = (
          await platform
            .getSchemaHelper()
            .getNamespaces(emPublic.getConnection())
        ).filter((ns: string) => ns != 'public'); // ['tenant__abc', 'tenant__xyz']

        for (const tenant of tenantSchemas) {
          MikroOrmOptionsTenanted.schema = tenant;
          const tenantedOrm = await MikroORM.init(MikroOrmOptionsTenanted);
          const asg = tenantedOrm.getSchemaGenerator();
          await asg.refreshDatabase();
          const sql = await asg.getUpdateSchemaSQL({
            schema: tenant,
          });
          console.log(sql); // Here is the result sql printed
          await asg.updateSchema({ schema: tenant }); // Here is the result sql being executed, which leads to the stacktrace
          await tenantedOrm.close();
        }

        resolveMig('success');
      } catch (e) {
        rejectMig(e);
      }
    });
  });
  const result = await migrationPromise;
  console.log(result);
  ormPublic.close();
  process.exit();
})();

Expected behavior
The update SQL should reference the schema:
alter table "tenant__abc"."customer" rename column "name" to "customer_name";
alter table "tenant__xyz"."customer" rename column "name" to "customer_name";

Versions

Dependency
Version

node
18.6.0

typescript
4.7.2

mikro-orm
5.2.1

your-driver
postgres

I guess is specific only to the rename queries, right? If you change something else and not just rename, it works correctly?

Correct. When I add a property, it references the schema inside the sql code.

The query comes from here and is used here - we have schemaName in that method defined.
PR welcome, I probably won't have time for this in next few days.

Im on it.

repo: mikro-orm/mikro-orm


text:
test: failing test for persisting collections after wrap().assign

New failing test for #467

Fixed via b9fe617a

Test still fails for me, could you please take a look?


text:
取消报错弹窗

我本地防火墙关了53端口，只想使用本工具，但是会遇到如下报错

我能想到的是修改代码取消这个报错弹窗，但是我不懂.net怎么写的，大佬能告诉我删哪的代码吗

你好，请修改此处配置更换可用的公网IP接口


text:
Remove table border spacing

Description
Remove table border spacing (both horizontal and vertical).
Addresses #141.
Table before

Table after

@tuunanen Good call! Thanks

authors: cjpatoilo tuunanen

repo: milligram/milligram


text:
After long uptime no longer able to control devices until hoobs restarted

Describe the bug
After weeks of consistent uptime, I will be unable to control my devices until I restart hoobs. In the log, I see this error:
11/11/2020, 4:26:02 PM [TuyaWebPlatform] [Bistro Lights] - Unsetting debouncedDeviceStateRequestPromise
11/11/2020, 4:26:02 PM [TuyaWebPlatform] [Bistro Lights] - [GET] No valid token
11/11/2020, 4:26:02 PM [TuyaWebPlatform] [House Christmas Lights] - Unsetting debouncedDeviceStateRequestPromise
11/11/2020, 4:26:02 PM [TuyaWebPlatform] [House Christmas Lights] - [GET] No valid token
And after restarting I get normal operation and see
11/11/2020, 4:26:03 PM [TuyaWebPlatform] [Bistro Lights] - Requesting device state
11/11/2020, 4:26:03 PM [TuyaWebPlatform] [Bistro Lights] - Creating new debounced promise
11/11/2020, 4:26:03 PM [TuyaWebPlatform] [Bistro Lights] - Triggering debouncedDeviceStateRequest

Steps To Reproduce
Obviously difficult to reproduce given the long uptime. I'm happy to throw in some debug statements or something and update when it happens again

Plugin Version
0.4.8

Homebridge Config

{
   "server": {
       "port": 8585,
       "origin": "*",
       "autostart": 15,
       "home_setup_id": "redacted",
       "polling_seconds": 5
   },
   "client": {
       "default_route": "status",
       "inactive_logoff": 30,
       "theme": "hoobs-dark",
       "locale": "en",
       "temp_units": "fahrenheit",
       "country_code": "US",
       "postal_code": "redacted",
       "latitude": "redacted",
       "longitude": "redacted"
   },
   "bridge": {
       "name": "HOOBS",
       "port": 51826,
       "pin": "redacted",
       "username": "redacted"
   },
   "description": "",
   "ports": {},
   "accessories": [
       {
           "accessory": "PurpleAir",
           "purpleID": 5,
           "updateFreq": 90,
           "name": "PurpleAir Air Quality",
           "plugin_map": {
               "plugin_name": "homebridge-purpleair",
               "index": 0
           }
       },
       {
           "accessory": "Chamberlain",
           "plugin_map": {
               "plugin_name": "homebridge-chamberlain",
               "index": 0
           },
           "name": "Garage Door",
           "username": "redacted",
           "password": "redacted",
           "deviceId": "redacted"
       }
   ],
   "platforms": [
       {
           "platform": "TuyaWebPlatform",
           "plugin_map": {
               "plugin_name": "homebridge-tuya-web"
           },
           "name": "TuyaWebPlatform",
           "scenes": false,
           "options": {
               "platform": "smart_life",
               "username": "redacted",
               "password": "redacted",
               "countryCode": "1"
           }
       }
   ]
}

Device Config

Getting credentials
Got credentials
{   'access_token': 'AZhaz1575155944565PvF8vZqSW8yaPyt',
'expires_in': 864000,
'refresh_token': 'AZhaz1575155944565PvF8vWxktsTlBjR',
'token_type': 'bearer'}
Getting devices
Got devices
{   'header': {'code': 'SUCCESS', 'payloadVersion': 1},
'payload': {   'devices': [   {   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d244ec_1',
'name': 'Front Yard Christmas Tree'},
{   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d244ec_2',
'name': 'Switch 2'},
{   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d24305_1',
'name': 'Garage Christmas Lights'},
{   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d24305_2',
'name': 'Switch 2'},
{   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d242d7_1',
'name': 'Trellis Christmas Lights'},
{   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d242d7_2',
'name': 'Switch 2'},
{   'data': {'online': True, 'state': True},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d23963_1',
'name': 'House Christmas Lights'},
{   'data': {'online': True, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d23963_2',
'name': 'Bistro Lights'}],
'scenes': []}}
Additional Context

Happy to help debug on this

Thank you for the extensive bug report.
This is really helpful in getting some insights.
Has this happened to you once? Or is this more of a recurring thing?

Hi @milo526 sorry for the delayed response. It's a recurring issue. I just noticed today I ran into it again for the first time since I filed the bug, which is a 10 day separation between drops. There's nothing critical that requires this to work for me, so I can leave it in the hung state if you have any debugging ideas I can try before restarting. And if you'd like me to run some debugging code to figure it out next time it hangs, I can do that too. Appreciate the help!

I have a very similar problem. My problem is repetitive and happens every 10 days. Previously I used to get a SIGTERM error every 10 days and needed to reboot but with this app I get a NO VALID TOKEN error and restarting the service seems to work, however it would be nice to sort it out.
23:11:20 Hoobs No Valid Token.txt
The config is:
{
"server": {
"port": 80,
"origin": "*",
"autostart": 0,
"home_setup_id": “redacted”,
"polling_seconds": 5
},
"client": {
"default_route": "status",
"inactive_logoff": 30,
"theme": "hoobs-light",
"locale": "en",
"temp_units": "celsius",
"country_code": "GB",
"postal_code": “redacted”,
"latitude": “redacted”,
"longitude": “redacted”
},
"bridge": {
"name": "HOOBS",
"port": 51826,
"pin": "redacted",
"username": "redacted"
},
"description": "",
"ports": {},
"accessories": [],
"platforms": [
{
"platform": "TuyaWebPlatform",
"name": "TuyaWebPlatform",
"options": {
"username": “redacted”,
"password": “redacted”,
"countryCode": xx,
"platform": "smart_life"
},
"plugin_map": {
"plugin_name": "homebridge-tuya-web"
},
"scenes": false,
"defaults": [],
"scenesWhitelist": [],
"hiddenAccessories": []
},
{
"platform": "Ring",
"plugin_map": {
"plugin_name": "homebridge-ring"
},
"refreshToken": "redacted"
}
]
}

Sorry I'm new to all this Plug-In version is 0.4.8

I've experienced the exact same issue. If you need some more info or logs, please let me know.
Plugin version 0.4.8

Are y'all using hoobs?

I’m using homebridge + Homebridge Config UI X

Are y'all using hoobs?

I am

yes. I'm on HOOBS 3.2.10 the current version.

Upgraded to Hoobs 3.3.1 yesterday (1/12/20) so will see what happens in 10 days time.

Got the problem again. About 9 days after the previous time.

I found the issue 🎉
I'm fixing this along with some other issues, just working on the last few bugs. Expect a beta release to land somewhere this week.

Wow great! Care to explain, in high level, what the problem was? Just curious.

Tuya uses so called "access tokens". I use your username and password to request one of these access tokens from the tuya server.
Whenever I want to do something with your devices, I need to send the access token along to ensure tuya that the request is coming from the owner of the device.
These access-tokens are valid for.... you guessed it... 10 days.
Previous versions of this library used to request a new token after just under 10 days to ensure that you always have a fresh token.
Somewhere in a code change; that code that refreshes the token got removed by me (don't ask me why 😛, I don't know) and thus your token won't be valid after 10 days and you get the error.
I once again added some code that refreshes your token after 9 days and 23 hours to ensure that you once more always have a fresh token.

Excellent news. And thankfully a fairly simple solution.

@milo526 Will you be pushing a new release out?
I'm hitting this and have the latest version 0.4.8 installed according to Homebridge and here.  Looks like you have later builds, but they aren't tagged correctly so users of Homebridge haven't been getting your updates since Sept.

I've noticed in the homebridge UI you can select the newer version, although it defaults to the latest "release" tag

Thank you for your concern,
I am aware that these releases were not tagged "latest". Mostly because they are either completely untested or are known to contain severe bugs.
These tags (i.e. the heater-cooler tag) are meant to enable others to easily test new releases.
I know I haven't pushed a new public release since September. As you figured out I definitely did do work on the plugin but sometimes personal life gets in the way of opensource work 😛

And this is now released in pre-release version 0.5.4.
If you want to; you can update to this pre-release.
Please let me know if you have any issues!

Sorry to be a pain. How do I update to the pre-release? I am using HOOBS.
Thanks for any help or direction.
Mike

Stop HOOBS
Run these commands in the terminal

cd ~/.hoobs/
npm install @milo526/homebridge-tuya-web@0.5.4

Restart HOOBS

Thanks very much.
Mike

Hoorah! Broken the 10 day barrier…. Thanks Milo.


text:
No output after platform initialisation

I sincerely apologize as I'm a total Noob and just started using Homebridge about 3 days ago. I just installed a new fan control light switch and linked it to the Smart Life app. I installed the plugin @milo526/homebridge-tuya-web v0.3.3 and logged in with all my credentials and everything and once I restart homebridge it loads everything up and says "[TuyaWebPlatform] Initializing TuyaWebPlatform..." and nothing more. Am I doing something wrong? Again I'm sorry for the really dumb basic question. I just really want to get this working.

Hello, please try running homebridge with debug mode enabled and post the output here. In debug mode it will output more.
Furthermore please use the provided issue templates next-time, I think this could have fitted the bug template nicely.

I got two bits of information from debug mode for the plugin
[7/8/2020, 19:37:49] [TuyaWebPlatform] Initializing TuyaWebPlatform...
follow-redirects options {
protocol: 'https:',
maxRedirects: 21,
maxBodyLength: 10485760,
path: '/homeassistant/auth.do',
method: 'POST',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/x-www-form-urlencoded',
'Content-Length': 96,
'User-Agent': 'axios/0.19.2'
},
agent: undefined,
agents: { http: undefined, https: undefined },
auth: undefined,
hostname: 'px1.tuyaeu.com',
port: null,
nativeProtocols: {
'http:': {
_connectionListener: [Function: connectionListener],
METHODS: [Array],
STATUS_CODES: [Object],
Agent: [Function],
ClientRequest: [Function: ClientRequest],
IncomingMessage: [Function: IncomingMessage],
OutgoingMessage: [Function: OutgoingMessage],
Server: [Function: Server],
ServerResponse: [Function: ServerResponse],
createServer: [Function: createServer],
get: [Function: get],
request: [Function: request],
maxHeaderSize: [Getter],
globalAgent: [Getter/Setter]
},
'https:': {
Agent: [Function: Agent],
globalAgent: [Agent],
Server: [Function: Server],
createServer: [Function: createServer],
get: [Function: get],
request: [Function: request]
}
}
} +0ms
[7/8/2020, 19:37:51] [TuyaWebPlatform] Refreshing state for all devices...
follow-redirects options {
protocol: 'https:',
maxRedirects: 21,
maxBodyLength: 10485760,
path: '/homeassistant/skill',
method: 'GET',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/json;charset=utf-8',
'User-Agent': 'axios/0.19.2',
'Content-Length': 136
},
agent: undefined,
agents: { http: undefined, https: undefined },
auth: undefined,
hostname: 'px1.tuyaus.com',
port: null,
nativeProtocols: {
'http:': {
_connectionListener: [Function: connectionListener],
METHODS: [Array],
STATUS_CODES: [Object],
Agent: [Function],
ClientRequest: [Function: ClientRequest],
IncomingMessage: [Function: IncomingMessage],
OutgoingMessage: [Function: OutgoingMessage],
Server: [Function: Server],
ServerResponse: [Function: ServerResponse],
createServer: [Function: createServer],
get: [Function: get],
request: [Function: request],
maxHeaderSize: [Getter],
globalAgent: [Getter/Setter]
},
'https:': {
Agent: [Function: Agent],
globalAgent: [Agent],
Server: [Function: Server],
createServer: [Function: createServer],
get: [Function: get],
request: [Function: request]
}
}
} +511ms

Did that information help?

With all due respect, there is no need to ping this after 50 hours. I'm in the middle of the test weeks of my study; I hope you understand that has priority over this library for me now. If you want it fixed this badly please submit a PR and I'll be sure to swiftly take a look at it.
Lastly if this is all the output you get please take a look at "How to check whether the API this library uses can control your device?" cause probably none of your devices are compatible (if they where, there would be more debug output).


text:
Updated to 2.0, all tests passing

Updated to asp.net core 2.0 and identity 2.0 using these guides:
https://docs.microsoft.com/en-us/aspnet/core/migration/1x-to-2x/
https://docs.microsoft.com/en-us/aspnet/core/migration/1x-to-2x/identity-2x
I need some help double checking the cookies configuration - that's something I'm not 100% sure of.

Hi @wtvamp,
Thanks for your contribution.
I took a quick look for this.
Tests pass but the I encountered a number of issues with trying out the IdentitySample.Mvc project. Register\Login doesn't work, according views need to be updated and probably Configure`ConfigureServices` methods need to be revised.
As for the cookies, there is according section in this article: https://docs.microsoft.com/en-us/aspnet/core/migration/1x-to-2x/identity-2x
I tried that and can't now encounter InvalidOperationException: No IAuthenticationSignInHandler is configured to handle sign in for the scheme: Identity.Application error when trying to login.
Anyway, will dig into it once I have some free time.

@wtvamp @miltador has this got anywhere? Tempted to just clone/fix and do my own, but happy to help fix this if there's a commitment to push it out to nuget in a reasonable timeframe

authors: martinjt miltador wtvamp


text:
Let range search accept distance square as radius

Signed-off-by: yudong.cai yudong.cai@zilliz.com

/lgtm

repo: milvus-io/knowhere


text:
enhance: RBAC operate privilege V2

issue: https://github.com/milvus-io/milvus/issues/37031

/lgtm

/approve

authors: congqixia shaoting-huang weiliu1031

repo: milvus-io/milvus-proto


text:
See if removing Ramda as a dependency is an option

Ramda may not be strictly required as a dependency. See if it's possible to remove it.

Seems like it's technically possible but used way too much everywhere. If it becomes necessary to optimize the code then maybe.

repo: mimshwright/fease


text:
Create a script to remove bounced emails from SendGrid

Create a script to remove bounced emails from SendGrid

I created it, just need to polish it and do a PR

Waiting for PR review

repo: mindee/devrel


text:
Fix tuple typing

Description
Fixes a problem of future annotations.
When using the newer typing system (types are strings), the check on unpack_to doesn't work. This fixes it.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

I will forward port it right now

repo: mindee/tawazi


text:
Thank you !

Ok, it's not about a problem, just to say thank you !
I use your woocommerce integration and it's very cool to use both timber and woocommerce, it works like a charm.
The project is still maintained ? What about the "next" branch release ?
I would participate on this project after the end of my current woocommerce/timber project.
Have a nice day !

Hey @Frulko! Thanks, it’s great to hear that it’s working well for you!
It’s still maintained yes, though I’m not actively working on new features now. There will be some bigger updates as soon as Timber 2.0 is coming, which should simplify this integration (see #6).
I have to admit that I forgot about the next branch, probably because nobody raised an issue for a long time 😅 and I didn’t work on new WooCommerce projects.
You’re always welcome to participate! You could either create a new issue to discuss what you had in mind or create a pull request directly.

I am not yet doing the integration of your package. But just to read the features. I'm in love. I will also contribute if from here timber it does not clog the cu to offer us a good integration. good job.

authors: Frulko epiphaneSpecter gchtr

repo: mindkomm/timber-integration-woocommerce


text:
Removed rotate for pillar node

Please review these changes.
I removed the rotate on placement for the pillar node.

I can't merge this. There is so much wrong with this commit... Did you use the "file upload" method in github?
Please, follow this guide to learn how to make good PRs in git/github: https://forum.minetest.net/viewtopic.php?f=3&t=14262

Can you redo this?

Please don't make two separate changes in a single pull request.  This does more than just remove the old horizontal pillar code, it also changes the formatting.  Those should be separate pull requests.  Also, you need to redo your pull request because of some recent changes which overlap with yours.
Side Note:
In general, pull requests which change the existing code formatting aren't well received.  What matters with indentation and formatting is that it is consistent throughout the project, not that it matches what you personally like best.

:-1: I am not in favor of removing rotation for the pillar.  It was supposed to behave something like a tree trunk does, in that it can be laid horizontally if the builder wants to.

I didn't even notice that it removed rotation entirely, I thought it just removed the old horizontal node that was used before 6d facedir.  I guess I didn't take a close enough look.  Definitely won't merge.  (I also just noticed that it changes the dig noises to stone, which I don't like either)

Let's just close this, the intended change isn't desired, and the PR itself contains unrelated changes.

I apologize for any issues this caused, or if my improper means of
submitting the PR caused any offense. I had made the changes based on the
fact when I added quartz to the angles walls, when placed next to another
quarts pillar node, the rotation kicks in and alters the vertical pillar.
A lesson learned.
On Wed, Jul 27, 2016 at 11:47 PM, Auke Kok notifications@github.com wrote:

Closed #2 https://github.com/minetest-mods/quartz/pull/2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/minetest-mods/quartz/pull/2#event-737344069, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARoMIjvTAUa86NVFTeHdWoOhIWnnd7GXks5qaCZggaJpZM4JErCO
.

authors: 4Evergreen4 TumeniNodes VanessaE sofar

repo: minetest-mods/quartz


text:
[suggestion] a simple LengthRegulator

class LengthRegulator(nn.Module):
    """ Length Regulator """

    def __init__(self):
        super(LengthRegulator, self).__init__()

    def LR(self,x,duration,max_len):
        N, T, D = x.shape  # batch size

        unbatch_x = x.reshape(-1,D)
        unbatch_duration = duration.flatten().long()
        output = torch.repeat_interleave(unbatch_x,unbatch_duration,axis=0)
        output = output.reshape(N,-1,D)

        mel_len = duration.sum(-1)
        if max_len is not None:
            output = pad(output, max_len)
        else:
            output = pad(output)

        return output, mel_len.long()

    def forward(self, x, duration, max_len):
        output, mel_len = self.LR(x, duration, max_len)
        return output, mel_len

@hccho2
Can you expect that suggestion to make the model jit traceable?

@KinamSalad
I wasn't thinking of a jit decoration.
I only considered a simple implementation.

@hccho2
Do you expect that the suggestion to make the model jit traceable?

See #35 for a JIT traceable length regulator

Using repeat_interleave to replace for is a good idea. But could output.reshape(N,-1,D) get the right result since different samples in a batch have different lengths? Maybe replacing for with repeat_interleave in expand function is better. It can speed up during training and inference.
    def expand(self, batch, predicted):
        """
        Args:
            batch (torch.float32): shape: (TextLen, Hidden)
            predicted (torch.int64): shape: (TextLen,)
        """
        # out = list()
        # for i, vec in enumerate(batch):
        #     expand_size = predicted[i].item()
        #     out.append(vec.expand(max(int(expand_size), 0), -1))
        # out = torch.cat(out, 0)

        out = torch.repeat_interleave(batch, predicted.long().clamp(min=0), axis=0)
        return out

authors: KinamSalad hccho2 hellolzc xDuck


text:
Undefined is not a function on the directive link method

Hi,
First, thanks for your package. I encountered a weirdz bug, i'm not sure how to solve it.
I correctly loaded the resources in my index.html
<link rel="stylesheet" href="./bower_components/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.min.css" type="text/css"/>
[...]

Then i load the dependence inside my app.js. I use the default configuration inside the provider (the one provided by the readme) :
.config(function (ScrollBarsProvider) {
    ScrollBarsProvider.defaults = {
        scrollButtons: {
            scrollAmount: 'auto', // scroll amount when button pressed
            enable: true // enable scrolling buttons by default
        },
        scrollInertia: 400, // adjust however you want
        axis: 'yx', // enable 2 axis scrollbars by default
        theme: 'dark',
        autoHideScrollbar: true
    };
})

Next, I have the element call within a dynamic menu builder :

When it is rendered, i get :
TypeError: undefined is not a function
at ScrollBarsDirective.link (http://192.168.0.14:8000/bower_components/ng-scrollbars/src/scrollbars.js:69:14)
at http://192.168.0.14:8000/js/app.min.js:2:4695
at oe (http://192.168.0.14:8000/js/app.min.js:2:4752)
at w (http://192.168.0.14:8000/js/app.min.js:1:31242)
at a (http://192.168.0.14:8000/js/app.min.js:1:27065)
at w (http://192.168.0.14:8000/js/app.min.js:1:31191)
at a (http://192.168.0.14:8000/js/app.min.js:1:27065)
at w (http://192.168.0.14:8000/js/app.min.js:1:31191)
at http://192.168.0.14:8000/js/app.min.js:2:2467
at c (http://192.168.0.14:8000/js/app.min.js:2:27186)

The error comes from a function call inside the link method  :
elem.mCustomScrollbar(config);
From my perspective, it means that mCustomScrollbar isnt declared/defined inside elem context. I don't understand why....
Any ideas about what could be the problem ?  Anyone encountered this ?
Thanks!

Hmm, it looks like mCustomScrollbar isn't defined for some reason (either the scrollbar elem or mCustomScrollbar is null). Are there any other errors on the page and did the page include jquery.mCustomScrollbar.concat.min.js correctly? Are you using ng-scrollbars within another directive? Overall, if we could somehow reproduce the scenario you're running it in it would help to debug the issue since I haven't seen it yet.
I created a basic demo (http://minhongrails.github.io/ng-scrollbars/demo3.html) to replicate your situation but it appears to work so please take a look at it to see if there's anything missing. For example, did you inject ngScrollbars for your app?
var app = angular.module('app', ['ngScrollbars']);

I have included all ressources and the dependence correctly.  Yes it is included inside another directive, is this bad ? I'm investigating your demo and my code.

Including it inside another directive should be fine but another user had issues so overall it just depends how you're using it inside the other directive. In general, if we can somehow replicate your scenario in a test case (maybe like a modified version of demo3.html) then I can see the problem and try to fix it

Here some information about the context (sorry the project starting to be big, it's not easy to make a test case) :

The ng-scrollbars directive is located in a html file
The html file is loaded from a module's directive by using 'templateUrl'
This module is then loaded as a dependancy inside my main application.

I think i made a mistake about 'which module' need to load the dependency. I'm trying to see if it works to load it inside the directive module.

Ah okay, well, I'll probably try to create some test scenarios for ng-scrollbars within other directives at some point, but it may just be guesswork until I can see the errors you're encountering. However, I do appreciate all the info you've provided!
The quick solution is you may not even need ng-scrollbars. You might be able to just call the following from within your directive:
elem.mCustomScrollbar(config);
// you can use the config object that I have in the examples or go to http://manos.malihu.gr/jquery-custom-content-scroller/ to read more info

That was the solution we had for the other ng-scrollbars user who had issues using it within another directive. Basically the problem was that his directive was adding/compiling/linking ng-scrollbars too late where his ng-scrollbars was applied before his directive had any content, so it wasn't showing the scrollbars since mCustomScrollBar saw an empty div. He didn't get an error like you do, however. Instead he just didn't see any scrollbars.

Issue solved, the problem was the order of js inclusion inside my index.html. Creating a fresh project with yo, and added some module, I had something like :

It was important for some module to not be included before the app.min.js. So i decided to add all other libs after this app.min.js. Even jquery, which was absolutely not a problem with other jquery-module. Now i guess since my directive was inside a directive, this directive was loaded first (via app.min.js), but when he found the directive of jquery module (not loaded yet), it triggered my error.
So my solution, place 'only' jquery and the required jquery module before your angular app.min.js, like this :

What a waste of time, thanks you for your analyze, hope my response will help others ;).
S.

Yay! I'm glad you got it working :), and thanks so much for the detail, I'm sure it will help anyone else who encounters similar issues. If it wouldn't be too much trouble, would you mind staring this repo? That'll really help me, since more people will use the project so it'll be tested more and be better overall.
Thanks!

repo: minhongrails/ng-scrollbars


text:
Fatal Error: "Share article" feature

Using the latest development version with the "Share article" feature, I get the following fatal error:
[FATAL] [Template] Unable to render template: template: main:480:30: executing "content" at <.user>: can't evaluate field user in type *model.Enclosure

I just fixed it in the last commit.

Thank you, now it's working again!

authors: fguillot stratmaster

repo: miniflux/miniflux


text:
DOCS-309: MinIO Hybrid Cloud User Management

Issue resolves #309
Summary
Document MinIO Console-based User, Group, and Policy management. Includes Service Account docs.
Key pages:

http://127.0.0.1:8000/tutorials/user-management.html
http://127.0.0.1:8000/tutorials/group-management.html
http://127.0.0.1:8000/tutorials/policy-management.html

Build Instructions
Clone, fetch, and checkout DOCS-309 branch.
python -m pip install --user virtualenv
python3 -m venv venv

source venv/bin/activate
pip install -r requirements.txt
make html
python -m http.server --directory build/DOCS-309/html

just a question on User Management:
3) Copy the Service Account Credentials

Should we also mention that if credentials are lost you will have to recreate the Service Account?

just a question on User Management:
3) Copy the Service Account Credentials

Should we also mention that if credentials are lost you will have to recreate the Service Account?

just a question on User Management:
3) Copy the Service Account Credentials

Should we also mention that if credentials are lost you will have to recreate the Service Account? Or is it implicit?

Oh, yes definitely. Also need to include that you cannot update the credentials or policy after creation. Will add that to next patch.

just a question on User Management:
3) Copy the Service Account Credentials

Should we also mention that if credentials are lost you will have to recreate the Service Account? Or is it implicit?

Oh, yes definitely. Also need to include that you cannot update the credentials or policy after creation. Will add that to next patch.

on Group Management:
Open the Group Management Interface: .... If the Admin navigation group is collapsed...

Should we mention that if the Admin page is not visible is because the user might not have enough permissions?

on Group Management:
Open the Group Management Interface: .... If the Admin navigation group is collapsed...

Should we mention that if the Admin page is not visible is because the user might not have enough permissions?

Apart from that everything looks neat!

Apart from that everything looks neat!

on Group Management:
Open the Group Management Interface: .... If the Admin navigation group is collapsed...

Should we mention that if the Admin page is not visible is because the user might not have enough permissions?

Yeah, I actually intend to go into a lot more detail in the security collapsible as far as the exact perms needed in a second pass. For now I will definitely make that explicit.

on Group Management:
Open the Group Management Interface: .... If the Admin navigation group is collapsed...

Should we mention that if the Admin page is not visible is because the user might not have enough permissions?

Yeah, I actually intend to go into a lot more detail in the security collapsible as far as the exact perms needed in a second pass. For now I will definitely make that explicit.

repo: minio/docs


text:
Refactor S3 client implementation

Added below S3 APIs

abort_multipart_upload()
bucket_exists()
complete_multipart_upload()
create_multipart_upload()
get_object()
list_buckets()
make_bucket()
put_object()
put_object_api()
remove_bucket()
remove_object()
stat_object()
upload_part()

Signed-off-by: Bala.FA bala@minio.io

@balamurugana can you add github actions workflow? and add tests here.

@balamurugana can you add github actions workflow? and add tests here.

It is added already https://github.com/minio/minio-rs/pull/13/files#diff-4ff0ade1283b13d85e91dc8f2c7de65755641d62dab43db4129bee31d50a40ca. But it is not kicking in!

It is added already https://github.com/minio/minio-rs/pull/13/files#diff-4ff0ade1283b13d85e91dc8f2c7de65755641d62dab43db4129bee31d50a40ca. But it is not kicking in!

Can you "ammend" and push again?

authors: balamurugana harshavardhana

repo: minio/minio-rs


text:
Add script to allow IP address to be assigned

Todo

[ ] create minishift-staticip.sh script

if IpAddress is available
else leave DHCP setting

[x] add executable to ISO image

[x] first use: https://github.com/gbraad/go-hvkvp/releases/tag/0.1
[x] use latest from https://github.com/gbraad/go-hvkvp/issues/3

Refer: https://github.com/minishift/minishift/issues/1316

Extension is available at: http://files.gbraad.nl/hvkvp/

Testing with #61

Want to be able to force an IP address using a file, such as network and network-scripts works. In our case, the file will have to reside on /mnt/sda1/etc/???

blocker: pool gets cleared on start boot2docker/boot2docker#1274
workaround does not provide a good enough experience (needs to disable IPv6)


text:
Add repo transit-gateways and assign Stuart push access

This is to enable Delius support access to create transit gw attachments/resource access management.

Thanks @Nimphal ! is this stuck though?

Closing and reopening to give terrafom a kick

Was stuck, all good now, merge at your leisure :)

repo: ministryofjustice/github-collaborators


text:
Add rate limiting to the authentication endpoints

Following a recommendation by CodeQL, I’ve added some rate limiting to the endpoints that use authentication. This uses express-rate-limit and rate-limit-redis to prevent too many requests to specific endpoints/middleware. The rateLimiter function has options we can pass to set the window and max number of requests that can be made to an endpoint before hitting a rate limit.
For the authentication endpoints, I’ve set this to 10 requests per IP address per 10 minute window, and 100 requests per 1 minute windw for the authorisation endpoints which seems like a reasonable default to start with.

I'm going to close this as a no-op. It's going to be tricky to do rate-limiting on an IP basis, as the IP addresses that will be accessing the application will be limited to a handful of IPs from the corporate network or VPN, so we'll end up rate limiting unneccessarily. It's also low-risk as the application is purely internal.


text:
Referral dto

What does this pull request do?
Add tests for creation of DraftReferral dto from the Referral Entity object
What is the intent behind these changes?
Ensure draft referral created correctly

couple of "hygene" things

please ensure PR titles are descriptive
these three commits should be squashed down into a single commit, with a descriptive commit message. see here for a (much better than the one i gave you) explanataion of why.

authors: karenmillermoj tomsmyers


text:
Create testing strategy

User Story
A testing strategy to inform decisions around:

Smoke testing
How we can test without breaking the platform and/or applications
How we test infrastructure
Defining the borders between AWS core components and our platform (we don't want to test the former)
How we define the borders between our platform testing and application testing

Value

Questions / Assumptions

Definition of done

[ ] readme has been updated
[ ] user docs have been updated
[ ] another team member has reviewed
[ ] tests are green

Reference
How to write good user stories

More detailed ticket for the networking side of things here - https://github.com/ministryofjustice/modernisation-platform/issues/1036

authors: davidkelliott seanprivett


text:
Master

commit_101

changes not made yet.

repo: minitekle/github-slideshow


text:
Report#3 2019010923 신민기

안녕하세요 교수님!
레포트3 코드 및 실행 결과 제출합니다!
문제1 코드입니다.
for 반복문을 이용하여 오름차순, 내림차순 정렬 함수를 만들어봤습니다.

실행 결과입니다.

문제2 코드입니다.
올바르지 않은 값을 입력할 경우 다시 입력 받도록 코드를 만들었습니다.

실행 결과입니다.

@swcho84


text:
🛑 Miniflux is down

In 08ec235, Miniflux (https://rss.mint.lgbt) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Miniflux is back up in f2f75f0 after 22 days, 5 hours, 5 minutes.

repo: mint-lgbt/status


text:
🛑 Matrix is down

In 8fb28cb, Matrix (https://matrix.mint.lgbt:8448/_matrix/federation/v1/version) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Matrix is back up in a28b767 after 16 minutes.


text:
🛑 Matrix is down

In 8df8133, Matrix (https://matrix.mint.lgbt:8448/_matrix/federation/v1/version) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Matrix is back up in 02b23d2 after 6 minutes.


text:
Add snippets for React Native

I think that it would be good to add some snippets for React Native in the future. Someone agree?

I've found some snippets for RN here:
https://gist.github.com/hoetmaaiers/93859527afbcb3ffe2e62f41e5f8e86e

authors: Itisfilipe aiserg

repo: minwe/jetbrains-react


text:
全站 MIP 偶现页面无法滚动 bug

BUG 描述
全站 MIP 偶现页面无法滚动 bug
https://www.mipengine.org/v2/guide/component/introduction.html
来回切换，偶现，页面无法滚动，页面元素可选择，没有透明 mask 盖在页面上
复现步骤
页面来回切换，有一定几率复现
期望结果
正常滚动
环境及版本信息:

OS: Mac OS
Browser: Chrome
浏览器 Version: 68

是在 PC 上的设备调试模式下么？

authors: PengXing xiaoiver


text:
mip-img的popup轮播图中desktop和mobile的效果应做出区分

要解决什么问题
清晰准确的描述要解决什么问题
大图浏览下，图片长度明显大于宽度，在desktop下，宽度依然充满整个屏幕导致体验不好。
描述一下你理想中的解决方案
清晰准确的描述你想怎么解决
做出区分
描述你的备选方案
清晰准确的描述你考虑的备选方案
补充信息
补充其他信息，如截图等
https://www.mipengine.org/v2/guide/component/instance-life-cycle.html
目前效果可看链接中最后的生命周期图

一句话，就是 contain..

contain 在我的理解中，就是图片本身的高度宽度比与屏幕的高度宽度比进行比较，根据比较的结果设置图片的高度或宽度为 100% 。
而 mip-carousel 这个组件下的图片一般是同一高宽比，但是大图浏览的情况会有不同高宽比的图片，所以可能每次滑动都需要调整 mip-carousel 的高度或宽度为 100% 。这样的体验可能会比较好。

authors: PengXing craigchencc


text:
Not pulling down torrents on Catalina 10.15.1

Worked perfect on Mojave, I can see the shows under "Recent episodes".

What happens if you click the "download again" button in that window?

What happens if you click the "download again" button in that window?

Absolutely nothing :(

But your torrent client opens normally when you click a magnet: link on a website?

But your torrent client opens normally when you click a magnet: link on a website?

Correct

As far as I know, what Catch does when you click "download again"(https://github.com/mipstian/catch/blob/master/Sources/App/Browser.swift#L14) should be basically the same as clicking a magnet: link.
Are you getting anything in Console.app when you try to "download again"?

Closing due to inactivity

authors: dontcrash mipstian

repo: mipstian/catch


text:
Line Editing for Irmin README

Please let me know if you need any changes.

Thanks! I like it, I just had some minor suggestions for you to consider

Thanks so much! Committed all your suggestions.

My pleasure! So happy to help!

repo: mirage/irmin

license: isc


text:
Permit pseudocode syntax

Resolves #26
Not 100% sure if I interpreted this issue correctly...feel free to tell me you meant something completely different 🙂

Sorry for the confusion. I was thinking more an option to convert a file written in the pseudo code to a file with the quotes, and back again. Not actually executing the pseudo code option

I could imagine that being useful...but the first way I think of would require multiple sources of truth. I'll think about it a bit.

Alright, so I didn't come up with a way to do this without adding a new source of truth. Here's a sketchy file that (in my first test, at least) can convert between pseudocode and The Force statements. It does make a couple minor assumptions, but I think it mostly should work.
It also has starter code for converting from pseudocode or The Force into a video montage of quotations from Star Wars! But I didn't see a way to combine videos in C# without downloading extra gunk (and there probably isn't one), so I left that part as an exercise for the user.

authors: Forgind mirdaki

repo: mirdaki/theforce


text:
Add missing DATABASE_SSL variable to .env.dev

📖 Description
We have a DATABASE_SSL environment variable but it was not documented anywhere.
🦀 Dispatch

#dispatch/elixir

🦀 Requesting reviewers for this pull request:

@gcauchon (contributor with 1 commits in the last 90 days and 44 commits overall)
@matkev (reviewer for the elixir stack)

authors: mirego-builds remi

repo: mirego/elixir-boilerplate


text:
[Information needed] Customer deletion

Hello,
I just saw and searched to discover that there is no mechanism inside saleor to delete a customer (if I'm not wrong at least).

Would it be possible to fully and safely delete a customer? (by deleting its row in cascade in the database);
Would you plan to add (at least) an option for the staff members to delete a customer or give the customer a way to request its account and data deletion? (with a few days to wait of course).

The main issue is that from the European law (the Right to erasure), we must be able to delete the data about a user in its entirety.
Thank you in advance for your answers!

We're going to address the GDPR requirements in Saleor so removing the customer will have to be implemented in some way. Right now the Order model has a nullable reference to User so removing an account shouldn't break the order history.

Sounds good and great to me. Thank you for the answer!

authors: NyanKiyoshi elwoodxblues

repo: mirumee/saleor


text:
Saleor 2.0 and docs

Hi,
I was wondering if there was any plan into updating the docs as Saleor 2.0 was updated.
First of all: the logo.
Then, maybe adding a bit of CSS to remove the hard blue with something else, same with the dark area if needed.
Is there any other change we should/ could do to make the docs fit with the 2.0 or anything planned?

Sure, docs styling should be adjusted accordingly, we've discussed this internally, but not sure if we already have a vision on how we want them to look like, as we wanted to do something more than just a simple color change. Sphinx gives us lots of possibilities in here.

Yes, we're definitely planning a larger docs overhaul. Saleor's lead, @maarcingebala, is still in SF after attending the GraphQL Summit so expect the pace to pick up again next week.

Alright, thanks for the info! Sounds great.
I will close this as it's already something that is planned.

authors: NyanKiyoshi Pacu2 patrys


text:
Stripe Payment Plugin Missing Error on Checkout Complete

What I'm trying to achieve
I'm trying to complete checkout using Stripe
Steps to reproduce the problem

On version 2.10, buy some items, enter in an address and contact details, shipping methods
Enter Stripe SK and PK in plugin's configuration
Complete checkout with Stripe

What I expected to happen
Checkout completes
Screenshots

ERROR saleor.payment.gateway Error encountered while executing payment gateway. [PID:36919:Thread-3]
Traceback (most recent call last):
  File "/Users/adrienshen/Documents/Fl/cabinet1/code/sp2/SaleorCabinetAPI/saleor/payment/gateway.py", line 212, in _fetch_gateway_response
    response = fn(*args, **kwargs)
  File "/Users/adrienshen/Documents/Fl/cabinet1/code/sp2/SaleorCabinetAPI/saleor/plugins/manager.py", line 286, in process_payment
    return self.__run_payment_method(gateway, method_name, payment_information)
  File "/Users/adrienshen/Documents/Fl/cabinet1/code/sp2/SaleorCabinetAPI/saleor/plugins/manager.py", line 361, in __run_payment_method
    f"Payment plugin {gateway} for {method_name}"
Exception: Payment plugin Stripe for process_payment payment method is inaccessible!
ERROR saleor.payment.gateway Error encountered while executing payment gateway. [PID:36919:Thread-3]
Traceback (most recent call last):
  File "/Users/adrienshen/Documents/Fl/cabinet1/code/sp2/SaleorCabinetAPI/saleor/payment/gateway.py", line 212, in _fetch_gateway_response
    response = fn(*args, **kwargs)
  File "/Users/adrienshen/Documents/Fl/cabinet1/code/sp2/SaleorCabinetAPI/saleor/plugins/manager.py", line 286, in process_payment
    return self.__run_payment_method(gateway, method_name, payment_information)
  File "/Users/adrienshen/Documents/Fl/cabinet1/code/sp2/SaleorCabinetAPI/saleor/plugins/manager.py", line 361, in __run_payment_method
    f"Payment plugin {gateway} for {method_name}"
Exception: Payment plugin Stripe for process_payment payment method is inaccessible!

It seems like the problem is here:
    def get_plugin(self, plugin_id: str) -> Optional["BasePlugin"]:
        # if plugin_id == 'Stripe':
        #     plugin_id = 'mirumee.payments.stripe'
        print('GOT HERE !!! plugin is {}'.format(plugin_id))
        for plugin in self.plugins:
            if plugin.PLUGIN_ID == plugin_id:
                return plugin
        return None

    def fetch_taxes_data(self) -> bool:
        default_value = False
        return self.__run_method_on_plugins("fetch_taxes_data", default_value)

plugin_id is 'Stripe', but it's expecting mirumee.payments.stripe
I'm not sure where to fix this, or why this is happening.
System information
Operating system: macOS 10.15.4 (19E287)
Chrome Browser

I could hack it together like in the code sample above and it'll work, but not sure if that's the best solution.

Hey @adrienshen, we were trying to reproduce this error in Saleor 2.10.1 but it works fine. Does it happen on your local environment or some production? I think it may be related to some old data in your database. We used to store the name of the payment gateway used in checkout/order e.g. "Stripe" but we changed it to ID in form of "mirumee.payments.stripe". There was also a migration in payments module to update all existing payment objects. It seems like in your case some old payment instance was still present in the database.

Closing this for now, please reopen if the issue happens again or you have more details about it.

authors: adrienshen maarcingebala


text:
🛑 Stats catalogue is down

In eb583d3, Stats catalogue (https://catalogue.apprentissage.beta.gouv.fr/stats) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Stats catalogue is back up in 15fa1e6 after 4 minutes.

repo: mission-apprentissage/upptime


text:
Tree view base time fix

We are seeing the following behavior. We have a once-a-day DAG that runs at 8am UTC. The Tree View is not showing any history for the DAG. The cause is that the dates dictionary in the tree method does not take into account the time offset of the daily DAG.
The fix is to base the dates dictionary on the DAG start time.

Nice! thanks for the PR.
Another option is to schedule at midnight, and add a dependency to a TimeSensor that would wait for 8AM.
I don't know about your use case but I'd advise on using data dependencies through sensors (see https://github.com/mistercrunch/Airflow/blob/master/airflow/operators/sensors.py). There are a few already and there's a BaseSensor(BaseOperator) class that you can derive to make your own.
Note that dependencies line up based on execution_date, so different execution dates means different DAG execution instances. If task "a" on 2015-01-01T02:00:00  is downstream of task "b", it will wait for a successful state of task b where execution_date == 2015-01-01T02:00:00
It's possible to mix different schedule interval in the same DAG: say a weekly task could wait on a daily task, as long as the execution_date's periodicity line up.
BTW let me know if/when you'd like for me to swing by the Y! campus, I'd be happy to answer questions, review pipelines codes, or even give a talk.

authors: kerzhner mistercrunch

repo: mistercrunch/Airflow