[BUG] (Winget component not working, hangs in 2.1.2-beta and in earlier releases)

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 tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions
[X] This issue is about a bug (if it is not, please use the correct template)

Describe your issue
Winget is installed on win 11 23H2 with latest updates. It works.
However the Winget-Section in WingetUi 2.1.2-beta hangs

Steps to reproduce the issue
Bug appear independent of  the situation

uninstall winget and winget ui and reinstall
reset winget in wingetui

WingetUI Log
🟡 Using bundled lang file (forced=False)
🟡 Using bundled lang file (forced=True)
🔵 It took 0.0 to load all language files
🟢 checkQueue Thread started!
Exception in thread Tools: get foreground window:
Traceback (most recent call last):
  File "threading.py", line 1052, in _bootstrap_inner
  File "threading.py", line 989, in run
  File ".\tools.py", line 517, in foregroundWindowThread
ImportError: Module use of python311.dll conflicts with this version of Python.
🟡 Chocolatey was not found on the default location, perhaps a portable WingetUI installation?
🟢 Updating outdated language file...
🟢 Using cached lang file
---------------------------------------------------------------------------------------------------

   WingetUI version 2.1.2-beta (version number 2.119) log
   All modules loaded successfully and sys.stdout patched correctly, starting main script
   Translator function language set to "en"

---------------------------------------------------------------------------------------------------

 Log legend:
 🔵: Verbose
 🟢: Information
 🟡: Warning
 🟠: Handled unexpected exception
 🔴: Unhandled unexpected exception
 🟣: Handled expected exception

🔵 Starting main application...
🔵 Looking for alive instances...
🔵 Starting API with random session authentication token be4dae6561023d3e4a2b460e986253f10731471b75bc2a9e9a77865eb3743bf7
🟡 Found lock file(s), reactivating...
🔵 Reloading Winget sources...
🔵 Reloading Scoop sources...
🔵 Loading WingetUI AUMID...
🔵 Starting update check
🟢 Downloaded latest metadata to local file from url https://raw.githubusercontent.com/marticliment/WingetUI/main/WebBasedData/screenshot-database-v2.json
🔵 Loaded metadata from local file
🔵 Version URL: https://www.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🔵 Reactivation signal ignored: RaiseWindow_[1702412948.6002963]
🟢 Found valid aumid C:\Users\Othmar\scoop\apps\wingetui\current\WingetUI.exe
{'sudoFound': True, 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r', 'NpmFound': False, 'NpmVersion': 'Npm is disabled', 'ChocolateyFound': True, 'ChocolateyVersion': '', 'WingetFound': True, 'WingetVersion': '', '.NET ToolFound': True, '.NET ToolVersion': '7.0.404\r', 'ScoopFound': True, 'ScoopVersion': "Current Scoop version: v0.3.1 - Released at 2022-11-15  'extras' bucket: af033e3cf yubioath: Update to version 6.3.1  'main' bucket: 9ca9444ff winget: Update to version 1.6.3421  ", 'PipFound': True, 'PipVersion': 'pip 23.3.1 from C:\\Users\\Othmar\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\pip (python 3.10)   '}
🔵 Reached main ui load milestone
🟢 Discover tab loaded successfully
🟢 Total packages: 0
🟢 Update tab loaded successfully
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🟢 Uninstall tab loaded successfully
🔵 Starting Winget search for installed packages
🔵 Starting Scoop search for installed packages
🔵 Starting Chocolatey search for installed packages
🔵 Starting Pip search for installed packages
🔵 Starting .NET Tool search for installed packages
🟢 Searching for string ""
🟢 Winget search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Winget search for installed packages
🟢 Winget search for installed packages finished with 0 result(s)
🟢 Starting winget source search...
🟢 Starting winget source search...
🟢 Starting scoop search...
🟢 Starting scoop search...
🟢 Settings tab loaded!
🟢 winget source search finished
🟢 winget source search finished
🟢 About tab loaded!
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Chocolatey search for installed packages
🟢 .NET Tool search for installed packages finished with 1 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting .NET Tool search for installed packages
🟢 Main application loaded...
🟢 Searching for string ""
🟢 Scoop search for installed packages finished with 0 result(s)
🟢 .NET Tool search for installed packages finished with 1 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Scoop bucket search finished
🟢 Scoop bucket search finished
🟢 Pip search for installed packages finished with 14 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 15
🔵 Starting Pip search for updates
🔵 Starting .NET Tool search for updates
🔵 Starting Winget search for updates
🔵 Starting Scoop search for updates
🔵 Starting Chocolatey search for updates
🟢 Winget search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Starting winget source search...
🟢 Starting scoop search...
🟢 winget source search finished
🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement
🔵 Image URL: https://www.marticliment.com/resources/wingetui.png
🟢 .NET Tool search for updates finished with 1 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Scoop bucket search finished
🟢 Pip search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Scoop search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟡 Can't get custom interval time! (got value was '')
🟢 Total packages: 1
🔵 Loading WingetUI log...
🔵 Copying log to the clipboard...
🔵 Loading WingetUI log...

Package Managers Logs
Outputs from package managers on the current session:
 ---------Winget

---------Winget

---------Chocolatey
Chocolatey v2.2.2
0 packages installed.-------dotnet
Paket-ID                   Version      Befehle
-------------------------------------------------------------
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated

---------Scoop
Installed apps:

Name         Version Source Updated             Info

-------dotnet
Paket-ID                   Version      Befehle
-------------------------------------------------------------
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated

---------Chocolatey
Chocolatey v2.2.2
0 packages installed.---------Winget
--------dotnet

Package Id            Current Available
---------------------------------------
dotnet-tools-outdated 0.6.0   0.6.1---------Chocolatey
Chocolatey v2.2.2
Outdated Packages
Output is package name | current version | available version | pinned?Chocolatey has determined 0 package(s) are outdated.---------Pip
---------Scoop
Scoop is up to date.
Everything is ok!

Relevant information
No response
Screenshots and videos

Hello, could you please give more details on the hang?
Thanks!

I have the same issue. I can also provide logs, if needed.

@mi-skam, does the file exist? Reinstallign WingetUI does restore this file to a working state?

It exists, but does nothing.

Same for me, ...\winget-cli_x64\winget.exe is there, independent wheter wingetui is installed from git or from scoop. The windows installation of winget (is there in parallel) is a modern windows app, i.e. there is no direct winget.exe from microsoft. Using a link to %localappdata%\microsoft\WindowsApps\winget.exe does not help either.
Did Microsoft change thew protocol?
Thanks for Wingetui

Winget binaries have been updated to a newer version

the problem persists in wingetui WingetUI 2.2.0
C:\Program Files\WingetUI\wingetui\PackageEngine\Managers\winget-cli_x64
λ gsudo winget source reset
An unexpected error occurred while executing the command:
0x8a15000b : The configured source information is corrupt

winget path: "C:\Program Files\WingetUI\wingetui\resources\..\winget-cli\PackageManagers\winget-cli_x64\winget.exe"
Performing reset...
The system cannot find the path specified.
'.\winget.exe' is not recognized as an internal or external command,
operable program or batch file.
'.\winget.exe' is not recognized as an internal or external command,
operable program or batch file.
'.\winget.exe' is not recognized as an internal or external command,
operable program or batch file.
Info: Cache session closed.
Task completed!
You can now close this window and refresh your package lists
Press any key to continue . . .

Could you please enable system winget and try it again? Thanks!

yes working


Local printer management

Hi,
is it possible to use local printers with RDP Wrapper?
Actually i'm not able to do this.
                                                       Thanks, Filippo

local printers work just fine for me.  (win7 server and clients)

Right Click Edit your RDP Icon.
Select Local Resources Tab
Tick Printers in the Local devices and resources box


Unsupported URL to extract cookies - platzi

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.09.24 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Spain
Provide a description that is worded well enough to be understood
The error shows is
ERROR: Unsupported URL: https://platzi.com/new-home/
It extracts all cookies from the browser included from platzi's. But I want that only be extracted the URL I want (platzi)
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--cookies-from-browser', 'firefox', '--cookies', 'cookies0.txt', 'https://www.platzi.com']
Extracting cookies from firefox
[debug] Extracting cookies from: "/home/neo/.mozilla/firefox/xnl51rjg.default-release/cookies.sqlite"
Extracted 861 cookies from firefox
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[088add956] (zip)
[debug] Python 3.11.5 (CPython x86_64 64bit) - Linux-6.5.5-200.fc38.x86_64-x86_64-with-glibc2.37 (OpenSSL 3.0.9 30 May 2023, glibc 2.37)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: Crypto-broken 2.6.1, sqlite3-3.40.1
[debug] Proxy map: {}
[debug] Loaded 1886 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 9c32c2f215a58c33369ec6105b7e97871905b8d757407bea2bc71d265f9f6cfe
yt-dlp is up to date<EMAIL_ADDRESS>[generic] Extracting URL: https://www.platzi.com
[generic] www.platzi: Downloading webpage
[redirect] Following redirect to https://platzi.com/new-home/
[generic] Extracting URL: https://platzi.com/new-home/
[generic] new-home: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] new-home: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://platzi.com/new-home/
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1567, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1702, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 715, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/generic.py", line 2568, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://platzi.com/new-home/

--cookies-from-browser is only able to extract all cookies from the browser target, as explained in the FAQ.
If you want to only extract specific cookies, you can make use of Firefox containers, and extract only from a given container, e.g. --cookies-from-browser firefox::platzi (where your FF container is named platzi)


upgrade to cuda9(Volta) GPU arch

Currently, I fix the cuda9 error and some issues in https://github.com/baidu-research/warp-ctc/pull/117.  However, our branch has diverged with original repo, this PR cherry-picked from my repo, now it can be safely merged. Please review this PR in your spare time, thanks!

@dzhwinter  @wangkuiyi Say, would you be able to shed some light on the mask (0 if I see this correctly) you are using? in most other venues, it seems to be that shfl is replaced by shfl sync with all mask bits set. I would be most grateful!

Seems not work for me with cuda9.2 and V100.  With "./test_cpu: error while loading shared libraries: libwarpctc.so: cannot open shared object file: No such file or directory".  Any suggestion?

can this PR be merged? WarpCTC is failing on V100 otherwise

@Diamondfan
maybe you need to set
$ cd build
$ export LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH
$ ./test_gpu

I also get same error as @ThomasDelteil.
$ ./test_gpu
Running GPU tests
Some or all tests fail

I use cuda-9.0 and Volta-100.

use cuda10, and modify the code:
IF (CUDA_VERSION GREATER 7.6)
    set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_60,code=sm_60")
    set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_61,code=sm_61")
    set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_62,code=sm_62")
    set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_70,code=sm_70")
ENDIF()

it works.


Is it possible to "store" colorization details in struct?

Hey!
I'm not sure if this is possible (at least it doesn't seem to be at comile-time). I have a struct that I want to contain details on how to format specific parts of a document:
pub struct DocumentStyle {
    pub header: ... ,
    pub body: ... ,
}

I'd imagine something like this:
let style = DocumentStyle::default().header(owo_colors::some_way::fg::<Red>().bg::<Yellow>());
println!("{}", style,header.apply(some_header_text));

I've taken a look at the source and it seems that the color information is stored using PhantomData but it's coupled with the output string on which the style is applied to. There seems to be no way to "separate" them.

I believe the Styles API is what you want @mainrs:
https://docs.rs/owo-colors/2.1.0/owo_colors/struct.Style.html

np! I should probably improve the docs and examples to better show how to use Style!


Feature: Semgrep checker for Python

Hi there,
I was hoping to add Semgrep as a Syntastic checker. I'm happy to create a PR adding the checker myself, but first I wanted to check that Syntastic is still actively accepting new checkers, and that Semgrep looks like a viable addition.
Thanks for your work on Syntastic - it's a crucial part of my daily workflow :)

Syntastic has been superseded by ALE, its use these days is essentially limited to systems that (for whatever reasons) are still running Vim 7.  What this means is that I'm doing maintenance for it as long as it doesn't involve too much trouble for me.  If you were to add a new checker then you'd promptly go on with your life, and leave me to maintain it as part of syntastic.  Now, semgrep, while very powerful, seems to be pretty complicated, and completely outside my range of knowledge.  That doesn't seem remotely trouble-free.  So the TL;DR is, you should focus on ALE instead, and if syntastic really is a "crucial" part of your workflow just write an external checker for it.  Thank you for your understanding.

I appreciate the honesty, thanks for point me at the external checker docs. I went ahead and did that: https://github.com/returntocorp/semgrep.vim. I'll make sure to take a look at ALE too :+1:
Thanks again for maintaining Syntastic!


In procedural levels, at level start, no buttons appear to have focus.

When the player starts a procedural level, they can spawn fish without selecting a button, which is appropriate. However, no button appears to be highlighted, so it's hard for the player to tell what they're spawning.
Make sure a button gets a focus highlight during procedural levels.

not important


feat: rename exposed indicator labels

Describe your changes

Indicator labels are updated

resolves https://github.com/rodekruis/Anticipatory-Action/issues/644
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have added tests wherever relevant
[ ] I have made sure that all automated checks pass before requesting a review

> test:api:all
> node --expose-gc node_modules/.bin/jest --config=jest.api.config.js --runInBand --detectOpenHandles --logHeapUsage

ts-jest[versions] (WARN) Version 4.9.5 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
 PASS  test/email/floods/email-uga-floods.test.ts (30.89s, 80 MB heap size)
  Should send an email for uga floods
    ✓ default (7208ms)
    ✓ warning (7224ms)
    ✓ warning-to-trigger (8060ms)
    ✓ no-trigger (7863ms)

 PASS  test/email/floods/email-ssd-floods.test.ts (15.278s, 80 MB heap size)
  Should send an email for ssd floods
    ✓ default (7580ms)
    ✓ no-trigger (7601ms)

 PASS  test/email/drought/email-uga-drought.test.ts (17.138s, 81 MB heap size)
  Should send an email for uga drought
    ✓ triggered in january (9083ms)
    ✓ non triggered any month (7958ms)

 PASS  test/email/typhoon/email-phl-typhoon.test.ts (11.552s, 88 MB heap size)
  Should send an email for phl typhoon
    ✓ default (11462ms)

Test Suites: 4 passed, 4 total
Tests:       9 passed, 9 total
Snapshots:   0 total
Time:        75.196s
Ran all test suites.


Add a right click option to the death timer thing to clear it.

Instead of having to search for the plugin, let us just right click clear it.

I would like to have an option to reset it meaning it will go away once I reset it and wont come back again till I get killed again.

That option exists, it's in the death plugin.

This is probably not gffc due to that we cannot currently add menus to individual infoboxes.


Command help output is always indented

I'm not certain why the help output is always indented, but it would be great if that could at least be turned off.
https://github.com/c4spar/deno-cliffy/blob/46a2b833dbc89754073d4bad6e753bca19184f11/command/help/_help_generator.ts#L81
This doesn't seem standard to most CLIs I've used, but if it's generally desirable, making indent configurable as a field on HelpOptions could be an easy solution to please everyone.

hi @dontstabai, thx for your feedback!
I like the indentation but it's fine for me to make it configurable.
Is it only about the indentation or also about the line breaks at the beginning and end of the help text?

I finally got around to doing this, but I can't push my branch for a PR. I get:
remote: Permission to c4spar/deno-cliffy.git denied to dontstabai.
fatal: unable to access 'https://github.com/c4spar/deno-cliffy.git/': The requested URL returned error: 403

Do I need permission to push?
(sorry if this is a dumb question, I've been using another version control system for years and still getting used to git)

Hi @dontstabai, cool 👍
you need to create a fork of the cliffy repo and than push your changes to the forked repo. Than you can open a pull request to merge your changes into the main repo.

Oh, right! Thank you, will do.


EFCore API Reference contains test assemblies

Example: https://docs.microsoft.com/en-us/ef/core/api/microsoft.entityframeworkcore.sqlserver.design.tests.apiconsistencytest

@divega @Rick-Anderson this looks like legacy API that needs to be redirected to the modern docs: https://docs.microsoft.com/en-us/dotnet/api/?view=efcore-2.1
Can you confirm?

@dend yes, that is correct. Issue https://github.com/aspnet/EntityFramework.ApiDocs/issues/9 is about setting up redirects and clearing it up, but I don't think it is in anyone's plate to do this. Would it help to track it here?

@johnduhart If you remember how you reached that page, that would be great. I want to make sure we don't have any links to the old API reference in our conceptual docs.

@divega iirc it was a google search that landed me on those pages.

Thanks @johnduhart. Good to know. Once the redirects are in place, that shouldn’t be a problem anymore.

Thanks folks for the feedback - this should be resolved! The new EF Core reference is located in the .NET API Browser.
Den Delimarsky ● Senior PM, docs.microsoft.com ● @DennisCode

@dendeli-msft is it expected that links to the old API (e.g. https://docs.microsoft.com/ef/core/api/microsoft.entityframeworkcore) return 404? I was expecting it to redirect, but perhaps it is really supposed to fail...
cc @mairaw

I had a redirect request that kept getting closed as done and I kept reopening. Let me see if I can find that again.

@mairaw - The link Diego posted above does not give 404 now and redirect to .NET API browser. Should this be marked as closed?

Yes, I believe you worked with Alma to remove those test packages from the docs reflection, correct?

Yes, they are removed.


Question: How to find the path of all associated applications through extension?

I have an extension, but I don’t know how to find all applications that support this extension.
“ShellAssociation" only returns the default application, but I need all of them...
Here is what I want:
.pdf  ->
"Microsoft Edge" (full path)
"Drawboard" (full path)
"Adobe Acrobat Reader" (full path)

ShellAssociation is simply a wrapper around IQueryAssociations. It does not include a capability to walk the association's list. There are numerous articles on StackOverflow on how to do what you are asking. If you find a simple way, send me the code and I will add it to that class.

@zhuxb711 I think you are looking for SHAssocEnumHandlers.
https://github.com/dahall/Vanara/blob/c3a63c8c1b8ce1c49aadfa0ad1126078b8aac745/PInvoke/Shell32/ShObjIdl.cs#L1819

@vessd That's what I need! Thanks a lot~
@dahall Consider the following code:
if (Shell32.SHAssocEnumHandlers(".png", Shell32.ASSOC_FILTER.ASSOC_FILTER_NONE, out Shell32.IEnumAssocHandlers AssocHandlers) == HRESULT.S_OK)
            {
                Shell32.IAssocHandler[] Handlers = new Shell32.IAssocHandler[100];

                if (AssocHandlers.Next(100, Handlers, out uint FetchedNum) == HRESULT.S_OK)
                {
                    Array.Resize(ref Handlers, Convert.ToInt32(FetchedNum));

                    foreach (Shell32.IAssocHandler Handler in Handlers)
                    {
                        try
                        {
                            if (Handler.GetName(out string FullPath) == HRESULT.S_OK && Handler.GetUIName(out string DisplayName) == HRESULT.S_OK)
                            {
                                Debug.WriteLine($"Associate Name: {DisplayName}, Executable Path: {FullPath}");
                            }
                        }
                        finally
                        {
                            Marshal.ReleaseComObject(Handler);
                        }
                    }
                }
            }

Yep. Instead I added the following:
/// Gets a list of file name extension handlers.
/// <value>The handlers for this association.</value>
public IReadOnlyList<ShellAssociationHandler> Handlers
{
   get
   {
      if (SHAssocEnumHandlers(Extension, ASSOC_FILTER.ASSOC_FILTER_NONE, out var ieah).Failed)
         return (IReadOnlyList<ShellAssociationHandler>)new List<ShellAssociationHandler>();
      using var pieah = ComReleaserFactory.Create(ieah);
      var e = new Vanara.Collections.IEnumFromCom<IAssocHandler>(ieah.Next, () => { });
      return (IReadOnlyList<ShellAssociationHandler>)e.Select(i => new ShellAssociationHandler(i)).ToList();
   }
}

/// Represents a handler (executable) for a <see cref="ShellAssociation"/>.
public class ShellAssociationHandler : ComObjWrapper<ShellAssociationHandler, IAssocHandler>
{
   internal ShellAssociationHandler(IAssocHandler h) : base(h)
   {
   }

   /// Retrieves the location of the icon associated with the application.
   /// <value>
   /// An <see cref="IconLocation"/> instance that contains the path and the index of the icon within the resource file for the
   /// application's icon.
   /// </value>
   public IconLocation IconLocation => ComInterface.GetIconLocation(out var p, out var i).Succeeded ? new IconLocation(p, i) : null;

   /// Indicates whether the application is registered as a recommended handler for the queried file type.
   /// <value><see langword="true"/> if this instance is recommended; otherwise, <see langword="false"/>.</value>
   /// <remarks>
   /// <para>
   /// Applications that register themselves as handlers for particular file types can specify whether they are recommended
   /// handlers. This has no effect on the actual behavior of the applications when launched. It is simply provided as a hint to
   /// the user and a value that the UI can utilize programmatically, if desired. For example, the Shell's <c>Open With</c> dialog
   /// separates entries into <c>Recommended Programs</c> and <c>Other Programs</c>.
   /// </para>
   /// <para>
   /// Note that program recommendations may change over time. One example is provided when the user chooses an application from
   /// the <c>Other Programs</c> of the <c>Open With</c> dialog to open a particular file type. That may cause the Shell to
   /// "promote" that application to recommended status for that file type. Because the recommended status may change over time,
   /// applications should not cache this value, but query it each time it is needed.
   /// </para>
   /// </remarks>
   public bool IsRecommended => ComInterface.IsRecommended() == HRESULT.S_OK;

   /// Retrieves the full path and file name of the executable file associated with the file type.
   /// <value>A string that contains the full path of the file, including the file name.</value>
   public string Name => ComInterface.GetName(out var n).Succeeded ? n : null;

   /// Retrieves the display name of an application.
   /// <value>A string that contains the display name of the application.</value>
   public string UIName => ComInterface.GetUIName(out var n).Succeeded ? n : null;

   /// Indicates whether the current object is equal to another object of the same type.
   /// <param name="other">An object to compare with this object.</param>
   /// <returns>true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false.</returns>
   public override bool Equals(IAssocHandler other) => Name.Equals(other.GetName(out var n).Succeeded ? n : null);

   /// Returns a hash code for this instance.
   /// <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
   public override int GetHashCode() => Name.GetHashCode();

   /// Directly invokes the associated handler.
   /// <param name="items">A sequence of selected items on which to invoke the handler.</param>
   /// <remarks>
   /// <para>
   /// IAssocHandler objects are typically used to populate an <c>Open With</c> menu. When one of those menu items is selected,
   /// this method is called to launch the chosen application.
   /// </para>
   /// <para>Invoke and CreateInvoker</para>
   /// <para>
   /// The IDataObject used by these methods can represent either a single file or a selection of multiple files. Not all
   /// applications support the multiple file option. The applications that do support that scenario might impose other
   /// restrictions, such as the number of files that can be opened simultaneously, or the acceptable combination of file types.
   /// </para>
   /// <para>
   /// Therefore, an application often must determine whether the handler supports the selection before trying to invoke the
   /// handler. For example, an application might enable a menu item only if it has verified that the selection in question was
   /// supported by that handler.
   /// </para>
   /// </remarks>
   public void Invoke(params ShellItem[] items)
   {
      if (items.Length == 0) throw new ArgumentException("", nameof(items));
      // TODO: Call for multiple invokeable items
      if (items.Length > 1) throw new NotImplementedException();
      ComInterface.Invoke(new ShellDataObject(items)).ThrowIfFailed();
   }

   /// Sets an application as the default application for this file type.
   /// <param name="description">
   /// <para>A string that contains the display name of the application.</para>
   /// </param>
   public void MakeDefault(string description) => ComInterface.MakeDefault(description).ThrowIfFailed();
}

Thanks @vessd for the pointer. This will get pushed once I'm done testing.

new IconLocation(p, i)

This will failed if it is UWP

@zhuxb711 Why will the IconLocation constructor fail?

Because it throw an exception and the message is "resourceIndex could not be 0"
And other problem is you should use CreateInvoker when items.Length >1

It is recommended to increase a new property "IsDefault" to determine whether it is the default association. You could get it from the code below:
uint Length = 0;

if (ShlwApi.AssocQueryString(ShlwApi.ASSOCF.ASSOCF_VERIFY, ShlwApi.ASSOCSTR.ASSOCSTR_EXECUTABLE, System.IO.Path.GetExtension(Path).ToLower(), null, null, ref Length) == HRESULT.S_FALSE)
{
          StringBuilder Builder = new StringBuilder(Convert.ToInt32(Length));

          if (ShlwApi.AssocQueryString(ShlwApi.ASSOCF.ASSOCF_VERIFY, ShlwApi.ASSOCSTR.ASSOCSTR_EXECUTABLE, System.IO.Path.GetExtension(Path).ToLower(), null, Builder, ref Length) == HRESULT.S_OK)
          {
               return Builder.ToString();
          }
          else
          {
               return string.Empty;
          }
}
else
{
     return string.Empty;
}


build fail on eigen

On Ubuntu 14.04 in a VirtualBox
Followed setup and install instructions and ran:
bazel build -c opt //tensorflow/tools/pip_package:build_pip_package
Stops on error:
INFO: From Compiling tensorflow/core/kernels/conv_grad_ops.cc:
In file included from ./external/eigen_archive/eigen-eigen-b45554449873/unsupported/Eigen/CXX11/Core:35:0,
from ./external/eigen_archive/eigen-eigen-b45554449873/unsupported/Eigen/CXX11/Tensor:14,
from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
from ./tensorflow/core/framework/types.h:23,
from ./tensorflow/core/framework/type_traits.h:22,
from ./tensorflow/core/framework/allocator.h:25,
from ./tensorflow/core/framework/op_kernel.h:22,
from ./tensorflow/core/framework/numeric_op.h:19,
from tensorflow/core/kernels/conv_grad_ops.cc:22:
./external/eigen_archive/eigen-eigen-b45554449873/unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h: In static member function 'static void Eigen::internal::TensorExecutor<Expression, Eigen::ThreadPoolDevice, Vectorizable>::run(const Expression&, const Eigen::ThreadPoolDevice&) [with Expression = const Eigen::TensorAssignOp<Eigen::TensorMap<Eigen::Tensor<float, 4, 1, long int>, 16>, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 4>, const Eigen::TensorContractionOp<const Eigen::array<Eigen::IndexPair, 2ul>, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorImagePatchOp<-1l, -1l, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16> > >, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorReverseOp<const Eigen::array<bool, 4ul>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16> > > > > >; bool Vectorizable = true]':
./external/eigen_archive/eigen-eigen-b45554449873/unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h:24:67: warning: array subscript is above array bounds [-Warray-bounds]
EIGEN_STRONG_INLINE T& operator[] (size_t index) { return values[index]; }
^
INFO: From Compiling tensorflow/core/kernels/cwise_op_add.cc:
gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
ERROR: /home/sandra/deeplearning/tensorflow/tensorflow/core/BUILD:342:1: C++ compilation of rule '//tensorflow/core:kernels' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections ... (remaining 78 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 4.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 815.245s, Critical Path: 772.81s
I tried running the gcc call and it said somethine like eigen_archive/... didn't exist. I'm not sure where it's mean to be or whether it's generated by this step, but it's not under bazel-bin/external like the other "archive" folders.
$ ls bazel-bin/external/
jpeg_archive/ png_archive/  re2/
Any help?

The eigen code is downloaded from bitbucket and stored by bazel under bazel-tensorflow/external/eigen_archive.
Can you tell me the exact version of gcc you're using ? I am able to compile on ubuntu without any problem, but I might be using a slightly different revision of the compiler.

gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
How do I run Bazel just to build eigen? Maybe I can try that, and see what errors.
Or if you can tell me how
Looking around, I see eigen3 under third_party/eigen3
$ ls *
BUILD  LICENSE
Eigen:
Array     Core   Eigenvalues  Householder  LeastSquares  OrderingMethods  StdDeque
Cholesky  Dense  Geometry     Jacobi       LU            QR               SVD
unsupported:
Eigen

Maybe you can download Eigen directly from bitbucket and see if you can successfully compile the tests:
cd /some/dir/
hg clone HTTPS://bitbucket.org/eigen/eigen
mkdir build
cd build
cmake /some/dir/eigen DEIGEN_TEST_CXX11=ON
make check

Is this still a problem?

Couldn't get it running under VirtualBox on my Mac, so kind of moved on to
do it on a native Ubuntu system (which worked).  I'll give it another shot
in VirtualBox when I have time. Thanks for following up though!
On Mon, Feb 22, 2016 at 5:57 PM, Benoit Steiner<EMAIL_ADDRESS>wrote:

Is this still a problem?
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/941#issuecomment-187425788
.

When you try again, can you make sure that you create the VM with a lot of memory? gcc may simply have been running out of memory.


Cherry Pick HttpAgent and Bump 0.21.2

Description:

cherry pick #1082
bump 0.21.2

Related issue(s):
Fixes #
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Codecov Report
Patch coverage: 86.36% and project coverage change: -0.05 :warning:

Comparison is base (2995f93) 74.79% compared to head (3dcdb45) 74.74%.

:exclamation: Current head 3dcdb45 differs from pull request most recent head 1877e6a. Consider uploading reports for the commit 1877e6a to get more accurate results

Additional details and impacted files
@@               Coverage Diff                @@
##           release/0.21    #1083      +/-   ##
================================================
- Coverage         74.79%   74.74%   -0.05%
================================================
  Files                30       30
  Lines              2071     2083      +12
  Branches            396      406      +10
================================================
+ Hits               1549     1557       +8
- Misses              416      417       +1
- Partials            106      109       +3

Impacted Files
Coverage Δ

packages/relay/src/lib/clients/mirrorNodeClient.ts
93.40% <86.36%> (-0.85%)
:arrow_down:

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Flutter 1.12 support

Hello. Flutter 12 is now in release so can you update the plugin to support newest version?
I've tried to run pretty_example on iPhone X iOS 13 and it has too much render bugs while usign peek and pop :
flutter: Another exception was thrown: RenderCustomMultiChildLayoutBox object was given an infinite size during layout.
flutter: Another exception was thrown: _RenderInkFeatures object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPhysicalModel object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPositionedBox object was given an infinite size during layout.
flutter: Another exception was thrown: RenderAnimatedOpacity object was given an infinite size during layout.
flutter: Another exception was thrown: RenderExcludeSemantics object was given an infinite size during layout.
flutter: Another exception was thrown: A RenderFlex overflowed by 51 pixels on the bottom.
flutter: Another exception was thrown: RenderCustomMultiChildLayoutBox object was given an infinite size during layout.
flutter: Another exception was thrown: _RenderInkFeatures object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPhysicalModel object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPositionedBox object was given an infinite size during layout.
flutter: Another exception was thrown: RenderAnimatedOpacity object was given an infinite size during layout.
flutter: Another exception was thrown: RenderExcludeSemantics object was given an infinite size during layout.
flutter: Another exception was thrown: RenderCustomMultiChildLayoutBox object was given an infinite size during layout.
flutter: Another exception was thrown: _RenderInkFeatures object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPhysicalModel object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPositionedBox object was given an infinite size during layout.
flutter: Another exception was thrown: RenderAnimatedOpacity object was given an infinite size during layout.
flutter: Another exception was thrown: RenderExcludeSemantics object was given an infinite size during layout.
flutter: Another exception was thrown: RenderCustomMultiChildLayoutBox object was given an infinite size during layout.
flutter: Another exception was thrown: _RenderInkFeatures object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPhysicalModel object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPositionedBox object was given an infinite size during layout.
flutter: Another exception was thrown: RenderAnimatedOpacity object was given an infinite size during layout.
flutter: Another exception was thrown: RenderExcludeSemantics object was given an infinite size during layout.
flutter: Another exception was thrown: RenderCustomMultiChildLayoutBox object was given an infinite size during layout.
flutter: Another exception was thrown: _RenderInkFeatures object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPhysicalModel object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPositionedBox object was given an infinite size during layout.
flutter: Another exception was thrown: RenderAnimatedOpacity object was given an infinite size during layout.
flutter: Another exception was thrown: RenderExcludeSemantics object was given an infinite size during layout.
flutter: Another exception was thrown: RenderCustomMultiChildLayoutBox object was given an infinite size during layout.
flutter: Another exception was thrown: _RenderInkFeatures object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPhysicalModel object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPositionedBox object was given an infinite size during layout.
flutter: Another exception was thrown: RenderAnimatedOpacity object was given an infinite size during layout.
flutter: Another exception was thrown: RenderExcludeSemantics object was given an infinite size during layout.
flutter: Another exception was thrown: RenderCustomMultiChildLayoutBox object was given an infinite size during layout.
flutter: Another exception was thrown: _RenderInkFeatures object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPhysicalModel object was given an infinite size during layout.
flutter: Another exception was thrown: RenderPositionedBox object was given an infinite size during layout.
flutter: Another exception was thrown: RenderAnimatedOpacity object was given an infinite size during layout.
flutter: Another exception was thrown: RenderExcludeSemantics object was given an infinite size during layout.

If you no longer support flutter's updates, can you change pubspec's flutter dependency to 1.9 from 2.0 ?

Hi,
I will check it as soon as possible, thank you for mentioning.

Hi,
I will check it as soon as possible, thank you for mentioning.

Thank you very much! I hope it will be not hard for you. :)

Hello again,
I am investigating the problem but it seems like changes were made to Flutter's gesture detection system which complicates the issue. I will probably need some time to revise the entire code because I don't think it can be fixed easily the way it is. I will notify when a new update is pushed.

Moved to this issue and closed.


DIY Tool - Letter to Landlord re: Security Deposit

@normon66 I think we're going to try to launch this for real at the end of the month! There are a few things I think we need to do to get it launch ready --mostly just implementing stuff that got figured out after you completed this.  I will add those as separate issues. (And let me know if you think of anything additional.) Let me know if you have preferences for whether you or I handle these.

All issues/enhancements have been implemented and published to both the dev and prod servers. Good to go!


init: ported Index_Any_{String,Unicode} primitive function

Since there are a number of level 1 libraries using the string function, we have to port its primitive ones into HestiaKERNEL library. Let's do this.
This patch ports Index_Any_{String,Unicode} primitive function into HestiaKERNEL library into init/ directory.

merge first since production is unaffected.


[Document Modification Request] az iot hub routing-endpoint create

Preconditions

[X] No need to upgrade Python SDK or the Python SDK is ready.

Related command
az iot hub routing-endpoint create
Resource Provider
N/A
Description of Feature or Work Requested
MY customer has requested a document correction.

Target Documents
https://learn.microsoft.com/en-us/cli/azure/iot/hub/routing-endpoint?view=azure-cli-latest#az-iot-hub-routing-endpoint-create

Corrections

  - name: Add a new endpoint "S1" of type AzureStorageContainer to "MyIotHub" IoT Hub. And "S1" of Resource Group is "RGS1".
    text: |
        az iot hub routing-endpoint create --resource-group MyResourceGroup --hub-name MyIotHub \\
        --endpoint-name S1 --endpoint-type azurestoragecontainer --endpoint-resource-group RGS1 \\
        --endpoint-subscription-id {SubscriptionId} --connection-string {ConnectionString} \\
        --container-name {ContainerName} --batch-frequency 100 --chunk-size 100 \\
        --ff {iothub}-{partition}-{YYYY}-{MM}-{DD}-{HH}-{mm}

Minimum API Version Required
N/A
Swagger PR link / SDK link
N/A
Request Example
N/A
Target Date
N/A
PM Contact
N/A
Engineer Contact
tkudo
Additional context
N/A

Thank you for opening this issue, we will look into it.

@tkudo-ms Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

Copying Paymaun's response in the above pr:

Just FYI, the az iot hub routing-endpoint command group is deprecated. The user should be pointed to the az iot hub message-endpoint and az iot hub message-route command groups in the azure-iot extension.
Here is an MS learning doc link https://learn.microsoft.com/en-us/azure/iot-hub/how-to-routing-azure-cli?tabs=azurestorage

@tkudo-ms I am following up to check if you had a chance to look at the above comment and share this suggestion with the customer.


MINOR: Fixed couple of warnings

Plus some test coverage in ACL command
Co-authored-by: Mickael Maison<EMAIL_ADDRESS>Co-authored-by: Gantigmaa Selenge<EMAIL_ADDRESS>More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@omkreddy thanks for the review. We updated the TopicCommand.

This tool is being migrated as part of https://issues.apache.org/jira/browse/KAFKA-14525.


Running merchant migration fails

I was running the system install command including all migrations and ran into the following error:
bin/console system:install --create-database --basic-setup
Prepare installation

Created database `swportal`
Importing base schema.sql

Get collection from directories
migrate Migrations
 203/223 [=========================░░░]  91%20:13:02 ERROR     [app] Migration: "Shopware\Production\Merchants\Migration\Migration1585212510CustomerDeleteCascade" failed: "An exception occurred while executing '        ALTER TABLE merchant
            ADD CONSTRAINT `fk.merchant.customer_id` FOREIGN KEY (`customer_id`)
            REFERENCES `customer` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;':

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'swportal.merchant' doesn't exist"
 ---------- ----------------------
  Action     Number of migrations
 ---------- ----------------------
  Migrated   219 out of 223
 ---------- ----------------------

In MigrationCommand.php line 105:

  Migration error: An exception occurred while executing '        ALTER TABLE merchant
              ADD CONSTRAINT `fk.merchant.customer_id` FOREIGN KEY (`customer_id`)
              REFERENCES `customer` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;':

  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'swportal.merchant' doesn't exist
  Trace:
  #0 /home/sebastian/sw-portal/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(166): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException()
  #1 /home/sebastian/sw-portal/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(146): Doctrine\DBAL\DBALException::wrapException()
  #2 /home/sebastian/sw-portal/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(912): Doctrine\DBAL\DBALException::driverExceptionDuringQuery()
  #3 /home/sebastian/sw-portal/src/Merchants/Migration/Migration1585212510CustomerDeleteCascade.php(23): Doctrine\DBAL\Connection->executeQuery()
  #4 /home/sebastian/sw-portal/vendor/shopware/core/Framework/Migration/MigrationRuntime.php(47): Shopware\Production\Merchants\Migration\Migration1585212510CustomerDeleteCascade->update()
  #5 /home/sebastian/sw-portal/vendor/shopware/core/Framework/Migration/Command/MigrationCommand.php(55): Shopware\Core\Framework\Migration\MigrationRuntime->migrate()
  #6 /home/sebastian/sw-portal/vendor/shopware/core/Framework/Migration/Command/MigrationCommand.php(98): Shopware\Core\Framework\Migration\Command\MigrationCommand->getMigrationGenerator()
  #7 /home/sebastian/sw-portal/vendor/symfony/console/Command/Command.php(255): Shopware\Core\Framework\Migration\Command\MigrationCommand->execute()
  #8 /home/sebastian/sw-portal/src/Command/SystemInstallCommand.php(177): Symfony\Component\Console\Command\Command->run()
  #9 /home/sebastian/sw-portal/src/Command/SystemInstallCommand.php(159): Shopware\Production\Command\SystemInstallCommand->runCommands()
  #10 /home/sebastian/sw-portal/vendor/symfony/console/Command/Command.php(255): Shopware\Production\Command\SystemInstallCommand->execute()
  #11 /home/sebastian/sw-portal/vendor/symfony/console/Application.php(1029): Symfony\Component\Console\Command\Command->run()
  #12 /home/sebastian/sw-portal/vendor/symfony/framework-bundle/Console/Application.php(97): Symfony\Component\Console\Application->doRunCommand()
  #13 /home/sebastian/sw-portal/vendor/symfony/console/Application.php(272): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand()
  #14 /home/sebastian/sw-portal/vendor/symfony/framework-bundle/Console/Application.php(83): Symfony\Component\Console\Application->doRun()
  #15 /home/sebastian/sw-portal/vendor/symfony/console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun()
  #16 /home/sebastian/sw-portal/bin/console(68): Symfony\Component\Console\Application->run()
  #17 {main}

system:install [--create-database] [--drop-database] [--basic-setup] [-f|--force] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

System:
php7.4
dev env
mysql 5.7

see PullRequest #80

merged!


Blockwise paste

I noticed that gVim (8.2.4065) and Goneovim-v0.5.1 (using Neovim 0.7.0) paste blockwise chunks differently. In Vim and Neovim (in a terminal) I can select lines numbered 1-8 using Ctrl-V, yank them and paste them using Shift-p in front of text on another set of lines. Goneovim pastes the numbers on separate lines above the cursor. Can I change this behaviour? I am on Linux 5.9.1-rt20avl1 x86_64 GNU/Linux (MX Linux).
Edit: after glancing through some other issue reports I started GoNeovim with -u NONE and the issue no longer occurs.
Edit2: Here are the only options in settings.toml which I have set (so the rest is commented out):
BorderlessWindow = true
Width = 1800
Height = 1600
Gap = 2
ExtMessages  = false
SmoothScroll = false
SmoothMove = false
Disable = true
Visible = true
Width = 100
Visible = false
Width = 300
DropShadow = true
AccentColor = "#5596ea"
MaxDisplayItems = 75
PathStyle = "name"
RestoreSession = true

@Jeehannes
Hi :)
Thanks for this issue report.
I assume this is related to your configuration as it does not reproduce with goneovim- u NONE, have you considered a configuration related to this?


OpenCL back-end support

Supporting OpenCL will enable the library to be used in devices other than Nvidia's, including AMD, Intel, and various FPGAs.

This seems too far-fetched for now. Closing.


feat(canon): add switch component

Hey, I just made a Pull Request!
Addition of new Switch Component as part of new cannon UI implamentation
Additional Changes:

Added grey pallet to core theme
Added close icon

https://github.com/user-attachments/assets/ff5c31a5-962f-4310-8ef4-0069e2b986ba
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

something that I think needs some discussion is if we want a color input for this component, so that users are able to pick the color of the switch when active. Right now, it's just using the --canon-accent from the base theme, though I think having an input to be able to set that color would be nice too.


Move matplotlib import to the public function that uses it

Importing matplotlib for the entire module causes an error if matplotlib is not available. The plotting functionality is not currently supported by NREL so it should remain optional. Moving the import statement to a function moves the failure to that function call rather than the module import.
With this pull request, if matplotlib is not available and plotting is off, the result summaries in html format are still exported correctly. If matplotlib is not available and plotting is on, the html files are written but the plotting routine fails.
When running the regression test through CTest, this python ModuleNotFoundError fails silently. Users can see the error with the verbose flag in the CTest call: ctest -V
This fixes issue #83 .

@rafmudaf Why not use check and gracefully disable plotting?
try:
    import matplotlib
    matplotlib.use("Agg")
    import matplotlib.pyplot as plt
    from matplotlib.ticker import FormatStrFormatter
    have_plt = True
except ImportError:
   have_plt = False

# and in function

if not have_plt:
    return

@sayerhs If a user doesn't realize matplotlib is not installed and attempts to plot, this gives no indication of the failure. My update prevents a crash when plotting is off and matplotlib is not available, but maintains the Python exception reporting.

Well, just print a message instead of a return
if not have_plt:
    print("Matplotlib is not installed on this system; plotting functions will be disabled")

Is this functionally different than letting Python handle the exception?


Check for "krunkit" or "libkrun" strings

I think the latest version of podman machine/krunkit displays libkrun here.

I'm gonna treat #304 as a LGTM from @maxandersen 😄

libkrun was the correct value to check, my mistake.


Vulnerability roundup 100: gradle-6.6: 1 advisory [7.5]

search, files

[ ] CVE-2020-11979 CVSSv3=7.5 (nixos-20.09)

Scanned versions: nixos-20.09: 12d9950bf47.

Fixed by #111311


Inlay Hint Support

The LSP protocol supports inlay hints, which display information (such as types) in the document themselves. https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint
Rust Analyzer supports this, and the typescript language server also uses inlay hints. Example:

I'm unsure as to how challenging to implement it would be, or how much existing support there is in the code. The basic essential would be the ability to put text into the editor that isn't actually there (selectable/editable, and we don't want it to affect positions of actual code).
This would need configurable font size and color options for the inlay hints.
As well, the code could be used for other features that are common such as displaying the number of implementations or displaying diagnostics inline (ex: Error Lens VSCode extension).

Implemented by #715


KAFKA-7996: KafkaStreams does not pass timeout when closing Producer

Here is the draft fix. The approach is simple - it adds a new parameter for StreamThread.TaskCreator and RecordCollectorImpl to denote the close wait duration; I found two Producer#close() in streams module but if there is omitted one, don't hesitate to give me a comment.
Since it introduces a new config, close.wait.ms, it needs a KIP. Isn't it?
cc/ @mjsax @bbejeck
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Hi, @dongjinleekr thanks for the contribution.
Regarding your question about a KIP, you are correct as the PR modifies the StreamsConfig class which is a public interface.
Here's some information on getting started with a KIP.

\cc @vvcephei @ableegoldman

@dongjinleekr what the status on this PR? If you follow the suggestion from @mjsax's comment, I believe we won't need a KIP which makes getting this PR in a much simpler process.
Thanks!

@bbejeck The discussion is underway here. Please have a look. I agree that the PR may become much simpler one, but I can't sure yet. @mjsax

I would prefer to keep the discussion on the Jira for now. Thanks!

Closing this PR due to inactivity on the KIP discussion.


[Unified Recorder] @azure-tools/test-recorder-new Tool's roadmap

@sadasant suggested providing a clear roadmap for the recorder-new tool to have an idea of where we are leading towards.
This PR aims to provide that document.
This is an extract of the list of issues at https://github.com/Azure/azure-sdk-for-js/issues/15829
Feel free to suggest edits and things if you feel something is missing.

I’m not sure if this needs to live as a file in the repo. Though it’s pretty cool. Perhaps an epic would be more like how we’re used to do things?

I agree with this. While it is nice to have a document for this, you will have to send a PR to make every tiny update. Consider either an epic or a wiki and then point to that from the readme of the new recorder package

Closing in favour of https://github.com/Azure/azure-sdk-for-js/issues/15829


can't connect devnet fullnode's websocket port

wscat -c ws://fullnode.devnet.sui.io:9001 returns connection error
I could repro this issue locally - it looks like the sync-to-checkpoint process never returns hence the rpc server does not have a chance to restart. Then I disabled checkpoint, it worked.
however this does not explain why the jsonrpc server is up and running for devnet fullnode, so it could be an entirely different issue. Also if the fullnode starts along with the validators, the checkpoint process should not take long at all.

We currently didn't expose the fullnode ws port, our PE team is working on it.
when it's done, you should be able to access it via ws://pubsub.devnet.sui.io:80 or wss://pubsub.devnet.sui.io:443

Thank you for the clarification! Looking forward to using the ws api.


replace hexagon points string with nested array

Fixes #33.
The .split(' ').map(...) occurrence on line 358 is still needed, as it addresses the string attribute on a created node, not the points template values.

Thank you.  More elegant and more readable.


database/sql: force reused connections to use pool to fill requests

Upstream PR: https://github.com/golang/go/pull/32581

This PR is superseded by #2


not sure if this is your fault or not

random crash
[B#349]  // Why did you do that?
[B#349]
[B#349]  Time: 5/25/17 8:48 PM
[B#349]  Description: Unexpected error
[B#349]
[B#349]  java.lang.NullPointerException: ingredient cannot be null
[B#349]  	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229)
[B#349]  	at mezz.jei.ingredients.IngredientRegistry.getIngredientHelper(IngredientRegistry.java:86)
[B#349]  	at mezz.jei.gui.Focus.(Focus.java:16)
[B#349]  	at mezz.jei.recipes.RecipeRegistry.createFocus(RecipeRegistry.java:204)
[B#349]  	at me.superckl.jet.RecipeGuiLogic.(RecipeGuiLogic.java:59)
[B#349]  	at me.superckl.jet.handler.RenderTickHandler.onRenderTick(RenderTickHandler.java:47)
[B#349]  	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_889_RenderTickHandler_onRenderTick_Pre.invoke(.dynamic)
[B#349]  	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
[B#349]  	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
[B#349]  	at net.spellcraftgaming.lib.gui.override.GuiIngameRPGHud.pre(GuiIngameRPGHud.java:455)
[B#349]  	at net.spellcraftgaming.lib.gui.override.GuiIngameRPGHud.drawElement(GuiIngameRPGHud.java:626)
[B#349]  	at net.spellcraftgaming.lib.gui.override.GuiIngameRPGHud.func_175180_a(GuiIngameRPGHud.java:138)
[B#349]  	at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1089)
[B#349]  	at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1077)
[B#349]  	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:372)
[B#349]  	at net.minecraft.client.main.Main.main(SourceFile:124)
[B#349]  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[B#349]  	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[B#349]  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[B#349]  	at java.lang.reflect.Method.invoke(Unknown Source)
[B#349]  	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[B#349]  	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

First: sorry for not responding
Second: I'm not exactly sure what the problem is since the GuiIngameRPGHud file varies with each minecraft version. WHich version are you using? I need to know that in order to see if that problem lies with my mod or not.

Whatever the newest version for 1.11.2 is I'm not in front of my computer at the moment I can check it when I get home

I checked this a couple of times and it doesn't seem to be a problem from RPG-Hud


chapter4:Gambler question. Cannot reproduce result, why?

hi there. i am also trying to write some code for exercises in this book.
But i get stuck at chapter4--the Gambler question.
I refer to your code and compare the result with mine. we both get the similar result.But the result is far away from the result in book.
I want to know the reasons or some of your opinion about this question.
Thank you!

I think this https://github.com/ShangtongZhang/reinforcement-learning-an-introduction/issues/39 may help.

@ShangtongZhang   Thank you very much. That #39 helps a lot!


FYI - This is why this crate is necessary

postix_memalign is not available by default so Rust3DS forked the system allocator:
https://github.com/rust3ds/alloc_system3ds/issues/6
I was curious why we don't have to register our own allocator, and the reason is that this crate adds postix_memalign for the upstream system allocator to use.

I prefer having as little crates as possible, and since i needed this crate for realpath anyways, posix_memalign was added too. I had to fix many errors before getting to where I am now...

Yeah I agree using the built in allocator is best. But maybe we can avoid even this crate if libc could contain these functions? What do you think? I'm not sure if that fits within the libc crate's scope.

Nope, let's avoid changing libc more than absolutely needed. Still, this crate doesn't need to be recompiled any time soon, so i don't see a problem just keeping it here and having a pre-compiled lib in ctru-rs.


How to load pretraind XLM model

❓ Questions & Help
Facebook recently released a new pre-trained language model (17 and 100) (https://github.com/facebookresearch/XLM#pretrained-cross-lingual-language-models)
I want to load 17 language model.
Could someone guide me on how to achieve this? The straightforward way didn't work for me.
I have downloaded the 3 files  listed on facebook GitHub:

model - https://dl.fbaipublicfiles.com/XLM/mlm_17_1280.pth
bpe codes - https://dl.fbaipublicfiles.com/XLM/codes_xnli_17
vocabulary - https://dl.fbaipublicfiles.com/XLM/vocab_xnli_17

and saved them in folder '/home/ksopyla/xlm/mlm17l'. Then I have tried to load the model with XLMModel.form_pretrained function
model = XLMTokenizer.from_pretrained('/home/ksopyla/xlm/mlm17/')
got
Model name '/home/ksopyla/xlm/mlm17' was not found in model name list (xlm-mlm-en-2048, xlm-mlm-ende-1024, xlm-mlm-enfr-1024, xlm-mlm-enro-1024, xlm-mlm-tlm-xnli15-1024, xlm-mlm-xnli15-1024, xlm-clm-enfr-1024, xlm-clm-ende-1024). We assumed '/home/ksopyla/xlm/mlm17/config.json' was a path or url but couldn't find any file associated to this path or url. Traceback (most recent call last):   File "/home/ksopyla/.vscode/extensions/ms-python.python-2019.8.30787/pythonFiles/ptvsd_launcher.py", line 43, in <module>     main(ptvsdArgs)   File "/home/ksopyla/.vscode/extensions/ms-python.python-2019.8.30787/pythonFiles/lib/python/ptvsd/__main__.py", line 432, in main     run()   File "/home/ksopyla/.vscode/extensions/ms-python.python-2019.8.30787/pythonFiles/lib/python/ptvsd/__main__.py", line 316, in run_file     runpy.run_path(target, run_name='__main__')   File "/home/ksopyla/.pyenv/versions/3.7.3/lib/python3.7/runpy.py", line 263, in run_path     pkg_name=pkg_name, script_name=fname)   File "/home/ksopyla/.pyenv/versions/3.7.3/lib/python3.7/runpy.py", line 96, in _run_module_code     mod_name, mod_spec, pkg_name, script_name)   File "/home/ksopyla/.pyenv/versions/3.7.3/lib/python3.7/runpy.py", line 85, in _run_code     exec(code, run_globals)   File "/home/ksopyla/dev/document_embeddings/xlm_from_pretraind.py", line 34, in <module>     output_hidden_states=True,   File "/home/ksopyla/.local/share/virtualenvs/szrek-data-PaoX74GN/lib/python3.7/site-packages/pytorch_transformers/modeling_utils.py", line 430, in from_pretrained     **kwargs TypeError: cannot unpack non-iterable NoneType object
I suspect that I should change the file names and adjust the vocab file format. But I can't find it in the documentation.

Hello, we haven't yet converted those models and hosted them on our S3, but you indeed should be able to do it yourself; we used this script for the other XLM checkpoints, you could use it to convert this checkpoint.

Wow. You are fast :)
Thank you.


Updating from 9.15.2 to 9.16.x introduces breaking change

Version 9.16.2
Community
Command-line
PostgreSQL 14.5
Linux
What you did
I updated the version we used from 9.15.2 to 9.16.2, nothing else changed.
What did you expect to see?
Database: jdbc:postgresql://################.cluster-############.rds.amazonaws.com:####/################ (PostgreSQL 14.5)
Successfully validated ## migrations (execution time 00:00.513s)
Current version of schema "schema_name": x.x.x
Schema "schema_name" is up to date. No migration necessary.
What did you see instead?
991 | /home/sbx_user1051/.config/Redgate/feature_usage_data (No such file or directory)
992 | ERROR: Unable to write JSON to file: report.html.json (Read-only file system)
NOTE: I am parsing the response and only logging out the failure message when the migration fails.

Is there any update on this one?

Oh that sounds very interesting, good spot!
Lets see what the devs come back with, I'm leaning on it being an unintentional introduction to keep things positive right now.
Or at least something we can turn off.

Looking further into it there seems to be an env var REDGATE_DISABLE_TELEMETRY to disable (docs here https://documentation.red-gate.com/fd/redgate-disable-telemetry-191562045.html). This skips initialization of the telemetry plugin in the command line client and does not read/write some telemetry files. It was added with 9.16.0 too.
The problem with the write permission denied seems to be another commit with 9.16.2 where the cli client tries to write the migration report without further checks onto disk:
https://github.com/flyway/flyway/blob/8e3af28e9c99c3da2da484f6f7051d589ae716c2/flyway-commandline/src/main/java/org/flywaydb/commandline/Main.java#L204-L208
Method call HtmlUtils.toHtmlFile() writing the file cannot be disabled it seems. Here a fix from RedGate is needed to either disable writing reports or do not exit with error on problems...

Still no updates from the developers on this one?

That's great, the latest version at time of writing 9.17.0 is working fine for cli community edition.
No need to set any new env vars either.


There should be an option to pass the existing NewRelic app without creating a new one

Greetings,
Currently, NewRelic middleware requires the configuration parameters to be passed and creates a new NewRelic application. However, on the project I am working on, I already have a NewRelic app and I use it some other places as well. I totally understand the basic-friendly approach, however, can we also have a function something like fibernewrelic.NewWithApp(app *newrelic.Application) that enables using the existing app? If so, I can start a PR that implements such a change.

You can add a field to config typed *newrelic.Application into the https://github.com/gofiber/contrib/blob/main/fibernewrelic/fiber.go#L10 and if it was given it overrides another fields. Feel free to contribute ☺


Update README.md

Add Kurdish layout to the list
Description
A few sentences describing the overall goals of the pull request's commits.
Checks

[x] Tests ( npm run test ) are passing

Hello @GoRaN909, these changes should go in this PR/branch: https://github.com/simple-keyboard/simple-keyboard-layouts/pull/1773 . Please feel free to add the changes there. Thanks!


Add control-flow support to GatesInBasis

Summary
It's not yet entirely clear how control-flow will be supported through the Target and basis_gates, but for the time being, we just test them as if they will be added like any other instruction.  This is unlikely to entirely remain the case as more classical handling is added.

Details and comments

My thinking on the support was that a Target would need to contain the control flow ops the backend supported. We already require that measurement, reset, delay, and other non gate operations need to be in the target for it to be usable on the backend so I wasn't really treating control flow any differently. TBH, I was less interested in the BackendV1 basis gates approach and haven't thought about it much, although I guess the analogous thing would be to include the suported control flow instructions in  the basis gates list.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

16 of 16 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 84.659%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
61493

Relevant Lines:
72636

💛  - Coveralls

At the moment there's an issue that control-flow operations are naturally variadic in qubit count, but even Target.add_instruction(ForLoopOp(...), {None: None}) still imposes a constraint on Target.instruction_supported that the number of qubits match.  Since you can only hold one ForLoopOp instruction for the for_loop name, you can't really represent that variadicity.

For V1, just throwing it in the basis gates will work for now.  I suspect we'll probably need to look towards a V2.5 / backwards-compatible V3 as more classical control is added, but it does depend strongly on how much classical processing information we want to pass from backends to Terra.

Well we can evolve the target interface independently of backend too. That's part of why I made them separate objects (although far from the primary reason). But that's something we'll have to look at for 0.23.0 I guess because it's a general issue for any variable width operation (thinking a global MS gate on ions would have the same problem). I'll open an issue to track this for 0.23.0.

Oh, good forward thinking with the backend/target split, then - I hadn't fully considered that at all.  Yeah, that does give us rather more freedom.


error after update

Hi,
it shows error after update
C:\Users\Lenovo\AppData\Local\npm-cache_npx\ce95761724e6020f\node_modules\mudslide\dist\commands.js:27
const buttons = options.button.map((b, idx) => ({
^
TypeError: Cannot read properties of undefined (reading 'map')
at C:\Users\Lenovo\AppData\Local\npm-cache_npx\ce95761724e6020f\node_modules\mudslide\dist\commands.js:27:48
at Generator.next ()
at fulfilled (C:\Users\Lenovo\AppData\Local\npm-cache_npx\ce95761724e6020f\node_modules\mudslide\dist\commands.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.16.0

It's fixed in 0.22.2.
Thanks for reporting @JR9842210171 !


s.c.st.k.bindings.producer.bufferSize is ignored

It seems like we ignore the Boot-bound property and default to 16384 instead.

I think this line is the culprit. https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/blob/master/spring-cloud-stream-binder-kafka/src/main/java/org/springframework/cloud/stream/binder/kafka/KafkaMessageChannelBinder.java#L250
However, as a work around, end users can force batch size by using this property. Aren't they the same?: spring.cloud.stream.bindings.producer...configuration.batch.size

Yes, but apps migrating from 1.0 might find this an issue. We also document that property.


herbalist dedication + alchemical crafting has an interesting title.

if this hasnt been reported just wanted to report it here. we did a level 0 dance.

Dammit, I caught it last minute in advanced alchemy but forgot herbalist. Whoops.

No need for the back to 0 dance


adding icon or information to compiled exe causes exe to stop working

when i add icon and version information using resource hacker , when you run the app, command prompt of node appears and app is no longer working.

Hi Serkan! Is it similar to https://github.com/zeit/pkg/issues/91 ?

yes it is same..
as you knowi on enclosejs it was easy to add it with resource hacker. now pkg does not allow to add information to compiled exe.

Ok. Lets chat there. https://github.com/zeit/pkg/issues/91


IZPACK-1458: Minor flaws in distributed installer

This implementation fixes IZPACK-1458:
The distribution installer hasn't got a review a long time and has actually several minor problems:

The installer fails on updates of certain older versions due to an incompatible .installationinformation file (Message: incompatible installation).
No desktop shortcut icon in UNIX/Linux for uninstaller.
There is a missing uninstaller icon leading to a desktop shortcut without a picture and a warning message along with the following stacktrace (if installed with -DSTACKTRACE=true):

java -DSTACKTRACE=true -jar izpack-dist/target/izpack-dist-5.0.10.jar
Logging initialized at level 'INFO'
Commandline arguments:
No locale for: glg
Detected platform: suse_linux,version=4.8.3-1-default,arch=x64,symbolicName=null,javaVersion=1.8.0_102
Resource customicons.xml not defined. No custom icons available
Cannot find named resource: 'packsLang.xml' AND 'packsLang.xml_ces'
Could not copy trashcan_full to /home/rkrell/.local/share/pixmaps/trashcan_full (trashcan_full (No such file or directory))
java.io.FileNotFoundException: trashcan_full (No such file or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at java.io.FileReader.<init>(FileReader.java:72)
        at com.izforge.izpack.util.os.Unix_Shortcut.copyTo(Unix_Shortcut.java:960)
        at com.izforge.izpack.util.os.Unix_Shortcut.save(Unix_Shortcut.java:671)
        at com.izforge.izpack.panels.shortcut.ShortcutPanelLogic.createShortcuts(ShortcutPanelLogic.java:1136)
        at com.izforge.izpack.panels.shortcut.ShortcutPanelLogic.createAndRegisterShortcuts(ShortcutPanelLogic.java:220)
        at com.izforge.izpack.panels.shortcut.ShortcutPanel.isValidated(ShortcutPanel.java:282)
        at com.izforge.izpack.installer.gui.IzPanel.panelValidated(IzPanel.java:303)
        at com.izforge.izpack.installer.gui.IzPanelView.isValid(IzPanelView.java:61)
        at com.izforge.izpack.installer.panel.AbstractPanels.executeValidationActions(AbstractPanels.java:608)
        at com.izforge.izpack.installer.panel.AbstractPanels.isValid(AbstractPanels.java:178)
        at com.izforge.izpack.installer.panel.AbstractPanels.next(AbstractPanels.java:250)
        at com.izforge.izpack.installer.gui.DefaultNavigator.next(DefaultNavigator.java:345)
        at com.izforge.izpack.installer.gui.DefaultNavigator.next(DefaultNavigator.java:328)
        at com.izforge.izpack.installer.gui.DefaultNavigator$NavigationHandler.navigate(DefaultNavigator.java:563)
        at com.izforge.izpack.installer.gui.DefaultNavigator$NavigationHandler.access$100(DefaultNavigator.java:526)
        at com.izforge.izpack.installer.gui.DefaultNavigator$NavigationHandler$1$1.run(DefaultNavigator.java:546)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

[ Writing the uninstaller data ... ]

The SummaryPanel is completely empty for the czech language (hits IZPACK-1463).
Broken icon at HTML InfoPanel
At the end of the text, after "Version check:" there is a broken image shown.
Command line: No locale for: glg
Wrong attributes of Uninstaller KDE shortcut - set to "Run as different user: root" which is not necessary for unprivileged installations to the user home directory and does even fail due to a wrong umask; further set to "Run in terminal: true" by mistake.
Unix desktop shortcuts get duplicated each time the installer is executed (hits IZPACK-1462).
There is no local documentation (PDF, HTML etc.) available any longer - just add a shortcut with a link and dedicated icon to the online documentation.
Warning message: Cannot find named resource: 'packsLang.xml' AND 'packsLang.xml_ces'

Hi
the problem of "No locale for: glg" seems to have been fixed by just removing glg as an option from the installer, this does not seem correct, now it is not possible to install in glg (Galician) language even though the language xml file for this language does exist and should be used:
https://github.com/izpack/izpack/blob/master/izpack-core/src/main/resources/com/izforge/izpack/bin/langpacks/installer/glg.xml
and yet it is now not in the install language options:
https://github.com/izpack/izpack/blob/master/izpack-dist/src/main/izpack/install.xml
this problem is also causing issues for other projects that use izpack


feat: 🎸 Load spinner when selecting gcloud store. Add key on td

Includes

Add loader spinner into study list when searching/filtering list
Add React keys to table td tags

It closes #1029

Netlify:

I have the branch checked out locally -- taking a peek.

I have the fix for CI failing.. I will push soon, after some technical discussion with QA team

CI is passing


Track "overall" universe

          Good question; I'll track this in a separate issue

In at least some cases, when demographic type is "overall," the demographic label is "18+ years," which makes it explicit in the dataset. But this is more truly information that is in the metadata: data from NIS ACM (Adult covid module) are all 18+. I might put this in the datasets yaml or somehting, TBD
Originally posted by @swo in https://github.com/CDCgov/nis-py-api/pull/7#discussion_r1846858759

In #37, I put this in datasets.yaml. An alternative would be to remove "overall" and add in an 18+ age group.

Or, add an explicit column universe with values like "18+ years"

As of #47 , my new thinking is that there should be no "overall", but instead explicit age 18+ years (or age 6+ months, for historical flu).

Agreeing with myself from last week, and making a note that I should remove the validation for "overall" when that happens.


V1.3b update UG

Update UG to support current commands like edit and add -s in correct syntax

Codecov Report
Base: 64.16% // Head: 64.16% // No change to project coverage :thumbsup:

Coverage data is based on head (5a0eb1d) compared to base (1ec75c7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #140   +/-   ##
=========================================
  Coverage     64.16%   64.16%
  Complexity      539      539
=========================================
  Files           102      102
  Lines          1850     1850
  Branches        194      194
=========================================
  Hits           1187     1187
  Misses          598      598
  Partials         65       65

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Vector<u8>'s constructor is too slow?

Hi thanks for the lib! It seems that Vector<u8>::from( ...a Vec<u8>... ) calls from_iter, which is
	pub fn from_iter<'a>(s: impl IntoIterator<Item=<T as OpenCVType<'a>>::Arg>) -> Self {
		let mut out = Self::new();
		out.extend(s);
		out
	}

and the extend is
	fn extend<I: IntoIterator<Item=<T as OpenCVType<'a>>::Arg>>(&mut self, s: I) {
		let s = s.into_iter();
		let (lo, hi) = s.size_hint();
		self.reserve(hi.unwrap_or(lo));
		s.for_each(|elem| {
			self.push(elem);
		});
	}

the push is
	pub fn push(&mut self, val: <T as OpenCVType>::Arg) {
		let val = val.opencv_into_extern_container_nofail();
		unsafe { self.extern_push(val.opencv_as_extern()) }
	}

In conclusion: To create, say, a 1MB-size Vector<u8>, the push ffi call is called a million times, which will make it much slower than one simple call with parameter of 1MB data.
To solve this problem, maybe create a function that calls C++'s STL Vector's "push an array of elements into the vector" function.

Since version 0.59.0 you can use Vector::from_slice for a more efficient Vector construction

Thank you!


No line number provided in Windows on failed tests (and proposed fix)

Hi,
When I'm using windows with nodejs, tape does not provide an at: field with the line numbers if a test fails.
It is fixed by placing:
var windowsPath = dir.substr(1,1) === ":"; // check for windows path if the second letter is a :
if (windowsPath)
  dir = dir.replace(/(\\)/g,"/").substr(2);  // swap \ for / and remove the D: or C: from C:\

at https://github.com/substack/tape/blob/master/lib/test.js#L212
and inserting:
if (windowsPath)
  err[i] = err[i].replace(/(\\)/g,"/");  // swap \ for /

before https://github.com/substack/tape/blob/master/lib/test.js#L214
This bug is caused by the drive letter before the path which you do not seem to expect in the rest of the logic and the inverted slashes.
I can do a pull if you'd like?
Regards

@AlexDM0 Given #316, is this issue resolved?

I think it can be closed, thanks!


WIP: bos-tasks-hvfjz: [no-test] Update translations from Fedora Zanata

Update translations from Fedora Zanata

[ ] po-refresh

po-refresh in progress on bos-tasks-km7d6.
Log: https://<IP_ADDRESS>:8493/logs/po-refresh-645-20190425-045151/

Command '['make', 'upload-pot', 'clean-po', 'download-po']' returned non-zero exit status 2.: https://<IP_ADDRESS>:8493/logs/po-refresh-645-20190425-045151/

#641 landed, retrying.

po-refresh in progress on bos-tasks-hvfjz.
Log: https://<IP_ADDRESS>:8493/logs/po-refresh-645-20190425-064545/

po-refresh in progress on bos-tasks-b9kwg.
Log: https://<IP_ADDRESS>:8493/logs/po-refresh-645-20190425-064545/

po-refresh  done: https://github.com/cockpituous/welder-web/commits/po-refresh-20190425-064747

po: Add 'sk' language
ou yes :smile:


TDTM Mutable

Context
TDTM allows for users to create execution chains of logic, however customer implementations of TDTM are unable to interact with any aspects of the TDTM_Runnable.DmlWrapper collection that will have inserts, updates, and deletes performed. This creates a critical issue where customer implementations of TDTM must workaround any situation where NPSP's TDTM implementations have already added a record into the objectsToUpdate collection; not handling this will present a duplicate record in collection exception, and handling this often means leveraging asynchronous updates or performing DML separately from TDTM_TriggerHandler. Furthermore, any customer implementations of TDTM might break if NPSP updates its TDTM logic to start adding a record into an objectsToUpdate (which was not encountered when the customer implementation was initially designed and deployed).
This PR enables NPSP and customer implementations of TDTM to gain access to the global DmlWrapper that TDTM_TriggerHandler maintains during a transaction. The feature is considered "opt in" because it relies upon an entirely new interface to implement.
Example:

Customer wishes to set fields on Account when a Contact is created in the AfterInsert context
Customer adds the Contact's Account into DmlWrapper.objectsToUpdate and returns this from their TDTM_Runnable.run implementation
When DML is performed, Salesforce throws an exception because an NPSP TDTM implementation had already added that Account into DmlWrapper.objectsToUpdate
Customer updates their class to implement TDTM_RunnableMutable, checks whether the Account retrieved is part of DmlWrapper.objectsToUpdate, and either updates that record or places the Account retrieved into that collection

Benefits:

Existing TDTM implementations will not break, as any existing classes implement the TDTM_Runnable interface
Classes implementing the TDTM_RunnableMutable interface can be smaller implementations of code, as developers can reliably retrieve a record that was processed in a prior context from the transaction's global DmlWrapper
Customers are able to adopt TDTM for use cases that were previously managed with a different framework or workaround

Risks:

Mutating the transaction's DmlWrapper collection could remove records for insertion or update, or overwrite previous changes by putting a record into the collection that does not reflect changes made from TDTM logic fired previously in transaction

Critical Changes
Changes

Introduced a new global TDTM_RunnableMutable interface to support passing a mutable instance of the DmlWrapper to the run method. Customer TDTM classes that implement this new interface can include a new DmlWrapper parameter in the run() method of their TDTM class to support handling duplicate record updates. Thanks to @rogeramitchell, @njjc, and @matthewpoe for their work on design and implementation of this new feature. More information on using the new Mutable interface can be found at {placeholder for NPSP docs link} and https://github.com/rogeramitchell/tdtm-mutable-example

New Metadata
Apex Classes

TDTM_RunnableMutable
TDTM_RunnableMutableExample_TEST
TDTM_RunnableMutable_TEST

**lurch: attach W-030244

Tracking W-030244

Thanks @seanpat09. As per @rogeramitchell:

Yes, the duplicate ID issue can still occur based on load order. The assumptions are that it can be mitigated with this new interface, and also that there are practically zero implementations today that would face this issue because it would have presented itself regardless of the new interface.

My expectation was that customers who want to implement the Mutable interface to manipulate the DmlWrapper would tend to put their custom triggers at the end of the load order. However, an SI could really apply this anywhere and make it work if they're comfortable with the way that the triggers are fired.


Update sample message to pass user provided input

Right now the sample IPC message passes a block of hard coded text, and then bounces that back as an alert.
It would be a nice addition to show a method for capturing text from the user in a text field, passing that back to the main thread, and then displaying a message in the page body in response.

Can I work on this for the Hacktober 2020 event?

@arnxv0 I've assigned this to you for now. If you don't get around to it in a couple days I'll probably unassigned so others feel comfortable taking a pass.

Alright, I'll get to work soon :)

@arnxv0 do you expect to get a chance to work on this soon?  If not I may unassign it so others feel like they can jump in.

@acrosman hay, I'm really sorry, I am a little busy with other projects right now. Feel free to unassign it and give others a chance :)

i would like to work on this.

Swap complete.


Saying cannot be removed

Listed saying cannot be removed. I added another one which can be removed but even after page reload the old one is still there and cannot be removed.

Request URL: http://localhost:3000/api/agent/1/category/3/saying/13
Did you download a release or pull from Master? Which release?
Release v0.22.0
What operating system are you running?
Mac OSx
Are you running locally or in the cloud?
Locally with Docker
Which browser are you using?
Chrome - same response using Postman

hmm we've obviously got something that is causing sayings to become un-linked. Could be related to your other issue as well. Were these sayings created in the UI or API? how about the category? also, did you delete the category?

may be related to #605

I created id using the UI. I did not delete the category.

I was able to reproduce, but not in a reliable way.

I can't reproduce this anymore on master @nickopris if you're still around let me know if you are still struggling with this error.


component loading issue

Hello,
I'm having and issue when trying to implement this image viewer.
Css classes loads, but it seems that .js or even jquery is making me get errors.

ERROR ReferenceError: "$ is not  defined"

<div class="container">
    <app-image-viewer
      [images]="['https://picsum.photos/900/500/?image=1016', 'https://picsum.photos/900/500/?image=668']"
      [idContainer]="'idOnHTML'"
      [loadOnInit]="'demo'">
</app-image-viewer>
</div>

Hello,
Please check jquery is really installed on your app, you can take a look at some examples at issue: #11

Please give me some feedback if possible, i'll be closing the issue tomorrow


SOC Reset with 3 Battery Banks

Describe the bug
I don´t use the SOC Reset feature but i want to use it to balance from time to time. So I set the Cell_OVP to 3,55V and the CellOVPR to 3,45V , Balance_Trigger_Voltage to 0,005V and Start_Balance to 3,47V in the JK BMSes. The Voltage rises to more then MAX_CELL_VOLTAGE and when reaching 3,47V balancing beginns. When one cellvoltage rises to more of SOC_RESET_VOLTAGE the Charge Voltage will lowered. So thins Battery will balanced perfectly. But when the criteria of SOC_Reset are reeached, the Charge Voltage is too low for the other Batteries: The Cage_Current is low and the PV-Voltage is more than MPP Voltage. Next Day in Parameters are different Charge modes displayed. It would be better, when the end of the SOC_Reset Mode is only reached if all connected Batteries are well balanced.
One Battery

And another Battery:

How to reproduce
.
Expected behavior
All three Batteries should reach SOC_RESET_VOLTAGE in the same day if enough PV power ist available.
Driver version
1.2.20240408
Venus OS device type
Raspberry Pi 4
Venus OS version
v330-18
BMS type
JKBMS / Heltec BMS
Cell count
8
Battery count
3
Connection type
Serial USB adapter to RS485
Config file
MAX_BATTERY_CHARGE_CURRENT =150.0
 MAX_BATTERY_DISCHARGE_CURRENT =180.0
MAX_CELL_VOLTAGE   = 3.45
SOC_RESET_VOLTAGE = 3.50
SOC_RESET_AFTER_DAYS = 1
SOC_LEVEL_TO_RESET_VOLTAGE_LIMIT = 97
; Charge current control management enable (True/False).
CCCM_SOC_ENABLE = false
; Discharge current control management enable (True/False).
DCCM_SOC_ENABLE = false
CELL_VOLTAGES_WHILE_CHARGING   = 3.55, 3.50, 3.45, 3.30
MAX_CHARGE_CURRENT_CV_FRACTION =    0, 0.1,  0.3,    1
BMS_TYPE = Jkbms

Relevant log output
.

Any other information that may be helpful
No response

This is not an issue of this driver and was asked many times. You have to use a battery aggregator. https://github.com/Dr-Gigavolt/dbus-aggregate-batteries is the only one that I know of, where this should behave like you want.


Material You Design

Would be very nice to see the app with a more modern feel.
My suggestion is to bring it up to par with Material You design.
Also in the actual screen that displays the mail you are reading ,that screen feels very inconsistent and outdated to the other menus already. Especially if viewed as plaintext only.

A material you coat of paint over K-9 Mail would be lovely, especially with the Thunderbird integration coming up

yes, this will allow for better integration into the Android system

This would be so great!

It should be noted that Material 3 is dependent on migration of the entire UI to Jetpack Compose, which constitutes a substantial amount of work. It seems that this constitutes a long-term plan for K-9, although it is acknowledged that there are some tasks involving rewriting some parts of the application (#6974, #6975).

What makes you think the entire UI needs to be migrated to Jetpack Compose?

What makes you think the entire UI needs to be migrated to Jetpack Compose?

I recently came across information in Google documents indicating that Material 3 can be applied with Jetpack Compose using the MaterialTheme but didn't find any official information about Material 3 in the XML way. some parameters like dynamic color scheme and other modern Material You UI components are available in compose library.

waiting for the Material You version of k9 mail.

I'd like to say i'm not interested in a Material You design for this app, as Material You uses more space on the screen for the same amount of information.
For users like me who have a phone with a not so big screen, this is not good news.

@Cwpute k9 has a compact view, and nothing in M3 says you can't have a compact view in a M3 app

Hello dear certification issue not possible to me, it say warning ⚠
invalid certificate ohhh
On Sat, Oct 21, 2023, 21:33 Cwpute @.***> wrote:

I'd like to say i'm not interested in a Material You design for this app,
as Material You uses more space on the screen for the same amount of
information.
For users like me who have a phone with a not so big screen, this is not
good news.
—
Reply to this email directly, view it on GitHub
https://github.com/thundernest/k-9/issues/6617#issuecomment-1773888335,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXVJJENMBZXDEF46H3Q4A7TYAQIRFAVCNFSM6AAAAAAUNXUOCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA4DQMZTGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hello dear certification issue not possible to me, it say warning ⚠ invalid certificate ohhh

@tamirat67: Please use the forum for support requests.

I would also love to see material you as well

I would also love to see material you as well

Material Design 3 and Material You are the same, and it is in the development plan as you can see onBoarding and log in pages rewrited and redesigned in the recent changes.

I'd like to say i'm not interested in a Material You design for this app, as Material You uses more space on the screen for the same amount of information. For users like me who have a phone with a not so big screen, this is not good news.

you can change scale in settings -> display -> display size and text

I feel like it'd make most sense to take a look at how Google does Gmail first. Very similar based off the pictures.
https://play.google.com/store/apps/details?id=com.google.android.gm
But either way yes, agreed. It makes things feel a lot more consistent with Android 14

I would like to contribute to designs, I would like to create updated screens

Well, material 3 seems to be here, and I'm assuming material you is coming soon!

Only thing right now is message view is still black-and-white

k9 has a compact view, and nothing in M3 says you can't have a compact view in a M3 app

The compact view affects only the message list, which is not M3.
The UI elements that were actually changed for M3 do waste space. For example, I now have to scroll in the sidebar in order to see some of the folders. My phone is not small at all.
Some other gripes I have with the recent UI changes:

the "mark read" button doesn't change based on the read status of the message (I think it did before, but I might be wrong)
the envelope in Android status bar is now hollow and is harder to recognize as such. The old icon was filled.
almost half of my screen height is taken by the headers of the message. (Not too bad, as it is scrollable. In Jira, half of my screen is always taken by UI chrome I never use.)

None of what you complained about has anything to do with MD3 or MY.

Status upate: The Material 3 theme in 6.9xx versions is currently in an alpha state. Our priority is to establish Material 3 support, followed by improvements to the overall theme. At the moment, we're still using a mix of Material 1 and 2 components and styles throughout the app, which needs to be addressed first. Material You is blocked by until we finish the Material 3 integration.

Is the background of messages changeable?

The background of messages is currently not changeable, but we updated the colorscheme for a little improvement. We plan to do another iteration especially on the dark theme contrast.

We have implemented Material 3 for Thunderbird for Android and K-9 Mail. I'm closing this issue and would like to follow up on Material You in a separate epic: #8340. Please file separate issues for Material 3 related findings.


Revert "For mozcentral use Firefox color theme instead of system theme." since -moz-toolbar-prefers-color-scheme was removed

Reverts mozilla/pdf.js#13314, see https://groups.google.com/g/firefox-dev/c/vajhbYKDpPM
Given that -moz-toolbar-prefers-color-scheme was removed in https://bugzilla.mozilla.org/show_bug.cgi?id=1736038, unless we fix this before the next PDF.js update in mozilla-central we'll thus break dark mode in the Firefox built-in PDF Viewer.

/botio-linux preview

This obviously only needs one reviewer, but I'm nonetheless tagging a couple of potential reviewers to make sure that this lands as soon as possible; please note https://github.com/mozilla/pdf.js/pull/14155#issue-759808082.