sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: make EditableText.onTapUpOutside default logic configurable
Labels: a: text input,c: new feature,framework,c: proposal,team-text-input

### Use case

Just like with `EditableText.onTapOutside`, there should be a way to set the default logic of `EditableText.onTapUpOutside` .

### Proposal

A few months ago, a pull request (https://github.com/flutter/flutter/pull/150125) was merged that added a `EditableTextTapOutsideIntent` to allow setting a default action for `EditableText.onTapOutside`.
A few days later, another pull request (https://github.com/flutter/flutter/pull/156110) adding an `onTapUpOutside` to `EditableText` was merged. I authored that pull request, but I unfortunately missed the newly created `Intent`, and didn't create a matching `Intent` for the new `onTapUpOutside` parameter.

A `EditableTextTapUpOutsideIntent` should be created to fix this.
Repository: TypeScript
Issue: Add AnyFunction as a new helper Type
Labels: Suggestion,Declined

### ⚙ Compilation target

ESNext

### ⚙ Library

ESNext

### Missing / Incorrect Definition

I would suggest to add a new type for "any type of functions" called AnyFunction.

When we check for the code `(...args: any) => any` or `(...args: any[]) => any` in github, we finde over 90k files which have this code.
So it would be helpful to have a type for this instead in typescript. 

Also this type can be used in utility-types like `Parameters` and `ReturnType`.

As there is already a `VoidFunction` in the DOM-lib this would be a great addition.

This also makes code much better readable. For example this:

```typescript
// From
const wrappedAnyFn: () => (...args: any) => any = () => () => console.log('hello');
// To:
const wrappedAnyFn: () => AnyFunction = () => () => console.log('hello');
```

This makes it much clearer what the type of our variable is. 

### Sample Code

```TypeScript
// From
const wrappedAnyFn: () => (...args: any) => any = () => () => console.log('hello');
// To:
const wrappedAnyFn: () => AnyFunction = () => () => console.log('hello');
```

### Documentation Link

_No response_
Repository: excalidraw
Issue: Eraser is slow.
Labels: bug,performance ⚡️,Eraser tool

https://github.com/user-attachments/assets/2df60fcc-c6e7-4ea5-9df8-ca4305891142
Repository: vscode
Issue: Extreme cpu and memory usage.
Labels: info-needed,shared-process

<!-- ⚠️⚠️ 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.4
- OS Version: WIN 11 23H2 (22631.4751)

```
Version: 1.96.4 (user setup)
Commit: cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba
Date: 2025-01-16T00:16:19.038Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631
```

Last weeks (cannot say exact) i have problem with VS Code. After i open project, cpu usage spikes almost to the maximum and memory usage being slowly rising. After some time vscode took 3 gb ram on my machine and i guess this wasnt a limit...
Also after a few minutes disk space starts slowly to be consumed too, but I'm not sure if this is related to this problem or if this realted to the SWAP file somehow.
Of the points I noticed: the extension icon shows loading forever. 

Tried to clean settings.json and launch without extensions, but looks like nothing helps.
the issue isnt present in insiders build.

Steps to Reproduce:
1. Open any project as usual, can be empty folder too.
2. Done

![Image](https://github.com/user-attachments/assets/2d229696-18ec-4521-bb15-0a92dc72378d)
Repository: godot
Issue: Error when calling exisiting function using JavaClassWrapper
Labels: bug,platform:android,topic:export

### Tested versions

- Tested in 4.4-beta1 and dev7

### System information

Godot v4.4.beta1 - Windows 11 (build 22631) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 Laptop GPU (NVIDIA; 32.0.15.6636) - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 threads)

### Issue description

Issue:
When using the new JavaClassWrapper and calling some functions from the JavaClass it sometimes crashes the Application and returns "Attempt to call function 'xyz' in base 'JavaClass' on a null instance."
This is weird, as in my example I even return all the Java Methods and therefore the JavaClass can't be a null instance

How do I expect it to work:
Proper Error Handling and / or not crashing the whole app :D


### Steps to reproduce

For the MRP:
- Open the Project in the latest Version (4.4-beta1)
- Install Export Templates
- Remote Deploy to Android Device

### Minimal reproduction project (MRP)

[orientation_and_gps.zip](https://github.com/user-attachments/files/18546234/orientation_and_gps.zip)
Repository: ollama
Issue: FHS Violation
Labels: bug

### What is the issue?

The Linux FHS has this to say about /usr/

```
/usr is shareable, read-only data. That means that /usr should
be shareable between various FHS-compliant hosts and must not be written to.
Any information that is host-specific or varies with time is stored elsewhere.

```

However, Lama puts the service 'home' directory under /usr, and stores model file there, but /usr could be mounted read-only during normal operations. The FHS would require /var/ for the mode files, etc., that normally go in the service home directory.

### OS

Linux

### GPU

_No response_

### CPU

_No response_

### Ollama version

0.5.7
Repository: angular
Issue: Cannot read properties of undefined (reading 'index') Zone.js
Labels: needs reproduction,area: zones

### Which @angular/* package(s) are the source of the bug?

zone.js

### Is this a regression?

Yes

### Description


![Image](https://github.com/user-attachments/assets/40083db8-0cda-450e-b0d9-534aab690ddf)

![Image](https://github.com/user-attachments/assets/ecac8061-69a7-4c67-9373-aca23f3d43c7)

### Please provide a link to a minimal reproduction of the bug

https://github.com/mohamedchibani/TasksServiceToken-for-dependency-injection

### Please provide the exception or error you saw

```true

```

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular 18.0.0

"@angular-devkit/build-angular": "^18.0.0",
"@angular/cli": "^18.0.0",
"@angular/compiler-cli": "^18.0.0"
```

### Anything else?

_No response_
Repository: transformers
Issue: Request to add Doge
Labels: New model

### Model description

Doge is an architecture that combines the advantages of state-space and self-attention. It solves the problem of self-attention getting lost in long sequences by computing **dynamic mask** from cached value states using zeroth-order holding. It can also use `wsd_scheduler` on top of dense weight checkpoints to **additionally train** a sparsely activated feedforward network expansion layer.

paper: https://arxiv.org/abs/2412.11834

### Open source status

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

### Provide useful links for the implementation

Repository: https://github.com/LoserCheems/WonderfulMatrices
Weights: https://huggingface.co/collections/JingzeShi/doge-slm-677fd879f8c4fd0f43e05458
Repository: neovim
Issue: `nvim_win_call()` can affect global current directory in presence of window-local current directory
Labels: bug-vim

### Problem

Executing `nvim_win_call()` does not play well with window-local current directory. Even more so if inside its callback new window splits are created.

### Steps to reproduce

1. Create the following 'init.lua':

    ```lua
    -- Create separate window with the current (global) current directory
    vim.cmd('belowright vsplit')
    local win_id = vim.api.nvim_get_current_win()
    vim.cmd('wincmd h')

    -- Make current (left, non-target) window have window-local current directory
    vim.cmd('lcd ' .. vim.fn.fnamemodify('local', ':p'))

    -- Define functions to perform `nvim_win_call` and split
    _G.log = {}
    local log_pwd = function() table.insert(_G.log, vim.api.nvim_exec2('verbose pwd', { output = true }).output) end

    _G.do_win_call = function()
      log_pwd()
      vim.api.nvim_win_call(win_id, function()
        log_pwd()
        vim.cmd('belowright split')
        log_pwd()
      end)
      log_pwd()
    end
    ```

2. For more clarity, create a directory named 'global' and its subdirectory 'local'.
3. Start `nvim --clean -u path/to/init.lua` from inside 'global' directory.
4. There are two vertically split windows. The left is current and executing `:verbose pwd` inside it shows expected `[window] .../global/local`. Navigating to the right window and doing the same shows expected `[global] .../global`.
5. With left window being current, execute `:lua do_win_call()`. It should create a horizontal split below right window. Inspect the log with `:log`. It shows the following entries:
    - `[window] .../global/local` - as expected in the context of left window.
    - `[global] .../global/local` - **not expected**, as it should be `[global] .../global` as it is in the context of the right window.
    - `[global] .../global` - as expected, as it should copy current directory data from the right window.
    - `[window] .../global/local` - as expected.

    On top of the single unexpected change of global current directory, the values of current directory now have changed for both right windows. Executing `:verbose pwd` in **both of them** shows `[global] .../global/local` which was never assigned as global current directory. The `[global] .../global` output is expected in both windows.

Notes:
- Same behavior can be observed with `vim.fn.win_execute(win_id, 'belowright split')` instead of `nvim_win_call()`.
- Possibly related: #16314, #28213 (cc @zeertzjq).

### Expected behavior

Calling `nvim_win_call()` respects window-local current directory.

Performing split inside `nvim_win_call()`  correctly preserves current directory and never alters global current directory.

### Nvim version (nvim -v)

NVIM v0.11.0-dev-1633+g851137f679

### Vim (not Nvim) behaves the same?

Kind of, if replicated with `win_execute()`

### Operating system/version

EndeavourOS Linux x86_64, 6.12.10-arch1-1

### Terminal name/version

Ghostty 1.0.1-arch

### $TERM environment variable

xterm-ghostty

### Installation

appimage
Repository: material-ui
Issue: React 19 for mui-joy
Labels: support: question,status: waiting for author

### Summary

Hi I know you have paused the development of mui-joy.
But could you give the possibility to use it with react 19?

### Examples

_No response_

### Motivation

_No response_

**Search keywords**: react 19 mui-joy
Repository: rust
Issue: Reborrowing (`&mut *x`) is not suggested as a potential solution for `&mut T` being moved
Labels: A-diagnostics,T-compiler

### Code

```Rust
fn do_something<T>(_a: &mut T, _b: &mut T) {}

fn foo<T: Default>(r: &mut T) {    
    let mut a = T::default();
    let b = r;
    do_something(&mut a, b);
    *r = a;
}
```

### Current output

```Shell
error[E0382]: use of moved value: `r`
 --> src/lib.rs:7:5
  |
3 | fn foo<T: Default>(r: &mut T) {    
  |                    - move occurs because `r` has type `&mut T`, which does not implement the `Copy` trait
4 |     let mut a = T::default();
5 |     let b = r;
  |             - value moved here
6 |     do_something(&mut a, b);
7 |     *r = a;
  |     ^^ value used here after move

For more information about this error, try `rustc --explain E0382`.
error: could not compile `moved` (lib) due to 1 previous error
```

### Desired output

```Shell
help: try reborrowing: `let b = &mut *r;`
                                ++++++
```

### Rationale and extra context

A rather trivial fix, but not very easy to recall it even exists, because in most places compiler does this for you automatically (iinm). For example, I think Rust always inserts `&mut *`  when a `&mut T` is passed as an argument to a call.

### Other cases

Similar to #81059 & #82453, but those also involve pattern matching.

Similar to #129694, but example there is more complex, with some type inference involved.

Similar to #81772, but that issue seems to be about expecting the compiler to automatically insert `&mut *` and not about the diagnostic quality. The diagnostics there actually does suggest to add a reborrow (as of nightly 2025-01-24).

Same thing with #85161: it is not about diagnostics but about compiler not reborrowing automatically. The diagnostic there does suggest reborrowing too.

More or less a duplicate of #74706? Feel free to close either one if you think these are indeed duplicates.

### Rust Version

```Shell
$ rustc --version --verbose
rustc 1.86.0-nightly (1e9b0177d 2025-01-24)
binary: rustc
commit-hash: 1e9b0177da38e3f421a3b9b1942f1777d166e06a
commit-date: 2025-01-24
host: x86_64-unknown-linux-gnu
release: 1.86.0-nightly
LLVM version: 19.1.7
```

### Anything else?

If not for [the Boats's post on pinned places](https://without.boats/blog/pinned-places/), I don't think I would even realize I can do `&mut *` to fix the error I got, despite several years of actively using Rust under my belt.
Repository: vscode
Issue: "c" key is not typing in vs code
Labels: info-needed,triage-needed


Type: <b>Bug</b>

Hello Team VS Code,
In my VS Code , when I try to type "c" it didn't type but when is type "C"  with shift key i typed . Only  letter "c" is not typing.
Please this problem as-soon-as possible .
Thanks.

VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.26100
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz (4 x 3392)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|7.97GB (3.35GB free)|
|Process Argv|--crash-reporter-id 1bbbfc40-021b-4ec7-a154-787e0d10147f|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (3)</summary>

Extension|Author (truncated)|Version
---|---|---
debugpy|ms-|2024.14.0
python|ms-|2024.22.2
vscode-pylance|ms-|2024.12.1


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31217127
9064b325:31222308
copilot_t_ci:31222730

```

</details>

<!-- generated by issue reporter -->
Repository: ollama
Issue: ollama version is 0.5.7-0-ga420a45-dirty
Labels: bug

### What is the issue?

Can we talk about how to fix this?

### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.5.7
Repository: ui
Issue: [bug]: Unused Variable Error for actionTypes in TypeScript with ESLint in use-toast.ts
Labels: bug

### Describe the bug

When using the use-toast.ts file from the shadcn template in a Next.js project, running npm run lint results in the following ESLint error:

<img width="1167" alt="Image" src="https://github.com/user-attachments/assets/2f7caac0-74a7-49e6-8cd8-8927a1e49f0c" />

### Affected component/components

Toast

### How to reproduce

Run the following commands to reproduce the issue
```bash
npx create-next-app@latest test-nextjs  
pnpm dlx shadcn@latest init -d  
pnpm dlx shadcn@latest add toast  
npm run lint  
```

### Codesandbox/StackBlitz link

_No response_

### Logs

```bash
./src/hooks/use-toast.ts
21:7  Error: 'actionTypes' is assigned a value but only used as a type.  @typescript-eslint/no-unused-vars
```

### System Info

```bash
OS: macOS
node: v22.13.0
```

### Before submitting

- [x] I've made research efforts and searched the documentation
- [x] I've searched for existing issues
Repository: next.js
Issue: Deprecation warning of "punycode" module in freshly created next js app in Windows 11
Labels: create-next-app,linear: next

### Link to the code that reproduces this issue

https://github.com/vickvey/next-imdb/

### To Reproduce

1. Create a fresh next app with `npm create-next-app@latest` in windows 11 from powershell terminal.
2. Run the developement server using `npm run dev`.
3. You will see the warning there about some punycode module is expired.

PS: I dont't know but I think its just dont feels right that, although I have just created a new fresh next app using "npx create-next-app@latest" and nothing else but yet I get this punycode deprecation warning, this means that the create-next-app@latest has some flaws which needs to fixed maybe there is need to update the dependecies.

### Current vs. Expected behavior

![Image](https://github.com/user-attachments/assets/e014b4df-9fbd-4b81-b305-1b2930100602)

See here the `punycode` deprecation warning in freshly created next app using `npm create-next-app@latest`.
Please resolve this issue, as I have OCD of using deprecated software.

### Provide environment information

```bash
Operating system:
Windows 11
Architecture:
x64
```

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

create-next-app

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

next dev (local)

### Additional context

Nothing, Please fix this. The biggest reason for me creating this issue is I mean i just used the latest version of next-js to create a fresh next app but still got a deprecation warning of some punycode module. Please resolve this.
Repository: ollama
Issue: Deepseek R1 throwing weird generation DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
Labels: bug

### What is the issue?

I tried to use the full deepseek model 4-bit quantized one with `ollama run deepseek-r1:671b` 

but it somehow gives `DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD` as the output

![Image](https://github.com/user-attachments/assets/d650a4ac-44cb-444f-a72c-7aa0191b502d)

### OS

Linux

### GPU

AMD

### CPU

_No response_

### Ollama version

0.5.7
Repository: youtube-dl
Issue: How can you use a list of proxies?
Labels: question

The question is, how can I use a whole list of proxies, I added 10 proxies to the list and upload it, but before that my script checks which ones work, which ones don't and generates a file with working proxies, I upload it.

![Image](https://github.com/user-attachments/assets/5a46b90f-98ae-4c3f-82b9-aeaf7ad3ac62)

How does the proxy list work, each connection to the parsing site comes from a different proxy ip address? I understand correctly.

The point was that if each connection to the parsing site comes not from one of the ip addresses of the proxy, but from different ones, then it makes sense, so that, say, YouTube does not complain that you need to use cookies, etc.


**Added proxy loading from the list**

`            with open("/home/shortsvideo/working_proxies.txt", "r") as f:
                working_proxies = f.read().splitlines()`

**Options like this, and connecting a list of proxies**
`            ydl_opts = {
                'http_user_agent': self.ua.random,
                'cookiefile': self.get_cookies_path(),
                'format': 'mp4',
                'outtmpl': f'{self.download_path}/%(id)s.mp4',
                'proxy': ', '.join(working_proxies), 
                'force_ipv6': True,
                'age_limit': 45,
            }`

Am I doing everything right to use the whole list with proxies, so that each connection to the site where the video should be parsed comes from a different proxy from the list.

I get this error, for some reason it shows a list with proxies.

![Image](https://github.com/user-attachments/assets/87c704f9-b24e-419b-9ea6-a6e1cb506ed9)
Repository: rust
Issue: Tracking issue for release notes of #134090: Stabilize target_feature_11
Labels: T-lang,relnotes,needs-triage,relnotes-tracking-issue


This issue tracks the release notes text for #134090.

### Steps

- [ ] 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
# Category (e.g. Language, Compiler, Libraries, Compatibility notes, ...)
- [Stabilize target_feature_11](https://github.com/rust-lang/rust/pull/134090)
````

> [!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 @veluca93, @tmandry -- origin issue/PR authors and assignees for starting to draft text