sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: encoding/json: tags can't have Unicode punctuation
Labels: Documentation,NeedsInvestigation

### What version of Go are you using (`go version`)?

1.18.3

### Does this issue reproduce with the latest release?

1.18.3 is the latest release at the time of writing

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/john/.cache/go-build"
GOENV="/home/john/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/john/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/john/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/john/sdk/go1.18.3"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/john/sdk/go1.18.3/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.3"
GCCGO="/usr/bin/gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1281614776=/tmp/go-build -gno-record-gcc-switches"

</pre></details>

### What did you do?

Try to use a struct with a tag that has non-ASCII symbols in it, e.g.

```go
type T struct {
	Foo31 string `json:"foo-3·1"`
}
```

https://go.dev/play/p/IwgJHZCedCE


### What did you expect to see?

Tags can be anything, and JSON places no limits on this either (the name of a name/value pair is “a string”), and the encoding/json package mentions no limits, so I'd expect it to just work: the above playground link should produce
```
{"foo-3·1":"hi"}
<nil>
```

### What did you see instead?

the tag is silently ignored and you get
```
{"Foo31":"hi"}
<nil>
```
this is because encoding/json's `isValidTag` only allows (some) ASCII symbols:
https://github.com/golang/go/blob/95b68e1e02fa713719f02f6c59fb1532bd05e824/src/encoding/json/encode.go#L972-L987
Repository: pytorch
Issue: Multi30k can't be downloaded the destination domain can't be reached
Labels: triaged

### 🐛 Describe the bug

Could not get the file at http://www.quest.dcs.shef.ac.uk/wmt16_files_mmt/training.tar.gz. 

This website can't be reached!

Is there a substitution?

### Versions

torch                             1.11.0
torchaudio                        0.11.0
torchdata                         0.3.0
torchtext                         0.12.0
torchvision                       0.12.0
Repository: puppeteer
Issue: Any option available in Puppeteer to sense complete page download?
Labels: feature

### Bug description

We have been using `page.goto()` with `waitUntil` & `timeout` options of Puppeteer to download the content of the page. But recently we observed that for some urls returning dynamic content(developed using Angular, ReactJs, VueJs, etc.) it is partially returning the page content. Seems like `waitUntil` doesn't have mechanism to sense that entire page content is loaded. We either need to add `await sleep()` or set a higher default timeout in `networkdidle0` option parameter to `page.goto()`. Since the page content is dynamically generated, we cannot preset the `timeout` or `sleep` value.
We are also using `page.content()` which can be used to download the page content. Is there any option parameter available which can help us to get the full content of the page? Or is there any event linked to the `page.content()` which gets triggered once it fetches entire page content?

### Puppeteer version

5.2.1

### Node.js version

14

### npm version

6

### What operating system are you seeing the problem on?

Linux

### Relevant log output

_No response_
Repository: pytorch
Issue: Corner cases of ShardedTensor checkpoint when using TorchRec
Labels: oncall: distributed,module: checkpoint,triaged,sharded_tensor,release notes: distributed (sharded)

### 🐛 Describe the bug

Our team is trying torchrec in our business. It seems that torchrec does not support its own model save/load api that supports resharding, e.g. training with multiple gpus while inferencing with one. I've tried to use the recently introduced distributed checkpoint for ShardedTensor (https://github.com/pytorch/pytorch/pull/76123) according to the suggesting here: https://github.com/pytorch/torchrec/issues/346. It's really nice to have a unified way to store tensors and sharded tensors across machine, but I encountered some corner cases that are not working at the moment, for examples:

1. In torchrec, some embeddings (sharded tensors) only locate on part of the gpus, but we only stored the metadata of rank 0 now, which will trigger error when loading.
2. Some small embeddings are planned as data-paralleled when using multiple cards, which will be stored into a Tensor for each rank, but they are planned as row-wise when using 1 gpu, which will be stored as a ShardedTensor and cause type mismatch when loading.
3. We hope not to use the DMP (distributed model parallel) wrapper when doing inference so that the JIT tracing will work. However, all tensors in the model will be plain Tensor. Users of FSDP may also encounter this problem.

The first bug here can be solved separately and I will try to make a PR for it :) However, I think the last 2 is relevant to the design choices of pytorch and torchrec, for instance, shall we allow loading sharded tensor into a single tensor if the total size matches and shall the all tensors in torchrec in be labeled as data-parallel when training with only one gpu? I wonder if you could share some of your ideas for these problems. I would be great if all of these have be solved in the 'snapshot API' mentioned here: https://github.com/pytorch/torchrec/issues/346#issuecomment-1145203954. And if that's the case, could you share some of the progress of this API?

Our team love torchrec as it has brought us great flexibility of pytorch and the speed from the gpu native design! And of course we love pytorch! Therefore we hope to be able to use torchrec in practice soon :) I'd love to help if there is anything I can do~

Thank you for your time on this long issue and looking forward to your ideas!

gently ping @kumpera @dstaay-fb @colin2328 

### Versions

nightly

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang @kwen2501
Repository: storybook
Issue: Support --yes-open param or something similar
Labels: feature request,cli

**Is your feature request related to a problem? Please describe**
The `--ci` param of `start-storybook` will auto-yes any prompts (to run on port `1001` if `1000` is taken) but not spawn a browser. I want to auto-yes any prompts (auto-increment ports) _and_ auto-spawn a browser.  

**Describe the solution you'd like**
Is there an opposite of `--no-open` ?  ideally something like: `start-storybook --ci -p 3002 --yes-open` or `start-storybook --auto-yes -p 3002`.

**Describe alternatives you've considered**
n/a

**Are you able to assist to bring the feature to reality?**
no
Repository: kubernetes
Issue: kubelet: Document out of scope causes of failure
Labels: kind/documentation,sig/node,priority/important-longterm,lifecycle/frozen,needs-triage

/sig node
/kind documentation

There are a handful of things that can cause the Kubelet to fail, where the Kubelet doesn't have strong defense against them. We should document these cases and be open about where they exist.

As an example:
- IO Contention
- Slow disk accounting
- Memory exhaustion

/cc @derekwaynecarr @smarterclayton
Repository: youtube-dl
Issue: Unsupported URL (https://www.pornlib.com/)
Labels: site-support-request,Good first issue

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [ X] I'm reporting a new site support request
- [ X] I've verified that I'm running youtube-dl version **2021.12.17**
- [ X] I've checked that all provided URLs are alive and playable in a browser
- [ X] I've checked that none of provided URLs violate any copyrights
- [ X] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.pornlib.com/video/buxom-teen-sends-her-lovely-lips-bringing-a-cock-to-orgasm-277094#


## Description

youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' 'https://www.pornlib.com/video/buxom-teen-sends-her-lovely-lips-bringing-a-cock-to-orgasm-277094#'

[generic] buxom-teen-sends-her-lovely-lips-bringing-a-cock-to-orgasm-277094#: Requesting header
[redirect] Following redirect to https://www.pornlib.com/video/buxom-teen-sends-her-lovely-lips-bringing-a-cock-to-orgasm-277094
[generic] buxom-teen-sends-her-lovely-lips-bringing-a-cock-to-orgasm-277094: Requesting header
WARNING: Falling back on generic information extractor.
[generic] buxom-teen-sends-her-lovely-lips-bringing-a-cock-to-orgasm-277094: Downloading webpage
[generic] buxom-teen-sends-her-lovely-lips-bringing-a-cock-to-orgasm-277094: Extracting information
ERROR: Unsupported URL: https://www.pornlib.com/video/buxom-teen-sends-her-lovely-lips-bringing-a-cock-to-orgasm-277094
%
Repository: pytorch
Issue: Random functions should infer device from user-specified Generator
Labels: triaged,enhancement,module: random

### 🚀 The feature, motivation and pitch

As of PyTorch 1.11.0, PyTorch's functions for drawing random numbers will not infer the appropriate device from a user-provided RNG:

```python
gen = tr.Generator(device="cuda:0")
tr.rand(1, generator=gen)   # RuntimeError: Expected a 'cpu' device type for generator but found 'cuda'
tr.rand(1, generator=gen, device=gen.device)  # OK
```

I am recommending that functions like `tr.rand` should infer their device from the RNG when `tr.rand(... device=None)`

```python
# pitch: these should all be OK

gen = tr.Generator(device="cuda:0")
tr.rand(1, generator=gen)
tr.rand(1, generator=gen, device=None)  
tr.rand(1, generator=gen, device=gen.device)
```



### Alternatives

_No response_

### Additional context

I have found that the current behavior makes it all too easy to write buggy code, since writing `tr.rand(1, generator=gen)` "feels" like it should always work. 

Furthermore, it is challenging to catch this potential bug in tests, unless you already anticipate this exact issue (it is not very likely that people would think to test cases where the generator is placed on various devices).

cc @pbelevich
Repository: flutter
Issue: WidgetsBinding.instance.window.frameData.frameNumber throws in tests
Labels: a: tests,framework,P2,team-framework,triaged-framework

```dart
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('frameData', (WidgetTester tester) async {
    print(WidgetsBinding.instance.window.frameData.frameNumber);
  });
}
```

throws:

```
00:02 +0: frameData                                                                                                                                                                                       
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following _TypeError was thrown running a test:
type 'Null' is not a subtype of type 'FrameData'

When the exception was thrown, this was the stack:
#0      TestWindow.frameData (dart:ui/window.dart:687:17)
#1      main.<anonymous closure> (file:///Users/dnfield/src/flutter/flutter.widgets/packages/visibility_detector/test/window_test.dart:6:42)
#2      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:171:29)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

The test description was:
  frameData
════════════════════════════════════════════════════════════════════════════════════════════════════
00:02 +0 -1: frameData [E]                                                                                                                                                                                
  Test failed. See exception logs above.
  The test description was: frameData
  
00:02 +0 -1: Some tests failed.             
```
Repository: pytorch
Issue: When setting sizes and strides on a tensor subclass in `THPVariable_make_wrapper_subclass`, also make offset symbolic
Labels: triaged,lazy,module: lazy

More discussion here.

https://github.com/pytorch/pytorch/blob/eca474f93cfaa19786d665655378411edc370bbe/torch/csrc/autograd/python_variable.cpp#L673-L679
Repository: flutter
Issue: Incorrect rendering of strokeWidth=0 paint on mobile browsers
Labels: engine,platform-web,c: rendering,e: web_html,has reproducible steps,P2,found in release: 3.0,found in release: 3.1,team-web,triaged-web


An app that uses `strokeWidth = 0` (hairline stroke) will not be rendered correctly on a mobile browser, but works fine in a desktop browser. Instead, it appears that when painting with hairline stroke width, the actual stroke will be taken from the previous paint command whatever it was.


## Steps to Reproduce

See the following DartPad: https://dartpad.dev/?id=3948a3a170922c1a7beb4c16b7089b41

**Expected results:** 
Two circles: 
 - inner circle is white, with a thick stroke
 - outer circle is red, with a thin stroke

**Actual results:**
[On mobile browser only]
Both circles have the same thick stroke width. 

Note: swapping the order of drawing the circles (i.e. draw the thin circle first) makes the result look correct.

<details>
<summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

const Color darkBlue = Color.fromARGB(255, 18, 32, 47);

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData.dark().copyWith(
        scaffoldBackgroundColor: darkBlue,
      ),
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: CustomPaint(
            painter: MyPainter(),
          ),
        ),
      ),
    );
  }
}

class MyPainter extends CustomPainter {
  final paint1 = Paint()
    ..style = PaintingStyle.stroke
    ..strokeWidth = 10
    ..color = const Color(0xFFffffff);
  final paint2 = Paint()
    ..style = PaintingStyle.stroke
    ..strokeWidth = 0
    ..color = const Color(0xFFFF0000);
  
  @override
  void paint(Canvas canvas, Size size) {
    const center = Offset(100, 100);
    canvas.drawCircle(center, 40, paint1);
    canvas.drawCircle(center, 60, paint2);
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) => false;
}
```

</details>
Repository: pytorch
Issue: Devirtualize `sym_sizes`. It still has to work for python tensor subclasses and LTC/Xla
Labels: triaged,lazy

The issue is as follows:

1. THPVariable_size now returns `sym_sizes`
2. Python tensors set `CustomSizes`
	1. Python tensors needs to run the default implementation of `sym_sizes`
	2. `CustomSizes` makes us use `sym_sizes_custom` which throws
3. LTC sets `CustomSizes`
	1. LTC needs to *reimplement* `sym_sizes`
4. Nested Tensors sets `CustomSizes`
	1. Nested Tensors needs to *reimplement* `sym_sizes`

I hacked around the issue by removing a check for the size policy in `sym_sizes` making it virtual and making it always call the default implementation. This inhibits compiler optimizations.
Repository: pytorch
Issue: Implement SymbolicIntNode interface for lazy (i.e. lazy::SymbolicIntNode)
Labels: triaged,lazy

These need to be implemented for lazy/xla tensors:

https://github.com/pytorch/pytorch/blob/eca474f93cfaa19786d665655378411edc370bbe/c10/core/SymbolicIntNode.h#L17-L63


by constructing IR nodes similar to https://github.com/pytorch/pytorch/blob/master/torch/csrc/lazy/core/tensor_impl.cpp#L91-L92

The IR is defined in https://github.com/pytorch/pytorch/blob/master/torch/csrc/lazy/ts_backend/dynamic_ir.h
Repository: godot
Issue: DisplayServer and starting on a different screen on MacOS
Labels: bug,platform:macos,topic:porting,regression

### Godot version

4.0.dev

### System information

MacOS

### Issue description

Setting the editor to run the project on a different screen than same as editor cause errors in calls to the DisplayServer

```
func _ready():
    var window_size = DisplayServer.window_get_size(DisplayServer.window_get_current_screen())
...
```


```
E 0:00:07:0944   _ready: Condition "!windows.has(p_window)" is true. Returning: Size2i()
  <C++ Source>   platform/osx/display_server_osx.mm:2222 @ window_get_size()
  <Stack Trace>  main.gd:9 @ _ready()
```

### Steps to reproduce

Change "Window Placement" on the editor Run settings to a different screen than the default "Same as Editor"

### Minimal reproduction project

_No response_
Repository: pytorch
Issue: Add a test that shows that lazy_ir reuse breaks SizeNodes
Labels: triaged,lazy

I suspect Bin's lazy_ir reuse breaks `SizeNode` as these eventually point to DeviceData leaves and are updated after each mark_step whereas `SizeNode` persist across multiple mark_steps
Repository: go
Issue: x/build/env/windows: remote desktop client is unreliable on gomote instances.
Labels: help wanted,OS-Windows,Builders,NeedsInvestigation

The use of remote desktop client is inconsistent across all of the Windows builders in the infrastructure.

- [ ] If possible, ensure all versions of the Windows builders have RDP enabled.
- [ ] Add RDP capability to the GRPC gomote command. This should be enabled by tunneling RDP through SSH. The coordinator SSH server should be modified to enable tunneling.

@golang/release
Repository: godot
Issue: Signal "released" auto emited when paused.
Labels: discussion,documentation,topic:input,topic:2d

### Godot version

v3.5.rc3.official [af8a02dda]

### System information

win10 64

### Issue description

The button "TouchScreenButton" is pressed but emits the signal "released" automatically when a pause occurs "get_tree().paused = true".
At all times the "TouchScreenButton" button is pressed.

That is not the behavior I would expect, the button should not send that signal automatically.

### Steps to reproduce

Execute the scene.
press and hold the touchscreenbutton with the godot texture
Label show the text "pressed"
Press down cursor.
pause is produced
label show "released".

Sorry for my english.

### Minimal reproduction project

[testsVarios.zip](https://github.com/godotengine/godot/files/8855526/testsVarios.zip)
Repository: godot
Issue: Vulkan: TileMaps sometimes render incorrectly on Android
Labels: bug,platform:android,topic:rendering,needs testing,topic:2d

### Godot version

4.0-alpha9

### System information

PC: Windows 10 64-bit; Phone: Samsung Galaxy A50

### Issue description

I'm working on little farming game. I played the game on my android phone, and I see that the tilemaps render incorrectly and look extremely weird.

https://user-images.githubusercontent.com/58695417/172458014-15e2b955-d40d-49f1-9712-81fd87e9aebd.mp4

Sometimes the game runs normal without any glitches, other times it looks extremely weird.

### Steps to reproduce

1. Download the project below.
2. Open it up in godot 4
3. Run it on your android device

### Minimal reproduction project

Since my game is very small and I plan to open source it anyway. You can download it [here](https://github.com/godotengine/godot/files/8855748/Farming.Game.zip).
Repository: pytorch
Issue: Add Autograd Support for Nested Tensor
Labels: triaged,module: nestedtensor

## Summary
This is the base issue with sub issues stored and tracked here.

Currently NestedTensors do not support autograd. The goal of this issue is to change that. There are a few parts to making this work and the sub components will be tracked in related issues referenced below.

#### Linked Issues:
- #79040
- #79447
- #79044
- #83773
Nice to have but there is a work around:
- #79046
- #79048

cc @cpuhrsch
Repository: PowerToys
Issue: PowerToys Run - app opened on top of the list (pinned)
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

When the quick launcher is showing up on the screen by default brings all the applications opened 

### Scenario when this would be used?

by default when its opened.

![image](https://user-images.githubusercontent.com/780662/172464724-118aea1a-7890-41c0-82de-a1321b118986.png)


### Supporting information

_No response_
Repository: flutter
Issue: Android emulator image based on host platform
Labels: c: new feature,platform-android,tool,c: proposal,P3,team-android,triaged-android

## Use case
 
When creating an emulator and the image does not exist, the instruction message suggests installing image x86_64 even for the arm host platform.

> No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example:  `sdkmanager "system-images;android-31;google_apis_playstore;x86_64"`  

## Proposal

The instruction message should consider the host architecture to inform the image name.
Repository: vscode
Issue: Suggestion: Make the interactive editor playground a multi-step guide
Labels: feature-request,interactive-playground

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

I absolutely love the idea of the interactive editor playground, but I was honestly a bit overwhelmed with the current format (i.e. dense wall of text) and basically just skipped it.

I think it could be improved a lot if the whole experience was split into a multi-step walk-through so information can be consumed in easier/smaller blocks. An example of what I'm envisioning is something like a simplified version of the [Svelte Tutorial](https://svelte.dev/tutorial), [Solid Tutorial](https://www.solidjs.com/tutorial), or even the VS Code onboarding/welcome experience itself.

P.S. I saw in [this issue](https://github.com/microsoft/vscode/issues/100260) that the interactive editor playground is seemingly an external extension, but I'm not sure where it lives, so if I should move this issue to a more appropriate repo let me know and I'd be happy to do so!