sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: The bottom border of Manage menu is cut
Labels: polish,layout,workbench-views

<!-- ⚠️⚠️ 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.93.1
- OS Version: Windows_NT x64 10.0.19045

Steps to Reproduce:

1. Hide the Status bar
2. Click the Manage button in the bottem left
3. See the picture below

![image](https://github.com/user-attachments/assets/e74813be-c174-45a9-8116-8f84c3ef8389)

(Update: it's still remaining in version 1.93.1)
Repository: rust
Issue: Miscompilation: comparing a pointer against all possible addresses returns `false`
Labels: A-LLVM,P-low,T-compiler,I-unsound,I-miscompile

Consider this code:
```rust
#![feature(strict_provenance)]

use std::ptr;

#[no_mangle]
pub fn test(x: *mut u8) -> bool {
    let local = 0u8;
    for i in 0..=usize::MAX {
        if x.addr() == ptr::from_ref(&local).wrapping_add(i).addr() {
            return true;
        }
    }
    false
}
```

This compares `x.addr()` with *every possible address there is*. And yet, the optimized LLVM IR for this is:
```
; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable
define noundef zeroext i1 @test(ptr nocapture noundef readnone %x) unnamed_addr #0 {
start:
  ret i1 false
}
```

That's clearly nonsense.

This is the Rust version of https://github.com/llvm/llvm-project/issues/34450.

Cc @nikic @rust-lang/opsem
Repository: terminal
Issue: Large drop in performance when using font features
Labels: Area-Rendering,Issue-Bug,Product-Terminal

### Windows Terminal version

1.22.2362.0

### Windows build number

10.0.19045.4894

### Other Software

[Iosevka Term 31.6.1](https://github.com/be5invis/Iosevka/blob/v31.6.1/doc/PACKAGE-LIST.md)

### Steps to reproduce

1. Download and install [Iosevka Term 31.6.1](https://github.com/be5invis/Iosevka/blob/v31.6.1/doc/PACKAGE-LIST.md).
2. Set font face to Iosevka Term
3. Set any of the available font features to an arbitrary value.

### Expected Behavior

Smooth scrolling/selection.

### Actual Behavior

Selection via mouse and scrolling becomes very sluggish. It is less noticeable on a blank cmd, but it gets worse and worse with more colors, characters and a bigger window. Especially noticeable when using a command line editor like Vim/Helix via WSL.

Removing the font features immediately makes everything smooth again. I can't reproduce this behavior with Cascadia Code, only noticed it with Iosevka Term so far.
Repository: flutter
Issue: SliderTickMarkShape paint() arguments
Labels: framework,f: material design,c: proposal,P3,team-design,triaged-design

### Use case

The theming of the `Slider` allows us to provide our own implementation for various elements, including the tick marks on the track. But there's one obvious oversight: the `paint()` function doesn't receive which tick mark should be painted, so there's no way to paint different marks depending on position (an obvious and ubiquitous use case would be to draw a larger tick for every fifth or tenth or similar division).

### Proposal

The obvious solution would be to add a new argument to the paint function:

```
  void paint(
    PaintingContext context,
    Offset center, {
    required RenderBox parentBox,
    required SliderThemeData sliderTheme,
    required Animation<double> enableAnimation,
    required TextDirection textDirection,
    required Offset thumbCenter,
    required bool isEnabled,
    int index = 0, // not passed by original Slider
  })
```

but this might lead to compatibility problems. So, a new field could be introduced in `SliderTickMarkShape`, eg. `tickMarkPaintIndex`, that gets set before each call to `paint()` and the routine can consult it to determine how to do its painting accordingly.
Repository: godot
Issue: You get locked out of the code editor after CtrL+Shift+U and then clicking somewhere
Labels: bug,topic:editor

### Tested versions

Reproducible in 4.3

### System information

Godot v4.3.stable - Pop!_OS 22.04 LTS - X11 - GLES3 (Compatibility) - Mesa Intel(R) Graphics (ADL GT2) - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)

### Issue description

The code in the script editor stops being editable when you click somewhere while you're inputting a unicode with Ctrl+Shift+U.

### Steps to reproduce

- Press Ctrl+Shift+U (or Ctrl+Shift+E if your system supports it). You'll see an underlined letter appear, which now prompts you to type something to input the unicode or emoji.
- Click somewhere in the code editor.
- You're now locked out and can't write code.

You can get edit access back by doing Ctrl+Shift+U again. The expected behavior would be that you exit unicode mode, or that you'd now be adding a unicode character in the new caret position (the latter seems to be how it's usually implemented).

### Minimal reproduction project (MRP)

N/A
Repository: langchain
Issue: cannot import name 'from_env' from 'langchain_core.utils'
Labels: investigate,Ɑ:  core

### 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

from crewai import Agent, Task , Crew
from langchain_huggingface import HuggingFaceEndpoint

llm = HuggingFaceEndpoint(
    repo_id="microsoft/Phi-3-mini-4k-instruct",
    task="text-generation",
    max_new_tokens=512,
    do_sample=False,
    repetition_penalty=1.03,
)

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

ImportError: cannot import name 'from_env' from 'langchain_core.utils' (c:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_core\utils\__init__.py)



### Description

when trying to use import HuggingFaceEndpoint

get an error: cannot import name 'from_env' from 'langchain_core.utils' 

try using python version 10 and version 12, meet the same error.

### System Info

python version 12.
Repository: rust
Issue: ICE: suggestion must not have overlapping parts  `E0599`
Labels: A-diagnostics,I-ICE,T-compiler,C-bug,D-invalid-suggestion,S-bug-has-test,requires-debug-assertions

<!--
Thank you for finding an Internal Compiler Error! 🧊  If possible, try to provide
a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
how to create smaller examples.
http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
-->

### Code

```Rust
enum U {
    B(isize, usize),
}

fn main() {
    let x = T::A(U::C);
}
```


### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.83.0-nightly (9b72238eb 2024-09-14)
binary: rustc
commit-hash: 9b72238eb813e9d06e9e9d270168512fbffd7ee7
commit-date: 2024-09-14
host: x86_64-unknown-linux-gnu
release: 1.83.0-nightly
LLVM version: 19.1.0
```

### Error output

```
error[E0433]: failed to resolve: use of undeclared type `T`
 --> k.rs:6:13
  |
6 |     let x = T::A(U::C);
  |             ^
  |             |
  |             use of undeclared type `T`
  |             help: an enum with a similar name exists: `U`

error[E0599]: no variant or associated item named `C` found for enum `U` in the current scope
 --> k.rs:6:21
  |
1 | enum U {
  | ------ variant or associated item `C` not found for this enum
...
6 |     let x = T::A(U::C);
  |                     ^ variant or associated item not found in `U`
  |
help: there is a variant with a similar name
  |
6 |     let x = T::A(/* isize */, /* usize */B);
  |                  ~~~~~~~~~~~~~~~~~~~~~~~~

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0433, E0599.
For more information about an error, try `rustc --explain E0433`.
```
Repository: ollama
Issue: Multi-user installation for Ollama on MacOS
Labels: feature request

Trying to help my university IT install Ollama in such a way that it can be distributed via the IT self-service installation process which uses [Jamf Pro](https://www.jamf.com/products/jamf-pro/).  

Looks like this might already be possible. Seems that when trying to run the installer inside `/Applications` folder the installer succeeds but then upon first use by a user, the user is prompted to install the command line interface and asked to provide admin password. Any suggestions would be much appreciated!
Repository: rust
Issue: Some linker sections are missing when building project with nightly toolchain
Labels: A-linkage,T-compiler,C-bug,requires-nightly

I'm using Ubuntu Linux 20.04.

I have a project which build some `.c` files (lttng tracepoints) in `build.rs` with `cc::Build` and link it to executable.
In `stable` version of Rust toolchain everything works fine.

But when compiling it with `nightly` Rust toolchain some tracepoint data is missing in resulting executable and tracing does not working.

### Code

Here is the archive of minimal project which have a link problem on `nightly`:
[lttng_link_test.zip](https://github.com/user-attachments/files/17005743/lttng_link_test.zip)

To build the code you may need to install `liblttng-ust-dev` package.
The Rust toolchain is specified in `rust-toolchain.toml` file of the project.

I tried this code:

```sh
> cargo build
> nm target/debug/lttng_link_test | grep tracepoint_ptr
```

I expected to see this happen:

```sh
0000000000057118 d __tracepoint_ptr_hello_world___my_first_tracepoint
0000000000057128 V __tracepoint_ptrs_registered
```
Instead, this happened: 
```sh
0000000000059988 b __tracepoint_ptrs_registered
```
The `__tracepoint_ptr_hello_world___my_first_tracepoint` is missing.

### Version it worked on

It most recently worked on:
```
rustc 1.81.0 (eeb90cda1 2024-09-04)
binary: rustc
commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c
commit-date: 2024-09-04
host: x86_64-unknown-linux-gnu
release: 1.81.0
LLVM version: 18.1.7
```


### Version with regression

```
rustc 1.83.0-nightly (9b72238eb 2024-09-14)
binary: rustc
commit-hash: 9b72238eb813e9d06e9e9d270168512fbffd7ee7
commit-date: 2024-09-14
host: x86_64-unknown-linux-gnu
release: 1.83.0-nightly
LLVM version: 19.1.0
```

<!--
If you know when this regression occurred, please add a line like below, replacing `{channel}` with one of stable, beta, or nightly.

@rustbot modify labels: +regression-from-stable-to-{channel} -regression-untriaged
-->
Repository: PowerToys
Issue: [VERY MUCH NEEDED] Separate Power Run plugins for System's commands and IP/MAC addresses.
Labels: Needs-Triage

### Description of the new feature / enhancement

IP/MAC addresses get in the way when you want to use a system's command, as reported [here](https://github.com/microsoft/PowerToys/issues/23335). The ideal would be to create a separate plugin for these addresses, triggered by a different shortcut. And leave the system's commands on their own.

### Scenario when this would be used?

Count the times you've used Power Run for your system's command. Now compare it to the times you've used it to grab an IP/MAC address. Now, do you think it makes sense for these addresses to show up first when trying to use a system's command? Does it even make sense for them to be grouped with the system's commands within the same plugin?

### Supporting information

Please, I'm sure it wouldn't take that much effort to implement this. I'd do it myself if I could. Thanks to anyone who will help.
Repository: transformers
Issue: The attention mask is not set and cannot be inferred from input because pad token is same as eos token. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
Labels: bug

### System Info

- `transformers` version: 4.44.2
- Platform: Linux-6.8.0-44-generic-x86_64-with-glibc2.39
- Python version: 3.12.3
- Huggingface_hub version: 0.24.7
- Safetensors version: 0.4.5
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.4.1+cu121 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using distributed or parallel set-up in script?: No


### Who can help?

speech models: @ylacombe, @eustlb
pipelines: @Rocketknight1

### Information

- [ ] The official example scripts
- [X] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

```python
import torch 
from transformers import pipeline

pipe = pipeline(
    "automatic-speech-recognition",
    model="openai/whisper-base.en",
    device="cpu",
    torch_dtype=torch.float32,
)

# https://github.com/openai/whisper/blob/main/tests/jfk.flac
pipe("./jfk.flac")
```

### Expected behavior

This does return the expected:

```python
{'text': ' And so my fellow Americans ask not what your country can do for you, ask what you can do for your country.'}
```

But it also prints the following, so would be nice to fix/suppress:

```
The attention mask is not set and cannot be inferred from input because pad token is same as eos token. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
```

Thanks!
Repository: neovim
Issue: diagnostics UI not updating after "textDocument/publishDiagnostics" event (with is_pull=false)
Labels: bug,has:plan,lsp,diagnostic

### Problem

- The LSP server sends code actions list to Neovim client one of the code actions does not update the buffer (it's for ignoring the error)

- The code action sends the new diagnostics list using (textDocument/publishDiagnostics) to Neovim

- Now the UI does not change unless I update the buffer manually



https://github.com/user-attachments/assets/b19db9e5-10a8-41c6-bd15-044a4ad5e95d


adding this to `init.lua`
```lua 
vim.api.nvim_create_autocmd('DiagnosticChanged', {
    callback = function(args)
         vim.print(vim.inspect(args))
     end,
})
```  
it prints the up to date version of diagnostics

### Steps to reproduce using "nvim -u minimal_init.lua"

```lua 
vim.api.nvim_create_autocmd('FileType', {
    pattern = {
        "markdown", "text", "plaintext", "md", "html", "xml", "json", "yaml", "toml", "javascript", "typescript",
        "javascriptreact", "typescriptreact", "css", "scss", "less", "vue", "svelte", "go", "python", "lua",
        "c", "cpp", "java", "php", "ruby", "rust", "bash", "sh", "dockerfile", "sql"
    },
    callback = function(args)
        vim.lsp.start({
            name = "cspell",
            cmd = { "node", "path/to/dist/server.js", "--stdio" },
            root_dir = vim.fn.getcwd(),
        })
    end,
})
```
1. run `nvim test.txt`
2. write `hellx` or any misspelled word
3. run `lua vim.lsp.buf.code_action()`
4. chose the last code action for adding the word to user settings

### Expected behavior

to update the UI of diagnostics without the need for updating the file

### Neovim version (nvim -v)

NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068

### Language server name/version

custom made, https://github.com/salihdhaifullah/cspell-lsp

### Operating system/version

Ubuntu 22.04.4 LTS

### Log file

_No response_
Repository: neovim
Issue: cmdheight=0: Restoring session prints current file name in cmd line with "Press ENTER or type command to continue" prompt
Labels: bug,ui,has:bisected,messages,editor

### Problem

When restoring session with `nvim -S` I get annoying prompt to press enter.
It is not happening with version 0.9-x. Only started happening after upgrade to 0.10
My `cmdheight` option is set to 0

### Steps to reproduce

start `nvim -S ` to restore seesion.
The current open file name will be printed in cmd line with the mentioned prompt.



### Expected behavior

No prompt

### Neovim version (nvim -v)

v0.10.1

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

no

### Operating system/version

arch linux 6.10.9

### Terminal name/version

xfce terminal

### $TERM environment variable

xterm-256color

### Installation

arch official repo
Repository: godot
Issue: gdextension: `Object::ConnectFlags` marked as not a bitfield in `extension_api.json`
Labels: discussion,topic:core

### Tested versions

- Reproducible in: 4.3.stable.official.77dcf97d8

### System information

Godot v4.3.stable - Ubuntu 24.04.1 LTS 24.04 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX Vega M GH Graphics (RADV VEGAM) - Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz (8 Threads)

### Issue description

In `extension_api.json`, `Object::ConnectFlags` is marked as `"is_bitfield": false`, however, given that the enum values are powers of two, the default value in e.g. `Signal::connect` is 0 (seemingly unset), and that the behaviors associated with each enum variant are seemingly orthogonal, it would seem that this is a bitfield.

This seems to have led to issues in C# (https://github.com/godotengine/godot/issues/74829) and in Rust gdext (https://github.com/godot-rust/gdext/issues/756).

### Steps to reproduce

```sh
godot --dump-extension-api
cat extension_api.json | jq '.classes[] | select(.name == "Object").enums[] | select(.name == "ConnectFlags").is_bitfield'
# false
# alternately, inspect with a pager or text editor
```

### Minimal reproduction project (MRP)

N/A
Repository: deno
Issue:  Unexpected error: tempFd.createWriteStream is not a function
Labels: bug,node compat

When running `observable build`

https://compat.deno.dev/#@observablehq/framework-1.11.0
Repository: rust
Issue: When a type is `#[repr(simd)]`, `#[repr(align(N))]` annotations are ignored.
Labels: T-compiler,A-SIMD,C-bug,A-repr,A-align

<!--
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.
-->

See this example [playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=a84ef736c4d63be76b5d6136edcc5f33)

```rust
#[repr(simd, align(32))]
struct Test([f32; 4]);

fn main() {
    println!("{}", core::mem::align_of::<Test>());
}
```

I expected to see this happen: an alignment of *at least* 32 to be printed.

Instead, this happened: the alignment is only `16`, the align of the underlying platform 128bit simd vector type.

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

Seen on playground nightly with version
```
(2024-09-14 9b72238eb813e9d06e9e)
```
Repository: godot
Issue: Godot always freezes when I press the export project button for Android using a Gradle build.
Labels: bug,platform:android,needs testing,topic:export

### Tested versions

Reproducible in: v4.3.stable.official [77dcf97]

### System information

Godot v4.3.stable - macOS 12.5.0 - Vulkan (Mobile) - integrated Apple M2 - Apple M2 (8 Threads)

### Issue description

I am experiencing a freeze crash when trying to export my project to Android using the Gradle build system in Godot. The editor crashes without displaying any error messages, making it difficult to determine whether the issue is due to a configuration mistake or a bug. Even after I close Godot, my Mac overheats

Export Setup Details:

1. JDK:

      - Version: OpenJDK 17.0.12
      - Runtime Environment: Temurin-17.0.12+7 (build 17.0.12+7)
      - JVM: OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (build 17.0.12+7, mixed mode)
  
2.  Android Development Tools:

        - Android Studio: 2024.1.1
        - Android SDK Platform-Tools: Version 35.0.2
        - Android SDK Build-Tools: Version 34.0.0
        - Android SDK Platform: Version 34
        - Android SDK Command-line Tools: Latest version
        - CMake: Version 3.10.2.4988404
        - NDK: Version 23.2.8568313


3. config.gradle file in Android Build Template


 ext.versions = [
   
     - androidGradlePlugin: '8.2.0',
     - compileSdk         : 34,
     - minSdk             : 21,
     - targetSdk          : 34,
     - buildTools         : '34.0.0',
     -  kotlinVersion      : '1.9.20',
     - fragmentVersion    : '1.7.1',
     -  nexusPublishVersion: '1.3.0',
     -  javaVersion        : JavaVersion.VERSION_17,
     - ndkVersion         : '23.2.8568313',
     - splashscreenVersion: '1.0.1'
 
]


### Steps to reproduce

1. Open any project in Godot.
2. Go to Project > Export.
3. Select Android and configure the export settings.
4. Enable Gradle Build
6. Click on Export Project.

### Minimal reproduction project (MRP)

N/A
Repository: ui
Issue: [feat]: a `shadcn@latest reset` command to re-install components
Labels: area: request

### Feature description

A reset command that would install all the installed components again. the installation status of these components can be tracked via the `components.json` file where the name of the components can be added.

### Affected component/components

none

### Additional Context

_No response_

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs