sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: Missing `sass-embedded` peer dependency
Labels: create-next-app,bug,Webpack,Runtime

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/gracious-voice-8mxdxl?workspaceId=eb53ed51-e5b9-4293-8298-f0747af5ed78

### To Reproduce

1. `create-next-app`
2. add `sass-embedded`
3. create a `.scss` file and import
4. `next dev`

### Current vs. Expected behavior

## Current
```console
next tried to access sass (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.

Required package: sass
Required by: next@npm:14.2.8 (via C:\<WORKSPACE>\node_modules\next\dist\compiled\sass-loader\)
```

```console
To use Next.js' built-in Sass support, you first need to install `sass`.
Run `npm i sass` or `yarn add sass` inside your workspace.

Learn more: https://nextjs.org/docs/messages/install-sass
```

## Expected:
No error and `sass-embedded` ia an optional peer dependency

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Home
  Available memory (MB): 32510
  Available CPU cores: 16
Binaries:
  Node: 22.3.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.8 // There is a newer version (14.2.10) available, upgrade recommended!
  eslint-config-next: 14.2.8
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.5.4
Next.js Config:
  output: N/A
 ⚠ There is a newer version (14.2.10) available, upgrade recommended!
   Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
   Read more - https://nextjs.org/docs/messages/opening-an-issue
```


### Which area(s) are affected? (Select all that apply)

create-next-app, Runtime, Webpack

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

`sass-embedded` support is already added in #64577 (discussion #36160)
Repository: godot
Issue: Can't parse execute_with_pipe stdio data
Labels: platform:windows,needs testing

### Tested versions

v4.4.dev2.mono.official [97ef3c837]

### System information

Godot v4.4.dev2.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 5GB (NVIDIA; 31.0.15.3623) - AMD Ryzen 9 3900X 12-Core Processor (24 Threads)

### Issue description

I'm try get execute_with_pipe's output.
```gdscript
extends Control

var pipe : FileAccess
var thread : Thread

func _ready() -> void:
	var dic = OS.execute_with_pipe("cmd",["/c", "ping 127.0.0.1"])
	pipe = dic.stdio
	prints(pipe)
	thread = Thread.new()
	thread.start(_thread_func)
	get_window().close_requested.connect(clean_func)


func _thread_func():
	while pipe.is_open() and pipe.get_error()==OK:
		_add_char.call_deferred(pipe.get_8())
	prints("all done", pipe.is_open(), pipe.get_error())

var data := PackedByteArray()
func _add_char(c):
	data.append(c)
	$TextEdit.text = data.get_string_from_utf8()
	prints("ccc",c,Engine.get_frames_drawn())


func clean_func():
	pipe.close()
	thread.wait_to_finish()


func _on_line_edit_text_submitted(new_text: String) -> void:
	var cmd :String = new_text+"\n"
	var buffer = cmd.to_utf8_buffer()
	pipe.store_buffer(buffer)
	$LineEdit.clear()

```


but I can't get correct data.
![image](https://github.com/user-attachments/assets/29362abc-7819-47ab-9998-bc556671841b)

![image](https://github.com/user-attachments/assets/e9f66d60-09e7-4f25-be00-447a2b3949bf)


### Steps to reproduce

/

### Minimal reproduction project (MRP)

[CmdTest.zip](https://github.com/user-attachments/files/16977745/CmdTest.zip)
Repository: godot
Issue: Scaled 2d collisions break sliding through `move_and_slide()`
Labels: topic:physics,topic:2d

### Tested versions

- Reproducible in 4.2 and 4.3

### System information

Godot v4.3.stable - macOS 14.6.1 - Vulkan (Mobile) - integrated Apple M3 Max - Apple M3 Max (14 Threads)

### Issue description

I'm making a tower defense game ([Rift Riff](https://store.steampowered.com/app/2800900/Rift_Riff/)) which is a non-tile-based isometric game. To match object collisions with the isometric graphics, I regularly use `CollisionShape2D` with it's shape set to a `ShapeCircle2D` and set the `CollisionShape2D`s transform scale to `1.0, 0.7` so that the collision and graphics match.

However, for entities that move, I've found that this often breaks the sliding behavior in `move_and_slide()`. As scaling the collision works, both technically in the game and visually in the editor, and doesn't give any errors, I believe this is a bug and not unsupported behavior. If this is unsupported behavior (which would be very undesirable for my game) then perhaps the transform scaling property of `CollisionShape2D`s should be read only or perhaps show a warning when scale is adjusted.


An example from within my game:

https://github.com/user-attachments/assets/412e0806-8bdd-4d01-a774-0b18446da1a5


And here an example when the `CollisionShape2D`s transform scale is simply `1.0, 1.0` (which works flawlessly):

https://github.com/user-attachments/assets/8825bd23-e690-4931-a58c-7c164e8ef744


Here a small vid of the MRP I created to show the faulty behavior:

https://github.com/user-attachments/assets/f578258e-58cd-437f-b593-bdcd076d3894

### Steps to reproduce

Play the MRP and notice how the characters with scaled colliders can get stuck at a place that the normal colliders don't.

### Minimal reproduction project (MRP)

[slide-fail.zip](https://github.com/user-attachments/files/16977720/slide-fail.zip)
Repository: flutter
Issue: Able to set full screen width for MenuAnchor
Labels: c: new feature,framework,f: material design,c: proposal,P3,team-design,triaged-design

### Steps to reproduce

MenuAnchor sets the full screen width, but it is not actually full screen.

### Expected results

MenuAnchor can set full screen width

### Actual results

MenuAnchor is not set to full screen width

### Code sample

<details open><summary>Code sample</summary>

```dart
 MenuAnchor(
          childFocusNode: _buttonFocusNode,
          menuChildren: <Widget>[
            MenuItemButton(
              child: Text(MenuEntry.about.label),
              onPressed: () => _activate(MenuEntry.about),
            ),
            SizedBox(
              width:MediaQuery.of(context).size.width,
              child:Text("dsfdsf")
            ),
           
            
          ],
          builder:
              (BuildContext context, MenuController controller, Widget? child) {
            return TextButton(
              focusNode: _buttonFocusNode,
              onPressed: () {
                if (controller.isOpen) {
                  controller.close();
                } else {
                  controller.open();
                }
              },
              child: const Text('OPEN MENU'),
            );
          },
        ),
```
</details>


### Screenshots or Video

![1726137667680](https://github.com/user-attachments/assets/2dc1b4c5-66af-42f9-9129-1e3d80e61938)


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[Paste your output here]
```

</details>
Repository: next.js
Issue: SCSS Url Static Assets Failing to load
Labels: bug,Middleware,Output (export/standalone)

### Link to the code that reproduces this issue

https://github.com/theblondealex/scss-reproduction

### To Reproduce

1. Clone the repo
2. Install dependencies
3. Run the dev server
4. Open the browser at http://localhost:3000
5. Go to the `src/app/page.tsx` file
6. Comment out the import of the css file and uncomment the import of the scss file
7. You will notice that the svg is **not** rendered when using the scss file but it is rendered when using the css file


### Current vs. Expected behavior

You will see that if the react-example is ran, the scss file is interpreted and works correctly.

Expected is that nextjs should render the url(svgs) correctly

SCSS is installed correctly as the styles are applied just not the svg loaded

Normal image works correctly in the url it is specific to .svg#ID sprite svgs

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2
  Available memory (MB): 31546
  Available CPU cores: 14
Binaries:
  Node: 22.4.0
  npm: 10.8.1
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 14.2.10 // Latest available version is detected (14.2.10).
  eslint-config-next: 14.2.10
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.6.2
Next.js Config:
  output: N/A
```


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

Not sure, Middleware, Output (export/standalone)

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

next dev (local), next build (local), next start (local), Vercel (Deployed), Other (Deployed)

### Additional context

_No response_
Repository: PowerToys
Issue: Keyboard Manager: Remap shortcut to Send Text, won't allow U+FFFD.
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Area-Quality,Needs-Triage

### Microsoft PowerToys version

0.84.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

I am trying to add a "Send Text" remap which has U+FFFD, (� REPLACEMENT CHARACTER) and it will not keep it. It will go in the box but is not saved.

### ✔️ Expected Behavior

I want to enter this:
![image](https://github.com/user-attachments/assets/eee73d87-26af-45a6-a0a8-44e8efa14948)


### ❌ Actual Behavior

I get this after save and re-open, U+FFFD is missing. 
![image](https://github.com/user-attachments/assets/f1371c19-e770-4fd2-abdc-cbcbfa3950f9)


### Other Software

_No response_
Repository: puppeteer
Issue: [Feature]: Add unpacking indicator to the install command 
Labels: feature,good first issue,@puppeteer/browsers,P3

### Feature description

Currently we show a downloading indicator in the terminal when a browser is downloading, but after a successful download we try to unpack and do other operations which are not communicated to the user, which looks like the process is stuck, we should show some loading state there to make sure the user understands what is going on.
Repository: godot
Issue: Editor, save script file: Triple quote string: spaces are converted into tabs
Labels: bug,discussion,topic:editor

### Tested versions

v4.5.stable.official

### System information

Windows 11

### Issue description

When saving a GDScript in the editor, spaces are converted into tabs. That's fine, except it does so inside a triple quote string too, if the lines in question immediately start with a space.
This prevents the user from formatting the triple quote string as he prefers.
This is immediately visible because of how tabs are rendered in the editor (the "right arrow" symbol)


### Steps to reproduce

Example:
```
var triplequotestring = """Hello, world!
        Hello,
        World!
"""
```
The spaces in the last two lines will be converted to tabs when saving the file.
Repository: ollama
Issue: Add Tokenizer functionality to API
Labels: feature request,api

Having access to the models tokenizer is extremely useful for counting tokens, and managing the context window. In a lot of cases its essential to get an LLM implementation to work properly. The model already has the tokenizer loaded, and ollama's backend, llama.cpp, already has an interface for the tokenizer, so it shouldn't be that difficult to implement into the API.

Unless this is already a functionality on the API, in which case I'm sorry, but I just didn't see it in the documentation.
Repository: PowerToys
Issue: Support Google Docs in Peek
Labels: Idea-Enhancement,Product-Peek

### Description of the new feature / enhancement

Add support for quick viewing using Peek of documents in Google Docs / Google Docs / Google Sheets / Google Slides formats in case of locally connected [Google Drive](https://drive.google.com).

### Scenario when this would be used?

The document name and folder structure are not enough to accurately identify the document, or the document is mistakenly placed in the wrong place, or it is given a name that is not the one it should be given, or you need to quickly assess the differences between two possible copies of the document. Currently, you have to open them in a browser to do this. Neither the thumbnail display nor the document preview in the Windows File Explorer sidebar works.

### Supporting information

File extensions: `gdoc`, `gdraw`, `gform`, `gmap`, `gsheet`, `gsite`, and `gslides`.
Repository: flutter
Issue: Crash！When Flutter Linux is reduced or maximized in the window, Crash occurs.
Labels: c: crash,platform-linux,a: desktop,P2,needs repro info,team-linux,triaged-linux

### Steps to reproduce

maximized or maximized

### Expected results


The flutter desktop window is on Linux. If you click on the window to zoom in or out, there is a certain probability that it will crash.

### Actual results


The flutter desktop window is on Linux. If you click on the window to zoom in or out, there is a certain probability that it will crash.

### Code sample

flutter example code


### Screenshots or Video



https://github.com/user-attachments/assets/1a2168b0-ade3-451c-8ca8-720c951e4fab



### Logs

Segmentation fault (core dumped)

### Flutter Doctor output

[✓] Flutter (Channel main, 3.26.0-1.0.pre.97, on UnionTech OS Desktop 20 Home 5.10.0-amd64-desktop, locale zh_CN.UTF-8)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1)
[✓] Connected device (1 available)
[✓] Network resources

! Doctor found issues in 3 categories.
Repository: rust
Issue: using `super` in doctests errors
Labels: T-rustdoc,A-diagnostics,A-resolve,A-doctests,D-terse

<!--
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.
-->

I tried this code:

```rust
/// ```
/// type Y = ();
/// mod m {
///     use super::Y;
///     fn f() -> Y {}
/// }
/// ```
pub struct X;
```
in `lib.rs`.

I expected to see this happen: successful `cargo test`

Instead, this happened:
```text
cargo test
   Compiling rust v0.0.0 (/tmp/tmp)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
     Running unittests src/lib.rs (target/debug/deps/rust-48a0867617020c3e)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests rust

running 1 test
test src/lib.rs - X (line 1) ... FAILED

failures:

---- src/lib.rs - X (line 1) stdout ----
error[E0432]: unresolved import `super::Y`
 --> src/lib.rs:4:9
  |
5 |     use super::Y;
  |         ^^^^^^^^ no `Y` in the root

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0432`.
Couldn't compile the test.

failures:
    src/lib.rs - X (line 1)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s

error: doctest failed, to rerun pass `--doc`
```

The same error happens when using `super::Y` directly in the return 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.
-->

`rustc --version --verbose`:
```
rustc 1.83.0-nightly (8d6b88b16 2024-09-11)
binary: rustc
commit-hash: 8d6b88b168e45ee1624699c19443c49665322a91
commit-date: 2024-09-11
host: x86_64-unknown-linux-gnu
release: 1.83.0-nightly
LLVM version: 19.1.0
```
Repository: godot
Issue: FBX linked mesh import with wrong origin [4.4.dev2]
Labels: needs testing,topic:import

### Tested versions

- Reproducible in: 4.4.dev2

### System information

Windows 10 - v4.4.dev2.official [97ef3c837] - GLES 3.0.0 Angle (Compatibility) [Inteal R HD Graphics (0x00000102) Direct3D 11 vs__4_1 ps_4_1, D3D11-9.17.10.4459]]

### Issue description

![image](https://github.com/user-attachments/assets/440ab6f0-c3de-43ba-9dd5-d6d13490f82a)
(Left: .OBJ) (Right: .fbx)
When importing a model in FBX format that has a linked mesh, it only imports the original.

![image](https://github.com/user-attachments/assets/4907d2c0-bb29-41f0-affb-6d974b583c17)


### Steps to reproduce

Just import a model in fbx format with some meshes linked into the project.

### Minimal reproduction project (MRP)

N/A
Repository: langchain
Issue: OpenAI AzureChatOpenAI doesn't support the new structured output capability even though BaseChatOpenAI does
Labels: 🤖:bug,investigate

### 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

The following code doesn't work:

```python
class Person(BaseModel):
    first_name: str
    last_name: str


LLM = AzureChatOpenAI(
    azure_deployment="gpt-4o-2024-08-06", api_version="2024-08-01-preview", temperature=0
).with_structured_output(schema=Person, method="json_schema", strict=True)
result = LLM.invoke(HumanMessage("Who was the first president of the United States?"))
```

### Error Message and Stack Trace (if applicable)

The exception received was:
```
Received unsupported arguments {'strict': True}
  File "/home/goldbermg3/GitProjects/remis-pdf-utils/structured_out_test.py", line 13, in <module>
    ).with_structured_output(schema=Person, method="json_schema", strict=True)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Received unsupported arguments {'strict': True}
```

### Description

I expected the new Structured Output capability (which is [available through Azure](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/structured-outputs?tabs=python-secure)) which is implemented on `BaseChatOpenAI` to work using `AzureChatOpenAI`. However, after browsing the code, I saw that the support for `mode="json_schema"` and the `strict` argument is implemented only for `BaseChatOpenAI`; `AzureChatOpenAI` overrides `BaseChatOpenAI.with_structured_outputs` and does not include support for those arguments.

### System Info

System Information
------------------
> OS:  Linux
> OS Version:  #1 SMP Fri Mar 29 23:14:13 UTC 2024
> Python Version:  3.11.9 (main, Apr  6 2024, 17:59:24) [GCC 11.4.0]

Package Information
-------------------
> langchain_core: 0.2.35
> langchain: 0.2.15
> langsmith: 0.1.104
> langchain_openai: 0.1.23
> langchain_text_splitters: 0.2.2

Optional packages not installed
-------------------------------
> langgraph
> langserve

Other Dependencies
------------------
> aiohttp: 3.10.5
> async-timeout: Installed. No version info available.
> httpx: 0.27.0
> jsonpatch: 1.33
> numpy: 1.26.4
> openai: 1.42.0
> orjson: 3.10.7
> packaging: 24.1
> pydantic: 2.8.2
> PyYAML: 6.0.2
> requests: 2.32.3
> SQLAlchemy: 2.0.32
> tenacity: 8.5.0
> tiktoken: 0.7.0
> typing-extensions: 4.12.2
Repository: go
Issue: proposal: go/types: add Hash function
Labels: Proposal,Proposal-Hold

[Edit: this proposal is now just for the types.Hash function. The HashMap is [another proposal](https://github.com/golang/go/issues/69559).]

We propose to add the HashMap data type (a generic evolution of [golang.org/x/tools/go/types/typeutil.Map](https://pkg.go.dev/golang.org/x/tools/go/types/typeutil#Map)) to the standard `go/types` package, with the following API:

```go
package types // import "go/types"

// Hash computes a hash value for the given type t such that Identical(x, y) implies Hash(x) == Hash(y).
func Hash(t Type) uint64
```

Rescinded part of the proposal:
```go
// HashMap[V] is a mapping from Type to values of type V.
// Map keys (types) are considered equivalent if they are Identical.
// As with map[K]V, a nil *HashMap is a valid empty map.
type HashMap[V any] struct { ... }

// All returns an iterator over the key/value entries of the map in undefined order.
func (m *HashMap[V]) All() iter.Seq2[Type, V]

// At returns the map entry for the given key. It returns zero if the entry is not present.
func (m *HashMap[V]) At(key Type) V

// Delete removes th//e entry with the given key, if any. It returns true if the entry was found.
func (m *HashMap[V]) Delete(key Type) bool

// Keys returns an iterator over the map keys in undefined order.
func (m *HashMap[V]) Keys() iter.Seq[Type]

// KeysString returns a string representation of the map's key set in unspecified order.
func (m *HashMap[V]) KeysString() string

// Len returns the number of map entries.
func (m *HashMap[V]) Len() int

// Set updates the map entry for key to value, and returns the previous entry, if any.
func (m *HashMap[V]) Set(key Type, value V) (prev V)

// String returns a string representation of the map's entries in unspecified order.
// Values are printed as if by fmt.Sprint.
func (m *HashMap[V]) String() string
```

Some notes:
- This proposal supersedes #67161, to x/tools/go/types/typeutil.Map.
- It is generic, whereas typeutil.Map is not.
- It uses idiomatic Go 1.23 iterators.
- The typeutil.Hasher type and SetHasher method are not part of this proposal. They had [no performance advantage](https://github.com/golang/go/issues/69407), and the statefulness turned reads into writes. The hash recursion bottoms out at named types, so most types are shallow.
- There is still no way to distinguish "m[k] is zero" from "missing"; this has never been a problem in practice.
- The Hash function does not accept a seed and thus HashMap is vulnerable to flooding. But the type checker is vulnerable to various other performance problems if an attacker controls its input.