sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [web] Dual compile web apps should be considered two separate apps with separate assets/resources
Labels: platform-web,a: build,has reproducible steps,P3,e: wasm,team-web,triaged-web,found in release: 3.24,found in release: 3.26

Generally flutter apps can have backend-specific code in them: They do something else on web vs non-web, use different plugins on iOS vs Android, etc. That also means the resources needed will vary depending on which backend, operating system, .... the application is built for.

When compiling to the web, flutter now makes a dual compile of the app: A compilation with dart2js and a compilation with dart2wasm and choose at runtime which of the two to load and use. 

=> App can decide to do something different when compiled to wasm vs non-wasm
=> The dart2js app and dart2wasm app may have different resources.

A very trivial example that showcases this problem is here:
```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

const isWasm = !identical(1, 1.0);

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: Icon(
            isWasm ? Icons.fastfood : Icons.favorite,
            color: Colors.blueGrey,
            size: 30.0,
          ),
        ),
      ),
    );
  }
}
```
When serving the `build/web` directory *without* CORS http headers the dart2js app launches and it shows a nice heart icon.
When serving the `build/web` directory *with* CORS headers, the dart2wasm app launches and it fails to show an icon.

This probably comes from the fact that `build/web` doesn't have seperate assets/resources for the dart2js and dart2wasm app - instead they use the same resources (which are determined based on the dart2wasm build and e.g. it's tree shaken icons).

Even though differences may be small in most cases, conceptually the dart2js and dart2wasm apps can be completely different and can have very different resources they need.

=> The flutter web dual compile should treat them as separate applications with their own resources/assets. 

/cc @yjbanov @eyebrowsoffire
Repository: rust
Issue: Declarative macros: warn on unreachable macro rule
Labels: A-lints,A-macros,T-compiler,C-feature-request

### Code

```Rust
#[macro_export]
macro_rules! example {
    ($lit:expr) => {{
        {}
    }};
    ($lit:literal) => {{
        unreachable!()
    }};
}

fn main() {
    example!(1)
}
```


### Current output

Builds without any warnings, and the resulting binary runs without a panic.


### Desired output

A warning telling me that the second macro rule is unreachable, because `expr` captures the same and more than `literal`.

### Rationale and extra context

I think it's probably impossible to solve this for the general case, but I think it's a very helpful warning for users new to declarative macros.

### Other cases

_No response_

### Rust Version

```Shell
rustc 1.83.0-nightly (0ee7cb5e3 2024-09-10)
binary: rustc
commit-hash: 0ee7cb5e3633502d9a90a85c3c367eccd59a0aba
commit-date: 2024-09-10
host: x86_64-unknown-linux-gnu
release: 1.83.0-nightly
LLVM version: 19.1.0
```


### Anything else?

_No response_
Repository: ui
Issue: [bug]: Next.js intall instructions missing tailwind step
Labels: bug

### Describe the bug

Try running the installation command in a next.js project where tailwind has not previously been used and it leads to an error. The installation instructions seem to be missing a step (i.e. set up tailwind). It doesn't say in the documentation that tailwind is a necessary dependency. 

### Affected component/components

installation

### How to reproduce

1. Run `npx shadcn@latest init` in a next.js project where tailwind has not been previously used.
2. get the following error: `✖ Validating Tailwind CSS.`


### Codesandbox/StackBlitz link

_No response_

### Logs

```bash
$ npx shadcn@latest init
✔ Preflight checks.
✔ Verifying framework. Found Next.js.
✖ Validating Tailwind CSS.
✔ Validating import alias.

No Tailwind CSS configuration found at ...
It is likely you do not have Tailwind CSS installed or have an invalid configuration.
Install Tailwind CSS then try again.
Visit https://tailwindcss.com/docs/guides/nextjs to get started.

```
```


### System Info

```bash
next.js running on ubuntu.
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: deno
Issue: Automatically handle sibling d.ts files when using `--unstable-sloppy-imports` with `deno publish` to JSR
Labels: feat,jsr

`deno publish` should auto inject the relevant `/* @ts-self-types="./index.d.ts" */` comments.
Repository: angular
Issue: add signal with object to [(ngModel)] does not trigger changes in toObservable
Labels: area: core,area: forms,cross-cutting: signals

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

core, forms

### Is this a regression?

No

### Description

Adding non signal objects like number, string etc works just find. The problem occurs when using objects as signals and append them to ngModel.

The signal itself is updated, but the subscription from toObservable does not get triggered.

I think the best way to show what i mean is a simple stackblitz example
https://stackblitz.com/edit/jg6vgq?file=src%2Fexample%2Fform-field-overview-example.ts

The example shows a test1 with a simple string added to the signal and an object added to the signal
Both test 1 and test2 are added to an toObservable which tracks the changes
test1$ always gets triggered, but test2$ does not

The only way to trigger changes to test$ is to manually update the signal with set() 
To see this working enable row 41

It would be nice if the test2$ would be updated just like test1$




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

https://stackblitz.com/edit/jg6vgq?file=src%2Fexample%2Fform-field-overview-example.ts

### Please provide the exception or error you saw

_No response_

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

```true
Angular CLI: 18.2.3
Node: 22.3.0
Package Manager: yarn 1.22.17
OS: win32 x64

Angular: 18.2.3
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, language-service, material, material-date-fns-adapter
... platform-browser, platform-browser-dynamic, platform-server
... router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.3 (cli-only)
@angular-devkit/build-angular   18.2.3
@angular-devkit/core            18.2.3
@angular-devkit/schematics      18.2.3
@schematics/angular             18.2.3
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.3
```


### Anything else?

_No response_
Repository: tensorflow
Issue: MLIR quantizer produces asymmetric quantization for int16 activations
Labels: stat:contribution welcome,stat:awaiting tensorflower,comp:lite,TFLiteConverter,2.17

### 1. System information

- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 22.04
- TensorFlow installation (pip package or built from source): pip package
- TensorFlow library (version, if pip package or github SHA, if built from source): 2.17.0

### 2. Code

```
with open("calibrated.tflite", "rb") as model_file:
    calibrated_model = model_file.read()

inference_type = convert.convert_inference_tf_type_to_tflite_type(tf.dtypes.int16)
tflite_model = convert.mlir_quantize(calibrated_model,
                                     fully_quantize=True,
                                     inference_type=inference_type,
                                     input_data_type=tf.dtypes.int16,
                                     output_data_type=tf.dtypes.int16)

with open("quantized.tflite", "wb") as model_file:
    model_file.write(tflite_model)

```

Input file:
[calibrated.zip](https://github.com/user-attachments/files/16962415/calibrated.zip)

Output file:
[quantized.zip](https://github.com/user-attachments/files/16962422/quantized.zip)

### 3. Failure after conversion

The model cannot run on TFLite Micro with CMSIS-NN, as its fully connected kernel supports only symmetric quantization for int16 activations.

### 5. (optional) Any other info / logs

The quantizer already tries to take into account the int16 requirements here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h#L238 and here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h#L266
But it's not enough, as it should also set `narrow_range` before calling `quantfork::fakeQuantAttrsToType` here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h#L248 and here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h#L274
Otherwise the zero point might drift to -1, as it happens with the attached files.
Repository: vscode
Issue: Unable to open repository
Labels: info-needed

Regardless the repository, I'm facing the following error when trying to open a file (it also cannot connect properly, so the file browser doesn't list the repo contents)

![image](https://github.com/user-attachments/assets/e22b851f-7e25-4167-9968-9dfd33e273f8)


Version: 1.93.0
Commit: 4849ca9bdf9666755eb463db297b69e5385090e3
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0
Embedder: github.dev

<!-- generated by web issue reporter -->
Repository: kubernetes
Issue: Invoke the aggregation service interface. The response headers contain duplicates
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

![image](https://github.com/user-attachments/assets/876aede5-0724-4fdb-ab7a-fb6ee4f4cfbd)
When we access the aggregation service through the apiserver, the response of the request contains duplicate information, which is obviously unreasonable.

### What did you expect to happen?

There should be no duplicate fields

### How can we reproduce it (as minimally and precisely as possible)?

Accessing Aggregation Services Through API Server

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
# paste output here
```
1.28
</details>


### Cloud provider

<details>

</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: PowerToys
Issue: automatic deinstallation
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

v0.84

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

I cannot reproduce this bug, but maybe a developer can.

I just updated Windows and restarted the PC. I autostart some apps like PowerPoint, an Excel Sheet and PowerToys. The first thing I saw after the restart was the notification that a PowerToys update from v0.84 to v0.84.1 is available. I clicked it. The update window opened and the update started. After a few seconds a second update window opened, although I did not click anything again. It was not just a copy, the green progress bars were different. Then one window showed something like "uninstalling previous version". The progress bar of the second window suddenly went backwards. Next, both windows closed, leaving me with uninstalled PowerToys.

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: excalidraw
Issue: Request to whitelist url
Labels: Embeddable

please whitelist this url
https://hdpc.fa.us2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CampusHiring/my-profile
Repository: godot
Issue: Evaluation of LTO configuration for all targets, and its impact on build time, build size, and performance
Labels: enhancement,platform:windows,discussion,platform:linuxbsd,platform:web,platform:ios,platform:android,platform:macos,topic:buildsystem,performance

For years we've operated under the assumption that LTO (Link Time Optimization) is a net positive for production builds as it would:
- Increase performance (notably up to 20% in the GDScript VM with GCC LTO)
- Reduce build size

The drawback is much longer build times, hence why it's only used for production builds/official releases.

Now findings in #96785 suggest that the reduction in build size is only true for GCC's LTO, and not for LLVM LTO (whether "full" LTO `-flto` or ThinLTO `-flto=thin`). With LLVM LTO there's a significant size increase for platforms we tested so far (Web, Android, Linux) of up to +15%. For the Web (currently using LTO for official builds) and Android (not using it for now) this is significant.

So it's time we do a thorough review of build flags for all targets and compilers and make sure we're actually using the best configuration possible for official builds.

I'll post successive replies for each Godot target platform so we can use these posts (maintainers are welcome to edit my posts) to keep track of metrics and findings for each platform individually. If that turns out to be too unwieldy we can fork this issue in one issue per platform, but I expect we'll find closely related behavior across platforms who share a compiler toolchain (GCC, LLVM, MSVC).

@godotengine/buildsystem @godotengine/android @godotengine/ios @godotengine/linux-bsd @godotengine/macos @godotengine/web @godotengine/windows
Repository: PowerToys
Issue: Feature Request: Customize displayed shortcuts in PowerToys Shortcut Guide after remapping
Labels: Needs-Triage

### Description of the new feature / enhancement

I’ve remapped some shortcuts using PowerToys' Keyboard Manager. However, the Shortcut Guide still displays the original Windows shortcuts. It would be great to have the ability to update or customize the shortcuts displayed in the Shortcut Guide based on remapped keys, to avoid confusion and improve the user experience.


### Scenario when this would be used?

This feature would be useful whenever shortcuts are remapped by a user, allowing the Shortcut Guide to reflect the user's new key configurations, which would prevent mistakes and increase efficiency. As a power user, I rely heavily on custom shortcuts to improve my workflow. Having them accurately reflected in the Shortcut Guide would ensure that my remapped shortcuts are easy to remember and use without conflicting with the default Windows shortcut information.

### Supporting information

_No response_
Repository: ollama
Issue: `image_url` support for vision models
Labels: feature request,api

### What is the issue?

curl:
```py
curl http://localhost:11434/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer OPENAI_API_KEY" \
  -d '{
    "model": "minicpm-v:8b-2.6-fp16",
    "messages": [
      {
        "role": "user",
        "content": [
          {
            "type": "text",
            "text": "What’s in this image?"
          },
          {
            "type": "image_url",
            "image_url": {
              "url": "http://images.cocodataset.org/val2017/000000039769.jpg"
            }
          }
        ]
      }
    ],
    "max_tokens": 300
  }'
```

response:

```json
{
	"error": {
		"message": "invalid image input",
		"type": "invalid_request_error",
		"param": null,
		"code": null
	}
}
```

### OS

macOS

### GPU

Apple

### CPU

Apple

### Ollama version

0.3.10
Repository: next.js
Issue: FluentUI popover does not work in Next@14.2.X, but it does work in next@14.1.X
Labels: bug

### Link to the code that reproduces this issue

https://stackblitz.com/edit/nextjs-bzkxez

### To Reproduce

Link to stackblitz with version next 14.2:
https://stackblitz.com/edit/nextjs-bzkxez
Link to stackblitz with version next 14.1:
https://stackblitz.com/edit/nextjs-5igbub

Both projects are completely same. They are clean next.js projects with added fluentui/react-components.

In next version 14.1.X fluentui popover does work in version 14.2.X it doesnt.

### Current vs. Expected behavior

Current behavior: Popover does not popoup as expected.

Expected behavior: Popover will popup.

### Provide environment information

```bash
node: 18.20.3,
npm: 10.2.3

Also tried with newest node version
node: 22.2.0,
yarn: 4.2.2
```


### Which area(s) are affected? (Select all that apply)

Not sure

### Which stage(s) are affected? (Select all that apply)

Other (Deployed)

### Additional context

Tried with yarn, pnpm, npm different versions. The only difference seems to be next version.
What I dont understand is that next app with fluentui must be used with dozens of people, yet i havent found any issue on this topic.

This is my first public issue, if I did something wrong Im ready for feedback.
Repository: PowerToys
Issue: Feature Request: Add Search Functionality for Environment Variables
Labels: Needs-Triage

### Description of the new feature / enhancement

I propose adding a search feature to the environment variables functionality. This feature would allow users to quickly search and locate specific environment variables by name or value within the interface.

### Scenario when this would be used?

This feature would be most beneficial when working with a large number of environment variables, where manually searching for a specific variable becomes time-consuming.

### Supporting information

The search functionality should enable users to type in part of an environment variable's name or value and filter the list of variables dynamically. It would make the user experience more efficient by allowing quick access to specific variables without manually scrolling through the entire list.
Repository: pytorch
Issue: Python's REPL trying to do invoke `.T` / `.mH` / `.mT` on 0-dim tensor when doing tab-completion for some reason (default install of Python on new Ubuntu 24.04)
Labels: needs reproduction,triaged,release notes: python_frontend

### 🐛 Describe the bug

Importing torch, defining a 0-dim tensor as `t = torch.tensor(1)`, typing `t.` and pressing `Tab` key (I was looking to check if tensors natively support `.pad(...)` instance function - I hope it would get promoted at some point from `torch.nn.functional.pad` to `torch.pad`/instance function :) ) produces the following completely unexpected warning. The syntax error part comes out when I hit `Enter` trying to escape the warning.

On the side note, is there any benefit for removing the warning and simply returning identity for 0-dim tensors for `.mH` / `.mT`/ `.T`?

```
Python 3.12.3 (main, Jul 31 2024, 17:43:48) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> t = torch.tensor(1)
>>> t./usr/lib/python3.12/rlcompleter.py:189: UserWarning: Tensor.mT is deprecated on 0-D tensors. This function is the identity in these cases. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3746.)
  if (value := getattr(thisobject, word, None)) is not None:
/usr/lib/python3.12/rlcompleter.py:189: UserWarning: Tensor.mH is deprecated on 0-D tensors. Consider using x.conj(). (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3754.)
  if (value := getattr(thisobject, word, None)) is not None:
/usr/lib/python3.12/rlcompleter.py:189: UserWarning: Tensor.T is deprecated on 0-D tensors. This function is the identity in these cases. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3705.)
  if (value := getattr(thisobject, word, None)) is not None:

  File "<stdin>", line 1
    t.
      ^
SyntaxError: invalid syntax
```

### Versions

Ubuntu 24.04, python 3.12.3, torch 2.4.0+cpu
Repository: storybook
Issue: [Bug]: Releasing majors/minors fails to sync version files at the end of the workflow
Labels: bug,build

### Describe the bug

Releasing major/minors fails at the end of the CI workflow because it tries to sync the `version.json` files from `next-release` to `main` - but `main` is already up-to-date at this point, so there's nothing to push. This is a false-negative, everything is in order, it just needs to not attempt that last sync because it has already happened with a force-push in a previous step.

### Reproduction link

https://github.com/storybookjs/storybook/actions/runs/10812502523/job/29994286479

### Reproduction steps

See the workflow run for the 8.3.0 release:
https://github.com/storybookjs/storybook/actions/runs/10812502523/job/29994286479
Repository: PowerToys
Issue: Microsoft To Do can not be captured when minimized
Labels: Issue-Bug,Needs-Triage,Product-Workspaces

### Microsoft PowerToys version

0.84.1

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

Workspaces

### Steps to reproduce

Start Microsoft To Do (Microsoft Store Version) and minimize it.
Start a capture in "Workspaces". The App will not be found.
![image](https://github.com/user-attachments/assets/7c91eecb-8b47-499b-abb9-36d39a7a44ad)


### ✔️ Expected Behavior

Capturable when minimized

### ❌ Actual Behavior

Only Capturable when maximized/on screen

### Other Software

_No response_
Repository: ui
Issue: [bug]: App crashes when opening [tooltip chart] on mobile
Labels: bug

### Describe the bug

When accessing the chart[toolpit] on mobile devices, the app crashes immediately. The issue does not occur on desktop browsers. This bug appears consistently across multiple mobile devices and needs urgent attention.

https://github.com/user-attachments/assets/21a8cc83-7d10-4e84-b7a1-80329e6f58d3



### Affected component/components

chart

### How to reproduce

- Open the app on a mobile device [shacn](https://ui.shadcn.com)
- Navigate to [Chart] [toolpit section](https://ui.shadcn.com/charts#tooltip)
- Try opening the component on mobile device Observe the app crashing.

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
this happens across various mobile device
```


### Before submitting

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