sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Consider finding a new XML syntax highlighting grammar
Labels: feature-request,grammar

<!-- ⚠️⚠️ 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.96.2
- OS Version: Windows 11 Pro (10.0.22631

Steps to Reproduce:

1. In any xml file with an xml comment (<!--  some stuff -->) add a "--" in the comment (<!--  some -- stuff -->)
2.  The entire rest of the xml file is now the xml comment color

FWIW - I was documenting some command line parameters in a project.xml file.
So this:
--app-file SomeFile

broke the rest of the file.
but anyone putting "--help", or other such command line commands would have the same problem.

![Image](https://github.com/user-attachments/assets/681f3de7-a098-402f-b63e-1f32c1321c0c)
Repository: flutter
Issue: [pigeon] Respect original constructors
Labels: package,team-ecosystem,p: pigeon,P3,triaged-ecosystem

### Use case

Currently, Pigeon generates constructors with named parameters for all fields, even if a different constructor is provided. For example: 

```dart
class AndroidColor {
  AndroidColor.fromARGB(this.a, this.r, this.g, this.b);

  final int a;
  final int r;
  final int g;
  final int b;
}
```

generates

```dart
/// A color on Android.
class AndroidColor {
  AndroidColor({
    required this.a,
    required this.r,
    required this.g,
    required this.b,
  });

  int a;
  int r;
  int g;
  int b;
  // ...
}
```

Even though it would not have been an error to include the original `.fromARGB` constructor, Pigeon opted not to do so. This makes porting existing code to Pigeon difficult, and if the class is part of the public API, it's impossible to feed it through Pigeon without forcing a breaking change.

### Proposal

When generating constructors, Pigeon should first check if the unnamed constructor already exists, and if so, copy it as-is instead of overwriting it. When other constructors exist, Pigeon should copy those, even if it decides to generate its own unnamed constructor.
Repository: ollama
Issue: Requests begin to all fail after several independent prompts
Labels: bug

### What is the issue?

I've been having an issue with Ollama where the output is either gibberish or just a series of @@@@@ characters. I don't recall it being this way some weeks ago, but I've found a solution. (The gibberish seems to happen mostly when stream: true, and @@@ mostly with stream: false. w/e.)

I started having this issue with Llama3.1 lorablated some weeks ago, but I'm having the issue with wen2.5-coder:32b as well, now that I'm trying to use it.

An example of the issue, after several successful requests, one suddenly fails, and then everyone after starts to fail.

![image](https://github.com/user-attachments/assets/1fca8c4d-ec17-4ae1-b85c-a349feffb48e)
![image](https://github.com/user-attachments/assets/d2d836e0-e07e-463f-8aec-3a3f1b158f99)

**The solution I discovered has been to just set the keep_alive to 0.**  I suspect there's some sort of context caching going on and I'm hitting some memory limit. My Titan RTX 24GB just squeaks by with these models. Windows 11.  96GB RAM.  Most recent Ollama.

My requests are pretty short; just a couple of sentences in most cases.

Works:
```
const response = await fetch(`${endpoint}/api/generate`, {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json'
            },
            body: JSON.stringify({
                model: model,
                prompt: prompt,
                stream: false,
		keep_alive: 0  <===== note the keep_alive=0
            })
        });
```

Fails after a few prompts:
```
const response = await fetch(`${endpoint}/api/generate`, {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json'
            },
            body: JSON.stringify({
                model: model,
                prompt: prompt,
                stream: false
            })
        });
```

If this is a caching issue, it be pretty nice to have the option as to whether to cache the conversation or not, and if I am caching it,  perhaps have a way to refer to that specific conversation.  More fine grain control via the API that way.

![image](https://github.com/user-attachments/assets/6f12762c-fa08-4b09-af6e-84a3fc255527)

[server log - Not working](https://github.com/user-attachments/files/18241593/not_working_default.log)

[server log - working](https://github.com/user-attachments/files/18241545/working_timeout_0.log)

![image](https://github.com/user-attachments/assets/16427aa1-22ad-49e5-8a4c-5f6736d3d25c)

![image](https://github.com/user-attachments/assets/e6e925e2-f508-4674-8c67-8d5290ef0fb9)


This might not be a bug, but just me being stupid.  Still, time_out = 0 works, however crude and slow it is.

Merry Christmas, all. 🎄

### OS

Windows

### GPU

Nvidia

### CPU

Intel, AMD

### Ollama version

0.5.4
Repository: pytorch
Issue: Inductor with dynamic shapes fails for randint with >INT_MAX maximum value
Labels: triaged,oncall: pt2,module: inductor

The generated annotation for max value (`ks1`) is `i32`
```
@triton_heuristics.pointwise(
    size_hints={'x': 1048576},
    filename=__file__,
    triton_meta={'signature': {'in_ptr0': '*i64', 'out_ptr0': '*i64', 'load_seed_offset': 'i32', 'ks1': 'i32', 'xnumel': 'i32'}, 'device': DeviceProperties(type='cuda', index=0, multi_processor_count=132, cc=90, major=9, regs_per_multiprocessor=65536, max_threads_per_multi_processor=2048, warp_size=32), 'constants': {}, 'configs': [AttrsDescriptor.from_dict({'arg_properties': {'tt.divisibility': (0, 1), 'tt.equal_to': ()}, 'cls': 'AttrsDescriptor'})]},
    inductor_meta={'autotune_hints': set(), 'kernel_name': 'triton_poi_fused_randint_0', 'mutated_arg_names': [], 'optimize_mem': True, 'no_x_dim': False, 'num_load': 0, 'num_reduction': 0, 'backend_hash': '0DEDF01B8E4DD92A8B59F7523F798A141186FCC78AC75613AB9342C0CD404D81', 'are_deterministic_algorithms_enabled': False, 'assert_indirect_indexing': True, 'autotune_local_cache': True, 'autotune_pointwise': True, 'autotune_remote_cache': None, 'force_disable_caches': False, 'dynamic_scale_rblock': True, 'max_autotune': False, 'max_autotune_pointwise': False, 'min_split_scan_rblock': 256, 'spill_threshold': 16, 'store_cubin': False, 'compile_id': '0/0', 'is_forward': True},
    min_elem_per_thread=0
)
@triton.jit
def triton_poi_fused_randint_0(in_ptr0, out_ptr0, load_seed_offset, ks1, xnumel, XBLOCK : tl.constexpr):
    xoffset = tl.program_id(0) * XBLOCK
```
and at  runtime, if max value is > INT_MAX, there's a failure. 
To repro: 
with #143787
```
python test/inductor/test_torchinductor_codegen_dynamic_shapes.py -v -k test_randint_distribution
```
#143787 doesn't make any inductor changes, it just adds a test to make sure inductor produces correct distribution. 

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov
Repository: youtube-dl
Issue: overwrites my cookie file... and also tells me that I need to sign in?
Labels: documentation,question

<!--

######################################################################
  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 all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape.
- Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Read bugs section in FAQ: http://yt-dl.org/reporting
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a broken site support issue
- [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 all URLs and arguments with special characters are properly quoted or escaped
- [ ] I've searched the bugtracker for similar bug reports including closed ones
- [ ] I've read bugs section in FAQ


## Verbose log

```
ERROR: [youtube] a07qXFXjEDI: Sign in to confirm you’re not a bot. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies. Also see  https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies  for tips on effectively exporting YouTube cookies
```



## Description
I know this may look like broken site support, but it also overwrites my cookie file, which seems like a bug. I start with a cookie file I take from my browser that has quite a lot in it, but after I run it, the cookie file is completely different and very small.
Here is my code 


```
    url = f"https://www.youtube.com/watch?v={video_id}"
    options = { 
        'quiet': True,
         cookiefile': "cookies.txt"
    }
    try:
        with YoutubeDL(options) as ydl:

            info_dict = ydl.extract_info(url, download=False)
            print("info_dict", info_dict)

    except Exception as e:
        print("Error", e)
        return jsonify({"status": "error", "message": str(e)}), 500
```
Repository: flutter
Issue: Slight delay in loading assets when quickly scrolling over large image grid
Labels: framework,f: scrolling,a: assets,a: images,perf: speed,has reproducible steps,P2,team-framework,triaged-framework,found in release: 3.27,found in release: 3.28

### Steps to reproduce

1. clone the [repo](https://github.com/BeADre/flutter_reproduce.git).
2. flutter pub get && run.

### Expected results

Everything is fine.

### Actual results

Blank appears.

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        backgroundColor: Colors.white,
        body: CupertinoScrollbar(
          child: GridView.builder(
            gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
              crossAxisCount: 3,
              crossAxisSpacing: 2,
              mainAxisSpacing: 2,
            ),
            itemCount: 200,
            itemBuilder: (context, index) {
              return Image.asset(
                'assets/${index + 2}.jpg',
                fit: BoxFit.cover,
              );
            },
          ),
        ),
      ),
    );
  }
}

```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>


https://github.com/user-attachments/assets/32430df9-faf4-48c1-ba38-3f2b0e8a0915


</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.24.4, on macOS 15.1.1 24B91 darwin-arm64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.95.3)
[!] Proxy Configuration
    ! NO_PROXY is not set
[✓] Connected device (7 available)
    ! Error: Browsing on the local area network for Johnny iPhone. Ensure the device is unlocked and attached with a cable or associated with
      the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for Hynn’s iPhone. Ensure the device is unlocked and attached with a cable or associated with
      the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for BrankoTian. Ensure the device is unlocked and attached with a cable or associated with
      the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
```

</details>
Repository: langchain
Issue:  27/10000 实时翻译 划译 I encountered an issue when using Langchain chroma
Labels: Ɑ: vector store

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

``

### Error Message and Stack Trace (if applicable)

I searched various information online, but couldn't find the result I was looking for. In the end, I had to leave a message here.

I use streamlit to build a simple user program. After executing the program once, he did not encounter any issues. When I execute again (all parameters remain unchanged). The program got stuck in the following code and exited without any error messages.

The stuck place.The second time it runs here, it won't execute further
![81f5175fdc24306957fc471fbe3871f](https://github.com/user-attachments/assets/160ff778-3f33-4678-bc53-d3c5d5105eab)
![29f32263bb36ae0ec2ecd99d3d70673](https://github.com/user-attachments/assets/8e5ef37f-9ae9-4479-8e71-167fa8428e68)

The second terminal display result
![1e14b6c15d632dd2dc1203c4c679dd2](https://github.com/user-attachments/assets/9243c583-170f-4a94-87b5-ac54f1ab8abc)



### Description

I use streamlit to build a simple user program. After executing the program once, he did not encounter any issues. When I execute again (all parameters remain unchanged). The program got stuck in the following code and exited without any error messages.

### System Info

![1e14b6c15d632dd2dc1203c4c679dd2](https://github.com/user-attachments/assets/2ec774b2-0ea8-4981-867b-15fd61091d46)
Repository: react
Issue: Bug: source maps are missing from react npm packages
Labels: Status: Unconfirmed

<!--
  Please provide a clear and concise description of what the bug is. Include
  screenshots if needed. Please test using the latest version of the relevant
  React packages to make sure your issue has not already been fixed.
-->

React version: 19.0.0, applicable to lower versions

## Steps To Reproduce

Install react npm package

<!--
  Your bug will get fixed much faster if we can run your code and it doesn't
  have dependencies other than React. Issues without reproduction steps or
  code examples may be immediately closed as not actionable.
-->

Link to code example:

<!--
  Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a
  repository on GitHub, or provide a minimal code example that reproduces the
  problem. You may provide a screenshot of the application if you think it is
  relevant to your bug report. Here are some tips for providing a minimal
  example: https://stackoverflow.com/help/mcve.
-->

## The current behavior
Source maps is missing

## The expected behavior
Source maps should be generated and present
Repository: vscode
Issue: config `http.proxy` in workspace settings
Labels: bug,proxy

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

The `http.proxy` setting can only be configured in user settings. I’m wondering if it’s possible to set it in workspace settings instead.

When using a dev container, the `http.proxy` setting is passed to the container. However, the container cannot use the proxy on the local machine unless additional configuration is done. 

If `http.proxy` could be configured directly in `.vscode/settings.json` or `.devcontainer/devcontainer.json`, it would make things much easier for users. Currently, we have to either modify the user settings each time or set up a more complex container network configuration.
Repository: vscode
Issue: Add Separate SOCKS5 Proxy Configuration for GitHub Copilot
Labels: feature-request,proxy

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

As GitHub Copilot becomes increasingly integral to developers' daily workflows, currently, Copilot uses VSCode's global proxy settings, which may not be optimal for all users' needs.
Add separate proxy configuration options specifically for GitHub Copilot
Allow users to set a different SOCKS5 proxy for Copilot independently of VSCode's global proxy settings
Repository: PowerToys
Issue: Error auto launching after update via Microsoft store.
Labels: Issue-Bug,Product-PowerToys Run,Needs-Triage

### Microsoft PowerToys version

0.87.1.0

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

General

### Steps to reproduce

restart system, and wait for auto launch, and see thit i.e. error

### ✔️ Expected Behavior

should lauch the powerToys run in background 

### ❌ Actual Behavior



Version: 0.87.1.0
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 12/25/2024 11:42:03 AM
Exception:
```
System.ArgumentException: Value does not fall within the expected range.
   at PowerLauncher.MainWindow.DwmSetWindowAttribute(IntPtr hwnd, DWMWINDOWATTRIBUTE attribute, DWM_WINDOW_CORNER_PREFERENCE& pvAttribute, UInt32 cbAttribute)
   at PowerLauncher.MainWindow.OnSourceInitialized(Object sender, EventArgs e)
   at PowerLauncher.MainWindow.OnSourceInitialized(EventArgs e)
   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
```

saw this error

LOGS 
[2024-12-25.txt](https://github.com/user-attachments/files/18243361/2024-12-25.txt)

### Other Software
Repository: flutter
Issue: Add `MouseRegion` Support to `NavigationRailDestination`
Labels: c: new feature,framework,f: material design,c: proposal,a: mouse,P3,team-design,triaged-design

### Use case

Currently, adding hover effects or interactivity to NavigationRailDestination items requires wrapping the icon and label widgets individually with a MouseRegion. This approach is indirect, repetitive, and can lead to inconsistent behavior.

### Proposal

I propose adding direct support for MouseRegion utils to NavigationRailDestination, allowing developers to apply hover effects to the entire destination item, for example:

```dart

NavigationRailDestination(
  icon: Icon(Icons.home),
  label: Text('Home'),
  onHover: (event) {
  },
  onEnter: (event) {
  },
  onExit: (event) {
  },
),

```
Repository: rust
Issue: Tracking issue for release notes of #134751: Enable LSX feature for LoongArch OpenHarmony target
Labels: T-compiler,relnotes,O-loongarch,relnotes-tracking-issue


This issue tracks the release notes text for #134751.

### Steps

- [x] Proposed text is drafted by PR author (or team) making the noteworthy change.
- [ ] Issue is nominated for release team review of clarity for wider audience.
- [ ] Release team includes text in release notes/blog posts.

### Release notes text

The responsible team for the underlying change should edit this section to replace the automatically generated link with a succinct description of what changed, drawing upon text proposed by the author (either in discussion or through direct editing).

````markdown
# Compiler
- [Enable LSX feature for `loongarch64_unknown_linux_ohos`.](https://github.com/rust-lang/rust/pull/134751)
````

> [!TIP]
> Use the [previous releases](https://doc.rust-lang.org/nightly/releases.html) categories to help choose which one(s) to use.
> The category will be de-duplicated with all the other ones by the release team.
>
> *More than one section can be included if needed.*

### Release blog section

If the change is notable enough for inclusion in the blog post, the responsible team should add content to this section.
*Otherwise leave it empty.*

````markdown
````

cc @heiher, @jieyouxu -- origin issue/PR authors and assignees for starting to draft text
Repository: rust
Issue: `forbid-output` is inconsisently named versus `error-pattern` and `normalize-stderr-test` and friends
Labels: T-compiler,T-bootstrap,C-bug,A-compiletest,E-needs-investigation

>  Actually, I'll revisit `forbid-output` in a follow-up because the naming is strange and inconsistent versus `error-pattern` and `normalize-stderr-test` and whatever...

_Originally posted by @jieyouxu in https://github.com/rust-lang/rust/issues/134738#issuecomment-2561663717_