sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: Launching Terminal Preview as an administrator causes the username environment variable to be "SYSTEM"
Labels: Issue-Bug,Area-UserInterface,Product-Terminal

### Windows Terminal version

1.18.1462.0

### Windows build number

10.0.22621.0

### Other Software

_No response_

### Steps to reproduce

Right-click on WT icon and select "Run as Administrator"
Enter credentials for a different account than the signed in one.
When the pwsh prompt load, do '$env:username'
The result is "SYSTEM" instead of the expected username.

This does not occur when one launches pwsh outside of WT.

### Expected Behavior

Username returned by the 'username' environment variable should be the same as the credentials used to launch the application

### Actual Behavior

The 'username' environment variable returns "SYSTEM"
Repository: pytorch
Issue: TorchInductor Hack-a-Day on July 19th
Labels: triaged,tracker

### Better Engineering
- [x] #105571
- [ ] #105572

### Unit test
- [ ] skipIfTorchInductor tracker: https://github.com/pytorch/pytorch/issues/102207
- [x] #105534

### AOTInductor
- [x] #105552
- [x] #105553
- [ ] #105554
- [ ] Support rand fallback, https://github.com/pytorch/pytorch/issues/103415
- [x] #105555

###  Decompositions (write decomp, verify that Inductor has good performance on them and fuses as expected):
- [x] #105556
- [x] #105557
- [x] #105558
- [x] #105559
- [ ] #105560
- [ ] #105561
- [ ] #105562
- [x] #105563
- [x] #105564
- [x] #105565
- [ ] #105566
- [ ] #105567
- [ ] #105568

### Decomposition optimizations
- [ ] Lowering matmuls to pointwise operators when they’re small or bandwidth bound (https://github.com/pytorch/pytorch/issues/103313) 
- [ ] #105569

### Lowering:
- [ ] #105570
aten.grid_sampler_2d_backward (investigate using decomposition for backward as well)
aten.avg_pool3d

### Performance:
- [ ] Improve concat fusion with matmuls,   https://github.com/pytorch/pytorch/issues/102804
- [ ] Do smarter layout planning with concatenate, https://github.com/pytorch/pytorch/issues/102805
- [ ] Do concatenate copies with a foreach kernel if applicable, https://github.com/pytorch/pytorch/issues/103475
- [ ] Pattern-match operators into foreach kernels
- [ ] Stop zero-ing out non-differentiable outputs in AOTAutograd, https://github.com/pytorch/pytorch/issues/104272 

### Compilation time
- [ ] `will_fusion_create_cycle` takes a long time  , https://github.com/pytorch/pytorch/issues/98467
Repository: material-ui
Issue: [docs-infra] Inform users about minimal required version
Labels: dx,RFC,scope: docs-infra

## Context

When adding new props, we end up with user on an existing project that try them and get errors, because they are in a version that does not yet support this prop

For example we got a feedbacks about 

> I have an typescript error 
`"TS2322: Type '{ timezone: string; slots: { openPickerIcon: any; }; className: string; label: string; value: null; onChange: (e: null) => void; }' is not assignable to type 'IntrinsicAttributes & DateTimePickerProps<null> & RefAttributes<HTMLDivElement>'.   Property 'timezone' does not exist on type 'IntrinsicAttributes & DateTimePickerProps<null> & RefAttributes<HTMLDivElement>'`
>when trying to utilize "timezone" prop.

## Some problems

The main issues I see is the timeline. We have no idea about which version will contain the feature we are developing.

A solution could be that PR add some token such as `DATA_GRID_VERSION` and during the release phase those get replaced by the release version

## Potential solution

### 1 Automated API update

When running `docs:api` the script could search for the oldest tag associated to the commit that introduced the tag.

### 2 Manual update

We could have a tag in JSdocs to set the [version](https://jsdoc.app/tags-version.html)

### 3 Manual update in the demo page

The first entry point of docs is the demo, not the API, so we might whant to be able to add a small information about the version in which the feature got introduced. Could be some token in the title to set it

## Benchmark

- Ant Design. has a `version` column in its API table. https://ant.design/components/date-picker#common-api

<img width="270" alt="SCR-20241115-pcam" src="https://github.com/user-attachments/assets/00a6d613-2d2d-485e-a1c6-47fb8d98f712">
<img width="521" alt="SCR-20241115-pbww" src="https://github.com/user-attachments/assets/5dae42af-7f2f-48f8-9c64-1d9df684a29a">
Repository: go
Issue: proposal: cmd/go: modify the whole workspace with `go get`
Labels: Proposal,GoCommand,modules

<!--
Our proposal process is documented here:
https://go.dev/s/proposal-process
-->

Consider the following scenario when the user has an intention to upgrade or downgrade a dependency in the workspace:

1. Clone https://github.com/sergunya/my_workspace
2. run `go get github.com/rs/zerolog@latest` or `go get -u github.com/rs/zerolog` or `go get github.com/rs/zerolog@1.26.0` (the latter is for downgrade)
3. the root `go.mod` is modified, and the module `cmd/my_app/go.mod` file is not modified.

As a result, for the upgrade action, the buildlist contains the latest version of the dependency, and the inner module lists an outdated dependency version.
For the downgrade action, since the inner module contains a higher version, the buildlist does not change, so the downgrade has no effect on the project.

**Consider applying the `go get` command to the whole workspace.** 
* If an upgrade happens, all the modules containing a dependency should be upgraded.
* If a downgrade was called, all the modules that contain a dependency should be downgraded.

---
Additional scenario:

1. Clone https://github.com/sergunya/my_workspace
2. run `go get github.com/rs/zerolog@latest`
3. `cd cmd/my_app`
4. `go mod tidy`

As a result, `cmd/my_app/go.mod` does not change, but the `github.com/rs/zerolog` line does not align with the buildlist.

**Consider changing the `require` directives if with the version from buildlist on `go mod tidy`.**
Repository: storybook
Issue: [Bug]: builder/webpack5 - iframe imports force relative path with absolute config.output.publicPath
Labels: bug,needs triage

### Describe the bug

- in my `main.ts`, `webpackFinal()`, i have set `config.output.publicPath` to an absolute CDN path (`https://cdn.url/path/to/storybook`)
- `framework` is @storybook/react-webpack5

when i build storybook, `iframe.html` contains at the bottom:

```
import './sb-preview/runtime.js';
import './https://cdn.url/path/to/storybook/runtime~main.1fe8c920.iframe.bundle.js';
import './https://cdn.url/path/to/storybook/8061.e34999cc.iframe.bundle.js';
import './https://cdn.url/path/to/storybook/main.6ba55813.iframe.bundle.js';
```

expected:
```
import './sb-preview/runtime.js';
import 'https://cdn.url/path/to/storybook/runtime~main.1fe8c920.iframe.bundle.js';
import 'https://cdn.url/path/to/storybook/8061.e34999cc.iframe.bundle.js';
import 'https://cdn.url/path/to/storybook/main.6ba55813.iframe.bundle.js';
```
(i.e. proper absolute paths)

but builder-webpack5/templates/preview.ejs forces these path to be relative to './': 

in 7.1

https://github.com/storybookjs/storybook/blob/2cf017f9dfb61b1f017d97831b04a9154b3053a8/code/builders/builder-webpack5/templates/preview.ejs#L46-L52

and in 7.0

https://github.com/storybookjs/storybook/blob/8d637e1f006560fb2901f7f7796340db71f70159/code/lib/builder-webpack5/templates/preview.ejs#L46-L52




### To Reproduce

1.  set `config.output.publicPath` to an absolute path.
2. `storybook build` using '@storybook/react-webpack5'
3. review `storybook-static/iframe.html`


### System

```shell
Node: 18.12.1
@storybook/*: 7.0.27
@storybook/addon-styling: 1.0.8
```


### Additional context

_No response_
Repository: pytorch
Issue: Softmax doesn't support sparse tensors with the CSR layout
Labels: module: sparse,triaged,topic: new features

### 🚀 The feature, motivation and pitch

Hi,
both `torch.softmax` and `torch.sparse.softmax` don't support the CSR format.
Namely, when I try to apply any softmax to `torch.sparse_csr tensor`, I receive the following error:

``RuntimeError: unsupported tensor layout: SparseCsr``

Would it be possible to start supporting this format?

### Alternatives

_No response_

### Additional context

_No response_

cc @alexsamardzic @nikitaved @pearu @cpuhrsch @amjames @bhosmer
Repository: pytorch
Issue: DISABLED test_super_resolution_cuda (__main__.TestModels)
Labels: oncall: jit,module: flaky-tests,skipped

Platforms: linux, rocm



This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_super_resolution_cuda&suite=TestModels) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/15097403578).

Over the past 3 hours, it has been determined flaky in 3 workflow(s) with 5 failures and 3 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `test_super_resolution_cuda`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.


Test file path: `test_jit.py`

cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
Repository: pytorch
Issue: Enable SLEEF on ARM
Labels: module: build,triaged,module: sleef,module: arm,topic: improvements

### 🚀 The feature, motivation and pitch

SLEEF implementations of [functions](https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/cpu/vec/vec256/vec256_float_neon.h#L391-L410) (like exp, erf, etc) are much faster than their corresponding STD implementations. Currently, on Intel, the SLEEF implementation is the [default](https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/cpu/vec/vec256/vec256_float.h) one for many of these functions, but not on ARM. 

On ARM, it is controlled by the flag `AT_BUILD_ARM_VEC256_WITH_SLEEF`. It seems like this flag is controlled by the `USE_SLEEF_FOR_ARM_VEC256` [option](https://github.com/pytorch/pytorch/blob/e5f5bcf6d4ec022558caf4d0611d928497394a88/CMakeLists.txt#L278) in CMakeLists. But setting that option to ON and building Pytorch did not set the `AT_BUILD_ARM_VEC256_WITH_SLEEF` flag, and the SLEEF code was still not being executed. 

I'd like to understand what is the correct way to enable SLEEF on ARM, and if there is any issue with enabling it by default (like on Intel).


### Alternatives

_No response_

### Additional context

_No response_

cc @malfet @seemethere
Repository: vscode
Issue: Undoing a file move creates bogus import updates
Labels: bug,javascript

Probably can be reproed in a simpler way but here's what I did

- Checkout vscode-copilot to `c0910dd723d1a6625d181ee3fe5e434fe9718ba8`
- Find `src/base/lib/context.ts`
- Drag it in the Explorer up a level to `src/base/context.ts`
- Press cmd+Z without waiting for imports to be updated
- Imports are being updated and you end up with corrupted edits probably from the undo happening before the initial change is complete
- There should be no git changes at this point but there are 76 changed files that have edits like this

<img width="511" alt="image" src="https://github.com/microsoft/vscode/assets/323878/1682fec4-7bbc-48b4-9cb3-f719e3e26b75">
<img width="699" alt="image" src="https://github.com/microsoft/vscode/assets/323878/65942bf5-d4ce-46b9-b7a6-c2f67d4e419f">
<img width="532" alt="image" src="https://github.com/microsoft/vscode/assets/323878/36ce740b-b149-4310-b96f-71bc7951d759">
Repository: vscode
Issue: Command-W should not have different behavior based on editor context
Labels: feature-request

<!-- ⚠️⚠️ 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. -->

`Command-W` closes the current editor window. This is consistent with the other application behavior on my OS. HOWEVER! When there are no more editors to close the `Command-W` quits the VSCode. THIS IS NEVER WHAT I WANT and it is inconsistent with how other applications behave on my OS. `Command-Q` is how you quit your application (`Command-W` only closes the active editor)

Request:
- `Command-W` should not Quit VSCode if there are no active windows open.
Repository: go
Issue: x/pkgsite/cmd/pkgsite: remove most external dependencies
Labels: NeedsInvestigation

We'd like to get cmd/pkgsite to a point where it can be used to provide documentation from the go command. To do that we'd have to remove most of its external dependencies to a point where we can integrate it into part of the go command. Currently a lot of the dependencies are not necessary for the functionality of cmd/pkgsite but are needed for the frontend. We should be able to inject a lot of the dependencies and remove others so that the build of cmd/pkgsite has very few dependencies so that it could be vendored into the go repo.
Repository: deno
Issue: Support for Qwik
Labels: node compat

`Qwik` uses `vite` so the basics should be there
- #15427

However I am not having luck just trying to run `vite` as-is:

```
$ deno run --allow-read --allow-write --allow-env npm:create-qwik@latest
❌ Not implemented: net.Socket.prototype.constructor with fd option
```

If I use node to create default empty app and try running `vite` with `deno` I get a problem with `sharp`:

```
$ deno run -A --node-modules-dir npm:vite
error when starting dev server:
Error:
Something went wrong installing the "sharp" module

Cannot find module '../build/Release/sharp-linux-x64.node'
Require stack:
- /.../qwik-deno-plain/node_modules/.deno/sharp@0.32.3/node_modules/sharp/lib/sharp.js
- /.../qwik-deno-plain/node_modules/.deno/sharp@0.32.3/node_modules/sharp/lib/constructor.js
- /.../qwik-deno-plain/node_modules/.deno/sharp@0.32.3/node_modules/sharp/lib/index.js
- /.../qwik-deno-plain/node_modules/.deno/imagetools-core@4.0.3/node_modules/sharp/lib/index.js
...
```

That seems to be discussed here:
- https://github.com/lovell/sharp/issues/2583
- https://github.com/denoland/deno/issues/16277

I have also tried using `--node-modules-dir=true` and populating the node_modules with pnpm and npm but that also didn't work.

It'd be great to be able to add qwik to [create-vite-extra](https://github.com/bluwy/create-vite-extra).
Repository: flutter
Issue: Please create a full source tarball with each release for embedded Linux
Labels: c: new feature,engine,platform-linux,c: proposal,P3,team-engine,triaged-engine

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

Hello, I have been tasked with porting Flutter to Buildroot, an embedded Linux SDK. However, there is a significant problem that I am not sure how to overcome. Buildroot requires that all packages have a consistent source file that can be checked against a known hash.

However, since Flutter expects gclient to create the source directory structure, this causes a few problems:
   - Gclient inserts the generated date in several package_config.json files.
   - Gclient also seems to be generating a new checkout log when run.

As such, using gclient to create binary matching tarballs for a client is impossible.

My request is simple: Would it be possible to release full tarballs of the flutter-engine source code that one could download and compile immediately without gclient? Both Yocto and Buildroot use the same gclient file:

```
solutions = [{
    "managed": False,
    "name": "src/flutter",
    "url": "https://github.com/flutter/engine.git@!FLUTTER_ENGINE_VERSION!",
    "custom_vars": {
        "download_android_deps": False,
        "download_windows_deps": False,
        "download_linux_deps": False
    },
    "custom_deps": {
        "src/third_party/dart/third_party/pkg/tools":
        "https://dart.googlesource.com/tools.git@unified_analytics-v1.1.0"
    }
}]
```

So a single tarball would be good for both Yocto and Buildroot. This would also make it so the meta-flutter flutter-engine bitbake recipe can check the tarball against a known sha hash. It runs gclient, but because of the above issues, it doesn't check against a known hash.

Thanks!
Adam

### Actual results

N/A

### Logs

N/A

### Flutter Doctor output

N/A
Repository: TypeScript
Issue: auto import build-in node module with protocol prefix
Labels: Suggestion,Awaiting More Feedback,Domain: Auto-import

<!-- ⚠️⚠️ 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. -->

Currently vscode will auto import build-in node module without `node:` prefix unless there is already another import with prefix.

Example:

No imports or one or more imports **_without_** `node:` prefix:

![2023-07-16_05-58-56](https://github.com/microsoft/vscode/assets/35052399/8f732ced-d95c-4ffe-93eb-3ccf98559712)

One or more import **_with_** `node:` prefix:

![2023-07-16_05-59-14](https://github.com/microsoft/vscode/assets/35052399/e8e59a89-ee94-4239-980e-82cfc93761e0)

I would like to have a setting to force `node:` prefix.

Related:

https://github.com/eslint-community/eslint-plugin-n/issues/77
https://github.com/import-js/eslint-plugin-import/issues/2717

Workarounds:

- Use eslint rule from `eslint-plugin-unicorn` plugin: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md
- Use https://gist.github.com/alex-kinokon/f8f373e1a6bb01aa654d9085f2cff834 with https://www.npmjs.com/package/eslint-plugin-local-rules
Repository: PowerToys
Issue: Powertoys Run - Does Nothing when I try to launch
Labels: Issue-Bug,Product-PowerToys Run,Needs-Triage

### Microsoft PowerToys version

0.71.0

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Reports version 0.71.0.
Tried running as Admin - doesn't fix.
I've tried disabling all the Plugins except one - tried JUST Winget and JUST Window Walker.

Powertoys Run does not launch with either the ALT:space shortcut or the menu (single-click in Notification Tray)

### ✔️ Expected Behavior

A pop-up menu that I could use to select/search Winget.

### ❌ Actual Behavior

Nothing. No dialog is presented to the user.
[PowerToysReport_2023-07-17-21-08-05.zip](https://github.com/microsoft/PowerToys/files/12073564/PowerToysReport_2023-07-17-21-08-05.zip)


### Other Software

N/A.
[PowerToysReport_2023-07-17-21-08-05.zip](https://github.com/microsoft/PowerToys/files/12073560/PowerToysReport_2023-07-17-21-08-05.zip)
Repository: PowerToys
Issue: remap keys
Labels: Needs-Triage

### Description of the new feature / enhancement

i want to be able to remap only the enter button at the numbers and not the enter at the digits 

### Scenario when this would be used?

i want to have tab on the right side

### Supporting information

_No response_
Repository: next.js
Issue: Error when trying to load CSS from a %5F folder child route
Labels: bug,linear: next

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000
    Binaries:
      Node: 18.16.1
      npm: 9.5.1
      Yarn: 1.22.19
      pnpm: 8.6.7
    Relevant Packages:
      next: 13.4.10-canary.8
      eslint-config-next: 13.4.10
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.6
    Next.js Config:
      output: N/A
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

App Router

### Link to the code that reproduces this issue or a replay of the bug

https://github.com/studio-freight/satus/tree/app

### To Reproduce

clone the repo, 
run `pnpm dev`
go to localhost:3000
open the console
click on menu (top left)
click on debug 
the followingERROR 404 should show in the console:
`http://localhost:3000/_next/static/css/app/_debug/orchestra/page.css?v=[RANDOM_HASH] net::ERR_ABORTED 404 (Not Found)`


### Describe the Bug
when navigating from / to /_debug/orchestra console is rendering the issue as it  seems like nextjs tries to load page.css for %5fdebug and fails to get it (it's looking for it with v=[hash] three times. 
Also the css needed for that page is already present in `.next/static/css/app/layout.css` and styles are being used in the page.

### Expected Behavior

don't try to load css if it's not actually used in the page, or wait to see if the css is present in layout already.

### Which browser are you using? (if relevant)

Arc Version 0.112.0 (40064) Chromium Engine Version 114.0.5735.198

### How are you deploying your application? (if relevant)

Vercel

<sub>[NEXT-1454](https://linear.app/vercel/issue/NEXT-1454/error-when-trying-to-load-css-from-a-percent5f-folder-child-route)</sub>
Repository: excalidraw
Issue: arrows can be bind to clipped parts of frame elements
Labels: bug,frames

![excal-bug-frame-binding](https://github.com/excalidraw/excalidraw/assets/5153846/a55489db-24ec-443c-84f9-3fa88173848d)
Repository: flutter
Issue: [camera_web] Remove `mocktail` dependency.
Labels: platform-web,p: camera,package,P2,c: tech-debt,team-web,triaged-web

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

The current `camera_web` integration tests use `mocktail` to mock objects in tests.

### Proposal

Attempt to remove `mocktail` and move to something owned by the team. (Ie: `mockito`.)[^1]

[^1]: Part of: https://github.com/flutter/flutter/issues/122713