[Package Issue]: Microsoft.VisualStudio.2022.Enterprise fails with "0x8000ffff : Catastrophic failure"

Please confirm these before moving forward

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

Category of the issue
Installation issue.
Brief description of your issue
It is shown as an upgrade being available:
C:\>winget upgrade
Name                                             Id                                     Version    Available Source
-------------------------------------------------------------------------------------------------------------------
Visual Studio Enterprise 2022                    Microsoft.VisualStudio.2022.Enterprise 17.9.7     17.10.0   winget

Steps to reproduce

Have an older version of it installed
Trigger upgrade with winget upgrade -e --id Microsoft.VisualStudio.2022.Enterprise

Actual behavior
C:\>winget upgrade -e --id Microsoft.VisualStudio.2022.Enterprise
Found Visual Studio Enterprise 2022 [Microsoft.VisualStudio.2022.Enterprise] Version 17.10.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.visualstudio.microsoft.com/download/pr/4bc0c2da-4e6d-4a88-9eaa-0748022737fb/e2d4815727b268cc32a38f962edf4eb246fe7753a31b3bcd6d48df871508ff7a/vs_Enterprise.exe
  ██████████████████████████████  3.82 MB / 3.82 MB
Successfully verified installer hash
Starting package install...
An unexpected error occurred while executing the command:
0x8000ffff : Catastrophic failure

Expected behavior
I expected it to succeed upgrading to the latest version.
Environment
C:\>winget --info
Windows Package Manager v1.7.11261
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.4412
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.11261.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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                        Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Enabled

### Screenshots and Logs

2024-05-27 15:12:16.343 [CORE] WinGet, version [1.7.11261], activity [{4780578B-E9FA-445A-B34D-18C402577849}]
2024-05-27 15:12:16.343 [CORE] OS: Windows.Desktop v10.0.19045.4412
2024-05-27 15:12:16.343 [CORE] Command line Args: winget  upgrade -e --id Microsoft.VisualStudio.2022.Enterprise
2024-05-27 15:12:16.343 [CORE] Package: Microsoft.DesktopAppInstaller v1.22.11261.0
2024-05-27 15:12:16.343 [CORE] IsCOMCall:0; Caller: winget-cli
2024-05-27 15:12:16.372 [CLI ] WinGet invoked with arguments: 'upgrade' '-e' '--id' 'Microsoft.VisualStudio.2022.Enterprise'
2024-05-27 15:12:16.372 [CLI ] Found subcommand: upgrade
2024-05-27 15:12:16.372 [CLI ] Leaf command to execute: root:upgrade
2024-05-27 15:12:16.377 [CLI ] Executing command: upgrade
2024-05-27 15:12:16.378 [REPO] Default source requested, multiple sources available, adding all to source references.
2024-05-27 15:12:16.378 [REPO] Adding to source references msstore
2024-05-27 15:12:16.378 [REPO] Adding to source references winget
2024-05-27 15:12:16.378 [CLI ] Created authentication arguments. Mode: silentPreferred, Account:
2024-05-27 15:12:16.387 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-05-27 15:12:16.387 [CORE] Found matching extension.
2024-05-27 15:12:16.390 [REPO] Multiple sources available, creating aggregated source.
2024-05-27 15:12:16.390 [REPO] Adding to aggregated source: msstore
2024-05-27 15:12:16.390 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-05-27 15:12:16.461 [REPO] Response status: 200
2024-05-27 15:12:16.461 [REPO] Authentication node not found. Assuming authentication type none.
2024-05-27 15:12:16.461 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-05-27 15:12:16.480 [REPO] Response status: 200
2024-05-27 15:12:16.480 [REPO] Authentication node not found. Assuming authentication type none.
2024-05-27 15:12:16.480 [REPO] Adding to aggregated source: winget
2024-05-27 15:12:16.485 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-05-27 15:12:16.485 [CORE] Found matching extension.
2024-05-27 15:12:16.526 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.527.1026.626_neutral__8wekyb3d8bbwe\Public\index.db'
2024-05-27 15:12:16.527 [REPO] Opened SQLite Index with version [1.7], last write [2024-05-27 11:26:32.000]
2024-05-27 15:12:16.752 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-05-27 15:12:16.756 [REPO] Reading MSI UpgradeCodes
2024-05-27 15:12:16.962 [REPO] Reading MSI UpgradeCodes
2024-05-27 15:12:17.027 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(1) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.028 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(2) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.031 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(3) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.040 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(4) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.043 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(5) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.046 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(6) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.051 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(7) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.052 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(8) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.053 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(9) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.056 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(10) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.059 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(11) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.069 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(12) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.074 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(13) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.087 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(14) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.096 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(15) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.099 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFC69E074CC: (caller: 00007FFC69E0E129) Exception(16) tid(4b00) 800700B7 Cannot create a file when that file already exists.
2024-05-27 15:12:17.399 [REPO] Opening database for ReadWrite at 'C:\Users\oschneider\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-05-27 15:12:17.399 [REPO] Opened SQLite Index with version [1.3], last write [2022-08-02 13:40:08.000]
2024-05-27 15:12:17.401 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/Microsoft.VisualStudio.2022.Enterprise?Market=DE
2024-05-27 15:12:17.431 [REPO] Response status: 200
2024-05-27 15:12:17.457 [REPO] Opening database for ReadWrite at 'C:\Users\oschneider\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-05-27 15:12:17.457 [REPO] Opened SQLite Index with version [1.3], last write [2024-05-27 11:06:33.000]
2024-05-27 15:12:17.461 [REPO] Finding installed package from tracking package using system reference search: Query:[none] Include:ProductCode='3ea3f535'[Exact] Include:NormalizedNameAndPublisher='visualstudioenterprise2022'+'microsoft'[Exact]
2024-05-27 15:12:17.482 [CLI ] Found one app. App id: Microsoft.VisualStudio.2022.Enterprise App name: Visual Studio Enterprise 2022
2024-05-27 15:12:17.508 [REPO] Attempting to open pinning database: C:\Users\oschneider\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-05-27 15:12:17.508 [REPO] ... opening existing pinning database
2024-05-27 15:12:17.509 [REPO] Opening database for Read at 'C:\Users\oschneider\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db'
2024-05-27 15:12:17.509 [REPO] Opened Pinning Index with version [1.0], last write [2023-07-12 16:48:22.000]
2024-05-27 15:12:17.512 [REPO] Downloading manifest
2024-05-27 15:12:17.512 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/VisualStudio/2022/Enterprise/17.10.0/fb58
2024-05-27 15:12:17.555 [CORE] Download hash: 1b1dbd012377b054008d8f3249eac330483718841b6c2d751ef1bcb9659ea011
2024-05-27 15:12:17.555 [CORE] Download completed.
2024-05-27 15:12:17.556 [CLI ] Manifest fields: Name [Visual Studio Enterprise 2022], Version [17.10.0]
2024-05-27 15:12:17.570 [CLI ] Generated temp download path: C:\Users\username\AppData\Local\Temp\WinGet\Microsoft.VisualStudio.2022.Enterprise.17.10.0\e2d4815727b268cc32a38f962edf4eb246fe7753a31b3bcd6d48df871508ff7a
2024-05-27 15:12:17.570 [CORE] Downloading to path: C:\Users\username\AppData\Local\Temp\WinGet\Microsoft.VisualStudio.2022.Enterprise.17.10.0\e2d4815727b268cc32a38f962edf4eb246fe7753a31b3bcd6d48df871508ff7a
2024-05-27 15:12:17.570 [CORE] DeliveryOptimization downloading from url: https://download.visualstudio.microsoft.com/download/pr/4bc0c2da-4e6d-4a88-9eaa-0748022737fb/e2d4815727b268cc32a38f962edf4eb246fe7753a31b3bcd6d48df871508ff7a/vs_Enterprise.exe
2024-05-27 15:12:18.480 [CORE] Download completed.
2024-05-27 15:12:18.561 [CORE] Started applying motw to C:\Users\username\AppData\Local\Temp\WinGet\Microsoft.VisualStudio.2022.Enterprise.17.10.0\e2d4815727b268cc32a38f962edf4eb246fe7753a31b3bcd6d48df871508ff7a with zone: 3
2024-05-27 15:12:18.563 [CORE] Finished applying motw
2024-05-27 15:12:18.563 [CLI ] Installer hash verified
2024-05-27 15:12:18.563 [CORE] Started applying motw to C:\Users\username\AppData\Local\Temp\WinGet\Microsoft.VisualStudio.2022.Enterprise.17.10.0\e2d4815727b268cc32a38f962edf4eb246fe7753a31b3bcd6d48df871508ff7a with zone: 2
2024-05-27 15:12:18.567 [CORE] Finished applying motw
2024-05-27 15:12:18.568 [CLI ] Successfully renamed downloaded installer. Path: C:\Users\username\AppData\Local\Temp\WinGet\Microsoft.VisualStudio.2022.Enterprise.17.10.0\vs_Enterprise.exe
2024-05-27 15:12:18.568 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-05-27 15:12:18.572 [REPO] Reading MSI UpgradeCodes
2024-05-27 15:12:18.781 [REPO] Reading MSI UpgradeCodes
2024-05-27 15:12:18.983 [CLI ] Installer args: --passive --wait update
2024-05-27 15:12:18.983 [CLI ] Starting: 'C:\Users\username\AppData\Local\Temp\WinGet\Microsoft.VisualStudio.2022.Enterprise.17.10.0\vs_Enterprise.exe' with arguments '--passive --wait update'
2024-05-27 15:12:55.753 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp(149)\WindowsPackageManager.dll!00007FFC69CD1C6B: (caller: 00007FFC69CCE797) Exception(17) tid(4b00) 8000FFFF Catastrophic failure
2024-05-27 15:12:55.753 [CLI ] Caught wil::ResultException: C:__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp(149)\WindowsPackageManager.dll!00007FFC69CD1C6B: (caller: 00007FFC69CCE797) Exception(17) tid(4b00) 8000FFFF Catastrophic failure

I think I found the cause: VS developer prompt running in Windows Terminal. After closing that, the VS Installer gets launched properly and runs.
Leaving it open so that it gets seen by the project members. Please close at your own discretion.

If I'm understanding correctly, the upgrade failed because the application was open. Is this correct?


Another dependency error?

Using the latest and greatest Octopress 3.0.5 I get:
hseeberger.github.io$ jekyll serve
Configuration file: /Users/heiko/projects/ghpages/hseeberger.github.io/_config.yml
WARN: Unresolved specs during Gem::Specification.reset:
      pygments.rb (~> 0.6.0)
      redcarpet (~> 3.0, ~> 3.1)
      fast-stemmer (~> 1.0)
      octopress-linkblog (>= 0)
      octopress-hooks (~> 2.0, ~> 2.2)
      octopress-autoprefixer (~> 1.0)
      octopress-tag-helpers (~> 1.0)
      octopress-include-tag (~> 1.0)
      octopress-social (>= 0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/usr/local/lib/ruby/gems/2.2.0/gems/octopress-ink-1.1.1/lib/octopress-ink.rb:6:in `require': cannot load such file -- octopress-hooks (LoadError)
	from /usr/local/lib/ruby/gems/2.2.0/gems/octopress-ink-1.1.1/lib/octopress-ink.rb:6:in `<top (required)>'
	from /usr/local/Cellar/ruby/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
	from /usr/local/Cellar/ruby/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
	from /usr/local/lib/ruby/gems/2.2.0/gems/octopress-genesis-theme-0.0.10/lib/octopress-genesis-theme.rb:1:in `<top (required)>'
	from /usr/local/Cellar/ruby/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'
	from /usr/local/Cellar/ruby/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
	from /usr/local/Cellar/ruby/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
	from /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.4.0/lib/jekyll/plugin_manager.rb:28:in `block in require_gems'
	from /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.4.0/lib/jekyll/plugin_manager.rb:26:in `each'
	from /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.4.0/lib/jekyll/plugin_manager.rb:26:in `require_gems'
	from /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.4.0/lib/jekyll/plugin_manager.rb:19:in `conscientious_require'
	from /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.4.0/lib/jekyll/site.rb:74:in `setup'
	from /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.4.0/lib/jekyll/site.rb:36:in `initialize'
	from /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.4.0/lib/jekyll/commands/build.rb:28:in `new'
	from /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.4.0/lib/jekyll/commands/build.rb:28:in `process'
	from /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.4.0/lib/jekyll/commands/serve.rb:25:in `block (2 levels) in init_with_program'
	from /usr/local/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'
	from /usr/local/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'
	from /usr/local/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'
	from /usr/local/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'
	from /usr/local/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'
	from /usr/local/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'
	from /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.4.0/bin/jekyll:18:in `<top (required)>'
	from /usr/local/bin/jekyll:23:in `load'
	from /usr/local/bin/jekyll:23:in `<main>'

I still haven't been able to release the latest Octopress Ink with wider support for older and newer versions of Jekyll. I believe that will address this.

Sorry for being pushy ;-)

No worries. it's just tricker than I thought to get this released. I'm trying to make this release work with Jekyll 2.x -> 3.x but Octopress Ink depends on several other gems which have a Jekyll 2.5 minimum. I'm having to update them all, test them, and make changes as necessary. Also some changes in Jekyll 3 (I think it's the new Liquid stuff) seem to break some dependencies so I'm trying to fix those too.

I belive I've fixed all of these and released all gems that would cause this issue. Please run bundle update and see if that works for you again. Thanks :)

Thanks!
jekyll serve works now. Well, I get the following warning, but it works:
hseeberger.github.io$ jekyll serve
WARN: Unresolved specs during Gem::Specification.reset:
      pygments.rb (~> 0.6.0)
      redcarpet (~> 3.1)
      fast-stemmer (~> 1.0)
WARN: Clearing out unresolved specs.
...

Try bundle exec jekyll serve

Nice! That helps. Thanks.


fix: set hasCustomAuthorizationHeader property on the AuthClient

What kind of change does this PR introduce?

supabase-js sets the hasCustomAuthorizationHeader property internally when instantiating the auth client so that auth knows whether to return an error when getUser is called with no session and no custom auth header

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 65.888%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
90

Relevant Lines:
117

💛  - Coveralls


BigQuery: rewrite simple app tutorial.

Rewrite of the sample used at
https://cloud.google.com/bigquery/create-simple-app-api

Add additional region tags to support tutorial rewrite.
Use more relevant query from public datasets.
Remove extra classes, making the sample more similar to the
quickstart.
Add a test for this sample.

Note: I've already frozen the docs at https://cloud.google.com/bigquery/create-simple-app-api to a commit hash, so this should be safe to merge whenever.

Please wait until tests complete to merge. Sample LGTM! Thanks for your patience!


2048 demo app could not run.

I updated chrome to Version 81.0.4044.138 (Official Build) (64-bit), then the 2048 demo app could not run, I also updated the 2048 demo app from https://github.com/vladikoff/chromeos-apk/releases/download/v3.0.0/com.uberspot.a2048.android-OFFICIAL.zip.
More info:
ARChon Custom Runtime 2.1.0 - x86_64 41.4410.238.0

I also tested in old chrome 61, the same issue.

I also create a issue on https://bitbucket.org/vladikoff/archon/issues/10/2048-demo-app-could-not-run.

I have the same issue, chrome version is
Chromium	78.0.3904.108 (openSUSE Build) (64-Bit)
Überarbeitung	4b26898a39ee037623a72fcfb77279fce0e7d648-refs/branch-heads/3904@{#889}
Betriebssystem	Linux
JavaScript	V8 7.8.279.23
Flash	(Deaktiviert)
User-Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Befehlszeile	/usr/lib64/chromium/chromium --password-store=detect --enable-threaded-compositing --ui-disable-partial-swap --flag-switches-begin --flag-switches-end
Ausführbarer Pfad	/usr/lib64/chromium/chromium
Profilpfad	/home/quartermaster/.config/chromium/Default

Same as all. Running on Chrome OS. Here's the text from the copy of chrome://version:
Google Chrome: Version 88.0.4324.9 (Official Build) dev (64-bit)
Platform: 13597.5.0 (Official Build) dev-channel terra
Channel: dev-channel
Firmware Version: Google_Terra.7287.154.102
ARC enabled: true
ARC: 6977378
Enterprise enrolled: false
Developer mode: false

@DeSchmiddi @liudonghua123 are you running Chrome/Chromium OS? If so disable onboard ARC!

@trebante Hi, I am running Chrome, not Chrome OS. What's onboard ARC?

If you're not using a Chromebook, don't worry. I'm running arc on a
chromebook.
On Sun, 29 Nov 2020, 05:58 liudonghua<EMAIL_ADDRESS>wrote:

@trebante https://github.com/trebante Hi, I am running Chrome, not
Chrome OS. What's onboard ARC?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vladikoff/chromeos-apk/issues/290#issuecomment-735399013,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR263BLZTN3F2KI6XXYDKNLSSJHOXANCNFSM4NAJOQNQ
.


Should we recommend the use of inThisBuild(...) in the Getting Started guide?

https://github.com/sbt/website/pull/306#discussion_r94264182 Li Haoyi wrote:

If we are going to teach people inThisBuild in the first example, we should continue with that in all further examples. If we think it's too complicated to explain, we should strip it out of the first example.
So far it seems to me able half-half with and without inThisBuild; my personal vote would be to strip it out, since I've written tons of SBT configs and haven't ever used it, but I don't mind as long as it's consistent throughout

Recap on inThisBuild(...):

Was introduced in sbt 0.13.9, so it's a relatively new feature.
inThisBuild(...) puts the setting in the build scope, which applies to all subprojects in the build.
Because the value is centralized to a setting, it makes it easier to programmatically change it. This is useful for version (e.g. sbt-release uses version in ThisBuild)
A newly created subproject will be correct by default without manually adding in the common settings.

Downsides:

It requires the user to understand subtle scoping rules around project-scoping vs build level settings.
Build level settings are useful for simple pure values, but they won't work for settings and tasks dependent on project-scoped keys such as baseDirectory. In that sense it's more difficult to understand compared to commonSettings.

I say yes.

I'm leaning towards avoiding inThisBuild(...) in the first pages, explaining it in the Scopes page, and bringing it up in Multi-Project. As useful as it is, it has too much quirks.

I'm leaning towards avoiding inThisBuild(...) in the first pages

agree

definitely recommend using it. If you think it's too complex a topic, then perhaps it should be the default scope for "top level" settings in build.sbt files (I think it should be!)

definitely recommend using it. If you think it's too complex a topic, then perhaps it should be the default scope for "top level" settings in build.sbt files (I think it should be!)

@fommil I think most people here would agree, but it might be too much of a breaking change for existing builds

@fommil I think most people here would agree, but it might be too much of a breaking change for existing builds

@fommil I agree.
Something to consider for 1.0? The inThisBuild syntax makes basic examples look more complex than necessary.


recommended AWS EC2 instance types?

I've been running locust on ~20 m3.large  (2 cores) EC2 instances recently and I noticed that locust was cpu bound to a single core (100% utilization of only a single core with the 2nd core being almost completely idle).  I started to wonder what the ideal EC2 instance type would be for driving locust load tests.
Does anyone have any experience with running on different types of EC2 instances?  Any recommendations on which works best?
My assumptions are that multiple cores aren't an issue, unless you're running multiple instances of a slave on the same box and that memory and storage capacity aren't issues.  Would networking throughput be the main factor?
Any info / suggestions / discussion would be greatly appreciated.

I recently started running on AWS and am also curious about recommended instance types.
I think locust would be network I/O bound unless you use instance types with "Enhanced Networking" and you are generating load towards a host within the same AWS region.
Since locust does async i/o, adding cpu cores shouldn't be beneficial.

@cgoldberg  yeah, i pretty much agree with your assessment.  I just wonder whether anyone has done any comparisons / analysis with different instance types and might have any recommendations.
Unfortunately, when I look at the instance type specs, when it comes to networking (non-"Enhanced Networking) all I can see is either "moderate" or "high" for networking performance, which isn't very descriptive and therefore not very helpful.
If you don't mind sharing, what types of instances do you typically run with?

Hi!
In order to utilize multiple CPUs, one should run one Locust slave per core.
I can't say what type of EC2 instance is the best for every case, since it depends on the load testing scripts. However, from my experience, Locust test suites are usually CPU bound. Therefore, I would recommend starting with one of the "Compute Optimized" EC2 instance types, and then monitor memory and network usage, to make sure that none of those gets maxed out while running the tests at full load.
I've been part of running huge load tests, and we've never had to use Enhanced Networking.

Thank you @heyman .  I appreciate the input.   I'll be trying some of this out next time I have to do a test run.

I've been using c4.2xlarge and run locust in masterless mode across multiple cores using the multiprocessing library. It works pretty well until the number of reaches exceeds 5000.

@trienism do you have a code snippet for running locust using the multiprocessing library?


Microsoft Purview Data Owner Policy is not applying

I am working on this Tutorial from Microsoft Azure team to implement Access provisioning by data owner to Azure Storage datasets. As shown in the image below, the Data Owner Policy is supposed to allow Grady Archie a Read permission on Azure Data Lake Gen2 storage account called acct4dlsgen2. But for some reasons, when Grady Archie logs into Azure portal in the same network, he is unable to access acct4dlsgen2 storage.
Question: What I may be doing wrong, and how can we fix the issue?
Remarks:

I have satisfied all the prerequisites of the same article mentioned above.
Have also given Grady Archie the Read permissions on the Purview Collection where this storage account is registered in Purview.
When I give Grady Archie a Read permission directly by going
through that storage account via Azure portal, Grady Archie can
access that storage after he logs-in. But this defeats the purpose of implementing Data Access using Purview as described here by Microsoft Purview team.

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

ID: 334bbfe4-d909-bb9b-f7e2-73c33522b081
Version Independent ID: a2adea82-1a32-5872-7d1a-96562ff3ba0d
Content: Tutorial to provision access for Azure Storage - Microsoft Purview
Content Source: articles/purview/tutorial-data-owner-policies-storage.md
Service: purview
Sub-service: purview-data-policies
GitHub Login: @whhender
Microsoft Alias: whhender

@srazasyed
Thanks for your feedback! We will investigate and update as appropriate.

@srazasyed - For an issue like this, I'd recommend you create a support ticket since the support team will be able to respond much more quickly and have a conversation with you to figure out what could be going on.
I do have some additional questions:

After creating the policy, did you publish the policy?
After publishing, how long did you wait for Grady Archie to try to access the storage account? It can take up to 2 hours for changes to be reflected in the storage account.
Did you check the storage account to see if permissions for Grady Archie had been added? I would wonder if no permissions were applied, or if maybe the incorrect permissions were applied.

@srazasyed
If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@whhender
Thanks for your response!

@whhender To answer your question #3 above, I would ask: If Grady Archie already has permissions on storage account then it defeats the purpose of creating Data Owner Access Policy (as I have already described in item 3 of Remarks section of my post above).

@srazasyed
I've delegated this to @whhender, a content author, to review and share their valuable insights.

@srazasyed -
Yes. What I was thinking was: After you had published the policy and waited at least two hours, is it possible that Grady Archie had permission on the storage account already that was causing the problem.
But, as you note, that's unlikely.
Can you provide the answers to #1 and #2? Or, have you created a support ticket?

@srazasyed - as I haven't heard back from you, I'm going to close this for now. I hope you've been able to work with the support team to resolve what was happening in your environment.
If any improvement can be made to the documentation here, please let us know. Thank you!

#please-close


Tracker user visits

Need to have a way to see who is logging into / using the web application. @yulqen would appreciate your input on this... more info to follow

No direct request for this and potentially now solved resolution of #38 so closing.


Add handlebars template to package

@omeshp,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[MXNET-302] added ability to set search path for Accelerate library

Description
Adding the ability to set the search path for Accelerate like other forms of BLAS.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[X] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[X] Changes are complete (i.e. I finished coding on this PR)
[N/A] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[N/A] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[X] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[X] Added environmental variable for setting search path for Accelerate on Apple

@rahul003 pinging you as you are now a code owner for CMake

LGTM

@rahul003 can this be merged?

cc @yajiedesign @cjolivier01

hey was wondering if there is any other problems I can address with this one?

LGTM


Keys turn off after setting color

model: Avell G1550 FOX
when trying to set a set color, keys light up with selected color for about 1 second, and turn black;
Some styles do nothing (like rainbow), while others do work for a while, but afterwards turn off until a keypress on keyboard;

Thanks for your feedback, what is the Full output  of sudo hwinfo --short

How you installed this project,? Using pip or manually cloning this repo

installed with pip directly from the repo
cpu:
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2592 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2000 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2315 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2400 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2383 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 1811 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2245 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2156 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2030 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2275 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2375 MHz
                       Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2780 MHz
keyboard:
                       Integrated Technology Express ITE Device(8291)
  /dev/input/event9    Holtek USB Keyboard
  /dev/input/event4    AT Translated Set 2 keyboard
  /dev/input/event27   6C:5A:B5:48:1B:4D
mouse:
  /dev/input/mice      Razer Naga 2014
  /dev/input/event11   Holtek USB Keyboard
  /dev/input/mice      UNIW0001:00 093A:1336 Touchpad
monitor:
                       SAMSUNG S22E310
                       BOE HF LCD Monitor
graphics card:
                       nVidia GP106M [GeForce GTX 1060 Mobile]
                       Intel VGA compatible controller
sound:
                       Intel Audio device
storage:
                       Samsung Electronics Non-Volatile memory controller
                       Intel SATA controller
network:
  wlo1                 Intel WLAN controller
  enp4s0               Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
network interface:
  vethb81efcd          Ethernet network interface
  vethf5770f5          Ethernet network interface
  docker0              Ethernet network interface
  enp4s0               Ethernet network interface
  wlo1                 Ethernet network interface
  veth7cb9738          Ethernet network interface
  veth7efcfa2          Ethernet network interface
  veth5a0d1f4          Ethernet network interface
  lo                   Loopback network interface
  veth5dcffaa          Ethernet network interface
  vethd5cad41          Ethernet network interface
  br-db79a8d0553e      Ethernet network interface
  veth47c0922          Ethernet network interface
disk:
  /dev/nvme0n1         Samsung Electronics Disk
partition:
  /dev/nvme0n1p1       Partition
  /dev/nvme0n1p2       Partition
usb controller:
                       Intel USB Controller
bios:
                       BIOS
bridge:
                       Intel ISA bridge
                       Intel Skylake PCIe Controller (x16)
                       Intel PCI bridge
                       Intel Host bridge
                       Intel PCI bridge
                       Intel PCI bridge
hub:
                       Linux Foundation 2.0 root hub
                       Linux Foundation 3.0 root hub
memory:
                       Main Memory
bluetooth:
                       Intel Bluetooth Device
unknown:
                       FPU
                       DMA controller
                       PIC
                       Keyboard controller
                       PS/2 Controller
                       Intel Skylake Gaussian Mixture Model
                       Intel Communication controller
                       Intel Serial bus controller
                       Intel Communication controller
                       Intel Signal processing controller
                       Intel Serial bus controller
                       Intel Serial bus controller
                       Intel RAM memory
                       Intel SMBus
                       Realtek RTS5129 Card Reader Controller
                       Acer HD Webcam
  /dev/input/event17   Razer Naga 2014
                       Integrated Technology Express ITE Device(8291)

About rainbow style, is a but that i have fixed in
https://github.com/rodgomesc/avell-unofficial-control-center/commit/146d7cab8fd5e74effb1c5b051581138ee4ff321
But not send to pypi yet ok

You have a mechanical keyboard? can send the command you are using , and not work?

yes it's a mechanical keyboard, and I did install with pip3 but using the repo
pip install git+https://github.com/rodgomesc/avell-unofficial-control-center.git
it turns off after a few minutes, if I press a key it turns on again

The keyboard lighting turning off after a while of not typing is, AFAIK, a feature managed by the BIOS/EC, and out of control of aucc.

weird though, because if I do not run aucc and leave the default lighting, it stays on forever

weird though, because if I do not run aucc and leave the default lighting, it stays on forever

this is because when ITE 8192 don't recognize Any driver, by default BLUE color is keeps Active, is a hardware/firmware pattern

since have a few days without activity I will close the issue


Automatically determine tile sizes based on texture map

[ ] Determine texture map width and height when loading
[ ] Store these values and compute tile size based on 12x12 tiles in file
[ ] Use tileHeight and tileWidth instead of just tileSize to allow for non-square tiles

glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &width);
glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_HEIGHT, &height);


Update Polygon IssuanceExtension module dependency

Notes

Updates IssuanceExtension module dependency to DebtIssuanceModuleV2

:tada: This PR is included in version 1.0.0-t1.1 :tada:
The release is available on:

npm package (@test dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add repo url

...so it shows up on the npm package page

@zeke Good call. Thanks!

The npm publish process will convert it to that more complex object behind the scenes. I'm partial to URLs because they are the Uniform Way to Locate Resources

Works for me. Thanks again.


redefine or merge m26 into cre

Hi,
I think you can merge
M26_binding_site SO:0001900
A promoter element that contains a core sequence TGACGT, bound by a protein complex that regulates transcription of genes encoding PKA pathway components.
into
CRE SO:0001843
A promoter element with consensus sequence TGACGTCA; bound by the ATF/CREB family of transcription factors.
M26 is a recombination hotspot in pombe, and it just so happens that it is also part of the CRE TF binding site. Apologies for the confusion, but in this context (TF binding site) these term can be merged.

I'm moving our annotations where it is used as a transcriptional promoter to the CRE term
we are also using this term as an actual recombination site term, so could the term be redefined instead to reflect this usage?

Cre-recombination target region, M26 site

@mah11

Hi Antonia,
I am a new postdoc and I am helping to update the SO terms. In this case, are you suggesting that we move M26_binding_site to make it a child term of CRE? Or are you suggesting we depricate the term as it is part of CRE?

Hi David,
I suggest neither of those solutions :-)
I would like you to merge M26_binding_site SO:0001900 with
CRE SO:0001843
CRE will be the primary name
For us this means that any annotations we have to M26 automatically will display as CRE
Thanks! Let me know if you need any other input

Hi Anotnia,
Thank you for the suggestions. The terms have been merged, as you suggested.
Dave


UISAUTHCOM-25: Update user capability hooks

https://folio-org.atlassian.net/browse/UISAUTHCOM-25
Here we added a new hook for fetching roles directly by single userId.

Please add a CHANGELOG entry

@BogdanDenis changelog was updated previously, it's a required changes in scope of that ticket


add ability to export spreadsheet of volunteers

Does it have to be a spreadsheet?  Can it be a CSV?

yea csv would be fine

what level of detail are you looking for?

Mainly just care about name and phone number, whether they are active or not would be a bonus. Don't care about there schedule info

What about when they are on schedule?  What about gender if set?
Get Outlook for iOShttps://aka.ms/o0ukef

From: pjaudiomv @.>
Sent: Sunday, July 24, 2022 10:43:38 AM
To: bmlt-enabled/yap @.>
Cc: Danny Gershman @.>; Comment @.>
Subject: Re: [bmlt-enabled/yap] add ability to export spreadsheet of volunteers (Issue #595)
Mainly just care about name and phone number, whether they are active or not would be a bonus. Don't care about there schedule info
—
Reply to this email directly, view it on GitHubhttps://github.com/bmlt-enabled/yap/issues/595#issuecomment-1193331997, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOD3OZDICAVGC2Y7OHEPN3VVVJBVANCNFSM54OH5SGQ.
You are receiving this because you commented.Message ID: @.***>

Not concerned with that, use case is to just have a list of volunteers to be able to easily see and share and call them. If additional info can be added great but not needed for my use case

I would think the schedule would be helpful info if you're exporting volunteer info

Available in 4.1.0-beta2 if you want to test.
https://github.com/bmlt-enabled/yap/releases/tag/4.1.0-beta2

completed, released 4.1.0


fix: use package ranges instead of specifying versions

This undos the exact version change pushed in #282

remix-auth is moved to peerDependencies as the documentation for remix-auth-spotify specifies that it should be manually installed.
remix-auth is added to devDependencies for any tests that rely on remix have access to them.
remix-auth-oauth2 is made into a package range that will support all 1.x.x releases >= 1.5.0.

This change was made because installing as specifed in the documentation lead to multiple versions of remix being installed which does not work with any typescript type overloading that you might do.
https://github.com/remix-run/remix/pull/1876
For example, I have an existing remix app using<EMAIL_ADDRESS>with the following in my remix.env.d.ts:
// in remix.env.d.ts
import '@remix-run/server-runtime'

declare module '@remix-run/server-runtime' {
  interface AppLoadContext {
    requestId: string
  }
}

This allows me to access the requestId in a loader like so:
import { LoaderArgs } from '@remix-run/node'

export async function loader({ context }: LoaderArgs) {
  foobar(context.requestId)
}

Installing remix-auth-spotify as specified in the docs caused<EMAIL_ADDRESS>to be installed alongside 1.7.4. This caused the type overriding in Typescript to not work at all and make context.requestId become unknown. This was resolved by bumping up remix to 1.9.0 in my package.json. By using package ranges, downstream consumers of this package are able to define the versions of remix.
Question: If accepted, would it make sense to also have remix-auth-oauth2 moved to peerDependencies? I could envision an authentication situation where the upstream consumer of this package has Spotify auth AND a custom OAuth2 setup. I don't have a super strong stance, though.

@JosteinKringlen thank you so much for implementing this (and going out of your way to add me as a co-author!). Closing as this looks good now!


[Feat]: Adding working Dark mode button.

Feature Description
when the dark mode symbol is on it will work .
Provide a detailed description of the feature
When the dark mode symbol is on it will work.
Put here any screenshots or videos (optional)

By submitting this issue, you agree to

[X] I agree to follow this project's Code of Conduct
[X] I’ve read all the issues in the issue section, and this feature has not been proposed yet.

Other Information

[X] I'm a GSSoC '24 Extended contributor
[X] I'm a Hacktoberfest '24 contributor
[X] I am willing to work on this feature (optional)

Can you please assign me this issue?


Cannot delete rows in grid in SQL Server

If I perform a select, and then I press the del key onto a row, and I click on the green check in order to confirm the changes, I get first a generic message:
Can't detect source entity

and then I get
org.jkiss.dbeaver.DBException: No unique identifier defined

DBeaver cannot find any unique table identifier and thus it can't edit table's content.
When you try to save changes for the first time it will ask you to define your custom unique key.
Or you can define custom key in the settings menu:

The worst case when DBeaver cannot find a source table (it may happen when you edit results of custom SQL query). In this case it can't edit table at all.
Specify fully qualified table name (with schema name) in your query to let DBeaver to resolve table metadata.

When performing a select * from table the Define virtual unique key menu is disabled

It means the worst case (see above).
DBeaver doesn't have a special SQL Server extension (although we have plans to add it in the next major version). And JDBC driver doesn't provide enough meta information. So I'm afraid there is nothing I can do with this problem.

It seems that adding dbo. before the table name fixes the issue. Thanks for support

For me, I refreshed the connection and the problem went away.


Incorrect mouse handling code using "event.button_mask"

https://github.com/Poobslag/turbofat/blob/6ed96c3931a15fd32b6cafec7d9fb10f1d99584b/project/src/main/editor/creature/creature-selector.gd#L21
This section of mouse handling code in the _input function is potentially problematic:
 	if event is InputEventMouseButton and event.button_mask & BUTTON_LEFT:
		# mouse click; select the nearest creature

This event will trigger when any mouse button is pressed or released, as long as the left mouse button is currently pressed. For example if the player holds down the left mouse button, and clicks the right mouse button 3 times, the code will trigger seven times (!?)

None of our source code uses this kind of event.button_mask code anymore. Almost all of our code was retooled to use the ui_click event. The only remaining piece is the Level Editor, which is not accessible to players, and which is using the button mask to detect drag events, which seems valid.


.editorconfig settings web page does not include new "prefer readonly" setting.

In a recent Visual Studio update, a new "Field preferences" section was added to the C# Code Style options dialog. This included the new "prefer readonly" setting. This isn't yet described in the .NET Coding Convention Settings web page.
Can this be added so we can update our .editorconfig files with the correct setting name.

Being done in #1039


Update README.md and added Some GIFs

Description
Update the readme.md file with some GIFs.
Fixes #7
Type of change

[x] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code

ATTACH SCREEN-SHOTS

Great work brother i like the GIFs you have added great choice.


Yncrea ouest

Domain: @yncrea-ouest.fr
Name: Yncrea ouest brest (France)

file (1).zip

for Unversité d'Evry from France

@sealghul Please provide us with:

the school official website URL
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@sealghul You might miss my previous comment. Please react.

Hello,
I apologize I didn't see your email.
About the School I made a mistake. I wrote @yncrea-ouest.fr instead of @
isen-ouest.yncrea.fr, which already exists on the root.
Sorry about that, and thank you for your time.
Le dim. 8 nov. 2020 à 20:26, Philip Torchinsky<EMAIL_ADDRESS>a
écrit :

@sealghul https://github.com/sealghul You might miss my previous
comment. Please react.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/9773#issuecomment-723654251, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMEVFYP76YS2VBLDFBCN6ULSO3WG7ANCNFSM4TGUFSPQ
.

@sealghul Thank you for the clarification. I close the request.


Add missing runtime dependencies

Public-Facing Changes

https://github.com/foxglove/eslint-plugin/pull/29 (rules/no-boolean-parameters) introduced new dependencies, but did not declare them in package.json. This caused errors when experimenting with yarn pnp strict mode.

We might need to revisit this package and split it up into smaller packages. I believe when you originally set it up the idea was that it could be used with TypeScript, but could also be used with plain JS projects? That's why typescript was not a hard dependency nor peerDependency.

Yes, the intention was that typescript is optional (at least the configs are separate, so you can apply rules to config files where you can't use typescript etc). It's unfortunate that this rule includes a runtime dependency on typescript rather than an indirect dependency.
In practice every foxglove project uses typescript so I'm not sure how much it matters to strictly separate them.
If we feel strongly about dependency hygiene I guess we could maybe monorepo this and create @foxglove/eslint-plugin-typescript or something.


Icorrect table rendering

My org  file has table but the generated html file shows a table without border.  Direct exports to html from the org file generates the expected table with border. This is a strange bug so I am not sure if it's my specific setting or not.
Example:  my org https://nguyenthanhvuh.github.io/org/test.org, which has a table, but outputs this html  post https://nguyenthanhvuh.github.io/posts/test.html, which does not have the proper table.

Strange. Tables work fine on my end. Do you have any org-specific customizations that might cause this? What versions of Emacs and Org are you using?

sorry for the late reply. I checked but don't see any org-specific settings that would affect this. I also disable all my org settings and still have same issue.  Emacs 28.2 and org mode 9.5.5

This is probably not an issue with org-static-blog, I'm afraid. Org-static-blog really doesn't touch org's export facilities, but merely uses them.
That said, your exported table looks perfectly to me. What is it that makes it "wrong" in your eyes?

as mentioned in the first post, the issue is that the table doesn't have borders.  Tables from default html exports will have borders.
I look at the html code of the one generated by org-static-blog and one generated directly from org-mode and found that the direct one has this code
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">

but the one by org-static-blog does not.  I know it is strange but it's what it is.

this happens on both of my computers (one running FreeBSD and the other Mac OS).  Could you generate tables with borders from org-static-blog on your machine?

You will need to add your own CSS to make the HTML on your static website look the way you want. That's how org-mode and org-static-blog are intended to be used.
As this is not a bug in org-static-blog, I'll close this issue. Feel free to continue this discussion regardless.


No Makefile

Since you don't have a makefile now. If I don't want to use the aws-cli do I just zip and upload?

Hi @VigneshPT,
Have you consider using https://www.npmjs.com/package/npm-bundle ? Using:
npm install -g npm-bundle

# The current directory containing a package.json
npm-bundle

seems to build legit package.

@kdybicz Thanks for that suggestion. However, npm-bundle zips everything to a tarball. I needed a zip file to be uploaded in AWS Lambda.
I just did npm prune --production then zip zipfilename.zip ./ and got the zip file.


How do I set the text on the right side of the icon on the left

hello,How do I set the text on the right side of the icon on the left.

You mean badges ?? or the title ?
For badges refer : https://github.com/Ashok-Varma/BottomNavigation/wiki/Badges
For Title : This library wont support that


TypeError [ERR_INVALID_ARG_TYPE]: The "transform.writable" property must be an instance of WritableStream. Received an instance of Sharp

Hi - great to meet you in person last night!
As discussed, here's the "possible bug" - may just be a documentation issue - or probably just a usage issue ;)
This code worked previously on a much older version of Sharp using body.pipe. The documentation states that you can construct Sharp with no arguments and pipe to it - so it seems that it should work.
The end goal is to stream directly from the source data, through an image transform, and out to the user - where the transformed image would get cached on the edge.
Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?

[X] Running pnpm install sharp completes without error.
[X] Running node -e "require('sharp')" completes without error.

Are you using the latest version of sharp?

[X] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.18.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.14.0 - /usr/local/bin/pnpm
  npmPackages:
    sharp: 0.33.0 => 0.33.0

What are the steps to reproduce?

Fetch image but don't consume body
Attempt to pipe fetch body to sharp.

What is the expected behaviour?
The body data is piped to sharp which then runs transforms
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
StackBlitz

Hi Antony, great to meet you too.
The body property provided by fetch() is a ReadableStream, which is somewhat confusingly part of the Web API rather than the Node.js Stream API. You can convert it to a Readable (i.e. a Node.js Stream) using Readable.fromWeb().
-   const resizedImage = imageRes.body.pipeTo(transformer);
+   const resizedImage = Readable.fromWeb(imageRes.body).pipe(transformer);

I'll add an example to the docs as I suspect you won't be the only person who runs into this.

Gotcha! This must have changed between node 16 and 20 which is why I suddenly ran into it.
I did see that there were two distinct types of stream, but the error thrown by node doesn't indicate the two types, but instead that the arg is a Sharp which masks the real issue!
Thank you for looking into this :)

Commit https://github.com/lovell/sharp/commit/045d54e2e62f14c3658ab246c760f8c4da28b303 modernises one of the existing examples in the docs to include use of fetch() and .fromWeb().


uplift list_tests

Added kne_tests path for SEC-3.1
fixed RegEx to include P4RT tests
Removed obsolete dir structure

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 50.147%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
854

Relevant Lines:
1703

💛  - Coveralls

@liulk can you help share your opinion? Thanks.

/gcbrun


distinguish between editors' names  and text string in Apparatus

In apparatus criticus, it's difficult to read quickly and notice what's the editor and when a new item has started.
Try by making editors names italic or smaller.
note that edition is using a specific Greek font and the apparatus isn't using the same font.
try making the name smaller first
check 043.020

I made the change to a smaller font size. It looks ok, but I also tried maintaining the font size and using italics instead. I thought that was also visually different enough.

Modified global.css.
Again, not sure exactly how to handle these mods - separate out the medcyprus parameter?

Approved


add locking during test runs

The build support scripts presume they have unique ownership
of the test target. This assumption may be violated if the
script is run manually.
This can be resolved by using the flock(1) command to set up
an advisory lock within the shell script.

Imported from trac issue 36.  Created by glimes on 2015-04-14T19:22:46, last modified: 2015-11-20T16:22:16

Trac comment by glimes on 2015-06-12 14:03:16:
Extended testing of parallel builds has turned up
a bit of overkill in the testing scheme.
Currently, the build script "jams" the clock on
the testing target, by injecting a "date" command
directly through SSH. It does this before sending
copies of the tarball and runner scripts, then does
it again after the runner is complete.
This clock jam does not honor the test lock, so it
could jam the clock while a unit test is in progress,
probably not a very good idea.
Reconsidering the test target as a timesharing resource
rather than a captive system, I come to the conclusion
that clock jamming, if done, has to be done within the
test lock, and anything dependent on the clock jam having
been done has to be done before that lock is dropped.
It is quite possible that we do not need to do clock
jamming at all -- this is in fact a relic from attempts
to run tests on a target where starting with the clock
set badly, or leaving it set badly, is a problem. In fact,
if this is a problem, the fact that we have tests that
themselves jam the clock is a problem!
The upshot is that we always have to stage such clock
jamming tests onto a target that can tolerate a clock
set to 1970, and which does not automatically "fix" the clock
in the middle of the test.
I am going to remove clock jamming from the test procedure.

Trac comment by glimes on 2015-06-10 17:30:45:
Implemented in test/common/test-runner.sh
and used by osal/build.sh as of 2015-04-24.
Have now verified that this is robust in the
face of multiple Bamboo agents building at
the same time, but I would like to monitor
this for a bit longer just to be sure.

Trac comment by glimes on 2015-06-15 14:58:15:
Removing clock jamming seems to be working OK.
I will monitor for clock jamming related issues
in the test results, and file a Trac ticket if
anything comes up; I do not expect anything to
arise related to this locking mechanism.

Trac comment by glimes on 2015-06-15 17:47:15:
Slight revision -- some builds (mostly my manual
test builds) still trigger the old pre-cmake
build script, which did not yet use the new
timeout mechanism.
This updates the build-without-cmake.sh script to
make use of the test-runner.sh script which makes
use of the flock-based locking and timeout. (whew!)
This also hooks up exit status checking.
The commit chain is over in CFS Test: [cfs_test:changeset:bfce38b]
The curious will want to click through its parent links.


⚠ Jenkins Plugins Artifactory has degraded performance

In 21e2943, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1363 ms

Resolved: Jenkins Plugins Artifactory performance has improved in d8ce905 after 15 minutes.


HOTFIX IC-20210819, type correction TBL coverage test

Describe the contribution
Update the assignment to CDSHandle to be of the correct value type
(Hotfix for current integration-candidate)
Testing performed
Build and run all tests with type-safe mode enabled
Expected behavior changes
Builds successfully
System(s) tested on
Ubuntu
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

CCB:2021-08-25 APPROVED


packages/storybook: hoist storybook addons so they can be loaded from other packages

Fixes #557

Thanks @Rugvip ! TIL about lerna hoisting. 😄


[Bug]: Race condition when creating an application and volume

Description
I've noticed every so often upon initial app creation it tries to create subsequent resources too fast,  assumingly before the application exists on Fly.io, and errors with a 404 saying the app cannot be found.
This only occurs 50% of the time, if you keep applying/destroying you should be able to replicate.
I can work around this with a sleep of 1 second but I don't know if there can be anything added to the provider to make this more seamless. Perhaps either polling for existence after creation or even just adding retries with exponential backoff?
I've tried using fly_app.this.name fly_app.this.id and adding an explicit depends_on, even though name/id should implicitly add those dependencies, and in all scenarios I can still reproduce this bug.
This isn't a regression I can also replicate this on 0.1.11.
Example error
╷
│ Error: Failed to create volume
│
│   with fly_volume.this,
│   on main.tf line 21, in resource "fly_volume" "this":
│   21: resource "fly_volume" "this" {
│
│ got error response from POST https://api.machines.dev/v1/apps/random-app-name-race-condition-test/volumes: 404 Not Found
│ body:

Test case
terraform {
  required_providers {
    fly = {
      source = "andrewbaxter/fly"
      version = "0.1.13"
    }
  }
}

provider "fly" {
  fly_api_token = ""
}

resource "fly_app" "this" {
  name = "random-app-name-race-condition-test"
  org  = "personal"

  assign_shared_ip_address = false
}

resource "fly_volume" "this" {
  app    = fly_app.this.name
  name   = "data"
  region = "lhr"
  size   = 1
}

Sorry, I totally missed this issue...
I agree with you on all points, and thanks a lot for the thorough reports!  I think finding and resolving upstream consistency problems probably needs to be done on a case by case basis...
FWIW I couldn't reproduce the issue but I added a retry just in case, I don't think it should make things worse at least.

Released in v0.0.18


Error on the /setup process

My development pc:

Windows 10
Lucee <IP_ADDRESS>-RC (same with other Lucee 5.3.x)
MySQL (bundled XAMPP 5.x)

I was caught having this error, when I tried to setup on my local-machine it stop from step3.cfm

I have checked and traced the error from the source code, and found it on this line

So i did a quick fix by deleting the first line.. and the issue is gone,

I think this was related on how the MySQL rules, is setup on my end.. So I was thinking maybe i can share or ask if this still relevant, and maybe you can remove it from your next build?
I understand that the current design was more into docker environment kind of setup, but i think some user still using the other old kind of setup :)

I believe the problem you are experiencing is because you have not enabled Multiple Queries in the Lucee Datasource.

Ow thats right, this now worked for me

Just reference to other people that will experience the same


Make the numberOfTaskSlots configurable with an env variable

The parameter numberOfTaskSlots in the flink-conf.yml was hardcoded to the number of cores. Now it is possible to configure this number with an environment variable. If the var isn't set, the number of cores is used as default.

LGTM, I am just wondering now if maybe in the future this kind of ENV variables should eventually be supported in upstream Flink too, @patricklucas can you take a look too please.

@guenhter please apply this change only to the top-level docker-entrypoint.sh, not the generated ones.
@iemejia Flink configuration is quite a mess these days and I think there's a big discussion about how properly to approach it. As it stands, configuration comes or can come from the following places:

defaults in the Flink code
defaults in flink-conf.yaml as shipped with Flink
values in flink-conf.yaml added by users
values in flink-conf.yaml sed-ed by docker-entrypoint.sh based on environment variables
values in flink-conf.yaml sed-ed by docker-entrypoint.sh with no chance of configuration
environment variables read with defaults in a number of shell scripts, including config.sh, jobmanager.sh, taskmanager.sh, flink-daemon.sh, and flink-console.sh
environment variables read with defaults in the Flink code?
user code (e.g. configuring the state backend, some options of which can be in flink-conf.yaml and some of which can be invoked on StreamExecutionEnv

Hence, I'm tempted to guide users of Flink on Docker in general to actually mount in their own Flink config dir rather than expect the right thing to happen. This is what I do in the Kubernetes/Helm example I have in the examples repo. (which might very well be out of date)

@patricklucas Thanks, that would have saved some copy-paste work in the first place :)


Possible Typo

https://github.com/fortinet-fortisoar/solution-pack-soar-framework/blob/c8c7361d23aec04b1c95420d844d5939594c47f8/playbooks/03 - Enrich (Pluggable)/AlienValut OTX - IP Reputation.json#L71
i guess it must be  enrichment_summary not enrichmentSummary

Hi @semsaksoy,
Please note that the playbook mentioned is no longer part of the SOAR Framework.
Thanks,


Better inactive icon

There should be a better inactive icon same as that on the web.

@saketkumar95 can you fix this issue?

Sure. :)


Automated mutation testing with input variables

Hello,
I am trying to test a mutation with an input variable. I have tried adding the input to variables, but get an error:
'Variable "$input" of required type [...] was not provided.'
Could someone please help with this issue? Many thanks!
Here is the code:
class GQLTestCase(JSONWebTokenTestCase):

    def setUp(self):
        self.user = get_user_model().objects.create(username='testuser')
        self.client.authenticate(self.user)

    def test_mutation(self):

    	mutation = '''
    		mutation updateModel($input: UpdateModelInputType!) {
                updateModel(input: $input) {
                    model {
                        id
                        name
                    }
                }
            }
    	'''

        model_id = 1

        variables = {
            'username': self.user.username,
            'inuput':{'id': model_id },
        }

        response = self.client.execute( update_mutation, variables )
 	self.assertIsNone(response.errors)

Others seem to be having the same issue:
https://stackoverflow.com/questions/59509280/django-graphql-endpoint-testing-unable-to-use-variables-dictionary

hey @ayding11 , please try this:
variables = {
    'input': {
        'username': self.user.username,
        'inuput':{'id': model_id },
    },
}

Hi @mongkok , I tried the solution you provided, but it ran into other errors. Interestingly, when trying the original code, it worked! I must have had another issue in my schema definition. Sorry for the bother and thanks for your help.


Various fixes to Sidekiq classes

Hello! I found these little things while thinking about another possible contribution I might have.
The first two are mistakes I made, one using the wrong class, and the other must have been copying the test when adding the all_queues option... and there were two tests with the same name. I missed the warnings, as I also use WSL, but with your change to the test server in https://github.com/discourse/prometheus_exporter/commit/cbe1d51e2a0888a1801fc1f248e144cb4872a2fb it was fixed 🎉 and saw these warnings.
There's a cosmetic commit that's purely preference, but these tests felt very verbose already and it seemed like the things I changed would be more readable as single lines. Perfectly fine removing this commit from the PR if you don't like it.
The last commit is another thing I caught once I saw the warnings.
Thank you!

I see, looks good to me, thanks @mrsimo


encoding/json: Add int support for json.Unmarshal

What do you mean? Could you provide some concrete examples
demonstrating what is missing in encoding/json?

Possibly @tcyrus means that JSON numbers are interpreted as float64 and not int?
var x interface{}
json.Unmarshal([]byte("1"), &x)
fmt.Printf("%T", x) // "float64"

That's because there is no int type in JSON, but number https://tools.ietf.org/html/rfc7159#page-6

Closing this issue until it is clarified.


Add OAuth user logs to sync requests

Change-type: patch
Signed-off-by: Josh Bowling<EMAIL_ADDRESS>

@balena-ci I self certify!

@balena-ci republish


Make it possible to alias module imports

Requesting the ability to use Webpack aliasing of modules, so that imports can be configured differently depending on environment.  For example, I may want to pull in a mock API when developing locally, and a production API interface when the code is built for production.  Or perhaps I want to use some development tools locally and alias them to blank modules when building so as minimize the package size.

You should be able to do this:
myModule.js
module.exports = process.env.NODE_ENV === 'development' ?
  require('myModule.dev') :
  require('myModule.prod');

Does this help/

@gaearon if that ensures that the "dev" module stays out of the "prod" bundle and vice versa, then problem solved!
I think I had avoided this because I was trying to stick to pure ES module syntax.  Is that not possible in this case?

I think I had avoided this because I was trying to stick to pure ES module syntax. Is that not possible in this case?

Unfortunately not—you have to use CommonJS for this.
Closing as supported.


STM: Catch exceptions in next_state for nicer UX

In STM, the next_state function describes how the pure model description changes across each cmd.
As documented, ideally this function should be pure.
Surprises lurk when this is not the case, such as https://github.com/ocaml-gospel/ortac/issues/150 points 1. and 3. since
next_state is run both

during generation in gen_cmds (sequential), gen_cmds_size (sequential/parallel), and gen_triple (parallel)
during precondition asserts cmds_ok (sequential) and all_interleavings_ok (parallel)

With no generated input to print this thus yields unhelpful error messages such as:
ERROR: uncaught exception in generator for test STM test exception during next_state parallel after 1000 steps:
Exception: Dune__exe__Stm_next_state_exc.Random_next_state_failure

This PR catches exceptions in next_state in these former cases, leaving exception raising to the sequential and parallel QCheck properties, where input can be printed and shrunk.
As a result, an end-user instead receives a minimal call sequence giving rise to the exception in both sequential mode:
   Add 96

exception Dune__exe__Stm_next_state_exc.Random_next_state_failure

and in parallel mode:
                        |
                     Add 9090
                        |
             .---------------------.
             |                     |

exception Dune__exe__Stm_next_state_exc.Random_next_state_failure

The PR furthermore

adds a regression test to the internal test suite
updates the documentation for the changed functions

CI summary for c549513:

Win bytecode 5.1 found an unexpected counterexample in Lin.Internal CList int test with Thread #358 and crashed on threadomain #203
Win bytecode 5.1 timeout during domain_spawntree - with Atomic #354
2 Win bytecode trunk timeouts  (PR+push) during threadomain #203
Cygwin trunk / part2 timeout during a 7446.4s Lin.Internal CList int64 test with Thread
linux-ppc64le-5.2 segfaulted on sequential STM Array and Float.Array tests (revealing an outdated image) #380
freebsd-amd64-5.1 failed to trigger Lin DSL Out_channel test with Domain #401

Out of 63 runs, 7 failed: 5 were genuine defects and 3 were test suite reliability related

CI summary for 17514a4:

linux-ppc64le-5.2 segfaulted/aborted on sequential STM Array, Bytes, and Float.Array tests (revealing an outdated image) #380

Out of 63 runs, 1 failed (a genuine defect)
None of the failures from the two runs are related to the PR, so I'll merge.

CI summary for merge to main:

Cygwin 5.1 / part1 timeout during Dynlink #307
Linux trunk debug aborted during domain_joingraph #402
Windows 5.1 timeout during threadomain #203
macOS trunk failed to trigger a counterexample in STM int ref test parallel asymmetric #364
Cygwin trunk / part2 timed out, mainly due to a 5671.8s Lin.Internal CList int test with Thread run #384
linux-ppc64le-5.2 segfaulted/aborted on sequential STM Array, Bytes, and Float.Array tests (due to running an old image) #380

Out of 38 runs 6 failed with 4 genuine issues and 2 borderline ones (asym, Cygwin threads)


Types require allowSyntheticDefaultImports=true

Related to https://github.com/san650/ember-cli-page-object/pull/582
The current type definitions require that an app have the allowSyntheticDefaultImports option set to "true" in their .tsconfig to avoid the following error:
node_modules/ember-cli-page-object/types/index.d.ts:61:10 - error TS1259: Module '"/MYAPP/node_modules/@types/jquery/index"' can only be default-imported using the 'allowSyntheticDefaultImports' flag

61   import JQuery from 'jquery';

@tsconfig/ember sets allowSyntheticDefaultImports to false by default with some reasoning in the comments.
Usually this can be fixed by changing the imports to the following but I have not actually tried to do so yet:
import * as JQuery from 'jquery';

Thanks for reporting! Yeah, getting rid of synthetic imports sounds like a good idea. I've started playing with this here https://github.com/san650/ember-cli-page-object/pull/590, but it still needs some time to push it across the finish line.

Just released the fix as a part of https://github.com/san650/ember-cli-page-object/releases/tag/v1.17.12


Problem with "call-n"?

I see a lot of these from combinators.smart:
Asset: drop-inputs

Cannot apply “call-n” to a run-time computed value
macro call-n

What are the other ones? Which vocabularies did you load to expose this?

 Bootstrap is also quite a lot longer now (12 minutes vs 9 before).

@erg - I'm still getting these, even with your recent changes...


labelAlign property not being applied

Hi there,
I have tried using the property "labelAlign" with either values 'right' or 'left' to align the labels to the either side. However, the labels' alignment does not update and is still has the default 'center' alignment.

Same here

same here

Can you try flex-start or flex-end and see if it works.

Still doesn't work

The fix was in the line { alignItems: this.state.customStyles.labelAlign } where state was omitted. However, the values left and right only work for ios. If you want it to work with android as well you will need to use flex-start and flex-end.

@gtiongco95  Could you elaborate a bit, where exactly is this { alignItems: this.state.customStyles.labelAlign } to be placed?

@ddsr17 it's located on line 287 of the StepIndicator.js file. It has been updated by the repo owner so it should just work now for you (:

const customStyles = {
    labelAlign: 'flex-start', // <-- add this property to the custom styles object
};

 other type {"center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined}


Option to specify Unit of Measure for var_PV and var_load

Describe the bug
Not strictly speaking a bug, but the template provides hints of things to provide to document the issue, so I'm using the bug report template.
I have existing data (approximately 16 months) for load and solar production in kW (and kWh).
I can (and have) set up template sensors to convert kW to W, but they only have data from the moment that I set them up an hour or so ago this afternoon while setting up EMHASS.
The issue is that if I want to (and I do want to) use the machine learning forecaster module, there is no way (that I can see) of training it on my historical data.
To Reproduce
Steps to reproduce the behavior

Create a template sensor based off the native kW sensor that converts the reading (load or PV production) from kW to Watts as required by EMHASS

Expected behavior

Ideally the history of the kW sensor would be available for EMHASS to use, but that's not the way HA works.
If EMHASS allowed you to specify the Unit of Measure for var_PV and var_load where existing sensors were in kW, it would avoid this issue.

For example:
# Configuration file for EMHASS
retrieve_hass_conf:
   freq: 30 # The time step to resample retrieved data from hass in minutes
   days_to_retrieve: 365 # We will retrieve data from now and up to days_to_retrieve days
   var_PV: 'sensor.blah_s_powerwall_solar_power' # Photovoltaic produced power sensor
   var_PV_UoM: kW
   var_load: 'sensor.blah_s_powerwall_load_power' # Household power consumption sensor (deferrable loads should be substracted)
   var_load_UoM: kW

Screenshots
Base Sensor in kW

New Sensor in W - only shows data from point it was created:

History Chart showing current month showing source data and template sensor:

Template Sensor Definition

List of load related entities (including templated sensor)

Home Assistant installation type

Home Assistant Core

Your hardware

OS: Linux (Ubuntu)

EMHASS installation type

Docker

Additional context
Add any other context about the problem here.

Addressed an answer to this here #251


Model Checkpoints

Hi,
Thank you for your code. Will you put pre-trained ViT models' checkpoints in this repo?
Thanks

Hello, do you plan to make the checkpoints publicly available? Thanks


Image link issues in admin

Hi,
I see broken images in various parts of admin.
I.e.  on attempt to change the avatar of a profile. (let's say admin)
File manager pops up, the listed images are not shown correctly.
When I inspect and check the image source, I see following:
domain/domain/wwwroot/data/admin/2020/5/myimage
the correct image location is:
domain/data/admin/2020/5/myimage
Similar problems occur in cover image update of the post entries.
Is there a global configuration that I overlooked to configure or is it an issue at Filemanager js file?
Thanks
Gokhan

You probably running your app in sub-folder, like http://my.app/sub. If so, you'll need to update base URL in the Index.html from <base href="/"> to <base href="/sub/"> and then re-build your theme.
This is one of the unfortunate issues with SPA frameworks, they all rely on base URL and don't let to change it on-the-fly or make it configurable.

Hi,
Thanks for the update but no I'm not using any sub-folder and using the standard theme. (as we agreed previously other themes are not fully functional at the moment).
It has SQL Server setup, freshly compiled and installed from today's master copy, nothing is altered.
I have created test accounts:
http://www.sinesanat.com
testuser/testuser
testadmin/testadmin
PS: at physical file system, files are under a directory wwwroot. There is another wwwroot inside the Blogifier folder. If there is a find&concatenate operation depending on wwwroot this might confuse the logic.  Just saying if that could be helpful.
Best regards
Gokhan

Hi,
I tested my theory about wwwroot, I moved the Blogifier subfolder to a different folder where there will be no wwwroot in the folder hierarchy.
It helped a little bit. I.e. the images where broken in the filemanager now they are shown.
Also uploaded cover images for the posts listed on main page is properly shown now.
Following problems seem to persist;

On main page cover image is correctly shown but broken on the post page. (again image src is wrong)
Same problem for avatars, broken.
Although I can see the images that I upload now, when I upload a file, two copies are added and listed in the file manager.

Again fresh installation from today's copy.
Best regards
Gokhan

I think I have a fix for it but need do more testing before updating repo.

Hi,
Thanks for the update, I made a new installation from the recent copy and there seems to be an improvement.
On uploading a file there was 2 copies shown in the file manager, that is fixed, works as expected.
I can see the images successfully on the main page:
http://www.sinesanat.com/
but on post details, no image is shown:
http://www.sinesanat.com/posts/recent-test-post
Also updated avatar is not visible on the same page too.
the account was testuser/testuser if you want to try.
BR
Gokhan

The copies were not duplicates, it was large image and thumbnail generated for it. I turned this feature off for SPA app.
With remaining issue, I can't recreate it - not sure why it does it in your case. Something in IIS or something else unique to your setup - these things need to be reproducible to fix.

I think It is related with the file size or file name.
After some testing I found out that small sized images that I download from internet works but an image file shot by my phone doesn't work.
I'm attaching the file.

Everything is standard by the way.
c:\inetpub\wwwroot was the default folder of IIS.
This is an image from Samsung phone without changing anything, even the filename.
BR
Gokhan

I'll add error handling to throw if image can't be saved, but there 2 things to consider:

There should be setting in web.config that sets max size for uploads, and with hosting it can even be outside of your control - set in machine config overriding your app config.
I don't think it is a good idea to upload huge images to website anyways, they should be optimized for the web.

I understand it is convenient to just shoot a photo and send it to the post, maybe need to look into ways to optimize it on-the-fly, kind of like right now there thumbnail generated for large images, maybe there a way to shrink it to reasonable size before saving.

Hi,
Yes an error handling would be nice.
It's good to know that this can be configured over web.config easily, so each blog owner can set their max limit.
I do think an on the fly conversion is needed. System.Drawing would do the job but might create some dependencies.  ImageSharp library seems to be standalone and also has .net Core support, it could be a better choice.
If you would add this feature please make sure aspect ratio will not be broken. (usually the smallest corner is taken as baseline and the other corner is reduced respectively to aspect ratio)
I didn't understand the use-case of thumbnails, what are they used for?
Resize would be nice, keeping the original image as a secondary option in the filemanager, why not?
But there needs to be an easy way to distinguish them. (i.e. file name in capital letters appearing on hover?)
Best regards
Gokhan


Wrong scaling on gossip window?

The reagent window has bigger icons than shown in the main page examples. This results in need for scrolling to pick up items lower down. I'm running "AzerothCore Individual Progression Single Player Repack" so its not from github so i assume this is the problem. I can include any files just i need to know which one. I disabled all addons and this is still the result.

This may be due to your UI scaling settings. Please check the values in the WTF/Config.wtf file in your client. The values I used in the screenshot are:
SET uiScale "0.63999998569489"
SET useUiScale "1"

That solved it, thanks!


Camera/QR/Barcode integration

Description
For warehousing and inventory it would be awesome to be able to use a devices camera as a bar/qr code reader/scanner.
Unfortunately all browsers will only allow access to the camera over a https connection... so i do not know how far general support in that direction is...
If https is possible i think vue-qrcode-reader could be a feasable library
Have you provided an initial effort estimate for this issue?
I am no FlowFuse team member

@JulianStremel,
Did you already have a look at the node-red-dashboard-2-ui-webcam to send webcam images to Node-RED?  And then process the bar/qr codes in your Node-RED flow?  Or do you have any arguments to do the barcode scanning in the dashboard frontend, and send only the extracted code to Node-RED?
About https: that is outside the scope of the dashboard itself.  Perhaps you can tell a bit more about your setup?  Because when talking about qr/bar code scanning, I assume it is not a simple home automation.  So I expect you have already setup some security (which can provide you with https connections)?
Bart


Prevent inline SVG in header from being focusable

See also https://github.com/alphagov/govuk-frontend/pull/774
https://trello.com/c/M5zdFlPS/1100-dac-audit-navigation-interactive-elements

You can preview this change here:
Built with commit 2657e7363053221e36b282c38fbe7376f0a65f1a
https://deploy-preview-303--govuk-design-system-preview.netlify.com


lumberjack : move client payload sending to test

For better understanding of lumberjack camel-quarkus extension, move code of sending payload to lumberjack in the test directory.

I'm working on this issue


Add xsl to fix author emails in 87674

This one is the exact same as https://github.com/elifesciences/enhanced-preprints-biorxiv-xslt/pull/28 but in a different paper. No action from Encoda/EPP required at this stage as it relates to a decision that bioRxiv have made about capturing this content in the XML.


Inquiry about Pre-processing Error in Training TransEDRP on GDSCv2 Dataset

Hello,
I hope this message finds you well. I have successfully executed the process_GDSCv2.py script as per the provided instructions. However, when I attempted to run the main.py function to train TransEDRP on the GDSCv2 dataset, I encountered the following error:
Pre-processed data data/GDSCv2/processed/processed/GDSCv2_train_mix_useChirality.pt not found, doing pre-processing...
Traceback (most recent call last):
  File "main.py", line 220, in <module>
    main(model, config, yaml_path)
  File "main.py", line 100, in main
    train_data = TestbedDataset(root=config["dataset_root"], dataset=train_dataset)
  File "/home/TransEDRP/utils.py", line 28, in __init__
    self.process(xd, xt, y,smile_graph)
  File "/home/TransEDRP/utils.py", line 58, in process
    assert (len(xd) == len(xt) and len(xt) == len(y)), "The three lists must be the same length!"
TypeError: object of type 'NoneType' has no len()

It appears that process_GDSCv2.py did not generate the required GDSCv2_train_mix_useChirality.pt file. Could you kindly guide me on where I can pre-process and generate the required GDSCv2_train_mix_useChirality.pt file? I would greatly appreciate your assistance in resolving this issue.
Thank you for your time and attention.
Best regards,
Kim

你下载GDSCv2的数据了吗？

我通过您提供的Google drive下载了数据集，里面包括了GDSCv2的数据

好的，这是一些中间变量。我会考虑这个问题，稍等这两天会更新一个版本用于自动处理。

好的，感谢您的跟进


Add Process Explorer.

Although scoop tell me Process Explorer was installed successfully, Short cut is not added. and there are many errors during scoop installing Process Explorer. Could you please kindly help me to find the reasons?

https://github.com/Ash258/Scoop-Sysinternals/blob/master/bucket/ProcessExplorer.json

orz.
I have added this bucket.
It seems that you maintain two different buckets. But why not add the software in your bucket to this bucket?

I maintain lots of buckets. Sysinternals bundle is in extras already. No need to add them separately.

I don't find ProcessExplorer in extra. Do you mean you will merge extra bucket with Sysinternals in the future?

Does SyncToy in some bucket? I like this software. But I cannot add it to extra bucket. I don't know how to write the install a script. https://github.com/lukesampson/scoop-extras/issues/2073

No. Never.
Sysinternals manifest contains process explorer.

Why do you ask me?? I do not know content of all buckets which are on the internet.
https://scoop.netlify.com/apps/

No. Never.
Sysinternals manifest contains process explorer.

But why I cannot search Process Explorer out by the command "scoop search process"

Why do you ask me?? I do not know content of all buckets which are on the internet.
https://scoop.netlify.com/apps/

Sorry. It's not polite to ask you such a question. But it's obvious that I got a wonderful website. Thank you very much.


Find in Files: Edit icon doesn't show on Exclusion set dropdown menu if the set name is long

Steps:

Launch Brackets and open any project
Click Find > Find in Files
Click the Exclusion Set dropdown button.
Click "New Exclusion Set..." and input a matched string to exclude some files
In the Name field of the resulting dialog, type a long name. Click OK.
Click the Exclusion Set dropdown button again.

Result:
The edit icon cannot show on Exclusion set dropdown menu
Expected:
The icon should show on the menu or the long set name should show with ... at the end to make the icon showing.
ENV: MAC10.10 and Win7 English OS
Build: Release 1.3 build 1.3.0-16008
Screenshots:

Somehow related to #9305


Example for Javascript calculator is wrong

Hello, thanks for entering, and i realized that https://codepen.io/freeCodeCamp/full/rLJZrA is wrong, when i
say 7-9*6 it displays -12 when it should be -47, basic arithmetic... i was trying to solve this when i was doing the challenge but it just seems to be wrong on the example you gave us.

It's not wrong.
It calculates as you typing, so when you write 7-9 it shows -2 then you write * 6 then the solution is -12 not -47.
Most of the electric calculators used in offices are using the same method.

@hernanmendez thanks for reporting this - I think this issue can be closed for now. It has been raised several times in the past (including by your truly!) and the new example project for the beta curriculum addresses this issue and explains both evaluation types: immediate execution and formula. The new example pen uses formula logic as that seems to be the more common modern calc evaluation logic.
See the new page with explanation and pen here: http://beta.freecodecamp.com/en/challenges/front-end-frameworks-projects/build-a-javascript-calculator


[New Mock]: Ligue 1 teams endpoint

Is your feature request related to a problem? Please describe.
Feature to add an endpoint that returns a list of Ligue 1 teams similar to /sports/football/leagues/premier/teams
Sample response would look like this
[{
  "teamName": "Troyes",
  "location": "Troyes",
  "stadium": "Stade de l'Aube",
  "capacity": "21,684"
}]

I'd like to be assigned to this issue.

This would be ace

@ageddesi Please review


Handle new JSX transform

We've added support for the new JSX transform into Create React App (https://github.com/facebook/create-react-app/pull/9645, https://github.com/facebook/create-react-app/pull/9788), and we've been discussing how best to support this in our ESLint config.
I'm not sure if this is a good idea, and wanted some thoughts. I wondered if we should update jsx-uses-react to warn when using a React version that ships with the new transform, and do one of the following:

Add an autofix (remove all React imports).
Recommend running the codemod.

For now, we're:

Auto-detecting support for the new transform (see base.js#L14-L21).
Updating rules based on that detection, leaving jsx-uses-react on to avoid confusion (see base.js#L52-L58).

If the jsx-uses-react rule is simply disabled, a “no unused imports” or “no unused variables” rule would already catch an unnecessary React import. When there’s a React version that doesn’t allow the current jsx transform, then the jsx-uses-react rule can be updated to throw an error, but otherwise I’m not sure any change is needed in this plugin.

I was thinking more about explaining why React is no longer needed to be imported.
I agree 100% that you could just rely on a no-unused variable, and as I said I was just interested in thoughts. As the community transitions, some members will obviously be confused... but a change to this plugin may not help, you're right.
We can close this off for now, again I was just interested in thoughts at this stage.

Hello,
It would be nice to detect "runtime": "automatic" for the babel/preset-react option and disable errors from react-in-jsx-scope when applicable, since this rule is recommended.

I’d rather not couple this plugin to babel so tightly.

Obviously. Though I predict that after the release of Babel 8, many people will ask the same thing (or to remove it from recommended rules).

Perhaps the React version detection in this plugin could alter behaviour of the related rule?

Using React does not guarantee you're using JSX, or Babel, or transpiling at all, so I'm afraid not.

@cyrus-za in that case, the React import is strictly necessary, for the type. There’s nothing wrong with having it there.


[SPARK-29127][SQL] Alternative proposal for supporting partitioning through save for V2 tables

What changes were proposed in this pull request?
This is an alternative proposal to #25822 and #25651. The problem we're trying to solve is that when a catalog doesn't exist when using a data source, there is no good way to create a V2 table with partitioning and table property information. Spark users have been using data source options to connect to such data sources such as Kafka, JDBC tables through data source options, and it should be possible to continue to create tables as such.
This PR introduces a couple interfaces: SupportsCreateTable and SupportsIdentifierTranslation. SupportsCreateTable are the parts that existed in TableCatalog that are related to the creation/dropping of tables. This is pulled out, and TableCatalog extends this interface. SupportsIdentifierTranslation is a way for data sources to go from data source options to an internal identifier that can be used to describe how to access that table. A TableProvider can extend SupportsIdentifierTranslation and SupportsCreateTable to be able to support the creation of tables without requiring an explicit catalog.
This would:

Fix the behavior for DataFrameWriter.save when passing in partitioning information to data sources
Allow ErrorIfExists and Ignore to be supported for DataFrameWriter.save
Open the path for supporting path based tables in DataFrameWriterV2

Why are the changes needed?
DataFrameWriter.save is broken for all data sources that want to get partitioning information and support different SaveModes that migrate from DataSource V1 to V2 APIs.
Does this PR introduce any user-facing change?
The behavior of a DataSource that used to be DataSource V1 in Spark 2.4 can behave identically with DataSource V2 in Spark 3.0.
How was this patch tested?
Will add tests after comments

Test build #110927 has started for PR 25833 at commit e48a5c4.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16042/
Test PASSed.

Merged build finished. Test PASSed.

Test build #110927 has finished for PR 25833 at commit e48a5c4.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait FileDataSourceV2 extends SupportIdentifierTranslation with DataSourceRegister

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110927/
Test FAILed.

Hi, @brkyvz . This seems to break the compilation. Could you take a look?

cc @jose-torres @cloud-fan @dbtsai @rdblue

Another option is that a V2 DataSource doesn't need to extend TableProvider for CreateTable and stuff to go through the V2SessionCatalog, and a DataSource can continue to re-use it's V1 APIs.


Validation loss unstable

Hi,
I've been run training autoencoder for a couple minutes and find validation loss was unstable, while average batch loss keep smaller.

Thanks !

Considering that your epochs fit in 10 batches, it looks like you are using too few training data and the model can't learn properly.

@erickrf
Thanks for your reply. I'm using small data for proofing concept. CMIIW, I expect with small dataset, it will be overfit, and when running with validation data set will produce small loss value.

I've try full data set, the validation loss is increasing
INFO:root:14 epochs, 100 batches	Avg batch loss: 2.831865	Validation loss: 5.789834
INFO:root:21 epochs, 150 batches	Avg batch loss: 1.753031	Validation loss: 6.345498
INFO:root:28 epochs, 200 batches	Avg batch loss: 1.083488	Validation loss: 6.580184
INFO:root:35 epochs, 250 batches	Avg batch loss: 0.647666	Validation loss: 6.866635
INFO:root:42 epochs, 300 batches	Avg batch loss: 0.392439	Validation loss: 7.370073

It still seems to be very few data. The training loss values are decreasing, which indicates it is overfitting the data.