sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Notebook test failures
Labels: bug,integration-test-failure

```
 1) Notebook API tests
       multiple tabs: different editors with same document:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/runner/work/1/s/extensions/vscode-api-tests/out/singlefolder-tests/interactiveWindow.test.js)
      at listOnTimeout (node:internal/timers:573:17)
      at processTimers (node:internal/timers:514:7)

  2) ipynb NotebookSerializer
       Can open an ipynb notebook:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/runner/work/1/s/extensions/vscode-api-tests/out/singlefolder-tests/ipynb.test.js)
      at listOnTimeout (node:internal/timers:573:17)
      at processTimers (node:internal/timers:514:7)

```

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=287247&view=logs&j=9833cdaa-2e92-5f8d-56a8-239fd18fd628&t=e6d1c856-dd40-5946-2df0-58cb7c21b113&s=a56e7651-4213-56af-9488-c25fe636c10c
Repository: flutter
Issue: TreeSliver data disappears when scrolling
Labels: framework,f: scrolling,has reproducible steps,P2,team-framework,triaged-framework,p: two_dimensional_scrollables,found in release: 3.24

### Steps to reproduce

in treesliver demo, add more testing data to let it fill the screen, and scrolling

### Expected results

normal

### Actual results

In the demo of the treesliver component, when the data fills the screen, the data disappears and reappears as you drag the scrollbar.

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</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
[Paste your output here]
```

</details>
Repository: vscode
Issue: vscode API - window: Tabs - Ensure tabs getter is correct
Labels: bug,integration-test-failure

```
4) vscode API - window
       Tabs - Ensure tabs getter is correct:
     Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/runner/work/1/s/extensions/vscode-api-tests/out/singlefolder-tests/window.test.js)
      at listOnTimeout (node:internal/timers:573:17)
      at processTimers (node:internal/timers:514:7)

```

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=287247&view=logs&j=9833cdaa-2e92-5f8d-56a8-239fd18fd628&t=e6d1c856-dd40-5946-2df0-58cb7c21b113&s=a56e7651-4213-56af-9488-c25fe636c10c
Repository: PowerToys
Issue: Mouse without borders - set pointer position when you leave a screen.
Labels: Idea-Enhancement,Needs-Triage,Product-Mouse Without Borders

### Description of the new feature / enhancement

2 laptops using mouse without borders.  When I move the mouse pointer from the secondary machine back to the primary machine (left to right), the pointer on the secondary machine settles at the top centre of the screen.  If Chrome is topmost app and maximised, you get a tab preview.  To stop this from happening, ideally, you should have options what to do with the mouse pointer on exit of the screen.

### Scenario when this would be used?

when using mouse without borders and the non focused PC shows content that isn't helpful due to where the app leaves the mouse pointer.

### Supporting information

_No response_
Repository: opencv
Issue: opencv2 build error on linux
Labels: question (invalid tracker),category: build/install

### System Information

OpenCV version:  2.4.13.7
Operating System / Platform: Ubuntu 24.04
Compiler & compiler version: GCC 13.2

### Detailed description

CMake Warning (dev) at cmake/OpenCVModule.cmake:585 (target_link_libraries):
  Link library type specifier "optimized" is followed by specifier "debug"
  instead of a library name.  The first specifier will be ignored.
Call Stack (most recent call first):
  modules/highgui/CMakeLists.txt:268 (ocv_create_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/OpenCVModule.cmake:585 (target_link_libraries):
  The "debug" argument must be followed by a library.
Call Stack (most recent call first):
  modules/highgui/CMakeLists.txt:268 (ocv_create_module)


### Steps to reproduce

1. git clone [vcpkg](https://github.com/microsoft/vcpkg.git)
2. \bootstrap-vcpkg.bat
3. ./vcpkg install opencv2[core,jasper]:x64-linux

### Issue submission checklist

- [X] I report the issue, it's not a question
- [ ] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: PowerToys
Issue: Ignore target application's splash screen in Fancy Zones option "Move newly created windows to their last known zone"
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

When the Fancy Zones option "Move newly created windows to their last known zone" is checked, the application's splash screen is placed in the last known zone, not the application itself.

### Scenario when this would be used?

When the Fancy Zones option "Move newly created windows to their last known zone" is checked, the target application's splash screen is placed in the last known zone, not the application itself. Now the application has to be moved to the chosen zone. This undoes the power of this option.

### Supporting information

_No response_
Repository: tauri
Issue: [bug] PostMessage failed ; is the messages queue full?
Labels: type: bug,platform: Windows,status: needs triage

### Describe the bug

PanicInfo { payload: Any { .. }, message: Some(PostMessage failed ; is the messages queue full?), location: Location { file: "C:\\Users\\Potato\\.cargo\\registry\\src\\mirrors.aliyun.com-8754fae0eb2f08f1\\wry-0.41.0\\src\\webview2\\mod.rs", line: 974, col: 5 }, can_unwind: true, force_no_backtrace: false }

### Reproduction

_No response_

### Expected behavior

_No response_

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.26100 X64
    ✔ WebView2: 126.0.2592.113
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.80.0 (051478957 2024-07-21)
    ✔ cargo: 1.80.0 (376290515 2024-07-16)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.12.0
    - pnpm: 9.1.3
    - yarn: 1.22.22
    - npm: 10.8.2

[-] Packages
    - tauri [RUST]: 2.0.0-rc.1
    - tauri-build [RUST]: 2.0.0-rc.1
    - wry [RUST]: 0.41.0
    - tao [RUST]: 0.28.1
    - @tauri-apps/api [NPM]: 2.0.0-rc.0
    - @tauri-apps/cli [NPM]: 2.0.0-rc.2

[-] App
    - build-type: bundle
    - CSP: img-src 'self' asset: http://asset.localhost blob: data:; style-src 'unsafe-inline' 'self' asset: http://asset.localhost blob: data:; connect-src ipc: http://ipc.localhost; default-src 'self'; media-src 'self' asset: http://asset.localhost blob: data:
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: pytorch
Issue: Addition of Visual Information Fidelity loss
Labels: module: loss,triaged

### 🚀 The feature, motivation and pitch

Though PSNR and SSIM are popular options, VIF is less computationally expensive and serves as an accurate measure for perception
Repository: rust
Issue: "impl Copy" can bypass field privacy
Labels: A-trait-system,A-visibility,T-lang,T-types

@idanarye [makes an excellent point](https://github.com/rust-lang/rfcs/pull/3458#issuecomment-2277553911):

> Say I have a MyBox struct - an implementation of Box that uses a raw pointer directly. The fields are private - the module where MyBox is defined is that the only place where you can touch them - and thus the rule is that this module is responsible for maintaining the safety variants of the pointer within (and if it exposes any API that may violate it - it should mark it as unsafe)
> 
> Naturally, I should not impl Copy for MyBox because that would break the uniqueness invariant, and more specifically - when I drop one copy and the memory is released I'll still have the other copy with a dangling pointer.
> 
> But I can impl Copy for MyBox in a different module of the same crate. 

I had never realized this, and I think it can be viewed as a violation of our privacy rules: outside modules in the same crate are not able to access the private field, and yet they are able to make the type copyable!

@rust-lang/types Is there any chance we can fix `impl Copy` (over an edition, presumably) so that it is only allowed inside modules where all fields of the type are accessible, i.e., where you could have written the obvious `Clone` impl that copies all fields?
Repository: three.js
Issue: WebGLRenderTarget and scene.background has tonemapping issues
Labels: Needs Investigation

### Description

```jsx
scene.background = new THREE.Color("white")
...
gl.render(scene, camera)
```
produces a white background, i don't think three applies tm here

but the same thing on a fbo (mapped to a mesh-material) produces a gray background, presumably because threejs then tonemapps the result
```jsx
state.gl.setRenderTarget(fbo)
state.gl.render(scene, camera)
state.gl.setRenderTarget(null)
...
const plane = new THREE.PlaneGeometry/(
const material = new THREE.MeshBasicMaterial({ map: fbo.texture })
const mesh = new THREE.Mesh(plane, material)
```

in this image you have the rendertarget in the middle, with a white scene.background just like the rest of the scene, but it appears gray, not white.
<img width="1430" alt="Screenshot 2024-08-09 at 12 05 01" src="https://github.com/user-attachments/assets/19f667e2-b53f-4d9a-97d4-1ab300f38e85">

## tonemapping with envmap background is fine

<img width="564" alt="Screenshot 2024-08-09 at 12 33 13" src="https://github.com/user-attachments/assets/99acec43-4ae8-4590-9665-828ac18ed4ad">

## tonemapping with a background white plane instead of scene.background is fine

<img width="1288" alt="Screenshot 2024-08-09 at 12 35 38" src="https://github.com/user-attachments/assets/9535e372-6f61-4df8-8e04-4b00885253c2">



### Live example

* https://codesandbox.io/p/sandbox/shadermaterials-forked-7r5knf

### Screenshots

_No response_

### Version

r0.167.0

### Device

Desktop

### Browser

Chrome

### OS

MacOS
Repository: godot
Issue: C# - GetData() cannot be natively converted to float[]
Labels: enhancement,discussion,documentation,topic:dotnet

### Tested versions

- 4.3.beta2.mono

### System information

Windows 10, Forward+

### Issue description

In GDScript, you can call 

`image.get_data().to_float32_array()`

which gets the data from the image and returns it as a float array.

In C# there's no native way of converting, so the only way I can do this is I have to have a GDScript on a node and call that, but I can't do that off the main thread, so I can't background thread it.

Any chance of a conversion like GDScript has, somehow?

### Steps to reproduce

Get an image. Run image.GetData(). Observe the lack of conversion :(

### Minimal reproduction project (MRP)

Same as above: Get an image. Run image.GetData(). Observe the lack of conversion :(
Repository: vscode
Issue: Git - Source Control / File Watcher does not respect settings
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/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.92.0 (user setup)
- OS Version: Windows_NT x64 10.0.19045

I am trying to limit Source Control and the file watcher to my home only in a shared workspace. At least Source Control is scanning across the whole /home/ directory.

Steps to Reproduce:

`settings.json`
1. `files.watcherInclude`:
```
       "files.watcherInclude": [
        "/data/home/myuser/git/automation",
        "/data/home/myuser/git/deployment",
        "/data/home/myuser/git/services",
        "/data/home/myuser/git/Terraform",
        "/data/home/myuser/git/Other"
    ],
```
2. trying to counter with `files.watcherExclude`:
```
    "files.watcherExclude": {
        "**": true,
        "**/**": true,
        "/data/home/myuser/git/_backup/**": true,
        "/data/home/myuser/git/team/ansible-team/**": true,
        "/data/home/myuser/git/team/ansible-team-roles/**": true,
        "/data/home/myuser/git/team/AnsibleCICD/**": true,
        "/data/home/myuser/git/external/**": true
    },
```
3. tried adding resulting in `Absolute paths not supported in "git.scanRepositories" setting.`
```
     "git.scanRepositories": [
         "/data/home/myuser/git/automation",
         "/data/home/myuser/git/deployment",
         "/data/home/myuser/git/services",
         "/data/home/myuser/git/Terraform",
         "/data/home/myuser/git/munich"
     ],
```

`home.code-workspace`
```
{
	"folders": [
		{
			"path": "."
		}
	],
	"settings": {
		"terminal.integrated.cwd": "${env:HOME}",
		"ansible.python.interpreterPath": "/usr/bin/python3"
	}
}
``` 

How can I properly limit Source Control to only scan my specified directory/ies instead of everything visible in `/data/home`?
Repository: storybook
Issue: [Bug]: Dark theme not work properly.
Labels: bug,needs triage

### Describe the bug

I have update stroybook version in 8.2.6 , in that have added elements and components , in a storybook when i will go to element and check the element in dark theme , in a dark theme that element not show proper.

### Reproduction link

https://rlmibbjgjygithub-xojb--6006--adbcd1bf.local-credentialless.webcontainer.io/?path=/story/example-page--logged-out&globals=backgrounds.value:!hex(333333)

### Reproduction steps

_No response_

### System

```bash
Use this command to latest project 
npx storybook@latest init
```


### Additional context

_No response_
Repository: deno
Issue: Feat: Add support for network tab in DevTools
Labels: feat

Node and Chrome are currently working together to add support for showing requests in DevTool's "Network" tab.

Node PR: https://github.com/nodejs/node/pull/53593
Chrome PR: https://issues.chromium.org/issues/353924015
Repository: TypeScript
Issue: Symbol = LiveSymbol | DeadSymbol
Labels: Suggestion,Awaiting More Feedback

### 🔍 Search Terms

symbol weakmap TC39

### ✅ Viability Checklist

- [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [X] This wouldn't change the runtime behavior of existing JavaScript code
- [X] This could be implemented without emitting different JS based on the types of the expressions
- [X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

### ⭐ Suggestion

The latest version of ES creates a new kind of runtime error. It allows symbols to be used as weak map keys, but only some symbols. In particular it splits the symbol primitive in two. One one hand are "live" symbols, tracked by the garbage collector, and usable as weak map keys. `Symbol()` creates a live symbol. On the other had are "dead" symbols, such as `Symbol.iterator`, which return some value from `Symbol.keyFor(sym)` and are not legal keys for weak maps.

Since there are now fundamentally two incompatible primitive types, TS should adjust so that it is capable of catching these errors again.

### 📃 Motivating Example
```js
const protos = new WeakMap();

const sym = Math.random() > 0.5 ? Symbol() : Symbol.for('me');

protos.set(sym, null); // crashes half the time
```

### 💻 Use Cases

Catching more errors
Repository: ollama
Issue: attempt to load llama 3.1 on system with insufficient system memory and crash with host alloc failure
Labels: bug

### What is the issue?

I get this error when I am trying to load this model. Other llama 3.1 models in the Ollama library work great.

(base) PS C:\Users\razva> ollama run CognitiveComputations/dolphin-llama3.1
Error: llama runner process has terminated: error:failed to create context with model 'C:\Users\razva\.ollama\blobs\sha256-c4e04968e3ca697b947c4820d7d4e58873e9f93908a043e7280863b31019b7df'

[verbose.txt](https://github.com/user-attachments/files/16560593/verbose.txt)


### OS

Windows

### GPU

Nvidia

### CPU

AMD

### Ollama version

0.3.4
Repository: go
Issue: proposal: testing: add TB.SetStdout
Labels: Proposal

### Proposal Details

I propose to add SetStdout to testing package.

If we want to test about Stdout, we must write like below.

```go
func TestStdout(t *testing.T) {
	r, w, err := os.Pipe()
	if err != nil {
		t.Fatal(err)
	}

	defer r.Close()
	defer w.Close()

	oldStdout := os.Stdout

	t.Cleanup(func() {
		os.Stdout = oldStdout
	})

	os.Stdout = w

        // test
}
```

The reason I propose this API is similar with [this](https://github.com/golang/go/issues/41260).

Stdout is used globally and if we forget to restore the Stdout, many tests would be effected by this. So I think it's better approach to prevent it by to provide TB.SetStdout(). And there are a few codes that use this case in Go core. So I think it's common approach when we want to check stdout by go test.
As another idea, it might be good to check by static analysis.
Thanks.
Repository: react-native
Issue: [iOS] Uploading an image will change the file size of the image
Labels: Platform: iOS,Issue: Author Provided Repro,Component: Image,Needs: Repro

### Description

I uploaded a 2M image and the server received a 6M image. After debugging, the form data sent by the RCTNetworking became larger.

### Steps to reproduce

1. Clone the reproducer from `https://github.com/carverhong/react-native-reproducer-ios-image-upload.git`.

2. Install dependency and prepare the ios project.

```bash
cd react-native-reproducer-ios-image-upload
npm install
bundle install
cd ios
bundle exec pod install
```

After the installation is complete, the RCTNetworking log patch is automatically added for debugging.

<img width="1048" alt="企业微信截图_42a75d24-fd86-4f7a-873f-933102ef4bcc" src="https://github.com/user-attachments/assets/f7056a48-3248-41f3-ad3e-0ace1aac498f">

3. Start Metro.

```bash
npm start
```

4. Open `HelloWorld.xcworkspace` with XCode and run the APP.
5. Use the `RCTNetworking` keyword to filter logs.

<img width="891" alt="企业微信截图_33a594cf-1b54-42c5-ab8f-69b3b4484d01" src="https://github.com/user-attachments/assets/920bc9e4-9191-4061-8759-1133f315f000">


### React Native Version

0.72.15

### Affected Platforms

Runtime - iOS

### Output of `npx react-native info`

```text
System:
  OS: macOS 14.4.1
  CPU: (8) arm64 Apple M3
  Memory: 87.55 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.19.0
    path: ~/tools/nodejs/node-v18.19.0-darwin-arm64/bin/node
  Yarn: Not Found
  npm:
    version: 10.2.3
    path: ~/tools/nodejs/node-v18.19.0-darwin-arm64/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods: Not Found
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.4
      - iOS 17.4
      - macOS 14.4
      - tvOS 17.4
      - visionOS 1.1
      - watchOS 10.4
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.1 AI-231.9392.1.2311.11076708
  Xcode:
    version: 15.3/15E204a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.11
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.15
    wanted: 0.72.15
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false
```

### Stacktrace or Logs

```text
[RCTNetworking processDataForHTTPQuery] file:///Users/carverhong/Library/Developer/CoreSimulator/Devices/E094052D-91B7-493F-A39A-72F089B8937D/data/Containers/Bundle/Application/8BFC2E5C-87BD-4295-A8F0-F04272BC374A/HelloWorld.app/20240808144728-0.jpg rawDataSize=2017293
[RCTNetworking handleResult] multipartDataSize=6151776
```


### Reproducer

https://github.com/carverhong/react-native-reproducer-ios-image-upload.git

### Screenshots and Videos

_No response_
Repository: material-ui
Issue: Box modules is broken
Labels: bug 🐛,component: Box

### Steps to reproduce

Link to live example: (required)

Steps:
1. Just use mui + Vite 
2. On Vite Use react, javascrip + SWC
3. Install MUI
4. Use Drawer (or anything else that has box modules in it)
5. make two components. Use box of one component on second one.
Like this
src > components  
1. box1.jsx
2. box2.jsx

import box 1 into box 2 and refresh the page manually (reenter url)

it gives off error in console that 
```
Uncaught TypeError: undefined is not a function
<anonymous> Box.js:9
```
this line is giving problem
```const defaultTheme = createTheme();``
Check with both FireFox and Chromium

### Current behavior

Box modules shows error in this line:
const defaultTheme = createTheme();
invalid function

### Expected behavior

It should run

### Context

_No response_

### Your environment

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>


**Search keywords**: box mui
Repository: ollama
Issue: Encountered an error while drawing inference
Labels: bug,nvidia

### What is the issue?

While testing LLaVA models via Ollama run, I am getting this error: "Error: an unknown error was encountered while running the model".

This error keeps on coming randomly. If anyone is having a solution to this, please share.

### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.3.3