sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Wrong auto-indentation in typescript when pasting
Labels: bug,editor-autoindent

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.91.1
- OS Version: 

Steps to Reproduce:

1. Start with this code.
```ts
if (true)
{
	// Do something.
}
```
2. Select and cut the the block.
3. Paste it back:
```ts
if (true)
	{
		// Do something.
	}
```

Related to issue #209802.
Repository: ollama
Issue: Gliner models implementation
Labels: model request

Hello,it would be nice if you add the Gliner models collection now that you added NuExtract in the last update. Gliner models are really usefull to extract entities and relations in order to build knowledge graphs.
Repository: stable-diffusion-webui
Issue: [Feature Request]: samplers to be more logically listed
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

https://stable-diffusion-art.com/samplers

organise samples in a drop down or have tags explaining perks of them e.g. stochastic, legacy, high quality, fast



### Proposed workflow

have a nested drop down system or tag system for samplers and organise them more logically

### Additional information

_No response_
Repository: puppeteer
Issue: [Bug]: evaluation in lazy loading frames that are not loaded yet hangs forever
Labels: bug,upstream,confirmed,P3

### Steps to reproduce

Using the code
```js
import puppeteer from "puppeteer";

const browser = await puppeteer.launch({
    headless: false
});
const page = await browser.newPage();

await page.goto('https://dictionary.cambridge.org/');

const frames = page.frames();
for (const frame of frames) {
    await frame.evaluate(() => {
        window.X = false;
    });
}
console.log('Recording disabled');
await browser.close();
```
The browser hangs forever (or timeouts)
But If I add a `console.log(window)`
```js
import puppeteer from "puppeteer";

const browser = await puppeteer.launch({
    headless: false
});
const page = await browser.newPage();

await page.goto('https://dictionary.cambridge.org/');

const frames = page.frames();
for (const frame of frames) {
    await frame.evaluate(() => {
        console.log(window)
        window.X = false;
    });
}
console.log('Recording disabled');
await browser.close();
```
it actually runs very fast.

### Expected results

```
Recording disabled

Process finished with exit code 0
```

### Actual results

```
throw new TimeoutError(`Timed out after waiting ${ms}ms`, { cause });
                  ^

TimeoutError: Timed out after waiting 30000ms
```
Repository: flutter
Issue: [pigeon] Add APIs for reading Linux Host response objects
Labels: platform-linux,package,team-ecosystem,p: pigeon,P2,triaged-ecosystem

As discussed [here](https://github.com/flutter/packages/pull/5100/#issuecomment-2226320388), the initial Linux Pigeon support has opaque host API response objects, which means that we can't easily write native unit tests against them the way we do all the other platforms, where we directly call the same API the Pigeon generated code and then check that the responses are correct. Testing that way has been very valuable on other platforms, because it's as close to end-to-end as we can get outside of integration tests (which aren't always possible), because there is *no* hand-written native code that we are skipping (as compared to, e.g., factoring out a helper which is called by the Pigeon API implementation, and testing that helper).

In the short term we can work around it by re-declaring the opaque struct in the unit test file, and then accessing it that way. This is obviously fragile to Pigeon updates, but having a short term solution where the only risk is that unit tests break on explicit Pigeon updates is not a big deal, and then we can add the APIs later and switch the unit tests to using those.

/cc @robert-ancell
Repository: go
Issue: go/build: setting UseAllFiles still invokes go command
Labels: NeedsFix

In build.go:

```
func (ctxt *Context) importGo(p *Package, path, srcDir string, mode ImportMode) error {
	// To invoke the go command,
	// we must not being doing special things like AllowBinary or IgnoreVendor,
	// and all the file system callbacks must be nil (we're meant to use the local file system).
	if mode&AllowBinary != 0 || mode&IgnoreVendor != 0 ||
		ctxt.JoinPath != nil || ctxt.SplitPathList != nil || ctxt.IsAbsPath != nil || ctxt.IsDir != nil || ctxt.HasSubdir != nil || ctxt.ReadDir != nil || ctxt.OpenFile != nil || !equal(ctxt.ToolTags, defaultToolTags) || !equal(ctxt.ReleaseTags, defaultReleaseTags) {
		return errNoModules
	}
```

ctxt.UseAllFiles == true is special and should be in the list.

/cc @filosottile
Repository: vscode
Issue: Chat a11y help dialog mentions Chat Clear command that doesn't exist in keybinding editor
Labels: bug,accessibility

Testing #222240

Should this be New Chat (Ctrl+L)?
Repository: PowerToys
Issue: Ability to "touch" files and folders attributes
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

I would like to see File Locksmith enhanced to give us the ability to modify some of the files and folders attributes like creation and modification dates, archive, hidden, etc.

### Scenario when this would be used?

My NAS (Network Attached Storage) has a bug and creates files and folders without the creation and modification dates. It will apparently not be fixed by Buffalo, the component maker.

### Supporting information

_No response_
Repository: tensorflow
Issue: Inspect `tf.data.AUTOTUNE `values during runtime
Labels: stat:awaiting tensorflower,type:feature,comp:data

### Issue type

Feature Request

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

v2.16.1-0-g5bc9d26649c

### Custom code

Yes

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

When loading data with a `tf.data.Dataset`, it is possible to apply transforms like `.prefetch(buffer_size)`, where the `buffer_size` can be optimized during runtime if set to `tf.data.AUTOTUNE`. When printing `tf.data.AUTOTUNE`, it returns `-1` (as described in the documentation on this feature). However, I want to know what value the optimized `buffer_size` takes during my training loop. This does not seem to be described in the current documentation.

### Standalone code to reproduce the issue

```shell
Any training loop using a `tf.data.Dataset` dataloader & optimized buffer sizes using `tf.data.AUTOTUNE`.
```


### Relevant log output

_No response_
Repository: vscode
Issue: No Pre-selection on Manual IntelliSense Trigger
Labels: feature-request,suggest

There are three different reasons for triggering IntelliSense:

1. **QuickSuggestion**: Triggered by user input.
2. **TriggerCharacter**: Triggered by specific characters (in our case, space, dot, and open parenthesis).
3. **Manual Trigger**: Triggered manually after a previous selection using `editor.trigger('monaco-kusto', 'editor.action.triggerSuggest', {})`.

Currently, the first item is always selected when manually triggering IntelliSense (the third option). While there is an option to customize the selection behavior for the first two reasons (QuickSuggestion and TriggerCharacter), this customization is missing for the manual trigger. It would be beneficial to have no item selected initially when IntelliSense is triggered manually. This feature was implemented in the past, as noted in [this GitHub issue](https://github.com/microsoft/vscode/issues/151336#issuecomment-1177201590), but was removed for some reason.

Requesting the addition of this feature to allow for no item to be selected initially when triggering IntelliSense manually.
Repository: PowerToys
Issue: Mouse Without Borders - Can not scroll
Labels: Issue-Bug,Needs-Triage,Product-Mouse Without Borders

### Microsoft PowerToys version

v0.82.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

With Mouse Without Borders active, switch controlling another computer. 
Select or open an app that has a window that scrolls with the scroll wheel or trackpad scrolling.
If there is not an app open on the desktop of the device you are connecting from, you will not be able to scroll on the device you are connecting to. 
If there is an app open, you will be able to scroll on the device you are connecting to. 

Device information:
Microsoft Surface 5
Windows 11 Home

### ✔️ Expected Behavior

If there is not an app open on the desktop of the device you are connecting from, you will not be able to scroll on the device you are connecting to. 
If there is an app open, you will be able to scroll on the device you are connecting to. 

### ❌ Actual Behavior

_No response_

### Other Software

Chrome 126.0.6478.128 (Official Build) (64-bit)
Repository: flutter
Issue: [Impeller] dl_dispatcher needs a way to bail out of rendering due to errors.
Labels: P2,e: impeller,team-engine,triaged-engine

In the entity pass system, we can fairly easily bail out of rendering if, say, an allocation fails. With the dl_dispatcher -> experimental canvas, there is no good way to bail out of dispatching. This puts us at risk of crashing while crashing.

FYI @flar 

Suppose the dispatch methods allowed returning a bool to terminate the dispatching, then we could percolate this failure up and stop the dispatch process.
Repository: rust
Issue: Tracking Issue for `unsigned_is_multiple_of`
Labels: T-libs-api,proposed-final-comment-period,C-tracking-issue,disposition-merge

<!--
Thank you for creating a tracking issue!

Tracking issues are for tracking a feature from implementation to stabilization.

Make sure to include the relevant RFC for the feature if it has one.

If the new feature is small, it may be fine to skip the RFC process. In that
case, you can use `issue = "none"` in your initial implementation PR. The
reviewer will ask you to open a tracking issue if they agree your feature can be
added without an RFC.
-->

Feature gate: `#![feature(unsigned_is_multiple_of)]`
ACP: https://github.com/rust-lang/libs-team/issues/404

This is a tracking issue for the `.is_multiple_of` method on unsigned integers.

Returns `true` if `self` is an integer multiple of `rhs`, and false otherwise.

This function is equivalent to `self % rhs == 0`, except that it will not panic for `rhs == 0`. Instead, `0.is_multiple_of(0) == true`, and for any non-zero `n`, `n.is_multiple_of(0) == false`.

If you have a real usecase for this function on signed integer types, let us know! That was not included for simplicity, but if a usecase comes up, adding it will be considered.

### Public API

A version of this for all the unsigned types 

```rust
fn is_multiple_of(lhs: u64, rhs: u64) -> bool {
    match rhs {
        // prevent division by zero
        0 => lhs == 0,
        _ => lhs % rhs == 0,
    }
}
```

### Steps / History

<!--
For larger features, more steps might be involved.
If the feature is changed later, please add those PRs here as well.
-->

- [x] Implementation: https://github.com/rust-lang/rust/pull/128103
- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilization PR can be opened by anyone.
-->

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- None yet.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: ollama
Issue: Make Ollama available on Chocolatey
Labels: feature request,windows

The Windows installers works great, but requires that I manually download/update it from the ollama website. Would it be possible, probably when the Windows version has matured some more, to add ollama to [Chocolatey](https://community.chocolatey.org/)? That will probabably aid in making this an (even) easier to install package on Windows.
Repository: transformers
Issue: Add Matching Anything by Segmenting Anything (MASA) MOT tracking model
Labels: New model

### Model description

I know the transformers library has not included object tracking models in the past, but this one can either plug into any object detection model or be an end-to-end open world tracking model by using a backbone line Grounding-Dino, DETR or Sam, all of which are already implemented in transformers. 
It achieves state of the art on the Open-vocabulary MOT benchmark.

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

Authors: @siyuanliii, @lkeab, @martin-danelljan, @mattiasegu

Code: https://github.com/siyuanliii/masa/tree/main
Weights: https://huggingface.co/dereksiyuanli/masa/tree/main
Paper: https://arxiv.org/pdf/2406.04221
Repository: vscode
Issue: No support for tsx files in notebooks
Labels: bug,notebook-language

Testing #223152

1) paste TSX source into a cell -> there is no language support for TSX
Repository: flutter
Issue: [Impeller] Test surface texture based external textures with Vulkan.
Labels: P2,e: impeller,team-engine,triaged-engine

[The use of AHBs for external texture interop](https://github.com/flutter/engine/pull/53966) when the surface-texture based fallback is in effect (for plugins that have not completed the go/impeller-plugin-migration transition) has caused emulator tests to not be wired up.

This is like [similar to our issues with AHBs on emulators](https://github.com/flutter/flutter/issues/147533) causing the use of those swapchains to be gated.

We need to either figure out how to reconcile the AHB testing situation on emulators or test on actual devices.
Repository: PowerToys
Issue: Shortcuts show on Quick Access and All Apps panels
Labels: Idea-Enhancement,Help Wanted,Area-Flyout

### Description of the new feature / enhancement

I would like to have the option to display shortcuts for PowerToys modules on the Quick Access and All Apps panels that appear when the PowerToys system tray app is activated.

### Scenario when this would be used?

Select the PowerToys system tray application. If a module has an activation shortcut, it should be displayed next to or under the module name in both the Quick Access and All Apps panels. This feature would ideally be turned on or off from PowerToys Settings > General.

This would improve discoverability and avoid having to open PowerToys Settings to look at the Dashboard for the shortcut.

~~Also, the shortcuts for any active modules could appear in the Shortcut Guide module as well.~~ Removed as bot has identified similar issues raised already.

### Supporting information

_No response_
Repository: angular
Issue: Form groups initialized in FormBuilder can't be initially disabled
Labels: area: forms

### Which @angular/* package(s) are relevant/related to the feature request?

forms

### Description

Currently to disable a formgroup. You first initialize it and then call group.disable()

```
this.group= this.fb.group({
  "firstName": [''],
  "middleName": [{value: '', disabled: true}, Validators.required],
  "lastName": ['']
});
this.group.disable(); // not ideal
```

You've made a beautiful, nearly feature complete declarative API.
I mean, Ideally the input to formbuilder would be fully serializable with an intermediary layer for insantiating validators, but that's not in scope for this issue.

****

### Proposed solution

Add disabled? boolean to new interface FormGroupOptions extends AbstractControlOptions

```
this.group = this.fb.group({
  "firstName": [''],
  "middleName": [{value: '', disabled: true}, Validators.required],
  "lastName": ['']
}, {disabled: true}); // nice! the API is fully declarative
```

### Alternatives considered

It can be done progamatically, as can everything the formbuilder does.
You could also return the formgroup on methods like disable() so that it's a chainable operation
```
this.fb.group({}).addValidators([]).disable();
```
Repository: PowerToys
Issue: Fancyzones does not remember child window positions
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.82.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

Run a program with child windows that can be docked in the parent application or float separately. Move the child window and snap it to a zone (zone A), then move the main program window (parent) to a different zone (zone b) and snap it there. Close and open the program. BUG - the child windows are separate, but in the same zone as the parent. If the child windows are snapped last, then everything will open in the child's zone instead. Please fix this because windows 11 snapping is nowhere close to being as good as fancyzones.

### ✔️ Expected Behavior

Child windows and parent windows should not open in the same zone when they were closed in separate zones.

### ❌ Actual Behavior

all windows open in the last snapped zone, either snapped-to by child or parent windows.

### Other Software

visual studio enterprise x64 v17.10.0
Repository: vscode
Issue: Show terminal selection in scroll bar/overview ruler 
Labels: feature-request,terminal-layout

Testing #223132

When doing a Find in the Terminal, I see the horizontal bar which indicates where the cursor is in the terminal history/buffer. Otherwise, there is no cursor location indicator. Given how the scrollbar works in a normal editor, I expected to see the cursor location indicator regardless.

Find:


![Image](https://github.com/user-attachments/assets/f848addc-a110-4941-948f-4ee0fa4544cb)

without find (`code` is selected):


![Image](https://github.com/user-attachments/assets/d8e3b628-30b3-462c-b850-9f5a2196e437)
Repository: pytorch
Issue: `torch._assert_async` ignores `assert_msg`
Labels: module: cuda,module: error checking,triaged

### 🐛 Describe the bug

I find `torch._assert_async` useful to do data-dependent assertions on GPU without triggering a GPU <-> CPU sync.

However the `assert_msg` seems to be completely ignored right now. Is there any way we can get that message to be actually printed?
https://github.com/pytorch/pytorch/blob/cfb9ccab6c328ceda3bb9ef06960f460e1922f49/aten/src/ATen/native/cuda/TensorCompare.cu#L128-L132

Repro:
```
import torch
a = torch.Tensor([0]).cuda()
torch._assert_async(a, assert_msg="assertion failed")
torch.cuda.synchronize()
```

Output of ^ -- I expect to see `"assertion failed"` somewhere in the output but I don't
```
/pytorch/aten/src/ATen/native/cuda/TensorCompare.cu:106: _assert_async_cuda_kernel: block: [0,0,0], thread: [0,0,0] Assertion `input[0] != 0` failed.
Traceback (most recent call last):
  File "repro.py", line 4, in <module>
    torch.cuda.synchronize()
  File "/conda-env/lib/python3.11/site-packages/torch/cuda/__init__.py", line 803, in synchronize
    return torch._C._cuda_synchronize()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
```

### Versions

I'm on PyTorch 2.3.1, but I expect it to still happen on the latest nightlies based on the code I pasted.

cc @ptrblck @msaroufim @malfet
Repository: ollama
Issue: Extend initial timeout or support retry model pull
Labels: feature request

Hi, when I try to pull image, due to network setup latency, internet access might not be immediately ready, hence I got the error of

`Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/llama3.1/manifests/8b": dial tcp 172.67.182.229:443: i/o timeout  
`

1. what is the current timeout? is it adjustable?
2. can we add a retry mechanism?


Thanks!
Repository: PowerToys
Issue: Send special keys
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

Looking for a way to send special keys (tab, enter, left, right, up, down, etc.) when sending text in a shortcut. 

### Scenario when this would be used?

To log in to a website, I need to send <username>{tab}<password>, but can't find a way to send tab. Many other scenarios come to mind, e.g.:

- include {enter} to send multi-line macros, or on a web form after entering text to submit form
- left, right, up, down to enter template text and then move to spot where additional variable text is needed

### Supporting information

_No response_