sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: three.js
Issue: SkinnedMesh: Implement skinning in a different coordinate space
Labels: Suggestion

## Environment

### Code
Added `midObj` to set the offset.

```html
<!DOCTYPE html>

<html>
	<head>
		<meta charset="utf-8" />
		<title>three-vrm example</title>
		<meta
			name="viewport"
			content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
		/>
		<style>
			body {
				margin: 0;
			}
			canvas {
				display: block;
			}
		</style>
	</head>

	<body>
		<script src="https://unpkg.com/three@0.143.0/build/three.js"></script>
		<script src="https://unpkg.com/three@0.143.0/examples/js/loaders/GLTFLoader.js"></script>
		<script src="https://unpkg.com/three@0.143.0/examples/js/controls/OrbitControls.js"></script>
		<script>
			// renderer
			const renderer = new THREE.WebGLRenderer();
			renderer.setSize( window.innerWidth, window.innerHeight );
			renderer.setPixelRatio( window.devicePixelRatio );
			document.body.appendChild( renderer.domElement );

			const offset = 100000.0;

			// camera
			const camera = new THREE.PerspectiveCamera( 30.0, window.innerWidth / window.innerHeight, 0.1, 30 );
			camera.position.set( 0.0, offset, 5.0 );

			// camera controls
			const controls = new THREE.OrbitControls( camera, renderer.domElement );
			controls.screenSpacePanning = true;
			controls.target.set( 0.0, offset, 0.0 );
			controls.update();

			// scene
			const scene = new THREE.Scene();

			// light
			const light = new THREE.DirectionalLight( 0xffffff );
			light.position.set( 1.0, 1.0, 1.0 ).normalize();
			scene.add( light );

			// gltf
			const loader = new THREE.GLTFLoader();
			loader.crossOrigin = 'anonymous';

			loader.load(

				// URL of the glb you want to load
				'./models/scilly_drophunter_v31.6_Guilty.glb',

				// called when the resource is loaded
				( gltf ) => {

					const midObj = new THREE.Object3D();
					scene.add( midObj );
					midObj.add( gltf.scene );

					midObj.position.copy(new THREE.Vector3( 0, offset, 0 ));

				},

				// called while loading is progressing
				( progress ) => console.log( 'Loading model...', 100.0 * ( progress.loaded / progress.total ), '%' ),

				// called when loading has errors
				( error ) => console.error( error )

			);

			// helpers
			const gridHelper = new THREE.GridHelper( 10, 10 );
			scene.add( gridHelper );

			const axesHelper = new THREE.AxesHelper( 5 );
			scene.add( axesHelper );

			// update
			function animate() {

				requestAnimationFrame( animate );

				renderer.render( scene, camera );
			}

			animate();
		</script>
	</body>
</html>
```

### Test 1: `offset=0` ==> Correct
![image](https://user-images.githubusercontent.com/14852075/183766205-34d013f0-5031-4062-9ac7-e5ba32a0e311.png)

### Test 2: `offset=100000` ==> Bad rendering
![image](https://user-images.githubusercontent.com/14852075/183766068-e2d766e2-2156-4666-8b09-eaf334439a2d.png)
Repository: TypeScript
Issue: "Implement interface" TS refactoring adds extra semicolon in type
Labels: Suggestion,Needs Proposal

<!-- ⚠️⚠️ 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.71-insider
- OS Version: Windows 11

Steps to Reproduce:

1. Have the following code in the microsoft/vscode repo
```ts
interface IFoo {
	someFn(): { [key: string]: string | null };
}

class Foo implements IFoo {
	
}
```
2. Select to implement interface IFoo 
![image](https://user-images.githubusercontent.com/30305945/183766721-ff0927cd-06d9-4521-93b2-c53c7cdaefbf.png)
3. :bug: generated implementation violates our eslint rules
<img width="928" alt="image" src="https://user-images.githubusercontent.com/30305945/183766961-008769de-646e-41ad-83e5-c05ee4e96d31.png">
Repository: electron
Issue: [Feature Request]: Respect windows window border color
Labels: enhancement :sparkles:,platform/windows,a11y

### 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 feature request that matches the one I want to file, without success.

### Problem Description

Electron apps do not support the border changing to the accent color of windows when the windows setting to make window borders and title bars match the accent color option is enabled. Some examples of apps with this behavior based in electron are VScode, Discord, GOG Galaxy 2.0 etc. I am not aware of electron based apps which respect this windows setting.

### Proposed Solution

Please make electron apps by default respect this windows feature. It is an accessibility issue for some to discern which window is active, and it will also make electron apps gel better with the OS in general for those who have this option enabled.

### Alternatives Considered

using windows' default built in window border or having electron detect the accent colors windows uses for the inactive and active border/title bars and using them in the window border when the option in windows settings to do so is enabled.

### Additional Information

I am on windows 11
Repository: flutter
Issue: [adaptive_scaffold] Some tests related to animations disabled until #107476 reaches stable
Labels: team,package,team-ecosystem,P3,p: flutter_adaptive_scaffold,triaged-ecosystem

There is some functionality within the AdaptiveLayout tests related to animations that relies on a fix to be added by #107476 (originally #106962). One check on packages relies on unit tests with regards to stable branch of the framework. Since the fix previously mentioned has not yet reached stable these tests will fail. The tests have been disabled until the fix makes it to stable.
Reenabling the tests will be as simple as removing the `skip: true` from the affected tests in adaptive_layout_test.dart.
If using the package on stable, the only missing functionality will be protection from rapid oscillations in the screen width.
Repository: go
Issue: x/tools/gopls: add a setting to control removal of unused imports, and a quickfix
Labels: NeedsDecision,FeatureRequest,gopls,Tools,gopls/imports

We see feedback in survey results that users don't want unused imports to be removed by the `organizeImports` code action. I myself sometimes get annoyed by this behavior: it can be frustrating to manually type out an import path, save, and have the import disappear.

Surprisingly, I don't think we have an open (or closed) request for this feature, unless my search failed me.

I think we should consider a configuration option `removeUnusedImports` to control the removal of unused imports, ~and the default should probably be to _not_ to remove unused imports~ EDIT: I take that back, the default behavior should not change.
Repository: pytorch
Issue: torch.nn.functional.avg_pool{1|2|3}d error message does not match what is described in the documentation
Labels: module: docs,module: nn,triaged

### 📚 The doc issue

Parameter 'kernel_size' and 'stride' of torch.nn.functional.avg_pool{1|2|3}d can be a single number or a tuple. However, I found that error message only mentioned tuple of ints which means parameter 'kernel_size' and 'stride' can be only int number or tuple of ints.

```
import torch
results={}
arg_1 = torch.rand([1, 1, 7], dtype=torch.float32)
arg_2 = 8.0
arg_3 = 2
arg_4 = 0
arg_5 = True
arg_6 = True
results['res'] = torch.nn.functional.avg_pool1d(arg_1,arg_2,arg_3,arg_4,arg_5,arg_6,)
#TypeError: avg_pool1d(): argument 'kernel_size' (position 2) must be tuple of ints, not float
```

```
import torch
results={}
arg_1 = torch.rand([16, 528, 16, 16], dtype=torch.float32)
arg_2 = 32.0
arg_3 = 13.0
arg_4 = 0
arg_5 = False
arg_6 = True
arg_7 = None
results['res'] = torch.nn.functional.avg_pool2d(arg_1,arg_2,arg_3,arg_4,arg_5,arg_6,arg_7,)
#TypeError: avg_pool2d(): argument 'stride' (position 3) must be tuple of ints, not float
```

```
import torch
results={}
arg_1 = torch.rand([20, 16, 50, 44, 31], dtype=torch.float32)
arg_2_0 = 3.0
arg_2_1 = 2
arg_2_2 = 2
arg_2 = [3.0,2,2]
arg_3_0 = 2
arg_3_1 = 1
arg_3_2 = 2
arg_3 = [2,1,2]
arg_4 = 0
arg_5 = False
arg_6 = True
arg_7 = None
results['res'] = torch.nn.functional.avg_pool3d(arg_1,arg_2,arg_3,arg_4,arg_5,arg_6,arg_7,)
#TypeError: avg_pool3d(): argument 'kernel_size' must be tuple of ints, but found element of type float at pos 1
```

### Suggest a potential alternative/fix

It would be great if the doc could be written as follows:

kernel_size – size of the pooling region. Can be a int number or a tuple (kT, kH, kW).
stride – stride of the pooling operation. Can be a int number or a tuple (sT, sH, sW).

Or modify the error message so that it matches the document description.

cc @svekars @holly1238 @albanD @mruberry @jbschlosser @walterddr @kshitij12345 @saketh-are
Repository: deno
Issue: Uncaught (in promise) BadResource: Bad resource ID
Labels: bug,feat,public API

```ts
const res = await fetch('https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png')
const file = await Deno.create('google.png')
await res.body?.pipeTo(file.writable)
file.close() // error: Uncaught (in promise) BadResource: Bad resource ID
```

Is the bug? Or expected behavior?
Repository: create-react-app
Issue: I can't install react with npx create-react app
Labels: needs triage,issue: bug report

I can install react but for a weird reason this bug appear :(

npx create-react-app inicio
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

Creating a new React app in C:\Users\USUARIO\Desktop\REACT\inicio.

npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...


Aborting installation.
Unexpected error. Please report it as a bug:
Error: spawn UNKNOWN
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at Object.spawn (node:child_process:700:9)
    at spawn (C:\Users\USUARIO\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\cross-spawn\index.js:12:24)
    at C:\Users\USUARIO\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\create-react-app\createReactApp.js:383:19
    at new Promise (<anonymous>)
    at install (C:\Users\USUARIO\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\create-react-app\createReactApp.js:334:10)
    at C:\Users\USUARIO\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\create-react-app\createReactApp.js:461:16
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  errno: -4094,
  code: 'UNKNOWN',
  syscall: 'spawn'
}

Deleting generated file... package.json
Deleting inicio/ from C:\Users\USUARIO\Desktop\REACT
Done.
Repository: flutter
Issue: [Windows] Eliminate entrypoint argument to FlutterDesktopEngineRun and FlutterEngine::Run(entrypoint)
Labels: engine,platform-windows,a: desktop,P2,c: tech-debt,team-windows,triaged-windows

As of https://github.com/flutter/engine/pull/35285, the public Windows C API and the C++ client wrapper that provides a more user-friendly OO expression of that API allow the user to specify a custom Dart entrypoint (alternative to `main()`) in the `FlutterDesktopEngineProperties` struct used to configure an engine.

This results in a slightly unclean API for custom entrypoints, since there are now two ways to specify one:
1. Via the `FlutterDesktopEngineProperties` struct, which has also althe dart entrypoint arguments array
2. As a parameter to `FlutterDesktopEngineRun`; however this older mechanism was fairly unusable in practice -- see below.

We should eliminate the entrypoint argument to `FlutterDesktopEngineRun`. In practice, this probably means adding an alternative to `FlutterDesktopEngineRun` without an entrypoint argument, then deprecating and eventually removing the original function after a grace period to allow any users of the old API to migrate.

In practice, it's likely that fewer than a dozen people will be affected by such a change since our app templates never specify a custom entrypoint, and therefore never interact directly with a `FlutterEngine` object other than to instantiate it and pass it to a view controller. This limits affected developers to those who have wrapped the Windows C API such as @knopp and @timsneath. I'd be interested to hear their opinions on the above migration strategy.

### Background
The motivation for https://github.com/flutter/engine/pull/35285 was that the entrypoint arguments array that populates the `List<String>` passed to the entrypoint function was always passed through the engine properties struct, but the entrypoint was passed as a parameter to `FlutterDesktopEngineRun`. However, invoking `FlutterDesktopEngineRun` without having done view controller setup to set up graphics results in runtime errors. However, setting up a view controller involves calling `FlutterViewControllerCreate(..., engine)` which [immediately launches](https://github.com/flutter/engine/blob/75e17f1a6f19ef96a9badf07b7b6c5527d867187/shell/platform/windows/flutter_windows.cc#L80-L83) the engine via the default entrypoint, which made the previous entrypoint configuration painful to use. See: https://github.com/flutter/flutter/issues/93537.
Repository: pytorch
Issue: Make FSDP easier to debug when erroring in backward pass
Labels: high priority,triage review,oncall: distributed,triaged,module: fsdp

### 🚀 The feature, motivation and pitch

Recently a lot of FSDP enablement efforts have been hard to debug when there's an error in backward pass, because we just get the error "autograd returned null without setting an error" without too much additional detail.

To fix this, we should comb through the code that runs in bwd and ensure we at least use `p_assert` everywhere, and maybe consider more solutions such as wrapping all code that can throw with try/except, adding additional details in the except and throwing a better error.

### Alternatives

_No response_

### Additional context

_No response_

cc @ezyang @gchanan @zou3519 @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang @kwen2501
Repository: tensorflow
Issue: Allow getting length when using tf.data.Dataset as numpy iterators
Labels: type:feature,comp:data,TF 2.9

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Feature Request

### Source

binary

### Tensorflow Version

v2.9.0-18-gd8ce9f9c301 2.9.1

### Custom Code

Yes

### OS Platform and Distribution

Windows 11

### Mobile device

_No response_

### Python version

3.10.4

### Bazel version

_No response_

### GCC/Compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current Behaviour?


When using tensorflow Dataset as numpy iterator I want length/cardinality to work.

```python
import tensorflow as tf
import numpy as np
ds = tf.data.Dataset.from_tensor_slices(np.zeros(100))
ds_n = ds.as_numpy_iterator()

# this works
print(len(ds))
print(ds.cardinality().numpy())

# this does not work
print(len(ds_n))
print(ds_n.cardinality().numpy())
```


### Standalone code to reproduce the issue

[Colab Link](https://colab.research.google.com/drive/1XjDgaLCGcIOQ1_mycZh9aglYFlnXayLW?usp=sharing)


### Relevant log output

_No response_</details>
Repository: godot
Issue: Call `inst2dict` on `class Example extends Resource` returned by `Resource::duplicate()` will throw `GDScript utility function` error
Labels: bug,topic:gdscript

### Godot version

4.0 alpha13

### System information

Windows 11

### Issue description

Apparently using `Resource::duplicate()` then call `inst2dict` will throw error for this situation. Did not test on class file yet.

### Steps to reproduce

```gdscript
extends Node

class Example extends Resource:
	pass

func _ready() -> void:
	var a = Example.new()
	var b = a.duplicate(true) # Not sure if deep copy affect anything
	print(inst2dict(a)) # Does not crash, works as expected
	print(inst2dict(b)) # Error calling GDScript utility function '<unknown function>': Not based on a resource file
```

Not sure if this is a duplicate of https://github.com/godotengine/godot/issues/6533
Repository: three.js
Issue: Dicom image loader and extend function in nrrdloader
Labels: Loaders

<!-- Ignoring this template may result in your feature request getting deleted -->

**Is your feature request related to a problem? Please describe.**

 I want to use threejs to load Dicom images. Yes, we can use some software to convert Dicom images into a NRRD image (like Itk) and use threejs nrrd loader to load it. But this way is not convenient. 

And different software may export different data formats. e,g. ITK exports nrrd image format is 16-bits array. 

**Describe the solution you'd like**

  As for the Dicom loader, here is a [dicom-parser](https://www.npmjs.com/package/dicom-parser), the `(7FE0,0010) | OB or OW | Pixel Data` stores dicom pixel data.  Also, [here](https://www.dicomlibrary.com/dicom/dicom-tags/) describes all dicom tags info.

**Describe alternatives you've considered**

**Additional context**
1. Using threejs to load a 2d dynamic image, like I use nrrd loader. the slice position can be modified by user or we can get one position all volume data, then we may use dataarraytexture to render it.
2. A Dicom image loader.
Repository: pytorch
Issue: When padding is big int, torch.nn.functional.fold runs too long and can't return result
Labels: module: nn,triaged

### 🐛 Describe the bug

When I run the code, there is no error information reports. After 5 mins running, there is no response and I can't stop the cmd, I have to kill the cmd.

```
import torch
results={}
arg_1_tensor = torch.rand([1, 12, 12], dtype=torch.float32)
arg_1 = arg_1_tensor.clone()
arg_2 = [4,5,]
arg_3 = [2,2,]
arg_4 = 1
arg_5 = 36028797018963968
arg_6 = 1
results['res'] = torch.nn.functional.fold(arg_1,arg_2,arg_3,arg_4,arg_5,arg_6,)
```

### Versions

pytorch: 1.8.1
python: 3.8.3
os: win11

cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345 @saketh-are
Repository: ant-design
Issue: setFieldValue don't call dependencies form field change
Labels: help wanted,Inactive,improvement

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-reproduction-template-forked-4jjbr9?file=/index.js)

### Steps to reproduce

1. 点击 setFieldValue 按钮修改 `['user','introduction']` 的值
2. `pre` 标签的内容不变
3. 点击 setFieldsValue 改变值
4. `pre` 标签的内容改变

### What is expected?

点击 setFieldValue 按钮会触发 dependencies 监听的值，从而改变 `pre` 标签的内容

### What is actually happening?

`pre` 标签的内容不变

| Environment | Info |
| --- | --- |
| antd | 4.22.3 |
| React | 18.2.0 |
| System | macOS |
| Browser | Chrome |

---
虽然 setFieldsValue 可以实现，但是本场景中的 NamePath 是复杂的嵌套结构，如果要通过 setFieldsValue 来改变值的话，需要用户自行通过  NamePath 转化成 key-value 的形式，对用户来说并不方便。期望可以通过 setFieldValue 实现

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: vscode
Issue: Emmet snippets autocomplete stops midway
Labels: bug,emmet

<!-- ⚠️⚠️ 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.70.0 (user setup)
- OS Version: Windows_NT x64 10.0.22000

<strong>Steps to Reproduce</strong>:

1. Create an Emmet snippet using VScode. Here is my example:
<img width="739" alt="Emmet Snippet" src="https://user-images.githubusercontent.com/34616349/183833951-fa432f84-2743-4c3e-8b1c-dae59e788e3c.png">

2. Create a blank HTML document
3. Type "!!!4s" fully.

<strong>Expected Behavior</strong>:
The Emmet autocomplete box should still be visible to the user, so the user can hit Enter or Tab to output the Emmet snippet.

<strong>Current Behavior</strong>:
Emmet autocomplete box only appears for the first "!!!" string. Soon after typing '4' after "!!!", the autocomplete box completely disappears from the user's view.
<img width="361" alt="image" src="https://user-images.githubusercontent.com/34616349/183835537-dc404ceb-225e-4cd0-8e99-f6094a68b1ef.png">

<img width="166" alt="Emmet snippet not working expectedly in vscode" src="https://user-images.githubusercontent.com/34616349/183835175-f22c0714-e4c2-4cd9-ae3d-0c849c93724c.png">
Repository: go
Issue: x/crypto: add AES-GCM-SIV
Labels: Proposal,Proposal-Accepted,Proposal-Crypto

**Update**, Jul 26 2023: Current proposal is https://github.com/golang/go/issues/54364#issuecomment-1642676993.

- - -


AES-GCM-SIV (RFC 8452) is a nonce misuse-resistant AEAD. When a nonce is reused, AES-GCM-SIV does not immediately fail catastrophically. Instead, it only discloses whether the contents of the messages are the same. It is generally safe to replace usages of AES-GCM with AES-GCM-SIV.

I propose adding a new package called `x/crypto/aesgcmsiv`. The API is provided below.

```go
const (
	// NonceSize is the size in bytes of an AES-GCM-SIV nonce.
	NonceSize = 12
	// TagSize is the size in bytes of an AES-GCM-SIV
	// authentication tag.
	TagSize = 16
	// MaxPlaintextSize is the size in bytes of the largest
	// allowed plaintext.
	MaxPlaintextSize = 1 << 36
	// MaxAdditionalDataSize is the size in bytes of the largest
	// allowed additional authenticated data.
	MaxAdditionalDataSize = 1 << 36
)

// New creates an instance of AES-GCM-SIV.
// The key must be either 16 bytes for 128-bit AES-GCM-SIV or 32 bytes for
// 256-bit AES-GCM-SIV. All other lengths are an error.
func New(key []byte) (cipher.AEAD, error)
```