sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: UpRide.cc support
Labels: site-support-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.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support 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 new site support request
- [x] I've verified that I'm running youtube-dl version **2023.03.04** (installed on AntiX GNU+Linux through repos)
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://upride.cc/incident/shoulder-pass-at-light/
- Single video: https://upride.cc/incident/careless-driver-cuts-across-a-cycle-lane-2-seconds-after-indicating/
- Single video: https://upride.cc/incident/almost-hit-by-a-car-pulling-out-of-a-gas-station/
- Single video: https://upride.cc/incident/dog-2/


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

UpRide.cc is a site for uploading videos of incidents that happen on bikes (crashes, bad drivers, unsafe infrastructure, etc.). It intends both to raise awareness of cycling-related dangers, and host video evidence of incidents.
Repository: TypeScript
Issue: enum should not be able to used with math operators
Labels: Suggestion,Awaiting More Feedback

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

enum operator

### 🕗 Version & Regression Information

- I think it never worked

### ⏯ Playground Link

<!--
  A link to a TypeScript Playground "Share" link which shows this behavior.
  This should have the same code as the code snippet below, and use whichever settings are relevant to your report.

  As a last resort, you can link to a repo, but these will be slower for us to investigate.
-->
[Playground link with relevant code](https://www.typescriptlang.org/play?#code/KYOwrgtgBAglDeAoKLZQLxQIyIL6MQBtgAXKAQwC41MYA6GRcgamcSA)

### 💻 Code

<!-- Please post the relevant code sample here as well. This code and the Playground code should be the same, do not use separate examples -->
```ts
enum A {
    A = 1
}

let a: A = A.A
a++
```

### 🙁 Actual behavior

no error

### 🙂 Expected behavior

type error
Repository: flutter
Issue: Fix code scanning alert - Vulnerabilities
Labels: team-infra,P2,infra: security,triaged-infra

<!-- Warning: The suggested title contains the alert rule name. This can expose security information. -->

Tracking issue for:
- [ ] https://github.com/flutter/flutter/security/code-scanning/14
Repository: rust
Issue: Capturing thread output during tests interacts poorly with global thread pools
Labels: A-libtest,C-bug,T-libs

Tests by default capture their output of stdout/stderr using a libstd-private API, and these handles used to capture output are inherited by spawned threads of each test. This inheriting behavior interacts poorly for programs which have something akin to a global thread pool. Any test may spawn a thread added to the global thread pool and then that global thread's output is permanently fused to the original test that spawned it. 

This ends up resulting in confusing situations such as https://github.com/rayon-rs/rayon/issues/1066 where test panic messages are entirely swallowed by default and not displayed at all. A smaller (contrived) example of this is:

```rust
use std::sync::{Condvar, Mutex};
use std::thread::JoinHandle;

static LOCK: Mutex<Option<JoinHandle<()>>> = Mutex::new(None);
static COND: Condvar = Condvar::new();

#[test]
fn foo() {
    *LOCK.lock().unwrap() = Some(std::thread::spawn(|| {
        panic!("this message will not be seen");
    }));
    COND.notify_one();
}

#[test]
fn bar() {
    let lock = LOCK.lock().unwrap();
    let mut lock = COND.wait_while(lock, |state| state.is_none()).unwrap();
    if let Err(e) = lock.take().unwrap().join() {
        std::panic::resume_unwind(e);
    }
}
```

where here the `foo` test spawns some work which is then "resumed" in `bar`, but the panic message isn't actually displayed anywhere:

```
$ cargo test
    Finished test [unoptimized + debuginfo] target(s) in 0.01s
     Running unittests src/main.rs (target/debug/deps/wat-fc5370c265a065b8)

running 2 tests
test foo ... ok
test bar ... FAILED

failures:

failures:
    bar

test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `--bin wat`
```

I'm not sure that there's really an easy fix for this, so this is probably more of a "shouting into the void" style of issue, but figured I might as well open it after taking the time to investigate it anyway.
Repository: PowerToys
Issue: FancyZones: Allow configuration of modifier used to activate zones
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

Currently there is an option "Hold Shift key to activate zones while dragging".

Holding shift can sometimes conflict with shortcuts in applications. For example, Mintty (and programs that use it, e.g. Git Bash) resizes its contents when holding shift, so using shift to assign the window to a zone also causes the contents of the window to change size based on how much the window resized when it changed zones (see #1050).

So it would be good to be able to select from a few options (e.g. ctrl, ctrl+shift, shift, etc.), or possibly set a custom key combination to activate the zones.

### Scenario when this would be used?

To provide the ability for users to avoid modifier key conflicts with the programs they use, to avoid unwanted behaviour when assigning windows to zones.

### Supporting information

_No response_
Repository: rust
Issue: Support checking whether `std::process::ExitCode` represents success or failure
Labels: T-libs-api,A-process

IIUC there is no good way to check whether a `std::process::ExitCode` corresponds to success or failure. This is cumbersome, for example, when we want to check the exit code just before actually exiting.

```rust
use std::process::ExitCode;

fn real_main() -> ExitCode {
    // ... do something ...
    ExitCode::FAILED
}

fn main() -> ExitCode {
    let exit_code = real_main();
    
    // For now, the only way to check if `exit_code` is success is to check its
    // Debug serialization:
    if format!("{:?}", exit_code) != "ExitCode(unix_exit_status(0))" {
        eprintln!("FAILED");
    }
    
    // Ideally we want to write this like:
    /*
    if !exit_code.is_success() {
        eprintln!("FAILED!");
    }
    */

    exit_code
}
```

Can we add methods to `std::process::ExitCode` checking whether it is success or failure?

It seems like `is_success`/`is_failure` were considered when stabilizing `std::process::ExitCode`, but it was left as an unresolved question. https://github.com/rust-lang/rust/issues/48711
Repository: node
Issue: fs.Stats properties are not documented
Labels: doc,fs

### Affected URL(s)

https://nodejs.org/api/fs.html#class-fsstats

### Description of the problem

`fs.Stats` doc gives an example of returned value but properties are not documented.

I'm not sure of the meaning of properties `dev`, `mode`, `nlink`, `uid`, `gid`, `rdev`...
What is the difference between `ctime` and `birthtime`?

`fs.Stats` properties should be documented.
Repository: excalidraw
Issue: Unlock option dissapear when the element is in a frame
Labels: frames

![image](https://github.com/excalidraw/excalidraw/assets/94299594/d233727d-6aec-4905-996d-fd4f4b16ceaf)
Repository: flutter
Issue: [flutter_tools] --dart-defines-json option of `flutter run` results in failed compilation if json values contain newline characters
Labels: tool,P2,team-tool,triaged-tool

## Repro
1. Create a flutter project.
2. Navigate to the project directory.
3. Create a file named `config.json` with the content:
      ```json
      {
        "MY_ENV_VALUE": "json \n foo \n"
      }
      ```
4. `flutter run -d chrome --dart-define-from-file=config.json` (you don't have to use chrome as the device)


The command fails with output resembling

```
Launching lib/main.dart on Chrome in debug mode...
-DMY_ENV_VALUE=json%20%0A%20foo%20%0A: Error: Error when reading '-DMY_ENV_VALUE=json%20%0A%20foo%20%0A': No such file or directory
Waiting for connection from debug service on Chrome...             487ms
Failed to compile application.
```
  
## Troubleshooting
From the error message, it appears dart is trying to compile `-DMY_ENV_VALUE=...` rather than the actual dart file (`lib/main.dart`). It's possible that the newline is ending the command input early, before the actual dart file is provided, so the `-D` (`--define`) option is being falsely interpreted as the file to compile.

[Where we invoke the dart command](https://github.com/flutter/flutter/blob/840d7dd68a7af5fb660e80ca5a923e0adccb26b8/packages/flutter_tools/lib/src/compile.dart#L347).

## Solution

It might not be possible for us to support new lines in these config values. I am not sure if `Process.start` from dart.io (which is what we ultimately call) is able to support multiline command arguments.

If it's not possible for us to fix this issue directly, we should at least detect config values containing newlines and throw a `ToolExit` telling the user that we do not support values with newlines in them.



Tangentially related: https://github.com/flutter/flutter/issues/128787
Repository: PowerToys
Issue: ASCII Input for Keyboards without Numpad
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

A simple way of inputting ASCII Characters by their code without a Numpad.
This could be implemented as a separate Utility or into PowerToys Run (or maybe a plugin).

Example for PowerToys Run
Input "ASCII 64" (The ASCII Code 64 is corresponds to "@")
show option to copy "@" to clipboard

Or a new Utility which allows you to enter the number and get a result
(Something similar to the Character Map found in Windows)

### Scenario when this would be used?

Sometimes I need to input an ASCII Character but I have a TKL-Keyboard which lacks the Numpad. Therefore my current solution is to use Google in order to find the character I need and copy-paste it as needed.

### Supporting information

_No response_
Repository: HelloGitHub
Issue: 【开源自荐】GeaFlow - 蚂蚁开源业界首创分布式流图引擎
Labels: Java 项目

## 推荐项目

- 项目地址：https://github.com/TuGraph-family/tugraph-analytics

- 类别：Java

- 项目标题：业界首创分布式流图计算引擎

- 项目描述：
GeaFlow(品牌名TuGraph-Analytics)是蚂蚁集团开源的分布式实时图计算引擎，目前广泛应用于金融风控、社交网络、知识图谱以及数据应用等场景。GeaFlow的核心能力是流式图计算, 流式图计算相比离线图计算提供了一种高时效性低延迟的图计算模式。相比传统的流式计算引擎比如Flink、Storm这些面向表数据的实时处理系统而言，GeaFlow 主要面向图数据的实时处理，支持更加复杂的关系分析计算，比如多度关系实时查找、环路检查等；同时也支持图表一体的实时分析处理，能同时处理表数据和图数据。关于GeaFlow使用场景更多介绍请参考：[GeaFlow介绍文档](https://github.com/TuGraph-family/tugraph-analytics/blob/master/docs/docs-cn/introduction.md)。

- 亮点：图计算在业界使用越来越广泛，然后目前开源界还没有一款好用图计算引擎尤其是流图计算领域，可以说还是一片空白。蚂蚁图计算团队从金融风控等业务场景出发研发了处理万亿点边规模的实时图计算引擎GeaFlow,并正式对外开源。

- 示例代码：
`
set geaflow.dsl.window.size = 1;

CREATE GRAPH IF NOT EXISTS dy_modern (
  Vertex person (
    id bigint ID,
    name varchar
  ),
  Edge knows (
    srcId bigint SOURCE ID,
    targetId bigint DESTINATION ID,
    weight double
  )
) WITH (
  storeType='rocksdb',
  shardCount = 1
);

CREATE TABLE IF NOT EXISTS tbl_source (
  text varchar
) WITH (
  type='socket',
  `geaflow.dsl.column.separator` = '#',
  `geaflow.dsl.socket.host` = '${your.host.ip}',
  `geaflow.dsl.socket.port` = 9003
);

CREATE TABLE IF NOT EXISTS tbl_result (
  a_id bigint,
  b_id bigint,
  c_id bigint,
  d_id bigint,
  a1_id bigint
) WITH (
  type='socket',
    `geaflow.dsl.column.separator` = ',',
    `geaflow.dsl.socket.host` = '${your.host.ip}',
    `geaflow.dsl.socket.port` = 9003
);

USE GRAPH dy_modern;

INSERT INTO dy_modern.person(id, name)
SELECT
cast(split_ex(t1, ',', 0) as bigint),
split_ex(t1, ',', 1)
FROM (
  Select trim(substr(text, 2)) as t1
  FROM tbl_source
  WHERE substr(text, 1, 1) = '.'
);

INSERT INTO dy_modern.knows
SELECT
 cast(split_ex(t1, ',', 0) as bigint),
 cast(split_ex(t1, ',', 1) as bigint),
 cast(split_ex(t1, ',', 2) as double)
FROM (
  Select trim(substr(text, 2)) as t1
  FROM tbl_source
  WHERE substr(text, 1, 1) = '-'
);

INSERT INTO tbl_result
SELECT
  a_id,
  b_id,
  c_id,
  d_id,
  a1_id
FROM (
  MATCH (a:person) -[:knows]->(b:person) -[:knows]-> (c:person)
   -[:knows]-> (d:person) -> (a:person)
  RETURN a.id as a_id, b.id as b_id, c.id as c_id, d.id as d_id, a.id as a1_id
);
`

- 截图：（可选）gif/png/jpg
![p1](https://github.com/TuGraph-family/tugraph-analytics/raw/master/docs/static/img/add_dsl_job.png)
![p2](https://github.com/TuGraph-family/tugraph-analytics/raw/master/docs/static/img/task_detail.png)

- 后续更新计划：
两个月一个大版本，每周固定迭代。
Repository: vscode
Issue: Support Troubleshoot issue in remote
Labels: feature-request,issue-reporter

Testing #186171

Tested it in WSL and the first bisect disabled the WSL extension which lead to strange UI behavior


<img width="773" alt="capture" src="https://github.com/microsoft/vscode/assets/1931590/21a43517-275d-4556-992e-dc0bd508fb4a">
Repository: next.js
Issue: Refresh page on production while using link component
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: win32
      Arch: x64
      Version: Windows 10 Pro
    Binaries:
      Node: 18.15.0
      npm: N/A
      Yarn: N/A
      pnpm: N/A
    Relevant packages:
      next: 13.4.7
      eslint-config-next: 13.4.7
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.3

warn  - Failed to fetch latest canary version. (Reason: fetch failed.)
      Detected "13.4.7". Visit https://github.com/vercel/next.js/releases.
      Make sure to try the latest canary version (eg.: `npm install next@canary`) to confirm the issue still exists before creating a new issue.    
      Read more - https://nextjs.org/docs/messages/opening-an-issue
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

_No response_

### Link to the code that reproduces this issue or a replay of the bug

https://github.com/Kunaljethva369/testnextlink

### To Reproduce

[https://spontaneous-pony-2b5855.netlify.app/](url)

### Describe the Bug

Have create a latest nextjs application, in which have made one navbar and use link component, it works fine on localhost build.

But when hosted on netlify it refresh the page. PFB the Production link and github repo link.

https://spontaneous-pony-2b5855.netlify.app/
https://github.com/Kunaljethva369/testnextlink

### Expected Behavior

We should have expected no refresh of page when clicked on link, as we are using link component, but still it does work as expected.

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

netlify
Repository: rust
Issue: Adding a timout command when running the executable file could cause wrong coverage result
Labels: C-bug,A-code-coverage

I'm not sure it is a bug or my incorrect behaviour.
Here is what I did:
1. A simple Rust code:
```rust
fn main() {}
```
2. Build, run, and get coverage information:
```sh
rustc -C instrument-coverage file.rs
./file
grcov . --binary-path ./file -s ./file.rs -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o ./lcov1.info
```
The rusult goes well, like this:
```
TN:
SF:
FN:1,file10::main
FNDA:1,file10::main
FNF:1
FNH:1
BRF:0
BRH:0
DA:1,1
DA:2,1
DA:3,1
LF:3
LH:3
end_of_record
```

3. But if I add a `timeout` command like this:
```shell
rustc -C instrument-coverage file.rs
timeout 30m ./file
grcov . --binary-path ./file -s ./file.rs -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o ./lcov2.info
```
The coverage result is output like this:
```
TN:
SF:
FN:1,file10::main
FNDA:1,file10::main
FNF:1
FNH:1
BRF:0
BRH:0
DA:1,1
DA:2,1
DA:3,1
LF:3
LH:3
end_of_record
SF:
FN:1,file10::main
FNDA:1,file10::main
FNF:1
FNH:1
BRF:0
BRH:0
DA:1,1
DA:2,1
DA:3,1
LF:3
LH:3
end_of_record
```
I don't understand why there are two `end_of_record`, and the second group of coverage infomation seems to be odd. 
Is this a bug of `rustc` or `grcov`? Or is there something wrong with the way I'm doing it that causes the results to be incorrect?
Repository: vscode
Issue: Sharing links - improve discovery
Labels: feature-request,continue-working-on

Testing #186199

Currently there is no indication that one can right click on the editor gutter in order to create a link to the line for sharing. I am wondering if we could explore some options to improve discoverability.

GitHub
<img width="265" alt="image" src="https://github.com/microsoft/vscode/assets/3372902/e7209b81-d4d9-41b6-aa0e-18493f495b7f">

Azure Repos
<img width="387" alt="image" src="https://github.com/microsoft/vscode/assets/3372902/7c36bf57-baf9-4bc8-963c-41e2239179b4">
Repository: vscode
Issue: Consider to bubble up partially checked state
Labels: feature-request,tree-views

Testing #186164

I think in many UIs with checkboxes, a parent node will indicate partial selection state when some but not all children are checked:

![image](https://github.com/microsoft/vscode/assets/900690/a3b25e75-c383-4e03-91d7-fcaa7a598e82)
Repository: vscode
Issue: Command center sharing
Labels: bug,continue-working-on

Testing #186199

Users should not have to reload the window when toggling the `workbench.experimental.share.enabled` setting. If we have to reload the window, we should show a dialog informing the users to reload the window as we do for other settings that require a reload.
Repository: rust
Issue: Namespacing inconsistency with type and const parameters
Labels: A-resolve,T-lang,C-bug,A-const-generics

I tried this code and it compiled:
```rs
trait Trait<T, const N: usize> {
    type TYPE;
    const TYPE: usize;
}
```

Then I tried this code and it didn't compile:
```rs
trait Trait<T, const T: usize> {
    type TYPE;
    const TYPE: usize;
}
```

### 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 +nightly --version --verbose`:
```
rustc 1.72.0-nightly (36fb58e43 2023-06-26)
binary: rustc
commit-hash: 36fb58e433c782e27dd41034284e157cf86d587f
commit-date: 2023-06-26
host: aarch64-apple-darwin
release: 1.72.0-nightly
LLVM version: 16.0.5
```

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary>Backtrace</summary>
<p>

```
error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters
 --> src/main.rs:1:22
  |
1 | trait Trait<T, const T: usize> {
  |             -        ^ already used
  |             |
  |             first use of `T`

For more information about this error, try `rustc --explain E0403`.
error: could not compile `proba2` (bin "proba2") due to previous error
```

</p>
</details>


### Explanation

This is an inconsistency in namespacing of type parameters and const parameters. When used as associated types/consts they can have overlapping names, but when used as generic types they cannot
Repository: vscode
Issue: Sharing links - inconsistent behaviour
Labels: bug,polish,continue-working-on

Testing #186199

Noticed that when creating a link from the "Share" icon next to the command center a dialog is being shown with the link. That dialog is not shown when I create a link from the editor gutter? Why the difference in behaviour? I think these two experiences should be consistent as we are invoking the same command.
Repository: vscode
Issue: [Feature] Debug Hovers Are Not Resizable
Labels: feature-request,debug,editor-hover

Testing #185751

Probably they use a different hover widget

![Code_-_Insiders_Vb199TEs4P](https://github.com/microsoft/vscode/assets/2931520/740dcfec-1e22-4cea-9a5d-7a79bab4631b)