sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: Cannot use import alias if route path starts with period
Labels: bug

### Link to the code that reproduces this issue

https://github.com/jdhenry08/next-route-broken-imports

### To Reproduce

1. View src/app/.well-known/route.ts
2. Change "../../constants" import to "~/constants" or "src/constants"

### Current vs. Expected behavior

Importing the constants file from either of those two paths should work, since they're aliased in tsconfig.json, but the red squiggly remains :(

### Provide environment information

```bash
Node: 20.9.0
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.10.2
Relevant Packages:
  next: 14.2.5 // Latest available version is detected (14.2.5).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: N/A
Next.js Config:
  output: N/A
```


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

Not sure

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

Other (Deployed)

### Additional context

_No response_
Repository: next.js
Issue: Dynamic `import()` function usage behaves strangely, prevents server-only code
Labels: bug,Output (export/standalone),Lazy Loading,Pages Router,Module Resolution

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/relaxed-gagarin-khcz7s

### To Reproduce

The following code executes fine in Node, but it causes a "Module Not Found" error in Next.js:

```ts
export default function Home() {
  return "Hello, world!";
}

// This function is never called
const example = () => {
  return false;

  // This code is inaccessible
  import("any import, but for the sake of the demo, a path that doesn't exist");
};
```

<img width="564" alt="Screenshot 2024-08-19 at 2 14 53 PM" src="https://github.com/user-attachments/assets/b6be7d47-62fa-47c0-a610-2817b98f5bdf">


### Current vs. Expected behavior

You can copy the `example` function definition into Node and not only does the function get defined, but you can run it and you will get a `false` value in return. No errors, because we haven't done anything to trigger one. That is what I would expect to happen here.

What is actually instead is confusing, but I suspect is related to ensuring dynamically imported code is available *client side*. Unfortunately, this prevents the use of dynamic imports to split code in a way that allows me to keep server-only code server side because all dynamic imports are resolved and bundled by Next.js, even if there is a conditional guarding the import on the client.

### Provide environment information

```bash
Node 20.x
Next 14.25 or 15 Canary
See reproduction for any other required details.
```


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

Developer Experience, Lazy Loading, Module Resolution, Output (export/standalone), Pages Router

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

next dev (local), next build (local)

### Additional context

_No response_
Repository: godot
Issue: TabContainer not set up properly when its children are ready
Labels: bug,regression,topic:gui

### Tested versions

v4.3.stable.official [77dcf97d8]
Works fine in v4.2.2 (and before)

### System information

Windows 10

### Issue description

When instantiating TabContainer children via code the TabContainer is not set up properly when one of the children is ready. Compare these two outputs:
v4.2.2
![image](https://github.com/user-attachments/assets/5a0f0b37-6219-4a97-b2c6-2b5af063dc0f)

v4.3
![image](https://github.com/user-attachments/assets/a0ee979d-c71e-45f7-b53c-7afc3b935094)
This forces users to `call_deferred` any logic that relies on these properties, which is pretty inconvenient.

### Steps to reproduce

1) Instantiate a TabContainer
2) Instantiate a Control node as a child of the TabContainer
3) Connect the `ready` signal of the child
4) Check state of the TabContainer within the connected function

### Minimal reproduction project (MRP)

[TabContainerCurrentTab.zip](https://github.com/user-attachments/files/16664709/TabContainerCurrentTab.zip)
This is a 4.2.2 project which can easily be converted to 4.3
Repository: ollama
Issue: optimize numa behavior for large models with GPU and CPU inference - numa_balancing on GPU causes excessively slow load times
Labels: feature request,linux,performance

### What is the issue?

My setup is a 4x A100 80GB, 2TB ram, dual intel cpu. Ubuntu server 22.04. 
On a previous version of ollama, the model llama3.1:405b was loaded in a reasonable amount of seconds, with latest version this is not the case anymore. 
After issuing the command
ollama run llama3.1:405b 
it just remain with the rotating cursor.


### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.3.6
Repository: flutter
Issue: Flutter conductor should keep all its state within current working directory, allowing for concurrent releases
Labels: P1,team-release

I imagine a workflow like:

```
mkdir stable_release
cd stable_release
conductor start ....

cd ..
mkdir beta_release
cd beta_release
conductor start ...
```
Repository: PowerToys
Issue: Request for Double Pinyin Search Support in PowerToys Run
Labels: Needs-Triage

### Description of the new feature / enhancement

Currently, PowerToys Run supports Pinyin search, which is great. However, many users utilize the Double Pinyin input method rather than pure Pinyin input. Double Pinyin can be faster than full Pinyin in certain cases and enables quicker searches. We propose adding support for Double Pinyin search within PowerToys Run to enhance the usability for users who prefer this input method.

### Scenario when this would be used?

Users who rely on Double Pinyin input will benefit from this feature when typing search queries in PowerToys Run. For example, inputting "wwxb" could be recognized as "微信" (WeChat), allowing for faster and more accurate searches. This would improve overall productivity and search efficiency for users who are accustomed to using Double Pinyin.

### Supporting information

Adding support for Double Pinyin search in PowerToys Run would address the needs of users who prefer this input method. It would enhance the functionality of PowerToys by catering to a wider range of input preferences, potentially improving the user experience for those who find Double Pinyin more efficient than full Pinyin.
Repository: vscode
Issue: Git - integration displays unhelpful error message when pushing large file
Labels: bug,git,github

<!-- ⚠️⚠️ 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.92.2
- OS Version: Windows 10 21H1

Pushing a large file (over Github's maximum of 100MB) results in a pop-up error message prompting the user to try pulling first:

> Can't push refs to remove. Try running "Pull" first to integrate your changes

Reviewing the actual error message by clicking through to the terminal or command output reveals the actual issue, but including the actual error message in the pop-up may be helpful to some users. 

Steps to Reproduce:

1. Commit a large file
2. Push or sync

Edit: Issue remains in 1.92.2
Repository: TypeScript
Issue: Pasting is broken
Labels: Needs More Info


Type: <b>Bug</b>

loading spinner after pasting, then not pasting anything

Extension version: 5.6.20240817
VS Code version: Code 1.90.1 (Universal) (611f9bfce64f25108829dd295f54a6894e87339d, 2024-06-11T21:02:41.372Z)
OS version: Darwin x64 23.5.0
Modes:

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

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<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>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|19, 12, 9|
|Memory (System)|16.00GB (1.55GB free)|
|Process Argv|--crash-reporter-id 04f6e6a6-e358-4bc9-81fd-d6fa047b4be2|
|Screen Reader|no|
|VM|0%|
</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
0ee40948:31013168
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
flightc:31119335
wkspc-onlycs-t:31111718
nativeloc2:31118319
wkspc-ranged-c:31118571

```

</details>

<!-- generated by issue reporter -->
Repository: PowerToys
Issue: FancyZones deletes all contents of the zones after short time
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.80.1

### Installation method

Other (please specify in "Steps to Reproduce")

### Running as admin

Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

FancyZones deletes all contents of the zones after a short time

I have set up the zones several times and unfortunately after a short time I had to realize that the contents were deleted or emptied. So I linked them again and deleted them a short time later.

I am confused as to what this software is doing.

### ✔️ Expected Behavior

I expected all content to be retained until I relinked it

### ❌ Actual Behavior

Contents emptied after a short time, deleted

### Other Software

_No response_
Repository: PowerToys
Issue: Text Extractor random crashes
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response,Product-Text Extractor

### Microsoft PowerToys version

0.83.0

### Installation method

GitHub, Microsoft Store

### Running as admin

No

### Area(s) with issue?

TextExtractor

### Steps to reproduce

Unfortunately this happens randomly (3 times in total over last 4-5 weeks) so isn't easily reproduced. Using shortcut to bring up the interface, Windows locks up for about 15 sec and then the screen refreshes, often with several apps crashing (not always the same ones).

### ✔️ Expected Behavior

Shortcut should bring up interface everytime.

### ❌ Actual Behavior

Shortcut sometimes leads to crash as described above.

### Other Software

_No response_
Repository: rust
Issue: Unnecessary alloca Without Optimization Flags 
Labels: A-codegen,T-compiler,C-optimization

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

The following code, when compiled without optimization flags (or with `-Copt-level=0`) emits LLVM IR for an 8192-byte `alloca`, which can easily cause 100% unnecessary stack overflow errors in a running executable.

```rust
fn test<const SIZE: usize>() {
  if SIZE < 4096 {
    let arr = [0u8; SIZE];
    std::hint::black_box(&arr);
  } else {
    let vec = vec![0u8; SIZE];
    std::hint::black_box(&vec);
  }
}

fn main() {
    test::<8192>();
}
```

The following is the relevant LLVM IR:
```llvm
define internal void @example::test::hb882c86c9d7a582d() unnamed_addr #1 personality ptr @rust_eh_personality !dbg !546 {
start:
  %0 = alloca [16 x i8], align 8
  %vec = alloca [24 x i8], align 8
  %arr = alloca [8192 x i8], align 1
  br label %bb2, !dbg !548
```

`%arr` only ends up being used by `bb1` below, but `bb1` has no predecessors:

```llvm
bb1:                                              ; No predecessors!
  call void @llvm.memset.p0.i64(ptr align 1 %arr, i8 0, i64 8192, i1 false), !dbg !555
; call core::hint::black_box
  %_3 = call align 1 ptr @core::hint::black_box::h61dc8dd57d9b7993(ptr align 1 %arr), !dbg !556
  br label %bb5, !dbg !556
}
```

[Here's](https://godbolt.org/z/E9j8TY4nn) a Godbolt Compiler Explorer link with all of the IR.
Repository: ollama
Issue: GLM4 tools support
Labels: feature request

GML4 support tools - https://github.com/THUDM/GLM-4/blob/main/finetune_demo/README_en.md

How to fix the template in https://ollama.com/library/glm4 to make the ollama-tools mechanism work?
Repository: godot
Issue: Missing typeerror for comparisons to null
Labels: discussion,topic:gdscript,documentation

### Tested versions

4.3

### System information

Godot v4.3.stable - macOS 10.14.6 - GLES3 (Compatibility) - AMD Radeon R9 M370X OpenGL Engine - Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 Threads)

### Issue description

```
var foo: String
if foo == 0:
	pass
```

This shows an error, `Invalid operands "String" and "int" for "==" operator.` But change the 0 to null, and the error will go away, despite it being just as invalid to compare a string to null.

### Steps to reproduce

N/A

### Minimal reproduction project (MRP)

N/A
Repository: deno
Issue: suggestion: always have the description come first in JSDocs for unstable symbols
Labels: docs,suggestion

A symbol being unstable is secondary compared to a description of what that symbol does. I suggest we move the description to be first, and any unstable notices second.

CC @thisisjofrank @crowlKats

![image](https://github.com/user-attachments/assets/726d2a09-4da4-4977-bc4c-fc9b394b03b0)
Repository: tauri
Issue: [feat] Consider changing tauri.conf.json to tauri.config.json
Labels: type: feature request

### Describe the problem

Hello.
Tauri is doing great, I have simply a suggestion for your next major version.

JavaScript softwares tend to recognize their config files with the word "config" written on it. This is not a rule, it may only be the most frequent convention. of course there are other possibilities and all are valid,

I would not care, but to be frank to you, days have gone by before I realized that "conf" was an abbreviation for "config" in the file tauri.conf.json. I did not immediately recognized this file as the config file for Tauri.  Even now, I can't put my mind to read it as "config" when I pass my eyes on it, maybe because from where I come from, "conf" is an abbreviation for "comfort". Tauri project brings many default files, it is involved in terminologies from more than 1 ecosystem, so it is easy to become overloaded when you are having your first contact. In this scenario, it would be welcome to avoid the "conf" abbreviation, especially to be more recognizable for people whose main language is not english.

### Describe the solution you'd like

In order to ease comprehension, tauri.config.json (and its format variations) could be the expected file, instead of tauri.conf.json. It is easier to recognize, since there are more examples (astro.config.js, babel.config.js, capacitor.config.js, docusaurus.config.js, eleventy.config.js, eslint.config.js, farm.config.js, gatsby-config.js, iles.config.js, jest.config.js, lume.config.js, nativescript.config.js, next.config.js, nuxt.config.js, prettier.config.js, remix.config.js, stylelint.config.js, tailwind.config.js, tsconfig.json, vite.config.js, vitest.config.js, vue.config.js, webpack.config.js, ...)

All the best

### Alternatives considered

_No response_

### Additional context

_No response_
Repository: PowerToys
Issue: power Rename suggestion
Labels: Needs-Triage

### Description of the new feature / enhancement

I would like to add text to file names/ file name extensions with Power Rename.

### Scenario when this would be used?

this would be used if you typed the file name as part of a file name extension on multiple files, swapped file name and file name extension. or want to add text to a bunch of files
ex. 1 text.txt2024importantfile-->2024 screenshot-->2024importantfile.txt
ex. 2: image1-->image1dogs.png
         image2-->image2dogs.png
![image](https://github.com/user-attachments/assets/34f0d0ba-90cc-4dd3-93eb-adfe2e777c76)
Note: I have already tried to rename the files by deleting .vsconfig from all files.

### Supporting information

![Screenshot 2024-08-19 191531](https://github.com/user-attachments/assets/526b597d-e1b2-4425-9352-991b980230cd)
my idea for the feature.
Repository: pytorch
Issue: Why core aten IR doesn’t contain scalar_tensor overload version of some ops, like bitwise-like ops, remainder and so on?
Labels: triaged,module: core aten

### 📚 The doc issue

Many ops has scalar_tensor version in native_functions.yaml, but are not included in core aten IR. Is it missing or is there some other reason?

### Suggest a potential alternative/fix

Add scalar_tensor overload version of ops to core aten IR.
Repository: pytorch
Issue: torch.compile "run at compile time" decorator.
Labels: triaged,oncall: pt2,module: dynamo

### 🚀 The feature, motivation and pitch

Let's say I have something like this
```
@cached
def create_pi_expensive():
    return torch.ones((), device='cuda', dtype=torch.float16) * 3.14159265358979323846

def f(x):
    y = create_pi()
    return x + y
```
where we want to cache something at compile time and then reuse it.

Today, this is not so easy to do. If you use `@lru_cache` we completely ignore the decorator and run the function every time (not sure this is the right behavior fwiw). OTOH, even if you implement a manual caching mechanism, we will at the very least need to compile your function twice.

I think it would make sense to allow for a "comptime" annotation.

cc: @ezyang @yanboliang @anijain2305 

### Alternatives

_No response_

### Additional context

_No response_

cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames @rec
Repository: rust
Issue: A different case of "implementation of `FnOnce` is not general enough"
Labels: C-bug,T-types

I tried this code:

```rust
async fn new_trace_lde<E: FieldElement<BaseField = Felt>>(
    &self,
    trace_info: &TraceInfo,
    main_trace: &ColMatrix<Felt>,
    domain: &StarkDomain<Felt>,
) -> (Self::TraceLde<E>, TracePolyTable<E>) {
    // Error: implementation of FnOnce is not general enough
    WebGPUTraceLde::new(trace_info, main_trace, domain, self.webgpu_hash_fn).await
}

// WebGPUTraceLde::new
pub async fn new(
    trace_info: &TraceInfo,
    main_trace: &ColMatrix<Felt>,
    domain: &StarkDomain<Felt>,
    webgpu_hash_fn: HashFn,
) -> (Self, TracePolyTable<E>) {
    // extend the main execution trace and build a Merkle tree from the extended trace
    let (main_segment_lde, main_segment_tree, main_segment_polys) =
        build_trace_commitment(main_trace, domain, webgpu_hash_fn).await;

    let trace_poly_table = TracePolyTable::new(main_segment_polys);
    let trace_lde = WebGPUTraceLde {
        main_segment_lde,
        main_segment_tree,
        aux_segment_lde: None,
        aux_segment_tree: None,
        blowup: domain.trace_to_lde_blowup(),
        trace_info: trace_info.clone(),
        webgpu_hash_fn,
    };

    (trace_lde, trace_poly_table)
}
```

I expected to see this happen: *No error*

Instead, this happened: 
```
implementation of `FnOnce` is not general enough
closure with signature `fn(&'0 [Felt]) -> Vec<Felt>` must implement `FnOnce<(&'1 [Felt],)>`, for any two lifetimes `'0` and `'1`...
...but it actually implements `FnOnce<(&[Felt],)>` (rustc)*
```

### Meta


`rustc --version --verbose`:
```
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
binary: rustc
commit-hash: 3f5fd8dd41153bc5fdca9427e9e05be2c767ba23
commit-date: 2024-08-06
host: aarch64-apple-darwin
release: 1.80.1
LLVM version: 18.1.7
```

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary></summary>
<p>

```
error: implementation of `FnOnce` is not general enough
   --> prover/src/gpu/webgpu/mod.rs:177:49
    |
177 |       ) -> (Self::TraceLde<E>, TracePolyTable<E>) {
    |  _________________________________________________^
178 | |         WebGPUTraceLde::new(trace_info, main_trace, domain, self.webgpu_hash_fn).await
179 | |     }
    | |_____^ implementation of `FnOnce` is not general enough
    |
    = note: closure with signature `fn(&'0 [Felt]) -> Vec<Felt>` must implement `FnOnce<(&'1 [Felt],)>`, for any two lifetimes `'0` and `'1`...
    = note: ...but it actually implements `FnOnce<(&[Felt],)>`
```

</p>
</details>
Repository: material-ui
Issue:  'stylis-plugin-rtl';  No matching version found for @typescript-eslint/parser@5.0.1.
Labels: external dependency,customization: theme,customization: css

### Related page

https://mui.com/material-ui/customization/right-to-left/

### Kind of issue

Other

### Issue description

npm install stylis-plugin-rtl
**npm error code ETARGET
npm error notarget No matching version found for @typescript-eslint/parser@5.0.1.**
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.

### Context

implementing rtl in my project,  TextField lable stays on the left side while it shown on the border/frame 

**
<img width="831" alt="image" src="https://github.com/user-attachments/assets/ffc138cc-0eb2-44d8-8407-1d9b32aa1b48">
**

**Search keywords**: stylis-plugin-rtl