sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Vulkan: Environment Ao Channel Affect property has no effect and should be removed
Labels: bug,topic:rendering,confirmed,topic:3d

*Related to https://github.com/godotengine/godot/issues/43957.*

### Godot version

4.0.dev (536757b80)

### System information

Fedora 34, GeForce GTX 1080 (NVIDIA 470.74)

### Issue description

The SSAO Ao Affect property no longer has any effect, but it's still present in WorldEnvironment. Quoting from https://github.com/godotengine/godot/pull/45023:

> -SSAO ao affect is gone because this confused users, min(ao,ssao) now used, should work in most cases.

I tried to remove this property in https://github.com/Calinou/godot/tree/remove-ao-channel-affect but didn't succeed yet.

By the way, the **Ssao > Light Affect** property in WorldEnvironment also seems to have no effect. Only the BaseMaterial3D ambient occlusion **Light Affect** property seems to have an effect on AO appearance, on *both* the AO map and SSAO. This is likely a bug though, as I'd expect the material property to only influence the AO map, not SSAO.

### Steps to reproduce

- Create a MeshInstance with a BoxMesh and StandardMaterial3D.
- Assign an ambient occlusion map to the material.
- Enable SSAO in WorldEnvironment.
- Adjust Ao Channel Affect in WorldEnvironment, and notice how it has no effect on the scene.

### Minimal reproduction project

[test_ssao_ao_affect.zip](https://github.com/godotengine/godot/files/7479129/test_ssao_ao_affect.zip)
Repository: kubernetes
Issue: golang net/netip package coming in Go 1.18!
Labels: sig/network,kind/feature,triage/accepted

### What would you like to be added?

migrate from net.IP to netip.Addr

https://pkg.go.dev/net/netip@master

### Why is this needed?

> Package netip defines a IP address type that's a small value type. Building on that Addr type, the package also defines AddrPort (an IP address and a port), and Prefix (an IP address and a bit length prefix).

> Compared to the net.IP type, this package's Addr type takes less memory, is immutable, and is comparable (supports == and being a map key).
Repository: flutter
Issue: Design doc for removing Gradle as a build system to build Flutter apps
Labels: platform-android,tool,t: gradle,P2,team-android,triaged-android

There's precedence for doing this in other build systems. For example, Bazel provides [build rules](https://docs.bazel.build/versions/main/tutorial/android-app.html) for 
building APKs, App Bundles, and AARs.

There's also some [integration tests](https://github.com/bazelbuild/bazel/tree/09c621e4cf5b968f4c6cdf905ab142d5961f9ddc/src/test/shell/bazel/android) that can be used to verify the correctness of an implementation in Dart.

The main benefit is that we gain control over the build, and eliminate the need for special glue code both in Groovy and Dart. 

For customers, this should mean better developer experiences.

However, Gradle will still be required for add-to-app users. Potentially, a design could help clarify 
how a smaller Gradle plugin for add-to-app only can interop with a Dart-only build process for the Flutter module.


cc @Hixie, @GaryQian, @camsim99, @zanderso
Repository: pytorch
Issue: Add more explanation on multithreaded graph building of Autograd
Labels: module: docs,module: multiprocessing,module: autograd,triaged,module: multithreading,actionable

## 📚 Documentation

<!-- A clear and concise description of what content in https://pytorch.org/docs is an issue. If this has to do with the general https://pytorch.org website, please file an issue at https://github.com/pytorch/pytorch.github.io/issues/new/choose instead. If this has to do with https://pytorch.org/tutorials, please file an issue at https://github.com/pytorch/tutorials/issues/new -->

In the [Autograd Mechanics - multithreaded-autograd](https://pytorch.org/docs/stable/notes/autograd.html#multithreaded-autograd), the doc mentions that there're risks to run backward() or grad() in multiple threads. However, it does not mention how Autograd will work in some simpler cases. For example, an (insane) mapping function like:
```python
def map(tensor):
    if tensor.shape[0] > 10:
        return tensor.sum()
    else:
        return 2 * tensor

from multiprocessing import pool
thread_pool = pool.ThreadPool()
some_tensors = [......]
tensors = pool.map(some_tensors)
loss = torch.zeros(1)
for t in tensors:
    loss += (t**2).sum()

loss.backward()
```
Will this always work(when tensors on GPU and CPU)? I think as long as there are no inplace operations (including .backward() or .grad()), it is safe, but can you please confirm that and update this page a bit?

**If so**, can you please update [pytorch multiprocessing](https://pytorch.org/docs/stable/multiprocessing.html) as well? I think the `torch.multiprocessing` is just a subset of Python's `multiprocessing`, since Python's one has `ThreadPool` while `torch.multiprocessing` does not. 

When I tried to do the above simple mapping using `torch.multiprocessing.Pool`, an error occurs, saying that Autograd cannot cross process boundary. It's understandable, but I think you should modify this line
> The API is 100% compatible with the original module

and suggest users to use the original one if they only want to do some mapping that cannot be expressed as batched operations but can be safely executed with Autograd concurrently with multiple threads.


cc @brianjo @mruberry @VitalyFedyunin @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @Lezcano @Varal7
Repository: PowerToys
Issue: Stop bubble through on Find my mouse dismiss
Labels: Issue-Bug,Product-Mouse Utilities

### Microsoft PowerToys version

0.49.1

### Running as admin

- [ ] Yes

### Area(s) with issue?

Mouse Utilities

### Steps to reproduce

have focus on a text box, trigger sonar, hit A (or esc, ...)

### ✔️ Expected Behavior

Sonar cancelled but A not inputted

### ❌ Actual Behavior

A is put in textbox

### Other Software

_No response_
Repository: storybook
Issue: Show duplicate story error in the UI via the Notification component
Labels: feature request,needs triage

**Is your feature request related to a problem? Please describe**
Storybook doesn't work correctly when there are duplicate story names. It will output a warning in the console, but otherwise fails in silence. 

That impacts the DX inside of Storybook by stories failing to load. It also effects tools that consume Storybook like Chromatic.


**Describe the solution you'd like**
When Storybook warns of duplicate story names, surface the warning in the UI with our [Notification component](https://next--storybookjs.netlify.app/official-storybook/?path=/story/ui-notifications-notificationitem--link-icon-with-color-sub-headline).

![image](https://user-images.githubusercontent.com/263385/140439910-05fde022-edb9-4549-b6a4-7c4a28f1fa8a.png)

Link to troubleshooting docs that talk about how to debug duplicate file names. This needs to be written.

**Are you able to assist to bring the feature to reality?**
no, need help 🙏
Repository: angular
Issue: Explain how ngOnChange hook behaves during unit tests
Labels: area: testing,P3,area: docs

### Description

There seems to be a lot of people unaware of the unexpected behaviour of ngOnChange not being called when doing something like:

```
TestBed.configureTestingModule({}).compileComponents().then(() => {
    fixture = TestBed.createComponent();
    fixture.detectChanges();
});
```

It is not obvious that ngOnChange will not be called when doing this, therefore please provide a clarification in the testing docs.
It would be great to also provide some strategy/strategies for how to test a component which depends on the ngOnChange hook.

Issue taken from https://github.com/angular/angular.io/issues/3277
Relating to https://github.com/angular/angular/issues/9866


### What is the affected URL?

_No response_

### Please provide the steps to reproduce the issue

_No response_

### Please provide the expected behavior vs the actual behavior you encountered

_No response_

### Please provide a screenshot if possible

_No response_

### Please provide the exception or error you saw

_No response_

### Is this a browser-specific issue? If so, please specify the device, browser, and version.

_No response_
Repository: rust
Issue: Tracking Issue for std::arch::wasm64 
Labels: T-libs-api,C-tracking-issue

Feature gate: `#![feature(simd_wasm64)]`

This is a tracking issue for `std::arch::wasm64` and `std::arch::wasm` modules, both of which are currently aliases for `std::arch::wasm32`.
Repository: pytorch
Issue: [libtorch][torch.jit.script][input dynamic shape]Error in loading “. Pt” file on C + +: index out of range
Labels: oncall: jit

Because it is the company's internal code, I can't disclose it.I can only briefly describe the phenomenon:

I’m trying to deploy a model, but its input contains dynamic dimensions: it works normally when you use the python model script to perform information on the data; After I serialize the model torch.jit.script(), it will report an abnormal error, such as index out of range.

In Python mode (ptyhon code is used to directly load".cpkt" parameters for inferecne), I can inferecne normally when I load the input data without using onnx mode, and the code after loading parameters is added at the end
model=toch.jit.script(model)
model.save(“model.pt”)
An error was reported when loading the pt file even if in python code model.

If you have encountered similar situations and have relevant solutions or skills, I hope you can recover. Thank you very much！
Repository: ant-design
Issue: table组件 filterMode为tree时 filter增加类似checkStrictly配置可只选取父节点
Labels: Inactive

- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### What problem does this feature solve?
当table有些数据关联对象为树形结构的父节点时，该配置在筛选的树形复选框列表中可只选中父节点进行筛选，避免连同子节点一起筛选出来

### What does the proposed API look like?
```jsx
filtersCheckStrictly: boolean,

e.g:

<Table 
column={[
    {
            title: 'ID',
            dataIndex: 'id',
            key: 'id',
            filterMode:'tree',

            filtersCheckStrictly: boolean,

            filters: [
                   {
                         text: 'Category 1',
                         value: 'Category 1',
                         children: [{
                              text: 'Yellow',
                              value: 'Yellow',
                         }],
                    },
           ],
     }
]}
/>
```


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: remove_import_plugin doesn't remove EditorImportPlugin from "Import As:" dropdown after saving EditorPlugin
Labels: bug,topic:editor

### Godot version

3.3.4

### System information

Windows 7 64 bit

### Issue description

EditorPlugin::remove_import_plugin seems to either not be called or not work when the plugin is reloaded after saving in the editor, disabling, re-enabling.

![image](https://user-images.githubusercontent.com/4075314/140450917-dd2d1675-a922-424c-8c86-67b593360d1a.png)


### Steps to reproduce

1. Create an EditorPlugin (addon), for the file my_import_plugin.gd below, create a basic EditorImportPlugin. Doesn't matter what the EditorImportPlugin does.

```
tool
extends EditorPlugin

const MyImportPlugin = preload("my_import_plugin.gd")
var my_import_plugin = null

func _enter_tree():
	my_import_plugin = MyImportPlugin.new()
	add_import_plugin(my_import_plugin)

func _exit_tree():
	remove_import_plugin(my_import_plugin)
```

2. Verify that the EditorImportPlugin is showing in the "Import As:" dropdown for one of the files.
3. Make any change to the EditorPlugin gdscript file and save.
4. Project -> Project Settings... -> Plugins, click to uncheck "Enable" for the plugin, then click to re-check "Enable".
5. Select a different file in the file list so the "Import As..." dropdown updates. The EditorImportPlugin shows twice in the list.

### Minimal reproduction project

_No response_
Repository: rust
Issue: "lifetime `'static` required" - poor diagnostics
Labels: A-diagnostics,T-compiler,D-papercut,D-newcomer-roadblock

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.

If you cannot produce a minimal reproduction case (something that would work in
isolation), please provide the steps or even link to a repository that causes
the problematic output to occur.
-->

Given the following code: <!-- Please provide a link to play.rust-lang.org -->

```rust
use std::cell::RefCell;
use std::io::Read;

fn main() {
    let foo: &[u8] = &[0, 1];
    inner(foo);
}

fn inner(mut foo: &[u8]) {
    //let mut foo: &[u8] = &[0, 1]; // uncommenting this line gives an improved error message
    let refcell = RefCell::new(&mut foo);
    let read = &refcell as &RefCell<dyn Read>;

    read_thing(read);
}

fn read_thing(refcell: &RefCell<dyn Read>) {
}
```

The current output is:

```
   Compiling foo_rust v0.1.0 (/home/rukai/Foo/foo_rust)
error[E0621]: explicit lifetime required in the type of `foo`
  --> src/main.rs:14:16
   |
14 |     read_thing(read);
   |                ^^^^ lifetime `'static` required
```

<!-- The following is not always necessary. -->
Ideally the output should look like:

```
error[E0621]: explicit lifetime required in the type of `foo`
  --> $DIR/issue-90600.rs:10:16
   |
LL | fn inner(mut foo: &[u8]) {
   |                   ----- the type of `foo` does not have lifetime `'static'`
...
   |
LL |     let refcell = RefCell::new(&mut foo);
   |                   ---------------------- the type of `refcell` takes the lifetime of type of `foo` here
...
LL |     read_thing(read);
   |                ^^^^ lifetime `'static` required
```

Problem occurs on both latest stable and latest nightly. (1.56 and 2021-11-04}
Repository: go
Issue: cmd/compile/internal/ssa: TestStmtLines fails due to auto-generated crypto code
Labels: NeedsInvestigation,compiler/runtime

Recently introduced auto-generated crypto code with lots of math/bits calls is causing TestStmtLines to fail. See https://go-review.googlesource.com/c/go/+/360014/comments/fe81af4a_47619249. For now I skipped the package in the test to unblock the change, since the problem doesn't seem to be the crypto code.

/cc @dr2chase @josharian
Repository: deno
Issue: Deduplicate `structuredClone()`
Labels: ext/web,refactor

Although the implementation of `self.structuredClone()` that is exposed in the global object is the one at `ext/web/13_message_port.js`, there is one other implementation at `ext/web/02_structured_clone.js`. The latter was added by @satyarohith in #10818 because it was needed for implementing the user timing spec, before @crowlKats implemented the former in #11572.

The implementation at `ext/web/02_structured_clone.js` is not a spec-compliant implementation, though. It has performance optimizations to avoid cloning `ArrayBuffer`s, but they throw type errors at runtime – and even if they didn't, those performance optimizations would be observable from the user timing API.

It seems like in the long run it would be best to use the `02_structured_clone.js` file for `self.structuredClone()` and internal functions related to the structured clone algorithm – `(de)serializeJsMessageData` and perhaps the contents of #12505's `ext/web/00_interfaces.js`. This is not possible to do right now though, because `deserializeJsMessageData` must be able to create `MessagePort` objects. Once #12067 is further along and transfer receiving can be implemented using a `Deno.core` API, this would no longer be an issue.
Repository: create-react-app
Issue: Error Chunks in Netlify 
Labels: stale,needs triage,issue: bug report

<img width="1440" alt="Снимок экрана 2021-11-05 в 09 11 23" src="https://user-images.githubusercontent.com/79707548/140472147-f144d3f8-540c-4082-bfef-7b0bf5e5880a.png">

Hey! I have a difficult question with this site, I uploaded my project from the github to the net-file, the deployment was successful, but the site still does not work, it is not clear errors in the console, what should I do?
Repository: react
Issue: Bug: Failed to execute 'insertBefore' on 'Node' And Failed to execute 'removeChild' on 'Node' with Chrome translate
Labels: Type: Bug,Resolution: Duplicate,Status: Unconfirmed

```js
  const [oneShow, setOneShow] = useState(false);
  const [twoShow, setTwoShow] = useState(true);
  
  return (
    <div>
      <h1>插入节点错误</h1>
      <div>
        <span>（{oneShow && '插入节点' }）</span>
      </div>
      <button onClick={() => {
        setOneShow(true)
      }}>触发
      </button>

      <h1>删除节点错误</h1>
      <div>
        <span>（{twoShow && '删除节点' }）</span>
      </div>
      <button onClick={() => {
        setTwoShow(false)
      }}>触发
      </button>

    </div>
  );
```
这代码在进行谷歌翻译后(请选择翻译成非中文)分别会触发插入删除节点的错误。

---

Edited by @bvaughn to add [translation](https://translate.google.com/?sl=zh-CN&tl=en&text=%E8%BF%99%E4%BB%A3%E7%A0%81%E5%9C%A8%E8%BF%9B%E8%A1%8C%E8%B0%B7%E6%AD%8C%E7%BF%BB%E8%AF%91%E5%90%8E(%E8%AF%B7%E9%80%89%E6%8B%A9%E7%BF%BB%E8%AF%91%E6%88%90%E9%9D%9E%E4%B8%AD%E6%96%87)%E5%88%86%E5%88%AB%E4%BC%9A%E8%A7%A6%E5%8F%91%E6%8F%92%E5%85%A5%E5%88%A0%E9%99%A4%E8%8A%82%E7%82%B9%E7%9A%84%E9%94%99%E8%AF%AF%E3%80%82&op=translate):
> This code will trigger the error of inserting and deleting nodes after Google translation (please choose to translate into non-Chinese).
Repository: vscode
Issue: Workspace trust requires restart when joining Liveshare session
Labels: bug,workspace-trust

<!-- ⚠️⚠️ 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.62
- OS Version: Windows_NT x64 10.0.22489 (WSL ubuntu 20.4)

Steps to Reproduce:

1. Join liveshare session
2. Trust workspace when popup shows
3. Explorer is empty, saying it can't show outline
4. Reload window
5. Explorer loads files and workspace trust banner is shown
6. Trust workspace via "Manage" button in banner
7. Works as expected
Repository: next.js
Issue: Sudden error - Refused to execute script from worker.ts because it's MIME type (video/mp2t) is not executable
Labels: bug

### What version of Next.js are you using?

12.0.1

### What version of Node.js are you using?

14

### What browser are you using?

chrome

### What operating system are you using?

macOS

### How are you deploying your application?

next start

### Describe the Bug

I was writing code - plugging around with webworkers. It was literally working perfectly - worker running, hit save, and now Next.js considers the file a (video/mp2t)...wat?

I L.I.T.E.R.A.L.L.Y just hit save. No server reboot, config change no nothing. It was working.

Here's the worker if anyone smarter than me can identify some magic phrase or something idk.

I really am stuck here, please help.

### Expected Behavior

for it to load in a correct manner.

### To Reproduce

Idk how you would go about reproducing this.

Here's my repo - the branch firebase-integration is required.

https://github.com/polisen/browser-file-bundler/tree/firebase-integration.

Re-installing the whole repo did nothing.
Repository: excalidraw
Issue: Add dyslexia-friendly (default?) font
Labels: a11y,font

Excalidraw looks excellent and was recently featured on Hacker News. However, I wanted to bring your attention to this top comment on HN: https://news.ycombinator.com/item?id=29109995

> I genuinely can't stand the default font, and so many people tend to use it. My dyslexia makes it really difficult for me to read it. Please, please, Excalidraw owners if you're reading this: make the default font something that's much more friendly to those with dyslexia.
> 
> Defaults matter a lot.

I'm not dyslexic myself, so I'm afraid I can't do any user testing. There are a number of resources available to offer guidance and hopefully they help! Two of the top picks from Google:
- https://www.bdadyslexia.org.uk/advice/employers/creating-a-dyslexia-friendly-workplace/dyslexia-friendly-style-guide
- https://exceptionalindividuals.com/about-us/blog/our-top-10-dyslexia-friendly-fonts/
Repository: godot
Issue: Debugger dies when inspecting a recursive property
Labels: bug,topic:gdscript,topic:editor,confirmed

### Godot version

3.3.4 standard build for linux x64

### System information

Ubuntu 21.04 x64

### Issue description

The gdscript debugger dies when stopping on a breakpoint in a location where the inspector should draw a class property that contains a recursive value. Eg.: A reference to self.



### Steps to reproduce

1) Create a new project
1) Create an empty scene
1) Attach a new script to the scene root node
1) Use the code bellow on the script and run the scene.
```gdscript
var a
func _ready():
    a = self
    breakpoint
```

### Minimal reproduction project

_No response_
Repository: storybook
Issue: Auto generate doc table using typescript from svelte components
Labels: feature request,svelte,addon: docs,block: argstable,needs triage

**Is your feature request related to a problem? Please describe**
The docs don't get types directly from typescript. I have to describe my variables/functions with typescript, but have to describe again with docstring.

**Describe the solution you'd like**
I would like that docs addon could infer types from docstring and typescript too

**Describe alternatives you've considered**

**Are you able to assist to bring the feature to reality?**
Maybe. I was looking at the code, and seams that the lib used for the storybook `sveltedoc-parser` doesn't have support for analyze typescript: https://github.com/alexprey/sveltedoc-parser/issues/34

**Additional context**
An example:
1. Create an app with svelte and TS, and add storybook
2. Add the code bellow to the `main.js`
```
svelteOptions: {
    preprocess: sveltePreprocess(),
  },
```
3. If we change the Button.svelte (and setting the script lang to 'ts'):
![image](https://user-images.githubusercontent.com/24704584/140485665-21a21680-751d-4608-aca9-ffbd89d3e293.png)
4. This generate the following doc table:
![image](https://user-images.githubusercontent.com/24704584/140485845-db4be54c-cce9-4336-9ff8-b9c6dea72cc6.png)
5. But if we change the Button.svelte to have docstring:
![image](https://user-images.githubusercontent.com/24704584/140486036-dee4d0ae-02d9-41da-9eb3-eb32a948df0f.png)
6. This is generated:
![image](https://user-images.githubusercontent.com/24704584/140486233-b167cede-26ee-4ced-962a-55340bf43c59.png)