sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: CharacterBody3D is_on_floor() can be true at the same time that get_last_slide_collision() is null
Labels: bug,topic:physics,topic:3d

### Godot version

4.0 Beta 15

### System information

Windows 10

### Issue description

After running `move_and_slide()` on a CharacterBody3D, running this code can result in not getting the floor's normal value:
```
if is_on_floor():
	get_last_slide_collision().get_normal()
```
Instead, this can result in calling `get_normal()` on a null value, specifically in cases where the body is moving downwards on a sloped floor. I might be misunderstanding the purpose of `is_on_floor()`, but I don't think it makes sense that the body can be on the floor but not have made any collisions.

This happens consistently when trying to move down a slope, but moving uphill or on a level floor is fine.

### Steps to reproduce

Create a CharacterBody3D with the basic movement template offered when adding a script. Add the code above to the bottom of `_process()`, then add the body to a scene with a tilted floor. Moving downhill will cause an error.

### Minimal reproduction project

[NoCollisions.zip](https://github.com/godotengine/godot/files/10502698/NoCollisions.zip)


Press the left arrow after hitting the ground and the error will come up. Going right, forwards or backwards doesn't cause an issue. If the static body is tilted in the slightest, this behaviour still occurs - even with the smallest incline the editor permits (0.1 degrees).
Repository: stable-diffusion-webui
Issue: [Bug]: Extra networks not reading all embeds - EDIT:  Textual inversion embeddings skipped loading for unknown reason
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

After the latest pull, the extra networks option no longer shows all installed embeds, even though they are all still working.

![image](https://user-images.githubusercontent.com/114956889/214681220-44d80d4d-0266-4a5b-aa77-cf6c7acd2580.png)

Note that the first embed it shows is Action Helper, where there's 3 before that, for instance.

It doesn't read the folders, but that's something that broke a few versions back, so I don't even care as much about those. 

### Steps to reproduce the problem

Open extra networks. See 'installed' embeds.

### What should have happened?

Open extra networks. See actually 'installed' embeds.

### Commit where the problem happens

Commit hash: 3cead6983e2618838696bbf9f0b9dbbbbdd07e30

### What platforms do you use to access UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
--xformers --api --no-half-vae
```


### Additional information, context and logs

_No response_
Repository: next.js
Issue: Using `next` with electron with nodeIntegration enabled never removes data-next-hide-fouc
Labels: bug,stale

### Verify canary release

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

### Provide environment information

    Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.3.0: Thu Jan  5 20:48:54 PST 2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T6000
    Binaries:
      Node: 19.5.0
      npm: 9.3.1
      Yarn: 1.22.19
      pnpm: 7.26.0
    Relevant packages:
      next: 13.1.5
      eslint-config-next: N/A
      react: 18.2.0
      react-dom: 18.2.0

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

Head component/file (next/head / head.js)

### Link to the code that reproduces this issue

https://github.com/vercel/next.js/blob/canary/examples/with-electron/README.md

### To Reproduce

Use the `with-electron` example repo https://github.com/vercel/next.js/blob/canary/examples/with-electron/README.md with `nodeIntegration` set to `true`

### Describe the Bug

Nextjs never runs its initialization/removal of FOUC tags

I'm _guessing_ it's because theres some check for something like `process` or some other Node global for whether its running on a server or not.

it would be nice if we could control this initialization through a custom "is running on server" check in next.config.js

### Expected Behavior

Nextjs behaves normally

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

Electron (Chrome 109)

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

Electron
Repository: pytorch
Issue: numpy v1.24 does not work with `writer.add_histogram`
Labels: triaged,module: tensorboard

### 🐛 Describe the bug

https://github.com/pytorch/pytorch/blob/664058fa83f1d8eede5d66418abff6e20bd76ca8/torch/utils/tensorboard/summary.py#L380

There is a problem when running this using the latest numpy v1.24.

This is an example of the type of error I get:
```
>>> import numpy as np
>>> a = np.random.randint(0, 100, 10)
>>> np.greater(a, 0, dtype=np.int64)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: No loop matching the specified signature and casting was found for ufunc greater
```
When using any version of numpy 1.23 or earlier, this error does not come up.

### Versions

```
Collecting environment information...
PyTorch version: 1.12.1
Is debug build: False
CUDA used to build PyTorch: 11.3
ROCM used to build PyTorch: N/A

OS: Ubuntu 18.04.1 LTS (x86_64)
GCC version: (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0
Clang version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
CMake version: version 3.25.2
Libc version: glibc-2.27

Python version: 3.8.15 | packaged by conda-forge | (default, Nov 22 2022, 08:49:35)  [GCC 10.4.0] (64-bit runtime)
Python platform: Linux-4.15.0-136-generic-x86_64-with-glibc2.10
Is CUDA available: True
CUDA runtime version: 11.1.74
CUDA_MODULE_LOADING set to: 
GPU models and configuration: 
GPU 0: GeForce GTX 1080 Ti
GPU 1: GeForce GTX 1080 Ti
GPU 2: TITAN V
GPU 3: TITAN V
GPU 4: TITAN V
GPU 5: Tesla V100-PCIE-16GB
GPU 6: Quadro GP100
GPU 7: Quadro GP100

Nvidia driver version: 455.23.05
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.24.1
[pip3] torch==1.12.1
[pip3] torchaudio==0.12.1
[pip3] torchvision==0.13.1
[conda] blas                      2.116                       mkl    conda-forge
[conda] blas-devel                3.9.0            16_linux64_mkl    conda-forge
[conda] cudatoolkit               11.3.1              h9edb442_11    conda-forge
[conda] ffmpeg                    4.3                  hf484d3e_0    pytorch
[conda] libblas                   3.9.0            16_linux64_mkl    conda-forge
[conda] libcblas                  3.9.0            16_linux64_mkl    conda-forge
[conda] liblapack                 3.9.0            16_linux64_mkl    conda-forge
[conda] liblapacke                3.9.0            16_linux64_mkl    conda-forge
[conda] mkl                       2022.1.0           h84fe81f_915    conda-forge
[conda] mkl-devel                 2022.1.0           ha770c72_916    conda-forge
[conda] mkl-include               2022.1.0           h84fe81f_915    conda-forge
[conda] numpy                     1.24.1           py38hab0fcb9_0    conda-forge
[conda] pytorch                   1.12.1          py3.8_cuda11.3_cudnn8.3.2_0    pytorch
[conda] pytorch-mutex             1.0                        cuda    pytorch
[conda] torchaudio                0.12.1               py38_cu113    pytorch
[conda] torchvision               0.13.1               py38_cu113    pytorch
```
Repository: PowerToys
Issue: S3 sleep mode
Labels: Needs-Triage

### Description of the new feature / enhancement

Enable Standby (S3) sleep mode instead of Standby (S0 Low Power Idle)

### Scenario when this would be used?

Standby computer

### Supporting information

_No response_
Repository: vscode
Issue: Setting trim_trailing_whitespace = true breaks undo history
Labels: bug,undo-redo

Type: <b>Bug</b>

Enabling trim_trailing_whitespace either directly via the IDE or via an .editorconfig file breaks the undo/redo history.

Steps to reproduce:
- set the flag to trim_trailing_whitespace
- open any code file affected by the setting
- under an idented code block type enter twice
    (ensure the cursor is after some empty space which would be cleared on save)
- type any text (take note of this text)
- undo only the text using Ctrl+Z
    (ensure the line still has it's identation spaces in such a way that they should be cleaned)
- click in another line and save the file
- redo using Ctrl+Y

Expected result: the noted text should return after the last step
Actual result: the Redo actions has no effect

VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i3-10105F CPU @ 3.70GHz (8 x 3696)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: unavailable_off<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: unavailable_off<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|undefined|
|Memory (System)|7.91GB (1.22GB free)|
|Process Argv|--disable-extensions --folder-uri=vscode-remote://wsl+Ubuntu-20.04/home/breno/projects/front-assine-maya-astro --remote=wsl+Ubuntu-20.04 --crash-reporter-id 0c68ed77-b19f-4327-b93a-f076de410145|
|Screen Reader|no|
|VM|0%|

|Item|Value|
|---|---|
|Remote|WSL: Ubuntu-20.04|
|OS|Linux x64 5.15.79.1-microsoft-standard-WSL2|
|CPUs|Intel(R) Core(TM) i3-10105F CPU @ 3.70GHz (8 x 3695)|
|Memory (System)|3.78GB (2.41GB free)|
|VM|0%|
</details>Extensions disabled<details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1:30587005
282f8724:30602487
89544117:30613380
2i9eh265:30646982

```

</details>

<!-- generated by issue reporter -->
Repository: go
Issue: x/pkgsite: “not a valid tag” for commit hashes in the standard library
Labels: NeedsInvestigation,pkgsite

### What is the URL of the page with the issue?

https://pkg.go.dev/context@3d49b683c6095a9a2681e84f05adfbb8d82882e8 
 
 
### What is your user agent?
 
`Mozilla/5.0 (X11; CrOS x86_64 15183.78.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36`
 
 
### Screenshot
 
![image](https://user-images.githubusercontent.com/5200974/214694632-ab964684-5978-48f9-b3d8-0c7b922d9a31.png) 
 
 
### What did you do?
 
1. Navigate to https://pkg.go.dev/context@master.
2. See that it isn't quite up to date.
3. Change `@master` to `@3d49b683c6095a9a2681e84f05adfbb8d82882e8` to try to force-reload the standard library at a specific commit.
  
 
### What did you expect to see?

Documentation for the `context` package at Go commit 3d49b683c6095a9a2681e84f05adfbb8d82882e8.
 
 
### What did you see instead?

An error screen.
Repository: go
Issue: x/image/bmp: support 4-bit format
Labels: NeedsInvestigation,FeatureRequest

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version 1.18

</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
$ go env

</pre>GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/root/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/snap/go/10030"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/snap/go/10030/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19.5"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/xxx/go/src/yyy/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3498157493=/tmp/go-build -gno-record-gcc-switches"
</details>
</summary><br><pre>
### What did you do?


call image.DecodeConfig(bytes.NewReader(data))  for [attached image](https://samples.fileformat.info/format/bmp/sample/fa71e2b9ba0147f4b4b7dc19b50a4e4f/LAND3.BMP?AWSAccessKeyId=0V91BEFA7GM093MEVMG2&Signature=67xs4MSeSQNRv4XqOV0NpUs2I%2Bo%3D&Expires=1674682154)




### What did you expect to see?
Decode success


### What did you see instead?
Errror  bmp: unsupported BMP image
Repository: flutter
Issue: Make the footer of the PaginatedDataTable only extend the width of the table
Labels: framework,f: material design,has reproducible steps,found in release: 3.7,team-design,triaged-design

I've opened a StackOverfow with my issue hoping somebody knows of a simple solution.  I managed to pinpoint the issue in the flutter source code, so I came here to look for suggestions.  I will update the StackOverflow issue with the result of this conversation.  

Here's the original question https://stackoverflow.com/questions/75154399/flutter-how-to-make-paginateddatatable-width-match-the-width-of-the-data.  I develop for web (wide screen), so my tables have the data on the left and the footer always ends somewhere way on the right appearing disconnected from the table.  If the table has some `actions` icons, the same issue is present.    

My understanding looking at line 487 of https://github.com/flutter/flutter/blob/b06b8b2710/packages/flutter/lib/src/material/paginated_data_table.dart#L487 is that the Card > Column has the `crossAxisAlignment = CrossAxisAlignment.stretch`.  This is what causes the footer to spill all over the screen width.   

I don't see a way to achieve what I want because of this.  Is there a solution?  If there is no solution given the current implementation, would you consider changing the `crossAxisAlignment = CrossAxisAlignment.start` and then making the footer align to the end of the data table?   I understand that this is a breaking change, so it may not get accepted.

Thank you!
Repository: stable-diffusion-webui
Issue: [Bug]: As soon as I try anything after loading the UI in the browser (Windows), even like saving the configuration - the UI freezes in the tab. I see the issue #7095 mentioning that, too.
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Just after starting WebUI (errors only in training_picker.py):

```
Error loading script: training_picker.py
Traceback (most recent call last):
  File "O:\AI\stable-diffusion-webui\modules\scripts.py", line 218, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "O:\AI\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
    exec(compiled, module.__dict__)
  File "O:\AI\stable-diffusion-webui\extensions\training-picker\scripts\training_picker.py", line 16, in <module>
    from modules.ui import create_refresh_button, folder_symbol
ImportError: cannot import name 'folder_symbol' from 'modules.ui' (O:\AI\stable-diffusion-webui\modules\ui.py)
```

...which didn't impact the usability of the UI for now. But the issue is that after just trying to apply the configuration in the Settings tab, refresh the page in Image Browser tab, well, anything, the WebUI freezes. Also, I don't see the syntax being checked anymore in the prompts fields (I managed to type a word in the prompt and it appeared after about a minute, but there are no counts of tokens):
![obraz](https://user-images.githubusercontent.com/55754730/214694613-a5fa5734-e34a-4bb9-984b-c552bc071a27.png)
Could that be, that some latest change choked the javascript execution? (If I'm understanding it correctly, I'm not a programmer :) ).

The browser, no matter which one I test, it's responsive by itself, just the insides of the tab with WebUI stops responding. There's a very short moment, when the choke loosens. Hence I was able to type it, but it's unusable at the moment. 🙂 
![obraz](https://user-images.githubusercontent.com/55754730/214695706-8798bb05-c070-44cf-9a44-8154768b7fb4.png)

No errors in the commandline window during the "choke". I'm also able to Ctrl+C the .bat execution.

### Steps to reproduce the problem

1. Go to Settings tab.
2. Press Apply Settings.
3. UI freezes in the tab, and uses 100% of 1 CPU thread. 
4. No matter the browser, be it Brave, Chrome or Firefox. UI can generate an image, but it won't appear because of this choke. Browsers report that the tab "slowed down the browser" and suggest either waiting or interrupting it.


### What should have happened?

The UI should be responsive.

### Commit where the problem happens

9f4d931a319056c537d24669cb950d146d1537b0

### What platforms do you use to access UI ?

Windows

### What browsers do you use to access the UI ?

Mozilla Firefox

### Command Line Arguments

```Shell
set SAFETENSORS_FAST_GPU=1
set COMMANDLINE_ARGS= --xformers --no-half-vae --api --deepdanbooru --theme dark
```


### Additional information, context and logs

_No response_
Repository: vscode
Issue: WorkspaceEdit API didn't delete the created folder when undo. 
Labels: bug,workspace-edit

<!-- ⚠️⚠️ 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.74.3 
- OS Version: MacOS 12.3.1

Hi, 
When I develop my vscode extension with WorkspaceEdit API, I find the following issue:

Steps to Reproduce:

1. using WorkspaceEdit to create a new file inside a new folder. 
```typescript
const edit = new WorkspaceEdit();
edit.createFile(Uri.file(path.join("<a new folder that not exists>", 'someFile.tsx')));
await workspace.applyEdit(edit);
```
2. After ```await workspace.applyEdit(edit);``` is called, the new file and new folder is created
3. However, when I try to "Undo" inside the "someFile.tsx", I can see "someFile.tsx" is deleted, while the new folder is still there. Since the new folder is created by WorkspaceEdit, I thought it should also be removed.
Repository: next.js
Issue: Scroll restoration with `window.onpopstate` not working when it's used in `useEffect`
Labels: bug

### Verify canary release

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

### Provide environment information

```
> next info

    Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000
    Binaries:
      Node: 19.2.0
      npm: 8.19.3
      Yarn: N/A
      pnpm: N/A
    Relevant packages:
      next: 13.1.6-canary.1
      eslint-config-next: 13.0.7
      react: 18.2.0
      react-dom: 18.2.0

```

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

_No response_

### Link to the code that reproduces this issue

None

### To Reproduce

```
  const [scrollElementId, setScrollElementId] = useState(null);

  useEffect(() => {
    function handlePopState() {
      if (scrollElementId) {
        // THIS IS NULL
        const elementToScrollTo = document.getElementById(scrollElementId);
        console.log(elementToScrollTo);
        
        // THIS ALSO DOES NOT WORK
        window.scroll(0, 1000);

        if (elementToScrollTo) {
          console.log(`Scrolling to ${elementToScrollTo}`);
          elementToScrollTo.scrollIntoView();
        }
      }
    }
    window.onpopstate = handlePopState;
    // return () => {
    //   window.onpopstate = null;
    // };
  }, [scrollElementId]);

 // This is used for the link I have on my page
  const handleClick = (event) => {
    setScrollElementId(event.target.id);
    console.log(`Cliked ${event.target.id}`);
  };

```

### Describe the Bug

When returning to the page from where I clicked the link, there is no scroll.

On top of this, we cannot find the element by id (and I am 100% sure it exists).

When we move out the scroll function from the callback which I used for the `onpopstate `, then it's working, but then I cannot achieve what I want.

### Expected Behavior

When returning to the previous page with the browsers back button (or other buttons), I want the page to automatically scroll to the position of the link I clicked.

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

Chrome

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

_No response_
Repository: flutter
Issue: Desktop scrolling on Windows ignores display scaling
Labels: framework,f: scrolling,platform-windows,a: desktop,a: mouse,has reproducible steps,P2,found in release: 3.7,team-windows,triaged-windows

# Steps to reproduce

1. Clone the repository and build for Windows: https://github.com/Jon-Salmon/flutter_scrolling_tester
2. Observe how many rows of the app get scrolled per mouse wheel notch
3. Change the Windows display scale value for your monitor and restart the app
4. Observe that the rows scrolled per mouse wheel notch are now different.

In native apps, the scrolling amount stays constant while changing this value.