text:
Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installer hash mismatch.
Brief description of your issue
Cannot download Mojang.MinecraftLauncher 2.0.0.0.

Installer hash does not match.

Steps to reproduce
winget install Mojang.MinecraftLauncher
Actual behavior
Found Minecraft Launcher [Mojang.MinecraftLauncher] Version 2.0.0.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://launcher.mojang.com/download/MinecraftInstaller.msi
  ██████████████████████████████  2.16 MB / 2.16 MB
Installer hash does not match.

The package does not begin installing.
Expected behavior
The package should begin installing.
Environment
Windows: Windows.Desktop v10.0.22621.1848
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.11071.0

Screenshots and Logs
No response

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installer hash mismatch.
Brief description of your issue
Cannot download Mojang.MinecraftLauncher 2.0.0.0.

Installer hash does not match.

Steps to reproduce
winget install Mojang.MinecraftLauncher
Actual behavior
Found Minecraft Launcher [Mojang.MinecraftLauncher] Version 2.0.0.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://launcher.mojang.com/download/MinecraftInstaller.msi
  ██████████████████████████████  2.16 MB / 2.16 MB
Installer hash does not match.

The package does not begin installing.
Expected behavior
The package should begin installing.
Environment
Windows: Windows.Desktop v10.0.22621.1848
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.11071.0

Screenshots and Logs
No response

repo: microsoft/winget-pkgs


text:
install XYplorer from winget report that hash not match

Brief description of your issue
install XYplorer from winget report that hash not match.
winget install CologneCodeCompany.XYplorer

Steps to reproduce
install XYplorer in winget through Windows Terminal/Powershell
Expected behavior
install successfully.
Actual behavior
install failed. report that "安装程序哈希不匹配。"
Environment
Winget v1.8.1911
Windows: Windows.Desktop v10.0.19044.4894
CologneCodeCompany.XYplorer: 26.40.0200
WT: 1.21.2361.0
PowerShell 7.4.5

Reproduced.
23:01:53 C:\...\winget-pkgs  [master ≡] 2ms pwsh> komac.exe show CologneCodeCompany.XYplorer
PackageIdentifier: CologneCodeCompany.XYplorer
PackageVersion: 26.40.0200
InstallerLocale: en-US
InstallerType: nullsoft
Scope: machine
InstallModes:
- interactive
- silent
InstallerSwitches:
  Silent: /S
UpgradeBehavior: install
Commands:
- xyplorer
Installers:
- Architecture: x64
  InstallerUrl: https://www.xyplorer.com/download/XYplorer_26.40_Install.exe
  InstallerSha256: 0ABD5D3C6F12A2CFA62D3AF1481AEBBB92F63B32353ADB5CCE5D08FAC4CD5D29
ManifestType: installer
ManifestVersion: 1.6.0

PackageIdentifier: CologneCodeCompany.XYplorer
PackageVersion: 26.40.0200
PackageLocale: en-US
Publisher: Donald Lessau, Cologne Code Company
PublisherUrl: https://www.xyplorer.com/
PublisherSupportUrl: https://www.xyplorer.com/support.php
Author: Donald Lessau
PackageName: XYplorer
PackageUrl: https://www.xyplorer.com/
License: Proprietary
LicenseUrl: https://www.xyplorer.com/LicenseXY.txt
Copyright: Copyright © 1997 by Donald Lessau
ShortDescription: XYplorer is a file manager for Windows
Description: XYplorer is a file manager for Windows. It features tabbed browsing, a powerful file search, a versatile preview, a highly customizable interface, optional dual pane, and a large array of unique ways to efficiently automate frequently recurring tasks. It's fast and light, it's innovative, and it's portable.
Moniker: xyplorer
Tags:
- file-manager
- xyplorer
PurchaseUrl: https://www.xyplorer.com/purchase.php
ManifestType: defaultLocale
ManifestVersion: 1.6.0

PackageIdentifier: CologneCodeCompany.XYplorer
PackageVersion: 26.40.0200
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.6.0

23:04:20 C:\...\winget-pkgs  [master ≡] 1.958s pwsh> winget download --id CologneCodeCompany.XYplorer
已找到 XYplorer [CologneCodeCompany.XYplorer] 版本 26.40.0200
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责，也不向第三方程序包授予任何许可证。
正在下载 https://www.xyplorer.com/download/XYplorer_26.40_Install.exe
  ██████████████████████████████  6.33 MB / 6.33 MB
安装程序哈希不匹配。

Since https://github.com/microsoft/winget-pkgs/pull/175287 is merged, I'll close this as complete. If this is in error, please @ me and I'll reopen.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Add Insomnia.Inso 3.16.0

[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.4 schema?

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

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Exception during executable launch operation System.InvalidOperationException: No process is associated with this object.

This package is expecting arguments:
error: missing required argument 'name'

source: gharchive/pull-request

authors: rodrigoborgesdeoliveira stephengillie


text:
Add version: JetBrains.Kotlin.Compiler version 1.3.41

Pull request has been created with Komac v1.9.1 :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116250&drop=dogfoodAlpha

@wingetbot waivers Add Validation-Executable-Error

authors: CoolPlayLin stephengillie


text:
New version: GeekUninstaller.GeekUninstaller version 1.5.2.165

[ ] 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

CLA: Agree


text:
New version: Telegram.TelegramDesktop version 4.14.3

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

For moderators
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, I'll get a notification.

[!important]
Please recheck these Pull Request carefully before merging. If it is a incorrect-removing Pull Request and the URLs don't have any issue while manual checking, please close this Pull Request directly(It's best to let Exorcism0666 know).

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


text:
the-sz.Homedale version 2.10

[ ] Have you signed the Contributor License Agreement?
[ ] 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.5 schema?

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

Microsoft Reviewers: Open in CodeFlow

Hi @the-sz,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 628.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-01-20 02:43:07.916 [FAIL] Installer failed security check. Url: https://the-sz.com/common/get.php?product=homedale Result: 0x80004005

(Automated response - build 628.)

/AzurePipelines run

Hi @the-sz,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 642.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-01-22 16:42:59.325 [FAIL] Installer failed security check. Url: https://the-sz.com/common/get.php?product=homedale Result: 0x80004005

(Automated response - build 642.)

/AzurePipelines run

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-01-26 15:29:41.143 [FAIL] Installer failed security check. Url: https://the-sz.com/common/get.php?product=homedale Result: 0x80004005

(Automated response - build 675.)

/AzurePipelines run

Can you please rerun, now the Microsoft virus scanner is no more detecting a false positive.
https://www.virustotal.com/gui/file/61bbdca2388c81bb5ca7cbf0f12631a98f496378bc2a05c899481fa71c35d410?nocache=1

/AzurePipelines run

Can you please rerun, now the Microsoft virus scanner is no more detecting a false positive.
https://www.virustotal.com/gui/file/61bbdca2388c81bb5ca7cbf0f12631a98f496378bc2a05c899481fa71c35d410?nocache=1

I'm working on scripted automation to make these retries happen more reliably. Targetting every 18 hours.

authors: stephengillie the-sz


text:
New version: Peppy.Osu! version 2024.312.1

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

@wingetbot waivers Add Validation-No-Executables


text:
Amazon.AWSCLI version 2.15.30

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 name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Close with reason: No files changed;


text:
New version: Aserto.Topaz version 0.31.8

Pull request has been created with komac v2.1.1 :rocket:

For moderators
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.)

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


text:
New version: vim.vim version 9.1.0205

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @chrisbra,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 873.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-03-25 17:52:12.841 [FAIL] Installer failed security check. Url: https://github.com/vim/vim-win32-installer/releases/download/v9.1.0205/gvim_9.1.0205_x86.exe Result: 0x80004005

(Automated response - build 873.)

@wingetbot run

Possible duplicate package entry.
Similar installer SHA256 hash found in manifest:

InstallerSha256: 6798d15b5c12ffb948c06551213347ff8762dd8f7a4a07277a8495f562ffbf5c

manifests\v\vim\vim\nightly\9.1.0205

InstallerSha256: 384ceaaebedaa9b75523889c9207b580d5230fec61823a914bd7e5c16c7056b0

manifests\v\vim\vim\nightly\9.1.0205

It appears that the nightly became a full release.

authors: chrisbra stephengillie


text:
Remove version: Alibaba.AliIM version 10.01.06C

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

URL: https://download.alicdn.com/wangwang/AliIM_taobao_(10.01.06C).exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 910)


text:
Add version: Tableau.Reader version 24.1.1132

Microsoft Reviewers: Open in CodeFlow

Verify:

This application constantly has activation windows popping up:

This version is no longer supported, but has an automatic upgrade options.

authors: SpecterShell stephengillie


text:
Remove version: Jackett.Jackett version 0.21.993

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.993/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)

authors: russellbanks stephengillie


text:
Remove version: NewBreedSoftware.TuxPaint version 0.9.33

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

URL: https://sourceforge.net/projects/tuxpaint/files/tuxpaint/0.9.33/tuxpaint-0.9.33-windows-x86_64-installer.exe/download
Status Code: 200
(Automated message - build 897)

Hi @Exorcism0666,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 897.)


text:
New version: MSYS2.MSYS2 version 20241116

Created by 🥟 Dumplings in workflow run #9597.

Log
Updated: 20240727 → 20241116
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

This package installs and launches normally in a Windows 10 VM.

authors: spectopo stephengillie


text:
New package: psf.black version 24.10.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Resolve #199457

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.9 schema?

Note: <path> is the directory's name containing the manifest you're submitting.
Manual validation
Installation log
--> Installing WinGet
--> Disabling safety warning when running installers
Tip: you can type 'Update-EnvironmentVariables' to update your environment variables, such as after installing a new software.

--> Configuring Winget
已启用管理员设置 'LocalManifestFiles'。
已启用管理员设置 'LocalArchiveMalwareScanOverride'。

--> Installing the Manifest 24.10.0

已找到 Black [psf.black] 版本 24.10.0
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责，也不向第三方程序包授予任何许可证。
正在下载 https://github.com/psf/black/releases/download/24.10.0/black_windows.exe
  ██████████████████████████████  11.6 MB / 11.6 MB
已成功验证安装程序哈希
正在启动程序包安装...
添加了命令行别名： "black"
已修改路径环境变量；重启 shell 以使用新值。
已成功安装

--> Refreshing environment variables

--> Comparing ARP Entries

DisplayName DisplayVersion Publisher                  ProductCode              Scope
----------- -------------- ---------                  -----------              -----
Black       24.10.0        Python Software Foundation psf.black__DefaultSource User

Usage logs
PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> black --version
black.exe, 24.10.0 (compiled: no)
Python (CPython) 3.12.4

PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> black --help
Usage: black.exe [OPTIONS] SRC ...

  The uncompromising code formatter.

Options:
  -c, --code TEXT                 Format the code passed in as a string.
  -l, --line-length INTEGER       How many characters per line to allow.
                                  [default: 88]
  -t, --target-version [py33|py34|py35|py36|py37|py38|py39|py310|py311|py312|py313]
                                  Python versions that should be supported by
                                  Black's output. You should include all
                                  versions that your code supports. By
                                  default, Black will infer target versions
                                  from the project metadata in pyproject.toml.
                                  If this does not yield conclusive results,
                                  Black will use per-file auto-detection.
  --pyi                           Format all input files like typing stubs
                                  regardless of file extension. This is useful
                                  when piping source on standard input.
  --ipynb                         Format all input files like Jupyter
                                  Notebooks regardless of file extension. This
                                  is useful when piping source on standard
                                  input.
  --python-cell-magics TEXT       When processing Jupyter Notebooks, add the
                                  given magic to the list of known python-
                                  magics (capture, prun, pypy, python,
                                  python3, time, timeit). Useful for
                                  formatting cells with custom python magics.
  -x, --skip-source-first-line    Skip the first line of the source code.
  -S, --skip-string-normalization
                                  Don't normalize string quotes or prefixes.
  -C, --skip-magic-trailing-comma
                                  Don't use trailing commas as a reason to
                                  split lines.
  --preview                       Enable potentially disruptive style changes
                                  that may be added to Black's main
                                  functionality in the next major release.
  --unstable                      Enable potentially disruptive style changes
                                  that have known bugs or are not currently
                                  expected to make it into the stable style
                                  Black's next major release. Implies
                                  --preview.
  --enable-unstable-feature [hex_codes_in_unicode_sequences|string_processing|hug_parens_with_braces_and_square_brackets|unify_docstring_detection|no_normalize_fmt_skip_whitespace|wrap_long_dict_values_in_parens|multiline_string_handling|typed_params_trailing_comma|is_simple_lookup_for_doublestar_expression|docstring_check_for_newline|remove_redundant_guard_parens|parens_for_long_if_clauses_in_case_block|pep646_typed_star_arg_type_var_tuple]
                                  Enable specific features included in the
                                  `--unstable` style. Requires `--preview`. No
                                  compatibility guarantees are provided on the
                                  behavior or existence of any unstable
                                  features.
  --check                         Don't write the files back, just return the
                                  status. Return code 0 means nothing would
                                  change. Return code 1 means some files would
                                  be reformatted. Return code 123 means there
                                  was an internal error.
  --diff                          Don't write the files back, just output a
                                  diff to indicate what changes Black would've
                                  made. They are printed to stdout so
                                  capturing them is simple.
  --color / --no-color            Show (or do not show) colored diff. Only
                                  applies when --diff is given.
  --line-ranges START-END         When specified, Black will try its best to
                                  only format these lines. This option can be
                                  specified multiple times, and a union of the
                                  lines will be formatted. Each range must be
                                  specified as two integers connected by a
                                  `-`: `<START>-<END>`. The `<START>` and
                                  `<END>` integer indices are 1-based and
                                  inclusive on both ends.
  --fast / --safe                 By default, Black performs an AST safety
                                  check after formatting your code. The --fast
                                  flag turns off this check and the --safe
                                  flag explicitly enables it. [default:
                                  --safe]
  --required-version TEXT         Require a specific version of Black to be
                                  running. This is useful for ensuring that
                                  all contributors to your project are using
                                  the same version, because different versions
                                  of Black may format code a little
                                  differently. This option can be set in a
                                  configuration file for consistent results
                                  across environments.
  --exclude TEXT                  A regular expression that matches files and
                                  directories that should be excluded on
                                  recursive searches. An empty value means no
                                  paths are excluded. Use forward slashes for
                                  directories on all platforms (Windows, too).
                                  By default, Black also ignores all paths
                                  listed in .gitignore. Changing this value
                                  will override all default exclusions.
                                  [default: /(\.direnv|\.eggs|\.git|\.hg|\.ipy
                                  nb_checkpoints|\.mypy_cache|\.nox|\.pytest_c
                                  ache|\.ruff_cache|\.tox|\.svn|\.venv|\.vscod
                                  e|__pypackages__|_build|buck-
                                  out|build|dist|venv)/]
  --extend-exclude TEXT           Like --exclude, but adds additional files
                                  and directories on top of the default values
                                  instead of overriding them.
  --force-exclude TEXT            Like --exclude, but files and directories
                                  matching this regex will be excluded even
                                  when they are passed explicitly as
                                  arguments. This is useful when invoking
                                  Black programmatically on changed files,
                                  such as in a pre-commit hook or editor
                                  plugin.
  --stdin-filename TEXT           The name of the file when passing it through
                                  stdin. Useful to make sure Black will
                                  respect the --force-exclude option on some
                                  editors that rely on using stdin.
  --include TEXT                  A regular expression that matches files and
                                  directories that should be included on
                                  recursive searches. An empty value means all
                                  files are included regardless of the name.
                                  Use forward slashes for directories on all
                                  platforms (Windows, too). Overrides all
                                  exclusions, including from .gitignore and
                                  command line options.  [default:
                                  (\.pyi?|\.ipynb)$]
  -W, --workers INTEGER RANGE     When Black formats multiple files, it may
                                  use a process pool to speed up formatting.
                                  This option controls the number of parallel
                                  workers. This can also be specified via the
                                  BLACK_NUM_WORKERS environment variable.
                                  Defaults to the number of CPUs in the
                                  system.  [x>=1]
  -q, --quiet                     Stop emitting all non-critical output. Error
                                  messages will still be emitted (which can
                                  silenced by 2>/dev/null).
  -v, --verbose                   Emit messages about files that were not
                                  changed or were ignored due to exclusion
                                  patterns. If Black is using a configuration
                                  file, a message detailing which one it is
                                  using will be emitted.
  --version                       Show the version and exit.
  --config FILE                   Read configuration options from a
                                  configuration file.
  -h, --help                      Show this message and exit.

Microsoft Reviewers: Open in CodeFlow

Verify:


text:
Xmake-io.Xmake version 2.5.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>?
[ ] 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

Did the change right in front of my eyes 😁
A little bird told me this will be different in ManifestVersion 1.1.0 👍

authors: KaranKad OfficialEsco


text:
Update: Rustlang.Rust.GNU version 1.50.0

- [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] 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.0 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run


text:
FujitsuClientComputingLimited.DeskUpdate version 5.2

[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.1 schema?

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

Microsoft Reviewers: Open in CodeFlow

@ItzLevvie
I applied the suggested changes, could you approve the pr?

Ended up cloning the repo to my pc to make the changes.
All should be good now.

Thanks for the help @ItzLevvie Ill delete the branch now


text:
Add version: pnpm.pnpm.6 version 6.32.16

[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>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.1 schema?

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run

@wingetbot waivers Add Validation-Executable-Error

authors: ItzLevvie Trenly lechacon russellbanks


text:
Add ARP Entries for Azul Zulu 9 JDK

null
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

authors: Trenly russellbanks


text:
MESA ERROR

Windows Version
Microsoft Windows [version 10.0.26120.1542]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?

[x] WSL 2
[ ] WSL 1

Kernel Version
6.6.36.6
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
When I use the GUI, I usually see error messages related to rendering, but they don't generally affect usage:
> gz sim
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization

> emacs
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization

However, recently when using gnome-font-viewer, I encountered the following:
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization
MESA: error: Failed to attach to x11 shm

It displays a transparent box, making it unusable.
Expected Behavior
I hope there is a solution to open gnome-font-viewer. In fact, I don't really understand graphic rendering and am not sure whether the problem lies with OPENGL, MESA, dzn, or Vulkan.
Actual Behavior
MESA: error: Failed to attach to x11 shm
Diagnostic Logs
No response

don't run wslg stuff as root

Thank you for your suggestion! However, I am not using the root account. The problem is still there

try ln -sf /mnt/wslg/runtime-dir/wayland* /run/user/0/ dbus-run-session gnome-font-viewer

I have only one folder named 1002 under my /run/user directory, so I used the following command:
> noglob sudo ln -sf /mnt/wslg/runtime-dir/wayland* /run/user/1002/
> dbus-run-session gnome-font-viewer

However, the following error was still thrown:
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization
dbus-daemon[1149]: [session uid=0 pid=1149] Activating service name='org.a11y.Bus' requested by ':1.0' (uid=0 pid=1150 comm="gnome-font-viewer" label="kernel")
dbus-daemon[1149]: [session uid=0 pid=1149] Successfully activated service 'org.a11y.Bus'
MESA: error: Failed to attach to x11 shm
dbus-daemon[1183]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=0 pid=1150 comm="gnome-font-viewer" label="kernel")
dbus-daemon[1183]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
MESA: error: Failed to attach to x11 shm

don't run wslg stuff as root

Thank you for your suggestion! However, I am not using the root account. The problem is still there

try ln -sf /mnt/wslg/runtime-dir/wayland* /run/user/0/ dbus-run-session gnome-font-viewer

I have only one folder named 1002 under my /run/user directory, so I used the following command:
> noglob sudo ln -sf /mnt/wslg/runtime-dir/wayland* /run/user/1002/
> dbus-run-session gnome-font-viewer

However, the following error was still thrown:
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization
dbus-daemon[1149]: [session uid=0 pid=1149] Activating service name='org.a11y.Bus' requested by ':1.0' (uid=0 pid=1150 comm="gnome-font-viewer" label="kernel")
dbus-daemon[1149]: [session uid=0 pid=1149] Successfully activated service 'org.a11y.Bus'
MESA: error: Failed to attach to x11 shm
dbus-daemon[1183]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=0 pid=1150 comm="gnome-font-viewer" label="kernel")
dbus-daemon[1183]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
MESA: error: Failed to attach to x11 shm

I have the same problem use gioui on termux archlinux

don't run wslg stuff as root

Thank you for your suggestion! However, I am not using the root account. The problem is still there

try ln -sf /mnt/wslg/runtime-dir/wayland* /run/user/0/ dbus-run-session gnome-font-viewer

Thanks. It seems to work for me.

Any updates on this ?

The same warnings (without errors):
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce GTX 1050 Ti)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization

repo: microsoft/wslg


text:
Telemetry for Graph Explorer usage

Overview
Capture Graph Explorer usage data
List of Events

BUTTON_CLICK_EVENT
TAB_CLICK_EVENT
LINK_CLICK_EVENT
DROPDOWN_CHANGE_EVENT
LISTITEM_CLICK_EVENT

Custom Properties
Varies with event and component

ComponentName e.g. History Tab
SampleName
SelectedVersion

etc

we should also check the RUN_QUERY_EVENT and make sure it is not transmitting the url with ids.  we need some code to strip them out.

@millicentachieng I'd like to review this on staging.

In this PR, Query URLs which might contain PII are not being captured. The field QueryUrl has been added to some telemetry data points as a placeholder for the sake of building a proper schema for reporting.
We will include QueryUrl in a later PR after we are confident of proper query normalization and redaction of PII.

authors: MIchaelMainer ddyett millicentachieng


text:
Batch "response" semantics are confusing

Not a huge deal, but something to think about for v2.
The Batch API is confusing when dealing with BatchItem and BatchResponse. Response is overloaded as it refers to both the response to the top-level batch response and the collection of responses that it contains. Then GetResponses returns BatchItem. Functions operating on the BatchItem treat it as a "response". I've had moments of trying to keep everything straight. Could use clarifying. Thanks

Occurred to me that distinguishing Batched items from Batch might help.

repo: microsoftgraph/msgraph-sdk-go-core


text:
Remove dependency that is no longer useful

I'm really glad that backports was helpful to you.
Now that you only support Ruby 2.2+, that particular backport is no longer needed.
Thanks for middleman btw, I've used it before and hope to use it again soon if I can find the time to migrate again my blog.

Coverage decreased (-0.1%) to 90.059% when pulling fd498f723b35f813e57cf072f3aa71276106fa03 on marcandre:bye_bye_backports into ecb84cc6d2f05bd75a4125b7494a058ed702279e on middleman:master.

Coverage decreased (-0.1%) to 90.059% when pulling fd498f723b35f813e57cf072f3aa71276106fa03 on marcandre:bye_bye_backports into ecb84cc6d2f05bd75a4125b7494a058ed702279e on middleman:master.

Coverage decreased (-0.1%) to 90.059% when pulling fd498f723b35f813e57cf072f3aa71276106fa03 on marcandre:bye_bye_backports into ecb84cc6d2f05bd75a4125b7494a058ed702279e on middleman:master.

authors: coveralls marcandre

repo: middleman/middleman

license: mit

license_source: bigquery


text:
Document directives used in format string.

Closes #13

The PR is ready for review.

That's great. Thanks for your effort

authors: ajgarlag oscarotero

repo: middlewares/access-log


text:
Opening and make use of several midi-in-devices at once?

I just wondered  if this possible or advised in any form reading MIDI-in data from multiple devices at the same time?
Reading about virtual ports in the manual and wondering if that can help out. Anyway, I got two different devices wanting to read midi data from both (plugged into the USB ports, two midi-controllers with a usb only)
I must either:

open them both in code and use at the same time
use one device only  and merge several external MIDI signals into it by other methods

I see hardware midi-mergers around, as: https://www.thomannmusic.no/midi_solutions_merger_v2.htm?gclid=Cj0KCQjwu8r4BRCzARIsAA21i_AeHuaX0bUle7tmmdlvp6gTDpeKY67VP2hB8LYtM2RYo2ujq1dN2X4aAh9oEALw_wcB
.... but my stuff only got USB connection, not old-type MIDI connections pictured. Do I have to do a deep operations in the backend or is there a simpler solution, I wonder how to attack this!!! Thanks

Just open each device with mido.open_input() and use them at the same time. They will not interfere with each other and each port will receive messages from the correct device.
With the default backend (python-rtmidi) you can even open multiple ports to the same device and the messages will be delivered on all ports. This can be useful sometimes if you want to handle the same messages in different parts of the code, or by different processes or threads.
If you want to wait for messages from both ports at the same time check out mido.ports.multi_receive(). (Or you can set up the ports to both use the same callback.)

somewhat delayed, but thankyou for the reply, I have resumed my MIDI progging

authors: olemb rolfiepolfie

repo: mido/mido


text:
前端用的什么框架？

请问楼主，这个项目的前端用的是什么框架或库？

请问楼主，这个项目的前端用的是什么框架或库？

简单点，boostrap+jq

大兄弟  有时间的话 把文档走一走 哈哈哈

authors: ChiaoZenYee migomiddle zengpengkindle

repo: migomiddle/xms


text:
New version sometimes closes all folders in the sidebar

This started the same time as the issue with close_sidebar_if_opened stopped being respected. Sometimes now when I use this all of my folders in the sidebar will get auto-closed on me and nothing is focused. Sometimes re-running fixes this, sometimes not.

Hello @reversefold!
I'm sorry for this issue, I've just updated the plugin to fix that other one regarding close_sidebar_if_opened not being respected, would you mind to test it again and see if that's still an issue?
And if it is perhaps we can find a way to reproduce it properly?
Thanks for taking the time to report it and sorry for taking so long to reply!
:snowboarder:

authors: miguelgraz reversefold

repo: miguelgraz/FocusFileOnSidebar


text:
Extensions

Steps to reproduce
I installed mihon on a new device and restore my backup from tachi but I don't have any extensions available even the ones I previously have. I tried installing the mihon as well on an old device that had the tachi app and I see my old extensions although I still can't search for new ones
Expected behavior
I should see at least my old extensions in the app
Actual behavior
I installed mihon on a new device and restore my backup from tachi but I don't have any extensions available even the ones I previously have. I tried installing the mihon as well on an old device that had the tachi app and I see my old extensions although I still can't search for new ones
Crash logs
No response
Mihon version
Ver 16
Android version
Android 13
Device
Samsung A9 tab
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

There is no first party extension support

Can you pls tell me how I can read my library if there are no extensions?

You find 3rd party maintained extensions

you don't need to manually install. you can just add the 3rd party repo to the app. Most should have instructions on how to do so.

authors: Anitabizz AntsyLich

repo: mihonapp/mihon


text:
Debug flag on inline parameter will throw error (undefined children)

Describe the bug
There is a bug where
Attempting to fetch data from Figma API...

Writing Figma base file...

Writing design tokens...
Error: Error: TypeError: Cannot read property 'children' of undefined

is thrown if running debug mode on an inline parameter variant, like so node ./node_modules/figmagic/build/index.js --token ABC --url XYZ --debug.
To Reproduce
Steps to reproduce the behavior:

Create blank new project with npm init -y
Install Figmagic with npm install figmagic -D
Run node ./node_modules/figmagic/build/index.js --token ABC --url XYZ --debug
Error should be visible

Expected behavior
Design tokens should have been created.
Desktop (please complete the following information):

OS: MacOS 11.2.1
Browser: N/A
Version: Figmagic 4.0.9

Additional context
Discovered during problem-solving https://github.com/mikaelvesavuori/figmagic/issues/91

This seems to happen even outside of debug mode.

The error must have been because the URL/file ID was incorrect but the token was valid.
Unable to otherwise see similar errors.

repo: mikaelvesavuori/figmagic


text:
Morphology format in documentation/docstrings

I'm trying to use the constraint grammar disambiguation functionality. While provided explanation and example are helpful, the morphology format is not explained: what are the possible tags? What is their meaning?
The CG3 documentation also lacks this information as well, although I assume that could be because the tags are language specific (?): https://edu.visl.dk/cg3/single/#stream-vislcg
I've analyzed some sentences and found these tags:
'<W:0.000000>', '<W:281474976710655.000000>', '<fin>', '?',
'@+FAUXV', '@+FMAINV', '@-FAUXV', '@-FMAINV', '@<ADVL',
'@<OBJ', '@<P', '@<PN', '@<SPRED', '@<SUBJ', '@>N', '@>P',
'@ADVL', '@CNP', '@CVP', '@HAB', '@LOC', '@N<', '@N>', '@NES',
'@Num<', '@OBJ', '@OBJ>', '@P>', '@PC', '@PCLE', '@SUBJ',
'@SUBJ>', '@X', 'A', 'ABBR', 'ACR', 'Abe', 'Abl', 'Acc', 'Act', 'Ade',
'Adv', 'AgPrc', 'All', 'Arab', 'Attr', 'CC', 'CS', 'Card', 'Cmp', 'Cmp/Hyph',
'Cmpnd', 'Coll', 'Comp', 'ConNeg', 'Cond', 'Dash', 'Dem', 'Der/inen',
'Der/minen', 'Der/s', 'Der/ttain', 'Digit', 'Ela', 'Err/Orth', 'Ess',
'Foc/han', 'Foc/ka', 'Foc/kaan', 'Foc/kin', 'Foc/pa', 'Gen', 'Gram/IAbbr',
'Gram/TAbbr', 'Gram/TNumAbbr', 'Hom1', 'Ill', 'Imprt', 'Ind',
'Indef', 'Ine', 'InfA', 'InfE', 'InfMa', 'Ins', 'Interj', 'Interr', 'Lat', 'N',
'Neg', 'NegPrc', 'Nom', 'Num', 'Ord', 'Par', 'Pcle', 'Pe4', 'Pers', 'Pl',
'Pl1', 'Pl2', 'Pl3', 'Po', 'Pot', 'Pr', 'Pref', 'Pref-', 'PrfPrc', 'Pron',
'Prop', 'Propn', 'Prs', 'PrsPrc', 'Prt', 'Pss', 'Punct', 'Px3', 'PxPl1',
'PxPl2', 'PxPl3', 'PxSg1', 'PxSg2', 'PxSg3', 'Qnt', 'Qst', 'Qu',
'Refl', 'Rel', 'Sem/Curr', 'Sem/Fem', 'Sem/Geo', 'Sem/Geon',
'Sem/Human', 'Sem/Humann', 'Sem/Org', 'Sg', 'Sg1', 'Sg2',
'Sg3', 'Superl', 'Tra', 'V', 'VPcle', 'ela', 'gen', 'ill', 'n', 'par', 'sg'

While I can guess the meaning of some of them, I'm not exactly sure. I also don't know if this list is complete.

Hi,
For the Finnish tag definitions, you should consult the following files:
https://github.com/giellalt/lang-fin/blob/main/src%2Ffst%2Froot.lexc
https://github.com/giellalt/lang-fin/blob/main/src%2Fcg3
Since all of the languages are pretty much parallel, you may want to
consult: sma or sme
Happy New Year's!
Jack Rueter
la 30. jouluk. 2023 klo 20.59 robaki @.***> kirjoitti:

I'm trying to use the constraint grammar disambiguation functionality.
While provided explanation and example are helpful, the morphology format
is not explained: what are the possible tags? What is their meaning?
The CG3 documentation also lacks this information as well, although I
assume that could be because the tags are language specific (?):
https://edu.visl.dk/cg3/single/#stream-vislcg
I've analyzed some sentences and found these tags:
'<W:0.000000>', '<W:281474976710655.000000>', '', '?',
'@+FAUXV', '@+FMAINV', @.', @.', '@<ADVL',
'@<OBJ', '@<P', '@<PN', '@<SPRED', '@<SUBJ', '@>N', '@>P',
@.', @.', @.', @.', @.', @.<', @.>', @.',
@.<', @.', @.>', @.>', @.', @.', @.',
@.>', @.***', 'A', 'ABBR', 'ACR', 'Abe', 'Abl', 'Acc', 'Act', 'Ade',
'Adv', 'AgPrc', 'All', 'Arab', 'Attr', 'CC', 'CS', 'Card', 'Cmp', 'Cmp/Hyph',
'Cmpnd', 'Coll', 'Comp', 'ConNeg', 'Cond', 'Dash', 'Dem', 'Der/inen',
'Der/minen', 'Der/s', 'Der/ttain', 'Digit', 'Ela', 'Err/Orth', 'Ess',
'Foc/han', 'Foc/ka', 'Foc/kaan', 'Foc/kin', 'Foc/pa', 'Gen', 'Gram/IAbbr',
'Gram/TAbbr', 'Gram/TNumAbbr', 'Hom1', 'Ill', 'Imprt', 'Ind',
'Indef', 'Ine', 'InfA', 'InfE', 'InfMa', 'Ins', 'Interj', 'Interr', 'Lat', 'N',
'Neg', 'NegPrc', 'Nom', 'Num', 'Ord', 'Par', 'Pcle', 'Pe4', 'Pers', 'Pl',
'Pl1', 'Pl2', 'Pl3', 'Po', 'Pot', 'Pr', 'Pref', 'Pref-', 'PrfPrc', 'Pron',
'Prop', 'Propn', 'Prs', 'PrsPrc', 'Prt', 'Pss', 'Punct', 'Px3', 'PxPl1',
'PxPl2', 'PxPl3', 'PxSg1', 'PxSg2', 'PxSg3', 'Qnt', 'Qst', 'Qu',
'Refl', 'Rel', 'Sem/Curr', 'Sem/Fem', 'Sem/Geo', 'Sem/Geon',
'Sem/Human', 'Sem/Humann', 'Sem/Org', 'Sg', 'Sg1', 'Sg2',
'Sg3', 'Superl', 'Tra', 'V', 'VPcle', 'ela', 'gen', 'ill', 'n', 'par', 'sg'
While I can guess the meaning of some of them, I'm not exactly sure. I
also don't know if this list is complete.
—
Reply to this email directly, view it on GitHub
https://github.com/mikahama/uralicNLP/issues/20, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADM5MRA5FJAHUS6RGEDGHNLYMBQCLAVCNFSM6AAAAABBHWDZPOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DAOBSHA2TCMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you for the links!
I think it would be helpful to add them somewhere in the docs.
Thanks and have a happy new year!

If FST developers ever care to document their transducers, I can link them to UralcNLP documentation

authors: mikahama robaki rueter

repo: mikahama/uralicNLP


text:
pattern description question

Hello! Me again :D
I was wondering what is meant with high, decreasing, high, decreasing, high
Actually i'm in this prediction (very reliable)

and I'm wondering if "high" means that the price will always grow or if it will stay in the "high price" area...
Let me be more clear with an example:

It is possible that the price will grow from friday to saturday until a max <=152
or that
the price will remain between 93 and 152 fluctuating on friday and saturday?

An help box with the explaination of the pattern terms could be useful.
Thank you and great domain name :D

The description high, decreasing, high, decreasing, high indicates the pattern that the prices will follow as they adjust throughout the week.
I guess you could say given the information you have available today, both of your bullet points are true? However, as you provide more data, the accuracy of the prediction improves such that the potential values for the rest of the week could decrease.
The algorithm attempts to predict the theoretical maximum value for each given half-day, based on the values from the earlier periods in the week. But, there is still a significant element of random chance in each value. You could have a bad RNG roll which causes you to end up with values on the lower end of each spectrum, which means you could end up with something as low as 97 at the end of the week.

The pattern also suggests that you should end the week on an upward swing, but it does not mean that your end-of-week value will be higher than your start-of-week value. It just means that the end of the week will be higher than the periods immediately before it.

Thank you for your reply. I have also verified what you said within this week prices

repo: mikebryant/ac-nh-turnip-prices


text:
Null in where()

I have table with field default is null.

id
user
email

1
name1
name1@domain.com

2
name2
name2@domain.com

3
name3
NULL

Query:
SELECT users WHERE email IS NULL

Code:
$db->from('users')->where('email', null)->many();

This code is not work.

fix https://gist.github.com/fdcore/cdaf25375ef3328a5e48

@fdcore Hi, why didn’t you make your decision through pull request?

authors: UDK fdcore

repo: mikecao/sparrow


text:
Error when installing

When I try: php composer.phar require mikehaertl/phpwkhtmltopdf
I get the following error:
Using version ~2.0 for mikehaertl/phpwkhtmltopdf
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package mikehaertl/phpwkhtmltopdf 1.0.0 could not be found.

Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your min imum-stability setting see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion f or more details.

Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

Installation failed, reverting ./composer.json to its original content.`

What am I doing wrong?

Problem solved? What was it?

Hi Mike
TBH your composer.JSON file for this project is a little confusing - I'm brand new to composer and so was advised to run composer init - when it asked for project name, I looked at you JSON file and saw mikehaertl/phpwkhtmltopdf in the name field, when actually I should have been entering: phpwkhtmltopdf - it's all a learning curve!

I don't understand. I nowhwere said, you should enter composer init anywhere. And the composer.json file is just fine. Here's what happens, if I install this package with composer:
$ composer require mikehaertl/phpwkhtmltopdf
Using version ~2.0 for mikehaertl/phpwkhtmltopdf
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing mikehaertl/php-shellcommand (1.0.5)
    Loading from cache

  - Installing mikehaertl/php-tmpfile (1.0.5)
    Loading from cache

  - Installing mikehaertl/phpwkhtmltopdf (2.0.3)
    Downloading: 100%

Writing lock file
Generating autoload files

Hmmm - didn't work for me like that - It wasn't you who said to run composer init, I asked a question on stackoverflow, here: http://stackoverflow.com/questions/29868879/composer-not-composing-saying-file-not-found - this is how my composer.json file looks after running it:
{
  "name": "phpwkhtmltopdf",
  "description": "html to pdf",
  "require-dev": {
  },
  "authors": [
      {
        "name": "Michael Haertl",
        "email": "haertl.mike@gmail.com"
      }
  ],
  "minimum-stability": "dev",
  "require": {
    "mikehaertl/phpwkhtmltopdf": "~2.0"
  }
}

You don't need composer init at all. If you didn't install any composer packages before, just go to an empty directory (or to your project directory) and use composer require mikehaertl/phpwkhtmltopdf. That's all. You should not create any composer.json file.
Apart from that the issue is really related to composer, not to this package.

Yeah, totally agree on that - thanks for that info, good to know

authors: darrensw mikehaertl

repo: mikehaertl/phpwkhtmltopdf


text:
Removes EasySRL jar from the repository and makes the web demo runnable.

The EasySRL jar should be a separate release.

Perfect, thanks a lot!


text:
[RoleManagement] Suggestion about selfadd and selfrem

For RoleManagement, a command to make all roles self assignable and self removable, set or not
Also, probably to let the owner to choose if when a guild is joined, Red automatically active selfadd selfrem

For RoleManagement, a command to make all roles self assignable and self removable, set or not

Not happening. The settings are there so that things like admin roles are never accidentally handed out.

Also, probably to let the owner to choose if when a guild is joined, Red automatically active selfadd selfrem

Absolutely not. While I have no issue with an owner going onto a server to help them set up their server, I do have an issue with this just allowing roles to be given out by mere existence on a bot. This cog will never do something it wasn't explicitly asked to do. Giving out roles just by inviting a bot isn't okay.

authors: Dezyox mikeshardmind

repo: mikeshardmind/SinbadCogs


text:
Create forkkkkkkkk

Description
New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
For new tools, please provide total size and installation time.

Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

@mikhailkoliada Help me please igot some issues with these
[Error loading webview: Error: Could not register service workers: NotSupportedError: Failed to register a ServiceWorker for scope ('https://07jui2prh42dtve2cdaattv4g8hf0g6baatn5dci2n7p3v3cs3b9.vscode-cdn.net/stable/6261075646f055b99068d3688932416f2346dd3b/out/vs/workbench/contrib/webview/browser/pre/') with script ('https://07jui2prh42dtve2cdaattv4g8hf0g6baatn5dci2n7p3v3cs3b9.vscode-cdn.net/stable/6261075646f055b99068d3688932416f2346dd3b/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=codespaces+ah-ha-admin-special-bassoon-qrvvv55v9wrcgj9'): The user denied permission to use Service Worker..
what does  that means and how can i resolve this bug :( maybe i just turn off something i should have left activated ???? thanks !
repository :
refactored-memory
codespace working in deccontsiner

repo: mikhailkoliada/runner-images


text:
SolidJS

https://www.solidjs.com/

高速
Reactに似ている
仮想DOMを使わない

使えないCSS in JSがあるらしい
https://zenn.dev/jay_es/scraps/ddbf3f77de57f4

vanilla-extractがいいかも
https://vanilla-extract.style/

viteはwebpackより高速
https://ja.vitejs.dev/

viteで動くテストvitest
https://vitest.dev/

repo: mikiymk/drive-player


text:
Formula about the circumradius of a simplex

Hi, while do the calculation, have you used any formula  about the circumradius of a simplex in the n-dimensional space? Thank you!

Look at the circumcenter module which this module calls as a dependency:
https://github.com/mikolalysenko/circumcenter
The actual calculation is based on parabolic lifting, which is common in computational geometry.  (For example, you use it to show the reduction from delaunay triangulation to convex hulls, or to establish duality between voronoi diagrams <-> delaunay triangulations.)

authors: axhiao mikolalysenko

repo: mikolalysenko/circumradius


text:
Add mocking back in

Analogous to https://github.com/mila-udem/blocks/pull/864
RTD won't compile C extensions, so the importing of the Cython module needs to be guarded (good practice anyway I guess, so that failing to compile the Cython extension doesn't render the other transformers that don't rely on it useless)

https://fuel.readthedocs.org/en/rtd2/

Tests pass, it's just the Blocks tests fail as long as https://github.com/mila-udem/blocks/pull/864 isn't merged.

Can someone restart the tests?

authors: bartvm dmitriy-serdyuk

repo: mila-udem/fuel


text:
Rob tillaart master

Merged with RobTillart

@milesburton
Had another look at the code and most things are style related. One might use a style formatter to get it consistent e.g. - http://astyle.sourceforge.net/astyle.html#_General_Information
I found one function with a bug in it.
void DallasTemperature::blockTillConversionComplete(uint8_t bitResolution, const uint8_t* deviceAddress){
    int delms = millisToWaitForConversion(bitResolution);
    if (deviceAddress != NULL && checkForConversion && !parasite){
        unsigned long timend = millis() + delms;
        while(!isConversionAvailable(deviceAddress) && (millis() < timend));
    } else {
        delay(delms);
    }
}

should be
void DallasTemperature::blockTillConversionComplete(uint8_t bitResolution, const uint8_t* deviceAddress){
    int delms = millisToWaitForConversion(bitResolution);
    if (deviceAddress != NULL && checkForConversion && !parasite){
        unsigned long now = millis();
        while(!isConversionAvailable(deviceAddress) && (millis() - delms < now));
    } else {
        delay(delms);
    }
}

As times may only be subtracted otherwise the comparison fails when the uint32_t rolls over.
for the rest it looks good to me.

Ah that would be useful. I'll take a look at that formatter. I'll make those modifications and merge later today.

Okay cool, I'm going to merge this change then create a new branch to sort out the style and rollover bug

authors: RobTillaart milesburton


text:
Test tests::test_schunk_basic fails in --release mode

I’m working on packaging these two crates for Fedora in order to support the latest libcramjam and the upcoming cramjam-python 2.8.4.
For distribution packaging purposes, my environment has some differences from the upstream development environment. In blosc2-sys:

Cargo.toml is patched to make the bindgen and pkg-config dependencies non-optional.
The static feature is hidden, and build.rs is patched (by adjusting the conditionals):

Always link the system shared library regardless of features
Always re-generate the bindings regardless of features
Don’t require the blosc2 version to exactly match the bundled one; Fedora 39, 40, and 41 have 2.10.5, 2.14.0, and 2.14.4, respectively.
Adjust the header path for bindgen to point at the system-wide header /usr/include/blosc2.h

There might be some further improvements suggested once I get this submitted for package review, but these downstream patches seem to be working as expected, and all the blosc2-sys tests pass. There is some discussion of the kind of patching we may need for -sys crates in https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_rust2rpm.
When I try to build a package for blosc2-rs using the rust-blosc2-sys package described above, I have exactly one test failure in tests::test_schunk_basic. All other tests (including doctests) pass. This happens in Fedora 39, 40, and 41, so it doesn’t appear to be due to differences in the version of the system blosc2 library.
---- tests::test_schunk_basic stdout ----
thread 'tests::test_schunk_basic' panicked at src/lib.rs:1873:9:
assertion `left == right` failed
  left: 0
 right: 1
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
             at /builddir/build/BUILD/rustc-1.77.2-src/library/core/src/panicking.rs:297:5
   4: blosc2::tests::test_schunk_basic
             at ./src/lib.rs:1873:9
   5: blosc2::tests::test_schunk_basic::{{closure}}
             at ./src/lib.rs:1864:31
   6: core::ops::function::FnOnce::call_once
             at /builddir/build/BUILD/rustc-1.77.2-src/library/core/src/ops/function.rs:250:5

I know that my configuration is a bit different from the one you are testing and explicitly supporting, but I would really appreciate any advice on understanding the root cause.

I’m especially curious to know if this is the same thing you were seeing when you wrote
https://github.com/milesgranger/blosc2-rs/blob/bb3631458e63a8d9adadf5860935b12e53bbd6f7/src/lib.rs#L1861-L1864

hehe, what a great and informative comment I've made. :sweat_smile: I thought it was a sigabrt of some type, and it seems it is here.
I would set aside some time to debug this tomorrow, but I don't have a Window machine readily available at the moment and it doesn't appear to be what you're experiencing... but maybe in some round about way it is related so I'll poke at it. Still a WIP but felt okay enough to include in libcramjam and thus python cramjam.experimental.
Would it be helpful in the short term to add a feature flag to python cramjam to not build the cramjam.experimental module (and thus skip including blosc2)? FWIW, I don't intend on releasing cramjam 2.8.4 anytime soon unless there's some unexpected requests for it out of the pre-release stage. You'll probably notice libcramjam already has a feature flag to avoid blosc2.

Would it be helpful in the short term to add a feature flag to python cramjam to not build the cramjam.experimental module (and thus skip including blosc2)? FWIW, I don't intend on releasing cramjam 2.8.4 anytime soon unless there's some unexpected requests for it out of the pre-release stage. You'll probably notice libcramjam already has a feature flag to avoid blosc2.

Hmm, maybe. But I’ve made the decision to also ship the libcramjam.so shared library built with cargo-c, so I would also need to do a bit of patching to build a copy of that with the blosc2 part of the API and ABI patched out. That’s probably not too hard.
On the other hand, since there’s no great time pressure, and I’m just trying to make sure everything is lined up to ship a python-cramjam-2.8.4 update in a vaguely reasonable amount of time after you release it, I think I would be happiest if I can just help understand and patch the problem.
(I can also skip the failing test, but it looks potentially serious enough that I’m not convinced that is a good idea.)

Yep, I agree. Let's try to figure this out. IMO skipping it is okay-ish as we're 0.x.x version, but we'll do our best to avoid that. Can you point me to the code you're using if possible? I don't see the branch on your current fork. I have fedora locally so I should be able to reproduce it.

I added a docker-fedora run and that also seems fine, but maybe it's helpful for you if you want to run your modified code on it?

Neither package is in Fedora yet: I’ve submitted rust-blosc2-sys for package review here, and I haven’t submitted rust-blosc2-rs yet.
I just managed to reproduce this in a git checkout without having to build a package, which should be very helpful. The fork https://github.com/musicinmybrain/blosc2-rs/tree/fedora-as-packaged basically corresponds to the downstream modifications to build with the system blosc2 and always use pkg-config and bindgen. This passes cargo test, but fails in the exact way I was seeing when I try cargo test --release.
Now that I know cargo test --release is required, I can reproduce this on bb3631458e63a8d9adadf5860935b12e53bbd6f7 with the bundled blosc2, which suggests the problem likely has nothing to do with Fedora.

Oh goodness, okay yeah I see now it fails with --release... :face_exhaling:

Ought to be fixed now. When you have time to check out latest on main (https://github.com/milesgranger/blosc2-rs/commit/314c4d10493e271af63a2ddace298ca3ffb0d9cf), and it works I'll publish a release.

Nice debugging!
I assume you’ve already tested https://github.com/milesgranger/blosc2-rs/pull/22 adequately in a git checkout, so I quickly hacked up https://github.com/milesgranger/blosc2-rs/pull/22.patch to include only the changes to src/lib.rs and built an RPM package with it locally using mock. Everything looked good, so I tried it in COPR for all architectures and Fedora releases. A few of the builds are still pending or running, but it looks like everything is going to be OK there too as long as there aren’t any endian issues on s390x.
Thanks again for digging into this!

Oof: there is a problem on s390x. I should probably open a separate issue for that, though.

Oof: there is a problem on s390x. I should probably open a separate issue for that, though.

https://github.com/milesgranger/blosc2-rs/issues/23

authors: milesgranger musicinmybrain


text:
fix: Add "default" types to export paths

Adds a default fallback "types" field to be able to resolve types if no other platforms are matched.
For example:
 "exports": {
    "./package.json": "./package.json",
    ".": {
      "react-native": {
        "types": "./lib/index.d.ts",
        "default": "./lib/index.js"
      },
      "default": "./lib/index.js"
    },
    "./types": {
      "react-native": {
        "types": "./lib/types/index.d.ts",
        "default": "./lib/types.js"
      },
      "default": "./lib/types.js"
    }
  },

Becomes:
 "exports": {
    "./package.json": "./package.json",
    ".": {
      "types": "./lib/index.d.ts",
      "react-native": {
        "types": "./lib/index.d.ts",
        "default": "./lib/index.js"
      },
      "default": "./lib/index.js"
    },
    "./types": {
      "types": "./lib/types/index.d.ts",
      "react-native": {
        "types": "./lib/types/index.d.ts",
        "default": "./lib/types.js"
      },
      "default": "./lib/types.js"
    }
  },

@milesj is this a fix that should go in? Want to confirm before I look into fixing the tests

@wespickett Yolo, lets do it.

authors: milesj wespickett

repo: milesj/packemon


text:
Document Witness

(Nerd-sniping Miles into documenting these awesome features!)

:rocket:

It isn't strictly speaking an implementation of SIP-23, although it does cover the same ground (sorry if I was misleading earlier). I think it would be better to say something like "See SIP-23 for a related proposed language change".

Amended.

Many thanks! Merged :-)

authors: dwijnand milessabin notxcain

repo: milessabin/shapeless


text:
Revert to default CrossType.Pure

The trade-off is that the path includes a dot, but at least it's a "default" type rather than another difference

I'm not super keen of having code, even test code, buried in a hidden directory. Can you motivate this for me?

That is indeed the downside of the trade-off. The motivation is the alternative is built on - ie less speciale code. Bit it's just a suggestion from setting up my own scala.js project, I'd understand if you prefer the status quo.

Another alternative is: keep switching to default CoreType.Pure, but then configure the build so that JVM test sources live in src/test-jvm/scala.
Summary:

JVM test sources in current master: core/jvm/src/test
JVM test sources in current proposal: core/.jvm/src/test
JVM test sources in this proposal: core/src/test-jvm

src/test-jvm/scala might work.

Alright, pushed.

Before I merge this ... are you absolutely sure that these tests will actually be run?

Sorry to jump in at a late stage, but have you tested these changes on different IDE's, as they are all very picky on where source lives relative to the project base (unfortunately)?
Another option (sorry if this is a pain...) is to treat the jvm/js code in the same fashion as 2.10/2.11 code. eg:
core/src/test/scala/shapeless
core/src/test/scala/shapeless_jvm/shapeless
core/src/test/scala/shapeless_2.11+/shapeless
core/src/test/scala/shapeless_jvm_2.11+/shapeless

See an old plugin for an example. I confess that I don't know how this would work with the IDEs today

FWIW, these scheme is also extendable, just  imagine.....
core/src/test/scala_jvm9_2.11+/shapeless
core/src/test/scala_llvm_2.1_linux_centos_7_typlevel_2.11+/shapeless

Making sure that tests actually run is indeed a concern for which I don't know how to automate away..
From inspecting the Travis builds, the one for this PR says:
[info] Compiling 42 Scala sources to /home/travis/build/milessabin/shapeless/core/.jvm/target/scala-2.11/test-classes...
[info] Passed: Total 548, Failed 0, Errors 0, Passed 548

while the one from 3 days ago says:
[info] Compiling 43 Scala sources to /home/travis/build/milessabin/shapeless/core/jvm/target/scala-2.11/test-classes...
[info] Passed: Total 547, Failed 0, Errors 0, Passed 547

... so I'm not sure.

siiiiiiiigh I'm going to not mess with this. Sorry for the noise.
diff --git a/core/src/test-jvm/scala/shapeless/lazy.scala b/core/src/test-jvm/scala/shapeless/lazy.scala
index 1575d17..ab2c684 100644
--- a/core/src/test-jvm/scala/shapeless/lazy.scala
+++ b/core/src/test-jvm/scala/shapeless/lazy.scala
@@ -115,6 +115,7 @@ class LazyStrictTestsJVM {
     assert(ccTC3SO)
     assert(genTC3SO)
     assert(listTC3SO)
+    assert(1 == 2)
   }
 }

> coreJVM/test
[info] Updating {file:/d/shapeless/}coreJVM...
[info] Resolving jline#jline;2.12.1 ...
[info] Done updating.
[info] Compiling 78 Scala sources to /d/shapeless/core/.jvm/target/scala-2.11/classes...
[info] Compiling 41 Scala sources to /d/shapeless/core/.jvm/target/scala-2.11/test-classes...
[info] Passed: Total 524, Failed 0, Errors 0, Passed 524
[success] Total time: 200 s, completed 23-Apr-2016 15:53:57

Hey ho :-(

authors: InTheNow dwijnand milessabin


text:
set default holidays

get list of federal holidays and update the default configuration object with them

issue completed

repo: milestechnologies/ngx-date-module


text:
How to handle zoom and focus in axis p5635 ptz camera?

When  zoom function is called from ONVIF library. focus control is responding instead of zoom control. Is there way to control both zoom and focus control of axis camera(model no : P5635) from ONVIF. In other words, focus is additional parameter in this camera. How to integrate this parameter in ONVIF so that we operations on zoom as well as focus. Could you please guide me regarding this issue?
Axis P5635 for reference

Well with my camera I was never able to change to focus anyway. And now I have none available. So sorry, I can't support you on this task.


text:
Need releases or binary downloads.

I think you used to provide these on your website before your redesign.

+1 or at least provide build instructions to people that haven't done it before

+1 a readme would be much appreciated...

+1

+1  a README would be appreciated mate.

+1 a README would be appreciated mate.

Thanks for your work, but seriously, no README?

+1, a README.md would be helpful, even if it only pointed to "http://www.chrisvanpatten.com/master-windows-afloat-mac" that was listed above.
PR anyone?

This project has 13 open issues and 3 open pull requests, all from years ago. This project is clearly abandoned.

this afloat bundle works until yosemite;
for elcapitan one needs to disable sip first
http://www.tucows.com/preview/827212/Afloat

authors: Brendonwbrown bcherny earthbound19 ed-d lkmmmj lumodon monbro mrkapqa muminoff smpetrey

repo: millenomi/afloat


text:
Use Brute Force when Bitset Filter Rate is High

Issue: #792
This PR contains:

Use brute force strategy when bitset filter rate is high on HNSW and DiskANN
In UT, set nq from 1000 to 100 for CPU indices.
In UT, test for recall instead of searching for base vectors themselves.

UT fails, fix in PR #798, Issue #797

/hold

/unhold

As discussed with @liliu-z, a following PR will be opened to modify BF threshold.

/lgtm
/approve

authors: PwzXxm liliu-z

repo: milvus-io/knowhere


text:
Getting incorrect page orientation value

Bug description
I am working on OCR scenarios where documents can be rotated. I have set detect_orientation=True to observe the page orientation value. I am noticing inconsistent result for page orientation. I have a couple of documents where one is rotated 90 degree left and other is rotated 90 degree to right.
For both the documents I am getting orientation value {'value': 90, 'confidence': None}. How can I get the correct value of rotation which I can use to rotate the page to the right orientation. My goal is to reconstruct or rotate the page to it's right orientation so that I can display the pdf properly.
Here are the sample documents:

Code snippet to reproduce the bug
from doctr.models import ocr_predictor
from doctr.io import DocumentFile

pdf_path = "some path"
docs = DocumentFile.from_pdf(pdf_path)

# load model
predictor = ocr_predictor(
    det_arch="db_mobilenet_v3_large",
    reco_arch="parseq",
    pretrained=True,
    preserve_aspect_ratio=False,
    symmetric_pad=False,
    )

predictor.det_predictor.model.postprocessor.bin_thresh = 0.35
predictor.det_predictor.model.postprocessor.box_thresh = 0.3

result = predictor(docs)
ocr_json = result.export()

for page in ocr_json.get("pages", []):
      page_data = {
          "page_idx": page.get("page_idx"),
          "dimensions": page.get("dimensions"),
          "orientation": page.get("orientation"),
          "lines": [],
      }
      print(f"Page orientation: {page.get('orientation')}")

Error traceback
The page orientation value is incorrect.
Environment
Python 3.11.7
Deep Learning backend
Torch

Hi @vikasr111 :wave:,
You can easily fine tune the orientation models to your needs :)
See: https://mindee.github.io/doctr/using_doctr/custom_models_training.html#custom-orientation-classification-models
And https://github.com/mindee/doctr/tree/main/references/classification#usage-orientation-classification
Only images are required for training no annotations / all images for training shouldn't be rotated (+-10 degree would be fine) - labels are created by auto augmentation
Hope this helps :)
Best,
Felix

Thanks @felixdittrich92.
I handled this issue using a custom orientation fix using opencv. Would love to share the solution.

Hey @vikasr111 :wave:,
Sure would be great to share a snippet here where we can discuss if it makes sense to integrate in any way into docTR :hugs:

Hello @vikasr111,
Can you share with us how you fixed it pls?
Thank you,

@felixdittrich92 @aymen20002005 Earlier I had written a whole module which uses pdf2image to extract page image and run DocTR to find the orientation of the image. Later I realized that it's not the problem of DocTR but OnnxTR which I was using earlier.
I want to report a strange case where for the same image DocTR gives correct orientation of 0 as the image is vertical, while OnnxTR gives 180degree orientation.
Here's the image:

Here's the code snippet:
import os
import json
from doctr.io import DocumentFile
from doctr.models import ocr_predictor
# from onnxtr.io import DocumentFile
# from onnxtr.models import ocr_predictor

os.environ['USE_TORCH'] = '1'

img_path = "extracted_image/abc6_page_1.png"

predictor = ocr_predictor(
    det_arch="db_resnet50",
    reco_arch="crnn_mobilenet_v3_large",
    resolve_blocks=True,
    resolve_lines=True,
    paragraph_break=0.035,
    assume_straight_pages=False,
    detect_orientation=True,
)

doc = DocumentFile.from_images(img_path)
result = predictor(doc)
text_data = result.render()
json_data = result.export()
print(json_data)

parsed_file = f"doctr-output.txt"
with open(parsed_file, "w") as f:
    f.write(text_data)

Hey @vikasr111 :wave:,
Thanks for reporting i will have a look - OnnxTR uses the docTR models exported to Onnx while exporting it's possible that it leads to a small numerical difference - we check this already in our CI with an absolute tolerance from 0.0001 - but it's still possible that (especially the cases if the image is exactly 0, 90, 180, 270 degrees rotated) it differs (i expect it works in ~95% as the pytorch model).
I'm not sure if i can do anything about this but i will have a look :)
So do you think we can close the ticket here and move it to OnnxTR ? :)

@felixdittrich92 Yes. We can close this ticket. Thanks for all the help :)

repo: mindee/doctr


text:
Login with username and password?

Is it possible? I would like to have a login in the log viewer.

Sure, I added it here: https://github.com/SteveClement/cowrie-logviewer
;)
In conf.py you can set a username and password. Bare in mind it needs another flask plugin.

authors: SteveClement omaemaru

repo: mindphluxnet/cowrie-logviewer


text:
Remove CLI deploy from release:semantic

Description

With the switch to Netlify, we no longer need to manually deploy the site after release via the CLI. Instead, Netlify’s continuous deployment will automatically deploy when the chore(publish) commit is merged into master.
Motivation and context

It’s wasteful to deploy the same thing twice. Also, authentication can be an issue for the CLI deploy.
How to test

cd mineral-ui && npm run release:semantic
Step through options
Confirm that netlify deploy never runs
Confirm that the site still deployed via continuous deployment

Types of changes

Other (provide details below)

Build-related
Checklist

[x] Renders and functions properly in all supported browsers [n/a]
[x] Automated tests written and passing
[x] Accessibility and inclusivity considered [n/a]
[x] Rendering performance (initial load time & 60fps) and perceived performance considered [n/a]
[x] Documentation created or updated [n/a]
[x] Tested in sandbox if new component or breaking change [n/a]

How does this PR make you feel?

The release:semantic script just errors out if there's nothing to publish. The only way to really test this is to add it to an actual publish, but that seems like mixing concerns. I did a text search on the code base and there's nowhere else that's calling netlify deploy or deploy:site.

authors: kylegach riley

repo: mineral-ui/mineral-ui


text:
Concat features

How is it possible to do the following Step in new version(use of pandas_concat_inputs)?:
                                    transformer=GroupbyAggregationsFeatures(AGGREGATION_RECIPIES),
                                    input_steps=[df_step],
                                    input_data=['input'],
                                    adapter=Adapter({
                                        'X': ([('input', 'X'),
                                               (df_step.name, 'X')],
                                              pandas_concat_inputs)
                                    }),
                                    cache_dirpath=config.env.cache_dirpath)

@grzes314 can you provide quick answer to @tankz0r question? :) Thx

You need to update your docstrings, because there is old syntax:
                                   input_steps=[step_1, step_2],
                                   input_data=['input_2'],
                                   adapter = {'X':([('step_1','X_transformed'),
                                                    ('step_2','X_transformed'),
                                                    ('step_2','categorical_features'),
                                                    ('input_2','auxilary_features'),
                                                   ], hstack_inputs)
                                              'y':(['input_1', 'y'])
                                             }
and also the same is used in steppy-examples https://github.com/minerva-ml/steppy-examples/blob/master/tutorials/simple_step_example.ipynb

I understood how it should be. This way right?
    name='gather_step',
    transformer=make_transformer(lambda lst: {'X': pandas_concat_inputs(lst)}),
    input_steps=[df_step],
    input_data=['input'],
    adapter=Adapter({
        'lst': [E('input', 'X'), E(df_step.name, 'X')]
    }),
    cache_dirpath=config.env.cache_dirpath
)

Well in the way I mentioned earlier it works, however, I need to create one additional Step. Is it possible somehow to do in one line like it was previously?
                                        'X': ([('input', 'X'),
                                               (df_step.name, 'X')],
                                              pandas_concat_inputs)
                                    }),

Hi @tankz0r, you are right that the syntax from here https://github.com/minerva-ml/steppy-examples/blob/master/tutorials/simple_step_example.ipynb is outdated. By Friday we will have new version of code steppy-0.1.2 and docstrings changed accordingly.
New way of adapting inputs is preferred. This is because you do not leak any processing outside step.transformer which happened in case of passing function like hstack_inputs to arrange inputs in some way.
You can still use it in old way by directly taking the steps code from our open-solution-avito-demand-prediction. This link points you to the particular commit.
Best,
Kamil

Is it any difference between results of these two code samples(because I get the same answer in both)? What is the purpose to use Adapter in this case?

Hi @tankz0r, in this can there is no difference. By default Step take 'X', so adapting inputs is identity here: X -> X
Adapter is not obligatory attribute of the Step class.

seems like answer is satisfactory. Closing this :+1:

repo: minerva-ml/steppy


text:
闭包

闭包也可以叫做 lambda，是匿名函数，对应 OC 的 block。
let a1 = [1,3,2].sorted(by: { (l: Int, r: Int) -> Bool in
    return l < r
})
// 如果闭包是唯一的参数并在表达式最后可以使用结尾闭包语法，写法简化为
let a2 = [1,3,2].sorted { (l: Int, r: Int) -> Bool in
	return l < r
}
// 已知类型可以省略
let a3 = [1,3,2].sorted { l, r in
	return l < r
}
// 通过位置来使用闭包的参数，最后简化如下：
let a4 = [1,3,2].sorted { $0 < $1 }

函数也是闭包的一种，函数的参数也可以是闭包。@escaping 表示套以闭包，逃逸闭包是可以在函数返回之后继续调用的。@autoclosure 表示自动闭包，可以用来省略花括号。

@escaping 表示套以闭包 好像打错了，逃逸闭包

@escaping 表示套以闭包 好像打错了，逃逸闭包

已改


text:
[IMP] View / gather subscriptions according to group

And while first at it (bugging the heck out of @fguillot, as if the man doesn't have enough on his plate) -
perhaps Subscribtions should be listed by group - when viewing the feeds list
Group: News
--- feed 1 name
--- feed 2 name
Group: Tech
--- feed 3 name
--- feed 4 name
--- feed 5 name
Group: Software
--- feed 6 name
--- feed 7 name

@sparkles645 This idea was dropped in favor of a simpler implementation. Check https://github.com/kordianbruck/miniflux/issues/4
You are welcome to implement it.

repo: miniflux/miniflux


text:
Remove 'CN' library and required brackets around form.result

When I copied the quickstart example you provide into my code I received a number of errors that I needed to fix before I could test the library. These were my small fixes.
The CN library is external, so it shouldn't be included in the 'quickstart' example.
The brackets around form.result are required to avoid syntax errors.

Thanks!

authors: JasoonS alexfedoseev

repo: minima-app/re-formality


text:
Minio client overwrites the endpoint configuration regardless of temporary or permanent redirect

When the minio client gets a redirect, it overwrites the endpoint configuration regardless of temporary or permanent redirect.
Expected Behavior

On temporary redirect, the endpoint of the client should not change. On permanent redirect the endpoint should change.
Current Behavior

Endpoint is overwritten regardless of statuscode
Possible Solution

add logic in api.go to conditionally set the endpoint based on a permanent or temporary redirect
Steps to Reproduce (for bugs)

create a minio.Client with endpoint acme.redirector.com
have your redirector point to an s3/minio instance
use get object ( this gets a temporary redirect and returns the object )
use get object again, ( this goes directly to the s3 instance now even if it was a temporary redirect )

Context

We are using a redirector to point to different minio gateway caches
Regression

No
Your Environment

Version used (minio version):
Environment name and version (e.g. nginx 1.9.1):
Server type and version:
Operating System and version (uname -a):
Link to your project:

@kfelter unfortunately, Go doesn't help us to do what you asked, we cannot know if this is a temporary or permanent redirect in CheckRedirect
        // CheckRedirect specifies the policy for handling redirects.
        // If CheckRedirect is not nil, the client calls it before
        // following an HTTP redirect. The arguments req and via are
        // the upcoming request and the requests made already, oldest
        // first. If CheckRedirect returns an error, the Client's Get
        // method returns both the previous Response (with its Body
        // closed) and CheckRedirect's error (wrapped in a url.Error)
        // instead of issuing the Request req.
        // As a special case, if CheckRedirect returns ErrUseLastResponse,
        // then the most recent response is returned with its body
        // unclosed, along with a nil error.
        //
        // If CheckRedirect is nil, the Client uses its default policy,
        // which is to stop after 10 consecutive requests.
        CheckRedirect func(req *Request, via []*Request) error

The only solution is to avoid overwriting endpointURL in all cases (temporary or permanent redirects), but it might be not a good option as well because that means the request will always go to the original URL and get redirected each time.
I think we are not going to fix this. Closing this issue. Please free to reopen if you want to discuss this more.

authors: kfelter vadmeste

repo: minio/minio-go


text:
Fix awscli tests to fail on first error

Fixes: https://github.com/minio/mint/issues/147

We need to discuss whether failing on the first test failure makes sense for Mint automation

yes, I agree it is a testing blocker and it would be helpful to find all the failures in one go. We can take it under https://github.com/minio/mint/issues/151

repo: minio/mint


text:
Add the octokit gem

This gem is used by our github actions. Every action we have
installs the octokit gem during its setup.
This commit adds the octokit gem to the tools image, so that this
step will no longer be necessary.
After this commit is merged, the tool-image pipeline should be
updated to tag the image as version 1.5

I've changed my mind about this. It's probably better to keep the tools image as lean as we can (which is not very). Github actions using the tools image spend most of their time downloading the docker image, so installing a gem for a specific function doesn't add a lot to the run time.


text:
Add selenium tests

This adds some selenium tests, using pytest-django's live_server fixture (equivalent to Django's LiveServerTestCase)
Selenium can be really fiddly, and I don't want these tests to slow us down, so would welcome any suggestions on how to make them easy to maintain.
(Note: the commit history is messy so this is best reviewed all together)
Details
Mocking
This is using the global mock @murdo-moj added for the catalogue, so the tests don't depend on datahub to run.
Structure
I've applied the page object pattern so that all the selectors are in one place, so if we change the template we can change that without rewriting the whole test class.
Each step in a test extracted to a helper method so we can reuse them for multiple scenarios.
Utilities
I've included some utilities to make this more useful:

Run axe-core against each page, to catch certain classes of accessibility issues - we had a couple of these due to mangling the html while refactoring
Each time the driver clicks on something, save a screenshot to the tmp directory, to aid debugging

CI
Selenium tests are quite slow, so I've made it a separate step that runs only if the unit tests pass. It uses a headless chrome browser, which is installed by default on the ubuntu runner.
Fixes
In the process of adding these tests, I've fixed a couple of html issues such as missing labels, multiple main sections, elements appearing outside of a landmark region.

might we want to disable screenshots from the workflow job? we can't see any of the screenshots on the runner

authors: MatMoore murdo-moj

repo: ministryofjustice/find-moj-data


text:
Handle forms Page 2

add fields to schema and models
update factory
update controller

Can one of the admins verify this patch?

authors: colinbruce jenkins-moj

repo: ministryofjustice/fr-staffapp


text:
add paging params for GET /sent-referrals endpoint

What does this pull request do?
adds a new endpoint /sent-referrals/paged that takes page query params (page, size, sort) and returns page objects of referrals instead of long lists.
What is the intent behind these changes?
allow UI to call the paged endpoint for large case lists

random thought
I'd be kinda keen to separate the linter from the unit tests, the delay is a bit annoying

authors: sldblog tomsmyers


text:
Update MoJ frontend, dropping jQuery which is no longer required

Might be worth noting that cypress still bundles jquery so it will remain available for integration tests

Seems the sortable table component still needs jQuery by the way

@yndajas hmm that's weird… they announced that the 2.1 update

also removes a dependency on using jQuery within MOJ frontend code
… so i guessed they missed a component? i presume their intention is to actually remove the jquery dependency so it might be worth raising it with them?

… so i guessed they missed a component? i presume their intention is to actually remove the jquery dependency so it might be worth raising it with them?

Odd! There's a still-open issue from 2021 about this: https://github.com/ministryofjustice/moj-frontend/issues/134. jQuery is definitely still being used on main: https://github.com/search?q=repo:ministryofjustice/moj-frontend+$.&type=code. Will ask about the status of the dependency on Slack

authors: ushkarev yndajas


text:
Update documents after updates to inspection VPCs

Update references to how, where, and why we use firewalls
Document how VPCs access the internet
Supply latest version of network diagram

Few changes to the links so that they will work once rendered, but other than that it looks good to me. 👍

Thank you! I've committed those updates.


text:
github-collaborators repo unit test: remove-collaborator.py

Background
The github-collaborators/scripts/remove-collaborator.py has no unit test file
Proposed user journey
Add the unit tests for the existing code.

Closing. Deleted the script instead as it served no purpose.


text:
Inactive users repo: automate as much as possible

There is currently a large amount of manual steps involved with the current inactive users process.
Task
Automate as much as possible in this process. Specifically see if there is a GH API to get the dormant users from GitHub, utilise Notify to send out emails from code, check each user in the ignore list to see if they are still present on the GH Org and if not raise a slack message so we can do the leavers process on that user, check each user in the ignore list has been active on the GH Org, if a user is true for the last two checks then create a PR to update the list on the repository, the automation should create a list of users to email via Notify and store this in a file locally, the automation should wait three weeks and then get a new dormant user list from GH, check if any new user names are reported and ignore these users in this part of the process, the code should load the saved file and compare the list of users to see which users are still inactive and remove them. Once the user has been removed use Notify again to email the user to say we have removed them and to contact the team ideally on slack with their gh username within 90 days to get their previous settings back.
During the first and second run of the automation users who get in contact with the team could ask to be added to the ignore list, this would be a manual step to add the user, this ensures the user is not removed.
Users that are on any type of leave will need to be added to the ignore list as well.
These are the manual steps:

Ask Tony for the dormant users export file from GH
Locally check out the repo
Rename the file from Tony as dormant.csv
Go though process to get the file onto the main branch via PR
In the repo GH action: https://github.com/ministryofjustice/inactive-users/actions/workflows/delete-dormant-users.yml run the workflow manually with false
After the action is finished open the CI logs, go to the section with a paragraph of email addresses
If any emails look like bot accounts, add these to the allow list in the python file
Copy and paste the email addresses into a new email as blind CC (bcc)
Apply the email template for MoJ Org or AS Org depending on which org working on, set a date for 2 or 3 weeks from now to log in, send out the email
See if any emails bounce. If so remove those users and do a leavers process check on them
Expect emails over the next 2 or 3 weeks, and reply to these users. If any email report the user is on any type of leave add these users to the allow list. If a user asks to be put on the allow list, add these users to the allow list in the python file: https://github.com/ministryofjustice/inactive-users/blob/main/scripts/python/delete-dormant-users.py
Wait the 2 or 3 weeks.
Repeat steps 1 to 6.
Look at the list of usernames in the GH action CI log. Compare this list manually with the list of users in step 6.
If there are new usernames in step 13, create a branch and add these users into the allow list
Repeat step 5 but this time select your new branch and set the value to true. This will remove the users who GH think is dormant.
The branch can now be deleted
Expect emails from the users that have been removed over the next few weeks / months, asking to be added back into the MoJ, they will state they logged in, missed the email, etc. The user needs to provide their GH login to get the same previous access settings. If add them back using the email address GH treats it as a new user all over again.

New using Notify from step 8 to 10:

From step 8 get the list into a vertical .csv file. Edit the .csv and add on elements
A1: email address
B1: login_date
Log into Notify and pick the relevant 'GitHub Access' template for the GH Org.
Click the 'Get ready to send' button, pick the 'operations-engineering' email, select 'Upload a list of email addresses', select the .csv file.
Check the emails and date template looks good and send out the emails.
See which emails bounce.

Need to email the users twice: once at the start of the process and a few days before the expiry date to log into GH

Still no API or automated way to get the Dormant .csv file from GH enterprise settings

Can use this command to get a file from another repo:
curl -o  report.csv
-H 'Authorization: token TOKEN’
-H  'Accept: application/vnd.github.v3.raw' -L
https://api.github.com/repos/ministryofjustice/inactive-users/contents/filename.type

The plan is to move the code in this repository into the operations-engineering repository. The GH Actions to remove dormant users and remove auth0 users will be run from the operations-engineering repository. The dormant.csv file will be moved to AWS S3, added either manually or via the Terminal / AWS. The inactive-users repository will be deleted. Notify will be integrated with the code to send out automatic emails. The code on the operations-engineering repository will retrieve the dormant.csv file from AWS S3 when the GH Action is executed. New GH Actions will be used on the operations engineering repository. The first GH Action will print the dormant user usernames to check if any bot accounts need to be added to the allow list. The second GH Action will use Notify to email the dormant users to log in. Notify can be used to see if any emails bounce. Auto reply emails will be seen in the operations-engineering group inbox, this is for users on leave that need to be added to the allow list. The users that were emailed will be stored within the file on AWS S3. This file will contain usernames and email addresses of the users that are dormant and being monitored. The third GH Action will send the reminder email to the users within the S3 file which should be done a few days before removing users. The allow list would need to be updated before the next step if any one requests to be added. A new dormant file will be need to be added to S3. The fourth GH Action will remove the users that are still dormant, then delete the temporary file from S3 and send out an email to each user to tell them they have been removed by us for being dormant.
Tasks to be done:

Remove the inactive_users Script
Rename python files
Update the Readme
New function that checks the users in allow list still exist and prints a message if they no longer exist, so that they can be removed from the allow list.
Move the code to the operations-engineering repository
Add a print usernames GH action option: so can look for bot accounts, and ensure ignore list is working
Create a send 1st email GH action: send a template email via Notify to dormant users via CI rather than manually.
Store a list of usernames and email addresses of which users have contacted into a S3 file.
Create a send 2nd email GH action: get the S3 file, read it, email the reminder email template via CI rather than manually.
Create a remove dormant users GH Action: get the S3 file, read it, if user is still dormant then remove those users, then delete the file from the S3 bucket and send an email to each user to tell them they have been removed by us for being dormant.
Add unit tests
When finished the repo should just contain the dormant.csv file only.


text:
Validate a DNS Change Has Completed After PR Merge

User Need
As a Operations Engineer
I want to know if a PR merge results in a failure
so that we can investigate and fix any failures
Value
By validating whether or not a change has been successful, we as a team know if we a required to perform further work on a particular change. We can also communicate this information back to the user if necessary to keep them in the loop.
Functional Requirements (What):

[ ] We have an alert set up inform the operations engineering team as to whether a particular change has failed.
[ ] We have an agreed process on how to bring in this work to the sprint.

Non-Functional Requirements (How):

[ ] The OctoDNS workflow has the appropriate logic to alert the team whenever the change is unsuccessful.

Acceptance Criteria:

[ ] Operaitons Engineering are immediately informed of a DNS change failure.

Notes:
An assumption here is that we bring in any additional work into the sprint as 'unplanned' and work on it with reasonably high priority, as this may block the users who raised the request.

Duplicate of #4757

authors: PepperMoJ jasonBirchall


text:
UML-1910 banner update live phase

Purpose
https://opgtransform.atlassian.net/browse/UML-1910
Fixes UML-1910
Approach
Explain how your code addresses the purpose of the change
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about the Use a Lasting Power of Attorney service
Checklist

[X] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] New event_codes have been documented on the wiki page
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[X] I have added welsh translation tags and updated translation files
[ ] I have run an accessibility tool on any pages I have made changes to and fixed any issues found
[ ] The product team have tested these changes

This PR adds feedback links to the bottom of all pages in view and use like below. Hence affected the large number of files.

repo: ministryofjustice/opg-use-an-lpa