sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: ability to skip n-sig calculation
Labels: request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Search the bugtracker for similar site feature requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a site feature request
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've searched the bugtracker for similar site feature requests including closed ones


## Description

<!--
Provide an explanation of your site feature request in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->

The n-sig calculation takes roughly 4-5 seconds each for me (twice for each video), so solving it makes youtube-dl spend 10 seconds of cpu time for each url. It would be nice to have an option to skip the calculation if it is not strictly necessary, or even better, automatic detection of its necessity. For instance, I'm fairly sure the --get-title, --get-duration, -F (possibly) options do not require solving the signature.

I have below a simple helper script that displays the channel ids for youtube urls, and it just spent 42 seconds to get the information for five videos. This is, of course, unacceptable performance.

```
#!/bin/sh
FORMAT='%(id)s %(channel_id)s %(uploader)s'

exec python youtube_dl/__main__.py \
	-o "$FORMAT" --get-filename \
	"$@"
```

Of course, making the calculation about 100 times faster would be preferred, but until that happens, the ability to skip it on demand would be an acceptable substitute.
Repository: flutter
Issue: [packages] About to hit max number of workflows to wait for on release action.
Labels: package,team-ecosystem,P2,a: plugins,triaged-ecosystem

### Type of Request

bug

### Infrastructure Environment

This affects **`flutter/packages` [release.yml](https://github.com/flutter/packages/blob/main/.github/workflows/release.yml) github workflow**.

### What is happening?

The release workflow step "Wait on all tests" uses the `lewagon/wait-on-check-action` github action to wait for all the workflows that are added from LUCI to finish.

`wait-on-check-action` has a [documented limit](https://github.com/lewagon/wait-on-check-action?tab=readme-ov-file#auto-pagination) of 100 workflows that it waits for, and when more are added they get [ignored](https://github.com/flutter/flutter/issues/88120).

The flutter/packages repo is currently sitting at ~90 LUCI checks in `main`. [(Example)](https://github.com/flutter/packages/runs/20312220843).

### Steps to reproduce

The release action might release versions with failing checks, once our tooling needs to wait for more than 100 LUCI workflows.

### Expected results

The release action waits for all workflows.
Repository: godot
Issue: Accent marks render outside of LineEdit's `text` parameter in the inspector when many are added
Labels: bug,topic:gui

### Tested versions

v4.2.1.stable.official [b09f793f5]

### System information

Ubuntu 20.04 LTS

### Issue description

In the inspector. I held down `Q` for a while, so there are many accent marks.
![arabicbug_godot](https://github.com/godotengine/godot/assets/135338122/12207311-50ca-49bc-a940-591b31b55e3e)

The 2D scene looks correct though
![arabicbug_2dscene](https://github.com/godotengine/godot/assets/135338122/124b9494-dc44-4fe5-a1c7-ecc8ff6ca4bf)

For more comparison...
My browser URL bar (10 accent marks; it seems to stack them in-place)
![arabicbug_urlbar](https://github.com/godotengine/godot/assets/135338122/fa7a79ab-076e-4531-ac58-8e62edbdf401)

VIM (10 accent marks; it seems to only show the first two)
![arabicbug_vim](https://github.com/godotengine/godot/assets/135338122/adab55d2-37d1-422a-9b56-c93051b711e0)



### Steps to reproduce

Open the MRP, open `line_edit.tscn`, click on the `LineEdit` node, and look at the inspector.

The steps I took to create the MRP:
Follow these instructions at your own risk since they involve installing and switching to a new key layout.
1. Ensure you can input Arabic.  On Ubuntu 20 Settings -> Region & Language -> Manage Installed Languages -> Install/Remove Languages... -> Choose Arabic and let it install.  Once it is done, close and reopen Settings.  Then go to Region & Language -> Click on the + sign -> Choose Arabic.  In your status bar, you should see `en`, click on it to switch to `ar`.
2. Create a LineEdit node
3. Type any character.  For this example I typed single-quote (`'`) which produced `ط` in Arabic.
4. Type `Q`, this will add an accent above it, like this: `طَ`
5. Hold down `Q`, and this will continuously add more accents.  Watch it clip out of `LineEdit`.

Notice that the rendered text in the 2D scene looks correct, which may mean this is an issue with the editor's font.

### Minimal reproduction project (MRP)

[ArabicBug.zip](https://github.com/godotengine/godot/files/13878296/ArabicBug.zip)
Repository: flutter
Issue: [Impeller] the golden image tests don't catch high dpi differences
Labels: P3,c: tech-debt,e: impeller,team-engine,triaged-engine

The golden image tests run at a scale of 1x, not high dpi.  That means that if rendering is broken on high dpi, but works on 1x it won't get flagged.  I think it's probably best if the golden image tests were changed to render at 2x dpi as opposed to running all the tests twice.
Repository: TypeScript
Issue: Binary expression in an `if` condition can't narrow identifier reassigned within expression of the optional chain
Labels: Suggestion,Help Wanted,Experience Enhancement

### 🔎 Search Terms

binary condition refinement predicate optional chain undefined

### 🕗 Version & Regression Information

- This is the behavior in every version I tried

### ⏯ Playground Link

https://www.typescriptlang.org/play?ts=5.4.0-dev.20240109#code/C4TwDgpgBAKu0F4oG8BQUoEsAmAuKAdgK4C2ARhAE4DcqAvraqJFAJIEBmVEBAxhOw4B7KEjQZmEAAoBDSjJIRgVfHEi0MmEmAA2mCNgCClTKAD8+YuSq0GqVNgi8dc6ByJ9gmIQSgBzJUFuPgFOIQAxIUo1CAAKSVV4AEp8IMoefkERAB8oD0cOTAIDRndPb18OAgBGeOrEyAAaKGAAJgaIJJR0KB0lLDDRf0DOYMywyOj4OqSNLA4oWKLhMwA6LV19IxNQKABCBCR8iELi7C7xDAHhde09A2NTEDm6KAgdAGdoTAXYpcGkAFgGkMqFhJMYvFWkkkmsNvdtk99oc8gQCkUDBcepowrdNg8ds8enR6PYyrwvD4oFVWnUOs02h0sRg+sBriJASMuOkQlkIdNgNVZj0fotlkI4Xcto9dgcjmiThjzt0ruy8QiZUSMK93l95ot-sIhkCQbyJlFIW0YZL8YjQMyruL1dLCS9SUA

### 💻 Code

```ts
type Type = {
  id: number;
};

type InferenceInfo = {
  typeParameter: Type;
  impliedArity?: number;
};

declare function getInferenceInfoForType(type: Type): InferenceInfo | undefined;

function fn1(t1: Type, t2: Type) {
  let info = getInferenceInfoForType(t1);
  if (info?.impliedArity !== undefined) {
    info.impliedArity; // ok
  } else if ((info = getInferenceInfoForType(t2))?.impliedArity !== undefined) {
    info.impliedArity; // 'info' is possibly 'undefined'.(18048)
  }
}

function fn2(t1: Type, t2: Type) {
  let info = getInferenceInfoForType(t1);
  if (info?.impliedArity !== undefined) {
    info.impliedArity; // ok
  } else if ((info = getInferenceInfoForType(t2))?.impliedArity) {
    info.impliedArity; // ok
  }
}
```


### 🙁 Actual behavior

The second branch in `fn1` contains an error

### 🙂 Expected behavior

I'd expect this to be narrowed just fine - like the first branch and the second branch in `fn2`

### Additional information about the issue

_No response_
Repository: ollama
Issue: ollama list flags help
Labels: feature request,cli

There is no obvious way of seeing what flags are available for ollama list
```
ollama list --help
List models

Usage:
  ollama list [flags]

Aliases:
  list, ls

Flags:
  -h, --help   help for list

```
Repository: go
Issue: html/template: the documentation contains a link to the end-of-life RawGit service
Labels: Suggested,Documentation,NeedsFix,FixPending

### Go version

1.21.5

### What did you do?

Inspect https://github.com/golang/go/blob/59ecebf47f70d018cffd650ade91f44e25d128ea/src/html/template/doc.go#L213


### What did you see happen?

> https://rawgit.com/mikesamuel/sanitized-jquery-templates/trunk/safetemplate.html#problem_definition defines "safe" as used by this package.

### What did you expect to see?

The documentation should no longer rely on [RawGit](https://rawgit.com/): that project reached end-of-life status as far back as 2018 and its domain name may lapse at any moment.

An alternative that [other packages of the standard library rely on](https://github.com/search?q=repo%3Agolang%2Fgo+%2Fweb%5C.archive%5C.org%2F&type=code): the Wayback Machine.

> https://web.archive.org/web/20160501113828/http://js-quasis-libraries-and-repl.googlecode.com/svn/trunk/safetemplate.html#problem_definition defines "safe" as used by this package.

Related: https://github.com/golang/go/issues/46469
Repository: flutter
Issue: Proposal: Make a logical "Android Java" sub-directory in the engine
Labels: platform-android,engine,c: proposal,P3,c: tech-debt,team-android,triaged-android

In https://github.com/flutter/engine/pull/49612 I add the minimum to get a functional Android Studio workflow in the engine.

After thinking about it a bit more, I think we could simplify and have a better workflow if we structured the directory as such:

```txt
shell/
  platform/
    android/
      java/
        src/
        test/
        AndroidManifest.xml
```

Basically this proposal would:

1. Rename `shell/platform/android/test_runner` to `shell/platform/android/java`
2. Move `shell/platform/android/io` to `shell/platform/android/java/src`
3. Move `shell/platform/android/test` to `shell/platform/android/java/test`

I _believe_ this would greatly simplify have a working IntelliJ/Gradle configuration when working with the Java source files.

Thoughts?
Repository: flutter
Issue: [Impeller] Frames in flight abstraction for HostBuffer may need to be app/platform dependenent.
Labels: P3,e: impeller,team-engine,triaged-engine

See also: https://github.com/flutter/engine/pull/49505#discussion_r1446513214

This may need to be adjusted for platform views as well.
Repository: godot
Issue: Error accessing custom resource caused by order of preload
Labels: bug,topic:gdscript

### Tested versions

Only tried in Godotv 4.2.1.stable.official [b09f793f5]

### System information

Windows 10 - Godotv 4.2.1.stable.official [b09f793f5]

### Issue description

Preloading a custom resource script AND an instance of that resource causes the accessing the instance to fail with "Invalid get index" if the resource script is preload'ed before the instance.

New to Godot so this maybe a problem with how I am using it, but if so then clarification is needed since I scoured the docs and asked in Discord and didn't get an answer.

### Steps to reproduce

1. Create a custom resource
```
class_name TestResource
extends Resource
@export var value1 : int = 42
```
2. Create an instance of that resource with `value1` set
3. Create the main scene script. preload the resouce and the instance and try to print value1
```
extends Node2D
var TheRSrc := preload("res://test_resource.gd")
var rsrc := preload("res://resource1.tres
func _ready():
	print(rsrc.value1)
```
4. An error is generated on the print line.

5. Now, swap the order of the preloads
```
extends Node2D
var rsrc := preload("res://resource1.tres
var TheRSrc := preload("res://test_resource.gd")
func _ready():
	print(rsrc.value1)
```
6. The correct `value1` is printed.


### Minimal reproduction project (MRP)

[preload_error.zip](https://github.com/godotengine/godot/files/13879963/preload_error.zip)
Repository: flutter
Issue: Expand deprecation policy to dart:ui
Labels: framework,P2,c: tech-debt,team-framework,triaged-framework

This is the tracking issue for the proposal to expand the deprecation policy to dart:ui

Now that flutter and flutter_test have been successfully adopted, we are looking to expand the deprecation policy to other packages, with flutter_driver being next.

This will involve:

- [ ] adding dart fix support to dart:ui
  - This may not be possible without some help from the dart team 
- [ ] advance communication to users and
  - [ ] a feedback period
- [ ] deprecation notice formatting enforcement
  - flutter/engine does not currently enforce deprecation versioning like in flutter/flutter
  - https://github.com/flutter/flutter/blob/988d1a06791bc701ffec2c092b32df1071a7e13b/dev/bots/analyze.dart#L561 
- [ ] updating the deprecation policy on the wiki and website to list enforced packages
Repository: electron
Issue: [Bug]: Vulkan feature is disabled by default on Linux (not the case on Chromium and Chrome)
Labels: bug :beetle:,has-repro-comment,28-x-y

### 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

28.1.2 (and older)

### What operating system are you using?

Ubuntu

### Operating System Version

Ubuntu 22.04, Ubuntu 23.10

### What arch are you using?

x64

### Last Known Working Electron version

none

### Expected Behavior

Tested on `x64` and `arm64` ubuntu with the same results.

I expect that the Vulkan feature flag is enabled by default (`Vulkan: Enabled` at the top of chrome://gpu, `~/.config/Electron\ Fiddle/electron-bin/current/electron chrome://gpu`)

### Actual Behavior

the Vulkan feature flag is not enabled by default in electron when it is in chromium (built the latest release from source using default options to verify this) and chrome.

The flag can be enabled via `--enable-features=Vulkan` but as explained, chromium/chrome have this enabled by default. Enabling the flag does NOT force/require vulkan to be used, in fact the GL_RENDERER is STILL OpenGL even after enabling in Electron only (but that is a different electron bug).

This is especially important because without the Vulkan feature flag being enabled, all electron applications open with a black screen on Nvidia Tegra R36.2 Wayland Gnome (latest release) (see bug for further details https://forums.developer.nvidia.com/t/chromium-electron-applications-hang-on-launch-on-gnome-wayland/276978/9).

### Testcase Gist URL

`~/.config/Electron\ Fiddle/electron-bin/current/electron chrome://gpu`

### Additional Information

_No response_
Repository: tensorflow
Issue: Messages at import time should go to the Python logger rather than stderr
Labels: stat:awaiting tensorflower,type:feature,type:others,TF 2.15

### Issue type

Feature Request

### Have you reproduced the bug with TensorFlow Nightly?

No


### TensorFlow version

v2.15.0-rc1-8-g6887368d6d4 2.15.0

### OS platform and distribution

Mac Intel 14.1.1

### Python version

3.10.12

### Current behavior?

When I import tensorflow, it prints the following to `stderr`: 

```
[Jan-09 17:37]$ poetry run python -c "import tensorflow as tf; print('stdout here')" > stdout.txt
2024-01-09 17:38:41.470429: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.

[Jan-09 17:38]$ cat stdout.txt
stdout here
```

Even if I configure my Python logger before importing tensorflow the results still go to stderr.  

This is a problem for me because these messages show up in my logging system as errors.  When I query my logs, it looks like the app is unhealthy.  

I know that I could silence messages using: 

```
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '1' 

import tensorflow as tf
```
[Source](https://stackoverflow.com/a/76797348/251589)

But I would prefer to keep these messages.  

Possible solutions: 

Ideal solution: Use the python logger.  
Less ideal solution: Allow me to redirect these logs to stdout so they do not show up as errors.  

### Standalone code to reproduce the issue

```shell
Import tensorflow :)
```


### Relevant log output

_No response_

### Related issues and threads

* Similar discussion for Keras: https://github.com/keras-team/keras/issues/1406#issuecomment-410437449
* Similar feature request: https://github.com/tensorflow/tensorflow/issues/57553#issuecomment-1247641242
* https://stackoverflow.com/questions/35911252/disable-tensorflow-debugging-information
Repository: storybook
Issue: [Bug]: `moduleSuffixes` setting in tsconfig.json is not picked up
Labels: feature request,help wanted,typescript

### Describe the bug

We have a component named `Button.web.tsx`. We imported this component in the Storybook using `import { Button } from './Button'`. We followed https://github.com/storybookjs/storybook/issues/3291#issuecomment-1196088801 to make Storybook aware of the custom tsconfig.json.

If `"moduleSuffixes": [".web", ""]` option in tsconfig.json had worked, the Typescript compiler would have looked for both `Button.tsx` and  `Button.web.tsx`, and found the component. Instead it cannot resolve it. 

This led us to believe that the moduleSuffixes option must have been dropped somewhere. Maybe it got overridden by Storybook's `react-webpack5` config. 


### To Reproduce

I've created a sample project off of npx storybook@latest init to reproduce the issue I am running into. https://github.com/WillLiang918/storybook-test. The following are the modifications I've made:
```
// stories/Button.web.tsx (renamed from stories/Button.js)

---

// tsconfig.json 
// expect storybook to resolve Button.web.tsx
"moduleSuffixes": [".web", ""]

---

// main.js 
// added the following to read from tsconfig.json
async webpackFinal(config, { configType }) {
    config.resolve.plugins = [
      ...(config.resolve.plugins || []),
      new TsconfigPathsPlugin({
          configFile: path.resolve(__dirname, '../tsconfig.json'),
      })
    ]
  return config
}
```
Running this sample project will result in a Module not found: Error: Can't resolve './Button' error. 

### System

```
  System:
    OS: Linux 5.15 Ubuntu 20.04.3 LTS (Focal Fossa)
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 16.19.0 - ~/.nvm/versions/node/v16.19.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.19.0/bin/yarn
    npm: 8.19.3 - ~/.nvm/versions/node/v16.19.0/bin/npm <----- active
  npmPackages:
    @storybook/addon-essentials: ^7.6.6 => 7.6.7
    @storybook/addon-interactions: ^7.6.6 => 7.6.7
    @storybook/addon-links: ^7.6.6 => 7.6.7
    @storybook/addon-onboarding: ^1.0.10 => 1.0.10
    @storybook/blocks: ^7.6.6 => 7.6.7
    @storybook/react: ^7.6.6 => 7.6.7
    @storybook/react-webpack5: ^7.6.6 => 7.6.7
    @storybook/test: ^7.6.6 => 7.6.7
    storybook: ^7.6.6 => 7.6.7
```

### Additional context

_No response_
Repository: TypeScript
Issue: `Object(x) === x` fails to narrow to `object`
Labels: Suggestion,Awaiting More Feedback

### 🔎 Search Terms

narrow object

### 🕗 Version & Regression Information

I only tested this on latest, but I think it's always worked this way.

### ⏯ Playground Link

https://tsplay.dev/WKbDpm

### 💻 Code

```ts
var err: unknown;

if (Object(err) === err) {
	err.toString; // `err` type is unknown, should be `object`
}
```


### 🙁 Actual behavior

Errors because it thinks `err` is `unknown`

### 🙂 Expected behavior

Does not error because it knows `err` is `object`

### Additional information about the issue

`Object(x) === x` is the most idiomatic and reliable way to test if something is an object, since it avoids hardcoding typeof checks. It'd be great if it was narrowed here.
Repository: PowerToys
Issue: Powertoys missed process priority.
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

If I want to lower or raise the priority of a process and save it so it aways do the priorizing. For example I have many process open like steam or bnet and I work at the same time I want those open in the gamming desktop but I want to keep then low priority. That or add a feature to windows to low priority to all apps running on other desktops than the current one.

### Scenario when this would be used?

If I want to lower or raise the priority of a process and save it so it aways do the priorizing. For example I have many process open like steam or bnet and I work at the same time I want those open in the gamming desktop but I want to keep then low priority. That or add a feature to windows to low priority to all apps running on other desktops than the current one.

### Supporting information

_No response_
Repository: svelte
Issue: Svelte 5: Several circular dependencies in client runtime modules
Labels: runtime

### Describe the bug

Not a bug, per se, but there are several circular dependencies among various files in the browser runtime. Here are a few that I observed in a project. There may be others that present themselves if you use more of Svelte's runtime.

```
svelte/src/internal/client/each.js -> svelte/src/internal/client/render.js -> svelte/src/internal/client/transitions.js -> svelte/src/internal/client/each.js
svelte/src/internal/client/proxy/readonly.js -> svelte/src/internal/client/proxy/proxy.js -> svelte/src/internal/client/proxy/readonly.js
svelte/src/internal/client/render.js -> svelte/src/internal/client/transitions.js -> svelte/src/internal/client/render.js
svelte/src/internal/client/runtime.js -> svelte/src/internal/client/block.js -> svelte/src/internal/client/runtime.js
svelte/src/internal/client/runtime.js -> svelte/src/internal/client/proxy/readonly.js -> svelte/src/internal/client/proxy/proxy.js -> svelte/src/internal/client/runtime.js
svelte/src/internal/index.js -> svelte/src/internal/client/custom-element.js -> svelte/src/legacy/legacy-client.js -> svelte/src/internal/index.js
```

If it comes down to it, I suppose we could suppress these warnings in our official tooling, but it would be nicer not to have the cycles at all if possible, for people with a more homegrown setup.

### Reproduction

Attempt to bundle a Svelte 5 app directly with Rollup rather some other higher level tool, without suppressing `CIRCULAR_DEPENDENCY` warnings, and observe them at build time.

### Logs

_No response_

### System Info

```shell
n/a
```


### Severity

annoyance