sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: deno
Issue: `fs.fchown` is not a function
Labels: bug,node compat

Extracting using [`tar`](https://www.npmjs.com/package/tar) fails with `fs.fchown is not a function` error.

Reproducible steps:

```ts
// tar_compat.ts
import * as tar from "npm:tar@7.4.0";
import { pipeline } from "node:stream/promises";

await fetch(
  "https://github.com/informalsystems/apalache/releases/download/v0.44.11/apalache.tgz",
).then((resp) =>
  pipeline(
    resp.body,
    tar.extract({ cwd: ".", strict: true }),
  )
);
```

```console
~ # deno run -A tar_compat.ts
error: Uncaught (in promise) TypeError: fs.fchown is not a function
    at WriteStream.<anonymous> (file:///deno-dir/npm/registry.npmjs.org/tar/7.4.0/dist/esm/unpack.js:468:24)
    at WriteStream.emit (ext:deno_node/_events.mjs:386:28)
    at WriteStream.emit (file:///deno-dir/npm/registry.npmjs.org/@isaacs/fs-minipass/4.0.1/dist/esm/index.js:252:22)
    at WriteStream.[_onwrite] (file:///deno-dir/npm/registry.npmjs.org/@isaacs/fs-minipass/4.0.1/dist/esm/index.js:337:26)
    at file:///deno-dir/npm/registry.npmjs.org/@isaacs/fs-minipass/4.0.1/dist/esm/index.js:319:87
    at ext:deno_node/_fs/_fs_write.mjs:105:9
    at eventLoopTick (ext:core/01_core.js:168:7)
```

The `apalache.tgz`'s content permissions:
```console
~ # curl -sLO https://github.com/informalsystems/apalache/releases/download/v0.44.11/apalache.tgz
~ # tar -tvf apalache.tgz
drwxr-xr-x runner/docker     0 2024-05-06 12:37 apalache/
-rw-r--r-- runner/docker 11945 2024-05-06 12:37 apalache/LICENSE
drwxr-xr-x runner/docker     0 2024-05-06 12:37 apalache/lib/
-rw-r--r-- runner/docker 104008305 2024-05-06 12:37 apalache/lib/apalache.jar
drwxr-xr-x runner/docker         0 2024-05-06 12:37 apalache/bin/
-rwxr-xr-x runner/docker      1945 2024-05-06 12:37 apalache/bin/apalache-mc
```

Version: Deno 1.44.4
Repository: flutter
Issue: Blur doesn't apply properly when a platform view gets rounded 
Labels: platform-ios,engine,a: platform-views,has reproducible steps,P2,team-ios,triaged-ios,found in release: 3.22,found in release: 3.23

### Steps to reproduce

1. Use code sample to run the app
2. See the text that should be getting blurred, not get blurred

### Expected results

The long test text behind the platform view should be getting blurred

### Actual results

The long test text behind the platform view doesn't get blurred

### Code sample

Code sample
https://github.com/Hari-07/platform_view_builder_ops_demo



### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

<img src="https://github.com/flutter/flutter/assets/22373191/4ea5ca54-e7a4-4ec9-abcf-ac7d7da14887" height ="600">

</details>


### Logs

_No response_

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.4.1 23E224 darwin-arm64, locale en-IN)
    • Flutter version 3.22.2 on channel stable at /Users/hari/Softwares/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (2 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/hari/Library/Android/sdk
    • Platform android-34-ext8, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.3345.108

[✓] VS Code (version 1.90.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.52.0
```

</details>
Repository: godot
Issue: Pressing Cancel while exporting project does nothing
Labels: bug,topic:editor,confirmed,topic:export

### Tested versions

4.3 beta2 and earlier

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

### Issue description


https://github.com/godotengine/godot/assets/2223172/92740b33-0803-4287-98a4-0c3401072961

There is no way to cancel the export. You have to kill the editor and restart.

### Steps to reproduce

1. Export the project
2. Press Cancel while exporting is in progress

### Minimal reproduction project (MRP)

N/A
Repository: rust
Issue: Tracking Issue for `mpmc`
Labels: T-libs-api,C-tracking-issue

Feature gate: `#![feature(mpmc_channel)]`

This is a tracking issue for `mpmc_channel` as described in [ACP](https://github.com/rust-lang/libs-team/issues/384).

### History

- [x] [ACP](https://github.com/rust-lang/libs-team/issues/451)
- [x] Implementation: #126839
- [ ] Final comment period (FCP)
- [ ] Stabilization PR
Repository: godot
Issue: `_export_file()` not called for GDScript files
Labels: discussion,topic:gdscript,documentation,topic:export

### Tested versions

4.3 beta2

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

### Issue description

Related to #67844
When I export my project `_export_file()` does not see GDScript files and they all get exported. It does not happen in a minimal project, I don't know what causes it.

### Steps to reproduce

1. Open my project ;_;
2. Export ZIP
3. My export plugin should filter out some .gd files, but all are included in the zip

### Minimal reproduction project (MRP)

I have maximal reproduction project.
Repository: pytorch
Issue: `int` type for `dims` of `tile()` without `dims=` works with a tensor against the doc
Labels: module: docs,triaged,actionable,release notes: python_frontend

### 🐛 Describe the bug

[The doc](https://pytorch.org/docs/stable/generated/torch.tile.html) of `tile()` says that `dims` is `tuple` type as shown below:

>- dims ([tuple](https://docs.python.org/3/library/stdtypes.html#tuple)) – the number of repetitions per dimension.

But `int` type for `dims` without `dims=` works with a tensor against the doc as shown below:

```python
import torch

my_tensor = torch.tensor([0, 1, 2])

my_tensor.tile(3)
# tensor([0, 1, 2, 0, 1, 2, 0, 1, 2])
```

And, `int` type for the 2nd argument also works with a tensor as shown below:

```python
import torch

my_tensor = torch.tensor([0, 1, 2])

my_tensor.tile(3, 2)
# tensor([[0, 1, 2, 0, 1, 2],
#         [0, 1, 2, 0, 1, 2],
#         [0, 1, 2, 0, 1, 2]])
```

In addition, `int` type for `dims` with `dims=`  doesn't work with a tensor as shown below:

```python
import torch

my_tensor = torch.tensor([0, 1, 2])

my_tensor.tile(dims=3) # Error
```

And, `int` type for `dims` with or without `dims=`  doesn't work with `torch` as shown below:

```python
import torch

my_tensor = torch.tensor([0, 1, 2])

torch.tile(my_tensor, dims=3) # Error

torch.tile(my_tensor, 3) # Error 
```


### Versions

```python
import torch

torch.__version__ # 2.3.0+cu121
```

cc @svekars @brycebortree
Repository: godot
Issue: `Access is denied` when trying to compile Godot
Labels: platform:windows,topic:buildsystem,needs testing

### Tested versions

- Reproducible in 4.3.beta [04bf7d4cade645a5923cc80d87ac1c6109e2cdfe]

### System information

Godot v4.3.beta (e7859e9a4) - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 Laptop GPU (NVIDIA; 31.0.15.4630) - AMD Ryzen 7 5800H with Radeon Graphics (16 Threads)

### Issue description

Sometimes when trying to compile godot, I get the following error:

```
scons: Building targets ...
[ 79%] Linking Program bin\godot.windows.editor.dev.x86_64.exe ...
[ 81%] LINK : fatal error LNK1104: cannot open file 'bin\godot.windows.editor.dev.x86_64.exe'
[ 81%] scons: *** [bin\godot.windows.editor.dev.x86_64.exe] Error 1104
scons: building terminated because of errors.
Exception ignored in atexit callback: <function purge_flaky_files at 0x0000028659AE7600>
Traceback (most recent call last):
  File "C:\Users\brno32\Repos\open-source\godot\SConstruct", line 1084, in purge_flaky_files
    os.remove(path)
PermissionError: [WinError 5] Access is denied: 'bin\\godot.windows.editor.dev.x86_64.exe'
```

### Steps to reproduce

I cannot get it to happen reliably. The exact command I ran was:

`venv/Scripts/scons dev_build=yes`

Once I got the error, I was stuck and every compilation gave the same result. I unblocked myself by deleting `bin\godot.windows.editor.dev.x86_64.exe`

### Minimal reproduction project (MRP)

N/A
Repository: ui
Issue: [bug]: Shadcn DataPicker
Labels: bug

### Describe the bug

When the shadcn date picker is inactive in my application it is inside my form, after I initiate the click event on the button it leaves the form and remains as if it had index-0, so I don't have it like clicking on nothing inside my date picker.

DataPicker
```
type Props = {
 value?: Date;
 onChange?: SelectSingleEventHandler;
 disabled?: boolean;
 initialFocus?: boolean;
}

export const DatePicker = ({
 value,
 onChange,
 disabled,
 initialFocus
}: Props) => {

 return (
 <Popover>
 <PopoverTrigger asChild>
 <Button
 disabled={disabled}
 variant="outline"
 className={cn(
 "w-full justify-start text-left font-normal",
 !value && "text-muted-foreground",
 )}
 >

 <CalendarIcon className="size-4 mr-2" />
 {value ? format(value, "PPPP") : <span>Select a date</span>}
 </Button>
 </PopoverTrigger>
 <PopoverContent align='start'>
 <Calendar
 mode="single"
 selected={value}
 onSelect={onChange}
 disabled={disabled}
 initialFocus={initialFocus}
 />
 </PopoverContent>
 </Popover>
 );
};
```

Call in the form:

```
<Form {...form}>
 <form
 onSubmit={form.handleSubmit(handleSubmit)}
 className='space-y-4 pt-4 relative'
 >
 <FormField
 name='date'
 control={form.control}
 render={({ field }) => (
 <FormItem>
 <FormLabel>
 Date
 </FormLabel>
 <FormControl>
 <DatePicker
 value={field.value}
 onChange={field.onChange}
 disabled={disabled}
 initialFocus
 />
 </FormControl>
 </FormItem>
 )}
 />
</form>
</Form>
```

### Affected component/components

DataPicker and Form

### How to reproduce

1. DataPicker Inative
2. Click in the button
3.Calendar appears but I can't click on a specific day

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Browsers in general
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: godot
Issue: Exported properties with default values in custom resources aren't correctly assigned `null` values
Labels: bug,topic:gdscript,topic:editor

### Tested versions

Reproducible in 4.2.1.stable [b09f793f5]

### System information

Godot v4.2.1.stable - Windows 10.0.26120 - Vulkan (Mobile) - integrated Intel(R) Iris(R) Plus Graphics () - Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 Threads)

### Issue description

Here, I have a custom resource that has a default value in code, but I want to assign a `null` value using the editor. I noticed that when I tried to set the exported property of my custom resource to `<empty>` that, upon viewing with the debugger, the property value had reverted back to the default value at runtime. I would expect the value to be `null` at runtime.
![image](https://github.com/godotengine/godot/assets/72361968/edf45cbd-ad6d-47dd-97d4-30c8bcf03046)
![image](https://github.com/godotengine/godot/assets/72361968/7f848aa7-0bbb-40f2-acbe-a63067492d86)
It seems like Godot reads <empty> properties in custom resources as the default properties of the resources. This seems to conflict with the behavior of native Godot classes, which read `<empty>` values set in the inspector as `null` values.

### Steps to reproduce

- Open the Minimal reproduction project
- Place a breakpoint at line 8 in main.gd
- Run the project, it should reach the breakpoint
- Inspect the value of stack variable `invisible_weapon`
- Note how `invisible_weapon`'s `weapon_icon` property is not `null` as expected

### Minimal reproduction project (MRP)

[MRP.zip](https://github.com/user-attachments/files/15942184/MRP.zip)
Repository: ollama
Issue: filtering library models based on tags?
Labels: feature request,ollama.com

can we get something like this for the models library? would be reallyyyy nice!
<img width="387" alt="Screenshot 2024-06-22 at 9 01 25 PM" src="https://github.com/ollama/ollama/assets/45348368/bd142627-9426-41af-b451-67dc82c427df">
Repository: tauri
Issue: [bug] Really high memory usage while resizing a window in Linux (V1 and V2)
Labels: type: bug,platform: Linux,status: needs triage

### Describe the bug

In both Tauri V1 and V2, if you resize the app constantly, memory usage will go up really fast, and it wont really go down unless you close the app and wait for the process to end.

Also I found that sometimes while resizing, the app will randomly just stop resizing, even if you try again, its just after a few seconds that the app will let you resize it again, but after that resizing becomes really slow/laggy

While I was testing in V1, memory usage went up to +95%, my whole system became so unstable that I had to perform an emergency restart
On V2 it takes a bit longer to see the memory usage go up like in V1, but it eventually does.

In both V1 and V2 memory usage goes down when you stop resizing, but really slowly, leaving the system borderline unusable for a while.

This is not a behavior I see in other web-based apps (in discord memory usage goes up a bit, but also down constantly)

My system:
Ryzen 5 3400G
16 GB RAM (only 14GB is usable by the system)
Arch Linux + KDE 6.1 (Wayland)
I dont know is this is important, but I also have a dual monitor setup
Also, I only tested this in Debug builds. 


### Reproduction

Run `npm run tauri dev` on any V1 or V2 and resize the window constantly

### Expected behavior

_No response_

### Full `tauri info` output

```text
> wavewolf@0.0.0 tauri
> tauri info


[⚠] Environment
    - OS: Arch Linux Rolling Release X64
    ✔ webkit2gtk-4.0: 2.44.2
    ✔ rsvg2: 2.58.1
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10) (Arch Linux rust 1:1.79.0-1)
    ✔ cargo: 1.79.0
    ⚠ rustup: not installed!
      If you have rust installed some other way, we recommend uninstalling it
      then use rustup instead. Visit https://rustup.rs/
    ⚠ Rust toolchain: couldn't be detected!
      Maybe you don't have rustup installed? if so, Visit https://rustup.rs/
    - node: 22.3.0
    - npm: 10.8.1

[-] Packages
    - tauri [RUST]: 1.6.8
    - tauri-build [RUST]: 1.5.2
    - wry [RUST]: 0.24.10
    - tao [RUST]: 0.16.9
    - @tauri-apps/api [NPM]: 1.5.6
    - @tauri-apps/cli [NPM]: 1.5.14

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../build
    - devPath: http://localhost:1420/
    - framework: Svelte
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

In the attached video you can see how simply resizing an app makes the system ram usage go up, and also the whole system becomes really laggy, and it doesnt stop until I close the app. The image is for the same test but on a V2 app, the same thing happens.


https://github.com/tauri-apps/tauri/assets/66720930/2eb979b6-1a2b-4257-b15f-05b1224a221d



![Screenshot_20240622_172304](https://github.com/tauri-apps/tauri/assets/66720930/7dc5176d-a2b0-4910-9383-5ca9196d9473)
Repository: react
Issue: [Compiler Bug]:  healthcheck do not check next.js StrictMode
Labels: Type: Bug,Status: Unconfirmed,Component: Optimizing Compiler

### What kind of issue is this?

- [ ] React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization)
- [ ] babel-plugin-react-compiler (build issue installing or using the Babel plugin)
- [ ] eslint-plugin-react-compiler (build issue installing or using the eslint plugin)
- [X] react-compiler-healthcheck (build issue installing or using the healthcheck script)

### Link to repro

https://github.com/coleea/bug-report-next15-server-action

### Repro steps

just run command `npx react-compiler-healthcheck@latest`.
then, react-compiler-healthcheck does not check StrictMode even though Next.js is actually StrictMode.

Next.js is StrictMode by default under these two conditions are met

1) Next.js version 13.4+ 
2) App router

You can check this : https://rc.nextjs.org/docs/app/api-reference/next-config-js/reactStrictMode

So, It needs extra three steps to check whether StrictMode or Not.
1) check package.json if Next.js version is over 13.4 or not.
2) If so, Check if `reactStrictMode: false` is not set.
3) check if project is App-Router-based.

If three conditions are met, this project is based on StrictMode even though `reactStrictMode: true` is not set on `next.config.mjs` file.



### How often does this bug happen?

Every time

### What version of React are you using?

19.0.0-rc.0
Repository: ollama
Issue: Obsidian Unresponsive after 3 hours of successful training/Embedding when PHI3 is set to the embedding model
Labels: bug

Note: Other embedders in this software are working. this is a phi3 Embedding issue, specifically. not a phi3 Chat model issue

### What is the issue?

Obsidian Unresponsive after 3 hours of successful training/Embedding.

it is just unresponsive after completing the embedding. there is not CPU or GPU activity. Obsidian just does not respond. I will attempt to force close it, against my better judgement.

### OS

Windows

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.1.45
Repository: PowerToys
Issue: Fancy Zones: resizable windows only
Labels: Needs-Triage

### Description of the new feature / enhancement

It would be very handy for me if I could check a box that does not allow any window that cannot be resized to interact with Fancy Zones. 

### Scenario when this would be used?

There are a lot of small window popups (e.g. the loading bar window that shows while Steam is updating) that I would like to be able to move without them snapping to my zones (because they won't resize and will just jump to the upper corner of the zone, and, at least for me, this is a functionality that I never desire). I could probably find the name for each little process and manually exclude them, but that would be pretty tedious and frankly would never end.

### Supporting information

I realize this is a very minor feature as far as its usage, but for people like me with bad OCD, little things like this can make a big difference. It would effectively make my Fancy Zones setup perfect. I understand if this is not something enough people care about to implement though. Just a humble suggestion that I've been thinking about recently. 

EDIT: Also, I do realize there is an option to disable child windows from snapping. I have this off and it does not affect everything such as the Steam example listed above. Also, plenty of windows that cannot change size are not children of anything.
Repository: flutter
Issue: [tool] some tests test for sending GA3 analytics events but not GA4
Labels: P2,c: tech-debt,team-tool,triaged-tool

Discovered while working on https://github.com/flutter/flutter/issues/150575

Example:

https://github.com/flutter/flutter/blob/2b218fd1fc6470e4722aa6614c82c31cd7889601/packages/flutter_tools/test/commands.shard/permeable/build_apk_test.dart#L112-L125

I'm assuming these tests should be making sure we are sending GA4 events as well (using package:unified_analytics).
Repository: vscode
Issue: Support ligatures for fallback fonts
Labels: feature-request,font-rendering

<!-- ⚠️⚠️ 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. -->
It would be nice if ligatures could be specified on a per-font basis to better support font-fallback. 

For example, say I have a font (ex: [MonoLisa](https://www.monolisa.dev)) which has several ligature options, but it is only installed on machines with macOS. If I don't have this font installed on a Linux host, I may want to fall back to another font (ex: [Monaspace Argon](https://monaspace.githubnext.com)). 

With `editor.fontFamily` font fallback is possible, but there is only one "set" of values allowed in `editor.fontLigatures`. The ligatures I have specified for my primary font may not correspond to the ligatures I wish to specify for my fallback font. 

Please let me know if any clarification is needed.
Repository: electron
Issue: [Bug]: Linux BrowserWindow "resize" emitted during "move", and vice versa
Labels: platform/linux,bug :beetle:,has-repro-gist,stale,30-x-y,31-x-y,32-x-y

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

30.0.1

### What operating system are you using?

Ubuntu

### Operating System Version

Ubuntu 22.04

### What arch are you using?

arm64 (including Apple Silicon)

### Last Known Working Electron version

_No response_

### Expected Behavior

In the [attached GIST](https://gist.github.com/safris/bb9e06b50d82e83f787a1b52f94b3f3c), `console.log("m")` occurs for `BrowserWindow.on("move")`, and `console.log("r")` occurs for `BrowserWindow.on("resize")`.

Expected Behavior:
1. That when the window is moved, only "m" is seen being outputted in the console.
2. That when the window is resized, only "r" is seen being outputted in the console.

### Actual Behavior

Three distinct use-cases:
1. ❌ When the window is moved, "m" and "r" are seen in the console. This is not expected.
2. ❌ When the window is resized via the upper-left-hand and upper-right-hand corners, and left-hand border and top border, "m" and "r" are seen in the console. This is not expected.
3. ✅ When the window is resized via the lower-left-hand and lower-right-hand corners, and right-hand border, "r" is seen in the console. This is expected.

It seems that if the title bar is either moved or resized, both "move" and "resize" events are emitted. If other parts of the window are moved or resized, "move" and "resize" are emitted respectfully to the correct action.

I've also tried with `frame=false`, and the behavior is the same.

This issue seems to be related to #28134.

### Testcase Gist URL

https://gist.github.com/safris/bb9e06b50d82e83f787a1b52f94b3f3c

### Additional Information

_No response_