sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Adding query parameters to loadFlutterAsset when loading a local html file
Labels: c: new feature,a: assets,p: webview,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

## Use case

Being able to pass query parameters can make local asset files more dynamic without having to duplicate asset files fir minor changes (example would be having different logic for different environments)

## Proposal

Adding a secondary parameter to the loadFlutterAsset function which can accept a Map<String, String> for query parameters when loading local html files.
Repository: pytorch
Issue: Functions depending on SVD are broken for inputs with non-finite values with MKL 2022+ and OpenBLAS 0.3.15+
Labels: triaged,module: mkl,module: linear algebra,module: openblas

### 🐛 Describe the bug

Last year LAPACK decided to change the behavior of computation of SVD for matrices with non-finite values. This comment https://github.com/numpy/numpy/issues/18914#issuecomment-839941847 contains the summary of the changes in Reference-LAPACK.
This change was picked up by OpenBLAS 0.3.15 and tests started to fail (see https://github.com/pytorch/pytorch/issues/67693).
Later MKL 2022 also started to use the latest Reference LAPACK behavior resulting in tests breaking on our CI: https://github.com/pytorch/pytorch/issues/71645.

See the example in https://github.com/numpy/numpy/issues/18914#issuecomment-1023155562 how changing MKL version affects the SVD computation in NumPy and the behavior is the same in PyTorch.

List of functions that need to be modified to work correctly with new MKL and OpenBLAS versions:
- torch.linalg.norm
- torch.linalg.cond

We need to define what output do we want to see for these functions, is it an error or inf/nan?

Tests that are currently disabled:
- `test_norm_extreme_values` (when `ord='nuc' or 2 or -2`)

Related issues:

- [ ] https://github.com/pytorch/pytorch/issues/43567
- [ ] https://github.com/pytorch/pytorch/issues/52633

### Versions

Master branch with either MKL 2022+ or OpenBLAS 0.3.15+

cc @jianyuh @nikitaved @pearu @mruberry @walterddr @IvanYashchuk @xwang233 @Lezcano
Repository: pytorch
Issue: `torch._sources.normalize_source_lines()` and consequently `torch.jit.script` fail with lambda functions
Labels: oncall: jit

### 🐛 Describe the bug

[`normalize_source_lines()`](https://github.com/pytorch/pytorch/blob/master/torch/_sources.py#L50) crashes if there are no lines that start with "def". This happens with lambda functions.

If a function that is scripted using `torch.jit.script` calls a lambda function, [`parse_def()` calls `normalize_source_lines()`](https://github.com/pytorch/pytorch/blob/master/torch/_sources.py#L97) and the user sees an exception:

    UnboundLocalError: local variable 'idx' referenced before assignment

Minimal example to produce the error:
```python
import torch

f = lambda x, y: x + y

@torch.jit.script
def call_f():
    f(1, 2)
```

Output:
```
Traceback (most recent call last):
  File "example.py", line 6, in <module>
    def call_f():
  File ".../lib/python3.9/site-packages/torch/jit/_script.py", line 1143, in script
    fn = torch._C._jit_script_compile(
  File ".../lib/python3.9/site-packages/torch/jit/_recursive.py", line 795, in try_compile_fn
    return torch.jit.script(fn, _rcb=rcb)
  File ".../lib/python3.9/site-packages/torch/jit/_script.py", line 1140, in script
    ast = get_jit_def(obj, obj.__name__)
  File ".../lib/python3.9/site-packages/torch/jit/frontend.py", line 270, in get_jit_def
    sourcelines = normalize_source_lines(sourcelines)
  File ".../lib/python3.9/site-packages/torch/jit/frontend.py", line 240, in normalize_source_lines
    fn_def = sourcelines[idx]
UnboundLocalError: local variable 'idx' referenced before assignment
```

### Versions

PyTorch version: 1.9.0+cu102
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.3 LTS (x86_64)
GCC version: (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Clang version: Could not collect
CMake version: version 3.16.3
Libc version: glibc-2.31

Python version: 3.9.5 (default, Jun  4 2021, 12:28:51)  [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: NVIDIA GeForce GTX 1650 Ti with Max-Q Design
Nvidia driver version: 471.41
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] mypy==0.790
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.20.3
[pip3] pytorch-lightning==1.6.0.dev0
[pip3] pytorch-lightning-bolts==0.2.5
[pip3] torch==1.9.0
[pip3] torch-tb-profiler==0.3.1
[pip3] torchmetrics==0.6.2
[pip3] torchtext==0.10.0
[pip3] torchvision==0.10.0
Repository: godot
Issue: Godot Physics performance drop on ConvexPolygonShape RigidBody contact
Labels: bug,confirmed,topic:physics,high priority,topic:3d,performance

### Godot version

v3.4.2.stable.official [45eaa2daf]

### System information

Windows 11, GLES3, RTX3060TI [511.23]

### Issue description

At the moment the rigidbodies contact, suddenly the performance going bad with the physics process takes 200ms.
It also looks like the rigidbodies stick to one another. 
This doesn't happen when I'm using Bullet physics.

### Steps to reproduce

Project default settings is using Godot physics. 
1. Run the project
2. Press `space` to start spawning rigidbodies
3. On my machine, as the third rigidbody made a contact with already falling rigidbody, physics process getting slower

Meanwhile switching to Bullet physics on the project settings, it can handle the physics process more stable.

### Minimal reproduction project

[physics-benchmark.zip](https://github.com/godotengine/godot/files/7951102/physics-benchmark.zip)
Repository: storybook
Issue: Inspect color of component and match it from palette
Labels: feature request,needs triage

I am not sure if this functionality exists already. I would find it very convenient if i could click on a component and storybook can tell me which color is used. The color could be the plain color code or even the token from my palette. This is similar to measures when i hover on a component but this is with colors.

**Describe alternatives you've considered**
Install an add-on color picker in my browser that will tell me the color

**Are you able to assist to bring the feature to reality?**
I can...
Repository: godot
Issue: [4.0 a1] Environment .tres gets its sky all wiped after importing from Godot 3
Labels: enhancement,topic:rendering,topic:3d

### Godot version

4.0 alpha 1

### System information

Linux Manjaro, Vulkan, Intel Kaby Lake

### Issue description

I had a saved .tres of an environment that I used in Godot 3. In Godot 4, all the sky settings are gone, I believe including the choice of the sky type (procedural vs panorama etc.)

### Steps to reproduce

Open the attached file in Godot 4.

### Minimal reproduction project

[default_env.tres.zip](https://github.com/godotengine/godot/files/7951494/default_env.tres.zip)
Repository: pytorch
Issue: Support mixed python scalar/tensor types for torch.clamp's min/max args
Labels: feature,triaged,module: type promotion

### 🚀 The feature, motivation and pitch

Currently it allows only (python scalar, python scalar) or (Tensor, Tensor). It would be nice if it allowed mixed types: (python scalar, Tensor) / (Tensor, python scalar). This is useful for `boxes.clamp(min = 0, max = torch.tensor([w, h, w, h]))` kind of box clipping in vision. Currently the workaround is to replace `min = 0` with `min = torch.tensor(0)`. But it would be nice if torch automatically wrapped the scalar in a tensor type.

I haven't checked if it accepts something like `cuda_tensor.clamp(min = torch.tensor(0, device = 'cpu'), max = some_cuda_tensor)`...

Version: 1.9.1

### Alternatives

_No response_

### Additional context

_No response_

cc @nairbv @mruberry
Repository: flutter
Issue: Dart VM crash during web framework tests in Engine CI
Labels: dependency: dart,platform-web,P2,c: flake,team-web,triaged-web

On the Dart SDK roll here: https://github.com/flutter/engine/pull/31106

```
../../runtime/vm/object.cc: 4429: error: Unable to use class 47441055083116 which is not loaded yet.
version=2.17.0-54.0.dev (dev) (Mon Jan 24 15:02:20 2022 -0800) on "linux_x64"
pid=15784, thread=15848, isolate_group=main(0x564b788d9000), isolate=main(0x564b788da800)
isolate_instructions=564b76043ac0, vm_instructions=564b76043ac0
  pc 0x0000564b762ae0dc fp 0x00007f5520cfdf60 dart::Profiler::DumpStackTrace(void*)+0x7c
  pc 0x0000564b76043c74 fp 0x00007f5520cfe040 dart::Assert::Fail(char const*, ...) const+0x84
  pc 0x0000564b762420ac fp 0x00007f5520cfe060 /b/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/dart+0x20740ac
  pc 0x0000564b761b3be3 fp 0x00007f5520cfe180 dart::ClassFinalizer::LoadClassMembers(dart::Class const&)+0xd3
  pc 0x0000564b76239b53 fp 0x00007f5520cfe1d0 dart::Class::EnsureIsFinalized(dart::Thread*) const+0xc3
  pc 0x0000564b762fe30f fp 0x00007f5520cfe230 dart::PatchableCallHandler::ResolveTargetFunction(dart::Object const&)+0x16f
  pc 0x0000564b762fe420 fp 0x00007f5520cfe2a0 dart::PatchableCallHandler::ResolveSwitchAndReturn(dart::Object const&)+0x20
  pc 0x0000564b762ff059 fp 0x00007f5520cfe4c0 dart::DRT_SwitchableCallMiss(dart::NativeArguments)+0x2d9
...
```

Command and full backtrace in:

https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20SDK%20Drone/104340/overview

Marking P2 for investigation. Will bump up or down depending on whether this repeats on Engine CI rebuilds.
Repository: yt-dlp
Issue: Adding username/password support for tv.nrk.no
Labels: account-needed,site-enhancement,can-share-account

### Checklist

- [X] I'm reporting a site feature request
- [X] I've verified that I'm running yt-dlp version **2022.01.21**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

Norway, Sweden

### Example URLs

https://tv.nrk.no/serie/raadebank/sesong/1/episode/1

### Description

I live outside of Norway right now but NRK permits me to stream content that's normally only available in Norway due to the fact that my user-ID is tied to a Norwegian address. As long as I'm within EU it's ok. It would be great if I somehow could enter my user/password through yt-dlp and be able to go around the geo-block that way. I can play the video fine in any browser/device as long as I'm logged in to my user. NRK has started blocking VPN also so that's no longer an option.
I've tried it with -u *user* and -p *password* with no luck.

### Verbose log

```shell
[debug] Command-line config: ['-vU', 'https://tv.nrk.no/serie/raadebank/sesong/3/episode/1']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.01.21 [f20d607b0]
[debug] Python version 3.10.1 (CPython 64bit) - macOS-11.6.1-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.01.21, Current version: 2022.01.21
yt-dlp is up to date (2022.01.21)
[debug] [NRKTVEpisode] Extracting URL: https://tv.nrk.no/serie/raadebank/sesong/3/episode/1
[NRKTVEpisode] raadebank/sesong/3/episode/1: Downloading webpage
[debug] Using fake IP 84.210.255.185 (NO) as X-Forwarded-For
[debug] [NRK] Extracting URL: nrk:MYNT11000121
[NRK] MYNT11000121: Downloading manifest JSON
ERROR: [NRK] MYNT11000121: NRK said: Ikke tilgjengelig utenfor Norge
  File "/usr/local/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 612, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.10/site-packages/yt_dlp/extractor/nrk.py", line 160, in _real_extract
    self._raise_error(manifest['nonPlayable'])
  File "/usr/local/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.10/site-packages/yt_dlp/extractor/nrk.py", line 57, in _raise_error
    raise ExtractorError('%s said: %s' % (self.IE_NAME, message), expected=True)
```
Repository: flutter
Issue: Few docset properties (for Zealdocs/Dash) shoud be changed
Labels: team,framework,d: api docs,P2,team-framework,triaged-framework

**First of all:** I doesn't build docset by myself, I'm using this one - https://api.flutter.dev/offline/flutter.xml
**Description:**
At the path `.../flutter.docset/Contents` there is an `Info.plist` file which contains:
 ```xml
...
<key>dashIndexFilePath</key>
<string>index.html</string>
...
```
I have no MacOS device, so I don't know how it works in Dash (correct or not), but at Zealdocs (Windows) there is a problem that `dashIndexFilePath` is relative to `flutter.docset\Contents\Resources\Documents` but actually this `Documents` folder contains only `doc` folder, where all the docset files are stored.

As result - all works from the search, but if you click on docset from the list, you'll see the error of opening this `index.html` as mentioned at https://github.com/flutter/flutter/issues/51446

Workarounds to solve the problem are:
- move all files from `doc` to `Documents`, but this breaks the search until manually alter all `flutter.docset/Contents/Resources/docSet.dsidx` entries to remove `doc/` from all the paths (each docset which I have contain root at `Documents`, and not in any nested folder)
- update `Info.plist` for the `dashIndexFilePath` to have value `doc/index.html` instead of `index.html` (the easier one)

Also I wonder, why Flutter use `DocSetPlatformFamily` is `dartlang` and not `flutter` like any other framework docset? 

I don't know for the others, but when I just downloaded the flutter docset for the first time, I thought that docset is broken due to this `doc` folder issue and no keyword for the scoped search (only today I got that flutter docset uses the `dartlang` keyword) 😮
Repository: go
Issue: time: TZ parsing on Unix misses some locations
Labels: NeedsInvestigation

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.17.6 linux/amd64
go version devel go1.18-b2dc66c64d Thu Jan 27 16:07:55 2022 +0000 linux/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes, see the second Go version.

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ainar/.cache/go-build"
GOENV="/home/ainar/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/ainar/go/pkg/mod"
GONOPROXY="REMOVED"
GONOSUMDB="REMOVED"
GOOS="linux"
GOPATH="/home/ainar/go"
GOPRIVATE="REMOVED"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/ainar/go/go1.17"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/ainar/go/go1.17/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.6"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1714127508=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

```go
package main

import "time"

func main() {
	println(time.Now().String())
}
```

```sh
env TZ="EST5EDT,M3.2.0/2,M11.1.0/2" /usr/bin/date
env TZ="EST5EDT,M3.2.0/2,M11.1.0/2" busybox date
env TZ="EST5EDT,M3.2.0/2,M11.1.0/2" go run ./main.go
```

### What did you expect to see?

```none
Thu 27 Jan 12:16:17 EST 2022
Thu Jan 27 12:16:17 EST 2022
2022-01-27 12:16:17.468764876 -0500 EST m=+0.000003001
```

### What did you see instead?

```none
Thu 27 Jan 12:16:17 EST 2022
Thu Jan 27 12:16:17 EST 2022
2022-01-27 17:16:17.468764876 +0000 UTC m=+0.000003001
```

### Additional information

 *  `/usr/bin/date` is from GNU coreutils, version 8.30.

 *  The Busybox version is v1.30.1.

 *  The format seems to be conformant with the [POSIX standard][1].

 *  `EST5EDT` without the `start` and `end` modifiers seems to work.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html
Repository: deno
Issue: Binary releases do not include licenses
Labels: build,feat

Releases on GitHub violate the licenses of their dependencies as they do not include any of the necessary copyright or license notices. `deno_lint` and `rusty_v8` are in a similar situation, plus any of the distribution methods like `deno_install` that rely on the GitHub releases.
Repository: tensorflow
Issue: Ability to clear cache on CacheDataset
Labels: type:feature,comp:data,2.6.0

**System information**
- TensorFlow version (you are using): 2.6.0
- Are you willing to contribute it (Yes/No): yes

**Describe the feature and the current behavior/state.**

If a dataset is cached, there is currently no public API for explicitly clearing the cache (I think?).

**Will this change the current api? How?**

Add `clear()` or `clear_cache()` method (perhaps on DatasetV2 class?). After calling this function, the cache has been evicted.

**Who will benefit with this feature?**

People using data augmentations who would like to create a fresh set of augmentations after each epoch (or say, every N epochs). For example, [here is an unanswered stack overflow question](https://stackoverflow.com/q/65037119/1430829) where a number of people have upvoted indicating the desire for this capability.

**Any Other info.**

For file-based caches, I think simply deleting the the cache file would suffice as a workaround for now. I'm not sure if there's a workaround for in-memory caches.
Repository: flutter
Issue: Add-To-App not releasing all memory even if flutter engine is destroyed
Labels: platform-ios,engine,c: performance,a: existing-apps,perf: memory,P2,team-ios,triaged-ios

We use Flutter for the UI, but have a need to do a lot of background tasks. Because of this, we need the app to survive in the background. These background tasks are not done in the Flutter layer, but instead in the Swift side. The Flutter component is only used to show the UI to the end user. We are experiencing a lot of reports of crashing, and this is because Apple is killing our app due to memory (worth noting that our app only runs on iOS devices at the moment and not on Android). Ideally, we would like to offload Flutter somehow when the user puts the app in the background to save memory. However, we cannot seem to do that. We realize there may be a tradeoff of slower startup times each time the user comes to the app, but this is acceptable. We are calling flutterEngine.destroyContext() when it gets backgrounded and setting it to nil, but that doesn't help as much as we thought. Any help would be appreciated as to what else is still hanging onto memory from the Flutter side.

## Details

We have followed the Flutter add-to-app approach. We actually created a shell program that reproduces the issue quite well in hopes of showing the problem. It uses the default flutter counter program that is that is created and the Flutter side was not touched. We changed some stuff in the AppDelegate - but mostly only when the app gets backgrounded/foregrounded. It is pushed to a github at the following URL: https://github.com/PfernFSU/FlutterBackground

**Target Platform:** iOS
**Target OS version/browser:** Any iPhone
**Devices:** Any

## Logs

No logs needed. We do have a graph of the memory output, however. You can see the peaks/valleys of when it goes to the background/foreground. The memory never gets fully released. 


![image (1)](https://user-images.githubusercontent.com/1178915/151409557-3c53b57e-502a-4a97-9dad-c3affb5a5e89.png)
Repository: godot
Issue: Mouse is black square when using .tres
Labels: bug,topic:core

### Godot version

3.4.2

### System information

PopOS

### Issue description

When you assign a .tres file to the mouse all you get is a black solid square the size of the image.

```
var c=preload("res://assets/graphics/sheet_ui.sprites/extra_original4.tres")
Input.set_custom_mouse_cursor(c)
```

I expect this is linked to the fact that if you go to the project/settings to set the default mouse cursor it does not accept .tres files.

I guess this is a technical reason, but no errors are generated in code, there are no warnings/errors shown if you select a .tres in the project settings (it's happy to take a .tres) and in the documentation for set_custom_mouse_cursor it doesn't say it won't work only it takes a Resource, which is what a .tres file is. From my point of view a .tres can just be simply a region of a png file so the texture should copy.

btw, I am seeing this in my error log:
```E 0:00:00.865   get_pixel: Index p_x = -1 is out of bounds (width = 40).
  <C++ Source>  core/image.cpp:2560 @ get_pixel()
  <Stack Trace> Menu.gd:27 @ _ready()
```

### Steps to reproduce

as above.

### Minimal reproduction project

_No response_
Repository: material-ui
Issue: [Stepper] Unnecessary rerender with StepContent
Labels: performance,component: stepper

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

I'm trying to combine the Vertical Stepper Component with the components that I already had. Something weird happens that whenever I go to the next step, the component inside the `<StepContent>` render twice and it's not happening the first time the component is rendered.


### Expected behavior 🤔

Better render performance with children elements inside the `<StepContent>`

### Steps to reproduce 🕹

Codesanbox: https://codesandbox.io/s/verticallinearstepper-material-demo-forked-ossb3?file=/demo.js

Steps:

1. See `render Test Component` from the `console` on the first time the web app is loaded
![image](https://user-images.githubusercontent.com/35174855/151439977-7c9d56dc-e91e-46ef-ad2c-d4603d03a966.png)

2. Click Continue

3. See `render Test Component` from the `console` is called twice this time
![image](https://user-images.githubusercontent.com/35174855/151440018-372d4e30-34da-474d-946f-940d82b68aea.png)




### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary>`npx @mui/envinfo`</summary>
```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>
Repository: react
Issue: Profiler should support importing profiles without React being connected
Labels: Type: Feature Request,Component: Developer Tools

A user has reported frustrations with being unable to import a profile/trace into React DevTools when no app was connected. (This applies to both the browser extension (React DOM) and standalone DevTools (React Native).

While the UX for this ask is clear enough, we should consider the following:
* Browser extension: Is it confusing to change React DevTools to show for non-React websites?
* Standalone: Where will we show the connection instructions if we show the DevTools UI? (The splash UI is usually a page of instructions on how to connect.)
* Does anything else break when the UI is shown without at least one connected renderer?