sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: VSCode Task or .csproj PostBuild event using the "reg" command does not work
Labels: bug,tasks

- VS Code Version: 1.70.2
- Electron: 18.3.5
- Chromium: 100.0.4896.160
- Node.js: 16.13.2
- V8: 10.0.139.17-electron.0
- OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:

1. Create a file that contains registry keys
2. Create a shell task in VSCode that imports the file:

```
{
    "label": "Import Registry Entries",
    "type": "shell",
    "command": "reg import fullfilepath",
    "group": "build"
}
```

3. Alternatively I have this as a build event in a .csproj:

```
powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -File $(ProjectDir)RegisterDll.ps1 -targetPath $(TargetDir) -targetName $(TargetName)
```

The RegisterDll script:

```
Param(
     [Parameter()]
     [string]$targetPath
     [Parameter()]
     [string]$targetName
)
$regToCreate = $targetPath + $targetName + ".dll"
$regToLoad = $targetPath + $targetName + ".reg"

$regStringToReplace = "HKEY_CLASSES_ROOT"
$newRegString = "HKEY_CURRENT_USER\Software\Classes"

Get-Command reg | Out-Null

Write-Output "Creating new registry keys from dll: $($regToCreate)"

# This creates the registry file as expected both in VSCode and VS2022
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe /codebase /regfile $regToCreate

# This modifies the keys that were created
(Get-Content $regToLoad).Replace($regStringToReplace, $newRegString) | Set-Content $regToLoad

# From VSCode, this fails to import the keys from the file created above, I can import it manually just fine
# From VS2022, the entire script works fine
reg import $regToLoad
```
Repository: vscode
Issue: Terminal curvy underlines don't look as bright as other underline styles
Labels: bug,upstream,upstream-issue-linked,terminal-rendering

Testing #158827

The curvy line seems darker than the straight line. Is that expected?
![image](https://user-images.githubusercontent.com/98423974/186260314-e188729d-a8d8-489d-8253-c0924cea46be.png)

> This is @TylerLeonhardt's alt
Repository: pytorch
Issue: empty_quantized should probably be new_empty_quantized
Labels: oncall: quantization,triaged

### 🐛 Describe the bug

the current empty_quantized takes a Tensor as input, so it matches the semantics of new_empty instead of empty (which does not take Tensor input), we should merge the empty_quantized implementation under new_empty instead

### Versions

master

cc @jianyuh @raghuramank100 @jamesr66a @vkuzo
Repository: vscode
Issue: Improvements to creating folders via simple picker
Labels: feature-request,simple-file-dialog

From https://github.com/microsoft/vscode/issues/71425 - I love it thank you! A couple suggestions

There is no suggestion that the folder can be created, and I didn't know this feature existed until I saw the issue. So maybe this warning can be tweaked? "Path does not exist, press enter to create and save". Or you might take inspiration from some other quickpicks and add an entry to the top like "Create folder: test" or "Save in new path: test/file.txt" or something like that
<img width="639" alt="image" src="https://user-images.githubusercontent.com/323878/186282115-f72f3db2-8090-45ea-b307-2c0d721567cb.png">

Here the whole path `blah/foo/bar` doesn't exist, and it would be a nice confirmation check to include that whole path in the message.
<img width="632" alt="image" src="https://user-images.githubusercontent.com/323878/186282044-3c8cebbb-2c38-4c30-b262-41d3509e61dd.png">
Repository: pytorch
Issue: Are PyTorch Android nightly builds getting automatically published
Labels: module: ci,triaged,module: android

### 🐛 Describe the bug

https://github.com/pytorch/pytorch/pull/83930 kills logic for uploading nightly builds, because apparently it were never used. 
Lets track whether we need to publish nightly builds for Android.... And if  do not, let's close this issue


Our [documentation](https://pytorch.org/mobile/android/#using-the-nightly-pytorch-android-libraries) claims that Android nightly builds exist, but still references Python-1.8.0 and the last non-trivial update to this page were in Jun 2021: https://github.com/pytorch/pytorch.github.io/commits/site/_mobile/android.md
### Versions

CI

cc @seemethere @pytorch/pytorch-dev-infra
Repository: vscode
Issue: "Follow link" hover is not linkified on markdown links
Labels: bug,workbench-link

Verifying https://github.com/microsoft/vscode/issues/153094, with that sample text

<img width="416" alt="image" src="https://user-images.githubusercontent.com/323878/186286737-93c57e95-9841-46b1-9fad-7795cea9b4b7.png">

Elsewhere, the Follow Link is a link

<img width="417" alt="image" src="https://user-images.githubusercontent.com/323878/186286855-408ac3f3-d6eb-4ee5-ae51-ac33970ce7ca.png">
Repository: neovim
Issue: vimscript introspection / meta structure
Labels: enhancement,documentation,api,vimscript,lua,architecture

## Problem

Where should "core introspection" stuff live? Currently we have introspection interfaces in these places:

1. `context.c`
2.  `nvim_get_api`,
3.  `nvim_get_commands`, [nvim_get_functions](https://github.com/neovim/neovim/pull/19667)
4. `src/nvim/eval.lua` (internal)

## Proposal


1. ✅ `context.c` (`nvim_get_context`) is for mutable state that can be _saved and restored_.
    - variables, regs, jumps, bufs, gvars, …
2. ✅ `nvim_get_api` is for C/RPC API only.
3. ✅ user-defined Vimscript functions/commands are introspectable via:
    - `nvim_get_commands`
    - [nvim_get_functions](https://github.com/neovim/neovim/pull/19667)
5. [runtime/…/_meta/*.lua](https://github.com/neovim/neovim/tree/master/runtime/lua/vim/_meta) provides docstring annotations for internal functions.
    - ✅ `_meta/options.lua` provides annotations for options. [PR #24528](https://github.com/neovim/neovim/pull/24528)
    - ✅ `_meta/vimfn.lua` provides annotations for builtin Vimscript functions. [PR #24493](https://github.com/neovim/neovim/pull/24493)
    - TODO: `_meta/vimcmd.lua` provides annotations for builtin Ex commands. [#26903](https://github.com/neovim/neovim/issues/26903) [PR #27111](https://github.com/neovim/neovim/pull/27111)
    - TODO: `_meta/vimnormal.lua` provides annotations for builtin Normal commands. [#8029](https://github.com/neovim/neovim/issues/8029) [#18750](https://github.com/neovim/neovim/issues/18750)

## TODO

- Document the above.
- ~~Document `runtime/doc/api.mpack` and related `runtime/doc/*.mpack` files that we already ship!~~
    - The `*.mpack` were removed; instead we will expose a parser for `_meta/*.lua` LuaCATs docstrings:
        - https://github.com/neovim/neovim/issues/22287
- Provide a util function that makes it easy for plugins to get a Lua structure from docstring annotations.
    - This allows "which-key" and fuzzy-finder plugins to easily present the info from `_meta/vimfn.lua`.
Repository: pytorch
Issue: [FSDP] Make sharded / unsharded check more robust
Labels: oncall: distributed,triaged,module: fsdp

### 🚀 The feature, motivation and pitch

As per the comment in https://github.com/pytorch/pytorch/pull/83195#discussion_r952937179, we currently check if we are using the local shard for the param to check if a param is sharded or unsharded:

```
p.data.data_ptr() == p._local_shard.data_ptr():
```

This assumes that if we are using the local shard, we already correctly freed the full parameter. This assumption holds true today but if it were to break this would be a silent correctness issue. We should figure out a robust, future-proof approach to checking if we need to reshard a parameter or not.

### Alternatives

_No response_

### Additional context

_No response_

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang @kwen2501 @ezyang
Repository: godot
Issue: Can't switch to SD card in file dialogs in the Android editor
Labels: bug,platform:android,topic:editor,topic:porting,confirmed

___

***Bugsquad note:** This issue has been confirmed several times already. No need to confirm it further.*

___

### Godot version

3.5 Stable

### System information

ChromeOS, Pentium 7505

### Issue description

the file manager within Godot on android is unable to be switched to my SD card, despite giving android apps access to SD card files

### Steps to reproduce

launch godot
click new project
Click browse on project path
at the top, click the drive dropdown, and attempt to switch to SD_Card

### Minimal reproduction project

_No response_
Repository: godot
Issue: Inherited Scene can copy node but can not delete node,when reboot godot,the added node disappear.
Labels: bug,topic:editor,needs testing

### Godot version

3.43

### System information

Windows 10

### Issue description

Ctrl+C Node from father scene,Ctrl + V Inherited Scene,then there whil add a node,when selcelt the added node,two same name node be selected, and can not delete node.

### Steps to reproduce

Ctrl+C Node from father scene,Ctrl + V Inherited Scene,then there whil add a node,when selcelt the added node,two same name node be selected, and can not delete node.

### Minimal reproduction project

_No response_
Repository: node
Issue: Debug build broken on v18.8.0
Labels: build

### Version

v18.8.0

### Platform

Linux pop-os 5.18.10-76051810-generic

### Subsystem

build

### What steps will reproduce the bug?

```console
$ ./configure --debug
$ make
```

### How often does it reproduce? Is there a required condition?

Every time when compiling with clang. The debug build completes when using gcc.

### What is the expected behavior?

To build properly.

### What do you see instead?

The following output during the build:
```console
../deps/v8/src/codegen/register.h:29:48: error: member reference base type 'RegListBase' is not a structure or union
  int num_different_regs = RegListBase{regs...}.Count();
                           ~~~~~~~~~~~~~~~~~~~~^~~~~~
```

### Additional information

I'm compiling with clang 11.1.0 and gcc 11.2.0.
Repository: flutter
Issue: Create mirrors of github third_party dependencies
Labels: team-infra,P2,triaged-infra

Please create mirrors of the following repositories:

- [ ] https://github.com/brendan-duncan/archive.git
- [ ] https://github.com/erikdoe/ocmock.git
- [ ] https://github.com/felangel/equatable.git
- [x] https://github.com/google/file.dart.git
- [ ] https://github.com/google/googleapis.dart.git
- [ ] https://github.com/google/process.dart.git
- [ ] https://github.com/google/process_runner.git
- [ ] https://github.com/google/quiver-dart.git
- [ ] https://github.com/google/shaderc.git
- [x] https://github.com/google/vector_math.dart.git
Repository: go
Issue: net/http: Cookiejar interface functions Cookies and SetCookies do not return error
Labels: NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)? 

<pre>
$ go version
go version go1.19 linux/amd64
</pre>

### Does this issue reproduce with the latest release?
Yes


### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
N/A
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is best.
-->

Attempted to use cookie jar to store cookies using a method that might produce errors.

### What did you expect to see?

A way to propagate errors to the caller without calling Panic() or ignoring

### What did you see instead?

No way to propagate errors to the caller besides a full Panic() or ignoring
Repository: godot
Issue: Variant's reference count is inconsistent
Labels: bug,topic:core

### Godot version

4.0 alpha11

### System information

Linux x64

### Issue description

- The reference count is not increased  when construct a `Variant` with a `RefCounted` pointer but decreased by the destructor.
- The refernece count is increased when assign a pointer of `RefCounted` to a `Variant`

I'm confused about the implementation of the constructor `Variant::Variant(const Object *p_object)`. Can someone help me explain the intent of this code ?

https://github.com/godotengine/godot/blob/b438859d04dfea6de72d52e04bef2f57fb369d7a/core/variant/variant.cpp#L2692-L2699

### Steps to reproduce

The numbers annotated in the sample code below are the reference counts I expect

```C++
RefCounted ref;  // 1
ref.reference(); // 2
ref.reference(); // 3
ref.reference(); // 4
print_line("RefCounted ref count: " + itos(ref.reference_get_count()));
{
	Variant v(&ref); // 5
	print_line("RefCounted ref count: " + itos(ref.reference_get_count()));
} // 4
print_line("RefCounted ref count: " + itos(ref.reference_get_count()));
{
	Variant v;
	v = &ref; // 5
	print_line("RefCounted ref count: " + itos(ref.reference_get_count()));
} // 4
print_line("RefCounted ref count: " + itos(ref.reference_get_count()));
```

The results are not consistent with what I expected

```
RefCounted ref count: 4
RefCounted ref count: 4
RefCounted ref count: 3
RefCounted ref count: 4
RefCounted ref count: 3
```

### Minimal reproduction project

_No response_
Repository: vscode
Issue: Merge Editor: Indicate Deleted Lines
Labels: feature-request,merge-editor

Currently, we just created alignment view-zones to fill the gaps:
![image](https://user-images.githubusercontent.com/2931520/186377962-df9b7452-f816-464c-b09c-3a017308fcbc.png)

It would be very usefull if deleted lines could somehow be highlighted:
![image](https://user-images.githubusercontent.com/2931520/186378382-1aab2cdb-14c6-40b7-8da7-2065038ff529.png)
Repository: vscode
Issue: Merge editor accessibility improvements
Labels: feature-request,accessibility,merge-editor

Let's save some time in September to think more about merge editor accessibility.
Some ideas:

1. Accept Merge button should be a tab stop @jrieken So the user should go to the result view, press tab and have focus on the button
2. We should play audio cues when the user navigates to a line in 3-way merge editor. We could play different sounds based on:
* Line is resolved
* Line is not resolved
3. All the checkbox / context menu actions need to be available in the command palette so users can easily access them
4. 3-way merge aria label of the editor could end with some helpful tips

Ideas welcome :) 

fyi @daviddossett
Repository: ant-design
Issue: modal设置destroyOnClose以后，打开modal，通过formRef的setFieldsValue设置form的值报错
Labels: Inactive,improvement

### Reproduction link

[https://riddle.alibaba-inc.com/riddles/5b755f9d](https://riddle.alibaba-inc.com/riddles/5b755f9d)

### Steps to reproduce

点击打开modal报错

### What is expected?

不应该报错

### What is actually happening?

点击打开modal报错

| Environment | Info |
| --- | --- |
| antd | 4.22.7 |
| React | ^16.14.0 |
| System | Mac |
| Browser | 最新chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: rust
Issue: rustdoc produces gigantic on-disk content in modules with large number of numerical constants
Labels: T-rustdoc,C-bug

We have in Smithay some modules that define a large number of numerical constants (`const u32`), and this triggers a pathological edge-case in terms of documentation generation: rustdoc generates one 4.6 KB file for each of these constants.

For example see this module: https://smithay.github.io/smithay/smithay/wayland/seat/keysyms/index.html

It contains something like ~2400 numerical constants, as a result the documentation folder for this module alone is 20 MB. We have a few other instances of this in Smithay, and we realized that because of this our `gh-pages` branches is more than 99% of the size of the github repo (the total size of the `target/doc` folder for smithay and its public dependencies is around 220MB), and it significantly impacts clone and pull times for our contributors.

We're going to take steps to mitigate this on our side, but I suppose maybe something can be done on rustdoc side as well?

cc @GuillaumeGomez who asked me to make this issue.

**edit:**

Giving more details on this, more generally the issues lies with modules that contain a large number of un-documented items (like functions or constants), like the ones generated by [`gl_generator`](https://crates.io/crates/gl_generator) for example.

For such modules, rustdoc will create one file per item, with a constant 4.6KB overhead per file, while as a documentation reader this really does not bring anything useful given those pages do not contain any additional documentation beyond the symbol prototype.
Repository: kubernetes
Issue: Some pods get stuck in ContainerCreating status after being replaced by another pod
Labels: kind/bug,sig/node,triage/needs-information,needs-triage

### What happened?

Using helm, I upgraded a deployment and the k8s started replacing the pods and while it replaced all the pods successfully, some of the pods that were replaced got stuck in ```ContainerCreating``` status:
```
NAME                              READY              STATUS.                    
demo-labxpert-1                    0/1                ContainerCreating    
demo-labxpert-2                    1/1                Running                     
```
```demo-labxpert-2```  has replaced ```demo-labxpert-1``` in the upgrade but its not removed by the system.

Now, if you are using helm or CI and you have set the ```--wait``` flag, k8s never responds with a success but waits to the timeout to expire.

When i run ```kubectl describe pods/demo-labxpert-1```, this is the output.
```
Normal   Scheduled           4m17s  default-scheduler        Successfully assigned staging/demo-labxpert-5d8969f84c-88hdt to pool-q6gk1dn2v-7mhnz
  Warning  FailedAttachVolume  4m16s  attachdetach-controller  Multi-Attach error for volume "pvc-bbacb80b-d2d0-4d36-a472-0faa799a150c" Volume is already used by pod(s) demo-labxpert-cccc78bc9-nwlmj
  Warning  FailedMount         2m14s  kubelet                  Unable to attach or mount volumes: unmounted volumes=[demo-labxpert], unattached volumes=[demo-labxpert kube-api-access-bwpc2]: timed out waiting for the condition
```

### What did you expect to happen?

The pod being replaced is removed from the system and it does not get stuck in ```ContainerCreating``` status.

### How can we reproduce it (as minimally and precisely as possible)?

1. Deploy Helm chart 
2. Helm Upgrade Deployment and change the image tag.

### Anything else we need to know?

I am using the Digital Ocean managed kubernetes.

### Kubernetes version

<details>

```console
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.5", GitCommit:"5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e", GitTreeState:"clean", BuildDate:"2021-12-16T08:38:33Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"darwin/arm64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.12", GitCommit:"b058e1760c79f46a834ba59bd7a3486ecf28237d", GitTreeState:"clean", BuildDate:"2022-07-13T14:53:39Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}
```

</details>


### Cloud provider

<details>
Digital Ocean 
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: vscode
Issue: Use edit sessions for hot exit
Labels: feature-request,cloud-changes

Testing #158798

This is a feature request for using edit sessions for hot exit too. So, change a file, don't save, change to desktop and 🎉 the changes appear there too
Repository: godot
Issue: HTTPRequest error appears when Debug device is disconnected [Android]
Labels: bug,platform:android,needs testing,topic:network

### Godot version

3.5

### System information

Bluestacks 4.280.0.1022

### Issue description

1. `httprequest is processing a request. wait for completion or cancel it before attempting a new one.`
This error appears from time to time even if debug device is closed...

Error is not stable, sometimes appears, sometimes not. But if it appeared once it will appears more every 30-60 seconds. Don't need to do something, just wait. You can stop ur debug process/close/disconnect debug device, it will not help.
The only way is restart Godot.
An error (warning) does not block application, it only periodically prints this error(warning).

2. `E 0:00:02.550   _resolve_hostname: getaddrinfo failed! Cannot resolve hostname.
  <Code C++>     drivers/unix/ip_unix.cpp:98 @ _resolve_hostname()`
 
 As I understand, its ok, that "_resolve_hostname" error (warning) is here? It seems that it does not interfere with the running of the application and appears only once when request sends. Am I right?

### Steps to reproduce

Start app -> create self.request("https://www.googleapis.com/auth/admob.readonly") with DISCONNECTED internet -> see 
1. `httprequest is processing a request. wait for completion or cancel it before attempting a new one.` [bugged as in description]
2. `E 0:00:02.550   _resolve_hostname: getaddrinfo failed! Cannot resolve hostname.
  <Code C++>     drivers/unix/ip_unix.cpp:98 @ _resolve_hostname()` [behaves like a normal error, disappears when the debugger is restarted]

### Minimal reproduction project

_No response_
Repository: pytorch
Issue: Undefined reference in libtorch_cpu.so `...std::__cxx11::basic_string...`
Labels: module: build,triaged

### 🐛 Describe the bug

When I try to build app that should link with libtorch I get following (output of make):
```
g++ -c -pipe -D_GLIBCXX_USE_CXX11_ABI=1 -O2 -std=gnu++1y -Wall -W -fPIC  -I. -o main.o ../main.cpp
g++ -Wl,-O1 -o test main.o -lc10 -ltorch_cpu 
//usr/local/lib/libtorch_cpu.so: undefined reference to `std::allocator<std::pair<long, std::tuple<torch::jit::SourceRange, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, c10::intrusive_ptr<torch::jit::InlinedCallStack, c10::detail::intrusive_target_default_null_type<torch::jit::InlinedCallStack> > > > >::allocator()'

```

libtorch (1.11.0) has been builded successfully with commands:

```
wget https://github.com/pytorch/pytorch/releases/download/v1.11.0/pytorch-v1.11.0.tar.gz && \
tar -xvzf pytorch-v1.11.0.tar.gz && rm pytorch-v1.11.0.tar.gz && \
cd pytorch-v1.11.0 && mkdir build && cd build && \
cmake -D CMAKE_BUILD_TYPE=Release \
      -D USE_AVX=OFF \
      -D USE_NNPACK=OFF \
      -D USE_MKLDNN=OFF \
      -D BUILD_PYTHON=OFF \
      .. && \
make -j1 && \
sudo make install && \
sudo ldconfig
```

what is the reason? 

I already try:
  - build app with -D_GLIBCXX_USE_CXX11_ABI=0 - another errors appear
  - use Ubuntu18.04 - success, all works, but I can not understand why on RED OS (my target) it is not working...

### Versions

Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A

OS: RED OS (7.2)  (x86_64)
GCC version: (GCC) 7.2.1 20180116 (Red Hat 7.2.1-7)
Clang version: Could not collect
CMake version: version 3.9.0
Libc version: glibc-2.3.4

Python version: 3.6.13 (default, Apr  5 2022, 16:16:18)  [GCC 7.2.1 20180116 (Red Hat 7.2.1-7)] (64-bit runtime)
Python platform: Linux-4.19.204-2.el7.x86_64-x86_64-with-centos-7.2
Is CUDA available: N/A
CUDA runtime version: Could not collect
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A

Versions of relevant libraries:
[pip3] No relevant packages
[conda] Could not collect```
```

cc @malfet @seemethere