Build provenance not visible on Sigstore's Rekor

Expected Behavior
Provenances created with this action can be found on sigstore, by searching for the subject's digest on https://search.sigstore.dev/?hash=. The corresponding entry there displays the full provenance. This is the case for provenances created using the slsa-github-generator action. Eg see this workflow run and its corresponding rekor entry.
Actual Behavior
One may find an entry for provenances created with this action. Eg see this workflow run and its corresponding entry on sigstore's rekor, found via this search. However, the entry on rekor does not show the actual provenance.
cc @thmsbinder, @tiziano88

The difference in behavior between these two scenarios is by-design and is related to the Rekor types which are being used to create the Rekor record.

The slsa-github-generator is using the intoto type, while the provenance action is using the newer dsse type.
Among other things the dsse type was added to make clear that Rekor is solely meant to serve as an immutable record of the attestation's signature, NOT an API for attestation discovery.
By default, any attestations created by this action will automatically be persisted to the GH attestation store and can be retrieved from there at any time. You also have the option to push the generated attestation to an OCI registry.

@bdehamer Thanks for your quick response! Much appreciated.
What's your envisioned solution for attestation discovery? Currently GitHub attestations can only be retrieved directly, and not found by subject digest.

@jul-sh this hasn't yet been added to the official API documentation, but you can look-up your attestations by subject digest through the GH API.
GET /orgs/{org}/attestations/{digest}

or
GET /repos/{owner}/{repo}/attestations/{digest}

These are the same APIs which are currently being used by the gh attestation CLI commands.
These endpoints should find their way into the official API docs by the time this feature GAs.


Support environment variables in config.xml

Running under kubernetes it's much easier to configure some details via environment variables.
(deleted example related to interserver_http_host because that turned out to be me misunderstanding the error message I was getting)

The possible way of implementation:
modify ConfigProcessor - add interpreting some attribute, like from_env, example:
<interserver_http_host from_env="HTTP_HOST" />

done.

@alesapin What version of ClickHouse was that added to?

It's not released yet. I expect it to be in 18.5.


how to run inference/test independently

I haven't implemented this function actually. Since I was always testing with a given dataset. I will make it available soon.
Else, you can:
dic = {entity_net.S:mb_x1,entity_net.Q:mb_x2, entity_net.keep_prob:1.0} prediction = tf.run(entity_net.logit, feed_dict=feed_dict)
and there you have your prediction


drag and resize columns with direction rtl not working

drag and resize columns with direction rtl does not work. Any solution?

Can you create a codesandbox showing the issue?

https://codesandbox.io/s/quirky-booth-btlux?file=/src/App.js

Ah, I see. This is because the position of the select column is assumed to be on the left when the calculations are done. This isn't supported at the moment.
A workaround would be to create a column that existed on the far right that was check boxes that acted similarly to the select column.


List/Upgrade not working

Brief description of your issue
When running winget list, or winget upgrade, the icon will spin for a few seconds but not return any results. Using the search command reveals results. Using uninstall and install work as long as you specify a package name.
Steps to reproduce
run winget list
Expected behavior
return a list of installed packages
Actual behavior
nothing is returned
Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.4169
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

You can also append "--verbose-logs" to include more details and "--logs" to open the log directory when the command completes.

Hi @stiny861,
Can you post the logs from an attempt? These are probably under %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir, and winget --info can verify the location.
As a troubleshooting measure, can you try winget source reset?

Hi @stiny861,
Can you post the logs from an attempt? These are probably under %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir, and winget --info can verify the location.
As a troubleshooting measure, can you try winget source reset?

2024-09-12 15:28:37.116 [CORE] WinGet, version [1.8.1911], activity [{EDD44AFE-4AC0-4CC5-A7C0-3B62FB0E469A}]
2024-09-12 15:28:37.116 [CORE] OS: Windows.Desktop v10.0.22631.4169
2024-09-12 15:28:37.117 [CORE] Command line Args: "C:\Users\name\AppData\Local\Microsoft\WindowsApps\winget.exe" list --logs
2024-09-12 15:28:37.117 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-09-12 15:28:37.117 [CORE] IsCOMCall:0; Caller: winget-cli
2024-09-12 15:28:37.122 [CLI ] WinGet invoked with arguments: 'list' '--logs'
2024-09-12 15:28:37.122 [CLI ] Found subcommand: list
2024-09-12 15:28:37.125 [CLI ] Leaf command to execute: root:list
2024-09-12 15:28:37.130 [CLI ] Executing command: list
2024-09-12 15:28:37.136 [REPO] Default source requested, multiple sources available, adding all to source references.
2024-09-12 15:28:37.136 [REPO] Adding to source references msstore
2024-09-12 15:28:37.137 [CORE] Default proxy is not set
2024-09-12 15:28:37.137 [REPO] REST HTTP Client helper does not use proxy
2024-09-12 15:28:37.137 [REPO] Adding to source references winget
2024-09-12 15:28:37.137 [CLI ] Created authentication arguments. Mode: silentPreferred, Account:
2024-09-12 15:28:37.143 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-09-12 15:28:37.143 [CORE] Found matching extension.
2024-09-12 15:28:37.146 [REPO] Multiple sources available, creating aggregated source.
2024-09-12 15:28:37.146 [REPO] Adding to aggregated source: msstore
2024-09-12 15:28:37.146 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-09-12 15:28:37.211 [REPO] Response status: 200
2024-09-12 15:28:37.211 [REPO] Authentication node not found. Assuming authentication type none.
2024-09-12 15:28:37.212 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-09-12 15:28:37.225 [REPO] Response status: 200
2024-09-12 15:28:37.225 [REPO] Authentication node not found. Assuming authentication type none.
2024-09-12 15:28:37.225 [REPO] Adding to aggregated source: winget
2024-09-12 15:28:37.229 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-09-12 15:28:37.229 [CORE] Found matching extension.
2024-09-12 15:28:37.246 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.912.1823.30_neutral__8wekyb3d8bbwe\Public\index.db'
2024-09-12 15:28:37.247 [REPO] Opened SQLite Index with version [2.0], last write [2024-09-12 12:21:16.000]
2024-09-12 15:28:37.506 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-09-12 15:28:37.509 [REPO] Reading MSI UpgradeCodes
2024-09-12 15:28:37.706 [REPO] Reading MSI UpgradeCodes
2024-09-12 15:28:38.136 [REPO] Opening database for ReadWrite at 'C:\Users\name\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-09-12 15:28:38.136 [REPO] Opened SQLite Index with version [1.3], last write [2023-05-04 07:55:24.000]
2024-09-12 15:28:38.146 [REPO] Opening database for ReadWrite at 'C:\Users\name\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-09-12 15:28:38.146 [REPO] Opened SQLite Index with version [1.3], last write [2024-09-12 08:27:03.000]
2024-09-12 15:28:38.433 [REPO] Found multiple matches for installed package [ARP\Machine\X64{91415F19-4C22-3609-A105-92ED3522D83C}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{91415f19-4c22-3609-a105-92ed3522d83c}'[Exact] Include:UpgradeCode='{aa783a14-a7a3-3d33-95f0-9a351d530011}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2008redistributable'+'microsoft'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2008redistributable(x64)'+'microsoft'[Exact]]
2024-09-12 15:28:38.433 [REPO]   Checking match with package id: Microsoft.VCRedist.2008.x64
2024-09-12 15:28:38.433 [REPO]   Checking match with package id: Microsoft.VCRedist.2008.x86
2024-09-12 15:28:38.433 [REPO]   Found multiple packages with strong match fields
2024-09-12 15:28:38.433 [REPO]   Appropriate available package could not be determined
2024-09-12 15:28:38.470 [REPO] Found multiple matches for installed package [ARP\Machine\X64{ad8a2fa1-06e7-4b0d-927d-6e54b3d31028}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{ad8a2fa1-06e7-4b0d-927d-6e54b3d31028}'[Exact] Include:UpgradeCode='{a8d19029-8e5c-4e22-8011-48070f9e796e}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2005redistributable'+'microsoft'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2005redistributable(x64)'+'microsoft'[Exact]]
2024-09-12 15:28:38.470 [REPO]   Checking match with package id: Microsoft.VCRedist.2005.x64
2024-09-12 15:28:38.470 [REPO]   Checking match with package id: Microsoft.VCRedist.2005.x86
2024-09-12 15:28:38.470 [REPO]   Found multiple packages with strong match fields
2024-09-12 15:28:38.470 [REPO]   Appropriate available package could not be determined
2024-09-12 15:28:38.545 [REPO] Found multiple matches for installed package [ARP\Machine\X86\qBittorrent] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='qbittorrent'[Exact] Include:NormalizedNameAndPublisher='qbittorrent'+'theqbittorrentproject'[Exact]]
2024-09-12 15:28:38.545 [REPO]   Checking match with package id: qBittorrent.qBittorrent
2024-09-12 15:28:38.545 [REPO]   Checking match with package id: qBittorrent.qBittorrent.Beta
2024-09-12 15:28:38.545 [REPO]   Found multiple packages with strong match fields
2024-09-12 15:28:38.545 [REPO]   Appropriate available package could not be determined
2024-09-12 15:28:38.558 [REPO] Found multiple matches for installed package [ARP\Machine\X86{098c6ff7-1af1-4c4a-b86f-c60608c98e31}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{098c6ff7-1af1-4c4a-b86f-c60608c98e31}'[Exact] Include:NormalizedNameAndPublisher='microsoftwindowsdesktopruntime'+'microsoft'[Exact] Include:NormalizedNameAndPublisher='microsoftwindowsdesktopruntime(x86)'+'microsoft'[Exact]]
2024-09-12 15:28:38.558 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.5
2024-09-12 15:28:38.558 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.3_1
2024-09-12 15:28:38.558 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.6
2024-09-12 15:28:38.558 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.7
2024-09-12 15:28:38.558 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.8
2024-09-12 15:28:38.558 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.Preview
2024-09-12 15:28:38.567 [REPO] Found multiple matches for installed package [ARP\Machine\X86{20d5df4e-006c-4d6d-a0dc-490d009b9786}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{20d5df4e-006c-4d6d-a0dc-490d009b9786}'[Exact] Include:NormalizedNameAndPublisher='microsoftwindowsdesktopruntime'+'microsoft'[Exact] Include:NormalizedNameAndPublisher='microsoftwindowsdesktopruntime(x64)'+'microsoft'[Exact]]
2024-09-12 15:28:38.567 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.5
2024-09-12 15:28:38.567 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.3_1
2024-09-12 15:28:38.567 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.6
2024-09-12 15:28:38.567 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.7
2024-09-12 15:28:38.567 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.8
2024-09-12 15:28:38.567 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.Preview
2024-09-12 15:28:38.573 [REPO] Found multiple matches for installed package [ARP\Machine\X86{33832ff3-5583-4b81-b270-d9fd42760e1a}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{33832ff3-5583-4b81-b270-d9fd42760e1a}'[Exact] Include:NormalizedNameAndPublisher='microsoftwindowsdesktopruntime'+'microsoft'[Exact] Include:NormalizedNameAndPublisher='microsoftwindowsdesktopruntime(x64)'+'microsoft'[Exact]]
2024-09-12 15:28:38.574 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.8
2024-09-12 15:28:38.574 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.3_1
2024-09-12 15:28:38.574 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.5
2024-09-12 15:28:38.574 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.6
2024-09-12 15:28:38.574 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.7
2024-09-12 15:28:38.574 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.Preview
2024-09-12 15:28:38.602 [REPO] Found multiple matches for installed package [ARP\Machine\X86{710f4c1c-cc18-4c49-8cbf-51240c89a1a2}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{710f4c1c-cc18-4c49-8cbf-51240c89a1a2}'[Exact] Include:UpgradeCode='{86c9d5aa-f00c-4921-b3f2-c60af92e2844}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2005redistributable'+'microsoft'[Exact]]
2024-09-12 15:28:38.602 [REPO]   Checking match with package id: Microsoft.VCRedist.2005.x86
2024-09-12 15:28:38.602 [REPO]   Checking match with package id: Microsoft.VCRedist.2005.x64
2024-09-12 15:28:38.608 [REPO] Found multiple matches for installed package [ARP\Machine\X86{72d830b7-c2f1-4108-b0d6-323a704a9d78}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{72d830b7-c2f1-4108-b0d6-323a704a9d78}'[Exact] Include:NormalizedNameAndPublisher='microsoftwindowsdesktopruntime'+'microsoft'[Exact] Include:NormalizedNameAndPublisher='microsoftwindowsdesktopruntime(x86)'+'microsoft'[Exact]]
2024-09-12 15:28:38.608 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.6
2024-09-12 15:28:38.608 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.3_1
2024-09-12 15:28:38.608 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.5
2024-09-12 15:28:38.608 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.7
2024-09-12 15:28:38.608 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.8
2024-09-12 15:28:38.608 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.Preview
2024-09-12 15:28:38.619 [REPO] Found multiple matches for installed package [ARP\Machine\X86{889610CC-4337-4BDB-AC3B-4F21806C0BDE}_is1] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{889610cc-4337-4bdb-ac3b-4f21806c0bde}_is1'[Exact] Include:NormalizedNameAndPublisher='unigetui'+'martícliment'[Exact]]
2024-09-12 15:28:38.619 [REPO]   Checking match with package id: SomePythonThings.WingetUIStore
2024-09-12 15:28:38.619 [REPO]   Checking match with package id: SomePythonThings.WingetUIStore.Pre-release
2024-09-12 15:28:38.619 [REPO]   Found multiple packages with strong match fields
2024-09-12 15:28:38.619 [REPO]   Appropriate available package could not be determined
2024-09-12 15:28:38.624 [REPO] Found multiple matches for installed package [ARP\Machine\X86{9A25302D-30C0-39D9-BD6F-21E6EC160475}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{9a25302d-30c0-39d9-bd6f-21e6ec160475}'[Exact] Include:UpgradeCode='{aa783a14-a7a3-3d33-95f0-9a351d530011}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2008redistributable'+'microsoft'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2008redistributable(x86)'+'microsoft'[Exact]]
2024-09-12 15:28:38.624 [REPO]   Checking match with package id: Microsoft.VCRedist.2008.x64
2024-09-12 15:28:38.624 [REPO]   Checking match with package id: Microsoft.VCRedist.2008.x86
2024-09-12 15:28:38.624 [REPO]   Found multiple packages with strong match fields
2024-09-12 15:28:38.624 [REPO]   Appropriate available package could not be determined
2024-09-12 15:28:38.666 [REPO] Found multiple matches for installed package [ARP\Machine\X86{ecb94bc3-963d-412a-b141-8b7c32ef103f}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{ecb94bc3-963d-412a-b141-8b7c32ef103f}'[Exact] Include:NormalizedNameAndPublisher='microsoftwindowsdesktopruntime'+'microsoft'[Exact] Include:NormalizedNameAndPublisher='microsoftwindowsdesktopruntime(x64)'+'microsoft'[Exact]]
2024-09-12 15:28:38.666 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.6
2024-09-12 15:28:38.666 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.3_1
2024-09-12 15:28:38.666 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.5
2024-09-12 15:28:38.666 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.7
2024-09-12 15:28:38.666 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.8
2024-09-12 15:28:38.666 [REPO]   Checking match with package id: Microsoft.DotNet.DesktopRuntime.Preview
2024-09-12 15:28:38.698 [REPO] Did not find Id [Twilio.Authy] in tracked source: winget
2024-09-12 15:28:38.837 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/9NRWMJP3717K?Market=US
2024-09-12 15:28:38.858 [REPO] Response status: 200

You can also append "--verbose-logs" to include more details and "--logs" to open the log directory when the command completes.

Interestingly when I try winget list --logs, it does not open the log directory. Only reason I found them was stephengillie's comment.

Do you have UniGetUI or SomePythonThings.WingetUIStore performing updates or anything else in the background? Do you have more than one version of either of those installed (you should be able to see that in Windows Apps & Features).

Do you have UniGetUI or SomePythonThings.WingetUIStore performing updates or anything else in the background? Do you have more than one version of either of those installed (you should be able to see that in Windows Apps & Features).

Yes i have UniGetUI. THat is actually how i discovered this issue as all of a sudden all of the winget packages stopped updating. It only every updates python and powershell now. I tried to manually go to winget to updating thinking the UI broke, but nothing was showing in there either.

UniGetUI shouldn't cause any bad interactions unless something is regularly calling WinGet APIs to do work. We make sure only one instance of WinGet's functionality is running at a time to avoid possible race conditions.
I'll add Marti to the thread. He's the maintainer for UniGetUI. Maybe he's seen this before or might have an idea.
@marticliment have you seen this before? I'm tempted to see if uninstalling UniGetUI and doing a source reset with a source update would address the core issue here, then reinstalling UniGetUI to see if that helps.

Just to see what would happen, I did uninstall UniGetUI and did the source reset but that didn't do anything. I have not reinstalled it yet.

Some users have reported to me a similar problem where winget.exe only reports installed packages when ran as administrator. This issue tends to appear after the user has ran the command winget install|uninstall|update somePackage with administrator rights. This problem got fixed for the affected users by deleting the WinGet folders under %localappdata%
@stiny861, perhaps it would be interesting to reinstall UniGetUI and take a look both at both UniGetUI logs and at Package Manager logs (selecting, of course, WinGet (Verbose)), to see how WinGet is responding when called through COM API.

This is the UniGet UI log, or part of it at least.
[9/13/2024 3:53:58 PM] Dependency WinGet PowerShell Module for manager Winget is present
[9/13/2024 3:53:58 PM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[9/13/2024 3:53:58 PM] Found 0 available updates from Pip
[9/13/2024 3:53:58 PM] Found 0 installed packages from Pip
[9/13/2024 3:53:59 PM] Found 0 available updates from Chocolatey
[9/13/2024 3:53:59 PM] Found 0 installed packages from Chocolatey
[9/13/2024 3:54:00 PM] Found 2 installed packages from PowerShell
[9/13/2024 3:54:01 PM] Found 1 available updates from PowerShell
[9/13/2024 3:54:01 PM] Error finding updates on manager Winget
[9/13/2024 3:54:01 PM] System.Runtime.InteropServices.COMException (0x800706BE)
at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)
at ABI.Microsoft.Management.Deployment.IPackageCatalogMethods.FindPackages(IObjectReference _obj, FindPackagesOptions options) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.19041.0\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 6217
at Microsoft.Management.Deployment.PackageCatalog.FindPackages(FindPackagesOptions options) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.19041.0\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 2578
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetLocalWinGetPackages(INativeTaskLogger logger) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 202
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.<>c__DisplayClass4_0.<GetAvailableUpdates_UnSafe>b__0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 137
at System.Threading.Tasks.Task1.InnerInvoke()                           at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)                        --- End of stack trace from previous location ---                           at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)                           at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)                        --- End of stack trace from previous location ---                           at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetAvailableUpdates_UnSafe(WinGet Manager) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 137                           at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.<GetAvailableUpdates_UnSafe>b__27_0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 133                           at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 133
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.GetAvailableUpdates() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 189
[9/13/2024 3:54:01 PM] Error finding installed packages on manager Winget
[9/13/2024 3:54:01 PM] System.Runtime.InteropServices.COMException (0x800706BE)
at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)
at ABI.Microsoft.Management.Deployment.IPackageCatalogMethods.FindPackages(IObjectReference _obj, FindPackagesOptions options) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.19041.0\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 6217
at Microsoft.Management.Deployment.PackageCatalog.FindPackages(FindPackagesOptions options) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.19041.0\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 2578
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetLocalWinGetPackages(INativeTaskLogger logger) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 202
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.<>c__DisplayClass5_0.<GetInstalledPackages_UnSafe>b__0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 157
at System.Threading.Tasks.Task1.InnerInvoke()                           at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)                        --- End of stack trace from previous location ---                           at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)                           at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)                        --- End of stack trace from previous location ---                           at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetInstalledPackages_UnSafe(WinGet Manager) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 157                           at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.<GetInstalledPackages_UnSafe>b__28_0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 138                           at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 138
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.GetInstalledPackages() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 215
This is the verbose package manager log.
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 9/13/2024 3:53:57 PM
Process end time:   UNFINISHED
-- Task information
...
The task has not finished yet
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListSources
Process start time: 9/13/2024 3:53:58 PM
Process end time:   9/13/2024 3:53:58 PM
-- Task information
...
The task reported success
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 9/13/2024 3:53:58 PM
Process end time:   UNFINISHED
-- Task information
...
The task has not finished yet
——————————————————————————————————————————

For additional info, even when running winget from an admin session the packages and updates do not show.

As from the shared logs, it looks the issue shows as COMException with Error Code 0x800706BE
[9/13/2024 3:54:01 PM] System.Runtime.InteropServices.COMException (0x800706BE)
at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)
at ABI.Microsoft.Management.Deployment.IPackageCatalogMethods.FindPackages(IObjectReference _obj, FindPackagesOptions options) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.19041.0\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 6217
at Microsoft.Management.Deployment.PackageCatalog.FindPackages(FindPackagesOptions options) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.19041.0\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 2578
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetLocalWinGetPackages(INativeTaskLogger logger) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 202
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.<>c__DisplayClass4_0.<GetAvailableUpdates_UnSafe>b__0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 137
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetAvailableUpdates_UnSafe(WinGet Manager) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 137 at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.<GetAvailableUpdates_UnSafe>b__27_0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 133 at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 133
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.GetAvailableUpdates() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 189

[9/13/2024 3:54:01 PM] Error finding installed packages on manager Winget
[9/13/2024 3:54:01 PM] System.Runtime.InteropServices.COMException (0x800706BE)
at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)
at ABI.Microsoft.Management.Deployment.IPackageCatalogMethods.FindPackages(IObjectReference _obj, FindPackagesOptions options) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.19041.0\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 6217
at Microsoft.Management.Deployment.PackageCatalog.FindPackages(FindPackagesOptions options) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.19041.0\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 2578
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetLocalWinGetPackages(INativeTaskLogger logger) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 202
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.<>c__DisplayClass5_0.<GetInstalledPackages_UnSafe>b__0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 157
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetInstalledPackages_UnSafe(WinGet Manager) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 157 at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.<GetInstalledPackages_UnSafe>b__28_0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 138 at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 138
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.GetInstalledPackages() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 215

What happens if you rename the folder C:\Users\<username>\AppData\Local\Microsoft\WinGet to C:\Users\<username>\AppData\Local\Microsoft\WinGet.old?
This is what I know fixed similar issues for some UniGetUI users

Nothing happened. Forder did not get recreated. I tried switching the UI to the bundled winget and got this in the logs.
[9/13/2024 4:58:32 PM] Dependency WinGet PowerShell Module for manager Winget is present
[9/13/2024 4:58:32 PM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[9/13/2024 4:58:32 PM] Found 0 available updates from Pip
[9/13/2024 4:58:32 PM] Found 0 installed packages from Pip
[9/13/2024 4:58:33 PM] Found 0 available updates from Chocolatey
[9/13/2024 4:58:33 PM] Found 0 installed packages from Chocolatey
[9/13/2024 4:58:34 PM] Found 2 installed packages from PowerShell
[9/13/2024 4:58:34 PM] Found 445 installed packages from Winget
[9/13/2024 4:58:35 PM] Found 32 available updates from Winget
[9/13/2024 4:58:35 PM] Found 1 available updates from PowerShell
It is now showing packages and updates, so it looks like something in the embedded winget stopped working.
So to be clear, the UI now shows packages, but the CLI does not.

Does anyone have any additional thoughts or things for me to try to troubleshoot?

Does anyone have any additional thoughts or things for me to try to troubleshoot?

Im having the same issue. List upgrade just shows nothing.

Does anyone have any additional thoughts or things for me to try to troubleshoot?

Im having the same issue. List upgrade just shows nothing.
Edit:
I was able to fix it by using this command: Get-AppxPackage -Name 'Microsoft.DesktopAppInstaller' | Reset-AppxPackage

Holy crap that actually fixed it.

Does anyone have any additional thoughts or things for me to try to troubleshoot?

Im having the same issue. List upgrade just shows nothing.
Edit:
I was able to fix it by using this command: Get-AppxPackage -Name 'Microsoft.DesktopAppInstaller' | Reset-AppxPackage

Holy crap that actually fixed it.

Glad I was able to help. Took me a while to find that command to fix it.


Add Apple Mac throttle measurement

Currently having some issues with CC:
22 problems were found storing the configuration cache, 3 of which seem unique.
- Gradle runtime: cannot serialize object of type 'gradlebuild.buildscan.CpuPerformanceCapturingService', a subtype of 'org.gradle.api.services.BuildService', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.0-20221215080226+0000/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Class `gradlebuild.buildscan.CpuPerformanceCapturingService`: external process started 'pmset -g therm'
  See https://docs.gradle.org/8.0-20221215080226+0000/userguide/configuration_cache.html#config_cache:requirements:external_processes
- Unknown location: external process started 'pmset -g therm'
  See https://docs.gradle.org/8.0-20221215080226+0000/userguide/configuration_cache.html#config_cache:requirements:external_processes

I'm going to close this, as we've pulled enough data without this.
@wolfs opinions?


Added description for server

Context

Add a description to the server

Choices

Implemented the same as the other settings

Test instructions

Set a description in docker-compose
Start container
Join game
Go to the options in game to see the description. For my testing I did Hello World.

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I've added documentation about this change to the README.
[x] I've not introduced breaking changes.

You should wait for https://github.com/thijsvanloef/palworld-server-docker/pull/124 to be merged, then update your changes to incorporate it. The current way does not support spaces in the server name and wouldn't in the description.

You should wait for https://github.com/thijsvanloef/palworld-server-docker/pull/124 to be merged, then update your changes to incorporate it. The current way does not support spaces in the server name and wouldn't in the description.

I didn't have any issues with spaces in the server name or description as and that can be seen in the photo in the PR.

Needed to revert #124, your PR is still on my radar, but #124 has to be fixed first, sorry for the inconvenience.

There was some fuckery going on with the revert, I believe I fixed it


How to generate swagger api docs from wtfroms?

Now I use flask_restx to write swagger schemas, but it's validation is not very good.

This is outside the scope of WTForms itself, it would be an additional extension someone would need to write and maintain. As in, this would be appropriate for an API extension. There are plenty of other extensions besides Flask-RestX. Take a look at Flask-Rebar, APIFlask, Flask-RestY, Flask-Smorest, etc.


'cluster_service_ipv4_cidr' input variable apparently only accepts RFC1918

Input variable 'cluster_service_ipv4_cidr' only accepts RFC1918 - why this limitation?
When trying to deploy an EKS the Service CIDR range apparently is limited to RFC1918 IPs. Why this limitation?
We are currently making heavy use of RFC6598 (Carrier Grade NAT CIDR ranges in our K8s deployments due to IP range exhaustion. We use this CIDR range both for Pod CIDR and Service CIDR, and would like to be able to continue using this pattern.
Our use comes from the fact that we often already have a RFC1918 CIDR in use somewhere in the company routed network. And the usage of the CGN ranges "guarantees" us that a K8s Service won't have an overlapping IP of an already utilized range outside the cluster that provides a service that a Pod in the cluster might resolve to provide a service endpoint.
CGN also will be used in a Cilium overlay network to allow us to create cluster mesh between K8s clusters. This also mandates the use of a "large unused scope" to mesh clusters together at the Pod network CIDR level.

[X] ✋ I have searched the open/closed issues and my issue is not listed.

⚠ Note
Versions

Module version [Required]: 20.23.0
Terraform version: 1.9.3

Reproduction Code [Required]
module "eks" {
  source  = "terraform-aws-modules/eks/aws"
  version = "~> 20.23"

  cluster_name    = var.eks-name
  cluster_version = "1.30"

  cluster_endpoint_public_access = false

  enable_cluster_creator_admin_permissions = true

  cluster_service_ipv4_cidr = "<IP_ADDRESS>/16"

  cluster_addons = {
    #   coredns    = {}
    #   kube-proxy = {}
    #   vpc-cni    = {}
  }

  vpc_id     = data.aws_vpc.eks_vpc.id
  subnet_ids = data.aws_subnets.eks_subnets.ids

  eks_managed_node_groups = {
    system = {
      instance_types = ["m5.large"]
...

Expected behavior
EKS should accept to use the CGN CIDR range for Service Network
Actual behavior
Output:
│ Error: invalid value for kubernetes_network_config.0.service_ipv4_cidr (must be within <IP_ADDRESS>/8, <IP_ADDRESS>/12, or <IP_ADDRESS>/16)
│
│   with module.eks.aws_eks_cluster.this[0],
│   on .terraform/modules/eks/main.tf line 27, in resource "aws_eks_cluster" "this":
│   27: resource "aws_eks_cluster" "this" {
│

this is down to the service itself - there isn't anything within this module that can be done to change this


Unable to edit teams before registration complete

not able to edit teams in the admin view if they have not completed both steps of registration

closed by b39252930f649f6c910ac7b2eb7d5deefa4c921a


use zhipuai  has something error

Bug description

Bug solved method

Environment information

macos catalina
python 3.10
llm: zhipuai

LLM type and model name:
System version:
Python version:

packages version:
installation method:

Screenshots or logs

after installed python certicates, it's ok


Missing version tags

The last published version is 1.0.2, whereas v 1.0.4 shipped 16 months ago.
Ideally, there'd also be a tag for 1.0.5 pinned at 243e3cb19245fd77492289f2c7360b1560598519

Vote up pleas add the tags


Improvements to Lists

A more improved List Patch.
All functions changes are limited to List, ArrayList, Lists classes and referencing test classes.
As suggested from incaseoftrouble to improve the merging process.
Table of Contents:

Added: reverse function for Lists that also checks for random access.
Fixed: Unmodifiable list was modifiable via the size function.
Added: Improved implementation of removeIf to ArrayList
Added: Improved implementation of retainAll to ArrayList.
Added: Tests for all new functions

Pull request is considered ready for review from my side.

looks good overall, only minor things IMO 👍

Thanks.


not an issue but request

can you please just add regular session if you can instead of symphony? Just a thought for consideration.

If it were possible I would have done that instead of needing Symphony 😉

Note that using $_SESSION isn't possible due to it being a global variable and the same process is handling countless different requests at the same time. And using a global then means all those requests access the same global sessions, leaking everything everywhere to everyone.


Post-09 Paging Implementation: Address Calculation section has a bad URL for image

The first image in address calculation section of paging implementation appears to have a bad URL:

Changing the URL to ../paging-introduction/x86_64-table-indices-from-address.svg (removing the 08- prefix) fixes the issue:

Fixed in https://github.com/phil-opp/blog_os/pull/1146


[SMALLFIX] Removed explicit type argument in ClientHandler

Removed an explicit argument type in the ClientHandler class.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9655/
Test PASSed.

LGTM


[VS Code] Cannot read property 'registerWorkspaceProvider' of undefined

Error:
Cannot read property 'registerWorkspaceProvider' of undefined
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.472

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.19.3

platformName
Windows

platformVersion
10.0.14393

Thanks for reporting this issue. Were trying to join a debugging session in this case? It looks like the bug maybe in not handling older versions of VS Code with some missing APIs. We'll take a look at this but to unblock yourself, you could try updating to the latest VS Code version.

Thanks for reporting this issue. Were trying to join a debugging session in this case? It looks like the bug maybe in not handling older versions of VS Code with some missing APIs. We'll take a look at this but to unblock yourself, you could try updating to the latest VS Code version.

@audheshjaiswal This issue has been resolved in the latest Live Share update, so if you could update the extension, and let us know if you’re unblocked, that would be great. Thanks!


Website rework

The Silk.NET website remade from scratch
As requested by Perksey, it is now built on Docusaurus. It style is completely made from scratch based on the current one.
To run the project:

Make sure Node.js and NPM are installed and up to date;
Make sure you have the last version of the fork;
Run the nuke command with "website"

Unfortunately, Docusaurus uses git history information to set doc page's author, so I'm the author of everything now lol. It can be solved only if the respective authors do some changes on their .md files.
Any issues, questions or anything, pls comment here.
Perksey-senpai pls accept my PR 👉👈😖

Unfortunately, Docusaurus uses git history information to set doc page's author, so I'm the author of everything now lol. It can be solved only if the respective authors do some changes on their .md files.

I'll try and sort this out if accepted.

Is this ready for review?

Is this ready for review?
@Perksey

uhhh... yeah? what is the problem?

I'm closing this PR. Too many of the review comments on the last PR have not been addressed such that this would take too much time to review, and too much time to fix ourselves. I think this work item has exhausted the amount of time the team is able to dedicate towards it. We may pick this back up in the future.


feat: pointerlock api

i fix it
also i dont know why it says that i changed the readme file

Now you just need to add the file to the repl, and hope it works!

@7ih you tell me! I dev on an iPad so I can't really tell but is it working right now?

@RayhanADev, you dev on an iPad? Never heard that before...

@coolcoder-js yep! Almost everything on Replit was done on iPad :D.


Bump Log4j2 to 2.17.2

Motivation:
We should always use up-to-date log4j2
Modification:
Updated Log4j2 2.17.1 to 2.17.2
Result:
Up-to-date Log4j2

Thanks!


ISPN-8593 Migrated to DNS_PING

https://issues.jboss.org/browse/ISPN-8593

@ryanemerson Yeah, it happens from time to time. I have no idea why, but sometimes a connection to the internal Nexus is interrupted. By lucky guess is that it's DNS fault. It's pretty hard to catch it, as you can see job restart fixed the issue.... Merging.


FileNotFoundError: [Errno 2] No such file or directory: 'spm_train'

install this.

thank you！

Hello,
When I am running the same code, I got the same error. I have installed the sentencepiece package but it doesn't work. Does it work for you? or have you found anything else useful?
Mohammad

If you can not use spm_train in a terminal, you need to make sure that the installation is working properly.


Support multiple classes for class name overrides

When using this library with functional CSS frameworks like Tailwind or Tachyons, it would be super convenient to be able to specify multiple classes to be applied for the different states draggable elements can be in, like:
const draggable = new Draggable(document.querySelectorAll('ul'), {
  draggable: 'li',
  classes: {
    mirror: ['opacity-50', 'bg-grey-lighter'],
    // Or even...
    mirror: 'opacity-50 bg-grey-lighter',
  }
});

Right now this isn't easy to do since classes are added using element.classList.add which can only accept a single class. Also, getClassNameFor would realistically have to be updated to return an array, which makes the name inaccurate, and I think that's public API (?) which is a bummer.
Anyways this would be super helpful, so would appreciate your consideration in supporting it. I'm more than happy to provide a PR if the team doesn't mind providing a bit of direction on how they would prefer to solve the getClassNameFor-returning-multiple-classes thing. Is it okay to rename that method? Should it stay the same but be sort of inaccurate?
Thanks!

Ah that's fantastic! Yeah please mention me in the PR if you don't mind; looking forward to giving it a try 👍 Thanks @tsov!

Is this working in the current version?

Is this working in the current version?

Yes, it's working on v1.0.0-beta.12 but this version was marked at pre-release (@next  tag), so you can install it by npm install --save @shopify/draggable@next
Sorry for the inconvenience, for more information please read https://github.com/Shopify/draggable/issues/465#issuecomment-761737541

Yes, it's working on v1.0.0-beta.12 but this version was marked at pre-release (@next  tag), so you can install it by npm install --save @shopify/draggable@next
Sorry for the inconvenience, for more information please read https://github.com/Shopify/draggable/issues/465#issuecomment-761737541

Yes, it's working on v1.0.0-beta.12 but this version was marked at pre-release (@next tag), so you can install it by npm install --save @shopify/draggable@next
Sorry for the inconvenience, for more information please read #465 (comment)

Thanks for your answer, it's working like intended! Very nice library :)

Yes, it's working on v1.0.0-beta.12 but this version was marked at pre-release (@next tag), so you can install it by npm install --save @shopify/draggable@next
Sorry for the inconvenience, for more information please read #465 (comment)

Thanks for your answer, it's working like intended! Very nice library :)


Illustrate better patterns for changing / modifying the container's user ID

We are bought into the UID of our containers (and we test them) to ensure backwards compatibility.
However, some customers may want to change the UID of these service accounts to better interact with their environment. We should have a better pattern in our dockerfile that shows how to create users ahead of the service being installed.

If it helps with context for why this might be necessary, our team ran into this issue while using the pre-built package manager docker image. The problem is the host machine already has a system user with UID matching what the default had been (999).


Roslyn Compilation Support for Code under mod/src folder

This PR adds Roslyn compilation support for mod code under mod/src folder
It checks to see if there is an already cached compilation of the dll before compiling it, if so loads that instead, otherwise compiles the dll

NuGet.config should resolve issues with loading BepInEx stuff


Error when running docker container from image of docker hub

docker run rominator/yadc
yields the following error
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "/main.sh": permission denied: unknown.

should be fixed by f5fb7bb4b7987c1c5c0d5ab060fbb9fc92501399


rendering of equations in livescripts

For me, on my Linux machine, the equations in example_temperature.mlx do not render correctly. Instead, I get

Might be local to my current computer, does need further investigation.

Hi Aljen,
The equations render on my linux machine (23a, both classical and new desktop). When you click on the question marks, does the equation tab in the toolbar appear?
Thomas
From: AljenU @.>
Sent: Tuesday, 11 July 2023 15:28
To: mcdougallab/matlabneuroninterface @.>
Cc: Subscribed @.***>
Subject: [mcdougallab/matlabneuroninterface] rendering of equations in livescripts (Issue #82)
For me, on my Linux machine, the equations in example_temperature.mlx do not render correctly. Instead, I get
[image]https://user-images.githubusercontent.com/74405789/252677953-d7d8d747-fefd-4ac6-a57e-80051951a15d.png
Might be local to my current computer, does need further investigation.
—
Reply to this email directly, view it on GitHubhttps://github.com/mcdougallab/matlabneuroninterface/issues/82, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6JZROKVAFVSNVSLS2QBI2TXPVIFXANCNFSM6AAAAAA2GANTJU.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>

Not sure what was happening, when I currently look at example_temperature.mlx on a Linux machine and 2023b the equations show correctly. Since this is no longer reproducible, I'll close this issue.


wagtailuserbar tag for modeladmin enabled instance

The wagtailuserbar is designed to work with Page instance. If it does not find a page instance, it will return an empty string and skip the reset hook logic, make it impossible to extend it for non-page instance.
    # Only render if the context contains a variable referencing a saved page
    page = get_page_instance(context)
    if page is None:
        return ''
    ....
    for fn in hooks.get_hooks('construct_wagtail_userbar'):
        fn(request, items)

The modeladmin module allows us to add any model in the Wagtail admin (with add/edit/list features). It will be sweet for wagtailuserbar to support modeladmin enabled instance.
RP: show the wagtailuserbar as long as the "self" variable in template context is a modeladmin enabled instance.
[Go to Wagtail Admin]
[Edit this page/object]

I spent a few hours looking into this and it doesn't look very doable, the wagtailuserbar is too tightly coupled with the page model. I built my own solution to display an edit link instead. As all the models I wanted a link for inherited from a base class I added this to the base class:
    def modeladmin_url(self):
        import_path = getattr(self, "modeladmin_class", None)
        if import_path:
            modeladmin_module = ".".join(import_path.split(".")[:-1])
            modeladmin_cls = import_path.split(".")[-1]
            module = import_module(modeladmin_module)
            modeladmin = getattr(module, modeladmin_cls)
            return modeladmin().url_helper.get_action_url("edit", self.id)

Each model then received a modeladmin_class property that looked like "theapp.admin.ModelAdminClass", and that's used in the already existing menu template. Not really what I wanted, but I wanted to add it here as I lost a lot of time. The permission check is handled in the template.

Sorry, I must have missed this issue the first time round!
I don't think this is a feature that Wagtail can usefully provide. The usefulness of the userbar arises from various design decisions built into the Page model: a Page being an object that knows how to serve an HTTPResponse for itself, with URLs defined by slug fields and tree positions and the page object being available in the template context as self and page. This means that Wagtail has a standardised way to determine which page is being viewed, and can offer context-specific links.
None of this exists for arbitrary modeladmin models - when you write a custom Django view to display a modeladmin object as a front-end page, you're making your own decisions about URLs, context variables and so on. Wagtail has no built-in knowledge of how you chose to build it. In principle we could make the behaviour of the wagtailuserbar tag configurable with rules like "if we are on view A, and variable B exists in the template context, then display a userbar with links X, Y and Z" - but at that point the wagtailuserbar tag is not really adding any value over simply writing those links into the template yourself.


Fix block art rendering

c.f. https://signet.ordinals.com/preview/0905b75598e1dba3381089cf8837a550247f160420a6fc30c64ec257b515efbai0
The spaces between lines shouldn't be there.

This can be fixed with CSS: line-height: 1;


Responsive Calender

Hi,
How can I make calender graph as responsive. Please help me

Duplicate of #100


Adding horizontal lines for SubChart

Can't seem to apply horizontal line on subchart

Horizontal lines are plotted based on a series (candles, lines etc), and chart.horziontal_line places the line relative to candle data. So you'll need to use line.horizontal_line on a chart without candle data.
Louis

Is there an example of this, can't seem to figure out how a chart that does not have candles just lines to create a horizontal line

nvm,  I see what you mean. I need to find the overlaying line object and then apply the horizontal line to that.

Will also see if trendline behaves in the same manner

I'm trying to figure this same thing out and I'm so confused. Do you have to create them using a method in the rsi line object?

does anyone respond ?
can anyone help with  running the program full charting ,  seem to not work
now ?
On Mon, 8 Jul 2024 at 12:31, germangar @.***> wrote:

I'm trying to figure this same thing out and I'm so confused. Do you have
to create them using a method in the rsi line object?
—
Reply to this email directly, view it on GitHub
https://github.com/louisnw01/lightweight-charts-python/issues/88#issuecomment-2212887288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWTRHNJQNS3JMPJG3LGQCX3ZLH6IHAVCNFSM6AAAAABKP6F3BCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSHA4DOMRYHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I just got it to work. It's weird, but yeah, it's just that.
You create your, let's say rsi line, and in the object of the rsi line you call the horizontal_line(value) method to add the horizontal line.
This is my code. It there are shenanigans made in between, but you I hope it helps getting the point
rsi = calcRSI( 'close', 14 )
    rsiplot = plot( rsi.name, rsi.getSeries(), context.bottomPanel )
    if( rsiplot != None ):
        rsiplot.line.horizontal_line(30)

do you know how to get the whale charting up and running,   no responses
from anyone ?    cant seem to work out how to laid and run from the guhub
whole download of the charting program .
any ideas?,
On Mon, 8 Jul 2024 at 12:45, germangar @.***> wrote:

I just got it to work. It's weird, but yeah, it's just that.
You create your, let's say rsi line, and in the object of the rsi line you
call the horizontal_line(value) method to add the horizontal line.
This is my code. It there are shenanigans made in between, but you I hope
it helps getting the point
rsi = calcRSI( 'close', 14 )
rsiplot = plot( rsi.name, rsi.getSeries(), context.bottomPanel )
if( rsiplot != None ):
rsiplot.line.horizontal_line(30)
—
Reply to this email directly, view it on GitHub
https://github.com/louisnw01/lightweight-charts-python/issues/88#issuecomment-2212905009,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWTRHNM7L6ADGVXLWGLJQXTZLH74JAVCNFSM6AAAAABKP6F3BCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSHEYDKMBQHE
.
You are receiving this because you commented.Message ID:
@.***>


Render just a templateResult that is rendered in a larger TemplateResult

One thing I'm struggling to figure out with lit is if I have a template that is embedded in another template, how can I update the rested template?
For example, the top level might be:
import {someTemplate} from '../somewhere';

const mainTemplate = html`Hello ${someTemplate('world')}`;
render(mainTemplate, document.body);

Then in someTemplate, we could have:
const currentColor = 'red';
export function someTemplate(name) {
   return html`<div class$="${currentColor}">${name}</div>`;
}

export function setColor(color) {
    currentColor = color;
    // TODO: Update the render of someTemplate.
}

At the moment it seems like I'd need to re-run the render() and there is no way for this component to re-render itself. Is that the case?
p.s. The example I'm currently trying to implement is list that expands / shrinks.

I think @obedm503 is right here. It looks like you're trying to make a component, so I'd use a component model like Web Components. Polymer's base class for that is here: https://github.com/PolymerLabs/lit-element
It's important to note that there is no instance of anything for setColor to act on. someTemplate() may have been rendered into multiple places, multiple times. Each render creates a new TemplateResult, but there's no telling whether that's a re-render or new render, so there would be no option but to set the color globally.
If that's ok, you might be able to bind to an async iterator rather than a simple value.


Write a program for text file analysis.

Problem Statement
Write a program for text file analysis
Should be return a dictionary of count
total_lines
total_characters
total_words
unique_word
special_characters
And add more..

Can I work on this issue?

Yes @m044de


mealie: allow writing to the data directory

Description of changes
This allows the mealie process to write to the data directory (specified by the DATA_DIR environment variable). Adding this option is required when the DynamicUser systemd service option is enabled, which is the case here.
See the systemd documentation for a full explanation: https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#DynamicUser=
In my case, this was necessary in order to allow mealie to start up correctly when using a custom DATA_DIR value. Therefore I can confirm it works via manual testing.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3952

I think the simplest/best way would just be to have DynamicUser = mkForce false; and add/create the relevant user/group for the service in your own configuration.
This is quite a niche problem. I can't really identify a need to share DATA_DIR (unlike, say, Jellyfin, Sonarr, and Radarr which should probably all share the same folders and use the same group/user to access them). IMO the module should be kept simple and use DynamicUser.

@james-atkins @ambroisie thank you both for your comments. I've changed the way things work here to try and account for the edge cases.
I went with @ambroisie's suggestion of allowing passing a user with the correct permissions into the module, rather than attempting to change the permissions of an external directory on the fly (which users may not expect).
It is now effectively expected for users to create a system user with the appropriate permissions when specifying a custom data directory. Doing so will disable the DynamicUser behaviour of the systemd service, which should make things more predictable.
I tried to include a wealth of documentation. Please review and check that it's accurate/useful.

@james-atkins @litchipi Thanks! Both suggestions taken into account, and PR rebased on top of latest master (to address some merge conflicts).

Also, I don't know how DynamicUser = true; works when User is set to a pre-existing user 🤔 -- that's why I'd suggested it being a downstream user configuration thing through mkForce instead.

Also, I don't know how DynamicUser = true; works when User is set to a pre-existing user 🤔 -- that's why I'd suggested it being a downstream user configuration thing through mkForce instead.

In this case, systemd will simply make use of the existing user. A user will not be dynamically created. See the documentation for the option in the PR description.


Published Content controller should not require any authorization - this is public just like the website

I would say that we should keep it behind auth - we would expose all content in the site - including hidden pages and "system" properties - for instance if a developer stored a private API key on a page - that would be exposed via the api

but all pages are public if they are published ... they all have public URLs
I plan on implementing the authz to be done via policies so I suppose a developer can make this public if they want by policy

ahh but i see what you mean... not all properties might be public, only what is seen on the template. Gotcha. Well we'll make it flexible :)

exactly :) - but giving devs the flexibility to change this via a policy would make fine sense - so in case they do want everything public they can do that - but not by default


Making nb-javac optional

This patch makes nb-javac optional for Java editing features. If no suitable javac is found (no nb-javac and running on JDK 8), the Java infrastructure runs in a "degraded" mode (just plain editor). The Java infrastructure/editor can run on JDK 9 without nb-javac, but some features (like partial reparse) are disabled, some other are potentially slower (like refactoring). Also things like error recovery are then fully dependent on the error recovery of the JDK javac.
The IDE should offer download of nb-javac, more intensely on JDK 8.

Making javac optional is an essential step. Let's do it.


docs(example): fixes #112 by adding a RancherOS example

Signed-off-by: Josh Cox<EMAIL_ADDRESS>fixes #354
This addes an example rancher operator yaml file.
Does this PR require any upgrade changes?:
No, this is merely an example for documentation.
If the changes in this PR are manually verified, list down the scenarios covered::
The rancher operator file in question merely changes a few paths, but I would like someone to verify that I changed the correct paths.
Checklist:

[x] Fixes #112
[x] PR Title follows the convention of  <type>(<scope>): <subject>

@joshuacox operator yamls are autogenerated. lvm-rancher-operator.yaml will become stale once we add more changes to it. Can we just have readme so that user can understand what needs to be changed in operator yaml.   Same for this PR https://github.com/openebs/zfs-localpv/pull/355 also.


Receive intents - device share menu

This might be considered a duplicate of https://github.com/flutter/flutter/issues/357 but it's not exactly the same issue.
I'd like to expose my application to the global share menu and to receive data from other applications, not only browsers.
The OS's share menu usually allows sharing data between apps like simple strings or even images.
Is it planned for Flutter?

Hey guys, excited about flutter! Following up on @gcstr request, very interested in the receiving intents abilities as well. To further clarify, would like to be in browser app like safari or chrome, and then share the link of a page to my flutter app directly from the browser app. Or another case would be using the youtube app and then sharing a video link from the youtube app for my flutter app to receive it with the confirmation coming from the flutter app giving a message that is was received by the app. Thoughts on accomplishing this? This would allow for the basic functionality found in a social bookmarking app.
Thanks!

@zoechi #7111 references references data going outbound of your flutter app and suggests https://pub.dartlang.org/packages/share, but I don't think it references data going inbound to the flutter app.
Love anybodies thoughts!

I want to do the same thing as the OP and the only thing I find how to do is open the share menu. That is not what the OP is asking for. In a browser there is a share action that opens a menu with ways of sharing, can a Flutter app be added to that menu?

@msveden https://flutter.io/flutter-for-android/#how-do-i-handle-incoming-intents-from-external-applications-in-flutter

OK I will just build my app in React Native then. Thanks for taking time to answer my questions!

@gcstr check out https://github.com/d-silveira/flutter-share it does exactly what you need, currently for Android

Thanks a lot @d-silveira!
I'll give it a try today.

@zoechi is there a link on how to receive incoming extensions on ios?

@rlee1990 I'm not aware of one, but that doesn't necessarily mean there isn't.

I see this issue is pretty old, is there any better option for this in 2019?


Is it a typo?

code- https://github.com/osmosis-labs/osmosis/blob/main/proto/osmosis/gamm/v1beta1/genesis.proto#L2
Was just scrolling through the proto files, found that v1beta1 is not included in the above proto package, is it a typo or for any specific reason?

Yeah good catch, not sure whats going on there either. Going to close this and add it as another item in #682


pcapgo/capture.go error in macosx

46         conn, err := raw.ListenPacket(intf, syscall.ETH_P_ALL, nil)
undefine syscall.ETH_P_ALL

OS:  Mac OSX

Looks like a Linux-specific syscall was introduced:
../../go/src/github.com/google/gopacket/pcapgo/capture.go:46:38: undefined: syscall.ETH_P_ALL
[14:05] wbrown@nephelai (master)  564$ grep ETH_P_ALL /usr/local/opt/go/libexec/src/syscall/*
grep: /usr/local/opt/go/libexec/src/syscall/js: Is a directory
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_386.go:	ETH_P_ALL                        = 0x3
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_amd64.go:	ETH_P_ALL                        = 0x3
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_arm.go:	ETH_P_ALL                        = 0x3
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_arm64.go:	ETH_P_ALL                        = 0x3
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_mips.go:	ETH_P_ALL                        = 0x3
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_mips64.go:	ETH_P_ALL                        = 0x3
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_mips64le.go:	ETH_P_ALL                        = 0x3
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_mipsle.go:	ETH_P_ALL                        = 0x3
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_ppc64.go:	ETH_P_ALL                        = 0x3
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_ppc64le.go:	ETH_P_ALL                        = 0x3
/usr/local/opt/go/libexec/src/syscall/zerrors_linux_s390x.go:	ETH_P_ALL                        = 0x3

I'm having this issue as well on OS X 10.11.6 (El Capitan) when just trying to create a new pcapgo.Writer:
pcapFile, _ := os.Create("output.pcap")
pcapWriter := pcapgo.NewWriter(pcapFile)

# github.com/google/gopacket/pcapgo
../../github.com/google/gopacket/pcapgo/capture.go:46:38: undefined: syscall.ETH_P_ALL

It seems pcapgo doesn't support macOS and other BSD environments. So if you want to use this on macOS, you need to use pcap package which requires libpcap C library.

This PR #521 should have been fixed the issue

Yes, it did.

The capture tests fail on macOS for the same reason:
# github.com/google/gopacket/pcapgo_test [github.com/google/gopacket/pcapgo.test]
/path/to/pkg/mod/github.com/google/gopacket@v1.1.16/pcapgo/capture_test.go:29:17: undefined: pcapgo.NewEthernetHandle
FAIL	github.com/google/gopacket/pcapgo [build failed]

Would it be possible to add the same build tag to capture_test.go?

This was fixed in master 2 days ago in https://github.com/google/gopacket/commit/39ceec91062f0b166b38a017b4cb68cf544d90b4


include error

Description
once I include itkImageSeriesReader.h、itkImageSeriesWriter、itksys/SystemTools.hxx， there would be errors.
But the quotes of itkImage.h, itkGDCMImageIO.h and itkGDCMSeriesFileNames.h are normal and make no error.
Steps to Reproduce
C++
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <itkImage.h>
#include <itkGDCMImageIO.h>
#include <itkGDCMSeriesFileNames.h>
#include <vector>
#include <itkImageSeriesReader.h>
#include <itkImageSeriesWriter.h>
#include <itksys/SystemTools.hxx>
int main()
{
return 1;
}
Expected behavior
No error
Actual behavior
Error  LNK2019  unresolved external symbol "public: __cdecl itksys::SystemToolsManager::SystemToolsManager(void)" (??0SystemToolsManager@itksys@@QEAA@XZ) referenced in function "void __cdecl itksys::`dynamic initializer for 'SystemToolsManagerInstance''(void)" (??__ESystemToolsManagerInstance@itksys@@YAXXZ)
Environment
MSVC2022
itk[core]:x64-windows -> 5.1.0#7

Please try the latest tag of ITK and include a reproducible CMakeLists.txt and code.

Is inclusion of OpenCV headers necessary to reproduce?

Is inclusion of OpenCV headers necessary to reproduce?

Nope.

Please try the latest tag of ITK and include a reproducible CMakeLists.txt and code.

I found the problem was caused by my unproper targer_link_directories in CMakeLists.txt.
CMakeLists.txt
And I used vcpkg to manage the inclusion.
By the way, I used the example in The ITK Software Guide
CMakeLists.txt
But the error occured and the info was "CMake Error at D:/vcpkg/scripts/buildsystems/vcpkg.cmake:540 (_add_executable): Target "HelloWorld" links to target "GTest::GTest" but the target was not found.  Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?"
But if I used target_link_libraries(TestDll ITKFFT ITKVTK ITKznz itksys ITKIOImageBase), the error disappeared.
So my question is can I use ${ITK_LIBS} or some other key words to include ITK so that I don't need to specify module to use in CMakeLists.

${ITK_LIBRARIES} provides the libraries found.

But I tried the follewed CMakeLists and error was reported. The error info was the same "CMake Error at D:/vcpkg/scripts/buildsystems/vcpkg.cmake:540 (_add_executable): Target "HelloWorld" links to target "GTest::GTest" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?"
CMakeLists.txt
I don't understand...

You seem to be forgetting INCLUDE(${ITK_USE_FILE}). Take a look at the Hello Insight.

No, I test with INCLUDE(${ITK_USE_FILE}) and have tried the example. The same error was reported
CMakeLists.txt

This issue is most likely related to vcpkg, so I suggest you focus your attention there.

OK, thanks


serializeAttachment and deserializeAttachment documentation are missing

Proposed changes

https://developers.cloudflare.com/durable-objects/api/websockets/

Subject Matter
serializeAttachment and deserializeAttachment
Content Location

https://developers.cloudflare.com/durable-objects/api/websockets/

Additional information
They are very useful API methods when using hibernation.
The docs were added in https://github.com/cloudflare/cloudflare-docs/issues/11294 but removed afterward without any explanation.

FWIW: Its serializeAttachment  and deserializeAttachment whiout the 's'
And yes, the docs are missing, but the API works fine.

Hey, we have a PR to add this back: https://github.com/cloudflare/cloudflare-docs/pull/18423

The PR has been merged, so it should now be back in the docs.
The two methods can be found in Best Practices/Using WebSockets/, under the heading "Extended methods"


avoid the need for client users to write HList

Investigate the possibility of using varargs of tuples instead.

Done through RecordArgs


Pre-view of the edge rendering in the OpenGL window for Cylinder objects

Current (<IP_ADDRESS>1) implementation does not support for the edge rendering in the OpenGL window for Cylinder objects drawn by shader-based cylinder rendering code.

Implementation completed.


High Severity ReDoS Vulnerability in minimatch Dependency of gatsby-plugin-plausible

Description:
gatsby-plugin-plausible depends on outdated versions of minimatch (< 3.0.5), which is known to have a high severity ReDoS vulnerability as per GHSA-f8q6-p94x-37v3. Currently, there's no fix available.
Affected Files:
node_modules/gatsby-plugin-plausible/node_modules/minimatch
Steps to Reproduce:
Install gatsby-plugin-plausible.
Check the installed version of minimatch in the node_modules directory.
Expected Result:
minimatch version should be 3.0.5 or later to avoid the ReDoS vulnerability.
Actual Result:
minimatch version is earlier than 3.0.5, exposing the plugin to the ReDoS vulnerability.
Suggested Fix:
Update the minimatch dependency to version 3.0.5 or later.

Hi @sparker888, I don't mean to hijack your issue, but I just wanted to let you know I ran into the same issue as you! Seeing as this package looks abandoned (last commit in 2020), I decided to fork it and fix some things - your issue is one of them!
If you're interested, you can find my package here: https://github.com/dnwjn/gatsby-plugin-plausible. Feel free to use it, or not! Just wanted to share :)


add a lot of forms, programs and menus

Adds the delete user form
Adds the chart of accounts form
Adds the restore program
Adds the special user form

Adds the delete user form
Adds the chart of accounts form
Adds the restore program
Adds the special user form


Specify .deb file for latest branch, similar to autoupdate branch.

I love your docker image, but occasionally want to update when you haven't yet. It would be nice to have this feature that the autoupdate branch has.

Building from master will retrieve the latest version. I changed to rebuild more frequently which should keep it more up to date.
This branch runs as non-root right from the start, so it cannot update Plex (that would defeat most of the non-root usage).


error when running llava-llama-2-13b-chat-lightning-preview model in CLI

Question
Hi @haotian-liu
I was trying to run the llava-llama-2-13b-chat-lightning-preview model thorugh the CLI but got the following error:
raise HFValidationError(
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/home/llava_models/llava-llama-2-13b-chat-lightning-preview'. Use repo_type argument if needed.
I am not sure what changes are needed to the eval script to make this work. Appreciate any help!

Hi @r3shma this error is very likely due to that /home/llava_models/llava-llama-2-13b-chat-lightning-preview does not exist on disk. Please check if you are using the correct path, or you can load from huggingface directly by using liuhaotian/llava-llama-2-13b-chat-lightning-preview.

Thank you!


can I use any code

the library makes it available to create only the Hello app, how can it create custom streamlit apps?
thanks for the effort btw 👏

I have updated the code. There was a small bug! It should work now.


Compose Multiplatform Navigation

Hi
I use PreCompose For Navigation, it look like to Jetpack compose navigation and also it has viewmodel and koin inject for viewmodel.
this library is simple and amazing and i think if you support it, It can be used instead of Decompose
Thank you.

Thanks for the suggestion. I believe there are some plans in the works to support navigation (nothing definite yet, though).

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Model structure redundancy

Hi,
The span width embedding over here:
https://github.com/mandarjoshi90/coref/blob/bd04f2e19b9dcc0b8bba848a335e4af3be50741c/independent.py#L379
is pretty much equivalent to the span embedding over there, since the width embedding is concatenated to other span embeddings and then passed through a linear layer:
https://github.com/mandarjoshi90/coref/blob/bd04f2e19b9dcc0b8bba848a335e4af3be50741c/independent.py#L362
I am trying to reimplement your model in Pytorch, so I was just wondering if there is any rationale for using two sets of span width embeddings?
Thank you.

Hi @grig-guz! I have also implemented this model using Pytorch but always have a performance gap around 1.2 F1 scores with the officially reported results on paper. How does your implementation go on? Maybe we could share some ideas and experiences with each other.

Hi @Fantabulous-J, sure. I've got around 74 F1 on the dev set with Spanbert-Base, didn't run on the test set yet. My email is on my github page, you can write me there.

Hi @grig-guz @Fantabulous-J
Can any of you please help me in https://github.com/mandarjoshi90/coref/issues/70#issue-729067165
Many thanks in advance!


adding www.shou.edu.cn

!!! PLEASE
ping www.shou.edu.cn (rather than ping shou.edu.cn), it seems our school does not open the domain without "www.", but our email is something like<EMAIL_ADDRESS>its official website is https://www.shou.edu.cn
located in Shanghai, China.
its IT college has many courses like: Computer Sience and Technology, Software Engineering, and so on.
all courses are 4 years for bachelor degree):
https://xxxy.shou.edu.cn/6622/list.htm
https://zsjy.shou.edu.cn/2020/0714/c15533a272876/page.htm

@lmsforever I have to close this request without merging, because you requested to add a non-existent domain to this repository: ;; connection timed out; no servers could be reached Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Android: Go/CGo partial backtrace

What version of Go are you using (go version)?

$ go version
go version go1.15.6 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/dan/Library/Caches/go-build"
GOENV="/Users/dan/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/dan/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/dan/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.15.6/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.15.6/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/93/jm9qrh350x917s_37vqkvttc0000gn/T/go-build170522271=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

I work for a company who uses GO/CGo code inside an Android application.
When there's a crash in the C code, the backtrace shown in the logcat (and in the error tracking tool - here, Sentry) is only partial : only the C functions are present, Go routines and Java methods are absent.
What did you expect to see?
I expect the full backtrace to be present : C functions -> Go routines -> Java methods
What did you see instead?
Only C functions in the backtrace.
NB: I worked on a fix for that, based on .eh_frame dwarf information added to the elf binary ; I'll submit a PR for that ASAP
NB2: This is linked to issue #40044

IMO the whole stack really should be logically just one big stack, even though it may have segments for different languages in different parts of the heap.
But I'm curious as to why that requires a .eh_frame section — don't the frame pointers already stitch together the various different stacks? Or does your C backtrace library not follow frame pointers?
(Compare runtime.SetCgoTraceback.)

Most C backtrace libraries use the unwind info, not frame pointers, because most C and C++ code does not use frame pointers.

Seems like a dup of #40044 . Can we close this and move the discussion there?


android ampli v2

Dev Docs PR
Description
This is the feature branch for Ampli V2 GA. We marked the Ampli V1 to Legacy, and have new Ampli runtimes.
We will update the Android Kotlin / Python / Browser  using Ampli. This should be merged when we are announce Ampli V2 GA. Suppose to be the end of next week.
Describe your changes.
Deadline
When do these changes need to be live on the site?
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[x] Doc update.
[x] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[x] My documentation follows the style guidelines of this project.
[x] I previewed my documentation on a local server using mkdocs serve.
[x] Running mkdocs serve didn't generate any failures.
[x] I have performed a self-review of my own documentation.

@amplitude-dev-docs
@caseyamp

Thanks @caseyamp, I will do the merge work.


Excel file password protection check

Is it possible to check before reading a file if it requires a password?
Thank you

Not directly, you have to catch InvalidPasswordException from one of the CreateReader factory methods if the file requires a password.
(Unfortunately there is a bug in version 3.2 which throws a NullReferenceException if the file requires a password and the Password property of the configuration has the default value of null.)
I assume this is ok to close.


Fix linter

Already pushed the fix and it's building. Looks like python 3.5 tests are hanging though they passed the first time with the lint issue :/


Phiola v2.2.5 (windows-amd64) Crash when playing this OPUS stream. Both CLI and GUI

Crash with this radio station with OPUS stream
http://proteusradio.ddns.net:9900/proteus.opus
Debug.txt
phiola-crashdump-66e85527.txt
Plays fine with this one:
http://radio.glafir.ru:7000/easy-listen/va-romantic-piano-moments-to-remember

Hi!  I've released v2.2.6 that should no longer crash, but there is a problem with your second radio link (unsupported case when the server starts a new track) - I will update on this later.

Indeed no longer crashes with v2.2.6 release!

With phiola v2.2.7 your second link should work fine.  The problem was that chained OGG streams were not supported.  Thank you for notifying me on the issues!


How to zoom?

How to change zoom of the camera?

Hi, it doesn't work in current version within Annca default solution (will be added soon). But you can still do it, if don't want to wait, with custom approach described in readme where you will have access to the camera parameters and set zoom level.

@memfis19
thank you  another question how I can restart review after photo taking
where should I make a method for it?

Hi, can you please describe your use case? As I know after you are taking photo, preview activity is launching and you can retake photo from preview screen. Or do you want to take series of photos?

In case you are using default solution - you have repeat button on preview screen. In case you are using custom implementation - just don't close your activity on onPhotoTaken method. I've just pushed new example of creating custom camera, please look at CustomCameraActivity in example project.

i want use your camera api in my app for making a simple camera app

Then I assume you need to make your custom implementation. Please look at example in CustomCameraActivity in sample project. For adding zoom you can implement your own controls and use getCameraController().getCameraManager().handleParameters(ParametersHandler<CameraParameters> parameters); method where you can put your zoom settings. I.e.:
zoomButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                getCameraController().getCameraManager().handleParameters(new ParametersHandler<Camera.Parameters>() {
                    @Override
                    public Camera.Parameters getParameters(Camera.Parameters parameters) {
                        parameters.setZoom(zoom);
                        return parameters;
                    }
                });
            }
        });

@memfis19 thank you for zoom
where is the code of camera that pause preview after taken?

What do mean by pause the preview? You can take the photo and show it on preview screen. In current implementation camera lifecycle is bind to the activity lifecycle, when you leave the activity then CameraController method onPause is called and onDestroy respectively.


Controller: log errors on metadata read failures

Coverage decreased (-0.3%) to 66.936% when pulling ea3db25f850e6ed093f1e369f6ba44190b9e8d23 on controller-log-metadata-errors into e43fdea2ef8d134beb203b0642446c948f517114 on master.


Publish 7.4.1-20220226003301+0000

Publish 7.4.1-20220226003301+0000

@bot-gradle test and merge

OK, I've already triggered a build for you.


How is Homepage loaded at root?

Playing around in the source files, I'm a bit confused as to how the application knows to render the Homepage layout at the root. The default routing looks like this
export default (
  <Route component={ AppContainer }>
    <Route path="*" component={ PageContainer } />
  </Route>
)

But I am having trouble understanding how it knows to render the Homepage component.
If I add my own component for a specific path like this
import Home from './components/Home'

// ...

export default (
  <Route component={ AppContainer }>
    <Route path="/" component={ Home } />
    <Route path="*" component={ PageContainer } />
  </Route>
)

Then the root page loads that component, as expected, and the children of <Content> makes sense

But removing my custom route (i.e., leaving the app as it comes by default) loads Homepage and the children of <Content> makes less sense

If I could just get some help understanding what's happening here I would greatly appreciate it! 💛

The (your)PageContainer/Connect(PageContainer)/(Phenomic)PageContainer thing is just the Phenomic part that handle the path="*". This component handle click in markdown & load proper json when require. It also takes care of the loading component & error pages.
The base theme have a index.md that contains a "layout" metadata that is "Homepage". https://github.com/MoOx/phenomic/blob/55093695f4e70177031bcf914f8d54c83cef9e70/themes/phenomic-theme-base/content/index.md
That's supposed to be explained here:

https://phenomic.io/docs/getting-started/#how-can-i-use-a-custom-layout-for-my-page
https://phenomic.io/docs/usage/layouts/

Ah, perfect, I see now. Thank you!


fix: update ubuntu to 20.04 in pipeline

Related Issues/PRs

None
What changes are proposed in this pull request?
Update ubuntu to 20.04 in pipeline as 18.04 is deprecated
How is this patch tested?

[x] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[x] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[x] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

AB#1937581

/azp run

/azp run

Codecov Report

Merging #1624 (5982f1f) into master (7e90d19) will decrease coverage by 76.97%.
The diff coverage is n/a.

 Take ten seconds to tell us how you rate us. Have a feature suggestion?


Ionic v4: Tabs - tabbarLayout options are not shown as expected

Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
cli packages: (/usr/local/lib/node_modules)

   @ionic/cli-utils  : 2.0.0-rc.6
   ionic (Ionic CLI) : 4.0.0-rc.6

local packages:

   @angular-devkit/core       : 0.6.8
   @angular-devkit/schematics : 0.6.8
   @angular/cli               : 6.0.8
   @ionic/schematics-angular  : 1.0.0-rc.6
   Ionic Framework            : @ionic/angular 4.0.0-alpha.7

System:

   NodeJS : v8.11.1
   npm    : 6.1.0
   OS     : macOS High Sierra

Describe the Bug
When using <ion-tabs tabbarLayout="icon-start">, the tab button icons are still shown on top of the labels:
icon-start:

Other options like icon-end, icon-bottom, icon-hide and title-hide also have layout problems.
title-hide:

Steps to Reproduce
Steps to reproduce the behavior:

Create a<EMAIL_ADDRESS>project with the CLI, select the tabs starter: ionic start tabs-layout tabs --type angular
Open src/app/pages/tabs/tabs.page.html
Add tabbarLayout="icon-start" to the <ion-tabs>
Run in the browser with npm run start

Related Code
<ion-tabs tabbarLayout="icon-start">
  <ion-tab label="Home" icon="home" href="/tabs/(home:home)">
    <ion-router-outlet name="home"></ion-router-outlet>
  </ion-tab>
  <ion-tab label="About" icon="information-circle" href="/tabs/(about:about)">
    <ion-router-outlet name="about"></ion-router-outlet>
  </ion-tab>
  <ion-tab label="Contact" icon="contacts" href="/tabs/(contact:contact)">
    <ion-router-outlet name="contact"></ion-router-outlet>
  </ion-tab>
</ion-tabs>

Expected Behavior
Tab button icons should be placed at the side of their labels. Other layout options should be positioned correctly.
Additional Context
List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, screenshots, OS if applicable, etc.

4.0.0-alpha.9
Same issue, tabbarLayout seems to have no effect whatever the value as per comment in tabs.d.ts
/**
* Set the tabbar layout: icon-top, icon-start, icon-end, icon-bottom, icon-hide, title-hide.
*/
Cannot make https://blog.ionicframework.com/tips-tricks-for-ionic-on-desktop/
working despite ionic 4 indications (https://github.com/ionic-team/ionic/blob/master/angular/BREAKING.md#tabs)
On the other side, tabbarPlacement is working as expected, top is working and bottom as well

Thanks for the issue! Confirmed this is an issue in latest.

Note to team: I started on this issue but I need to discuss the implementation with @manucorporat

Thank you @brandyscarney!
Is there any progress on this issue? Looking forward to placing the icons next to the title.

@Mobiletainment I haven't gotten back to finishing it yet. I submitted a PR for it so you can see where it's at: https://github.com/ionic-team/ionic/pull/15113
I have fixed the layout itself but there are still some issues with padding and margin between elements.

This has been fixed and will be in the beta.3 release, thanks!