sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: react-native
Issue: VideoView Listeners are not triggered in Android (Native Module)
Labels: Issue: Author Provided Repro,Platform: Android

### Description

I wrote a `VideoPlayer` in Java which uses `Android's VideoView` but the `VideoView` listeners like `onPrepared`, `onError` etc are not triggered at all.

I understand the following from the logs:
- Uri was set successfully.
- Request Focus was successful

There are no errors in the logs. 

### Steps to reproduce

-  npm i
-  npm run android

This will launch the `VideoPlayer` Component straight away.

### React Native Version

0.76.5

### Affected Platforms

Runtime - Android

### Output of `npx react-native info`

```text
System:
  OS: macOS 15.2
  CPU: (8) arm64 Apple M3
  Memory: 96.98 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.20.4
    path: ~/.nvm/versions/node/v18.20.4/bin/node
  Yarn:
    version: 3.6.4
    path: ~/.nvm/versions/node/v18.20.4/bin/yarn
  npm:
    version: 10.7.0
    path: ~/.nvm/versions/node/v18.20.4/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12700392
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.10
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: false
```


### Stacktrace or Logs

```text
There's no crash or failure.
```


### Reproducer

https://github.com/mathews-cometchat/reproducer-video-view

### Screenshots and Videos

_No response_
Repository: vscode
Issue: JSON rendering: Crashing on arrays
Labels: bug,notebook-output

### Applies To

- [ ] Notebooks (.ipynb files)
- [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers)

### What happened?

<img width="3120" alt="Image" src="https://github.com/user-attachments/assets/395b302e-c570-47aa-a870-2c46809a40ae" />

The `[object Object]` is likely a JS error serialized. I couldn't find exception logging in any output so it might be caught but handled wrong.

### VS Code Version

1.96.0

### Jupyter Extension Version

2024.11.0

### Jupyter logs

```shell

```

### Coding Language and Runtime Version

Python 3.13.0 but happens with every version

### Language Extension Version (if applicable)

_No response_

### Anaconda Version (if applicable)

_No response_

### Running Jupyter locally or remotely?

Local
Repository: vscode
Issue: JSON rendering: Losing syntax coloring after certain size
Labels: bug

### Applies To

- [ ] Notebooks (.ipynb files)
- [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers)

### What happened?

<img width="3120" alt="Image" src="https://github.com/user-attachments/assets/b11f85a7-ad18-405c-9e5c-1850fab9da64" />


### VS Code Version

1.96.0

### Jupyter Extension Version

2024.11.0

### Jupyter logs

```shell
Visual Studio Code (1.96.0, undefined, desktop)
Jupyter Extension Version: 2024.11.0.
Python Extension Version: 2024.22.0.
Pylance Extension Version: 2024.12.1.
Platform: darwin (arm64).
Temp Storage folder ~/Library/Application Support/Code/User/globalStorage/ms-toolsai.jupyter/version-2024.11.0
Workspace folder ~/work/vscode-jupyter-json, Home = /Users/vesa.vilhonen
12:19:00.403 [info] Starting Kernel (Python Path: ~/.venv/bin/python, Venv, 3.13.0) for '~/work/vscode-jupyter-json/problem.ipynb' (disableUI=true)
12:19:00.475 [info] Process Execution: ~/.venv/bin/python -m pip list
12:19:00.476 [info] Process Execution: ~/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
12:19:00.477 [info] Process Execution: ~/.venv/bin/python -m ipykernel_launcher --f=/Users/~/Library/Jupyter/runtime/kernel-v376d4969e47eafaac7a1a841ee24f71589557f6bc.json
    > cwd: //Users/~/work/vscode-jupyter-json
12:19:00.932 [info] Kernel successfully started
12:19:00.934 [info] Process Execution: ~/.venv/bin/python /Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-darwin-arm64/pythonFiles/printJupyterDataDir.py
```

### Coding Language and Runtime Version

Python 3.13.0 but happens with every version

### Language Extension Version (if applicable)

_No response_

### Anaconda Version (if applicable)

_No response_

### Running Jupyter locally or remotely?

Local
Repository: vscode
Issue: Git - ambiguous argument error when opening first commit in blame
Labels: bug,git

<!-- ⚠️⚠️ 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.97.0-insider
  Commit: 89f808979a5151bd91324e65d4f7ab1b62896983
  Date: 2024-12-20T05:04:19.167Z
- OS Version: Linux x64 6.12.4-arch1-1

Steps to Reproduce:

1. Navigate to a file where blame would show the original commit
2. Click on "View Commit"

![Image](https://github.com/user-attachments/assets/78d6f929-ec4e-438f-b8be-ff374d69cda2)
Repository: pytorch
Issue: [CompiledAutograd] No implicit dtype cast as expected
Labels: triaged,oncall: pt2,module: compiled autograd

### 🐛 Describe the bug

Unfortunately I don't have simple reproducer for now, trying to get one but without success so far (also pytorch minifier ends up with error).

Problem observed is that given model when run with eager performs implicit dtype cast from fp32 to bf16 
```
THPEngine_run_backward
 -> PythonEngine::execute
  -> Engine::execute
   -> execute_with_graph_task
    -> thread_main
     -> evaluate_function
      -> call_function
       -> [validate_outputs -> validate_outputs_impl:940](https://github.com/pytorch/pytorch/blob/main/torch/csrc/autograd/engine.cpp#L940)
       
if (c10::typeMetaToScalarType(metadata.options().dtype()) !=
    grad.scalar_type()) {
    grad = grad.to(c10::typeMetaToScalarType(metadata.options().dtype()));
}
```

When enabled Compiled Autograd it goes different path
```
THPEngine_run_backward
 -> PythonEngine::execute
  -> Engine::execute
   -> return (*compiled_autograd)(graph_root, *graph_task, accumulate_grad, outputs);
    -> compiled_autograd
     -> _compiled_autograd_impl
      -> [validate_outputs -> validate_outputs_impl:729](https://github.com/pytorch/pytorch/blob/main/torch/csrc/dynamo/python_compiled_autograd.cpp#L729)
```

Leaving it without cast leading to dtype mismatch fp32 vs bf16 when both bf16 are expected looking at compiled autograd graph.


I'll be trying to get simple reproducer and update when one is available.

### Versions

PT 2.5.1

cc @chauhang @penguinwu @xmfan @yf225
Repository: go
Issue: runtime: use zero byte as empty control word in maps (potential performance improvement)
Labels: Performance,NeedsInvestigation,compiler/runtime

### Proposal Details

### Context

The implementation of Swiss maps brought in Go 1.24 is more complex than previously seen implementations, but it retains one of the [original details](https://abseil.io/about/design/swisstables) that everyone seems to implement in the same way: the control word used to denote an empty slot is `0b10000000` (and the one for deleted items is `0b11111110`.

### Problem

Every time a new table is allocated or it grows, it [has to be filled with this specific "empty control word" pattern](https://github.com/golang/go/blob/4f0561f9d354233787de7aa9eff8119a2d4cd5c6/src/internal/runtime/maps/group.go#L140-L143). For large maps, this is quite a lot of work.

### Proposal

I propose to:
- Use zero-byte `0b00000000` to denote an empty slot. 
- Use byte 1 (`0b00000001`) for deleted slots.
- Add `2` to `h2` to ensure that it always has some non-zero bit set in bits 1-7.

While writing this issue I saw a [similar proposal in a TODO comment in the implementation](https://github.com/golang/go/blob/4f0561f9d354233787de7aa9eff8119a2d4cd5c6/src/internal/runtime/maps/group.go#L116-L116).
```go
// TODO(prattmic): Consider inverting the top bit so that the zero value is empty.
type ctrl uint8
```

What does this mean:
- The most important thing: an zeroed group is filled with empty control words out of the box, so we don't have to do that manually on each allocation/growth of the table.
- There's an extra operation to be done when splitting a key into the `h1`/`h2` pair (plus two, my guess is no modern CPU will have a noticeable impact of that, but it's worth noting).
- Depending on how the SIMD code is written, this may result in less operations needed.
  - When I proposed this to `github.com/dolthub/swiss`, [I was able to use 2 less operations](https://github.com/dolthub/swiss/pull/34/files#diff-fb5dd16598356f848a152101f9dfc007e2a078d4d3f4b1b79c75a1b064a508c4R23), although their version appears to be longer than the one implemented here in stdlib, but it's also designed for 16-element groups, which isn't done in Go yet.
  - I checked [the code in stdlib](https://github.com/golang/go/blob/4f0561f9d354233787de7aa9eff8119a2d4cd5c6/src/cmd/compile/internal/ssagen/intrinsics.go#L1412-L1454) and I don't even understand why it works yet[^1].

I previously sent a PR to [dolthub's swiss map implementation](https://github.com/dolthub/swiss/pull/34) implementing this change, and the benchmarks were quite promising (although I didn't test the SIMD path, since I was benchmarking on arm64).

Given that Go's version is quite more complex than that one, I decided to drop an issue before attempting to hack a proof-of-concept.

cc @prattmic 

[^1]: The comment says that _Empty slots are negated, becoming 1000 0000 (unchanged!)._, but negating something should change it, right? I didn't find any docs regarding this behaviour, only ChatGPT explained me that since it's already the most negative value, it remains unchanged.
Repository: angular
Issue: feat(adev): create documentation for project
Labels: area: dev-infra

### Which @angular/* package(s) are relevant/related to the feature request?

common

### Description

Currently engagement in contributing to adev project requires full deep-dive into solution to understand how to solve one of the listed issues. 
This takes quite a long time to understand how things work, even with **contributing-docs/** docu, what can be slowing point for newcomers who have passion to contribute to Angular.

### Proposed solution

To speed up onboarding to adev project and make contributing more attractive for developer it is proposed to:
Update adev .README with Contributor's Guide that includes: 
- A high-level summary of the Angular.dev project architecture
- Folders structure and their purpose


### Alternatives considered

Produce a series of short video tutorials that walk through the project architecture and folder structure. These videos can include screen sharing to demonstrate how to navigate the codebase and where to find specific components
Repository: deno
Issue: Deno language server OOMs when the project contains a massive JSON module
Labels: bug,needs investigation,lsp

```
$ deno --version
deno 2.1.4 (stable, release, x86_64-pc-windows-msvc)
v8 13.0.245.12-rusty
typescript 5.6.2
```

Project consists of a single file:

```ts
import dict from "./jmdict_eng.json" with { type: "json" };

console.log(dict.tags["vn"]);
```

plus `jmdict_eng.json` being, for example, the unzipped version of the `jmdict-eng-3.6.1+20241223123233.json.zip` file from [here](https://github.com/scriptin/jmdict-simplified/releases/tag/3.6.1%2B20241223123233).

A minimal `deno.json` to trigger the plugin might be necessary. I'm using the one from `deno init`.

The VS Code logs say

```
[Info  - 8:51:20 AM] Connection to server got closed. Server will restart.
Starting Deno language server...
  version: 2.1.4 (release, x86_64-pc-windows-msvc)
  executable: C:\Users\d\AppData\Local\Microsoft\WinGet\Packages\DenoLand.Deno_Microsoft.Winget.Source_8wekyb3d8bbwe\deno.EXE
Connected to "Visual Studio Code" 1.96.2
Enabling import suggestions for: https://deno.land
Refreshing configuration tree...
  Resolved Deno configuration file: "file:///C:/Users/d/OneDrive%20-%20domenic.me/Code/WIP/deno-oom-demo/deno.json"
Server ready.

<--- Last few GCs --->

[8500:00000261B30C8000]    15266 ms: Scavenge (interleaved) 3066.2 (3072.5) -> 3065.9 (3077.7) MB, pooled: 0 MB, 5.87 / 0.00 ms  (average mu = 0.171, current mu = 0.123) allocation failure; 
[8500:00000261B30C8000]    15934 ms: Mark-Compact (reduce) 3068.4 (3077.7) -> 3067.7 (3073.2) MB, pooled: 0 MB, 560.79 / 0.00 ms  (+ 0.2 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 569 ms) (average mu = 0.179

<--- JS stacktrace --->



#
# Fatal JavaScript out of memory: Ineffective mark-compacts near heap limit
#
==== C stack trace ===============================

	(No symbol) [0x00007FFF853D1ECC]
	CrashForExceptionInNonABICompliantCodeRange [0x00007FF76A6E8ECB+1325403]
	node_api_get_module_file_name [0x00007FF76A3D2A17+24281479]
	node_api_get_module_file_name [0x00007FF76A42EE4A+24659386]
	node_api_get_module_file_name [0x00007FF76A3AE5EC+24132956]
	node_api_get_module_file_name [0x00007FF76A4B9AE7+25227863]
	node_api_get_module_file_name [0x00007FF76A4CC984+25305332]
	node_api_get_module_file_name [0x00007FF76A4CC10B+25303163]
	CrashForExceptionInNonABICompliantCodeRange [0x00007FF76BA9C68D+21983517]
	node_api_get_module_file_name [0x00007FF76A4B7427+25217943]
	CrashForExceptionInNonABICompliantCodeRange [0x00007FF76A6B4F00+1112464]
	CrashForExceptionInNonABICompliantCodeRange [0x00007FF76AE57332+9117122]
	CrashForExceptionInNonABICompliantCodeRange [0x00007FF76B837D7A+19474442]
	(No symbol) [0x00007FF6EB9E06C6]
[Error - 8:51:36 AM] The Deno Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
```

I understand that it might be unreasonable to support such large files. So, is there any way to exclude the Deno language server from trying to crawl them, and by doing so committing suicide?
Repository: tauri
Issue: [docs] Clarify Secret Management in Backend for Tauri Build
Labels: type: documentation

When you are working with 3rd party services like an API or a database either with a replica sync or remote database server, you need to provide the secrets or auth tokens.

The usage of env variables with dotfiles of direct env variables are well documented in dev environment.

Never the less when you build the app it's unclear how to manage this secrets. `pnpm tauri build --bundles app` doesn't build the app with the env secrets.
The documentation recommend the usage of stronghold but all the information I could find uses stronghold as a secret storage for user token/secrets (frontend sending this secrets to backend)..

I would like to have a documentation related to the distribution with secrets needed in the backend(src-tauri) side.
Repository: godot
Issue: Documentation tooltip trigger area includes end-of-line and whitespace surrounding a symbol
Labels: bug,topic:editor,topic:gui

### Tested versions

v4.4.dev7.official [46c8f8c5c]

### System information

Godot v4.4.dev7 - Windows 11 (build 22631) - Multi-window, 1 monitor - OpenGL 3 (Compatibility) - Intel(R) Iris(R) Xe Graphics (Intel Corporation; 32.0.101.5768) - 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 threads)

### Issue description

The symbol info / documentation tooltips (#91060) are triggered by hovering in the empty space at the end of a line or the whitespace surrounding a symbol.

https://github.com/user-attachments/assets/d15df433-edad-4044-8bb5-b02c89c869ec


### Steps to reproduce

Stop the mouse cursor in the space surrounding a hoverable symbol.

### Minimal reproduction project (MRP)

N/A
Repository: vscode
Issue: Git - Source control is not able to detect renaming a file
Labels: bug,git,timeline-git

<!-- ⚠️⚠️ 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.96.2
- OS Version: Windows 11

This has already been requested in #128981 but was chalked up to git's limitations despite git clearly being able to detect the file changes and, as a result, reconcile the file history (i.e. Timeview) even after a rename.

Steps to Reproduce:

1. Rename or move a file with `git mv` without modifying any file contents.
1. Commit
1. Click on any commit in the Timeview

Expected behavior:

No change to timeview or individual commit contents.

Actual behavior:

The timeline and commit names are shown, but the contents are empty:

![Image](https://github.com/user-attachments/assets/dfaaded7-a880-44e0-b732-e17e19ec6e5a)

![Image](https://github.com/user-attachments/assets/3f26f494-1882-4c16-9568-13bfc253e907)

Edit: to be clear, renames can be both detected and dealt with using the following commands:

- List all the renames in the repo:
```git
> git log --summary --diff-filter=dam # all the renames in the repo
...
rename OldFileName1.ps1 => NewFileName1.ps1 (97%)
rename OldFileName2.ps1 => NewFileName2.ps1 (100%)
...
```
- List all the renames for a particular file:
```
> git log --summary --diff-filter=dam --follow -- .\NewFileName1.ps1 # for a particular file
...
rename OldFileName1.ps1 => NewFileName1.ps1 (97%)
...
```
- Show file contents for a particular file before a rename:
```
git show 42fcd1b:OldFileName1.ps1
```
... where `42fcd1b` is the commit hash.

There are probably other, possibly better, ways, but this is the most straightforward way I've found and been using.
Repository: pytorch
Issue: compiled autograd tests should use expecttest
Labels: module: tests,triaged,enhancement,oncall: pt2,module: compiled autograd

The current expected_logs mechanism make it difficult to see what is going on. If there's an error then it looks like the following:

![image](https://github.com/user-attachments/assets/7fed7b11-3bff-4340-97b9-b50cf761eb35)

The nice thing about expecttest is that it tells me what the expected output lines look like and what the new lines are and what the diff is.


cc @mruberry @ZainRizvi @chauhang @penguinwu @xmfan @yf225 @ezyang @gqchen @pearu @nikitaved @soulitzer @Varal7
Repository: flutter
Issue: Clip.none has no documentation regarding hit testing
Labels: framework,d: api docs,P2,team-framework,triaged-framework

Issue #19445 was resolved by adding documentation to the now removed `Overflow` enum which stated that when `Overflow.visible` (equivalent to `Clip.none`) was specified, that area that overflows would not respond to hit testing. There's no equivalent documentation for `Clip.none`.
Repository: rust
Issue: Tracking Issue for RFC 3591: `use`ing a function from a trait
Labels: B-RFC-approved,T-lang,C-tracking-issue,S-tracking-unimplemented

This is a tracking issue for the RFC "Add support for `use Trait::func`" (rust-lang/rfcs#3591).
The feature gate for the issue is `#![feature(import_trait_associated_functions)]`.

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.

### Steps

- [ ] Implement the RFC
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Formatting for new syntax has been added to the [Style Guide] ([nightly-style-procedure])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs
[nightly-style-procedure]: https://github.com/rust-lang/style-team/blob/main/nightly-style-procedure.md 
[Style Guide]: https://github.com/rust-lang/rust/tree/master/src/doc/style-guide

### Unresolved Questions

### Implementation history