sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: Refactor FlexibleLayout to separate out "this stride can be changed" and "how this buffer is allocated can be changed" 
Labels: triaged,oncall: pt2,module: inductor

### 🚀 The feature, motivation and pitch

Currently, we have two layouts:
- FixedLayout
- FlexibleLayout

Where FixedLayout basically means "We already decided the layout, don't change it" while FlexibleLayout means "we are free to change this layout".

However, I think there are actually two different components of "decided this layout":

1. What is the output **stride** of this layout?
2. Who allocates the actual buffer for this tensor?

I believe conflating these causes some problems:

- For inductor template tuning, we care about the **stride** of the output layout, but we don't care who allocated the buffer (e.g. if it's just a view into a larger concat buffer).  And Elias points out that he noticed this too here: https://github.com/pytorch/pytorch/pull/132554#issue-2445835622
- For Yifu's recent PR (https://github.com/pytorch/pytorch/pull/138029), he cares about "who allocates the buffer for this layout", but he doesn't care about "what is the actual stride of this layout".

My proposal is that we scrap our current subclasses of Layout and refactor it into:
```
class Layout:
    stride: FlexibleStride or FixedStride
    allocator: NonOwningAllocator (view into another allocation) or Flexible or SymmMem
```

cc: @eellison @yifuwang @shunting314 @jansel 

### Alternatives

_No response_

### Additional context

_No response_

cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov
Repository: kubernetes
Issue: Recreate the Device Manager gRPC server if failed
Labels: priority/backlog,area/kubelet,sig/node,kind/feature,help wanted,triage/accepted

We need to ensure Device Plugin infrastracture is reliable by implementing the following:

1. Retry to start the server if it failed (see https://github.com/kubernetes/kubernetes/pull/125513 for places where the gRPC server may fail).
2. If server is not up, integrate it as a source for the kubelet health status (see https://github.com/kubernetes/kubernetes/issues/127460)

Retry should be reasonable easy to implement. Instead of a goroutine that simply started the Server, an advanced goroutine that Serve and retries can be used. I think it would be best to also try to re-create the socket if it was deleted. The retry logic must be unit tested as well as e2e_node test should be added.

Integrating with the health checking will require implementing an interface that will report "unhealthy". The important part here is that the health checking must not involve any lock or calculations. A simple bool value check should be a preferred way to do the health check.

/cc @ffromani @bart0sh 

/help
/kind feature
/sig node
/priority backlog
/area kubelet
Repository: rust
Issue: Footgun with Rc::assume_init and related methods
Labels: T-libs-api,A-docs,T-libs

### Location

I came across https://doc.rust-lang.org/nightly/std/rc/struct.Rc.html#method.assume_init recently, and spotted a footgun that I think ought to be called out:



### Summary

The safety section does not clarify whether multiple `Rc`s are allowed to exist when `assume_init` is called. If they are, then whether `Drop` is called on the inner value will depend on the drop order of those `Rc`s. In the case of `Arc` this might well be non-deterministic.

IMO, the documentation should specify whether this is allowed, and if so should point out that callers must take care around this potential issue.
Repository: next.js
Issue: Missing `src.blurDataURL` for default metadata images while importing `apple-icon.png`/`icon.png`/`opengraph-image.png`/`twitter-image.png` with Turbopack enabled
Labels: bug,Turbopack,linear: turbopack

### Link to the code that reproduces this issue

https://github.com/dimaMachina/repro-next/tree/missing-src.blurDataURL

### To Reproduce

Run `pnpm dev`

### Current vs. Expected behavior

See errors:

```text
Error: Image with src "/_next/static/media/opengraph-image.41136f47.png" has "placeholder='blur'" property but is missing the "blurDataURL" property.
Error: Image with src "/_next/static/media/icon.92de3cc2.png" has "placeholder='blur'" property but is missing the "blurDataURL" property.
Error: Image with src "/_next/static/media/opengraph-image.41136f47.png" has "placeholder='blur'" property but is missing the "blurDataURL" property.
Error: Image with src "/_next/static/media/twitter-image.92de3cc2.png" has "placeholder='blur'" property but is missing the "blurDataURL" property.
```

Without `--turbo` I don't have any error.

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 22.5.0: Mon Apr 24 20:53:19 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6020
  Available memory (MB): 98304
  Available CPU cores: 12
Binaries:
  Node: 20.15.1
  npm: 10.7.0
  Yarn: N/A
  pnpm: 9.12.1
Relevant Packages:
  next: 15.0.0-canary.196 // There is a newer canary version (15.0.0-canary.197) available, please upgrade! 
  eslint-config-next: 14.1.0
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.6.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Turbopack

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

_No response_
Repository: create-react-app
Issue: How to fix module not found error
Labels: needs triage

how would i fix this error:
Module not found: Error: Can't resolve '.src/.Components' in 'C:\Users\12142\OneDrive\Desktop\Form Data 2 JS\datascripts\src'
Repository: vscode
Issue: Add a basic filter to recently opened workspaces list
Labels: feature-request,workbench-history


Type: <b>Feature Request</b>

Could we please have a filter to recently opened workspaces list , that can select out workspaces according to which profile was used , where the file location is, etc. 

VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.26100
Modes:


<!-- generated by issue reporter -->
Repository: vscode
Issue: Allow connecting to unsupported Linux remotes, by use of custom glibc and stdc++ libraries
Labels: feature-request,install-update,remote

<!-- ⚠️⚠️ 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. -->

# Context 

I'm following up on a change from earlier this year that caused the "Remote - SSH" VS Code extension to become incompatible with Amazon Linux 2 (among others) by enforcing a version requirement on `glibc >= 2.28` and `libstdc++ >= 3.4.25`. As a temporary workaround, Microsoft made a change to allow VSCode to connect to incompatible OS versions until February of 2025.

## Related links:
- https://github.com/microsoft/vscode/issues/201129
- https://github.com/microsoft/vscode/issues/203375

# Request

With February 2025 fast approaching, it would be helpful to clarify what your action plan is for February. A concrete plan will help those of us who rely on VSCode (and the Remote - SSH extension) for our development workflows to understand what our options are. To kick off this line of communication, I have a few questions:

1. Is there any plan to extend the February 2025 timeframe?
1a. If not, will support be going away at the *beginning* or the *end* of February? 
2. Will you be making an explicit change to disable legacy compatibility?
2a. What change (or changes) might that be?
2b. Will elements like `/tmp/vscode-skip-server-requirements-check` still exist?
3. Would you be willing to provide a draft release with your planned changes so that we can be proactive in evaluating workarounds?

Closely related to my request for opening up a line of proactive communication, I'd also like to request that the legacy compatibility stay in place to whatever extent it is possible and practical to maintain. For users in many environments, pinning versions and missing out on security patches is a complete non-starter. We'd be forced to move to different tooling at least until we move to new, compatible systems.

As a user, I worry that I'll be "left behind" by VSCode despite being on a mainstream distribution's active LTS release.
Repository: PowerToys
Issue: Powertoys Run Not Responding
Labels: Issue-Bug,Product-PowerToys Run,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.85.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

I believe this issue first occurred yesterday (17 Oct 2024 New Zealand Time). I haven't noticed any pattern to this issue. I thought it might happen when my last prompt was opening a file on a network drive, but it has also happened when the last prompt was opening remote desktop.

I can't replicate this issue every time. I think it might occur when it's been a while since I last opened PowerToys Run. Maybe this means Windows is stopping some background services or something?

I see there are other recent reports of PowerToys Run crashing. I haven't had that specific issue where it opens an error log occur.

It seems to be similar to [PowerToys Run freezes for a few seconds when opened sometimes](https://github.com/microsoft/PowerToys/issues/32806) but not quite the same. In my case the window shows as you would expect, not blurred.

Steps to Reproduce:
1. Press Alt + Space to open PowerToys Run

[PowerToysReport_2024-10-18-14-02-03.zip](https://github.com/user-attachments/files/17426282/PowerToysReport_2024-10-18-14-02-03.zip)


### ✔️ Expected Behavior

PowerToys Run opens immediately and I can type a command or search query

### ❌ Actual Behavior

- Sometimes the expected behaviour
- Sometimes PowerToys Run will open and display my previous query but it is frozen and won't respond to any input for 5-10 seconds. After this time, whatever I typed while it was frozen appears.

### Other Software

_No response_
Repository: flutter
Issue: [iOS] Clean up method calls in FlutterViewController initialisers and dealloc
Labels: platform-ios,engine,P2,c: tech-debt,team-ios,triaged-ios

Calling helper methods in initialisers and dealloc is unsafe. Methods should only ever be called on fully initialised objects since methods can be overridden in subclasses.

The iOS FlutterViewController calls methods from both its initialisers and its dealloc. We should fix this, but it's probably also an indication that FlutterViewController is doing too much.
Repository: tauri
Issue: [feat] Monitoring of window maximized and restored window events
Labels: type: feature request

### Describe the problem

Currently, only events for monitoring size changes are provided. There is no monitoring for events such as maximized, restored the window, minimized, etc. If you need to monitor the events of maximized and restored the window, you can only judge it by listening for changes in the size of the window. It depends on whether the window is maximized and the direction is changed. This will cause the event listener to be triggered frequently. If possible, can you provide a listener for events such as maximized, restored the window, minimized, etc.

### Describe the solution you'd like

```rust
pub enum WindowEvent {
    // Ignore other fields
    Maximized(bool),
    Minimized(bool),
    Restored(bool),
}

### Alternatives considered

_No response_

### Additional context

_No response_
Repository: ollama
Issue: It is hoped that it can be compatible with Intel ultra1 and 2 generation chip core display
Labels: feature request
Repository: pytorch
Issue: Cache enablement should be tested inside of cache load() function, not at call site
Labels: triaged,oncall: pt2,compile-cache

### 🐛 Describe the bug

Sample:

```
    # Autograd cache stuff
    remote = should_use_remote_autograd_cache()
    local = should_use_local_autograd_cache()
            
    if local or remote:
        compiled_fn = AOTAutogradCache.load(
            dispatch_and_compile,
            mod,
            fake_flat_args,
            aot_config,
            cudagraphs,
            local,
            remote,
        )
    else:
        compiled_fn = dispatch_and_compile()
```

I can kind of see why it's written this way: you want to avoid exercising the AOTAutogradCache.load codepath at all which makes it less risky. But I think this is a false economy. Just do the test inside load(). This gives way better information hiding, since cache being enabled or not management is done entirely inside of AOTAutogradCache class, and that's two less functions I have to expose to external calls.

Inductor also suffers from this antipattern which I guess is where the pattern was copied from

```
        if (
            not config.force_disable_caches
            and (config.fx_graph_cache or fx_graph_remote_cache)
            and not aot_mode
        ):
            for i, input in enumerate(example_inputs):
                if (
                    isinstance(input, torch.Tensor)
                    and input.device.type == "cuda"
                    and i in static_input_idxs
                ):
                    input._is_inductor_static = True  # type: ignore[attr-defined]
            compiled_graph = FxGraphCache.load(
                codegen_and_compile,
                gm,
                example_inputs,
                graph_kwargs,
                inputs_to_check,
                local=config.fx_graph_cache,
                remote=fx_graph_remote_cache,
```

cc @chauhang @penguinwu @jamesjwu @oulgen 

### Versions

main
Repository: pytorch
Issue: max_block['X'] not synced with max XBLOCK size (error shows up in `create_block_mask`)
Labels: triaged,module: inductor

### 🚀 The feature, motivation and pitch

```python 
import torch
torch.set_default_device('cuda')
from triton.testing import do_bench
from torch.nn.attention.flex_attention import create_block_mask

def local_mask(b, h, q_idx, kv_idx):
    return (q_idx - kv_idx).abs() < 512

print(do_bench(lambda: torch.compile(create_block_mask)(local_mask, B=None, H=None, Q_LEN=2**24, KV_LEN=2**24)))
```

```shell
  File "/home/chilli/local/pytorch/torch/_inductor/runtime/triton_heuristics.py", line 1376, in triton_config_reduction
    check_config(cfg, xnumel=size_hints[0])
  File "/home/chilli/local/pytorch/torch/_inductor/runtime/triton_heuristics.py", line 1203, in check_config
    assert max_block % block == 0, (
           ^^^^^^^^^^^^^^^^^^^^^^
torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
AssertionError: TritonKernel.indexing assumes XBLOCK divides config.triton.max_block["X"] but XBLOCK=8192 and config.triton.max_block["X"]=4096 (cfg={'XBLOCK': 8192, 'RBLOCK': 1}).
```

cc: @oraluben since it's relevant to the last discussion

### Alternatives

_No response_

### Additional context

_No response_

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov @drisspg @yanboliang @BoyuanFeng @ezyang @zou3519 @ydwu4
Repository: ant-design
Issue: 颜色选择器支持多种渐变
Labels: 💡 Feature Request,Inactive,🧶 Low Priority

### What problem does this feature solve?

希望颜色选择器的渐变模式除了线性渐变外还可以生成径向渐变、锥型渐变和对称渐变

### What does the proposed API look like?

mode	选择器模式，用于配置单色与渐变	('single' | 'linear-gradient' | 'radial-gradient' | 'conic-gradient')[]

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: terminal
Issue: Subsequent `wt.exe /min` to an existing window restores a minimized window
Labels: Help Wanted,Issue-Bug,Product-Terminal,Area-Remoting,Area-Windowing

### Windows Terminal version

1.22.2702.0

### Windows build number

10.0.19045.4894

### Other Software

_No response_

### Steps to reproduce

new console creating wt.exe respects ```/min```
```start /min wt.exe -w exam``` -> new wt, single tab, minimized
```start /min wt.exe -w exam sp``` -> new wt, single tab, minimized, two panes


### Expected Behavior

```
start /min wt.exe -w exam && ^
(echo "sleep 1.0" && ping -n 2 localhost) > NUL && ^
start /min wt.exe -w exam sp
```
-> minimized wt, single tab, two panes

### Actual Behavior

```
start /min wt.exe -w exam && ^
(echo "sleep 1.0" && ping -n 2 localhost) > NUL && ^
start /min wt.exe -w exam sp
```
-> visible wt, single tab, two panes
Repository: ui
Issue: [bug]: creating a new project with bunx has error "Something went wrong creating a new Next.js project. Please try again."
Labels: bug

### Describe the bug

Init new project with `bunx` has issue. Command: `bunx --bun shadcn@latest init -d`

**Output:**
```
✔ The path /Users/username/Developer does not contain a package.json file. Would you like to start a new Next.js project? … yes
✔ What is your project named? … some-app
⠇ Creating a new Next.js project. This may take a few minutes.
Something went wrong creating a new Next.js project. Please try again.
```

**Expected:**
- new project is created

**Note:**
- using other package manager like `npm` works. I haven't tested the rest

### Affected component/components

No

### How to reproduce

1. run `bunx --bun shadcn@latest init -d`
2. type `Y` for starting new project
3. type project name

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Mac OS, M3 Macbook Pro
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: deno
Issue: messed up terminal after terminating vite server on windows
Labels: bug,node compat

Version: Deno 2.0.2

In a vite project, run `deno task dev` and then close it using CTRL + C.
The terminal freezes and I cannot type anything.

current:
```
PS C:\Users\dhairy\courses> deno task dev
Task dev vite

  VITE v5.4.9  ready in 138 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
PS C:\Users\dhairy\courses> ^CTerminate batch job (Y/N)?
```
expected (npm):
```
PS C:\Users\dhairy\courses> npm run dev

> courses@0.0.0 dev
> vite


  VITE v5.4.9  ready in 159 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
Terminate batch job (Y/N)? y
PS C:\Users\dhairy\courses> 
```
Repository: vscode
Issue: SCM - move action buttons on inline window to the left
Labels: ux,scm,under-discussion

<!-- ⚠️⚠️ 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. -->

There are inlinine windows for git actions, whetever there is new change in the codebase the aeria on right side form the line numbers can be clicked and inline window will be opened. 99% of the time, my desired action is to revert changes by clicking button which is on the right side of the inline window, and if someone has wide monitor that can be inconvinient. I am proposing to move those buttons to the left side, closer to line numbers.

If that is not feasable could we have context menu with right click on the green lines, that indicates git changes, and there we can have revert changes action?

![Image](https://github.com/user-attachments/assets/8362ea47-b522-4be4-b100-045c1410dc67)


I would also propose for Peek References and other actions that require inline window, that the view is inverted and moved to the left, such as button and list of references/implementations etc, as it shortens the mouse drag and increase convinience, however on the other side I can imagine that people are used to this view, but hey, if something will improve the dev flow I am for it.
![Image](https://github.com/user-attachments/assets/701179dd-5d11-4e56-aca2-eae66727868c)
Repository: go
Issue: crypto/x509: ParseCertificate fails with "net/url: invalid userinfo"
Labels: NeedsInvestigation

### Go version

go version go1.18.1 linux/amd64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/liu/.cache/go-build"
GOENV="/home/liu/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/liu/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/liu/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go-1.18"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.18/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.1"
GCCGO="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-build3649475886=/tmp/go-build -gno-record-gcc-switches"
```


### What did you do?

Use cert, err := x509.ParseCertificate(derBytes) to process the certificate

### What did you see happen?

Error message：cannot parse URI "https://1kYj\\[@.cfZGv3T_Tr.D?/zrm3/4WA/Ir}BQ/yR]/0[g?<tX=uR?&K'O={d2}&sG?rLi=<}e>": parse "https://1kYj\\[@.cfZGv3T_Tr.D?/zrm3/4WA/Ir}BQ/yR]/0[g?<tX=uR?&K'O={d2}&sG?rLi=<}e>": net/url: invalid userinfo

### What did you expect to see?

The results are different from Openssl and Gnutls. Openssl's openssl x509 -noout -text -in filename and gnutls's certtool -i --infile=filename --inraw successfully viewed the certificate.Both successfully resolved SAN
![gnutls](https://github.com/user-attachments/assets/076c215a-e223-4cdb-8e49-2cd9d3fa5dd2)
![openssl](https://github.com/user-attachments/assets/f6030785-1e38-4769-8dac-dc12e34f846d)
Repository: godot
Issue: Tearing when using UV to access an array of sampler2d's
Labels: discussion,documentation,topic:shaders

### Tested versions

Reproducible in: 4.3stable and 4.4dev3

### System information

Godot v4.3.stable - Windows 10.0.26100 - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 (Advanced Micro Devices, Inc.; 32.0.12011.1036) - 12th Gen Intel(R) Core(TM) i3-12100F (8 Threads)

### Issue description

I wrote a short shader to have a mesh sample one image when UV.x < 0.5, and another image otherwise.
Here it is:
```
shader_type spatial;
uniform sampler2D[2] images : source_color;

void fragment() {
	ALBEDO = texture(images[int(step(0.5, UV.x))], UV).rgb;
}
```

But when you put it on a mesh and fill the array with two different images it looks something like this:
![tearing_showcase](https://github.com/user-attachments/assets/c18c718b-5847-41da-bfb1-5aa9ef7c3ba4)

I expected a clean line in the middle separating the two images, like this:
![image](https://github.com/user-attachments/assets/bf6f4bb6-c626-4d40-affb-9f1c9722803a)

The code for the above:
```
shader_type spatial;
uniform sampler2D[2] images : source_color;

vec3 get_color(int index, vec2 uv) {
	if(index == 1) {
		return texture(images[1], uv).rgb;
	}
	return texture(images[0], uv).rgb;
}
void fragment() {
	ALBEDO = get_color(int(step(0.5, UV.x)), UV);
}
```


### Steps to reproduce

After you open the MRP, the issue should be visible immediately.

### Minimal reproduction project (MRP)

[MRP_bug.zip](https://github.com/user-attachments/files/17430209/MRP_bug.zip)