id
int64
393k
2.82B
repo
stringclasses
68 values
title
stringlengths
1
936
body
stringlengths
0
256k
labels
stringlengths
2
508
priority
stringclasses
3 values
severity
stringclasses
3 values
2,528,600,364
go
cmd/go: add `go generate -exec` flag like `go run -exec` and `go test -exec`
I sometimes use `go run -exec` to quickly check how long a program takes to run excluding the build time, for example: ``` $ /bin/time go run testdata/gen.go 7.53user 1.17system 0:01.51elapsed 573%CPU (0avgtext+0avgdata 601640maxresident)k 0inputs+384outputs (10major+131651minor)pagefaults 0swaps $ go run -exec=/bin/time testdata/gen.go 6.96user 1.08system 0:01.21elapsed 661%CPU (0avgtext+0avgdata 492024maxresident)k 0inputs+224outputs (1major+134476minor)pagefaults 0swaps ``` Similarly, I have found `go test -exec` very useful on occasion, for example to test for a different OS like `GOOS=windows go test -exec=wine`, or to test under a different environment like with https://github.com/mvdan/dockexec. I wish I could do something similar with `go generate`. For example, in one of my projects, `go generate ./...` in CI takes twelve seconds, and I'd like to dig into which of the steps is taking longer than I would expect. For this reason I'd love to be able to do `go generate -exec=time ./...` or something similar with a short script.
NeedsInvestigation,FeatureRequest,GoCommand,Tools
low
Minor
2,528,620,576
flutter
[go_router] [go_router_builder] Type-safe routes feature causes canPop() always returns true
### What package does this bug report belong to? go_router ### What target platforms are you seeing this bug on? Android ### Have you already upgraded your packages? Yes ### Dependency versions <details><summary>pubspec.lock</summary> ```lock # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: _fe_analyzer_shared: dependency: transitive description: name: _fe_analyzer_shared sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834 url: "https://pub.dev" source: hosted version: "72.0.0" _macros: dependency: transitive description: dart source: sdk version: "0.3.2" analyzer: dependency: transitive description: name: analyzer sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139 url: "https://pub.dev" source: hosted version: "6.7.0" app_links: dependency: "direct main" description: name: app_links sha256: "4acba851087b25136e8f6e32a53bd4536eb3bec69947ddb66e7b9a5792ceb0c7" url: "https://pub.dev" source: hosted version: "6.2.0" app_links_linux: dependency: transitive description: name: app_links_linux sha256: f5f7173a78609f3dfd4c2ff2c95bd559ab43c80a87dc6a095921d96c05688c81 url: "https://pub.dev" source: hosted version: "1.0.3" app_links_platform_interface: dependency: transitive description: name: app_links_platform_interface sha256: "05f5379577c513b534a29ddea68176a4d4802c46180ee8e2e966257158772a3f" url: "https://pub.dev" source: hosted version: "2.0.2" app_links_web: dependency: transitive description: name: app_links_web sha256: af060ed76183f9e2b87510a9480e56a5352b6c249778d07bd2c95fc35632a555 url: "https://pub.dev" source: hosted version: "1.0.4" args: dependency: transitive description: name: args sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" url: "https://pub.dev" source: hosted version: "2.5.0" async: dependency: transitive description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: transitive description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" build: dependency: transitive description: name: build sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" url: "https://pub.dev" source: hosted version: "2.4.1" build_config: dependency: transitive description: name: build_config sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 url: "https://pub.dev" source: hosted version: "1.1.1" build_daemon: dependency: transitive description: name: build_daemon sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9" url: "https://pub.dev" source: hosted version: "4.0.2" build_resolvers: dependency: transitive description: name: build_resolvers sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a" url: "https://pub.dev" source: hosted version: "2.4.2" build_runner: dependency: "direct dev" description: name: build_runner sha256: dd09dd4e2b078992f42aac7f1a622f01882a8492fef08486b27ddde929c19f04 url: "https://pub.dev" source: hosted version: "2.4.12" build_runner_core: dependency: transitive description: name: build_runner_core sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0 url: "https://pub.dev" source: hosted version: "7.3.2" built_collection: dependency: transitive description: name: built_collection sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" url: "https://pub.dev" source: hosted version: "5.1.1" built_value: dependency: transitive description: name: built_value sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb url: "https://pub.dev" source: hosted version: "8.9.2" characters: dependency: transitive description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" checked_yaml: dependency: transitive description: name: checked_yaml sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff url: "https://pub.dev" source: hosted version: "2.0.3" clock: dependency: transitive description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" code_builder: dependency: transitive description: name: code_builder sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37 url: "https://pub.dev" source: hosted version: "4.10.0" collection: dependency: transitive description: name: collection sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted version: "1.18.0" convert: dependency: transitive description: name: convert sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" url: "https://pub.dev" source: hosted version: "3.1.1" crypto: dependency: transitive description: name: crypto sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 url: "https://pub.dev" source: hosted version: "3.0.5" cupertino_icons: dependency: "direct main" description: name: cupertino_icons sha256: caac504f942f41dfadcf45229ce8c47065b93919a12739f20d6173a883c5ec73 url: "https://pub.dev" source: hosted version: "1.0.2" dart_style: dependency: transitive description: name: dart_style sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab" url: "https://pub.dev" source: hosted version: "2.3.7" fake_async: dependency: transitive description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" ffi: dependency: transitive description: name: ffi sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.dev" source: hosted version: "2.1.3" file: dependency: transitive description: name: file sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted version: "7.0.0" fixnum: dependency: transitive description: name: fixnum sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" url: "https://pub.dev" source: hosted version: "1.1.0" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_lints: dependency: "direct dev" description: name: flutter_lints sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" url: "https://pub.dev" source: hosted version: "4.0.0" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" flutter_web_plugins: dependency: transitive description: flutter source: sdk version: "0.0.0" frontend_server_client: dependency: transitive description: name: frontend_server_client sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 url: "https://pub.dev" source: hosted version: "4.0.0" glob: dependency: transitive description: name: glob sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" url: "https://pub.dev" source: hosted version: "2.1.2" go_router: dependency: "direct main" description: name: go_router sha256: "48d03a1e4887b00fe622695139246e3c778ac814eeb32421467b56d23fa64034" url: "https://pub.dev" source: hosted version: "14.2.6" go_router_builder: dependency: "direct dev" description: name: go_router_builder sha256: "3425b72dea69209754ac6b71b4da34165dcd4d4a2934713029945709a246427a" url: "https://pub.dev" source: hosted version: "2.7.1" graphs: dependency: transitive description: name: graphs sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" url: "https://pub.dev" source: hosted version: "2.3.2" gtk: dependency: transitive description: name: gtk sha256: e8ce9ca4b1df106e4d72dad201d345ea1a036cc12c360f1a7d5a758f78ffa42c url: "https://pub.dev" source: hosted version: "2.1.0" http_multi_server: dependency: transitive description: name: http_multi_server sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" url: "https://pub.dev" source: hosted version: "3.2.1" http_parser: dependency: transitive description: name: http_parser sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" url: "https://pub.dev" source: hosted version: "4.0.2" io: dependency: transitive description: name: io sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" url: "https://pub.dev" source: hosted version: "1.0.4" js: dependency: transitive description: name: js sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf url: "https://pub.dev" source: hosted version: "0.7.1" json_annotation: dependency: transitive description: name: json_annotation sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" url: "https://pub.dev" source: hosted version: "4.9.0" leak_tracker: dependency: transitive description: name: leak_tracker sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" url: "https://pub.dev" source: hosted version: "3.0.5" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted version: "3.0.1" lints: dependency: transitive description: name: lints sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted version: "4.0.0" logging: dependency: transitive description: name: logging sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" url: "https://pub.dev" source: hosted version: "1.2.0" macros: dependency: transitive description: name: macros sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536" url: "https://pub.dev" source: hosted version: "0.1.2-main.4" matcher: dependency: transitive description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted version: "0.11.1" meta: dependency: transitive description: name: meta sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted version: "1.15.0" mime: dependency: transitive description: name: mime sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a" url: "https://pub.dev" source: hosted version: "1.0.6" package_config: dependency: transitive description: name: package_config sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" url: "https://pub.dev" source: hosted version: "2.1.0" path: dependency: transitive description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted version: "2.1.8" pool: dependency: transitive description: name: pool sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" url: "https://pub.dev" source: hosted version: "1.5.1" pub_semver: dependency: transitive description: name: pub_semver sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" url: "https://pub.dev" source: hosted version: "2.1.4" pubspec_parse: dependency: transitive description: name: pubspec_parse sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8 url: "https://pub.dev" source: hosted version: "1.3.0" shelf: dependency: transitive description: name: shelf sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 url: "https://pub.dev" source: hosted version: "1.4.1" shelf_web_socket: dependency: transitive description: name: shelf_web_socket sha256: "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611" url: "https://pub.dev" source: hosted version: "2.0.0" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.99" source_gen: dependency: transitive description: name: source_gen sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832" url: "https://pub.dev" source: hosted version: "1.5.0" source_helper: dependency: transitive description: name: source_helper sha256: "6adebc0006c37dd63fe05bca0a929b99f06402fc95aa35bf36d67f5c06de01fd" url: "https://pub.dev" source: hosted version: "1.3.4" source_span: dependency: transitive description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: transitive description: name: stack_trace sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" stream_transform: dependency: transitive description: name: stream_transform sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" url: "https://pub.dev" source: hosted version: "2.1.0" string_scanner: dependency: transitive description: name: string_scanner sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted version: "1.2.0" term_glyph: dependency: transitive description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: transitive description: name: test_api sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" url: "https://pub.dev" source: hosted version: "0.7.2" timing: dependency: transitive description: name: timing sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" url: "https://pub.dev" source: hosted version: "1.0.1" typed_data: dependency: transitive description: name: typed_data sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted version: "1.3.2" vector_math: dependency: transitive description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" vm_service: dependency: transitive description: name: vm_service sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted version: "14.2.5" watcher: dependency: transitive description: name: watcher sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" url: "https://pub.dev" source: hosted version: "1.1.0" web: dependency: transitive description: name: web sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062 url: "https://pub.dev" source: hosted version: "1.0.0" web_socket: dependency: transitive description: name: web_socket sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83" url: "https://pub.dev" source: hosted version: "0.1.6" web_socket_channel: dependency: transitive description: name: web_socket_channel sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f" url: "https://pub.dev" source: hosted version: "3.0.1" yaml: dependency: transitive description: name: yaml sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" url: "https://pub.dev" source: hosted version: "3.1.2" sdks: dart: ">=3.5.0-259.0.dev <4.0.0" flutter: ">=3.19.0" ``` </details> ### Steps to reproduce 1. Launch the code sample 2. Tap "Open back example" 3. Tap "Back to root" ### Expected results Home screen is opened ### Actual results Infinite loop due to canPop() function always returns true ### Code sample Code [sample](https://github.com/Olesya-Egorova/go_router_can_pop_issue) ### Screenshots or Videos _No response_ ### Logs _No response_ ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [√] Flutter (Channel stable, 3.24.1, on Microsoft Windows [Version 10.0.19045.4894], locale ru-RU) • Flutter version 3.24.1 on channel stable at C:\Users\0753\fvm\versions\3.24.1 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5874a72aa4 (4 weeks ago), 2024-08-20 16:46:00 -0500 • Engine revision c9b9d5780d • Dart version 3.5.1 • DevTools version 2.37.2 [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\0753\AppData\Local\Android\sdk • Platform android-34, build-tools 34.0.0 • Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2024.1) • Android Studio at C:\Program Files\Android\Android Studio1 • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314) [√] Connected device (4 available) • SM G973F (mobile) • RF8MC24J6WX • android-arm64 • Android 12 (API 31) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.4894] • Chrome (web) • chrome • web-javascript • Google Chrome 128.0.6613.138 • Edge (web) • edge • web-javascript • Microsoft Edge 128.0.2739.42 [√] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ``` </details>
package,has reproducible steps,P2,p: go_router,team-go_router,triaged-go_router,found in release: 3.24,found in release: 3.26
low
Critical
2,528,630,817
vscode
Change boolean `isAi` to tag with enum value of possible descriptors
@dbaeumer and I have had a conversation today about the proposed API `vscode.proposed.codeActionAI.d.ts`. Dirk asked if there is a reason we use a boolean here or if it would make sense to instead add a field `tag` that could take one of several descriptor values including `AI`. I believe Dirk mentioned he will be adding such a tag also in LSP as per user requests. This would allow us to extend the CodeAction `tag` property to other use cases too. Pinging @jrieken about the API side.
feature-request,editor-code-actions,api-proposal
low
Minor
2,528,634,466
flutter
Remove usages of ANDROID_SDK_ROOT in the engine
https://github.com/search?q=repo%3Aflutter%2Fengine%20ANDROID_SDK_ROOT&type=code https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:build-system/gradle-core/src/main/java/com/android/build/gradle/internal/SdkLocator.kt;l=197?q=Several%20environment%20variables%20and%2For%20system%20properties%20contain%20different%20paths%20to%20the%20SDK https://cs.android.com/android-studio/platform/tools/base/+/24d480687a1d5f92d898dd49e23286cdf8b0e3fd The reason for targeting the engine is that if both ANDROID_HOME and ANDROID_SDK_ROOT are set but have the same value then there is not an error. But the engine overrides the local android sdk when building so it causes build errors.
platform-android,engine,c: proposal,P2,c: tech-debt,team-android,triaged-android
low
Critical
2,528,694,833
svelte
Track binding values
### Describe the problem There are many cases where knowing what values a binding could potentially hold would allow us to generate more optimal code. For example, in a situation like [this](https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAE0WNwQrCMBBEfyUuQhWE3mNa8NazV-uhtltcSJOl2RSk5N9N8OBx3sxjdpjJYgD92MENC4KGGzNcQD5cQtjQCuYcfFzHQkwYV2Jpe9eLRVHFUo06BhkET9Wdxnd1vvbO1P-hM-Q4inqRm_Q22IjNXryk6lwbbju01qsfO5ia2_y4-Ilmwgm0rBHTM30BG52stawAAAA=)... ```svelte <script> let name = $state('Rich'); </script> <input bind:value={name} /> <p>Hello {name}!</p> ``` ...we don't need the `?? ""` in the generated code, because we can determine that `name` is always defined: ```js $.template_effect(() => $.set_text(text, `Hello ${$.get(name) ?? ""}!`)); ``` The same goes for references to an index (and, if we were sophisticated enough, the item itself) inside an each block: ```svelte {#each 'abc' as l, i} <p>{i}: {l}</p> {/each} ``` ```diff -$.template_effect(() => $.set_text(text, `${i ?? ""}: ${l ?? ""}`)); +$.template_effect(() => $.set_text(text, `${i}: ${l ?? ""}`)); ``` Post-#13264, it would also allow us to avoid creating effects in cases where we know an expression doesn't contain state. Right now, code like this... ```svelte <script> let min = 0; let max = 100; let number = 50; </script> <p>{Math.max(min, Math.min(max, number))}</p> ``` ...yields output like this... ```js var p = root(); p.textContent = Math.max(min, Math.min(max, number)); ``` ...but as of #13264 yields this unnecessary overhead: ```js var p = root(); var text = $.child(p); $.template_effect(() => $.set_text(text, Math.max(min, Math.min(max, number)))); $.reset(p); ``` ### Describe the proposed solution Track all the assignments (along with the scopes in which they occur) when first analysing bindings, so that we can later determine things like: - is this binding always defined? (if so, don't need the `?? ""`) - could this binding hold a reference to a state proxy? (if not, and it's not a state binding, no need to create effects) - do we know that such-and-such an expression is always truthy or always falsy? - can this binding be hoisted somewhere? There are limits to what we can know with such an analysis — often, the answer to 'what could this value be?' is `:shrug:`. It's no substitute for knowing the entirety of your program (though we could one day augment it with knowledge of prop values and imports, for example), and nor is it a replacement for an type system (though unlike types, code can't lie about the range of possible values). But it's a relatively simple and cheap way to get a decent chunk of the benefits of a more comprehensive system. ### Importance nice to have
feature request,perf
low
Minor
2,528,728,182
vscode
'search' option in fileLocation of problemMatcher for Task does not work in Remote Development
Type: <b>Bug</b> I am using VS Code with Remote SSH, where the host PC is Windows, and the remote PC is Linux. I created the following tasks.json and intentionally caused a warning as a test, but nothing is displayed in the PROBLEMS tab. ```json { "version": "2.0.0", "tasks": [ { "type": "cppbuild", "label": "Build", "command": "/usr/bin/g++", "args": [ "-fdiagnostics-color=always", "-I", ".", "-g", "main.cpp", "-o", "test" ], "problemMatcher": { "base": "$gcc", "fileLocation": [ "search", { "include": [ "${workspaceFolder}" ] } ] }, "group": "build" } ] } ``` I see the following log in the developer tools console, indicating that the error occurred because the file was not found on the host PC. The actual file path is '/home/****/workspace/gcctest'. ``` ERR Error: ENOENT: no such file or directory, scandir 'C:\home\****\workspace\gcctest': EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, scandir 'C:\home\****\workspace\gcctest' at P.create (C:\Users\*****\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:63:3704) at w (C:\Users\*****\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:63:3824) at k.hb (C:\Users\*****\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:69:30688) at k.readdir (C:\Users\*****\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:69:23364) ``` When I placed the files in the path indicated on the host PC, the warning was successfully displayed in the PROBLEMS tab. It seems that the correct behavior should be to search for the files on the remote PC. VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z) OS version: Windows_NT x64 10.0.22631 Modes: Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2 <details><summary>Extensions (6)</summary> Extension|Author (truncated)|Version ---|---|--- remote-ssh|ms-|0.114.3 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.88.3 remote-explorer|ms-|0.4.3 vscode-language-pack-ja|MS-|1.93.2024091109 cpptools|ms-|1.21.6 </details> <!-- generated by issue reporter -->
bug,tasks,remote
low
Critical
2,528,735,608
rust
rustc since 1.36 accepts invalid code after return
<!-- Thank you for filing a regression report! 🐛 A regression is something that changed between versions of Rust but was not supposed to. Please provide a short summary of the regression, along with any information you feel is relevant to replicate it. --> ### Code I tried this code: ```rust fn foo() -> u8 { return 0; let a: u8 = 1; a = 2; // error: second write to an immutable variable return a; } fn main() -> () { println!("{}", foo()); } ``` **rustc-1.35 rejects the code and says:** ``` error[E0384]: cannot assign twice to immutable variable `a` --> <source>:4:5 | 3 | let a: u8 = 1; | - first assignment to `a` 4 | a = 2; | ^^^^^ cannot assign twice to immutable variable ``` **Current rustc accepts the code** I acknowledge that the invalid write happens in a dead region, but still report it as all rustc versions reject the following code: ```rust fn foo() -> u8 { if true { return 0; } let a: u8 = 1; a = 2; // error: second write to an immutable variable return a; } fn main() -> () { println!("{}", foo()); } ```
T-lang,T-compiler,C-discussion
low
Critical
2,528,743,621
tauri
[bug] Windows STATUS_ENTRYPOINT_NOT_FOUND
### Describe the bug I have a Tauri app that uses [Tauri Specta](https://github.com/specta-rs/tauri-specta) to generate bindings for my plugins. On Linux and MacOS everything works fine. But on Windows I cannot generate the bindings as it fails with the following error: (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND) To be sure that I have an issue with this lib, I cloned the repo and ran its tests, but it failed with the same error (I also tried to run the tests on another Windows machine, and it also failed). I'm pretty sure it's not an issue with Tauri Specta itself, but I have no clue how to fix this kind of error. Any help is welcomed ! ### Reproduction Clone the [Tauri Specta](https://github.com/specta-rs/tauri-specta) repository and try to run its tests on a Windows machine. ### Expected behavior It should raise this error when trying to run the tests: (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND) ### Full `tauri info` output ```text [✔] Environment - OS: Windows 10.0.19045 x86_64 (X64) ✔ WebView2: 128.0.2739.79 ✔ MSVC: Visual Studio Build Tools 2022 ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04) ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default) - node: 20.17.0 - yarn: 4.5.0 - npm: 10.8.2 [-] Packages - tauri 🦀: 2.0.0-rc.10 - tauri-build 🦀: 2.0.0-rc.9 - wry 🦀: 0.43.1 - tao 🦀: 0.30.0 - @tauri-apps/api : not installed! - @tauri-apps/cli : 2.0.0-rc.15 [-] Plugins - tauri-plugin-os 🦀: 2.0.0-beta.9 - @tauri-apps/plugin-os : not installed! [-] App - build-type: bundle - CSP: unset - frontendDist: ../dist - devUrl: http://localhost:1420/ - framework: React (Next.js) - bundler: Vite ``` ### Stack trace ```text $ RUST_BACKTRACE=1 cargo test --all --all-features warning: use of deprecated function `deprecated`: This is a deprecated function --> examples\app\src-tauri\src/main.rs:126:13 | 126 | deprecated, | ^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `deprecated`: This is a deprecated function --> examples\app\src-tauri\src/main.rs:126:13 | 126 | deprecated, | ^^^^^^^^^^ warning: field `0` is never read --> examples\app\src-tauri\src/main.rs:111:19 | 111 | pub struct Custom(String); | ------ ^^^^^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` on by default warning: field `a` is never read --> examples\app\src-tauri\src/main.rs:115:5 | 114 | pub struct Testing { | ------- field in this struct 115 | a: String, | ^ warning: `tauri-specta-example-app` (bin "tauri-specta-example-app" test) generated 4 warnings Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s Running unittests src\lib.rs (target\debug\deps\tauri_plugin_specta_example-b9e9267bbe2d2bf0.exe) error: test failed, to rerun pass `-p tauri-plugin-specta-example --lib` Caused by: process didn't exit successfully: `C:\Users\***\tauri-specta\target\debug\deps\tauri_plugin_specta_example-b9e9267bbe2d2bf0.exe` (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND) note: test exited abnormally; to see the full output pass --nocapture to the harness. ``` ### Additional context _No response_
type: bug,status: needs triage
low
Critical
2,528,744,572
rust
Testing under bootstrap does not work on x86_64 macOS 10.14
I tried running this test on 02b1be16c65e5716ade771afde7116ebdfbf9b4a: ```rust uv run --python 3.10 ./x.py test tests/run-make/apple-deployment-target ``` The compiler builds fine, but the test fails with the following message: ``` thread 'main' panicked at $WORKSPACE/tests/run-make/apple-deployment-target/rmake.rs:56:9: failed to get output of finished process: Os { code: 2, kind: NotFound, message: "No such file or directory" } ``` Which is really weird, because every file it uses is clearly available when I look through the directory. I'm not yet sure if this is due to something specific to my setup, perhaps bootstrap doesn't like `uv`? Filing this bug mostly for myself to keep track of. @rustbot label O-macos
A-testsuite,O-macos,T-bootstrap,C-bug
low
Critical
2,528,781,005
ui
[bug]: unable to get local issuer certificate
### Describe the bug PS C:\Users\mr63\OneDrive my-app> npx shadcn@latest init ✔ Preflight checks. ✔ Verifying framework. Found Next.js. ✔ Validating Tailwind CSS. ✔ Validating import alias. Something went wrong. Please check the error below for more details. If the problem persists, please open an issue on GitHub. request to https://ui.shadcn.com/r/styles/index.json failed, reason: unable to get local issuer certificate ### Affected component/components all ### How to reproduce npx shadcn@latest init ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash windows ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,528,788,669
yt-dlp
[orf.at] Unsupported URL and using generic extractor instead of orf.py
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm reporting that yt-dlp is broken on a **supported** site - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command) - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Region all countries ### Provide a description that is worded well enough to be understood Hello guys. Got two links for test: https://oe1.orf.at/programm/20240916/769302/Playgrounds https://sound.orf.at/collection/2/72427/rattle-dirigiert-6-mahler Both fail to download. yt-dlp will switch to generic extractor after that giving unsupported url error. however audio files can be located manually by this links: https://loopstream01.apa.at/?channel=oe1&shoutcast=0&player=radiothek_item_v1&referer=oe1.orf.at&id=2024-09-16_1405_tl_51_7DaysMon20_2491805.mp3&_=1726498267358 https://loopstream01.apa.at/playlist.m3u8?channel=oe1&id=2024-09-15_1103_tl_51_7DaysSun14_2491007.mp3&offset=0&offsetende=5271949&shoutcast=0&player=sound_v1&referer=sound.orf.at&userid=9da0d70b-9d2f-415d-9607-38bc356523d8&cb=1726499239020 ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [X] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell ./yt-dlp -Uv -F "https://sound.orf.at/collection/2/72427/rattle-dirigiert-6-mahler" /Library/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python: can't open file './yt-dlp': [Errno 1] Operation not permitted sy@SYs-MacBook-Air yt-dlp % ./yt-dlp -vU -F "https://sound.orf.at/collection/2/72427/rattle-dirigiert-6-mahler" [debug] Command-line config: ['-vU', '-F', 'https://sound.orf.at/collection/2/72427/rattle-dirigiert-6-mahler'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2024.08.06 from yt-dlp/yt-dlp [4d9231208] (zip) [debug] Python 3.12.2 (CPython arm64 64bit) - macOS-14.6.1-arm64-arm-64bit (OpenSSL 3.0.13 30 Jan 2024) [debug] exe versions: phantomjs 2.1.1, rtmpdump 2.4 [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.7.1, mutagen-1.47.0, requests-2.32.3, sqlite3-3.45.1, urllib3-2.2.2, websockets-12.0 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1835 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: stable@2024.08.06 from yt-dlp/yt-dlp yt-dlp is up to date (stable@2024.08.06 from yt-dlp/yt-dlp) [generic] Extracting URL: https://sound.orf.at/collection/2/72427/rattle-dirigiert-6-mahler [generic] rattle-dirigiert-6-mahler: Downloading webpage WARNING: [generic] Falling back on generic information extractor [generic] rattle-dirigiert-6-mahler: Extracting information [debug] Looking for embeds ERROR: Unsupported URL: https://sound.orf.at/collection/2/72427/rattle-dirigiert-6-mahler Traceback (most recent call last): File "./yt-dlp/yt_dlp/YoutubeDL.py", line 1626, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "./yt-dlp/yt_dlp/YoutubeDL.py", line 1761, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "./yt-dlp/yt_dlp/extractor/common.py", line 741, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "./yt-dlp/yt_dlp/extractor/generic.py", line 2526, in _real_extract raise UnsupportedError(url) yt_dlp.utils.UnsupportedError: Unsupported URL: https://sound.orf.at/collection/2/72427/rattle-dirigiert-6-mahler ```
site-bug,patch-available
low
Critical
2,528,892,794
pytorch
Dynamo: warning when we incorrectly inline autograd.Function.backward due to subclass gradients
(originally reported by @bdhirsh. Below quoted verbatum) More details + repro in [internal xpost](https://fb.workplace.com/groups/1075192433118967/posts/1368547360450138/?comment_id=1368580870446787). Today, when dynamo sees an autograd.Function it runs speculate_subgraph() on the backward. The backward takes in extra grad_output arguments that do not exist at compile time, so dynamo constructs fake inputs on the fly by assuming that they have the same metadata. This can be a problem: if a user has a backward function that specializes a conditional on that (subclass) metadata, then dynamo can burn in the wrong side of the conditional. At runtime of the backward, we don't really have any way of "undoing" dynamo's wrong decision. But one thing we can look into is figuring out how to warn when this situations happens. The user has a few levers at their disposal, like allow_in_graphing their autograd.Function to prevent inlining by dynamo. There is some nuance in how we should decide to emit this warning: (1) At compile time in AOTDispatch: AOTDispatch "also" has to guess (subclass) metadata of the backward, but it only needs to guess at the graph boundary: the actual gradients that get plumbed into the user's custom autograd.Function.backward() when we trace out a joint graph will be whatever metadata gets "propagated" into the backward given AOTAutograd's initial guess. For subclasses that have a very short life-time in the graph like StructuredSparseTensor (inputs/outputs of the graph are all dense, sparsity shows up very briefly as an intermediate), this makes AOTAutograd's guess a bit "better", as long as you capture a large enough graph. So one option is to warn if dynamo and AOTAutograd came to different conclusions at compile time about what the subclass-ness of the gradient was. This is a bit easier to implement, but has the slight risk of our warning being wrong (both false positive and false negative) (2) At runtime: when the backward is running, we have "true" information about whether the value that dynamo chose to inline with was right/wrong. This will give us a fully correct warning, but will be a bit more work to implement. At compile time, we need to figure out how to get "given dynamo's guess about the subclass-ness of its autograd.Function.backward input, what would be a correct/incorrect subclass metadata for the backward graph's grad_outputs". If we are going through the work of emitting a warning, (2) probably seems better. cc @ezyang @albanD @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames @rec @bdhirsh
triaged,tensor subclass,oncall: pt2,module: dynamo,module: pt2-dispatcher
low
Minor
2,528,927,890
deno
Config path not included when using deno install --config but added a default name instead
From https://github.com/denoland/deno/issues/17834#issuecomment-1438861398 Version: Deno 1.46.3 Let suppose my project name is `cat`, when running the following script: `deno install -g -c /some/absolute/path/to/deno.json mod.ts` The generated installed file looks like this: ```zsh #!/bin/sh # generated by deno install exec deno run --config /home/my_user/.deno/bin/.cat.deno.json 'file:///path/to/my/project/mod.ts' "$@" ``` Basically the path provided in `--config`/`-c` is not taken into account. Is this expected? Should I make a copy of my deno.json into the deno bin folder named `.cat.deno.json`? Thanks
bug,config
low
Minor
2,528,947,226
vscode
URI not properly serialized when sent to webworker
1. open vscode.dev and open a local folder. 2. Set a breakpoint in `localFileSearch.ts`, on the first line of `$searchDirectory` 3. Run a search. 4. Notice that, when the `folderQuery` arrives at `$searchDirectory`, it does not have a `$mid` field in its `folder` field. This causes `revive(folderQuery)` to not properly deserialize the URI. I found this when debugging https://github.com/microsoft/vscode/issues/227742. I have a workaround for this linked bug, but for more long-term support, we should figure out what's happening here.
feature-request,debt,engineering,uri
low
Critical
2,528,958,953
flutter
`total_ui_gc_time:dynamic_path_tessellation_perf_ios__timeline_summary` 46% regression
There has been a regression in `total_ui_gc_time` introduced in https://github.com/flutter/flutter/pull/155194. ## dashboard https://flutter-flutter-perf.skia.org/e/?keys=Xc1b21aeae1d1cb98303548111d2f8ac3&selected=commit%3D42577%26name%3D%252Carch%253Dintel%252Cbranch%253Dmaster%252Cconfig%253Ddefault%252Cdevice_type%253DiPhone_11%252Cdevice_version%253Dnone%252Chost_type%253Dmac%252Csub_result%253Dtotal_ui_gc_time%252Ctest%253Ddynamic_path_tessellation_perf_ios__timeline_summary%252C&xbaroffset=42577
c: performance,P2,team-engine,triaged-engine
low
Minor
2,528,979,525
godot
changing the mesh in a meshinstance in a remote scene makes it empty
### Tested versions 4.2.2 stable, 4.3 stable ### System information Windows 10 ### Issue description Trying to change the mesh in a mesh instance while the game is running from the remote tab, removes the mesh / resets its state to empty in the game. Setting it in the 'local' tab works as expected. I wanted to test a different mesh at runtime, in my original project the scene was instanced by code and expected that the remote changed mesh would be the mesh that I selected (at least in the game window, and back no normal on the next start) https://github.com/user-attachments/assets/ee260b4c-db64-4f0d-bd49-c7d359b327e4 ### Steps to reproduce try to change the mesh in the mesh instance when remote debugging, it could even be the same obj as already in there ### Minimal reproduction project (MRP) Originally experienced with my current game project in godot 4.2.2 stable, tried then with 4.3 stable and finally with a brand new project
bug,topic:editor,confirmed
low
Critical
2,529,023,588
PowerToys
Allow "Ctrl+Shift+Alt+Win" combination in Keyboard Manager - Remap a shortcut.
### Description of the new feature / enhancement The combination "Ctrl+Shift+Alt+Win" is not allowed in Keyboard Manager - Remap a shortcut. The program expects another "neutral" key to form a valid combination, although this combination is valid by itself and triggers a bloatware app by default. ### Scenario when this would be used? I have a Microsoft bluetooth keyboard (similar to [this one](https://m.media-amazon.com/images/I/61sDEUU00CL._AC_UF894,1000_QL80_.jpg)) with an annoying button near the rightmost Alt key. It is actually mapped to the following combination - "Ctrl+Shift+Alt+Win", which opens up the "Microsoft 365 (Office)" program. This key is always pressed by accident (because why otherwise) and the window that pops up interferes with my work, so using PowerToys to disable this key/remap to another useful program would be very nice! ### Supporting information _No response_
Needs-Triage
low
Minor
2,529,039,046
godot
Godot runs the game when exporting.
### Tested versions v4.4.dev2.official [97ef3c837] But it happens in 4.3 too ### System information Godot v4.4.dev2 - Windows 10.0.19045 - OpenGL 3 (Compatibility) - NVIDIA GeForce GTX 960 (NVIDIA; 32.0.15.5612) - Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 Threads) ### Issue description Godot runs the game when I export. Happens on all buttons, debug / no debug. Compatibility, Forward+ and Mobile. ### Steps to reproduce 1) In the export menu under Application, turn on Modify Resources 2) Export (I don't have rcedit set up) ![image](https://github.com/user-attachments/assets/377f31b2-87a9-4ec1-8575-625defcd1646) https://github.com/user-attachments/assets/e672c32a-b337-4366-8e99-7855ac12d22f ### Minimal reproduction project (MRP) [mrp.zip](https://github.com/user-attachments/files/17017027/mrp.zip)
bug,platform:windows,needs testing,topic:export
low
Critical
2,529,053,806
kubernetes
Missing details in nodeAffinity's API specification
### What happened? > Orinigal issue: https://github.com/kubernetes/kubernetes/issues/126531 > This issue is re-created here instead of in `kubernetes/website` because the API specification in `kubernetes/kubernetes` needs to be fixed. The `pod.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields` is introduced in PR [#62202](https://github.com/kubernetes/kubernetes/pull/62002) and used to bind a pod directly to nodes via `metadata.name`. However, we discovered some hidden constraints on this field that are not documented in the API specification. More concretely, the current API specification only says that ``` > kubectl explain pod.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields KIND: Pod VERSION: v1 FIELD: matchFields <[]NodeSelectorRequirement> DESCRIPTION: A list of node selector requirements by node's fields. A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. FIELDS: key <string> -required- The label key that the selector applies to. operator <string> -required- enum: DoesNotExist, Exists, Gt, In, .... Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. Possible enum values: - `"DoesNotExist"` - `"Exists"` - `"Gt"` - `"In"` - `"Lt"` - `"NotIn"` values <[]string> An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. ``` **This does not specify that its key must be `metadata.name`, its operator must be `In` or `NotIn`, and the number of its values must be exactly one (though the term itself can be defined multiple times in `nodeSelectorTerms`)** **And, the value in values must match this regex expression: `[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)`** >Invalid value: \"f-RohHl\": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')] This issue has also caused confusion in [#115980](https://github.com/kubernetes/kubernetes/issues/115980), [#81725](https://github.com/kubernetes/kubernetes/issues/81725), [#78238](https://github.com/kubernetes/kubernetes/issues/78238) and a reddit [thread](https://stackoverflow.com/questions/67018171/kubernetes-what-are-valid-node-fields) ### What did you expect to happen? The hidden constraints should be explicitly documented in the API specification. ### How can we reproduce it (as minimally and precisely as possible)? Read the output of `kubectl describe` and the API specification. ### Anything else we need to know? /sig docs scheduling ### Kubernetes version Since 1.11, exists in 1.30 ### Cloud provider <details> </details> ### OS version <details> ```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ``` </details> ### Install tools <details> </details> ### Container runtime (CRI) and version (if applicable) <details> </details> ### Related plugins (CNI, CSI, ...) and versions (if applicable) <details> </details>
kind/bug,sig/scheduling,sig/docs,needs-triage
low
Major
2,529,089,181
excalidraw
Duplication of element while dragging with switching other software on Windows (because Alt + Tab)
ERROR: type should be string, got "\r\nhttps://github.com/user-attachments/assets/474d6ffa-1fa9-4599-af79-95ff9a7fae30\r\n\r\nwhenever i select element, drag that element and switch between software ( for window ALT + TAB ) at the same time, it duplicate. "
good first issue
low
Major
2,529,096,935
go
proposal: go/types: add Import, Export functions
[Status: WORK IN PROGRESS. Do not review yet.] **Background:** The package [golang.org/x/tools/go/gcexportdata](https://pkg.go.dev/golang.org/x/tools/go/gcexportdata) provides two functions, Write and Read. As described in https://github.com/golang/go/issues/68898, they serve two purposes: 1. a serialization mechanism for types.Package values. They assume that writer and reader are compiled from the same source code; there is no protocol stability. 2. a mechanism to read export data written by last "tip + 2" releases of the Go compiler. These two purposes are quite independent, and the actual protocols they use are unrelated. (The first uses "indexed" form, the second "unified".) Much of the challenge of maintaining go/types and x/tools/go/gcexportdata comes from version skew between std and x/tools: witness the number of delicate changes to both made recently to support materialized Alias types, and then the addition of type parameters to aliases. In this instance, the skew is unnecessary as the codec can be tightly coupled go/types and needn't support any other versions. **Proposal:** We propose to add the read and write functions to go/types itself: ```go package types // "go/types" // Export returns a serialized form of pkg that can be read by the same version of [Import]. // The encoding is not specified and may change at any time. func Export(fset *token.FileSet, pkg *Package, opts ExportOptions) ([]byte, error) type ExportOptions struct { Deep bool // encode information about dependencies too } // Import returns the package described by data, // which must have been produced by the same version of [Export]. // It calls importDeps at most once to obtain all needed direct dependencies (perhaps in parallel). func Import(fset *token.FileSet, data []byte, importDeps importDepsFunc, path string, opts ImportOptions) (*Package, error) type ImportOptions struct { /* for future use */ } type importDepsFunc = func(packagePaths []string) ([]*types.Package, error) ``` This API is a synthesis of gcexportdata and internal/gcimporter.{Im,Ex}portShallow, which are used by gopls for "shallow" encodings. Open questions: - The implementation of Export and Import depend on objectpath. How would this work in go/types? - Assuming the legacy uses of Read for files produced by Write (not cmd/compile) would be supported by (eventually) delegating to types.Import, that would break the implicit promise that newer versions of Read can consume files produced by older versions of Write, which is not something that `types.Import,Export` would guarantee. How disruptive is that likely to be? I suspect that no existing tools rely on this implicit promise because we often temporarily break it during the course of normal development (e.g. adding generics, type aliases) over many CLs. @griesemer @findleyr @timothy-king @znkr (for shallow export data)
Proposal
low
Critical
2,529,119,355
flutter
Textfield with FocusNode Rendered within an iFrame on Web Refuses to Lose Focus
### Steps to reproduce 1. Create a flutter app with the following `main.dart` file (this is just a hello world flutter app that contains a textfield along with a focusnode): ```dart import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), home: const MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({super.key, required this.title}); final String title; @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { int _counter = 0; // Declare the FocusNode late FocusNode _focusNode; @override void initState() { super.initState(); // Initialize the FocusNode _focusNode = FocusNode(); } @override void dispose() { // Dispose of the FocusNode _focusNode.dispose(); super.dispose(); } void _incrementCounter() { setState(() { _counter++; }); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(widget.title), backgroundColor: Theme.of(context).colorScheme.inversePrimary, ), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ Text('You have pushed the button this many times:'), Text( '$_counter', style: Theme.of(context).textTheme.headlineMedium, ), const SizedBox(height: 20), // Add spacing // Add the TextField widget Padding( padding: const EdgeInsets.symmetric(horizontal: 40.0), child: TextField( focusNode: _focusNode, decoration: const InputDecoration( labelText: 'Enter text', border: OutlineInputBorder(), ), ), ), ], ), ), floatingActionButton: FloatingActionButton( onPressed: () { _incrementCounter(); // Request focus when the button is pressed _focusNode.requestFocus(); }, tooltip: 'Increment', child: const Icon(Icons.add), ), ); } } ``` 2. Build the app with `flutter build web` 3. Run this dart file to statically serve the flutter web application on port 3000: ```dart import 'package:shelf/shelf_io.dart' as io; import 'package:shelf_plus/shelf_plus.dart' show Pipeline; import 'package:shelf_static/shelf_static.dart'; import 'package:shelf/shelf.dart'; Map<String, String> corsHeaders = { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': '*', }; Middleware cors = createMiddleware(responseHandler: (response) { return response.change(headers: corsHeaders); }, requestHandler: (request) { if (request.method == 'OPTIONS') { return Response.ok(null, headers: corsHeaders); } return null; }); void main() async { Pipeline pipeline = Pipeline(); // pipeline = pipeline.addMiddleware(shelf.logRequests()); pipeline = pipeline.addMiddleware(cors); var server = await io.serve( pipeline.addHandler(createStaticHandler('build/web', defaultDocument: 'index.html')), 'localhost', 3000, poweredByHeader: '', ); /// This will remove default headers from the server. server.defaultResponseHeaders.removeAll('X-Frame-Options'); // server.defaultResponseHeaders.add('X-Frame-Options', 'null'); } ``` 4. open this html file in your browser (this simply opens up an iframe to localhost:3000) ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Iframe Example</title> <style> body { margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; } iframe { width: 50vw; /* 50% of the viewport width */ height: 100vh; /* 100% of the viewport height */ border: none; /* Remove default border */ } </style> </head> <body> <input placeholder="normal browser text input"> <iframe src="http://localhost:3000"></iframe> </body> </html> ``` 5. click on the flutter app's `TextField` input widget 6. Attempt to click on the browser input with the placeholder 'normal browser text input' 7. The flutter TextField will momentarily lose focus, to only request it again, making it impossible to type into the other normal text input without clicking outside of the TextField in the flutter application ### Expected results I would expect that if you click outside of an iFrame that is a flutter web application, a focused TextField should properly lose focus ### Actual results The Flutter TextField does not lose focus until you click outside of the TextField within the flutter application ### Code sample <details open><summary>Code sample</summary> I provided the code sample earlier </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> https://github.com/user-attachments/assets/80a4d81b-90a2-4ebe-8be3-19acf8eec048 </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.24.3, on macOS 14.3.1 23D60 darwin-arm64, locale en-US) [!] Android toolchain - develop for Android devices (Android SDK version 33.0.2) ✗ cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/to/macos-android-setup for more details. [!] Xcode - develop for iOS and macOS (Xcode 15.3) ✗ Unable to get list of installed Simulator runtimes. [✓] Chrome - develop for the web [✓] Android Studio (version 2022.2) [✓] IntelliJ IDEA Ultimate Edition (version 2024.2.1) [✓] IntelliJ IDEA Community Edition (version 2023.3.4) [✓] VS Code (version 1.93.0) [✓] Connected device (3 available) [✓] Network resources ! Doctor found issues in 2 categories. ``` </details>
a: text input,framework,platform-web,f: focus,has reproducible steps,P2,workaround available,team-web,triaged-web,found in release: 3.24,found in release: 3.26
low
Major
2,529,180,289
flutter
`CupertinoAlertDialog` and `CupertinoActionSheet` should update highlight area upon reparenting or relayouting
`CupertinoAlertDialog` and `CupertinoActionSheet` uses a private class, `_TargetSelectionGestureRecognizer`, to recognize the widgets that a pointer moves into, which basically reimplements a simplified `MouseTracker`. However, it misses the following features from `MouseTracker`: * If the app is relayouted, then the pointer should reperform hit testing, since the widgets might have moved around. This shouldn't be problem in typical usage of dialogs and action sheets, but might matter for customized cases. In fact, we should probably reuse the code of `MouseTracker` for `_TargetSelectionGestureRecognizer`, or allow touch pointers to calculate hovering when needed. This is not done for now due to the complexity it might involve, and the performance cost that it might introduce.
framework,f: cupertino,P3,team-framework,triaged-framework
low
Major
2,529,250,028
go
x/tools/gopls: no completions provided in some seemingly straightforward cases
### gopls version ``` Build info ---------- golang.org/x/tools/gopls v0.16.2 golang.org/x/tools/gopls@v0.16.2 h1:K1z03MlikHfaMTtG01cUeL5FAOTJnITuNe0TWOcg8tM= github.com/BurntSushi/toml@v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/google/go-cmp@v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= golang.org/x/exp/typeparams@v0.0.0-20221212164502-fae10dda9338 h1:2O2DON6y3XMJiQRAS1UWU+54aec2uopH3x7MAiqGW6Y= golang.org/x/mod@v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= golang.org/x/sync@v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= golang.org/x/telemetry@v0.0.0-20240829154258-f29ab539cc98 h1:Wm3cG5X6sZ0RSVRc/H1/sciC4AT6HAKgLCSH2lbpR/c= golang.org/x/text@v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= golang.org/x/tools@v0.22.1-0.20240829175637-39126e24d653 h1:6bJEg2w2kUHWlfdJaESYsmNfI1LKAZQi6zCa7LUn7eI= golang.org/x/vuln@v1.0.4 h1:SP0mPeg2PmGCu03V+61EcQiOjmpri2XijexKdzv8Z1I= honnef.co/go/tools@v0.4.7 h1:9MDAWxMoSnB6QoSqiVr7P5mtkT9pOc1kSxchzPCnqJs= mvdan.cc/gofumpt@v0.6.0 h1:G3QvahNDmpD+Aek/bNOLrFR2XC6ZAdo62dZu65gmwGo= mvdan.cc/xurls/v2@v2.5.0 h1:lyBNOm8Wo71UknhUs4QTFUNNMyxy2JEIaKKo0RWOh+8= go: go1.23.0 ``` ### go env ```shell not relevant ``` ### What did you do? I have a text file like this, where `|` represents the cursor position: ``` package main func main() { foobar := []int{1, 2, 3} if len(foo| } ``` ### What did you see happen? I invoked completion (the LSP action is `textDocument/completion`) and got zero results. I also used the gopls rpc trace log to verify that gopls got the request and was sending back zero items, so it's not related to some editor integration issue. ### What did you expect to see? I want to see `foobar` as a suggested completion (probably the only one). Here are some similar situations where `foobar` *is* the suggested completion: ``` package main func main() { foobar := []int{1, 2, 3} foo| } ``` ``` package main func main() { foobar := []int{1, 2, 3} len(foo| } ``` ``` package main func main() { foobar := []int{1, 2, 3} if foo| } ``` ``` package main func main() { foobar := []int{1, 2, 3} if len(foo|) } ``` ### Editor and settings _No response_ ### Logs The completion trace request/response looks like this: ``` [Trace - 11:52:32.791 AM] Sending request 'textDocument/completion - (22)'. Params: {"position":{"character":12,"line":8},"textDocument":{"uri":"file:\/\/\/..path elided...\/x\/x.go"}} [Trace - 11:52:32.792 AM] Received response 'textDocument/completion - (22)' in 0ms. Result: {"isIncomplete":true,"items":[]} ```
gopls,Tools,gopls/parsing,gopls/completion
low
Minor
2,529,255,062
vscode
Switching between panes after changing clipboard with globalFindClipboard=true causes search field to be focused erroneously
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: Version: 1.93.1 - OS Version: macOS 13.6.5 This bug drives me crazy when switching between panes, because the keyboard focus will shift to the wrong part of the UI and cause my typing to show up in the find panel rather than the actual file I'm trying to edit. Steps to Reproduce: 1. Set user preference `editor.find.globalFindClipboard` to `true` 2. Open a new window 3. Pick the menu View > Editor Layout > Two Columns 4. With the left column focused, type in some text, any text. (It doesn't matter what it is.) 5. Pick the menu Edit > Find to open the find panel. 6. Type 'foo' into the find panel 7. Select the text you typed in the leftmost column so that the find panel does not have keyboard focus 8. Switch focus to the rightmost column 9. Pick the menu File > New Text File 10. Pick the menu Edit > Find to open the find panel in the rightmost pane 11. Type 'bar' into it 12. Click inside the leftmost column to attempt to move keyboard focus to it 13. Note that the focus actually erroneously moves to the find pane, _not the text editor!_
bug,editor-find
low
Critical
2,529,287,927
neovim
Weird visual selection rendering for double-width character under cursor
### Problem Since 26be6446e5ea1c5b22c50bfd9a0e5aa85927aff9, some new characters are treated as double-width rather than single. However the rendering of the cursor when on these characters is not consistent with the previous double width characters, e.g. emojis: - Cursor doesn't take up two columns - Visual selection doesn't account for the extra column See below: ![image](https://github.com/user-attachments/assets/46614f4d-0c69-456c-998d-427fac0f8ee5) (blank space in visual selection, should look like this:) ![image](https://github.com/user-attachments/assets/ee86c25c-26ac-4b19-bb24-97c3df7f2fc9) ### Steps to reproduce `nvim --clean` `:edit foo` `i🗹<Esc>` ### Expected behavior The new double width characters act like emojis, where the cursor takes up two columns which prevents the weird rendering ### Neovim version (nvim -v) v0.11.0-nightly+b6e350a ### Vim (not Nvim) behaves the same? no, vim 9.1 ### Operating system/version NixOS, linux kernel 6.10.7 ### Terminal name/version kitty 0.36.1 ### $TERM environment variable xterm-kitty ### Installation build from source
bug-vim,tui,has:workaround,display,unicode 💩,visual-mode
low
Major
2,529,365,961
pytorch
DISABLED test_pcontext_wait_on_a_child_thread (__main__.StartProcessesAsFuncTest)
Platforms: rocm This test was disabled because it is failing on main branch ([recent examples](https://torch-ci.com/failure?failureCaptures=%5B%22distributed%2Felastic%2Fmultiprocessing%2Fapi_test.py%3A%3AStartProcessesAsFuncTest%3A%3Atest_pcontext_wait_on_a_child_thread%22%5D)). Error occurs because ROCm CI is still on py3.8. We are in the process of upgrading ROCm CI jobs to py3.10 - https://github.com/pytorch/pytorch/pull/134108 - which should resolve this issue. cc @jeffdaily @sunway513 @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang
module: rocm,triaged,skipped
low
Critical
2,529,485,423
yt-dlp
[YouTube] For videos with big description yt-dlp is failing to embedded both thumbnail and metadata
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm reporting that yt-dlp is broken on a **supported** site - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command) - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Region UAE ### Provide a description that is worded well enough to be understood Normally this command work fine, but for some videos (example - https://www.youtube.com/watch\?v\=9tRCSCTMCTY) I've got ` Invalid argument` error. Command: ``` yt-dlp \ https://www.youtube.com/watch\?v\=9tRCSCTMCTY \ -v \ -f 140 \ -x \ --audio-format m4a \ -o "downloads/%(extractor)s/%(id)s/%(format_id)s/%(title).150s.%(ext)s" \ --write-thumbnail \ -o "thumbnail:downloads/%(extractor)s/%(id)s/%(format_id)s/%(title).150s.%(ext)s" \ --convert-thumbnails jpg \ --embed-metadata \ --embed-thumbnail \ --no-mtime \ -N 10 \ -R 3 \ --no-warnings \ --socket-timeout 5 \ --print after_move:filepath ``` Result: ```ERROR: Postprocessing: Unable to embed using ffprobe & ffmpeg; Error opening output files: Invalid argument``` The very same command, but without ` --embed-thumbnail` or without ` --embed-metadata` works fine. My guess is video's description is too big, but not sure, what is the limit and how exactly it affects postprocessing. P.S. ``` yt-dlp -vU [debug] Command-line config: ['-vU'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2024.08.06 from yt-dlp/yt-dlp [4d9231208] [debug] Lazy loading extractors is disabled [debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.8.0-44-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35) [debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2 [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.08.30, mutagen-1.47.0, requests-2.32.3, sqlite3-3.37.2, urllib3-2.2.2, websockets-13.0.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Loaded 1832 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: stable@2024.08.06 from yt-dlp/yt-dlp yt-dlp is up to date (stable@2024.08.06 from yt-dlp/yt-dlp) ``` ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell time yt-dlp \ https://www.youtube.com/watch\?v\=9tRCSCTMCTY \ -v \ -f 140 \ -x \ --audio-format m4a \ -o "downloads/%(extractor)s/%(id)s/%(format_id)s/%(title).150s.%(ext)s" \ --write-thumbnail \ -o "thumbnail:downloads/%(extractor)s/%(id)s/%(format_id)s/%(title).150s.%(ext)s" \ --convert-thumbnails jpg \ --embed-metadata \ --embed-thumbnail \ --no-mtime \ -N 10 \ -R 3 \ --no-warnings \ --socket-timeout 5 \ --print after_move:filepath [debug] Command-line config: ['https://www.youtube.com/watch?v=9tRCSCTMCTY', '-v', '-f', '140', '-x', '--audio-format', 'm4a', '-o', 'downloads/%(extractor)s/%(id)s/%(format_id)s/%(title).150s.%(ext)s', '--write-thumbnail', '-o', 'thumbnail:downloads/%(extractor)s/%(id)s/%(format_id)s/%(title).150s.%(ext)s', '--convert-thumbnails', 'jpg', '--embed-metadata', '--embed-thumbnail', '--no-mtime', '-N', '10', '-R', '3', '--no-warnings', '--socket-timeout', '5', '--print', 'after_move:filepath'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2024.08.06 from yt-dlp/yt-dlp [4d9231208] [debug] Lazy loading extractors is disabled [debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.8.0-44-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35) [debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2 [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.08.30, mutagen-1.47.0, requests-2.32.3, sqlite3-3.37.2, urllib3-2.2.2, websockets-13.0.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Loaded 1832 extractors [youtube] Extracting URL: https://www.youtube.com/watch?v=9tRCSCTMCTY [youtube] 9tRCSCTMCTY: Downloading webpage [youtube] 9tRCSCTMCTY: Downloading ios player API JSON [youtube] 9tRCSCTMCTY: Downloading web creator player API JSON [debug] Loading youtube-nsig.3c3d6e4f from cache [debug] [youtube] Decrypted nsig BjKEYiE54V4VcfvHD => LNplIh8yUGRyPw [youtube] 9tRCSCTMCTY: Downloading m3u8 information [debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto [debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id [info] 9tRCSCTMCTY: Downloading 1 format(s): 140 [info] Downloading video thumbnail 41 ... [info] Writing video thumbnail 41 to: downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.webp [ThumbnailsConvertor] Converting thumbnail "downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.webp" to jpg [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -f image2 -pattern_type none -i 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.webp' -update 1 -bsf:v mjpeg2jpeg -movflags +faststart 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.jpg' Deleting original file downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.webp (pass -k to keep) [debug] Invoking http downloader on "https://rr14---sn-n8v7kn76.googlevideo.com/videoplayback?expire=1726541677&ei=DZvoZpuwD7uZv_IPpovW6QE&ip=109.120.152.30&id=o-AHNIl0W1cHMC3V6LlxwoYruxgEMtU77YOOxyI8faMwHW&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&hcs=sd%2C&mh=UX&mm=31%2C26&mn=sn-n8v7kn76%2Csn-c0q7lns7&ms=au%2Conr&mv=u&mvi=14&pl=24&smhost=rr9---sn-n8v7kn7y.googlevideo.com%2C&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=142274548&dur=8791.074&lmt=1726405641371212&mt=1726518187&fvip=5&keepalive=yes&c=IOS&txp=3308224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAO_N1R8JxO4bbL1k2mxUU0JeTl3VxHHfWSTAgCBxF2okAiBLIebn7aPti5-613EMnocGRu-qBXoZ3eFYyp4MMHyuDw%3D%3D&lsparams=hcs%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Csmhost&lsig=ABPmVW0wRQIgXmHKXb17rmgTFr2ht5cnwRSs-kXmdnbPrQzUSJd7XzICIQDE3aLTmed9qYNwhx73HGJi9cko5Yf6cjV_PvFMOHwfvw%3D%3D" [download] Destination: downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a [download] Download completed [FixupM4a] Correcting container of "downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a' -map 0 -dn -ignore_unknown -c copy -f mp4 -movflags +faststart 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.temp.m4a' [debug] ffmpeg command line: ffprobe -show_streams 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a' [ExtractAudio] Not converting audio downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a; file is already in target format m4a [Metadata] Adding metadata to "downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a' -i 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.meta' -map 0 -dn -ignore_unknown -vn -acodec copy -map_metadata 1 -write_id3v1 1 -metadata 'title=Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси' -metadata date=20240915 -metadata 'description=Рекламный уголок Запустить IT-бизнес в Казахстане с налоговыми льготами от Astana Hub и бонусами от Ильи Варламова - https://astanahub.com/ru/l/kak-otkryt-it-kompanyiu-v-kazakhstane2 Купить уютные свитшоты в моем магазине мерча: https://shop.varlamov.ru/svitshot?utm_source=youtube&amp;utm_medium=chp080924&amp;utm_campaign=sweatshirts Путеводитель по Лондону от Варламова: https://vrlmv.com/k5Anad Константин Пинаев, гид «Вокруг Лондона за 40 шагов»: https://londopolia.com ТГ-канал Пинаева: https://t.me/AroundLondonin40steps Канал Кашина: www.youtube.com/user/anotherkashin ТГ-канал Кашина: https://t.me/kashinplus Ютуб-канал Лёвы: https://youtube.com/levik Блог Лёвы: https://levik.blog Ютуб-канал Вадима: https://youtube.com/@vadimslavich ТГ-канал Вадима: https://t.me/vadimfrance Консультант по Японии: https://t.me/japanconsult Поддержать: Все способы: https://vrlmv.com/donation Patreon: https://vrlmv.com/4acT9L Спонсорство: https://vrlmv.com/JK486h Телеграм: https://vrlmv.com/EQDi3i Новостной ТГ: https://vrlmv.com/MBHYUy Закрытый канал Varlamov +: https://vrlmv.com/OfPC11 Easy Creators — медиа-консалтинг Ильи Варламова и Майи Вольф: https://easycreators.pro/?utm_source=youtube_vrlm&utm_medium=description Панки: что с ними стало https://youtu.be/5RUSXWHMiRI СССР против традиционных ценностей https://youtu.be/bt3LATUtDjQ Таймкоды: 00:00:00 Начало 00:03:13 Самолет с «неприличным» названием будет выполнять рейсы в Прагу 00:06:08 Запустите IT-бизнес в Казахстане 00:08:37 Канадец создал велодом для бездомных 00:11:13 Археологи нашли в Великом Новгороде берестяную грамоту со странным пожеланием 00:12:24 Рязанское десантное училище сообщило, что у их курсантов с третьего курса появляется «уникальная возможность» — поехать воевать в Украину 00:14:53 Члены одной семьи сирийских беженцев совершили в Германии 111 преступлений 00:19:00 Блогер, собирающий гуманитарку на “сво”, купил себе люкс-авто 00:20:33 “Z-военкор” Сладков рассказал, что при Шойгу на него завели дело 00:22:24 В курском «Красном и Белом» мужчина из автомата выстрелил в потолок 00:23:50 Мой мерч 00:25:10 Командир спецназа «Ахмат» высказался по поводу драки в Анапе 00:33:24 В Курске чиновник получил выговор за рекламу службы по контракту, на которой изобразили солдата ВСУ 00:36:16 В Мурманской области были обстреляны легкомоторные самолеты, которые приняли за БПЛА 00:37:16 «Лучшего молодого учителя года» из Хабаровска уволили за занятия танцами 00:40:49 Мои путеводители 00:41:43 Власти Ирана планируют перенести столицу страны 00:45:12 Ремонт китайского авто в России может затянуться на полгода 00:47:24 Парень из Нью-Йорка удаленно подключается к автомойке в Черногории 00:48:09 Православный олигарх Малофеев женился на уполномоченной по правам ребёнка Львовой-Беловой 00:54:31 В России хотят усложнить процесс развода 00:55:51 Первый выход «туристов» в открытый космос 00:58:09 В России зафиксировали рекордно низкую рождаемость — ниже, чем в 90-е годы 00:59:39 Комментарий Олега Кашина 01:03:38 Леонида Волкова заказал Невзлин, подтвердили расследователи ФБК 01:22:13 В Англии бездомный музыкант стал звездой Тиктока 01:23:44 Репортаж из Лондона 01:28:10 Флаг России длиной два километра шьют в Иркутской области, чтобы побить рекорд 01:29:08 Все россияне должны служить в армии независимо от здоровья 01:33:19 ФСИН массово предлагает заключенным-иностранцам отбывать наказание на родине 01:35:52 Больше трети мигрантов предпочитают шариат законодательству России 01:40:39 Нижегородская чиновница удалила профиль «ВКонтакте» после критики за платье 01:43:10 В Пермском крае девушкам заплатят за рождение ребёнка от участника СВО 01:44:12 Репортаж из Японии 01:46:39 На избирательном участке под Рязанью уличный туалет рухнул вместе с членом комиссии 01:49:37 В Московской области пять кандидатов от партии «Единая Россия» получили одинаковое количество голосов — по 2089 01:51:51 Фото: не выборы, а цирк 01:53:00 Париж показал 100% явку на выборах главы Башкортостана 01:53:46 «Добровольцы»-военные выгнали с УИК №250 в Казани члена комиссии 01:54:58 Лева из Нью-Йорка 02:05:16 Губернатор Брянской области предложил лишать высшего образования людей без природного дара 02:06:54 Наталья Поклонская показала херсонским детям на открытом уроке руны 02:11:07 Причиной проблем с регистрацией новых Google-аккаунтов могла стать блокировка SMS-шлюза российскими надзорными органами 02:12:23 Репортаж из Франции 02:19:54 В Красноярском Крае 35-летнему сироте выдали вместо положенной по закону квартиры место в общежитии 02:20:47 Картина из дома бывшего замминистра обороны Булгакова с арестованными и не только генералами была срисована с коробки с игрушечными солдатиками 02:22:28 Белорусский аналог ютуба в итоге оказался просто сайтом, куда госСМИ заливают ролики про Лукашенко 02:23:43 Администрация ВШЭ пытается взять под контроль страницы студсоветов во «ВКонтакте» 02:24:48 Бон Джови спас женщину 02:25:53 Финал Реклама: ads@varlamov.me #варламов #новости #чп' -metadata 'synopsis=Рекламный уголок Запустить IT-бизнес в Казахстане с налоговыми льготами от Astana Hub и бонусами от Ильи Варламова - https://astanahub.com/ru/l/kak-otkryt-it-kompanyiu-v-kazakhstane2 Купить уютные свитшоты в моем магазине мерча: https://shop.varlamov.ru/svitshot?utm_source=youtube&amp;utm_medium=chp080924&amp;utm_campaign=sweatshirts Путеводитель по Лондону от Варламова: https://vrlmv.com/k5Anad Константин Пинаев, гид «Вокруг Лондона за 40 шагов»: https://londopolia.com ТГ-канал Пинаева: https://t.me/AroundLondonin40steps Канал Кашина: www.youtube.com/user/anotherkashin ТГ-канал Кашина: https://t.me/kashinplus Ютуб-канал Лёвы: https://youtube.com/levik Блог Лёвы: https://levik.blog Ютуб-канал Вадима: https://youtube.com/@vadimslavich ТГ-канал Вадима: https://t.me/vadimfrance Консультант по Японии: https://t.me/japanconsult Поддержать: Все способы: https://vrlmv.com/donation Patreon: https://vrlmv.com/4acT9L Спонсорство: https://vrlmv.com/JK486h Телеграм: https://vrlmv.com/EQDi3i Новостной ТГ: https://vrlmv.com/MBHYUy Закрытый канал Varlamov +: https://vrlmv.com/OfPC11 Easy Creators — медиа-консалтинг Ильи Варламова и Майи Вольф: https://easycreators.pro/?utm_source=youtube_vrlm&utm_medium=description Панки: что с ними стало https://youtu.be/5RUSXWHMiRI СССР против традиционных ценностей https://youtu.be/bt3LATUtDjQ Таймкоды: 00:00:00 Начало 00:03:13 Самолет с «неприличным» названием будет выполнять рейсы в Прагу 00:06:08 Запустите IT-бизнес в Казахстане 00:08:37 Канадец создал велодом для бездомных 00:11:13 Археологи нашли в Великом Новгороде берестяную грамоту со странным пожеланием 00:12:24 Рязанское десантное училище сообщило, что у их курсантов с третьего курса появляется «уникальная возможность» — поехать воевать в Украину 00:14:53 Члены одной семьи сирийских беженцев совершили в Германии 111 преступлений 00:19:00 Блогер, собирающий гуманитарку на “сво”, купил себе люкс-авто 00:20:33 “Z-военкор” Сладков рассказал, что при Шойгу на него завели дело 00:22:24 В курском «Красном и Белом» мужчина из автомата выстрелил в потолок 00:23:50 Мой мерч 00:25:10 Командир спецназа «Ахмат» высказался по поводу драки в Анапе 00:33:24 В Курске чиновник получил выговор за рекламу службы по контракту, на которой изобразили солдата ВСУ 00:36:16 В Мурманской области были обстреляны легкомоторные самолеты, которые приняли за БПЛА 00:37:16 «Лучшего молодого учителя года» из Хабаровска уволили за занятия танцами 00:40:49 Мои путеводители 00:41:43 Власти Ирана планируют перенести столицу страны 00:45:12 Ремонт китайского авто в России может затянуться на полгода 00:47:24 Парень из Нью-Йорка удаленно подключается к автомойке в Черногории 00:48:09 Православный олигарх Малофеев женился на уполномоченной по правам ребёнка Львовой-Беловой 00:54:31 В России хотят усложнить процесс развода 00:55:51 Первый выход «туристов» в открытый космос 00:58:09 В России зафиксировали рекордно низкую рождаемость — ниже, чем в 90-е годы 00:59:39 Комментарий Олега Кашина 01:03:38 Леонида Волкова заказал Невзлин, подтвердили расследователи ФБК 01:22:13 В Англии бездомный музыкант стал звездой Тиктока 01:23:44 Репортаж из Лондона 01:28:10 Флаг России длиной два километра шьют в Иркутской области, чтобы побить рекорд 01:29:08 Все россияне должны служить в армии независимо от здоровья 01:33:19 ФСИН массово предлагает заключенным-иностранцам отбывать наказание на родине 01:35:52 Больше трети мигрантов предпочитают шариат законодательству России 01:40:39 Нижегородская чиновница удалила профиль «ВКонтакте» после критики за платье 01:43:10 В Пермском крае девушкам заплатят за рождение ребёнка от участника СВО 01:44:12 Репортаж из Японии 01:46:39 На избирательном участке под Рязанью уличный туалет рухнул вместе с членом комиссии 01:49:37 В Московской области пять кандидатов от партии «Единая Россия» получили одинаковое количество голосов — по 2089 01:51:51 Фото: не выборы, а цирк 01:53:00 Париж показал 100% явку на выборах главы Башкортостана 01:53:46 «Добровольцы»-военные выгнали с УИК №250 в Казани члена комиссии 01:54:58 Лева из Нью-Йорка 02:05:16 Губернатор Брянской области предложил лишать высшего образования людей без природного дара 02:06:54 Наталья Поклонская показала херсонским детям на открытом уроке руны 02:11:07 Причиной проблем с регистрацией новых Google-аккаунтов могла стать блокировка SMS-шлюза российскими надзорными органами 02:12:23 Репортаж из Франции 02:19:54 В Красноярском Крае 35-летнему сироте выдали вместо положенной по закону квартиры место в общежитии 02:20:47 Картина из дома бывшего замминистра обороны Булгакова с арестованными и не только генералами была срисована с коробки с игрушечными солдатиками 02:22:28 Белорусский аналог ютуба в итоге оказался просто сайтом, куда госСМИ заливают ролики про Лукашенко 02:23:43 Администрация ВШЭ пытается взять под контроль страницы студсоветов во «ВКонтакте» 02:24:48 Бон Джови спас женщину 02:25:53 Финал Реклама: ads@varlamov.me #варламов #новости #чп' -metadata 'purl=https://www.youtube.com/watch?v=9tRCSCTMCTY' -metadata 'comment=https://www.youtube.com/watch?v=9tRCSCTMCTY' -metadata artist=varlamov -metadata:s:0 language=rus -movflags +faststart 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.temp.m4a' [EmbedThumbnail] mutagen: Adding thumbnail to "downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a" [EmbedThumbnail] Neither mutagen nor AtomicParsley was found. Falling back to ffmpeg [debug] ffprobe command line: ffprobe -hide_banner -show_format -show_streams -print_format json 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a' [EmbedThumbnail] ffmpeg: Adding thumbnail to "downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a' -i 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.jpg' -map 0 -dn -ignore_unknown -c copy -map 1 -disposition:2 attached_pic -movflags +faststart 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.temp.m4a' [debug] ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.m4a': Metadata: major_brand : M4A minor_version : 512 compatible_brands: M4A isomiso2 title : Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси artist : varlamov date : 20240915 encoder : Lavf58.76.100 comment : https://www.youtube.com/watch?v=9tRCSCTMCTY description : Рекламный уголок : Запустить IT-бизнес в Казахстане с налоговыми льготами от Astana Hub и бонусами от Ильи Варламова - https://astanahub.com/ru/l/kak-otkryt-it-kompanyiu-v-kazakhstane2 : : Купить уютные свитшоты в моем магазине мерча: https://shop.varlamov.ru/svitshot?utm_source=youtube&amp;utm_medium=chp080924&amp;utm_campaign=sweatshirts : : Путеводитель по Лондону от Варламова: https://vrlmv.com/k5Anad : : Константин Пинаев, гид «Вокруг Лондона за 40 шагов»: https://londopolia.com : ТГ-канал Пинаева: https://t.me/AroundLondonin40steps : Канал Кашина: www.youtube.com/user/anotherkashin : ТГ-канал Кашина: https://t.me/kashinplus : Ютуб-канал Лёвы: https://youtube.com/levik : Блог Лёвы: https://levik.blog : Ютуб-канал Вадима: https://youtube.com/@vadimslavich : ТГ-канал Вадима: https://t.me/vadimfrance : Консультант по Японии: https://t.me/japanconsult : : Поддержать: : Все способы: https://vrlmv.com/donation : Patreon: https://vrlmv.com/4acT9L : Спонсорство: https://vrlmv.com/JK486h : : Телеграм: https://vrlmv.com/EQDi3i : Новостной ТГ: https://vrlmv.com/MBHYUy : Закрытый канал Varlamov +: https://vrlmv.com/OfPC11 : : Easy Creators — медиа-консалтинг Ильи Варламова и Майи Вольф: https://easycreators.pro/?utm_source=youtube_vrlm&utm_medium=description : : Панки: что с ними стало : https://youtu.be/5RUSXWHMiRI : : СССР против традиционных ценностей : https://youtu.be/bt3LATUtDjQ : : Таймкоды: : : 00:00:00 Начало : 00:03:13 Самолет с «неприличным» названием будет выполнять рейсы в Прагу : 00:06:08 Запустите IT-бизнес в Казахстане : 00:08:37 Канадец создал велодом для бездомных : 00:11:13 Археологи нашли в Великом Новгороде берестяную грамоту со странным пожеланием : 00:12:24 Рязанское десантное училище сообщило, что у их курсантов с третьего курса появляется «уникальная возможность» — поехать воевать в Ук : 00:14:53 Члены одной семьи сирийских беженцев совершили в Германии 111 преступлений : 00:19:00 Блогер, собирающий гуманитарку на “сво”, купил себе люкс-авто : 00:20:33 “Z-военкор” Сладков рассказал, что при Шойгу на него завели дело : 00:22:24 В курском «Красном и Белом» мужчина из автомата выстрелил в потолок : 00:23:50 Мой мерч : 00:25:10 Командир спецназа «Ахмат» высказался по поводу драки в Анапе : 00:33:24 В Курске чиновник получил выговор за рекламу службы по контракту, на которой изобразили солдата ВСУ : 00:36:16 В Мурманской области были обстреляны легкомоторные самолеты, которые приняли за БПЛА : 00:37:16 «Лучшего молодого учителя года» из Хабаровска уволили за занятия танцами : 00:40:49 Мои путеводители : 00:41:43 Власти Ирана планируют перенести столицу страны : 00:45:12 Ремонт китайского авто в России может затянуться на полгода : 00:47:24 Парень из Нью-Йорка удаленно подключается к автомойке в Черногории : 00:48:09 Православный олигарх Малофеев женился на уполномоченной по правам ребёнка Львовой-Беловой : 00:54:31 В России хотят усложнить процесс развода : 00:55:51 Первый выход «туристов» в открытый космос : 00:58:09 В России зафиксировали рекордно низкую рождаемость — ниже, чем в 90-е годы : 00:59:39 Комментарий Олега Кашина : 01:03:38 Леонида Волкова заказал Невзлин, подтвердили расследователи ФБК : 01:22:13 В Англии бездомный музыкант стал звездой Тиктока : 01:23:44 Репортаж из Лондона : 01:28:10 Флаг России длиной два километра шьют в Иркутской области, чтобы побить рекорд : 01:29:08 Все россияне должны служить в армии независимо от здоровья : 01:33:19 ФСИН массово предлагает заключенным-иностранцам отбывать наказание на родине : 01:35:52 Больше трети мигрантов предпочитают шариат законодательству России : 01:40:39 Нижегородская чиновница удалила профиль «ВКонтакте» после критики за платье : 01:43:10 В Пермском крае девушкам заплатят за рождение ребёнка от участника СВО : 01:44:12 Репортаж из Японии : 01:46:39 На избирательном участке под Рязанью уличный туалет рухнул вместе с членом комиссии : 01:49:37 В Московской области пять кандидатов от партии «Единая Россия» получили одинаковое количество голосов — по 2089 : 01:51:51 Фото: не выборы, а цирк : 01:53:00 Париж показал 100% явку на выборах главы Башкортостана : 01:53:46 «Добровольцы»-военные выгнали с УИК №250 в Казани члена комиссии : 01:54:58 Лева из Нью-Йорка : 02:05:16 Губернатор Брянской области предложил лишать высшего образования людей без природного дара : 02:06:54 Наталья Поклонская показала херсонским детям на открытом уроке руны : 02:11:07 Причиной проблем с регистрацией новых Google-аккаунтов могла стать блокировка SMS-шлюза российскими надзорными органами : 02:12:23 Репортаж из Франции : 02:19:54 В Красноярском Крае 35-летнему сироте выдали вместо положенной по закону квартиры место в общежитии : 02:20:47 Картина из дома бывшего замминистра обороны Булгакова с арестованными и не только генералами была срисована с коробки с игрушечными � : 02:22:28 Белорусский аналог ютуба в итоге оказался просто сайтом, куда госСМИ заливают ролики про Лукашенко : 02:23:43 Администрация ВШЭ пытается взять под контроль страницы студсоветов во «ВКонтакте» : 02:24:48 Бон Джови спас женщину : 02:25:53 Финал : : Реклама: ads@varlamov.me : #варламов #новости #чп synopsis : Рекламный уголок : Запустить IT-бизнес в Казахстане с налоговыми льготами от Astana Hub и бонусами от Ильи Варламова - https://astanahub.com/ru/l/kak-otkryt-it-kompanyiu-v-kazakhstane2 : : Купить уютные свитшоты в моем магазине мерча: https://shop.varlamov.ru/svitshot?utm_source=youtube&amp;utm_medium=chp080924&amp;utm_campaign=sweatshirts : : Путеводитель по Лондону от Варламова: https://vrlmv.com/k5Anad : : Константин Пинаев, гид «Вокруг Лондона за 40 шагов»: https://londopolia.com : ТГ-канал Пинаева: https://t.me/AroundLondonin40steps : Канал Кашина: www.youtube.com/user/anotherkashin : ТГ-канал Кашина: https://t.me/kashinplus : Ютуб-канал Лёвы: https://youtube.com/levik : Блог Лёвы: https://levik.blog : Ютуб-канал Вадима: https://youtube.com/@vadimslavich : ТГ-канал Вадима: https://t.me/vadimfrance : Консультант по Японии: https://t.me/japanconsult : : Поддержать: : Все способы: https://vrlmv.com/donation : Patreon: https://vrlmv.com/4acT9L : Спонсорство: https://vrlmv.com/JK486h : : Телеграм: https://vrlmv.com/EQDi3i : Новостной ТГ: https://vrlmv.com/MBHYUy : Закрытый канал Varlamov +: https://vrlmv.com/OfPC11 : : Easy Creators — медиа-консалтинг Ильи Варламова и Майи Вольф: https://easycreators.pro/?utm_source=youtube_vrlm&utm_medium=description : : Панки: что с ними стало : https://youtu.be/5RUSXWHMiRI : : СССР против традиционных ценностей : https://youtu.be/bt3LATUtDjQ : : Таймкоды: : : 00:00:00 Начало : 00:03:13 Самолет с «неприличным» названием будет выполнять рейсы в Прагу : 00:06:08 Запустите IT-бизнес в Казахстане : 00:08:37 Канадец создал велодом для бездомных : 00:11:13 Археологи нашли в Великом Новгороде берестяную грамоту со странным пожеланием : 00:12:24 Рязанское десантное училище сообщило, что у их курсантов с третьего курса появляется «уникальная возможность» — поехать воевать в Ук : 00:14:53 Члены одной семьи сирийских беженцев совершили в Германии 111 преступлений : 00:19:00 Блогер, собирающий гуманитарку на “сво”, купил себе люкс-авто : 00:20:33 “Z-военкор” Сладков рассказал, что при Шойгу на него завели дело : 00:22:24 В курском «Красном и Белом» мужчина из автомата выстрелил в потолок : 00:23:50 Мой мерч : 00:25:10 Командир спецназа «Ахмат» высказался по поводу драки в Анапе : 00:33:24 В Курске чиновник получил выговор за рекламу службы по контракту, на которой изобразили солдата ВСУ : 00:36:16 В Мурманской области были обстреляны легкомоторные самолеты, которые приняли за БПЛА : 00:37:16 «Лучшего молодого учителя года» из Хабаровска уволили за занятия танцами : 00:40:49 Мои путеводители : 00:41:43 Власти Ирана планируют перенести столицу страны : 00:45:12 Ремонт китайского авто в России может затянуться на полгода : 00:47:24 Парень из Нью-Йорка удаленно подключается к автомойке в Черногории : 00:48:09 Православный олигарх Малофеев женился на уполномоченной по правам ребёнка Львовой-Беловой : 00:54:31 В России хотят усложнить процесс развода : 00:55:51 Первый выход «туристов» в открытый космос : 00:58:09 В России зафиксировали рекордно низкую рождаемость — ниже, чем в 90-е годы : 00:59:39 Комментарий Олега Кашина : 01:03:38 Леонида Волкова заказал Невзлин, подтвердили расследователи ФБК : 01:22:13 В Англии бездомный музыкант стал звездой Тиктока : 01:23:44 Репортаж из Лондона : 01:28:10 Флаг России длиной два километра шьют в Иркутской области, чтобы побить рекорд : 01:29:08 Все россияне должны служить в армии независимо от здоровья : 01:33:19 ФСИН массово предлагает заключенным-иностранцам отбывать наказание на родине : 01:35:52 Больше трети мигрантов предпочитают шариат законодательству России : 01:40:39 Нижегородская чиновница удалила профиль «ВКонтакте» после критики за платье : 01:43:10 В Пермском крае девушкам заплатят за рождение ребёнка от участника СВО : 01:44:12 Репортаж из Японии : 01:46:39 На избирательном участке под Рязанью уличный туалет рухнул вместе с членом комиссии : 01:49:37 В Московской области пять кандидатов от партии «Единая Россия» получили одинаковое количество голосов — по 2089 : 01:51:51 Фото: не выборы, а цирк : 01:53:00 Париж показал 100% явку на выборах главы Башкортостана : 01:53:46 «Добровольцы»-военные выгнали с УИК №250 в Казани члена комиссии : 01:54:58 Лева из Нью-Йорка : 02:05:16 Губернатор Брянской области предложил лишать высшего образования людей без природного дара : 02:06:54 Наталья Поклонская показала херсонским детям на открытом уроке руны : 02:11:07 Причиной проблем с регистрацией новых Google-аккаунтов могла стать блокировка SMS-шлюза российскими надзорными органами : 02:12:23 Репортаж из Франции : 02:19:54 В Красноярском Крае 35-летнему сироте выдали вместо положенной по закону квартиры место в общежитии : 02:20:47 Картина из дома бывшего замминистра обороны Булгакова с арестованными и не только генералами была срисована с коробки с игрушечными � : 02:22:28 Белорусский аналог ютуба в итоге оказался просто сайтом, куда госСМИ заливают ролики про Лукашенко : 02:23:43 Администрация ВШЭ пытается взять под контроль страницы студсоветов во «ВКонтакте» : 02:24:48 Бон Джови спас женщину : 02:25:53 Финал : : Реклама: ads@varlamov.me : #варламов #новости #чп Duration: 02:26:31.08, start: 0.000000, bitrate: 129 kb/s Chapters: Chapter #0:0: start 0.000000, end 193.000000 Metadata: title : Начало Chapter #0:1: start 193.000000, end 368.000000 Metadata: title : Самолет с «неприличным» названием будет выполнять рейсы в Прагу Chapter #0:2: start 368.000000, end 517.000000 Metadata: title : Запустите IT-бизнес в Казахстане Chapter #0:3: start 517.000000, end 673.000000 Metadata: title : Канадец создал велодом для бездомных Chapter #0:4: start 673.000000, end 744.000000 Metadata: title : Археологи нашли в Великом Новгороде берестяную грамоту со странным пожеланием Chapter #0:5: start 744.000000, end 893.000000 Metadata: title : Рязанское десантное училище сообщило, что у их курсантов с третьего курса появляется «уникальная возможность» — поехать воевать в Украин� Chapter #0:6: start 893.000000, end 1140.000000 Metadata: title : Члены одной семьи сирийских беженцев совершили в Германии 111 преступлений Chapter #0:7: start 1140.000000, end 1233.000000 Metadata: title : Блогер, собирающий гуманитарку на “сво”, купил себе люкс-авто Chapter #0:8: start 1233.000000, end 1344.000000 Metadata: title : “Z-военкор” Сладков рассказал, что при Шойгу на него завели дело Chapter #0:9: start 1344.000000, end 1430.000000 Metadata: title : В курском «Красном и Белом» мужчина из автомата выстрелил в потолок Chapter #0:10: start 1430.000000, end 1510.000000 Metadata: title : Мой мерч Chapter #0:11: start 1510.000000, end 2004.000000 Metadata: title : Командир спецназа «Ахмат» высказался по поводу драки в Анапе Chapter #0:12: start 2004.000000, end 2176.000000 Metadata: title : В Курске чиновник получил выговор за рекламу службы по контракту, на которой изобразили солдата ВСУ Chapter #0:13: start 2176.000000, end 2236.000000 Metadata: title : В Мурманской области были обстреляны легкомоторные самолеты, которые приняли за БПЛА Chapter #0:14: start 2236.000000, end 2449.000000 Metadata: title : «Лучшего молодого учителя года» из Хабаровска уволили за занятия танцами Chapter #0:15: start 2449.000000, end 2503.000000 Metadata: title : Мои путеводители Chapter #0:16: start 2503.000000, end 2712.000000 Metadata: title : Власти Ирана планируют перенести столицу страны Chapter #0:17: start 2712.000000, end 2844.000000 Metadata: title : Ремонт китайского авто в России может затянуться на полгода Chapter #0:18: start 2844.000000, end 2889.000000 Metadata: title : Парень из Нью-Йорка удаленно подключается к автомойке в Черногории Chapter #0:19: start 2889.000000, end 3271.000000 Metadata: title : Православный олигарх Малофеев женился на уполномоченной по правам ребёнка Львовой-Беловой Chapter #0:20: start 3271.000000, end 3351.000000 Metadata: title : В России хотят усложнить процесс развода Chapter #0:21: start 3351.000000, end 3489.000000 Metadata: title : Первый выход «туристов» в открытый космос Chapter #0:22: start 3489.000000, end 3579.000000 Metadata: title : В России зафиксировали рекордно низкую рождаемость — ниже, чем в 90-е годы Chapter #0:23: start 3579.000000, end 3818.000000 Metadata: title : Комментарий Олега Кашина Chapter #0:24: start 3818.000000, end 4933.000000 Metadata: title : Леонида Волкова заказал Невзлин, подтвердили расследователи ФБК Chapter #0:25: start 4933.000000, end 5024.000000 Metadata: title : В Англии бездомный музыкант стал звездой Тиктока Chapter #0:26: start 5024.000000, end 5290.000000 Metadata: title : Репортаж из Лондона Chapter #0:27: start 5290.000000, end 5348.000000 Metadata: title : Флаг России длиной два километра шьют в Иркутской области, чтобы побить рекорд Chapter #0:28: start 5348.000000, end 5599.000000 Metadata: title : Все россияне должны служить в армии независимо от здоровья Chapter #0:29: start 5599.000000, end 5752.000000 Metadata: title : ФСИН массово предлагает заключенным-иностранцам отбывать наказание на родине Chapter #0:30: start 5752.000000, end 6039.000000 Metadata: title : Больше трети мигрантов предпочитают шариат законодательству России Chapter #0:31: start 6039.000000, end 6190.000000 Metadata: title : Нижегородская чиновница удалила профиль «ВКонтакте» после критики за платье Chapter #0:32: start 6190.000000, end 6252.000000 Metadata: title : В Пермском крае девушкам заплатят за рождение ребёнка от участника СВО Chapter #0:33: start 6252.000000, end 6399.000000 Metadata: title : Репортаж из Японии Chapter #0:34: start 6399.000000, end 6577.000000 Metadata: title : На избирательном участке под Рязанью уличный туалет рухнул вместе с членом комиссии Chapter #0:35: start 6577.000000, end 6711.000000 Metadata: title : В Московской области пять кандидатов от партии «Единая Россия» получили одинаковое количество голосов — по 2089 Chapter #0:36: start 6711.000000, end 6780.000000 Metadata: title : Фото: не выборы, а цирк Chapter #0:37: start 6780.000000, end 6826.000000 Metadata: title : Париж показал 100% явку на выборах главы Башкортостана Chapter #0:38: start 6826.000000, end 6898.000000 Metadata: title : «Добровольцы»-военные выгнали с УИК №250 в Казани члена комиссии Chapter #0:39: start 6898.000000, end 7516.000000 Metadata: title : Лева из Нью-Йорка Chapter #0:40: start 7516.000000, end 7614.000000 Metadata: title : Губернатор Брянской области предложил лишать высшего образования людей без природного дара Chapter #0:41: start 7614.000000, end 7867.000000 Metadata: title : Наталья Поклонская показала херсонским детям на открытом уроке руны Chapter #0:42: start 7867.000000, end 7943.000000 Metadata: title : Причиной проблем с регистрацией новых Google-аккаунтов могла стать блокировка SMS-шлюза российскими надзорными органами Chapter #0:43: start 7943.000000, end 8394.000000 Metadata: title : Репортаж из Франции Chapter #0:44: start 8394.000000, end 8447.000000 Metadata: title : В Красноярском Крае 35-летнему сироте выдали вместо положенной по закону квартиры место в общежитии Chapter #0:45: start 8447.000000, end 8548.000000 Metadata: title : Картина из дома бывшего замминистра обороны Булгакова с арестованными и не только генералами была срисована с коробки с игрушечными солда Chapter #0:46: start 8548.000000, end 8623.000000 Metadata: title : Белорусский аналог ютуба в итоге оказался просто сайтом, куда госСМИ заливают ролики про Лукашенко Chapter #0:47: start 8623.000000, end 8688.000000 Metadata: title : Администрация ВШЭ пытается взять под контроль страницы студсоветов во «ВКонтакте» Chapter #0:48: start 8688.000000, end 8753.000000 Metadata: title : Бон Джови спас женщину Chapter #0:49: start 8753.000000, end 8791.000000 Metadata: title : Финал Stream #0:0(rus): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default) Metadata: handler_name : ISO Media file produced by Google Inc. vendor_id : [0][0][0][0] Stream #0:1(eng): Data: bin_data (text / 0x74786574), 0 kb/s Metadata: handler_name : SubtitleHandler Input #1, image2, from 'file:downloads/youtube/9tRCSCTMCTY/140/Чё Происходит #238 | Расследование ФБК о Невзлине, дебаты Трампа и Харрис, «аналог Ютуба» в Беларуси.jpg': Duration: 00:00:00.04, start: 0.000000, bitrate: 19959 kb/s Stream #1:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1280x720, 25 fps, 25 tbr, 25 tbn, 25 tbc [ipod @ 0x57230529c480] Could not find tag for codec mjpeg in stream #1, codec not currently supported in container Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Error initializing output stream 0:1 -- Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #1:0 -> #0:1 (copy) ERROR: Postprocessing: Unable to embed using ffprobe & ffmpeg; Stream #1:0 -> #0:1 (copy) Traceback (most recent call last): File "/snap/yt-dlp/689/lib/python3.10/site-packages/yt_dlp/postprocessor/embedthumbnail.py", line 193, in run self.run_ffmpeg_multiple_files([filename, thumbnail_filename], temp_filename, options) File "/snap/yt-dlp/689/lib/python3.10/site-packages/yt_dlp/postprocessor/ffmpeg.py", line 330, in run_ffmpeg_multiple_files return self.real_run_ffmpeg( File "/snap/yt-dlp/689/lib/python3.10/site-packages/yt_dlp/postprocessor/ffmpeg.py", line 368, in real_run_ffmpeg raise FFmpegPostProcessorError(stderr.strip().splitlines()[-1]) yt_dlp.postprocessor.ffmpeg.FFmpegPostProcessorError: Stream #1:0 -> #0:1 (copy) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/snap/yt-dlp/689/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3561, in process_info replace_info_dict(self.post_process(dl_filename, info_dict, files_to_move)) File "/snap/yt-dlp/689/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3743, in post_process info = self.run_all_pps('post_process', info, additional_pps=info.get('__postprocessors')) File "/snap/yt-dlp/689/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3725, in run_all_pps info = self.run_pp(pp, info) File "/snap/yt-dlp/689/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3703, in run_pp files_to_delete, infodict = pp.run(infodict) File "/snap/yt-dlp/689/lib/python3.10/site-packages/yt_dlp/postprocessor/common.py", line 23, in run ret = func(self, info, *args, **kwargs) File "/snap/yt-dlp/689/lib/python3.10/site-packages/yt_dlp/postprocessor/common.py", line 128, in wrapper return func(self, info) File "/snap/yt-dlp/689/lib/python3.10/site-packages/yt_dlp/postprocessor/embedthumbnail.py", line 196, in run raise EmbedThumbnailPPError(f'Unable to embed using ffprobe & ffmpeg; {err}') yt_dlp.postprocessor.embedthumbnail.EmbedThumbnailPPError: Unable to embed using ffprobe & ffmpeg; Stream #1:0 -> #0:1 (copy) real 0m9.828s user 0m5.500s sys 0m2.045s ```
bug,external issue,triage,site:youtube,core:post-processor
low
Critical
2,529,536,290
go
x/website: show header on mobile devices
### What is the URL of the page with the issue? https://go.dev/tour and all subsequent `/tour` pages ### Description On desktop the header `h2` is clearly visible on the tour screens: <img width="1063" alt="image" src="https://github.com/user-attachments/assets/92d48090-abf3-461d-9ea5-16ff4f98424c"> However, on mobile devices, the header is obscured due to incorrect padding: <img width="427" alt="image" src="https://github.com/user-attachments/assets/a50a3b71-e22f-46e2-97a7-5937dfc5edb6"> As viewed here via devtools: <img width="428" alt="image" src="https://github.com/user-attachments/assets/76b67130-01dd-41e7-b6ec-eeaa2f77d9d1"> ### What did you see happen? The header was hidden when viewed on a mobile device ### What did you expect to see? The header displayed on mobile as it is on desktop
NeedsFix,website
low
Minor
2,529,597,455
langchain
Exception when trying to pull Google GenAI prompt
### Checked other resources - [X] I added a very descriptive title to this issue. - [X] I searched the LangChain documentation with the integrated search. - [X] I used the GitHub search to find a similar question and didn't find it. - [X] I am sure that this is a bug in LangChain rather than my code. - [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package). ### Example Code ```python from langchain import hub as prompts prompts.pull("prompt_name", include_model=True) ``` ### Error Message and Stack Trace (if applicable) File "/home/federicoomoto/src/fairway/pr/fairway-fastapi/app/firebase/prompts.py", line 14, in get_prompt prompt = prompts.pull( ^^^^^^^^^^^^^ File "/home/federicoomoto/.cache/pypoetry/virtualenvs/fairway-fastapi-VcPivsSZ-py3.12/lib/python3.12/site-packages/langchain/hub.py", line 114, in pull response = client.pull_prompt(owner_repo_commit, include_model=include_model) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/federicoomoto/.cache/pypoetry/virtualenvs/fairway-fastapi-VcPivsSZ-py3.12/lib/python3.12/site-packages/langsmith/client.py", line 5301, in pull_prompt prompt = loads(json.dumps(prompt_object.manifest)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/federicoomoto/.cache/pypoetry/virtualenvs/fairway-fastapi-VcPivsSZ-py3.12/lib/python3.12/site-packages/langchain_core/_api/beta_decorator.py", line 110, in warning_emitting_wrapper return wrapped(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/federicoomoto/.cache/pypoetry/virtualenvs/fairway-fastapi-VcPivsSZ-py3.12/lib/python3.12/site-packages/langchain_core/load/load.py", line 181, in loads return json.loads( ^^^^^^^^^^^ File "/usr/lib64/python3.12/json/__init__.py", line 359, in loads return cls(**kw).decode(s) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ File "/home/federicoomoto/.cache/pypoetry/virtualenvs/fairway-fastapi-VcPivsSZ-py3.12/lib/python3.12/site-packages/langchain_core/load/load.py", line 119, in __call__ raise ValueError( ValueError: Trying to deserialize something that cannot be deserialized in current version of langchain-core: ('langchain', 'chat_models', 'google_genai', 'ChatGoogleGenerativeAI') ### Description When trying to pull a Google GenAI prompt from LangSmith, including the model, I get the following exception: ValueError: Trying to deserialize something that cannot be deserialized in current version of langchain-core: ('langchain', 'chat_models', 'google_genai', 'ChatGoogleGenerativeAI') If I try to pull the prompt without the model, everything works as expected. The model config is as follows: ![image](https://github.com/user-attachments/assets/282baf32-9766-4484-b9a8-24a016e30de7) ### System Info System Information ------------------ > OS: Linux > OS Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 11 15:32:50 UTC 2024 > Python Version: 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] Package Information ------------------- > langchain_core: 0.3.0 > langchain: 0.3.0 > langsmith: 0.1.121 > langchain_google_genai: 2.0.0 > langchain_openai: 0.2.0 > langchain_text_splitters: 0.3.0 Optional packages not installed ------------------------------- > langgraph > langserve Other Dependencies ------------------ > aiohttp: 3.10.5 > async-timeout: Installed. No version info available. > google-generativeai: 0.7.2 > httpx: 0.27.2 > jsonpatch: 1.33 > numpy: 1.26.4 > openai: 1.45.1 > orjson: 3.10.7 > packaging: 24.1 > pillow: 10.4.0 > pydantic: 2.9.1 > PyYAML: 6.0.2 > requests: 2.32.3 > SQLAlchemy: 2.0.34 > tenacity: 8.5.0 > tiktoken: 0.7.0 > typing-extensions: 4.12.2
🤖:bug,investigate,Ɑ: core
low
Critical
2,529,625,992
go
x/tools/gopls: issue an event when tests change
In my work to integrate #59445 into vscode-go, I am relying on file-change notifications to keep the test tree up to date as files change. @hyangah pointed out that the ideal solution would be to use notifications that tests were changed instead. I'm opening this issue to discuss whether it is feasible for gopls to send notifications to the editor when test discovery results change, and if so how that may be achieved. As a followup, it would be powerful to extend change detection to arbitrary symbols and to follow the reference graph to affected tests, so that changing a function called by a test (and more generally, a symbol within the test's reference graph) would trigger an event and (in an editor with an active continuous test run) re-execute the test. I think the reference graph tracing should be reasonable to do within a package. I would be happy to submit a separate proposal for this. CC @adonovan @findleyr
gopls,Tools
low
Major
2,529,637,814
next.js
Search parameters are not invalidating `notFound` cached responses in rsc
### Link to the code that reproduces this issue https://codesandbox.io/p/devbox/zen-cache-g8k798?workspaceId=835aa8f9-26fc-4cf6-be40-c1760c26a9e1 ### To Reproduce In the csb: 1. Go to the client page 2. It will start on the current year page 2024, which isn't found 3. go to 2025. It will not be found (despite being there) 4. Refresh the page on 2025, it will load. 5. Go back to 2024. Not found, as expected. 6. Return to 2025, Not found, this seems like a bug. ### Current vs. Expected behavior Expected: changing pages search params should cause the server component to re-render Actual: once a `notFound` path is hit, the response seems to be cached. ### Provide environment information ```bash Operating System: Platform: linux Arch: x64 Version: #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 Available memory (MB): 32038 Available CPU cores: 16 Binaries: Node: 20.17.0 npm: Yarn: N/A pnpm: N/A Relevant Packages: next: 15.0.0-canary.156 eslint-config-next: 14.2.11 react: 19.0.0-rc-f2df5694-20240916 react-dom: 19.0.0-rc-f2df5694-20240916 typescript: 5.6.2 ``` ### Which area(s) are affected? (Select all that apply) Navigation ### Which stage(s) are affected? (Select all that apply) next dev (local) ### Additional context First noticed in 14.2, but I can reproduce in 15 canary-156. I haven't tried on vercel.
bug,Navigation
low
Critical
2,529,647,403
ui
[feat]: components for react-email library integration
### Feature description I are proposing the addition of a set of components designed specifically for email integrations within React/Express applications. ### Affected component/components _No response_ ### Additional Context - Responsive Design: Components that adapt to various screen sizes and devices. - Customizability: Options to adjust styling and layout to match application themes. - Accessibility: Features to ensure that email components are accessible to all users. - Pre-styled Elements: Consistent design elements for a unified user experience. ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues and PRs
area: request
low
Minor
2,529,647,855
PowerToys
Put to the side Windows
### Description of the new feature / enhancement Implement a feature that allows users to slide windows to the edges. Creating a partially visible overlay that doesn't obstruct the main application. Windows should automatically hide when not in focus, providing a clean and clutter-free workspace. This is similar to the "Slide Over" feature on Apple devices and Preme for Windows aplication. ### Scenario when this would be used? This feature would be particularly useful for power users who frequently work with multiple applications simultaneously, especially those using laptops or small screens. By sliding windows to the sides of the screen, users can easily access and interact with them without cluttering their workspace. This is especially helpful for applications that are used frequently but don't require constant focus, such as chat clients, email, or task management tools. Exemple of [an user using Preme for Windows:](https://imgur.com/a/happy-preme-windows-slideover-Z7D4T1c) ### Supporting information Where the ideia came from: [r/Windows - Slideover alternative for Windows](https://www.reddit.com/r/Windows11/comments/uuibtg/slideover_for_windows/) [Slide Over Apple](https://support.apple.com/pt-br/102576) [Slide Over explained by Apple Support](https://support.apple.com/pt-br/guide/ipad/ipadfe7c65e9/ipados) [Preme for Windows](http://www.premeforwindows.com/) [SlidePad App Browser](https://slidepad.app/)
Needs-Triage
low
Minor
2,529,656,117
vscode
Swapped findMatch Foreground Colors
Type: <b>Bug</b> The editor.findMatchForeground and editor.findMatchHighlightForeground colors in workbench.colorCustomizations appear to be swapped when applied. The descriptions say: * editor.findMatchForeground: Text color of the current search match. * editor.findMatchHighlightForeground: Foreground color of the other search matches. I'm using the default Dark+ theme. I want the current search match to have black text, so I set editor.findMatchForeground to "#000000", but this makes text in _other_ matches turn black, not the current match. I can get what I want, instead, by setting editor.findMatchHighlightForeground to "#000000", which is unexpected. The result is the same when disabling all extensions. Here are two screenshots to show the two configurations and their result. <img width="739" alt="findMatchForeground" src="https://github.com/user-attachments/assets/63729ef3-c84d-4e8f-aa3e-f19e8d6c5390"> <img width="740" alt="findMatchHighlightForeground" src="https://github.com/user-attachments/assets/843945aa-e614-4e96-b348-d28814d72183"> VS Code version: Code 1.93.1 (Universal) (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z) OS version: Darwin arm64 23.6.0 Modes: <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|Apple M3 Pro (11 x 2400)| |GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off| |Load (avg)|1, 2, 2| |Memory (System)|18.00GB (0.67GB free)| |Process Argv|--crash-reporter-id 03efdb6c-33ed-4f1d-8fbf-ed5efe9bd46e| |Screen Reader|no| |VM|0%| </details><details><summary>Extensions (35)</summary> Extension|Author (truncated)|Version ---|---|--- xml|Dot|2.5.1 terraform|has|2.32.3 jenkinsfile-support|ivo|1.1.0 search-editor-apply-changes|jak|0.1.1 vscode-edit-csv|jan|0.10.0 eml|lei|0.4.0 MagicPython|mag|1.1.0 vscode-autohotkey-plus-plus|mar|6.0.0 rainbow-csv|mec|3.12.0 dotenv|mik|1.0.1 vscode-docker|ms-|1.29.2 vscode-language-pack-it|MS-|1.93.2024091109 csharp|ms-|2.45.25 vscode-dotnet-runtime|ms-|2.1.5 debugpy|ms-|2024.10.0 isort|ms-|2023.10.1 python|ms-|2024.14.1 vscode-pylance|ms-|2024.9.1 jupyter|ms-|2024.8.1 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.19 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-containers|ms-|0.384.0 remote-ssh|ms-|0.114.3 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.88.3 vscode-remote-extensionpack|ms-|0.25.0 powershell|ms-|2024.2.2 remote-explorer|ms-|0.4.3 remote-server|ms-|1.5.2 text-power-tools|qcz|1.49.0 jinjahtml|sam|0.20.0 vba-formatter|thr|0.0.3 vscode-nginx|wil|0.7.2 </details><details> <summary>A/B Experiments</summary> ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 f3je6385:31013174 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 newcmakeconfigv2:31071590 impr_priority:31102340 nativerepl2:31139839 refactort:31108082 pythonrstrctxt:31112756 flightc:31134773 wkspc-onlycs-t:31132770 nativeloc1:31134641 wkspc-ranged-c:31125598 fje88620:31121564 ``` </details> <!-- generated by issue reporter -->
editor-find,under-discussion
low
Critical
2,529,673,029
flutter
Make `ColorSwatch` not extend `Color`
Today `ColorSwatch` extends `Color`. It doesn't make any sense why since for all the behaviors it inherits it just responds to them with the primary color provided in the constructor. The swatch is `const` so you can't change this. This also creates a weird situation where you could have recursive `ColorSwatch`es. I don't think there is a good reason for them to extend `Color`. The only meaningful reason that it would be a `Color` is if we are doing runtime checks to check for `ColorSwatch` instead of incorporating the behavior in the `Color`'s interface, which would be brittle.
c: proposal,P2,team-framework,triaged-framework
low
Minor
2,529,682,816
stable-diffusion-webui
[Bug]: OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option.
### Checklist - [ ] The issue exists after disabling all extensions - [ ] The issue exists on a clean installation of webui - [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui - [ ] The issue exists in the current version of the webui - [ ] The issue has not been reported before recently - [ ] The issue has been reported before but has not been fixed yet ### What happened? so everytime i try to generate something i get this on the terminal: OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. even if i rebuild openblas using that option the problem doesnt get solve, i remenber one or 2 years ago i solved this using some parameter in the start command, for now im using: ./webui.sh --skip-torch-cuda-test --lowvram --no-half --opt-sdp-attention --use-cpu all --listen it is working on a orange pi 5 using debial bulleye any idea? ### Steps to reproduce the problem 1 clone repository 2 use command: ./webui.sh --skip-torch-cuda-test --lowvram --no-half --opt-sdp-attention --use-cpu all --listen 3 try to generated anything 4 get the error OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. ### What should have happened? it should just generate the image as normal and show me the progress bar in the terminal instead this error ### What browsers do you use to access the UI ? _No response_ ### Sysinfo [sysinfo-2024-09-16-23-43.json](https://github.com/user-attachments/files/17021182/sysinfo-2024-09-16-23-43.json) ### Console logs ```Shell orangepi@orangepi5:~/sd$ ./webui.sh --skip-torch-cuda-test --lowvram --no-half --opt-sdp-attention --use-cpu all --listen --use-cpu 8 ################################################################ Install script for stable-diffusion + Web UI Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer. ################################################################ ################################################################ Running on orangepi user ################################################################ ################################################################ Create and activate python venv ################################################################ ################################################################ Launching launch.py... ################################################################ glibc version is 2.31 Cannot locate TCMalloc. Do you have tcmalloc or google-perftool installed on your system? (improves CPU memory usage) Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] Version: v1.10.1 Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2 Launching Web UI with arguments: --skip-torch-cuda-test --lowvram --no-half --opt-sdp-attention --use-cpu all --listen --use-cpu 8 no module 'xformers'. Processing without... no module 'xformers'. Processing without... No module 'xformers'. Proceeding without it. Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled Loading weights [cc4f50b7f3] from /home/orangepi/sd/stable-diffusion-webui/models/Stable-diffusion/childrensStories_v1CustomA.safetensors Running on local URL: http://0.0.0.0:7860 To create a public link, set `share=True` in `launch()`. Startup time: 13.6s (prepare environment: 0.1s, import torch: 7.0s, import gradio: 2.0s, setup paths: 1.4s, initialize shared: 0.2s, other imports: 0.9s, load scripts: 1.1s, create ui: 0.6s, gradio launch: 0.3s). Creating model from config: /home/orangepi/sd/stable-diffusion-webui/configs/v1-inference.yaml /home/orangepi/sd/stable-diffusion-webui/venv/lib/python3.9/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( Applying attention optimization: sdp... done. Model loaded in 6.7s (load weights from disk: 1.0s, create model: 1.7s, apply weights to model: 1.2s, apply float(): 0.9s, calculate empty prompt: 1.9s). 0%| | 0/20 [00:00<?, ?it/s]OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. ``` ### Additional information _No response_
bug-report
low
Critical
2,529,713,162
pytorch
[ONNX] Inputs generated by onnx.export() with dynamo=False are not consistent with dynamo=True
### 🚀 The feature, motivation and pitch Here, a couple of points where ONNX inputs generated by onnx.export() with dynamo=False are not consistent with dynamo=True. I think it's important to have those consistent, because for some networks, dynamo=True still does not work or produces graphs that, for example, cannot be converted to TRT. This example illustrates 2 issues: 1) Input names generated for dynamo/non-dynamo export, are different. Dynamo used ids from the code, while legacy export uses names of the first operation. 2) When some of the model inputs are non-tensors, they end up as inputs for ONNX graph after legacy export. With dynamo export, they are treated as constants. ``` import torch import torch.nn as nn class Model(nn.Module): def __init__(self): super().__init__() def forward(self, x, y, z, bias:float = float(0.1)): return x+y+z+bias device = torch.device('cuda') model = Model().to(device) x = torch.rand(1024, 20, 16).to(device) y = torch.rand(1024, 20, 16).to(device) z = y """" This results in 4-input graph with random input names, no matter if I supply bias or not: Exported graph: graph(%onnx::Add_0 : Float(1024, 20, 16, strides=[320, 16, 1], requires_grad=0, device=cuda:0), %onnx::Add_1 : Float(1024, 20, 16, strides=[320, 16, 1], requires_grad=0, device=cuda:0), %onnx::Add_2 : Float(1024, 20, 16, strides=[320, 16, 1], requires_grad=0, device=cuda:0), %onnx::Cast_3 : Double(requires_grad=0, device=cpu)): """ onnx_program = torch.onnx.export(model, (x, y, z, 0.2), "xyz_legacy.onnx", verbose=True) """ This results in 3-input graph, no matter if I supply bias or not, using constant and source IDs correctly: graph( name=main_graph, inputs=( %"x"<FLOAT,[1024,20,16]>, %"y"<FLOAT,[1024,20,16]>, %"z"<FLOAT,[1024,20,16]> ), """ onnx_program = torch.onnx.export(model, (x, y, z, 0.2), "xyz.onnx", dynamo=True, report=True) ### Alternatives In the current situation, one has to always supply input_names to export() - that is error-prone. If one of the args in the middle is non-tensor, that would also require calling code to know if the export() ends up with legacy or dynamo export to adjust list of input names accordingly. ### Additional context Pytorch nightly.
module: onnx,triaged
low
Critical
2,529,811,225
three.js
WebGLRenderTarget: Allow opt-in for output transforms / image formation
### Description In recent three.js versions,`renderer.outputColorSpace`, `render.toneMapping`, and `renderer.toneMappingExposure` (jointly, the image formation step) are applied only when writing to the canvas drawing buffer (or WebXR) and disabled when writing to a render target. I think that's the right default. But it does constrain users' choices, and can force an additional (expensive!) pass in a post-processing stack. Based on feedback, this is problematic for mobile applications. ### Solution I'd like to suggest that we add a new property to WebGLRenderTarget, perhaps called `target.needsOutputTransform`. If enabled, WebGLRenderer would apply ... - renderer.toneMapping - renderer.toneMappingExposure - renderer.lookCDL (#28544) when drawing to that render target. I believe `renderer.outputColorSpace` is not relevant here, since the render target already has a `.colorSpace` property. ### Alternatives Alternatively, we could make WebGLRenderer always apply these settings when drawing to a render target, and require explicit changes to the renderer's properties by the user. I expect this would be a significant breaking change, however. ### Additional context I don't know what this looks like in WebGPURenderer, or whether similar changes would be required there. /cc @WestLangley
Suggestion
low
Major
2,529,856,631
electron
[Bug]: Incorrect initial content bounds height on windows
### Preflight Checklist - [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success. ### Electron Version 31.2.1 ### What operating system(s) are you using? Windows ### Operating System Version Windows 10 Home ### What arch are you using? x64 ### Last Known Working Electron version _No response_ ### Expected Behavior Calling getContentBounds on a BaseWindow should provide the correct height ### Actual Behavior Calling getContentBounds on a newed BaseWindow provides the incorrect height (appears to be missing the menu size), if you wait half a second or more the correct height is reported, but no events (resize, etc) are emitted ### Testcase Gist URL https://gist.github.com/LiamBest/00521c721d2b05e5412266aa89874a68 ### Additional Information Tried the gist provided on 31, 32 and 33. Same issue across all versions. The bug is not present on mac, and appears to be related to the menu size (~26 px offset fixes it).
platform/windows,bug :beetle:,has-repro-gist,31-x-y
low
Critical
2,529,940,128
godot
TextEdit/LineEdit inconsistency when non-editable
### Tested versions - Reproducable in v4.3.stable.official [77dcf97d8] ### System information Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Mobile) - dedicated AMD Radeon RX 6600 (Advanced Micro Devices, Inc.; 32.0.11029.1008) - AMD Ryzen 5 3600 6-Core Processor (12 Threads) ### Issue description A TextEdit and LineEdit do not draw their StyleBoxes in the same way when `editable = false`. I would expect these to look visually more similar than they do. ![image](https://github.com/user-attachments/assets/749a9f49-0b7c-4d44-a205-9a525dc47532) ### Steps to reproduce 1. Create a TextEdit and a LineEdit next to each other. 2. Uncheck `editable` for both 3. Notice that the TextEdit is notably more solid-looking than the LineEdit ### Minimal reproduction project (MRP) [mrp_textedit.zip](https://github.com/user-attachments/files/17022732/mrp_textedit.zip)
discussion,topic:gui
low
Major
2,529,943,844
excalidraw
Excalidraw Plus: Presentation export in PDF or PPTX is set to 4:3 ratio, presentation frames are 16:9 default.
**App:** Excalidraw Plus on https://app.excalidraw.com, September 17th 2024 **Issue**: PDF and Powerpoint export of presentations downloads in an unexpected / unconfigurable ratio. When using frames to develp a presentation, it looks like the default frame is approx. 16:9 ratio. This presents well on the equivalent screen when using presentation mode. When exporting either a PDF or PPTX you are provide with a file in a 4:3 ratio meaning content layout has whitespace at header and footer. This can be worked around in the PPTX with a resize but is baked in for the PDF without an editor. May have missed it (newbie!) but there doesn't seem to be a way to configure the export for either the PDF or PPTX target. Thanks for an awesome app!
Excalidraw+
low
Minor
2,529,952,558
kubernetes
[Flaky Test] capz-windows-master ci-kubernetes-e2e-capz-master-windows.Overall
### Which jobs are flaking - master-informing: - capz-windows-master ### Which tests are flaking? ci-kubernetes-e2e-capz-master-windows.Overall ### Since when has it been flaking? - Often once or twice daily since 09-03 05:10 CDT [Prow link](https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-capz-master-windows/1830911221885308928) Failed runs: - 09-16 17:04 CDT [Prow link](https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-capz-master-windows/1835801973924827136) - 09-16 11:04 CDT [Prow link](https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-capz-master-windows/1835711376044068864) - 09-15 23:03 CDT [Prow link](https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-capz-master-windows/1835529928867581952) - 09-15 14:02 CDT [Prow link](https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-capz-master-windows/1835711376044068864) - 09-15 02:02 CDT [Prow link](https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-capz-master-windows/1835212584630882304) ### Testgrid link [Testgrid link](https://testgrid.k8s.io/sig-release-master-informing#capz-windows-master) ### Reason for failure (if possible) ``` Sun, 15 Sep 2024 19:12:24 +0000: cluster creation complete Sun, 15 Sep 2024 19:12:25 +0000: bastion info: capi@null:22 Sun, 15 Sep 2024 19:12:25 +0000: wait for cluster to stabilize Sun, 15 Sep 2024 19:17:25 +0000: cleaning up ./capz/run-capz-e2e.sh: line 103: capz::ci-build-azure-ccm::cleanup: command not found E0915 19:17:55.212078 2635 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://capz-conf-l4mu8v-a076bee8.westus2.cloudapp.azure.com:6443/api?timeout=32s\": dial tcp 20.120.140.205:6443: i/o timeout" E0915 19:18:25.214460 2635 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://capz-conf-l4mu8v-a076bee8.westus2.cloudapp.azure.com:6443/api?timeout=32s\": dial tcp 20.120.140.205:6443: i/o timeout" E0915 19:18:55.216389 2635 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://capz-conf-l4mu8v-a076bee8.westus2.cloudapp.azure.com:6443/api?timeout=32s\": dial tcp 20.120.140.205:6443: i/o timeout" E0915 19:19:25.218324 2635 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://capz-conf-l4mu8v-a076bee8.westus2.cloudapp.azure.com:6443/api?timeout=32s\": dial tcp 20.120.140.205:6443: i/o timeout" E0915 19:19:55.220740 2635 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://capz-conf-l4mu8v-a076bee8.westus2.cloudapp.azure.com:6443/api?timeout=32s\": dial tcp 20.120.140.205:6443: i/o timeout" Unable to connect to the server: dial tcp 20.120.140.205:6443: i/o timeout + EXIT_VALUE=1 + set +o xtrace Cleaning up after docker in docker. ``` ### Anything else we need to know? ### Relevant SIG(s) /sig windows /kind flake cc: @kubernetes/release-team-release-signal
kind/bug,kind/flake,sig/windows,needs-triage
low
Critical
2,529,987,555
vscode
Failing to persist Explorer folder expanded/collapsed state
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes/No <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.93.1 (Universal) - OS Version: macOS 14.6.1 (23G93) Steps to Reproduce: 1. Launch `code .` on a project with some directories with very many files. Unfortunately, VSCode insists on expanding every directory in the Explorer at launch. I often interact with projects with a large number of assets lexicographically earlier than implementation code in the project file tree. This means that the less relevant files always appear in the Explorer, and I have to scroll down, down, down to get the relevant files. That's a frustratingly cumbersome workflow. I can collapse the folder. But VSCode never persists the expanded vs collapsed state of Explorer folders. The state resets at every launch. I've tried setting various VSCode settings recommended online, but none appear to have an effect. Honestly, the design is questionable. Most are limited to always-expand vs always-collapse logic, but that's not what I want. I want every folder expanded by default, *unless* I have manually elected to collapse it, in which case, I want that remembered until the very day that I delete my project's VSCode cache.
bug,file-explorer,macos,confirmation-pending
low
Critical
2,530,053,618
pytorch
"bmm_sparse_cuda" not implemented for 'BFloat16'
### 🚀 The feature, motivation and pitch When I am performing a sparse-dense matrix multiplication in BFloat16, I got this error message: ``` RuntimeError: "bmm_sparse_cuda" not implemented for 'BFloat16' ``` Would there be any supports of the half precision calculation for Sparse Tensors in the future? ### Alternatives _No response_ ### Additional context _No response_ cc @alexsamardzic @nikitaved @pearu @cpuhrsch @amjames @bhosmer @jcaip
module: sparse,triaged,module: bfloat16
low
Critical
2,530,066,669
PowerToys
Please add a function that allows you to reprogram certain keys only for certain programs
### Description of the new feature / enhancement In certain programs (for me, Siemens NX, for example), numbers must be entered with a period instead of a comma, regardless of the locale. It would be helpful here to only output the comma on the numeric keypad as a point in certain programs. ### Scenario when this would be used? Using english Excel / Siemens Nx with german or other keyboard layout ### Supporting information The Tool called Axel's Punkt can be found under https://psplm24.de/nx-downloads/dezimaltrennzeichen-in-nx-aendern/ The original link is dead. [AxelsPunkt.zip](https://github.com/user-attachments/files/17023410/AxelsPunkt.zip)
Needs-Triage
low
Minor
2,530,112,937
pytorch
Unable to Specify CUDA Stream for Collective Operations Using with torch.cuda.stream() context
### 🐛 Describe the bug I found the example that specifying a CUDA stream using a with-context does not work as expected. ```python with torch.cuda.stream(my_stream): dist.all_reduce(source) ``` The full test script is provided below. I executed it with `NCCL_DEBUG=INFO NCCL_DEBUG_SUBSYS=ALL OMP_NUM_THREADS=1 torchrun --nnodes 1 --nproc_per_node 2 test.py`. ```python import os import torch import torch.distributed as dist def run(rank, size): device = torch.device(f'cuda:{rank}') torch.cuda.set_device(device) # create cuda streams my_stream = torch.cuda.Stream(device) if rank == 0: print("[0] NCCL USER stream: ", my_stream) # source/output tensors source = torch.ones(10, dtype=torch.float64, device=device) # execute allreduce with my_stream with torch.cuda.stream(my_stream): dist.all_reduce(source) dist.destroy_process_group() if __name__ == "__main__": world_size = int(os.environ['WORLD_SIZE']) rank = int(os.environ['LOCAL_RANK']) dist.init_process_group("nccl", rank=rank, world_size=world_size) run(rank, world_size) ``` I expected that the allgather operation would be executed on my_stream, but it seems that it was actually performed on a different CUDA stream. Below is a snippet of the output: > [0] NCCL USER stream: <torch.cuda.Stream device=cuda:0 cuda_stream=**0x55f31fee0fd0**> snail01:2307143:2307143 [0] NCCL INFO AllReduce: opCount 0 sendbuff 0x7f6c97600000 recvbuff 0x7f6c97600000 count 10 datatype 8 op 0 root 0 comm 0x55f32103c600 [nranks=2] stream **0x55f31fe42810** My question is: Q: Is there any way to explicitly specify the CUDA stream for collective operations? Thank you in advance! ### Versions ``` Collecting environment information... PyTorch version: 2.4.0a0 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Ubuntu 20.04.6 LTS (x86_64) GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 Clang version: Could not collect CMake version: version 3.22.3 Libc version: glibc-2.31 Python version: 3.10.8 (main, Nov 15 2022, 23:41:17) [GCC 7.5.0] (64-bit runtime) Python platform: Linux-5.4.0-193-generic-x86_64-with-glibc2.31 Is CUDA available: True CUDA runtime version: 12.4.131 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA A100-PCIE-40GB GPU 1: NVIDIA A100-PCIE-40GB GPU 2: Tesla V100-PCIE-16GB GPU 3: Tesla V100S-PCIE-32GB Nvidia driver version: 560.35.03 cuDNN version: Could not collect HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 46 bits physical, 48 bits virtual CPU(s): 56 On-line CPU(s) list: 0-55 Thread(s) per core: 2 Core(s) per socket: 14 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 79 Model name: Intel(R) Xeon(R) CPU E5-2660 v4 @ 2.00GHz Stepping: 1 CPU MHz: 1201.536 CPU max MHz: 3200.0000 CPU min MHz: 1200.0000 BogoMIPS: 3999.71 Virtualization: VT-x L1d cache: 896 KiB L1i cache: 896 KiB L2 cache: 7 MiB L3 cache: 70 MiB NUMA node0 CPU(s): 0-13,28-41 NUMA node1 CPU(s): 14-27,42-55 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable Vulnerability Mds: Mitigation; Clear CPU buffers; SMT vulnerable Vulnerability Meltdown: Mitigation; PTI Vulnerability Mmio stale data: Mitigation; Clear CPU buffers; SMT vulnerable Vulnerability Retbleed: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP conditional; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Mitigation; Clear CPU buffers; SMT vulnerable Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap intel_pt xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts md_clear flush_l1d Versions of relevant libraries: [pip3] mypy-extensions==0.4.3 [pip3] numpy==1.26.4 [pip3] torch==2.4.0a0+gitunknown [pip3] torchvision==0.15.0a0+0dceac0 [pip3] triton==3.0.0 [conda] Could not collect ``` cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @ptrblck @msaroufim
oncall: distributed,module: cuda
low
Critical
2,530,216,245
godot
Particle velocity is not initialized to zero when new particles start
### Tested versions - v4.2.2.stable.mono.official [15073afe3] - v4.3.stable.mono.official [77dcf97d8] ### System information Godot v4.3.stable.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4080 (NVIDIA; 32.0.15.5599) - AMD Ryzen 9 7950X3D 16-Core Processor (32 Threads) ### Issue description Assume a very simple particle shader like this: ```glsl shader_type particles; void start() { TRANSFORM = mat4(vec4(1., 0.,0.,0.),vec4(0.,1.,0.,0.), vec4(0.,0.,1.,0.), vec4(float(INDEX),0.,0.,1.)); VELOCITY = vec3(0,5,0); } ``` This will make the particles line up in a row and fall down with 5 px per second. Now when I comment out the `VELOCITY` line, I would expect newly spawned particles to no longer fall down. However, newly spawned particles keep the velocity until I reload the scene. https://github.com/user-attachments/assets/b4bde8ac-6373-4e87-bd9d-a8d60360884b I would expect the particles to be initialized with a zero velocity on start. This also affects visual shaders but I assume fixing the underlying issue will fix both text-based and visual shaders. ### Steps to reproduce - Create a GPUParticles2D node. - Create a particle shader script with the contents above. - Repeat the steps from the video. ### Minimal reproduction project (MRP) N/A
bug,needs testing,topic:particles
low
Minor
2,530,235,655
vscode
Native crash in integration tests
https://dev.azure.com/vscode/VSCode/_build/results?buildId=131793&view=logs&j=a8a6689c-5a84-59c0-482a-7dd9f21eb2d8&t=914c026e-c786-5738-7483-d51207ed28a1&l=3971 [crash-dump-linux-x64-integration-1.zip](https://github.com/user-attachments/files/17024161/crash-dump-linux-x64-integration-1.zip)
bug,freeze-slow-crash-leak,linux,integration-test-failure
low
Critical
2,530,381,553
angular
`hostDirectives` should auto-resolve double matching
### Which @angular/* package(s) are relevant/related to the feature request? core ### Description I have been using `hostDirectives` extensively for past several months and `NG0309: Directives can only match an element once.` error is the bane of my existence and a huge burden on Directive Composition API. I have heard an argument from the Angular team that order of execution matters in case multiple directives have host binding to the same property. I don't believe this reasoning makes any sense when it comes to directives because it's literally impossible to maintain anyway and even if it was — it's a terrible practice to rely on `<div dirA dirB>` behaving differently than `<div dirB dirA>`. Consider this situation: All my `buttons` have a host directive that applies some visual rules — `appearance`. All my `dropdown items` have the same host directive. Now imagine I have an element, say a `sidebar item`, that can be both a `dropdown item` and a `button` and needs some code from both of those directives. If I add both `button` and `dropdown item` to host directives of `sidebar item` I get `appearance` double matched. Collapsed sidebar shows items in dropdown: ![image](https://github.com/user-attachments/assets/1d5898e4-02af-41df-8172-10b01ceaa6fa) Expanded sidebar shows them outside of dropdown as regular buttons: ![image](https://github.com/user-attachments/assets/0ac3c86f-62d5-4831-98ae-dca5327b85ff) I tried to make this example as simple and transparent as possible to illustrate the issue, please do not take it at face value. In reality this cases are much more complex, but they boil down to this: **We need to be able to declare host directives freely without having to worry about combining our directives further down the line and finding out some particular combinations cause errors due to nested host directives structure.** There's an added complexity here because host directive declarations can expose different inputs/outputs, so the real discussion here should be how to handle those best. But the core idea that it shouldn't throw for multiple matches is absolutely clear, unless I'm missing something which I'm sure I'm not but if you have a good reasoning for it — please bring it up. ### Proposed solution Once a directive is already matched on an element, ignore all subsequent matches like providers do when they are seen multiple times in `providers` arrays of multiple directives on the same element. ### Alternatives considered None possible
area: core,core: host directives
low
Critical
2,530,435,223
PowerToys
Adding a sticky note inside a folder
### Description of the new feature / enhancement Some time I like to leave a message for myself regarding a folder documents which i dont use often, but are super valueable I would love to have a sticky note thats not always active on my desktop ### Scenario when this would be used? can be used to put up a reminder for to-do, notes, attention, ### Supporting information https://www.youtube.com/watch?v=qmSS9iv6wIQ
Needs-Triage,Needs-Team-Response
low
Minor
2,530,436,904
ui
[bug]: ScrollArea not taking full height of Carousel
### Describe the bug I'm having an issue using Carousel with ScrollArea to to disable vertical carousel scroll when items are overx #4875 On mobile devices the carousel prevents natural page scroll, which gives use the idea that the page is over. Is there a way to resume natural page scroll when items are over, and when the user scrolls in the opposite direction the carousel scroll resumes? ``` "use client" import { useEffect, useState } from "react" import Image from "next/image" import { Button } from "@/components/ui/button" import { Card, CardContent } from "@/components/ui/card" import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CarouselApi, } from "@/components/ui/carousel" import { cn } from "@/lib/utils" import { AiOutlineWhatsApp } from "react-icons/ai" import { FaChevronLeft } from "react-icons/fa" import AnimatedLink from "@/components/local/animated-link" import { WheelGesturesPlugin } from "embla-carousel-wheel-gestures" import { ScrollArea } from "@/components/ui/scroll-area" // Mock data for services const services = [ { id: 1, title: "Electrical Maintenance", description: "In a market filled with temporary solutions and unqualified hands, we offer you the professionalism you deserve...", image: "/service-1.png", price: "100", }, { id: 2, title: "Electrical Maintenance", description: "In a market filled with temporary solutions and unqualified hands, we offer you the professionalism you deserve...", image: "/service-2.png", price: "150", }, { id: 3, title: "Electrical Maintenance", description: "In a market filled with temporary solutions and unqualified hands, we offer you the professionalism you deserve...", image: "/service-3.png", price: "200", }, // Add more services... ] export default function ServicesSlider() { const [api, setApi] = useState<CarouselApi>() const [current, setCurrent] = useState(0) const [count, setCount] = useState(0) useEffect(() => { if (!api) return setCount(api.scrollSnapList().length) setCurrent(api.selectedScrollSnap() + 1) api.on("select", () => { setCurrent(api.selectedScrollSnap() + 1) }) }, [api]) return ( <section id="services" className="w-full pb-10 md:py-16 bg-gradient-to-r from-black via-wine-700 to-wine-800 text-white" > <div className="px-4 md:px-6 mb-10 pt-10 md:pt-0"> <h2 className="text-3xl font-bold tracking-tighter text-center sm:text-4xl md:text-5xl m-0"> iFix Services </h2> </div> <ScrollArea className="h-fit w-full rounded-md"> <Carousel opts={{ align: "start", dragFree: true }} plugins={[WheelGesturesPlugin()]} orientation="vertical" className="w-full max-w-5xl mx-auto h-[500px] mt-16 mb-20 md:my-24 text-center md:text-right" setApi={setApi} dir="ltr" > <CarouselContent className="-mt-1 h-[500px]"> {services.map((service) => ( <CarouselItem key={service.id} className="pt-1 md:basis-3/4" > <div className="p-1"> <Card> <CardContent className="flex flex-col md:flex-row p-6 gap-2"> <div className="flex flex-col justify-between md:w-1/2 md:pr-6"> <div> <h3 className="text-3xl font-semibold mb-2"> {service.title} </h3> <p className="text-muted-foreground mb-4 text-xl"> {service.description} </p> <p className="text-2xl font-bold text-wine-800 mb-2" dir="rtl" > Starting from&nbsp; {service.price}{" "} SAR&nbsp; </p> </div> <Button className="w-1/2 mx-auto md:mr-0 text-lg bg-green-600"> <AiOutlineWhatsApp /> &nbsp; Book Service </Button> </div> <div className="md:w-1/2 mt-4 md:mt-0"> <Image src={service.image} alt={service.title} width={400} height={300} className="rounded-lg object-cover w-full h-[200px] md:h-[300px]" /> </div> </CardContent> </Card> </div> </CarouselItem> ))} </CarouselContent> {current > 1 && ( <CarouselPrevious className={cn( current === 1 ? "opacity-0 pointer-events-none" : "opacity-100" )} /> )} <CarouselNext className={cn( "transition-opacity duration-900 ease-in-out", current === count ? "opacity-50" : "opacity-100", count > 1 && "animate-pulse" )} /> </Carousel> </ScrollArea> <div className="flex justify-center mt-12"> <AnimatedLink color={"muted"} textColor={"white"} text={"All Services"} icon={<FaChevronLeft />} href={"/services"} /> </div> </section> ) } ``` ### Affected component/components Carouse ### How to reproduce 1. The code is self-contained. Just add images to see the full picture ### Codesandbox/StackBlitz link _No response_ ### Logs ```bash None ``` ### System Info ```bash MacOS ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,530,437,760
PowerToys
FancyZones forgets layout on reboot or monitor disconnect/reconnect
### Microsoft PowerToys version 0.84.0 ### Installation method PowerToys auto-update ### Running as admin No ### Area(s) with issue? FancyZones ### Steps to reproduce 9/10 times this happens when rebooting or when a monitor is disconnected/reconnected. ### ✔️ Expected Behavior The correct layout for the monitor should be remembered. When default vertical and horizontal templates are set these should be correctly selected. ### ❌ Actual Behavior A random template is selected for each monitor rather than the previously selected template or the correct default for the vertical/horizontal monitor. ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Major
2,530,447,889
electron
[Bug]: Miracast breaks since v29.0.0
### Preflight Checklist - [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success. ### Electron Version 32.1.0 ### What operating system(s) are you using? Windows ### Operating System Version Windows 10 ### What arch are you using? x64 ### Last Known Working Electron version 28.3.3 ### Expected Behavior The expected behavior is that the app will run without interfering with Miracast and RTSP protocols. ### Actual Behavior When the Electron app is running with versions 29.0.0 and above, Miracast breaks and cannot be used. ### Testcase Gist URL _No response_ ### Additional Information I managed to find out that v29.0.0-beta.11 still works, but v29.0.0-beta.12 doesn't. In the release notes, it looks like the only change that was made there was that the Chromium was upgraded. I opened an issue for Chromium and they sent me back here: https://issues.chromium.org/issues/364466907 I tried all the latest versions of Electron, and none of the versions above 29.0.0 worked. Looks like it also relates to this issue which was closed: https://github.com/electron/electron/issues/42725 I don't think it's a question as stated in this issue, but rather a bug. It worked fine before this upgrade. How I use Miracast when it breaks: Go to Settings -> Bluetooth & other devices -> Add Bluetooth or other device -> Wireless display or dock And then choose the device you want to cast to. Thanks!
platform/windows,bug :beetle:,stale,29-x-y,32-x-y,33-x-y
low
Critical
2,530,452,478
angular
bug(COMPONENT): IntelliSense is broken for v18 in standalone Components in VSCode
### Is this a regression? - [X] Yes, this behavior used to work in the previous version ### The previous version in which this bug was not present was 17 ### Description @IliaPodolko I hope its fine that I just copy the issue. **This is a intentional duplicate!** Installation of angular/material v18 breaks IntelliSense/Suggestions for some types from node_modules in VSCode. I tried the same repo steps using angular v17 and everything works fine. **Important** Angular language Service is up to date. After including ""typeRoots": ["node_modules/@angular/material"]" in tsconfig under "compilerOptions" it works again, **BUT** you get an error in tsconfig: > Cannot find type definition file for 'esm2022'. The file is in the program because: Entry point for implicit type library 'esm2022'ts Cannot find type definition file for 'fesm2022'. The file is in the program because: Entry point for implicit type library 'fesm2022'ts Cannot find type definition file for 'prebuilt-themes'. The file is in the program because: Entry point for implicit type library 'prebuilt-themes'ts Cannot find type definition file for 'schematics'. The file is in the program because: Entry point for implicit type library 'schematics'ts https://github.com/angular/components/issues/29537#issuecomment-2267167467 Is also not the solution. Its only a workaround. Intellisense should, like with the import in typeRoots, find the Module and import it on its own. ### Reproduction Repo with this error https://github.com/IliaPodolko/vscode-imports Steps to reproduce: 1. Create new angular app ng new my-angular-project 2. Install material npm install @angular/material 3. Go to app.component.ts and try add FormsModule, you will NOT see suggestions ### Expected Behavior User should see suggestions in VSCode ![image](https://github.com/user-attachments/assets/f9879c34-9dea-4c78-af02-cadc40cf46c4) ### Actual Behavior User does not see suggestions in VSCode when using angular v18 with angular/material ![image](https://github.com/user-attachments/assets/7ff72fb5-b156-4ff1-8ef0-ae04c0c10e0a) ### Environment - Angular: 18.2.4 (CLI) - CDK/Material: 18.2.4 - Browser(s): Chrome - Operating System: Windows 11 64bit - Node: 22.6.0
area: language-service,needs triage
low
Critical
2,530,467,228
deno
Bug: linting + lsp errors when `jsx` is set to `preserve`
Setting the `jsx` compiler option to `preserve` leads to an error in the LSP and when running `deno lint`. The `preserve` option is a valid value though. ## Steps to reproduce: 1. Create a `deno.json` with these contents: ```json { "compilerOptions": { "jsx": "preserve", "jsxImportSource": "preact" }, "imports": { "preact": "npm:preact@^10.24.0" } } ``` 2. Open the folder containing the `deno.json` in vscode. Output: ```sh Error caching: Unsupported 'jsx' compiler option value 'preserve'. Supported: 'react-jsx', 'react-jsxdev', 'react', 'precompile' at file:///Users/marvinh/dev/test/deno-jsx-preservec/deno.json ``` <img width="483" alt="Screenshot 2024-09-17 at 10 51 22" src="https://github.com/user-attachments/assets/6e15e368-f442-41fa-92ec-8a1b945ca705"> Version: Deno 2.0.0-rc.2+aaf2bf4
needs discussion,lsp,tsc
medium
Critical
2,530,499,275
PowerToys
Add an option to the keyboard modifier
### Description of the new feature / enhancement When using a laptop keyboard, I modify some keys to make it easier for me to work. However, when connecting an external full size keyboard it would be nice if it automatically reverted to a different (standard?) behaviour. ### Scenario when this would be used? When using a different keyboard to the normal one. ### Supporting information _No response_
Needs-Triage
low
Minor
2,530,549,288
pytorch
linux-aarch64 CI tests are being timed out resulting in test failures
> NOTE: Remember to label this issue with "`ci: sev`" Blocks merging of : https://github.com/pytorch/pytorch/pull/134124 and https://github.com/pytorch/pytorch/pull/135857 ## Current Status *Status could be: preemptive, ongoing, mitigated, closed. Also tell people if they need to take action to fix it (i.e. rebase)*. ## Error looks like https://github.com/pytorch/pytorch/actions/workflows/linux-aarch64.yml https://github.com/pytorch/pytorch/actions/runs/10894440149/job/30233134789 ## Incident timeline (all times pacific) Linux-aarch64 time out is observed since last week and its still on going ## User impact Blocks testing / merging ## Root cause *What was the root cause of this issue?* ## Mitigation *How did we mitigate the issue?* ## Prevention/followups *How do we prevent issues like this in the future?* cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @seemethere @malfet @pytorch/pytorch-dev-infra @snadampal @milpuz01
module: ci,triaged,module: arm
low
Critical
2,530,610,924
TypeScript
Computed type key inference inconsistent with identical explicitly declared type
### 🔎 Search Terms keyof required keys key evaluation reduce getReducedType ### 🕗 Version & Regression Information - This is the behavior in every version I tried ### ⏯ Playground Link https://tsplay.dev/WKQkzN ### 💻 Code ```ts type distilled = distill<{ // ^? foo: "default" bar?: number }> // incorrectly inferred as unknown type requiredDistilledKey = requiredKeyOf<distilled> // ^? // explicit declaration identical to hover of distilled type declared = { bar?: number } & { foo?: "default" } // now correctly inferred as never type requiredDeclaredKey = requiredKeyOf<declared> // ^? type requiredKeyOf<o> = { [k in keyof o]-?: o extends { [_ in k]-?: o[k] } ? k : never }[keyof o] type distill<t> = t extends object ? distillMappable<t> : t type distillMappable<o> = { [k in keyof o as k extends inferredDefaultKeyOf<o> ? never : k]: distill<o[k]> } & { [k in inferredDefaultKeyOf<o>]?: distill<o[k]> } type inferredDefaultKeyOf<o> = { [k in keyof o]: o[k] extends "default" ? k : never }[keyof o] ``` ### 🙁 Actual behavior `requiredDistilledKey` inferred as `unknown` ### 🙂 Expected behavior `requiredDistilledKey` inferred as `never`, consistent with the equivalent declared version ### Additional information about the issue _No response_
Bug,Help Wanted
low
Minor
2,530,627,877
godot
Typed Arrays with a named enum type cannot be set using `Object.set`
### Tested versions - reproducible in v4.4.dev2.mono.official [97ef3c837], v4.3.stable.mono.official [77dcf97d8] and v4.2.2.stable.mono.official [15073afe3] ### System information Godot v4.3.stable.mono - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4070 Ti SUPER (NVIDIA; 32.0.15.6109) - AMD Ryzen 7 7800X3D 8-Core Processor (16 Threads) ### Issue description If you declare an array with a named enum type, the `Object.set` method will not set that array's value, but should. Please see code in steps to reproduce or MRP for more details. ### Steps to reproduce Use the MRP, or create a single scene project with this script attached to a single Node2D and run it: ```gdscript extends Node2D enum THING {FOO, BAR, BAZ} var my_typed_list: Array[THING] = [] func _ready() -> void: self.set("my_typed_list", [THING.FOO, THING.BAR]) print("(Typed array) Should have 2 elements but doesn't: ", my_typed_list, " <--------- Incorrect") my_typed_list = [THING.FOO, THING.BAR] print("(Typed array) Should have 2 elements and does: ", my_typed_list, " <--------- Correct ") ``` Expected behavior: The array should print with 2 elements. Actual behavior: The array prints with 0 elements. ### Minimal reproduction project (MRP) [setenum.zip](https://github.com/user-attachments/files/17026222/setenum.zip)
discussion,topic:core,topic:gdscript,documentation
low
Major
2,530,655,849
excalidraw
align action doesn't work when all elements in group selected
![excal-align-in-group](https://github.com/user-attachments/assets/5a257f6f-88b3-4e8e-b455-0765871c246c)
bug
low
Minor
2,530,658,506
excalidraw
support `enter` to edit group
Upon `enter`, it should edit group and select all elements within it.
enhancement,good first issue,grouping
low
Minor
2,530,667,330
ui
[fix]: RTL Support for Switch Component Not Working.
### Feature description Issue The RTL (right-to-left) support for the `Switch` component is not working as expected. When checked, the switch moves to the right, even in RTL mode. I did like this: 1. Set the `dir` prop to `'rtl'`. 2. Toggle the switch. 3. Notice that the switch moves to the right instead of to the left in RTL mode. ### Affected component/components _No response_ ### Additional Context Additional details here... ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues and PRs
area: request
low
Minor
2,530,674,337
deno
Unable to load pdf-parse.d.ts: The system cannot find the path specified. (os error 3)
Version: Deno 1.46.3 I am doing some work with langchain, and trying to create a JSR package that contains calls to PDFLoader. THe issue i am running into is: ``` error: Uncaught Error: Unable to load C:\Users\MyUser\AppData\Local\deno\npm\registry.npmjs.org\@langchain\community\0.3.0\src\types\pdf-parse.d.ts: The system cannot find the path specified. (os error 3) at Object.getSourceFile (ext:deno_tsc/99_main_compiler.js:648:28) at findSourceFileWorker (ext:deno_tsc/00_typescript.js:126064:23) at findSourceFile (ext:deno_tsc/00_typescript.js:125980:20) at ext:deno_tsc/00_typescript.js:125929:22 at getSourceFileFromReferenceWorker (ext:deno_tsc/00_typescript.js:125900:26) at processSourceFile (ext:deno_tsc/00_typescript.js:125927:5) at ext:deno_tsc/00_typescript.js:126221:7 at forEach (ext:deno_tsc/00_typescript.js:2388:22) at processReferencedFiles (ext:deno_tsc/00_typescript.js:126220:5) at findSourceFileWorker (ext:deno_tsc/00_typescript.js:126123:9) ``` Previously, this was resolved by using a call to `import * as _parse from "npm:pdf-parse@1.1.1";` somewhere in the imports, but that no longer seems to fix the issue... at least it doesn't fix it in the context of tests or deno publish commands.
bug,tsc,jsr
low
Critical
2,530,703,621
godot
`get_script_method_list()` lists functions from inherited scripts
### Tested versions - v4.2.2.stable.official [15073afe3] - v4.3.stable.mono.official [77dcf97d8] - v4.4.dev2.official [97ef3c837] ### System information Windows 11 ### Issue description From the official [documentation](https://docs.godotengine.org/en/stable/classes/class_script.html#class-script-method-get-script-method-list) the function `get_script_method_list` should `Returns the list of methods in **this** Script.` However, the methods of the inherited scripts are also listed, contrary to the documentation. ```gd class_name CustomClassExtendsCustomClass extends CustomResourceTestClass # override @warning_ignore("untyped_declaration") func foo2(): return "foo2 overriden" func bar2() -> String: return bar() ``` ```gd Script res://CustomClassExtendsCustomClass.gd { "name": "foo2", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 0, "hint": 0, "hint_string": "", "usage": 131072 } } { "name": "bar2", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 4, "hint": 0, "hint_string": "", "usage": 0 } } { "name": "foo", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 4, "hint": 0, "hint_string": "", "usage": 0 } } { "name": "foo2", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 0, "hint": 0, "hint_string": "", "usage": 131072 } } { "name": "foo_void", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 0, "hint": 0, "hint_string": "", "usage": 6 } } { "name": "bar", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 4, "hint": 0, "hint_string": "", "usage": 0 } } { "name": "foo5", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 0, "hint": 0, "hint_string": "", "usage": 6 } } Script res://CustomResourceTestClass.gd { "name": "foo", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 4, "hint": 0, "hint_string": "", "usage": 0 } } { "name": "foo2", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 0, "hint": 0, "hint_string": "", "usage": 131072 } } { "name": "foo_void", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 0, "hint": 0, "hint_string": "", "usage": 6 } } { "name": "bar", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 4, "hint": 0, "hint_string": "", "usage": 0 } } { "name": "foo5", "args": [], "default_args": [], "flags": 1, "id": 0, "return": { "name": "", "class_name": &"", "type": 0, "hint": 0, "hint_string": "", "usage": 6 } } ``` ### Steps to reproduce Load the attached project and run the test scene. ### Minimal reproduction project (MRP) [script_methods.zip](https://github.com/user-attachments/files/17026664/script_methods.zip)
discussion,topic:core,documentation
low
Minor
2,530,733,011
PowerToys
New shortcut in "Shortcut Guide"
### Description of the new feature / enhancement You should add the Win+Z shortcut along with the window snapping shortcuts. ### Scenario when this would be used? when opening the Shortcut Guide page. ### Supporting information _No response_
Needs-Triage
low
Minor
2,530,759,588
pytorch
[Bug][CompiledAutograd] PyTorch with CompiledAutograd throws an IndexError: list index out of range when the hook code includes a list append operation.
### 🐛 Describe the bug There is an issue with tracing hooks when the hook contains list append operations (it also depends on which element is added; for example, adding an integer causes no issue). This seems to occur in certain corner cases, one of which is provided below. However, if I change the line grads.append(grad) to something like grads.append(0), the issue doesn't occur. ```python import torch import torch._dynamo.utils from torch._dynamo import compiled_autograd def test_compiled_autograd(): device = "cpu" backend = "inductor" grads = [] def hook_fn(grad): #If the line below is commented out or changed to, for example, grads.append(grad), there is no issue grads.append(grad) return grad def fn(x, y): x.register_hook(hook_fn) return x + y def compiler_fn(gm): return torch.compile(gm, backend=backend) torch._dynamo.reset() with compiled_autograd.enable(compiler_fn): x = torch.tensor([0.5, 0.5], device=device, requires_grad=True) y = torch.tensor([0.5, 0.5], device=device, requires_grad=True) out = fn(x, y) grad_out = torch.tensor([2.0, 2.0], device=device) out.backward(grad_out) test_compiled_autograd() ``` Traceback below ``` Traceback (most recent call last): File "/lib/python3.10/site-packages/torch/fx/graph_module.py", line 303, in __call__ return super(self.cls, obj).__call__(*args, **kwargs) # type: ignore[misc] File "/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1556, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1565, in _call_impl return forward_call(*args, **kwargs) File "<eval_with_key>.2", line 4, in forward def forward(self, inputs, sizes, hooks): IndexError: list index out of range Call using an FX-traced Module, line 4 of the traced Module's generated forward function: def forward(self, inputs, sizes, hooks): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE getitem = inputs[0] getitem_1 = inputs[1] Traceback (most recent call last): File "/src/test.py", line 35, in <module> test_compiled_autograd() File "/src/test.py", line 33, in test_compiled_autograd out.backward(grad_out) File "/lib/python3.10/site-packages/torch/_tensor.py", line 531, in backward torch.autograd.backward( File "/lib/python3.10/site-packages/torch/autograd/__init__.py", line 289, in backward _engine_run_backward( File "/lib/python3.10/site-packages/torch/autograd/graph.py", line 768, in _engine_run_backward return Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass File "/lib/python3.10/site-packages/torch/_dynamo/compiled_autograd.py", line 292, in runtime_wrapper return compiled_fn(inputs, sizes, hooks) File "/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1556, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1565, in _call_impl return forward_call(*args, **kwargs) File "/lib/python3.10/site-packages/torch/_dynamo/eval_frame.py", line 433, in _fn return fn(*args, **kwargs) File "/lib/python3.10/site-packages/torch/fx/graph_module.py", line 738, in call_wrapped return self._wrapped_call(self, *args, **kwargs) File "/lib/python3.10/site-packages/torch/fx/graph_module.py", line 314, in __call__ raise e.with_traceback(None) # noqa: B904 ``` ### Versions Collecting environment information... PyTorch version: 2.4.0a0+git63a653e Is debug build: False CUDA used to build PyTorch: None ROCM used to build PyTorch: N/A OS: Ubuntu 22.04 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: 14.0.5 CMake version: version 3.30.2 Libc version: glibc-2.35 Python version: 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] (64-bit runtime) Python platform: Linux-5.15.0-113-generic-x86_64-with-glibc2.35 Is CUDA available: False CUDA runtime version: No CUDA CUDA_MODULE_LOADING set to: N/A GPU models and configuration: No CUDA Nvidia driver version: No CUDA cuDNN version: No CUDA HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 43 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 12 On-line CPU(s) list: 0-11 Vendor ID: GenuineIntel Model name: Intel(R) Xeon(R) Gold 5220R CPU @ 2.20GHz CPU family: 6 Model: 85 Thread(s) per core: 1 Core(s) per socket: 6 Socket(s): 2 Stepping: 0 BogoMIPS: 4389.68 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xsaves arat pku ospke md_clear flush_l1d arch_capabilities Virtualization: VT-x Hypervisor vendor: VMware Virtualization type: full L1d cache: 384 KiB (12 instances) L1i cache: 384 KiB (12 instances) L2 cache: 12 MiB (12 instances) L3 cache: 71.5 MiB (2 instances) NUMA node(s): 1 NUMA node0 CPU(s): 0-11 Vulnerability Gather data sampling: Unknown: Dependent on hypervisor status Vulnerability Itlb multihit: KVM: Mitigation: VMX disabled Vulnerability L1tf: Mitigation; PTE Inversion; VMX flush not necessary, SMT disabled Vulnerability Mds: Mitigation; Clear CPU buffers; SMT Host state unknown Vulnerability Meltdown: Mitigation; PTI Vulnerability Mmio stale data: Mitigation; Clear CPU buffers; SMT Host state unknown Vulnerability Retbleed: Mitigation; IBRS Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; IBRS; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Syscall hardening, KVM SW loop Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] numpy==1.23.5 [pip3] torch==2.4.0a0+git63a653e [pip3] torch_tb_profiler==0.4.0 [pip3] torchaudio==2.4.0a0+69d4077 [pip3] torchdata==0.7.1+5e6f7b7 [pip3] torchmetrics==1.4.1 [pip3] torchtext==0.18.0a0+9bed85d [pip3] torchvision==0.19.0a0+48b1edf [conda] Could not collect cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames @rec @xmfan @yf225
triaged,oncall: pt2,module: dynamo,module: compiled autograd
low
Critical
2,530,770,905
godot
Unable to switch main screen after leaving the editor idle
### Tested versions Godot v4.3.stable.mono ### System information Godot v4.3.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 970 (NVIDIA; 32.0.15.6070) - Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz (4 Threads) ### Issue description After leaving the Godot window unfocused for about 10 minutes, whilst I did other things on the PC, I was no longer able to switch main screens (2D, 3D, Script, AssetLib buttons at the top). Restarting the editor obviously fixes this issue. The video below shows the bug in action, focus on the top of the screen where the main screen buttons are. https://github.com/user-attachments/assets/0f5d5005-0469-422e-b2e2-dae61bb620bd Before experiencing the bug for the first time I saved the current scene, pushed all my changes to git, and then had the Godot window unfocused in the background. I only have one addon in the project and some custom editor scripts and both of them do not change the editor GUI in any way. I've only tested this bug on my current project, and not on an empty one. ### Steps to reproduce The steps below produce the bug only 50%-60% of the time. - Leave the Godot editor window unfocused for at least 10 minutes - Try pressing the main screen buttons within the editor ### Minimal reproduction project (MRP) N/A
bug,topic:editor,needs testing
low
Critical
2,530,782,648
flutter
PopScope is not working for LocalHistoryEntry navigation
### Steps to reproduce Run the code sample. Go to second page. Click show rectangle and then click go back. ### Expected results onPopInvokedWithResult callback should be triggered on removing the LocalHistoryEntry. ### Actual results onPopInvoked callback is not triggering on removing the LocalHistoryEntry. But this works fine with Flutter 3.22 ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(const App()); } class App extends StatelessWidget { const App({super.key}); @override Widget build(BuildContext context) { return MaterialApp( initialRoute: '/', routes: <String, WidgetBuilder>{ '/': (BuildContext context) => const HomePage(), '/second_page': (BuildContext context) => const SecondPage(), }, ); } } class HomePage extends StatefulWidget { const HomePage({super.key}); @override State<HomePage> createState() => _HomePageState(); } class _HomePageState extends State<HomePage> { @override Widget build(BuildContext context) { return Scaffold( body: Center( child: Column( mainAxisSize: MainAxisSize.min, children: <Widget>[ const Text('HomePage'), // Press this button to open the SecondPage. ElevatedButton( child: const Text('Second Page >'), onPressed: () { Navigator.pushNamed(context, '/second_page'); }, ), ], ), ), ); } } class SecondPage extends StatefulWidget { const SecondPage({super.key}); @override State<SecondPage> createState() => _SecondPageState(); } class _SecondPageState extends State<SecondPage> { bool _showRectangle = false; Future<void> _navigateLocallyToShowRectangle() async { // This local history entry essentially represents the display of the red // rectangle. When this local history entry is removed, we hide the red // rectangle. setState(() => _showRectangle = true); ModalRoute.of(context) ?.addLocalHistoryEntry(LocalHistoryEntry(onRemove: () { // Hide the red rectangle. setState(() => _showRectangle = false); })); } @override Widget build(BuildContext context) { final Widget localNavContent = _showRectangle ? Container( width: 100.0, height: 100.0, color: Colors.red, ) : ElevatedButton( onPressed: _navigateLocallyToShowRectangle, child: const Text('Show Rectangle'), ); return PopScope( onPopInvoked: (didPop) { print('pop'); }, // onPopInvokedWithResult: (didPop, result) { // print('pop with result'); // }, child: Scaffold( body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ localNavContent, ElevatedButton( child: const Text('< Back'), onPressed: () { // Pop a route. If this is pressed while the red rectangle is // visible then it will pop our local history entry, which // will hide the red rectangle. Otherwise, the SecondPage will // navigate back to the HomePage. Navigator.of(context).pop(); }, ), ], ), ), ), ); } } ``` </details> ### Screenshots or Video - ### Logs No logs for this issue. ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [√] Flutter (Channel stable, 3.24.2, on Microsoft Windows [Version 10.0.22621.4169], locale en-US) • Flutter version 3.24.2 on channel stable at C:\sdk\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 4cf269e36d (2 weeks ago), 2024-09-03 14:30:00 -0700 • Engine revision a6bd3f1de1 • Dart version 3.5.2 • DevTools version 2.37.2 [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\sdk\android-sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = C:\sdk\android-sdk • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [√] Visual Studio - develop Windows apps (Visual Studio Professional 2022 17.11.3) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Professional • Visual Studio Professional 2022 version 17.11.35303.130 • Windows 10 SDK version 10.0.22621.0 [√] Android Studio (version 2024.1) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314) [√] VS Code (version 1.93.1) • VS Code at C:\Users\\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.96.0 [√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.4169] • Chrome (web) • chrome • web-javascript • Google Chrome 128.0.6613.138 • Edge (web) • edge • web-javascript • Microsoft Edge 128.0.2739.79 [√] Network resources • All expected network resources are available. ``` </details>
framework,f: routes,has reproducible steps,P2,team-framework,triaged-framework,found in release: 3.24,found in release: 3.26
low
Major
2,530,851,358
rust
The compiler is unable to select `PartialOrd` implementation to compare `&[u8]` and `&[u8;32]` if `bytes` crate is imported
I tried this code: ```rust use bytes::Bytes; fn main() { let hash = Vec::<u8>::new(); assert!(hash.as_slice() < &[0u8; 32]); } ``` playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b54926ee34df82189cedb9ef01de3afb I expected to see this happen: The code should compile Instead, this happened: Compilation fails: ``` error[E0277]: can't compare `[u8]` with `[u8; 32]` --> src/main.rs:7:29 | 7 | assert!(hash.as_slice() < &[0u8; 32]); | ^ no implementation for `[u8] < [u8; 32]` and `[u8] > [u8; 32]` | = help: the trait `PartialOrd<[u8; 32]>` is not implemented for `[u8]`, which is required by `&[u8]: PartialOrd<&[u8; 32]>` = help: the following other types implement trait `PartialOrd<Rhs>`: `&[u8]` implements `PartialOrd<BytesMut>` `&[u8]` implements `PartialOrd<bytes::Bytes>` `[u8]` implements `PartialOrd<BytesMut>` `[u8]` implements `PartialOrd<bytes::Bytes>` = note: required for `&[u8]` to implement `PartialOrd<&[u8; 32]>` ``` The code compiles after removing `use bytes::Bytes;` ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` ❯ rustc --version --verbose rustc 1.81.0 (eeb90cda1 2024-09-04) binary: rustc commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c commit-date: 2024-09-04 host: x86_64-unknown-linux-gnu release: 1.81.0 LLVM version: 18.1.7 ``` It also fails with: - beta 1.82.0-beta.3 (2024-09-09 4976ae480e2b29cc46f4) - nightly 1.83.0-nightly (2024-09-16 c52c23b6f44cd1971872)
A-trait-system,T-compiler,C-bug
low
Critical
2,530,906,311
vscode
Multiple cursors + Word wrap
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.93.1 - OS Version: Windows 11 #26393 is still happening, despite having been marked fixed. https://github.com/user-attachments/assets/9622342d-db90-48f9-b818-b193fdc87f2f Maybe something has regressed since 2021.
bug,editor-multicursor
low
Critical
2,531,003,052
angular
Reactive `ComponentRef.setInput`
### Which @angular/* package(s) are relevant/related to the feature request? core ### Description If I want to pass signal based data to a `ComponentRef` we have to set the input and create an effect to update the input. ```ts const counterSignal = signal<number>(0) // signal from store or some service const counterOverlayRef = createOverlay(); // using CDK Overlay const counterComponentRef = counterOverlayRef.attach(new ComponentPortal(MyCounterComponent)); counterComponentRef.setInput('count', counterSignal()); effect(() => { counterComponentRef.setInput('count', counterSignal()); }, { injector: counterComponentRef.injector }); // using component ref injector to cleanup effect with component ``` ### Proposed solution It would be nice to streamline this by passing the signal itself. ```ts const counterSignal = signal<number>(0) // signal from store or some service const counterOverlayRef = createOverlay(); // using CDK Overlay const counterComponentRef = counterOverlayRef.attach(new ComponentPortal(MyCounterComponent)); counterComponentRef.setInput('count', counterSignal); ``` ### Alternatives considered I see there may be a problem with the auto-detection of signals in the `setInput` method, when the input requires a signal. That's why I would suggest a config flag or separate method. ```ts counterComponentRef.setInput(counterSignal, { useSignal: true }) counterComponentRef.setInputBySignal(counterSignal) ```
feature,area: core,core: inputs / outputs,core: dynamic view creation,cross-cutting: signals
low
Minor
2,531,028,263
flutter
Camera controller.resume() throws Surface was abandoned in AppLifecycleState.resumed
### What package does this bug report belong to? camera ### What target platforms are you seeing this bug on? Android ### Have you already upgraded your packages? Yes ### Dependency versions <details><summary>pubspec.lock</summary> ```lock # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: async: dependency: transitive description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: transitive description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" camera: dependency: "direct main" description: name: camera sha256: "26ff41045772153f222ffffecba711a206f670f5834d40ebf5eed3811692f167" url: "https://pub.dev" source: hosted version: "0.11.0+2" camera_android_camerax: dependency: transitive description: name: camera_android_camerax sha256: "7cd93578ad201dcc6bb5810451fb00d76a86bab9b68dceb68b8cbd7038ac5846" url: "https://pub.dev" source: hosted version: "0.6.8+3" camera_avfoundation: dependency: transitive description: name: camera_avfoundation sha256: "7c28969a975a7eb2349bc2cb2dfe3ad218a33dba9968ecfb181ce08c87486655" url: "https://pub.dev" source: hosted version: "0.9.17+3" camera_platform_interface: dependency: transitive description: name: camera_platform_interface sha256: b3ede1f171532e0d83111fe0980b46d17f1aa9788a07a2fbed07366bbdbb9061 url: "https://pub.dev" source: hosted version: "2.8.0" camera_web: dependency: transitive description: name: camera_web sha256: "595f28c89d1fb62d77c73c633193755b781c6d2e0ebcd8dc25b763b514e6ba8f" url: "https://pub.dev" source: hosted version: "0.3.5" characters: dependency: transitive description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" clock: dependency: transitive description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: transitive description: name: collection sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted version: "1.18.0" cross_file: dependency: transitive description: name: cross_file sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" url: "https://pub.dev" source: hosted version: "0.3.4+2" cupertino_icons: dependency: "direct main" description: name: cupertino_icons sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 url: "https://pub.dev" source: hosted version: "1.0.8" fake_async: dependency: transitive description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_lints: dependency: "direct dev" description: name: flutter_lints sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" url: "https://pub.dev" source: hosted version: "4.0.0" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle sha256: "9ee02950848f61c4129af3d6ec84a1cfc0e47931abc746b03e7a3bc3e8ff6eda" url: "https://pub.dev" source: hosted version: "2.0.22" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" flutter_web_plugins: dependency: transitive description: flutter source: sdk version: "0.0.0" leak_tracker: dependency: transitive description: name: leak_tracker sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" url: "https://pub.dev" source: hosted version: "3.0.5" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted version: "3.0.1" lints: dependency: transitive description: name: lints sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted version: "4.0.0" matcher: dependency: transitive description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted version: "0.11.1" meta: dependency: transitive description: name: meta sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted version: "1.15.0" path: dependency: transitive description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted version: "2.1.8" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.99" source_span: dependency: transitive description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: transitive description: name: stack_trace sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" stream_transform: dependency: transitive description: name: stream_transform sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" url: "https://pub.dev" source: hosted version: "2.1.0" string_scanner: dependency: transitive description: name: string_scanner sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted version: "1.2.0" term_glyph: dependency: transitive description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: transitive description: name: test_api sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" url: "https://pub.dev" source: hosted version: "0.7.2" vector_math: dependency: transitive description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" vm_service: dependency: transitive description: name: vm_service sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted version: "14.2.5" web: dependency: transitive description: name: web sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062 url: "https://pub.dev" source: hosted version: "1.0.0" sdks: dart: ">=3.5.2 <4.0.0" flutter: ">=3.24.0" ``` </details> ### Steps to reproduce 1. Run the app 2. Once the app is initialized and you see the camera preview just pull the notifications bar to trigger didChangeAppLifecycleState 3. come back to the app to trigger didChangeAppLifecycleState again 4. the camera preview is frozen and in the console you should see Surface was abandoned ### Expected results The camera preview should be resumed. In the pubspec.lock if you have camera_android_camerax version: "0.6.8+3" the issue is persistent and happens on all devices. If you switch to "0.6.7+2" its fixed. ### Actual results The app silent crashes on android level and the camera preview is stuck ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:camera/camera.dart'; import 'package:flutter/material.dart'; late List<CameraDescription> _cameras; Future<void> main() async { WidgetsFlutterBinding.ensureInitialized(); _cameras = await availableCameras(); runApp(const CameraApp()); } class CameraApp extends StatelessWidget { const CameraApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Camera App', theme: ThemeData( primarySwatch: Colors.blue, ), home: const CameraPage(), ); } } class CameraPage extends StatefulWidget { /// Default Constructor const CameraPage({super.key}); @override State<CameraPage> createState() => _CameraPageState(); } class _CameraPageState extends State<CameraPage> with WidgetsBindingObserver { CameraController? controller; @override void initState() { super.initState(); WidgetsBinding.instance.addObserver(this); initCamera(); } initCamera() async { var cameras = await availableCameras(); controller = CameraController(cameras[0], ResolutionPreset.veryHigh); controller?.initialize().then((_) { if (!mounted) { return; } setState(() {}); }).catchError((Object e) { if (e is CameraException) { switch (e.code) { case 'CameraAccessDenied': // Handle access errors here. break; default: print(e); break; } } }); } @override void didChangeAppLifecycleState(AppLifecycleState state) { super.didChangeAppLifecycleState(state); if (controller == null || !controller!.value.isInitialized) { return; } if (state == AppLifecycleState.inactive) { controller?.pausePreview(); } else if (state == AppLifecycleState.resumed) { controller?.resumePreview(); } } @override void dispose() { controller?.dispose(); WidgetsBinding.instance.removeObserver(this); super.dispose(); } @override Widget build(BuildContext context) { if (controller == null || !controller!.value.isInitialized) { return Container(); } return MaterialApp( home: CameraPreview(controller!), ); } } ``` </details> ### Screenshots or Videos <details open> <summary>Screenshots / Video demonstration</summary> [Screen_recording_20240917_142220.webm](https://github.com/user-attachments/assets/f0bb9cd2-0b9b-4ab0-a2ad-7438f65945ac) </details> ### Logs <details open><summary>Logs</summary> ```console D/CameraStateRegistry( 9840): Recalculating open cameras: D/CameraStateRegistry( 9840): Camera State D/CameraStateRegistry( 9840): ------------------------------------------------------------------- D/CameraStateRegistry( 9840): Camera@48d314e[id=10] UNKNOWN D/CameraStateRegistry( 9840): Camera@810b77[id=1] OPEN D/CameraStateRegistry( 9840): ------------------------------------------------------------------- D/CameraStateRegistry( 9840): Open count: 1 (Max allowed: 1) D/CameraStateMachine( 9840): New public camera state CameraState{type=OPEN, error=null} from OPEN and null D/CameraStateMachine( 9840): Publishing new public camera state CameraState{type=OPEN, error=null} D/UseCaseAttachState( 9840): All use case: [androidx.camera.core.ImageCapture-37d83db3-143b-4eca-8d2d-efc666438751140185753, androidx.camera.core.Preview-50817409-2990-4cce-8950-506b065c63c99934749, androidx.camera.core.ImageAnalysis-5373193f-b794-47db-a97b-7e7e43e123e8201584447] for camera: 1 D/UseCaseAttachState( 9840): Active and attached use case: [androidx.camera.core.ImageCapture-37d83db3-143b-4eca-8d2d-efc666438751140185753, androidx.camera.core.Preview-50817409-2990-4cce-8950-506b065c63c99934749] for camera: 1 D/SyncCaptureSessionBase( 9840): [androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl@3678b83] getSurface...done D/CaptureSession( 9840): Opening capture session. D/DeferrableSurface( 9840): use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@75b2504 D/DeferrableSurface( 9840): New surface in use[total_surfaces=4, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@eca796e} D/DeferrableSurface( 9840): use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@eca796e D/DeferrableSurface( 9840): New surface in use[total_surfaces=4, used_surfaces=3](androidx.camera.core.impl.ImmediateSurface@a8be7a} D/DeferrableSurface( 9840): use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@a8be7a D/CaptureSession( 9840): Attempting to send capture request onConfigured D/CaptureSession( 9840): Issuing request for session. D/Camera2CaptureRequestBuilder( 9840): createCaptureRequest D/CaptureSession( 9840): CameraCaptureSession.onConfigured() mState=OPENED D/CaptureSession( 9840): CameraCaptureSession.onReady() OPENED D/EGL_emulation( 9840): app_time_stats: avg=48.03ms min=10.81ms max=283.63ms count=22 D/EGL_emulation( 9840): app_time_stats: avg=33.92ms min=28.40ms max=50.28ms count=30 D/DeferrableSurface( 9840): surface closed, useCount=2 closed=true androidx.camera.core.SurfaceRequest$2@75b2504 D/DeferrableSurface( 9840): surface closed, useCount=0 closed=true androidx.camera.core.processing.SurfaceEdge$SettableSurface@e3aab58 D/DeferrableSurface( 9840): Surface terminated[total_surfaces=3, used_surfaces=3](androidx.camera.core.processing.SurfaceEdge$SettableSurface@e3aab58} D/DeferrableSurface( 9840): use count-1, useCount=1 closed=true androidx.camera.core.SurfaceRequest$2@75b2504 D/Camera2CameraImpl( 9840): {Camera@810b77[id=1]} Use cases [androidx.camera.core.Preview-50817409-2990-4cce-8950-506b065c63c99934749] now DETACHED for camera D/UseCaseAttachState( 9840): All use case: [androidx.camera.core.ImageCapture-37d83db3-143b-4eca-8d2d-efc666438751140185753, androidx.camera.core.ImageAnalysis-5373193f-b794-47db-a97b-7e7e43e123e8201584447] for camera: 1 D/Camera2CameraImpl( 9840): mMeteringRepeating is ATTACHED, SessionConfig Surfaces: 2, CaptureConfig Surfaces: 1 D/UseCaseAttachState( 9840): Active and attached use case: [androidx.camera.core.ImageCapture-37d83db3-143b-4eca-8d2d-efc666438751140185753] for camera: 1 D/CaptureSession( 9840): Attempting to submit CaptureRequest after setting D/CaptureSession( 9840): Skipping issueRepeatingCaptureRequests for no surface. D/Camera2CameraImpl( 9840): {Camera@810b77[id=1]} Resetting Capture Session D/Camera2CameraImpl( 9840): {Camera@810b77[id=1]} Releasing session in state OPENED D/UseCaseAttachState( 9840): All use case: [androidx.camera.core.ImageCapture-37d83db3-143b-4eca-8d2d-efc666438751140185753, androidx.camera.core.ImageAnalysis-5373193f-b794-47db-a97b-7e7e43e123e8201584447] for camera: 1 D/CaptureSession( 9840): onSessionFinished() D/SyncCaptureSessionBase( 9840): [androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl@3202a30] getSurface...done D/CaptureSession( 9840): Opening capture session. D/DeferrableSurface( 9840): use count+1, useCount=2 androidx.camera.core.impl.ImmediateSurface@eca796e D/DeferrableSurface( 9840): use count+1, useCount=2 androidx.camera.core.impl.ImmediateSurface@a8be7a D/EGL_emulation( 9840): app_time_stats: avg=33.59ms min=5.88ms max=68.97ms count=30 D/DeferrableSurface( 9840): use count-1, useCount=0 closed=true androidx.camera.core.SurfaceRequest$2@75b2504 D/DeferrableSurface( 9840): Surface no longer in use[total_surfaces=3, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@75b2504} D/DeferrableSurface( 9840): Surface terminated[total_surfaces=2, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@75b2504} D/DeferrableSurface( 9840): use count-1, useCount=1 closed=false androidx.camera.core.impl.ImmediateSurface@eca796e D/DeferrableSurface( 9840): use count-1, useCount=1 closed=false androidx.camera.core.impl.ImmediateSurface@a8be7a D/CaptureSession( 9840): Attempting to send capture request onConfigured D/CaptureSession( 9840): Skipping issueRepeatingCaptureRequests for no surface. D/CaptureSession( 9840): CameraCaptureSession.onConfigured() mState=OPENED D/CaptureSession( 9840): CameraCaptureSession.onReady() OPENED D/CaptureSession( 9840): CameraCaptureSession.onReady() OPENED D/ProfileInstaller( 9840): Installing profile for com.example.camera_resume_test2 D/CameraOrientationUtil( 9840): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=270, isOppositeFacing=false, result=270 D/CameraOrientationUtil( 9840): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=270, isOppositeFacing=false, result=270 D/CameraOrientationUtil( 9840): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=270, isOppositeFacing=false, result=270 D/DynamicRangeResolver( 9840): Resolved dynamic range for use case androidx.camera.core.Preview-50817409-2990-4cce-8950-506b065c63c9 to no compatible HDR dynamic ranges. D/DynamicRangeResolver( 9840): DynamicRange@fc0b46c{encoding=UNSPECIFIED, bitDepth=0} D/DynamicRangeResolver( 9840): -> D/DynamicRangeResolver( 9840): DynamicRange@329f91f{encoding=SDR, bitDepth=8} D/EGL_emulation( 9840): app_time_stats: avg=340.82ms min=32.02ms max=1555.65ms count=5 D/CameraOrientationUtil( 9840): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=270, isOppositeFacing=false, result=270 D/DeferrableSurface( 9840): Surface created[total_surfaces=3, used_surfaces=2](androidx.camera.core.processing.SurfaceEdge$SettableSurface@d55a1e1} D/DeferrableSurface( 9840): Surface created[total_surfaces=4, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@da97b1d} D/DeferrableSurface( 9840): New surface in use[total_surfaces=4, used_surfaces=3](androidx.camera.core.SurfaceRequest$2@da97b1d} D/DeferrableSurface( 9840): use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@da97b1d D/CameraOrientationUtil( 9840): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=270, isOppositeFacing=false, result=270 D/Camera2CameraImpl( 9840): {Camera@810b77[id=1]} Use cases [androidx.camera.core.Preview-50817409-2990-4cce-8950-506b065c63c99934749] now ATTACHED D/UseCaseAttachState( 9840): All use case: [androidx.camera.core.ImageCapture-37d83db3-143b-4eca-8d2d-efc666438751140185753, androidx.camera.core.ImageAnalysis-5373193f-b794-47db-a97b-7e7e43e123e8201584447, androidx.camera.core.Preview-50817409-2990-4cce-8950-506b065c63c99934749] for camera: 1 D/UseCaseAttachState( 9840): Active and attached use case: [androidx.camera.core.ImageCapture-37d83db3-143b-4eca-8d2d-efc666438751140185753] for camera: 1 D/CaptureSession( 9840): Attempting to submit CaptureRequest after setting D/CaptureSession( 9840): Skipping issueRepeatingCaptureRequests for no surface. D/Camera2CameraImpl( 9840): {Camera@810b77[id=1]} Resetting Capture Session D/Camera2CameraImpl( 9840): {Camera@810b77[id=1]} Releasing session in state OPENED D/UseCaseAttachState( 9840): All use case: [androidx.camera.core.ImageCapture-37d83db3-143b-4eca-8d2d-efc666438751140185753, androidx.camera.core.ImageAnalysis-5373193f-b794-47db-a97b-7e7e43e123e8201584447, androidx.camera.core.Preview-50817409-2990-4cce-8950-506b065c63c99934749] for camera: 1 D/Camera2CameraImpl( 9840): {Camera@810b77[id=1]} Use case androidx.camera.core.Preview-50817409-2990-4cce-8950-506b065c63c99934749 ACTIVE D/UseCaseAttachState( 9840): Active and attached use case: [androidx.camera.core.ImageCapture-37d83db3-143b-4eca-8d2d-efc666438751140185753, androidx.camera.core.Preview-50817409-2990-4cce-8950-506b065c63c99934749] for camera: 1 D/CaptureSession( 9840): onSessionFinished() D/DeferrableSurface( 9840): use count-1, useCount=0 closed=false androidx.camera.core.impl.ImmediateSurface@eca796e D/DeferrableSurface( 9840): Surface no longer in use[total_surfaces=4, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@eca796e} D/DeferrableSurface( 9840): use count-1, useCount=0 closed=false androidx.camera.core.impl.ImmediateSurface@a8be7a D/DeferrableSurface( 9840): Surface no longer in use[total_surfaces=4, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@a8be7a} D/SyncCaptureSessionBase( 9840): [androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl@f4c8090] getSurface...done D/CaptureSession( 9840): Opening capture session. E/Camera-SurfaceUtils-JNI( 9840): getNativeWindow: Surface had no valid native window. E/Camera-SurfaceUtils-JNI( 9840): SurfaceUtils_nativeDetectSurfaceDimens: Could not retrieve native window from surface. W/CaptureSession( 9840): Opening session with fail OPENING W/CaptureSession( 9840): java.lang.IllegalArgumentException: Surface was abandoned W/CaptureSession( 9840): at android.hardware.camera2.utils.SurfaceUtils.getSurfaceSize(SurfaceUtils.java:135) W/CaptureSession( 9840): at android.hardware.camera2.params.OutputConfiguration.<init>(OutputConfiguration.java:563) W/CaptureSession( 9840): at android.hardware.camera2.params.OutputConfiguration.<init>(OutputConfiguration.java:404) W/CaptureSession( 9840): at androidx.camera.camera2.internal.compat.params.OutputConfigurationCompatApi33Impl.<init>(OutputConfigurationCompatApi33Impl.java:37) W/CaptureSession( 9840): at androidx.camera.camera2.internal.compat.params.OutputConfigurationCompat.<init>(OutputConfigurationCompat.java:64) W/CaptureSession( 9840): at androidx.camera.camera2.internal.CaptureSession.getOutputConfigurationCompat(CaptureSession.java:406) W/CaptureSession( 9840): at androidx.camera.camera2.internal.CaptureSession.openCaptureSession(CaptureSession.java:331) W/CaptureSession( 9840): at androidx.camera.camera2.internal.CaptureSession.lambda$open$0$androidx-camera-camera2-internal-CaptureSession(CaptureSession.java:231) W/CaptureSession( 9840): at androidx.camera.camera2.internal.CaptureSession$$ExternalSyntheticLambda1.apply(Unknown Source:8) W/CaptureSession( 9840): at androidx.camera.core.impl.utils.futures.ChainingListenableFuture.run(ChainingListenableFuture.java:203) W/CaptureSession( 9840): at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.workOnQueue(SequentialExecutor.java:231) W/CaptureSession( 9840): at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.run(SequentialExecutor.java:173) W/CaptureSession( 9840): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) W/CaptureSession( 9840): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) W/CaptureSession( 9840): at java.lang.Thread.run(Thread.java:1012) D/Camera2CameraImpl( 9840): {Camera@810b77[id=1]} Transitioning camera internal state: OPENED --> OPENED D/CameraStateMachine( 9840): New public camera state CameraState{type=OPEN, error=StateError{code=4, cause=java.lang.IllegalArgumentException: Surface was abandoned}} from OPEN and StateError{code=4, cause=java.lang.IllegalArgumentException: Surface was abandoned} D/CameraStateMachine( 9840): Publishing new public camera state CameraState{type=OPEN, error=StateError{code=4, cause=java.lang.IllegalArgumentException: Surface was abandoned}} ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.24.2, on macOS 14.3.1 23D60 darwin-arm64, locale en-CZ) • Flutter version 3.24.2 on channel stable at /Users/lubomirmolin/Flutter/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 4cf269e36d (2 weeks ago), 2024-09-03 14:30:00 -0700 • Engine revision a6bd3f1de1 • Dart version 3.5.2 • DevTools version 2.37.2 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/lubomirmolin/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105) • All Android licenses accepted. [!] Xcode - develop for iOS and macOS ✗ Xcode installation is incomplete; a full installation is necessary for iOS and macOS development. Download at: https://developer.apple.com/xcode/ Or install Xcode via the App Store. Once installed, run: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer sudo xcodebuild -runFirstLaunch • CocoaPods version 1.14.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105) [✓] Connected device (4 available) • Active 8 Pro (mobile) • ACTIVE8PEEA0008006 • android-arm64 • Android 13 (API 33) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.3.1 23D60 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 128.0.6613.138 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ``` </details>
c: regression,platform-android,p: camera,package,has reproducible steps,P1,team-android,triaged-android,found in release: 3.24,found in release: 3.26
medium
Critical
2,531,098,428
yt-dlp
Add support for ya.ru domain in yandexvideo extractor
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm requesting a site-specific feature - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Region _No response_ ### Example URLs https://ya.ru/video/preview/12690133459198768623 ### Provide a description that is worded well enough to be understood `ya.ru` domain is not supported in yandexvideo extractor. If I replace `ya.ru` with `yandex.ru` it works. ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell [debug] Command-line config: ['-vU', 'https://ya.ru/video/preview/12690133459198768623'] [debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version nightly@2024.09.14.232748 from yt-dlp/yt-dlp-nightly-builds [a06bb5867] (win_exe) [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.0.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1835 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest Latest version: nightly@2024.09.14.232748 from yt-dlp/yt-dlp-nightly-builds yt-dlp is up to date (nightly@2024.09.14.232748 from yt-dlp/yt-dlp-nightly-builds) [generic] Extracting URL: https://ya.ru/video/preview/12690133459198768623 [generic] 12690133459198768623: Downloading webpage WARNING: [generic] Falling back on generic information extractor [generic] 12690133459198768623: Extracting information [debug] Looking for embeds ERROR: Unsupported URL: https://ya.ru/video/preview/12690133459198768623 Traceback (most recent call last): File "yt_dlp\YoutubeDL.py", line 1626, in wrapper File "yt_dlp\YoutubeDL.py", line 1761, in __extract_info File "yt_dlp\extractor\common.py", line 741, in extract File "yt_dlp\extractor\generic.py", line 2526, in _real_extract yt_dlp.utils.UnsupportedError: Unsupported URL: https://ya.ru/video/preview/12690133459198768623 ```
site-enhancement,patch-available
low
Critical
2,531,192,305
neovim
test "server -> client connecting to its own pipe address" deadlocks under wrong XDG configuration
### Problem Running the test [server -> client connecting to its own pipe address does not deadlock](https://github.com/neovim/neovim/blob/5792546777332361a9ac49107e46149c703de90e/test/functional/api/server_requests_spec.lua#L387) deadlocks on macos when the environment has `XDG_RUNTIME_DIR=/tmp`. The value is incorrect, but It still shouldn't deadlock. ### Steps to reproduce ``` export XDG_RUNTIME_DIR=/tmp TEST_FILE=test/functional/api/server_requests_spec.lua TEST_FILTER='deadlock' make test ``` ### Expected behavior Test passes, it does not deadlock. ### Neovim version (nvim -v) v0.11.0-dev-724+g439d03174 ### Vim (not Nvim) behaves the same? doesn't apply ### Operating system/version macos 14.6.1 ### Terminal name/version Kitty 0.36.2 ### $TERM environment variable xterm-256color ### Installation build from repo
bug,test,environment,server,system,startup
low
Minor
2,531,215,626
ui
[bug]: Dark mode theme selector doesn't animate
### Describe the bug Due to `disableTransitionOnChange` from https://github.com/shadcn-ui/ui/blob/main/apps/www/app/layout.tsx#L93, no `dark:` animations will function. This means that the classes in `ModeToggle` aren't actually doing anything: https://github.com/shadcn-ui/ui/blob/main/apps/www/components/mode-toggle.tsx#L22-L23. ### Affected component/components ModeToggle ### How to reproduce Go to https://ui.shadcn.com/docs/dark-mode/next and change the theme. The icon will not animate. ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash N/A ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,531,246,610
vscode
[BUG] Problem with tooltip hover configuration settings (editor.hover.hidingDelay not working)
There are 3 main settings for hover configuration. I will list them below, and mention current problems with how they behave: `editor.hover.sticky` - works as intended `editor.hover.hidingDelay` - doesn't work, whether `hover.sticky` is on or off, it doesn't do anything `editor.hover.delay` - works, however when `hover.sticky` is `true`, it also affects the hover hiding delay. Additionally, when you hover over another item that has a tooltip, it takes `hover.delay * 2` to show the tooltip (and hide the current one). <!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled: Yes <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.91.0 - OS Version: MacOS Sonoma 14.0 Steps to Reproduce: 1. Make sure `editor.hover.sticky` is set to `true` 2. Set `editor.hover.delay` to 1000 3. Set `editor.hover.hidingDelay` to 100 4. Observe the behaviour mentioned above
bug,editor-hover
low
Critical
2,531,283,854
flutter
Activating a switch or radio with Semantics.onTap do not gives feedback about state with TalkBack
### Steps to reproduce 1. Turn on TalkBack on an Android device 2. Create a page with a Text widget and a Switch, grouped inside a Semantics widget 3. Focus the Semantic group, containing the text + switch 4. The state of this widget is read by the Talkback : "unchecked, text, double tap to activate" 5. Double tap ### Expected results The new state of the widget is read by the Talkback : "checked" ### Actual results Nothing happens. This is also the case with a Radio widget However, the state is read : - on an iOS device, with VoiceOver - if the switch is alone and has no custom semantics on top of it I found 2 issues about this. Even if they are solved it doesn't work in my case : - https://github.com/flutter/flutter/issues/17775 - https://github.com/flutter/flutter/issues/14092 ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; class MyPage extends StatefulWidget { const MyPage({super.key}); @override State<MyPage> createState() => _MyPageState(); } class _MyPageState extends State<MyPage> { bool _isActivated = false; @override Widget build(BuildContext context) { return Scaffold( body: Center( child: Semantics( container: true, label: "Activate my switch", toggled: _isActivated, enabled: true, onTap: () => _saveState(!_isActivated), excludeSemantics: true, child: GestureDetector( onTap: () => _saveState(!_isActivated), excludeFromSemantics: true, behavior: HitTestBehavior.opaque, child: Row( children: [ const Expanded(child: Text("Activate my switch")), Switch(value: _isActivated, onChanged: _saveState), ], ), ), ), ), ); } _saveState(bool consent) { setState(() { _isActivated = consent; }); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> ![Capture d’écran 2024-09-17 à 16 10 20](https://github.com/user-attachments/assets/17c722b2-6f86-48fc-ac17-abfa791d8da2) </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.24.3, on macOS 14.6.1 23G93 darwin-x64, locale fr-FR) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.3) [✓] IntelliJ IDEA Ultimate Edition (version 2023.2.4) [✓] Connected device (4 available) [✓] Network resources • No issues found! ``` </details>
platform-android,framework,f: material design,a: accessibility,has reproducible steps,P2,customer: castaway,found in release: 3.24,team-accessibility,triaged-accessibility,found in release: 3.26
low
Minor
2,531,298,605
PowerToys
PowerToays Run search results intermittently fails to produce results
### Microsoft PowerToys version 0.84.1 ### Installation method PowerToys auto-update ### Running as admin Yes ### Area(s) with issue? PowerToys Run ### Steps to reproduce None. Search intermittently does not produce known results. Other functions (e.g., programs search) works 100%. ### ✔️ Expected Behavior Normal search results. ### ❌ Actual Behavior No search results for folder/files. Other results (e.g., programs) works correctly. ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,531,341,343
PowerToys
Fancy Zones Fullscreen
### Description of the new feature / enhancement Make a window Fullscreen, instead of resizing a windows to the whole screen ### Scenario when this would be used? It could be used as an alternative to double clicking the top bar of the window. ### Supporting information A few programs differentiate between windowed and fullscreen. It would be nice to have it as an option to turn this behavior on or off.
Needs-Triage
low
Minor
2,531,403,300
vscode
Go To Line Behavior - Jump to line only on enter.
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> Current Behavior: Current go to line behavior jumps the courser to the inputted line on every insert. Feature Request: Only jump the courser after the user has hit "enter" Rationale: It is visually unpleasant and difficult to track when jumping to a line. IE If I'm on line 300, and I want to go to 305. Ctrl-G (goto line) will jump my page all the way to line '3', then to '30', then to '305'. Then I need to readjust and refocus my eyes to find the courser as my original positioning on my page is completely lost. Other standards to compare to: Big VisualStudio. Dialogue requesting goto-line only jumps after pressing enter. Vim: ':' and goto only jumps to line after pressing enter. Vim (VsCode plugin) follows the same implementation of Vim. Update: Willing to make this PR myself if given some pointers to the relevant files/classes
feature-request,editor-core
low
Minor
2,531,442,897
pytorch
ProcessPoolExecutor resets all Tensors on the cuda device when using a cuda tensor
### 🐛 Describe the bug If the `ProcessPoolExecutor` gets a cuda tensor, during the start of the new process, all values of all cuda tensors, are set to 0. In the following example, all `untouched` tensors and the `touched` tensor are reset to 0. This happens only with cuda tensors. ```py from concurrent.futures import ProcessPoolExecutor, wait, ALL_COMPLETED import torch def func(tensor): print(f"func: {tensor}") def run(): pool1 = ProcessPoolExecutor(1) untouched = torch.randperm(20, device=torch.device('cuda')) print(f"untouched - before: {untouched}") touched = torch.randperm(20, device=torch.device('cuda')) futures = [pool1.submit(func, touched)] untouched_2 = torch.randperm(20, device=torch.device('cuda')) print(f"untouched - started: {untouched}") print(f"untouched_2 - started: {untouched_2}") wait(futures, return_when=ALL_COMPLETED) print(f"untouched - finished: {untouched}") print(f"untouched_2 - finished: {untouched_2}") if __name__ == '__main__': untouched_3 = torch.randperm(20, device=torch.device('cuda')) print(f"untouched_3 - before run: {untouched_3}") run() print(f"untouched_3 - after run: {untouched_3}") ``` ### Versions PyTorch version: 2.4.1+cu124 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Microsoft Windows 10 Pro GCC version: (x86_64-posix-seh-rev2, Built by MinGW-W64 project) 12.2.0 Clang version: Could not collect CMake version: version 3.29.2 Libc version: N/A Python version: 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)] (64-bit runtime) Python platform: Windows-10-10.0.19045-SP0 Is CUDA available: True CUDA runtime version: 12.1.66 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3080 Nvidia driver version: 551.78 cuDNN version: Could not collect HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture=9 CurrentClockSpeed=3701 DeviceID=CPU0 Family=107 L2CacheSize=6144 L2CacheSpeed= Manufacturer=AuthenticAMD MaxClockSpeed=3701 Name=AMD Ryzen 9 5900X 12-Core Processor ProcessorType=3 Revision=8450 Versions of relevant libraries: [pip3] mypy==1.9.0 [pip3] mypy-extensions==1.0.0 [pip3] numpy==1.26.4 [pip3] onnx==1.16.0 [pip3] onnxscript==0.1.0.dev20240330 [pip3] torch==2.4.1+cu124 [pip3] torchvision==0.19.1+cu124 [conda] Could not collect cc @peterjc123 @mszhanyi @skyline75489 @nbcsm @iremyux @Blackhex @VitalyFedyunin @ptrblck @msaroufim
module: windows,module: multiprocessing,module: cuda,triaged
low
Critical
2,531,448,142
vscode
"go back" (Ctrl+Alt+-) goes berserk after search
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.93.1 - OS Version: Manjaro Linux Steps to Reproduce: 1. Move around in the code 2. Hit Ctrl+F and search for a string that has occurrences in the code 3. Click somewhere in the code near to some of the results that were found 4. (Optional) Ctrl+click on some function call so as to navigate to somewhere else 5. Hit "Ctrl+Alt+-" to go back, and then again and again Expected behavior: should go back to where you were before, and then where you were before that, etc Observed: Starts going to completely random places that have nothing to do with my history of navigating through code, and selecting random portions of text.
bug,editor-find
low
Critical
2,531,470,938
PowerToys
Monitor input control/layout
### Description of the new feature / enhancement New Feature -- * Switch monitor between two inputs (HDMI to DP or DP1 to DP2 etc.) * When switching, remember and restore screen position of programs ### Scenario when this would be used? This feature would complement "Mouse Without Borders," allowing people with multiple monitors (but perhaps one primary screen) to move their primary monitor between computers. As a computer programmer, this is something I do many times each day. I'm currently accomplishing this using a Rube Goldberg contraption consisting of ControlMyMonitor.exe, AHK, and RainMeter, but programs still get moved around in ways I don't expect. ### Supporting information https://www.nirsoft.net/utils/control_my_monitor.html
Needs-Triage
low
Minor
2,531,485,022
pytorch
Compile with USE_CPP_CODE_COVERAGE=ON throw erros
### 🐛 Describe the bug when I use ` USE_CPP_CODE_COVERAGE=ON BUILD_TEST=ON CMAKE_BUILD_TYPE=Debug CMAKE_RULE_MESSAGES=ON CC=clang CXX=clang++ python setup.py develop` to compile pytorch, I couldn't success and I have those error printed: ``` [7/2051] Linking CXX executable bin/c10_cuda_CUDAAssertionsTest_multiple_writes_from_same_block FAILED: bin/c10_cuda_CUDAAssertionsTest_multiple_writes_from_same_block : && /home/iris/tool_bins/llvm_release_17/bin/clang++ -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=braced-scalar-init -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wsuggest-override -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-pass-failed -Wno-error=old-style-cast -Wconstant-conversion -Wno-missing-braces -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -fprofile-instr-generate -fcoverage-mapping -g -fstandalone-debug -fno-omit-frame-pointer -O0 -rdynamic -W123 -Xlinker --no-as-needed c10/cuda/test/CMakeFiles/c10_cuda_CUDAAssertionsTest_multiple_writes_from_same_block.dir/impl/CUDAAssertionsTest_multiple_writes_from_same_block.cu.o -o bin/c10_cuda_CUDAAssertionsTest_multiple_writes_from_same_block -L/usr/local/cuda-12.4/targets/x86_64-linux/lib/stubs -L/usr/local/cuda-12.4/targets/x86_64-linux/lib -Wl,-rpath,/home/iris/CDeepFuzz/pytorch/build/lib:/usr/local/cuda-12.4/lib64: lib/libc10_cuda.so lib/libc10.so lib/libgtest_maind.a /usr/local/cuda-12.4/lib64/libcudart.so lib/libgtestd.a -lcudadevrt -lcudart_static -lrt -lpthread -ldl && /home/iris/miniconda3/envs/pytorch_2_4_1/bin/cmake -E __run_co_compile --lwyu="ldd;-u;-r" --source=bin/c10_cuda_CUDAAssertionsTest_multiple_writes_from_same_block && : /usr/bin/ld: /home/iris/tool_bins/llvm_release_17/lib/clang/17/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o): in function `__llvm_profile_begin_data': InstrProfilingPlatformLinux.c:(.text.__llvm_profile_begin_data+0x3): undefined reference to `__start___llvm_prf_data' /usr/bin/ld: /home/iris/tool_bins/llvm_release_17/lib/clang/17/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o): in function `__llvm_profile_end_data': InstrProfilingPlatformLinux.c:(.text.__llvm_profile_end_data+0x3): undefined reference to `__stop___llvm_prf_data' /usr/bin/ld: /home/iris/tool_bins/llvm_release_17/lib/clang/17/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o): in function `__llvm_profile_begin_names': InstrProfilingPlatformLinux.c:(.text.__llvm_profile_begin_names+0x3): undefined reference to `__start___llvm_prf_names' /usr/bin/ld: /home/iris/tool_bins/llvm_release_17/lib/clang/17/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o): in function `__llvm_profile_end_names': InstrProfilingPlatformLinux.c:(.text.__llvm_profile_end_names+0x3): undefined reference to `__stop___llvm_prf_names' /usr/bin/ld: /home/iris/tool_bins/llvm_release_17/lib/clang/17/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o): in function `__llvm_profile_begin_counters': InstrProfilingPlatformLinux.c:(.text.__llvm_profile_begin_counters+0x3): undefined reference to `__start___llvm_prf_cnts' /usr/bin/ld: /home/iris/tool_bins/llvm_release_17/lib/clang/17/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o): in function `__llvm_profile_end_counters': InstrProfilingPlatformLinux.c:(.text.__llvm_profile_end_counters+0x3): undefined reference to `__stop___llvm_prf_cnts' clang++: error: linker command failed with exit code 1 (use -v to see invocation) ``` I am using the llvm tag 17.0.6. I have rebuilt all related libraries multiple times and I can successfully build pytorch without `USE_CPP_CODE_COVERAGE=ON` ### Versions ``` Collecting environment information... PyTorch version: 2.5.0a0+gitc0436c5 Is debug build: True CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.5 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: 17.0.6 (https://github.com/llvm/llvm-project.git 6009708b4367171ccdbf4b5905cb6a803753fe18) CMake version: version 3.26.4 Libc version: glibc-2.35 Python version: 3.10.14 (main, May 6 2024, 19:42:50) [GCC 11.2.0] (64-bit runtime) Python platform: Linux-6.8.0-40-generic-x86_64-with-glibc2.35 Is CUDA available: True CUDA runtime version: 12.4.131 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4090 Nvidia driver version: 560.35.03 cuDNN version: Probably one of the following: /usr/lib/x86_64-linux-gnu/libcudnn.so.9.4.0 /usr/lib/x86_64-linux-gnu/libcudnn_adv.so.9.4.0 /usr/lib/x86_64-linux-gnu/libcudnn_cnn.so.9.4.0 /usr/lib/x86_64-linux-gnu/libcudnn_engines_precompiled.so.9.4.0 /usr/lib/x86_64-linux-gnu/libcudnn_engines_runtime_compiled.so.9.4.0 /usr/lib/x86_64-linux-gnu/libcudnn_graph.so.9.4.0 /usr/lib/x86_64-linux-gnu/libcudnn_heuristic.so.9.4.0 /usr/lib/x86_64-linux-gnu/libcudnn_ops.so.9.4.0 HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 39 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 32 On-line CPU(s) list: 0-31 Vendor ID: GenuineIntel Model name: Intel(R) Core(TM) i9-14900KF CPU family: 6 Model: 183 Thread(s) per core: 2 Core(s) per socket: 24 Socket(s): 1 Stepping: 1 CPU max MHz: 6000.0000 CPU min MHz: 800.0000 BogoMIPS: 6374.40 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities Virtualization: VT-x L1d cache: 896 KiB (24 instances) L1i cache: 1.3 MiB (24 instances) L2 cache: 32 MiB (12 instances) L3 cache: 36 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-31 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Reg file data sampling: Mitigation; Clear Register File Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] numpy==2.1.1 [pip3] optree==0.12.1 [pip3] pytorch-triton==3.0.0 [pip3] torch==2.4.0a0+gitee1b680 [pip3] torchaudio==2.4.1+e8cbe17 [pip3] torchvision==0.19.1a0+6194369 [conda] magma-cuda124 2.6.1 1 pytorch [conda] mkl-include 2024.2.1 pypi_0 pypi [conda] mkl-static 2024.2.1 pypi_0 pypi [conda] numpy 2.1.1 pypi_0 pypi [conda] optree 0.12.1 pypi_0 pypi [conda] pytorch-triton 3.0.0 pypi_0 pypi [conda] torch 2.5.0a0+gitc0436c5 dev_0 <develop> [conda] torchaudio 2.4.1+e8cbe17 pypi_0 pypi [conda] torchvision 0.19.1a0+6194369 pypi_0 pypi ``` cc @malfet @seemethere
module: build,triaged,actionable
low
Critical
2,531,494,841
ui
[bug]: CLI cannot detect electron.vite.config.ts
### Describe the bug I use electron-vite framework to develop electron application, and the generated vite configuration file is named election.vite.config.ts, which leads to the following error `could not detect a supported framework` I guess this is a logical judgment problem of cli when detecting the framework, because I found the relevant code [getProjectInfo](https://github.com/shadcn-ui/ui/blob/078dfe66072c4ca780bbc99d4ad4b13b1f44fe7e/packages/shadcn/src/utils/get-project-info.ts#L97-L108) ### Affected component/components CLI ### How to reproduce 1. go to [electron-vite](https://electron-vite.org/guide/#scaffolding-your-first-electron-vite-project) to build a electron-vite project 2. run `pnpm dlx shadcn@latest init` ### Codesandbox/StackBlitz link [link](https://github.com/JinJieBeWater/Noark/tree/issue_CLI-cannot-detect-electron.vite.config.ts) ### Logs ```bash We could not detect a supported framework at D:\JinJieBeWater\Noark\Noark. Visit https://ui.shadcn.com/docs/installation/manual to manually configure your project. Once configured, you can use the cli to add components. ``` ### System Info ```bash We could not detect a supported framework at D:\JinJieBeWater\Noark\Noark. Visit https://ui.shadcn.com/docs/installation/manual to manually configure your project. Once configured, you can use the cli to add components. ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,531,515,288
go
proposal: encoding/xml: add flag for stricter XML char parsing
### Proposal Details ## Background As reported by @DemiMarie The encoding/xml package does not properly validate that the characters within comments, processing instructions, or directives are properly within the CharData range as defined by the XML specification. ## Proposal Add a godebug flag, `xmlvalidatechars=1`, which enables more strict validation of characters within comments, processing instructions, and directives. It is my understanding that changing XML behavior can sometimes lead to unexpected behavior/breaking changes, but I have tested what would happen if this flag were enabled by default internally and ran into zero issues.
Proposal
medium
Critical
2,531,531,199
TypeScript
Cannot access protected field but private field inside nested class
### 🔎 Search Terms private, protected ### 🕗 Version & Regression Information Version 5.6.2 ### ⏯ Playground Link https://www.typescriptlang.org/play/?#code/KYDwDg9gTgLgBAYwDYEMDOa4DEITgbwChC5S4woIZgFqATOGACwEs0BJNABUutuAYBeOAEYA3CTIUWANxTVGrDtyiz5wOMPHEycAEYooACgCUALhx4iu3QggA7NPGbzNithJtlJXqMBgArlD2cPbAAO6IqBhwoNT2dJiWBDpeNmgQALb+rPYA5qYpacVwfoHBivIAdMxsnDxqCgDUlTA1SvW8NPSeJaQAvj42g7qD-UA ### 💻 Code ```ts export class Foo { protected thisIsProtected = 1; private thisIsPrivate = 1; bar():Foo { const that = this; return new class extends Foo { something() { return that.thisIsPrivate + that.thisIsProtected; } } } } ``` ### 🙁 Actual behavior I get a compile error for `that.thisIsProtected`, but not for `that.thisIsPrivate` ### 🙂 Expected behavior I can access the protected field, like the private ### Additional information about the issue _No response_
Bug,Help Wanted
low
Critical
2,531,542,698
angular
Canonical: Components cannot be fully initialized before `ApplicationRef.tick` with ZoneJS and `TestBed.createComponent`
### Which @angular/* package(s) are the source of the bug? core, zone.js ### Is this a regression? Yes ### Description TL;DR: Calling `TestBed.createComponent` will cause automatic application synchronization before the tester has an opportunity to fully initialize the component state. `TestBed.createComponent` wraps the [component creation in an `NgZone.run`](https://github.com/angular/angular/blob/4231e8f28ffe8f55dddc2af0647b5b04fa8445d7/packages/core/testing/src/test_bed.ts#L701). When this closure exits, `NgZone` checks if the zone is stable, and if so, [emits `onMicrotaskEmpty`](https://github.com/angular/angular/blob/4231e8f28ffe8f55dddc2af0647b5b04fa8445d7/packages/core/src/zone/ng_zone.ts#L364-L367). This will cause automatic [application synchronization](https://github.com/angular/angular/blob/4231e8f28ffe8f55dddc2af0647b5b04fa8445d7/packages/core/src/change_detection/scheduling/ng_zone_scheduling.ts#L48-L58) before the tester has a chance to fully initialize the component (i.e. set inputs, run change detection before `afterNextRender` hooks run if they're defined in constructors, etc.). One workaround that developers can use today is to wrap all of their setup logic in an `NgZone.run` of their own, i.e. ``` const fixture = TestBed.inject(NgZone).run(() => { const fixture = TestBed.createComponent(MyComp); fixture.componentRef.setInput('requiredInput', 'initialValue'); return fixture; }); ``` Related issues: * https://github.com/angular/angular/issues/57313 * https://github.com/angular/angular/issues/57767 * https://github.com/angular/angular/issues/57856 ### Please provide a link to a minimal reproduction of the bug _No response_ ### Please provide the exception or error you saw _No response_ ### Please provide the environment you discovered this bug in (run `ng version`) _No response_ ### Anything else? _No response_
area: testing,area: core,canonical
low
Critical
2,531,550,660
rust
AtomicU128/AtomicI128 not shown in std docs on rust-lang.org
### Location https://doc.rust-lang.org/nightly/std/?search=AtomicU128 ### Summary AtomicU128/AtomicI128 are hidden when the docs for std are built for the rust-lang website, I'm guessing this is likely because the website's docs are for x86_64-unknown-linux-gnu, which doesn't have 128-bit atomics due to not having the cmpxchg16b target feature enabled by default. see also #99069
A-docs,T-libs,A-atomic,A-target-feature
low
Minor
2,531,617,763
flutter
When using multiple WidgetSpan, getOffsetForCaret returns incorrect caret positions
### Steps to reproduce 1. Copy the example below to [DartPad](https://dartpad.dev/?sample=counter). 2. The blue text shows the clicked area, while the red position marks the caret. <img width="569" alt="image" src="https://github.com/user-attachments/assets/32acde4c-8d46-4d2a-84f4-87cbf4d17f95"> 4. Clicking on “1” or “2” moves the caret to “a” or “b” as expected. 5. However, clicking on “4” incorrectly moves the caret to “c”, and similarly, clicking on “6” sends it to “d”. ### Expected results When clicking on 4 and 6, the caret behavior matches that of clicking on 2, where the caret correctly jumps to the right. ### Actual results The caret positioning is inconsistent with expectations. ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; void main() => runApp(const MyApp()); class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', debugShowCheckedModeBanner: false, theme: ThemeData( colorSchemeSeed: Colors.blue, ), home: const MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { final String title; const MyHomePage({ super.key, required this.title, }); @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { // Caret position Rect rect = const Rect.fromLTWH(10, 10, 30, 30); handleTapDown(Offset globalPosition) { var paragraph = findParagraph(); var localPosition = paragraph.globalToLocal(globalPosition); // Focus here var textPosition = paragraph.getPositionForOffset(localPosition); var caretPrototype = const Rect.fromLTWH(0, 0, 1, 40); var caretOffset = paragraph.getOffsetForCaret(textPosition, caretPrototype); var caretPosition = paragraph.localToGlobal(caretOffset) & caretPrototype.size; print(textPosition); print(caretPosition); setState(() { rect = caretPosition; }); } // ignore this RenderParagraph findParagraph() { var renderObj = context.findRenderObject(); late RenderParagraph paragraph; find(RenderObject object) { if (object is RenderParagraph) paragraph = object; object.visitChildren(find); } find(renderObj!); return paragraph; } @override Widget build(BuildContext context) { return Scaffold( body: GestureDetector( onTapDown: (details) { handleTapDown(details.globalPosition); }, child: Stack( children: [ Center( child: Text.rich( style: const TextStyle( fontSize: 48, ), TextSpan( children: [ const TextSpan(text: "A"), WidgetSpan( alignment: PlaceholderAlignment.middle, child: Container( width: 60, height: 40, decoration: BoxDecoration(border: Border.all()), ), ), const TextSpan(text: "A"), WidgetSpan( alignment: PlaceholderAlignment.middle, child: Container( width: 80, height: 40, decoration: BoxDecoration(border: Border.all()), ), ), const TextSpan(text: "A"), WidgetSpan( alignment: PlaceholderAlignment.middle, child: Container( width: 60, height: 40, decoration: BoxDecoration(border: Border.all()), ), ), const TextSpan(text: "A"), ], ), ), ), DebugRectWidget(rect: rect), ], ), ), ); } } class DebugRectWidget extends StatefulWidget { const DebugRectWidget({super.key, required this.rect}); final Rect rect; @override State<DebugRectWidget> createState() => _DebugRectWidgetState(); } class _DebugRectWidgetState extends State<DebugRectWidget> { @override Widget build(BuildContext context) { return CustomPaint( painter: RectPainter(widget.rect), ); } } class RectPainter extends CustomPainter { final Rect rect; RectPainter(this.rect); @override void paint(Canvas canvas, Size size) { final paint = Paint() ..color = Colors.red ..style = PaintingStyle.stroke ..strokeWidth = 1; canvas.drawRect(rect, paint); } @override bool shouldRepaint(covariant CustomPainter oldDelegate) { return true; } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> [Upload media here] </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64, locale zh-Hans-CN) • Flutter version 3.24.1 on channel stable at /Users/xxxx/code/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5874a72aa4 (4 weeks ago), 2024-08-20 16:46:00 -0500 • Engine revision c9b9d5780d • Dart version 3.5.1 • DevTools version 2.37.2 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/to/macos-android-setup for detailed instructions). If the Android SDK has been installed to a custom location, please use `flutter config --android-sdk` to update to that location. [!] Xcode - develop for iOS and macOS (Xcode 16.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16A242d ! iOS 18.0 Simulator not installed; this may be necessary for iOS and macOS development. To download and install the platform, open Xcode, select Xcode > Settings > Platforms, and click the GET button for the required platform. For more information, please visit: https://developer.apple.com/documentation/xcode/installing-additional-simula tor-runtimes • CocoaPods version 1.15.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/to/macos-android-setup for detailed instructions). [✓] VS Code (version 1.93.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.96.0 [✓] VS Code (version 1.92.0-insider) • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents • Flutter extension version 3.92.0 [✓] Connected device (3 available) • macOS (desktop) • macos • darwin-arm64 • macOS 14.6.1 23G93 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.6.1 23G93 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 128.0.6613.138 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 3 categories. ``` </details>
framework,has reproducible steps,P2,team-text-input,triaged-text-input,found in release: 3.24,found in release: 3.26
low
Critical
2,531,648,978
godot
`clip_children` not working with new WebKit
### Tested versions tested with 4.3.stable and 4.4-dev2 ### System information M1 MacOS 15.0 (Safari 18.0), iOS 18.1. Tested with Forward+ and Compatibility ### Issue description ![2024-09-17 19 48 10](https://github.com/user-attachments/assets/7b1b346e-3068-49ff-b9f6-9e3af6a1b77d) WebKit (Safari on MacOS and all browsers on iOS) does not show the node when the clip_children value is set to anything other than Disabled. But it seems like old WebKit doesn't have this issue: ![oldmac](https://github.com/user-attachments/assets/9af921cb-6ed3-42e8-82f4-a994afbb9093) air 2017 safari 16.4.1 mac os monterey 12.7.1 ![se](https://github.com/user-attachments/assets/2ef09f6d-7646-4c77-97d7-f2f78b0194ed) Iphone SE iOS 15.8.2 ### Steps to reproduce - Create Node - Set clip_children to "Clip Only" or "Clip + Draw" - Run in Browser - Open in Safari ### Minimal reproduction project (MRP) Demo project: https://github.com/TABmk/godot4-webkit-mask-bug Demo build: https://tabmk.github.io/godot4-webkit-mask-bug/webkit-mask-bug.html
bug,platform:web,platform:ios,platform:macos,needs testing,topic:2d
low
Critical
2,531,672,119
rust
Panic on missing type on `static` item
<!-- Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for how to create smaller examples. http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/ --> ### Code ```Rust pub fn get(&self) -> &KzgSettings { match self { Self::Default => { cfg_if::cfg_if! { if #[cfg(feature = "c-kzg")] { c_kzg::ethereum_kzg_settings() } else if #[cfg(feature = "kzg-rs")] { static DEFAULT = once_cell::race::OnceBox::<KzgSettings>::new(); DEFAULT.get_or_init(|| { KzgSettings::load_trusted_setup_file() .expect("failed to load default trusted setup") }) } else { unimplemented!() } } } Self::Custom(settings) => settings, } } ``` ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` rustc 1.81.0 (eeb90cda1 2024-09-04) binary: rustc commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c commit-date: 2024-09-04 host: aarch64-apple-darwin release: 1.81.0 LLVM version: 18.1.7 ``` ### Error output ``` Panic on `cargo check --no-default-features --features=kzg-rs`. Backtrace included ``` <!-- Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your environment. E.g. `RUST_BACKTRACE=1 cargo build`. --> <details><summary><strong>Backtrace</strong></summary> <p> ``` <backtrace> error: missing type for `static` item --> crates/wiring/src/kzg.rs:31:39 | 31 | static DEFAULT = once_cell::race::OnceBox::<KzgSettings>::new(); | ^ help: provide a type for the static variable: `: OnceBox<KzgSettings>` thread 'rustc' panicked at compiler/rustc_const_eval/src/interpret/validity.rs:741:21: assertion `left == right` failed left: Mut right: Not stack backtrace: 0: 0x101dc373c - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h243268f17d714c7f 1: 0x101e06688 - core::fmt::write::hb3cfb8a30e72d7ff 2: 0x101db9720 - std::io::Write::write_fmt::hfb2314975de9ecf1 3: 0x101dc5c4c - std::panicking::default_hook::{{closure}}::h14c7718ccf39d316 4: 0x101dc5870 - std::panicking::default_hook::hc62e60da3be2f352 5: 0x10b9bc5b8 - <alloc[47bc6d386d7ae45f]::boxed::Box<rustc_driver_impl[54c40c94c6cfc0b2]::install_ice_hook::{closure#0}> as core[f827f14b5e761a5d]::ops::function::Fn<(&dyn for<'a, 'b> core[f827f14b5e761a5d]::ops::function::Fn<(&'a std[4f7d7c3ef984657a]::panic::PanicHookInfo<'b>,), Output = ()> + core[f827f14b5e761a5d]::marker::Sync + core[f827f14b5e761a5d]::marker::Send, &std[4f7d7c3ef984657a]::panic::PanicHookInfo)>>::call 6: 0x101dc6868 - std::panicking::rust_panic_with_hook::h09e8a656f11e82b2 7: 0x101dc6178 - std::panicking::begin_panic_handler::{{closure}}::h1230eb3cc91b241c 8: 0x101dc3bc8 - std::sys::backtrace::__rust_end_short_backtrace::hc3491307aceda2c2 9: 0x101dc5e40 - _rust_begin_unwind 10: 0x101e20ad8 - core::panicking::panic_fmt::ha4b80a05b9fff47a 11: 0x101e20e98 - core::panicking::assert_failed_inner::h57b35cd882aa8c8a 12: 0x10fd230e4 - core[f827f14b5e761a5d]::panicking::assert_failed::<rustc_ast_ir[f3187cbcb70e5154]::Mutability, rustc_ast_ir[f3187cbcb70e5154]::Mutability> 13: 0x10b8be9fc - rustc_const_eval[21ec315fa1b71203]::interpret::validity::mutability::<rustc_const_eval[21ec315fa1b71203]::const_eval::machine::CompileTimeMachine> 14: 0x10b8bec7c - <rustc_const_eval[21ec315fa1b71203]::interpret::validity::ValidityVisitor<rustc_const_eval[21ec315fa1b71203]::const_eval::machine::CompileTimeMachine> as rustc_const_eval[21ec315fa1b71203]::interpret::visitor::ValueVisitor<rustc_const_eval[21ec315fa1b71203]::const_eval::machine::CompileTimeMachine>>::visit_value 15: 0x10b8bfae0 - <rustc_const_eval[21ec315fa1b71203]::interpret::validity::ValidityVisitor<rustc_const_eval[21ec315fa1b71203]::const_eval::machine::CompileTimeMachine> as rustc_const_eval[21ec315fa1b71203]::interpret::visitor::ValueVisitor<rustc_const_eval[21ec315fa1b71203]::const_eval::machine::CompileTimeMachine>>::walk_value 16: 0x10b8bee70 - <rustc_const_eval[21ec315fa1b71203]::interpret::validity::ValidityVisitor<rustc_const_eval[21ec315fa1b71203]::const_eval::machine::CompileTimeMachine> as rustc_const_eval[21ec315fa1b71203]::interpret::visitor::ValueVisitor<rustc_const_eval[21ec315fa1b71203]::const_eval::machine::CompileTimeMachine>>::visit_value 17: 0x10b8bfae0 - <rustc_const_eval[21ec315fa1b71203]::interpret::validity::ValidityVisitor<rustc_const_eval[21ec315fa1b71203]::const_eval::machine::CompileTimeMachine> as rustc_const_eval[21ec315fa1b71203]::interpret::visitor::ValueVisitor<rustc_const_eval[21ec315fa1b71203]::const_eval::machine::CompileTimeMachine>>::walk_value 18: 0x10b86dcbc - <rustc_const_eval[21ec315fa1b71203]::interpret::eval_context::InterpCx<rustc_const_eval[21ec315fa1b71203]::const_eval::machine::CompileTimeMachine>>::validate_operand_internal 19: 0x10b8db56c - rustc_const_eval[21ec315fa1b71203]::const_eval::eval_queries::eval_static_initializer_provider 20: 0x10ce28988 - rustc_query_impl[5e7782f17777a7c9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[5e7782f17777a7c9]::query_impl::eval_static_initializer::dynamic_query::{closure#2}::{closure#0}, rustc_middle[5a798f9924bfd2e0]::query::erase::Erased<[u8; 16usize]>> 21: 0x10ce71414 - <rustc_query_impl[5e7782f17777a7c9]::query_impl::eval_static_initializer::dynamic_query::{closure#2} as core[f827f14b5e761a5d]::ops::function::FnOnce<(rustc_middle[5a798f9924bfd2e0]::ty::context::TyCtxt, rustc_span[ab16d476329f5d04]::def_id::DefId)>>::call_once 22: 0x10cd80fd4 - rustc_query_system[5f1672c0485b57da]::query::plumbing::try_execute_query::<rustc_query_impl[5e7782f17777a7c9]::DynamicConfig<rustc_query_system[5f1672c0485b57da]::query::caches::DefIdCache<rustc_middle[5a798f9924bfd2e0]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt, true> 23: 0x10ceb2408 - rustc_query_impl[5e7782f17777a7c9]::query_impl::eval_static_initializer::get_query_incr::__rust_end_short_backtrace 24: 0x10bc38214 - <rustc_data_structures[5fa37262921da6b8]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[5fa37262921da6b8]::sync::parallel::disabled::par_for_each_in<&[rustc_span[ab16d476329f5d04]::def_id::LocalDefId], <rustc_middle[5a798f9924bfd2e0]::hir::map::Map>::par_body_owners<rustc_hir_analysis[b55295e9540087c6]::check_crate::{closure#3}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> 25: 0x10bd5ee80 - rustc_hir_analysis[b55295e9540087c6]::check_crate 26: 0x10c252dc0 - rustc_interface[1340bb505392beac]::passes::analysis 27: 0x10ce2adf8 - rustc_query_impl[5e7782f17777a7c9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[5e7782f17777a7c9]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[5a798f9924bfd2e0]::query::erase::Erased<[u8; 1usize]>> 28: 0x10ce798ac - <rustc_query_impl[5e7782f17777a7c9]::query_impl::analysis::dynamic_query::{closure#2} as core[f827f14b5e761a5d]::ops::function::FnOnce<(rustc_middle[5a798f9924bfd2e0]::ty::context::TyCtxt, ())>>::call_once 29: 0x10cd90b4c - rustc_query_system[5f1672c0485b57da]::query::plumbing::try_execute_query::<rustc_query_impl[5e7782f17777a7c9]::DynamicConfig<rustc_query_system[5f1672c0485b57da]::query::caches::SingleCache<rustc_middle[5a798f9924bfd2e0]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt, true> 30: 0x10cea28a4 - rustc_query_impl[5e7782f17777a7c9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace 31: 0x10b9a70b4 - <rustc_interface[1340bb505392beac]::queries::QueryResult<&rustc_middle[5a798f9924bfd2e0]::ty::context::GlobalCtxt>>::enter::<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}::{closure#1}::{closure#5}> 32: 0x10b9be1a0 - <rustc_interface[1340bb505392beac]::interface::Compiler>::enter::<rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}::{closure#1}, core[f827f14b5e761a5d]::result::Result<core[f827f14b5e761a5d]::option::Option<rustc_interface[1340bb505392beac]::queries::Linker>, rustc_span[ab16d476329f5d04]::ErrorGuaranteed>> 33: 0x10b9b298c - <scoped_tls[df49f867320abf2e]::ScopedKey<rustc_span[ab16d476329f5d04]::SessionGlobals>>::set::<rustc_interface[1340bb505392beac]::util::run_in_thread_with_globals<rustc_interface[1340bb505392beac]::interface::run_compiler<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}>::{closure#1}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>> 34: 0x10b9bdb34 - rustc_span[ab16d476329f5d04]::create_session_globals_then::<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_interface[1340bb505392beac]::util::run_in_thread_with_globals<rustc_interface[1340bb505392beac]::interface::run_compiler<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}>::{closure#1}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}> 35: 0x10b9db8fc - std[4f7d7c3ef984657a]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[1340bb505392beac]::util::run_in_thread_with_globals<rustc_interface[1340bb505392beac]::interface::run_compiler<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}>::{closure#1}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>> 36: 0x10b9bb7dc - <<std[4f7d7c3ef984657a]::thread::Builder>::spawn_unchecked_<rustc_interface[1340bb505392beac]::util::run_in_thread_with_globals<rustc_interface[1340bb505392beac]::interface::run_compiler<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}>::{closure#1}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>::{closure#1} as core[f827f14b5e761a5d]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 37: 0x101dcefa4 - std::sys::pal::unix::thread::Thread::new::thread_start::h1bd1b9c95010bf71 38: 0x18b536034 - __pthread_joiner_wake error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: rustc 1.81.0 (eeb90cda1 2024-09-04) running on aarch64-apple-darwin note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C incremental=[REDACTED] note: some of the compiler flags provided by cargo are hidden query stack during panic: #0 [eval_static_initializer] evaluating initializer of static `kzg::<impl at crates/wiring/src/kzg.rs:20:1: 20:20>::get::DEFAULT` #1 [analysis] running analysis passes on this crate end of query stack ``` </p> </details>
I-ICE,T-compiler,C-bug,E-needs-bisection,S-needs-repro
low
Critical
2,531,674,935
vscode
Many output bugs when printing to both STDOUT and STDERR; "There are more than 500 outputs"
Type: <b>Bug</b> I've long noticed that when using both `print` (STDOUT) and `logging.warn` (STDERR), there are issues with cell outputs and the way they collapse or don't collapse. I saw cases where multiple independent cell output windows were created. And recently I even saw a case where the outputs stopped completely with a message "There are more than 500 outputs". Reproducing the issue is trivial - just use `print` and `logging.warning` or stderr in the same cell in a loop. Examples: ``` import time for i in range(2000): for i in range(10): print("out") for i in range(5): print("err", file=sys.stderr) time.sleep(0.01) ``` This is very easy to trigger with tqdm as well: ``` import time import tqdm for i in tqdm.tqdm(range(2000)): for i in range(10): print("out") time.sleep(0.01) ``` Expected behavior: The output cell should behave the same (single, not verty long, partially hidden text) whether or not STDOUT is mixed with STDERR or not. Extension version: 2024.7.0 VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z) OS version: Windows_NT x64 10.0.19045 Modes: <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|AMD Ryzen 9 5950X 16-Core Processor (32 x 3394)| |GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|127.93GB (72.74GB free)| |Process Argv|--crash-reporter-id 4c472b0d-1b85-4f57-b29c-3c522acbd317| |Screen Reader|no| |VM|0%| </details><details> <summary>A/B Experiments</summary> ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 724cj586:31013169 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 2f103344:31071589 impr_priority:31102340 refactort:31108082 pythonrstrctxt:31112756 flighttreat:31119336 wkspc-onlycs-t:31111718 fje88620:31121564 ``` </details> <!-- generated by issue reporter -->
bug,notebook-output
low
Critical
2,531,687,557
vscode
Jupyter notebook text editor output displays json
### Applies To - [X] Notebooks (.ipynb files) - [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers) ### What happened? If I run a piece of code that prints say a very large piece of text, then I click "open in a text editor", then I run the code again to print a different also long piece of text, the text editor will then display this JSON: ```json [ { "metadata": { "outputType": "stream" }, "outputItems": [ ``` It is quite annoying as I want to be able to open large text blobs in a side window and then open another blob using the same cell without having to click "open in a text editor" again. ### VS Code Version Version: 1.93.1 (user setup) Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40 Date: 2024-09-11T17:20:05.685Z Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22631 ### Jupyter Extension Version v2024.8.1 ### Jupyter logs _No response_ ### Coding Language and Runtime Version _No response_ ### Language Extension Version (if applicable) _No response_ ### Anaconda Version (if applicable) _No response_ ### Running Jupyter locally or remotely? Local
bug,notebook-output
low
Minor
2,531,752,959
godot
ItemList truncation does not show ellipsis (...) with new script editor list minimum width
### Tested versions Appears in editor in 4.4 since https://github.com/godotengine/godot/pull/96909 Not visible in editor in 4.3, but the underlying behavior in ItemList is observable in 4.3 ### System information Windows 10 ### Issue description In an ItemList, names are truncated if they are too wide for the list. Usually this is done with an ellipsis `...`, but when the width is small enough, no ellipsis is used. I think this is good intended behavior, otherwise only an ellipsis would be shown at very low widths. Since https://github.com/godotengine/godot/pull/96909 set the minimum width of the script list to 100, the width is small enough that many script names are now truncated with no ellipsis. This happens *right around* a script list width of 100. For `new_script.gd`, the threshold for the behavior happens at 101px wide, so it was easily noticeable when testing. I believe this is *existing behavior* of the ItemList truncation, but since the preview editor script list minimum was above the threshold, it was not visible to godot editor users. The MRP is created and tested in 4.3, and replicates the same behavior if the width is low enough. Observed behavior in the https://github.com/godotengine/godot/pull/96909 artifact: https://github.com/user-attachments/assets/17179298-3a6d-4d83-b0af-7be34a7d144e Observed behavior in the MRP (created and tested in 4.3). https://github.com/user-attachments/assets/bd7a7570-f944-4e00-a27c-fe37b4597373 Possible resolutions: - Tweak the truncation limits so that an ellipsis is still used at the minimum script width of 100. - Tweak the minimum script width to 105 or 110, to barely avoid this behavior. - Do nothing, as this *is* intended behavior, just an edge case that usually doesn't come up in the editor. In this case the user is knowingly making their editor UI crowded in exchange for extra script editor space, and minor "problems" like this may be expected. (It's me. I'm user. 😃) CC @aXu-AP ### Steps to reproduce Open the MRP. Adjust the HSplitContainer left and right. You can test with and without 16x16 icons. ### Minimal reproduction project (MRP) [mrp-truncation.zip](https://github.com/user-attachments/files/17032862/mrp-truncation.zip)
bug,topic:editor,regression
low
Minor
2,531,780,943
rust
Inference failure triggered by null proc macro application to totally unused and irrelevant struct
<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> ### Steps to reproduce ``` git clone https://gitlab.torproject.org/Diziet/arti -b report-inference-failure cd arti cargo +nightly check --locked -p tor-socksproto --all-features --all-targets ``` I'm afraid I haven't minimised this, for reasons that will become obvious. ### Expected behaviour It compiles. ### Actual behaviour: ``` error[E0282]: type annotations needed --> crates/tor-socksproto/src/handshake/client.rs:332:9 | 332 | assert_eq!(action.reply, &[]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type | = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) ``` ### Why is this surprising This works: ``` git checkout report-inference-failure~ cargo +nightly check --locked -p tor-socksproto --all-features --all-targets ``` The commit that makes things break, 778c2753469c020bf2fde9d43f182c8b1b02d0af, applies `amplify::Getters` to an unused struct - one which is therefore not related to the one where inference is failing. Indeed, *deleting* the whole struct definition leaves a tree that compiles. I looked at the output of `cargo expand`. As expected, the diff is trivial and not a plausible cause of the inference failure: with the specified attributes, the maro generates *no methods* - just one empty impl block. Adding that emply impl block by hand compiles. This is all extremely mysterious. I feel I must be missing something but I struggle to guess what. <details> ### Source diff that makes it break ``` diff --git a/crates/tor-socksproto/src/handshake/framework.rs b/crates/tor-socksproto/src/handshake/framework.rs index 58318bbcf..a451d7e69 100644 --- a/crates/tor-socksproto/src/handshake/framework.rs +++ b/crates/tor-socksproto/src/handshake/framework.rs @@ -64,9 +64,10 @@ pub struct Done<'b, O> { /// dispose of the [`RecvStep`] (which mutably borrows the `Buffer`) /// while reading, /// at the cost of slightly less correctness checking by the compiler. -#[derive(Debug)] +#[derive(Debug, amplify::Getters)] pub struct RecvStep<'b> { /// The buffer + #[getter(skip)] buffer: &'b mut Buffer, /// Lower bound on the number of bytes that the handshake needs to read to complete. @@ -78,6 +79,7 @@ pub struct RecvStep<'b> { /// [`tor_bytes::IncompleteMessage.deficit`. // XXXX should this be NonZeroUsize instead? Or maybe even usize? // Note that the getter exposes the type. + #[getter(skip)] deficit: Sensitive<NonZeroUsize>, } ``` ### Diff in the output of `cargo expand --locked -p tor-socksproto` ``` --- a 2024-09-17 18:43:13.903354184 +0100 +++ b 2024-09-17 18:43:58.655551951 +0100 @@ -413,6 +413,7 @@ /// at the cost of slightly less correctness checking by the compiler. pub struct RecvStep<'b> { /// The buffer + #[getter(skip)] buffer: &'b mut Buffer, /// Lower bound on the number of bytes that the handshake needs to read to complete. /// @@ -421,6 +422,7 @@ /// /// The returned value has the same semantics as /// [`tor_bytes::IncompleteMessage.deficit`. + #[getter(skip)] deficit: Sensitive<NonZeroUsize>, } #[automatically_derived] @@ -437,6 +439,8 @@ ) } } + #[automatically_derived] + impl<'b> RecvStep<'b> {} /// `Handshake` structs that have a state that can be `Failed` /// /// Derive this with ``` ### Meta `rustc --version --verbose`: ``` rustcargo@zealot:/volatile/rustcargo/d/arti$ rustc +nightly -vV rustc 1.83.0-nightly (c52c23b6f 2024-09-16) binary: rustc commit-hash: c52c23b6f44cd19718721a5e3b2eeb169e9c96ff commit-date: 2024-09-16 host: x86_64-unknown-linux-gnu release: 1.83.0-nightly LLVM version: 19.1.0 rustcargo@zealot:/volatile/rustcargo/d/arti$ ``` </details>
A-macros,A-inference,C-bug,E-needs-mcve
low
Critical
2,531,786,596
deno
Absolute imports do not work correctly
Version: Deno 1.46.3 I'm getting this error , when importing a file using dynamic import ``` TypeError: Relative import path "react" not prefixed with / or ./ or ../ ``` How to reproduce: let's say I have folder A which is a deno project and has a deno.json file and then I have project B which also have a deno.json file Now in project A in some file I'm using a dynamic import I'm trying to import a file from project B and that file in project B has (import react from 'react') inside Now I have in both projects in deno.json in imports section this "react": "npm:react@18.3.5" But even that doesn't help and I get the error that it is a relative import and react needs to be prefixed But why is that if both projects have the dependency in the imports? Is that I'm using a dynamic import with a absolte path in it? like that ``` const a = await import(absolutePathToFile) ``` And the in that absolutePathToFile in that file I have (import react)
question,needs info
low
Critical
2,531,786,996
electron
[Bug]: Electron ignores XCompose settings when running natively on Wayland
### Preflight Checklist - [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success. ### Electron Version 33.2.0 ### What operating system(s) are you using? Other Linux ### Operating System Version NixOS 24.05 ### What arch are you using? x64 ### Last Known Working Electron version _No response_ ### Expected Behavior Compose sequences defined in `~/.XCompose` can be typed. ### Actual Behavior When running natively on Wayland, user-defined compose sequences are unrecognized; only the system default compose sequences can be typed. ### Testcase Gist URL _No response_ ### Additional Information Re https://github.com/electron/electron/issues/39957#issuecomment-1785932393
platform/linux,bug :beetle:,has-repro-gist,30-x-y
low
Critical
2,531,835,172
godot
ItemList text threshold for truncating with ellispis (...) may need changing
### Tested versions 4.3 ### System information Windows 10 ### Issue description In an ItemList, names are truncated if they are too wide for the list. Usually this is done with an ellipsis `...`, but when the width is small enough, no ellipsis is used, so more of the original name is preserved. This is good behavior, otherwise a label like `new_script.gd`, truncated to 5 characters, would appear as `ne...` rather than `new_s`. There is some threshold for when truncation stops using ellipses. **Possibly this threshold should be changed, so that ellipsis truncation is used for more narrow controls than it currently is.** The exact logic may also need tweaking. In this example, the list item named `wwwwwwwwwwwwww` is truncated without an ellipsis, even though visually it has room for an ellipsis. Observed behavior in the MRP: https://github.com/user-attachments/assets/74bc973d-7544-4236-97bb-af7895c3864b **Context:** I first noticed this behavior when testing https://github.com/godotengine/godot/pull/96909. That PR changed the minimum width of the script list to 100, and now the width is small enough that many script names are truncated with no ellipsis. Observed behavior in the https://github.com/godotengine/godot/pull/96909 artifact. Not how `new_script.cs` file is truncated without ellipsis. https://github.com/user-attachments/assets/de277fb5-d98e-4320-a506-41a2ff36f1ad ### Steps to reproduce Open the MRP. Adjust the HSplitContainer left and right. You can test with and without 16x16 icons. Observe that at a certain width, some labels are truncated using an ellipsis and some are not. ### Minimal reproduction project (MRP) [mrp-truncation.zip](https://github.com/user-attachments/files/17033343/mrp-truncation.zip)
bug,topic:gui
low
Minor