sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: ui
Issue: [feat]: Include URLs to blocks as registryDependencies
Labels: area: request

### Feature description

When creating a registry block, allow URLs to other blocks to be used as `registryDependencies`

### Affected component/components

_No response_

### Additional Context

An example of this could be:

```js
{
	name: 'form-input',
	type: 'registry:block',
	dependencies: ['@radix-ui/react-label', 'react-hot-toast'],
	devDependencies: [],
	registryDependencies: ['input', 'label', 'https://registry.gambrell.dev/form-error/json'],
	files: [
		{
			path: './components/form-input.tsx',
			content:
				"import { cn } from '@/lib/utils'\nimport { FormError } from './form-error'\nimport { Input, InputProps } from './ui/input'\nimport { Label } from './ui/label'\n\ntype FormInputProps = InputProps & { error?: string[]; label?: string }\n\nexport function FormInput({ className, error, id, label, name, ...props }: FormInputProps) {\n\treturn (\n\t\t<div className={cn('grid gap-2 h-fit', className)}>\n\t\t\t{label && <Label htmlFor={id ?? name}>{label}</Label>}\n\t\t\t<Input id={id ?? name} name={name ?? id} {...props} />\n\t\t\t<FormError value={error} />\n\t\t</div>\n\t)\n}\n",
			type: 'registry:block',
		},
	],
	tailwind: {},
	cssVars: {},
	meta: {},
	}
```

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: PowerToys
Issue: Support for adding mutiple keys to one shortcut
Labels: Needs-Triage

### Description of the new feature / enhancement

The current implementation in KBM is that you can create a remapping to an existing shortcut
eg. ALT+Q > ALT+F4

It also allows for chording on the keypress to execute something else
eg. ALT+A, Q > Write some text || Tab || open a program

This is nice and all but what i want is not only the ability to remap my shortcuts but add as many keys (not just text, but also non-printable keys) as I want to be executed on the other side
eg. CTRL+: > Enter, a, Space, 2, 3, Tab, Tab, b, "

The above example is a bit ridiculous but you get my point
Not just text symbols but non-printable symbols as well alongside anything else

There are only two shortcuts that require this extent of remapping on my machine and because KBM doesnt support this, I have to use auto hotkey. Just for those two remaps

If this were to be implemented into KBM then I could just use one program for everything and never look at anything else
Could someone please look into adding this to KBM

P.S.
I have looked at other issues as well and this one #26441 is the closest thing i could find to my problem but it was closed without being properly resolved because some idiot thought that the aforementioned issue and this one #4508 are the same thing

Even though if you actually read through them they are going over completely different feature requests

### Scenario when this would be used?

To combine multiple shortcuts into one
To perform multiple repetitive key presses at once

### Supporting information

Any specifics are mentioned and explained above
Repository: angular
Issue: NullInjectorError shows wrong component with missing provider
Labels: area: core

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

core

### Is this a regression?

No

### Description

When injecting a pipe, e.g. DatePipe, directly into a component via inject or constructor, one has to register this pipe somewhere via the providers array metadata. When not doing so, there will be a NullInjectorError at runtime telling, which provider is missing. However the error does not indicate the correct component where the provider is actually missing. In the example provided here the error indicates that the component which is used for routing is missing the provider but it's actually one of its child components. (I think the error, or the component in the error message, always falls back to any routed component and won't be shown in any child component)

Instead of ` ERROR NullInjectorError: R3InjectorError(Standalone[_SomeRoutedComponent])[_DatePipe -> _DatePipe -> _DatePipe]` I would have expected ` ERROR NullInjectorError: R3InjectorError(Standalone[_SomeChildComponent])[_DatePipe -> _DatePipe -> _DatePipe]`

There might be technical reasons why this is the case but in my opinion this is wrong and it's at least highly confusing...

PS: I believe this should already be checked at build time but this is a different story.

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

https://github.com/thecp/NullInjector-Message-Reproduction

### Please provide the exception or error you saw

core.mjs:7195 ERROR NullInjectorError: R3InjectorError(Standalone[_SomeRoutedComponent])[_DatePipe -> _DatePipe -> _DatePipe]: 
  NullInjectorError: No provider for _DatePipe!
    at NullInjector.get (core.mjs:1636:21)
    at R3Injector.get (core.mjs:3018:27)
    at R3Injector.get (core.mjs:3018:27)
    at R3Injector.get (core.mjs:3018:27)
    at ChainedInjector.get (core.mjs:5289:32)
    at lookupTokenUsingModuleInjector (core.mjs:5632:31)
    at getOrCreateInjectable (core.mjs:5678:10)
    at ɵɵdirectiveInject (core.mjs:11586:17)
    at ɵɵinject (core.mjs:1102:40)
    at inject (core.mjs:1187:10)
handleError	@	core.mjs:7195

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

Angular CLI: 18.2.10
Node: 20.18.0
Package Manager: yarn 1.22.22
OS: linux x64

Angular: 18.2.9
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.10
@angular-devkit/build-angular   18.2.10
@angular-devkit/core            18.2.10
@angular-devkit/schematics      18.2.10
@angular/cli                    18.2.10
@schematics/angular             18.2.10
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.10

### Anything else?

Also tested this with the newest next Version but the problem persists.
Repository: ollama
Issue: Creating embeddings using the REST API is much slower than performing the same operation using Sentence Transformers
Labels: bug,performance

### What is the issue?

I'm working on a RAG written in Python, and we're using ollama as the chatbot LLM provider. It's running in a Docker container and the Python app makes REST API calls to it. We have so far been using Sentence Transformers to create embeddings for documents that get ingested into the RAG and the user's query, however it would be great to ditch this dependency as it adds a bit of startup time and a lot of package dependencies that take up disk space.

Since the embed API now supports batching, I've run a test using the existing Sentence Transformers code, and equivalent code (same vectors, same model) using the embed route from the ollama Docker container and it's about 2x slower. Even though I guess making an HTTP request slows things down a little, I can't imagine the overhead should be that much?

Any way we can make it faster so we can get rid of other dependencies and use ollama for all our LLM related needs?

### OS

Docker

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.3.14
Repository: pytorch
Issue: Add support for binding tensor kwargs in max-autotune templates
Labels: triaged,oncall: pt2,module: inductor

### 🚀 The feature, motivation and pitch

I'm trying to write an inductor lowering for `torch._cslt_sparse_mm`, an aten op that takes has two optional tensor kwargs, `bias` and `alpha`. 

https://github.com/pytorch/pytorch/pull/137427

It appears from that [inductor](https://github.com/pytorch/pytorch/blob/main/torch/_inductor/kernel/mm_scaled.py#L264) does not support optional tensor input arguments currently. 

We cannot use the workaround described above because `_cslt_sparse_mm` has two optional tensor args. If the second Tensor kwarg is present, but not the first (in this case `alpha` and not `bias`) this approach will pass the alpha tensor as the bias tensor, leading to issues. 

As a temporary workaround I have https://github.com/pytorch/pytorch/pull/138703/files, which adds in support for passing None as an input node, so that the alpha tensor is properly, assigned.  This works but feels very hacky to me. 

I'm wondering if this is the recommended way to solve this problem or if there's another approach here. 


### Alternatives

_No response_

### Additional context

_No response_

cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov
Repository: vscode
Issue: Terminal Cursor is at the wrong place with Python3.13
Labels: bug,terminal-input,python


The terminal cursor seems to consistently be at wrong (further in the line) place, when user tries to use python3.13 inside the terminal:
![Image](https://github.com/user-attachments/assets/59081356-6531-4eac-b4a7-f73794ccf428)

I think it is VS Code thing, since the cursor seems "normal" for external terminal and Pycharm. 
 ![Image](https://github.com/user-attachments/assets/ad757361-94c9-4113-b771-fed95f4b3333)

The only Python prompt specific code that I recall is:
https://github.com/microsoft/vscode/blob/0561ca03c895239131a526d8731da0e53027167c/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.ts#L961 but wondering if this is the right place to look at.
Repository: ant-design
Issue: AntD v5 is very slow - Oct. 2024
Labels: 🗣 Discussion,Inactive,⚡️ Performance

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-qlfglw)

### Steps to reproduce

Add any number of AntD components to a page and notice that rendering performance degrades linearly.  Once you get to 3000  AntD components on a page, rendering will take 3  seconds.

### What is expected?

Rendering should be nearly instant, but at least < 1s.

### What is actually happening?

Rendering appears to take ~1s per 1000 components on the page.

| Environment | Info |
| --- | --- |
| antd | 5.21.6 |
| React | 18.x |
| System | All |
| Browser | Chrome |

---
Reproduction v5 vs v4:
- v5: https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-qlfglw
- v4: https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-cxjpvs?workspaceId=70205799-5afa-4d62-b912-4ff90f0e3b6f

AntD is a full design system.  When using the full design system, including grid (Row, Col, etc), Flex, Typography, Icons, etc.  the number of components used on the page can quickly become very high.  The biggest reason to use AntD is to be able to use the full design system, rather than building our own components, especially for things like Typography and layout.  This performance is making AntD v5 unusable for production applications.  There are other github issues on this topic, but they are over 1 year old and are labeled "inactive".  Can the AntD team please acknowledge this issue?

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: next.js
Issue: "use cache" crashes if it contains tainted values
Labels: bug

### Link to the code that reproduces this issue

https://github.com/mordechaim/next-repro-cache-taint

### To Reproduce

1. Start the application
2. See the error on page load

### Current vs. Expected behavior

**Current behavior**
The cache errors with the message passed to `taintUniqueValue`:
![image](https://github.com/user-attachments/assets/ede27edf-1322-4d86-9ce7-170ced1ed6ad)

This error is also present while building the project:
```
Error while saving cache key: ["rKc0nlkGUlH9QFhckQS1H","8087fac4d5a350d79685366b3e238ee36c2ce46a",[]] Error: Don't pass the password to the client
```

**Expected behavior**
Since cache is server-side only, we should be able to cache tainted values.

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Home
  Available memory (MB): 32674
  Available CPU cores: 8
Binaries:
  Node: 22.9.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.0.2-canary.9 // Latest available version is detected (15.0.2-canary.9).
  eslint-config-next: N/A
  react: 19.0.0-rc-1631855f-20241023
  react-dom: 19.0.0-rc-1631855f-20241023
  typescript: 5.3.3
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)

next dev (local), next build (local)

### Additional context

_No response_
Repository: PowerToys
Issue: PowerToys Workspaces does not launch specific UWP app: Laney
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response,Product-Workspaces

### Microsoft PowerToys version

0.85.1

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

Workspaces

### Steps to reproduce

- Install [Laney](https://www.microsoft.com/store/productId/9MSPLCXVN1M5?ocid=pdpshare);
    - Login to account (it is [VK](https://vk.com/)) - I believe this is a necessary step because Laney has a feature of restoring default window position if it experienced crash;
- Open Laney on some monitors;
- Capture Workspace;
- Close Laney;
- Try to launch the Workspace.

### ✔️ Expected Behavior

Laney should have been launched

### ❌ Actual Behavior

Laney is not launched at all

### Other Software

Windows 11 23H2
Laney is opened on the 3rd of 3 monitors, indexed as 3rd, the right one.
Repository: node
Issue: Freeze NODE_OPTIONS for SingeExecutableApplications
Labels: feature request,single-executable

### What is the problem this feature will solve?

The `NODE_OPTIONS` environment variable allows configuration of the node process at runtime. This is inappropriate for *Single Executable Applications*. But the configurability provided is also something strictly desirable foe *Single Executable Applications* at "build" time.

### What is the feature you are proposing to solve the problem?

1. Store the `NODE_OPTIONS` environment variable into the injected blob at build-time
2. Use that value to override the environment `NODE_OPTIONS` value at runtime

### What alternatives have you considered?

I looked at enabling individual overrides via *sea-config.json* as well as possibly storing the actual environment settings and reconstructing these.

However that seems to be either less configurable as well as introducing additional complexity. By going this route, we'd expose the full configurability of `NODE_OPTIONS` while at the same time not introducing any strictly new mechanisms.
Repository: react-native
Issue: TextInput briefly displays restricted characters before validation removes them when using onChangeText
Labels: Issue: Author Provided Repro,Component: TextInput,Needs: Attention

### Description

Hi there,
Just wanted to bring up an issue that many of us have come across. When using TextInput with validation in onChangeText, restricted text still flashes for a moment before it gets removed. This is a pretty common need in apps, where real-time validation is used to guide user input (like blocking specific characters or setting a format). But right now, seeing those restricted characters pop up briefly makes the input feel a bit off.
There are many  Workarounds and hacks for this but don’t quite fix the experience entirely. Is there any chance this could be smoothed out natively in the future?

### Steps to reproduce

![Screenshot 2024-10-28 at 18 10 02](https://github.com/user-attachments/assets/de47dee7-879a-4f20-904a-b098332d7048)


### React Native Version

0.76.0

### Affected Platforms

Runtime - Android, Runtime - iOS

### Output of `npx react-native info`

```text
Not needed
```


### Stacktrace or Logs

```text
Not needed
```


### Reproducer

https://snack.expo.dev/fVO2DXQPPqQVlm9QBZ2ms

### Screenshots and Videos

_No response_
Repository: pytorch
Issue: [dynamo] `dynamo_expected_failures` is silent on certain tests that ended up passing
Labels: module: tests,triaged,oncall: pt2,module: dynamo

### 🐛 Describe the bug

I discovered that some tests from `test/dynamo` are put in `dynamo_expected_failures`, yet those tests are passing with `PYTORCH_TEST_WITH_DYNAMO=1`, and we never saw any error to suggest removing those expected failures.

This suggests we might have more things in `dynamo_expected_failures` than we need.

For instance, see #138935.

### Versions

Python 3.12.5, de54246c422

cc @mruberry @ZainRizvi @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames
Repository: deno
Issue: why command for discovering why is some dependency installed
Labels: suggestion

It's nice that `deno install` print warning about pakages that are deprecated, but without some `pnpm why` analog it's hard to tell why it is installed (relevant dependency graph)
Repository: ollama
Issue: ollama run aya-expanse:32b gives nonsensical output
Labels: bug

### What is the issue?

aya-expanse 8b runs fine, but 32b produces nonsensical output as shown below

ollama run aya-expanse:8b        
>>> hi
Hello! How can I help you today?

ollama run aya-expanse:32b
>>> hi
L<PAD>KJ<PAD>OLE6IEGU;F<B9DN:FM4VNOUSV7I=5<UNHBGUQTUR=GOG;<PAD>LRN<CLE<;7BV@>T:8ND5>>;<34<PAD>LR;C;D7M6<QO5UIOI7BBUG9:?<D6UM<SO:MVKA6OAUFIK67UD@L<PAD>KJ<PAD>OLE6IEGU;F<B9DN:FM4VNOUSV7I=5<UNHBGUQTUR=GOG;<PAD>LRN<CLE<;7BV@>T:8ND5>>;<34<PAD>LR;C;D7M6<QO5UIOI7BBUG9:?<D6UM<SO:MVKA6OAUFIK67UD@M67<PAD>JHD?N4:J? ..... keeps producing nonsensical output

### OS

macOS

### GPU

Apple

### CPU

Apple

### Ollama version

0.3.14
Repository: kubernetes
Issue: CEL: enable size validations based on observed sizes, not worst case sizes
Labels: sig/api-machinery,kind/feature,triage/accepted

I would like the ability to express size limits in my API based on the observed sizes of nested objects/arrays, rather than the worst case.

For example, consider an API like so (this is a real API we have):

```yaml
rules:
- from:
  -  serviceAccounts:
    - foo/bar
```

As you can see, we have 3 tiers of lists, then a string.

In order to write any meaningful validation on this to pretty small sizes (~64 max length on the lists). This is, presumably, since the theoretical max size is `rules * from * serviceAccounts * len(sa)`. With 64 each and 320 length on the string we may have a total `83886080` size, so the validator rejects us.

In practice, this is not happening. No one is writing 64 `rules` AND 64 `froms`  AND 64 `serviceAccounts` in one rule.. but they may have >64 of any individual elements based on their use case.

It would be ideally to be able to express something like 'total cardinality', to take into account the nesting nature. Without this, a large portion of our APIs are forced out of using CEL entirely.
Repository: rust
Issue: No way to disable tests for `*-windows-gnu` but keep them enabled for `*-windows-gnullvm`
Labels: T-bootstrap,E-medium,C-bug,A-compiletest

If I write:
 ```
//@ only-windows
//@ ignore-windows-gnu // or just ignore-gnu
```
Then gnullvm will be also excluded. There are few things (like CFGuad) that will probably never work with mingw-w64+GNU targets but are supported on mingw-w64+LLVM (not yet within Rust). 
Using `//@ only-windows-gnullvm` won't be an option because it would disable the test for `*-windows-msvc`.

One idea I can think of is to add `$` character that means end of the line, just like in regex. So `//@ ignore-windows-gnu$` would skip all `*-windows-gnu` targets from the given test but keep `*-windows-gnullvm` targets.
 
 _Originally posted by @mati865 in [#128602](https://github.com/rust-lang/rust/issues/128602#issuecomment-2440129435)_
cc @jieyouxu
Repository: rust
Issue: Tracking issue for `TypingMode` transition
Labels: A-type-system,C-tracking-issue,T-types

#131856 transitions the type system from separately tracking the `Reveal` in the `ParamEnv`, and `intercrate` and `defining_opaque_types` in the `InferCtxt` to tracking all of that state in a shared enum `TypingMode` as a field on the `InferCtxt`.

This is a necessary step towards correctly handling opaque types after type inference, but during analysis. This needs a separate typing mode where we reveal the opaque types defined by that body without accidentally trying to define them. It may also be used to properly support negative reasoning in coherence.

This issue is mostly used to get something to point to in `FIXME`s.

- [ ] for perf: modify const_eval queries to be named `_raw`, take a `ParamEnv` and have wrappers which assert that the typing_mode is `PostAnalysis`. 
- [ ] perrrf: intern `typing_mode`
  - [ ] useful for https://github.com/rust-lang/trait-system-refactor-initiative/issues/82#issuecomment-2505103034
Repository: ui
Issue: [bug]: global.scss errors when Sass comments // exist
Labels: bug

### Describe the bug

If global.scss file has comments in Sass form `//` then `npx shadcn@latest add ...` errors out.

### Affected component/components

n/a

### How to reproduce

1. Create a global.scss file if you don't have one
2. Make sure it has @tailwind directives (since this is how shadcn/ui determines the global file)
3. Add a Sass comment anywhere in file, e.g. `// Testing comment`
4. Run `npx shadcn@latest add button`
5. Get error (see Logs section)

### Codesandbox/StackBlitz link

_No response_

### Logs

```bash
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

<css input>:69:22: Unknown word
```

Sometimes you'll get `Unknown string` depending on the order of things.
```


### System Info

```bash
Apple M1 Pro
Node v21.5.0
shadcn@2.1.2
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: go
Issue: cmd/link: static linking creates binaries that segfault when built with `-msan`
Labels: help wanted,NeedsFix,compiler/runtime

Discovered during #70054. Don't know what's happening, but I'm adding skips in `dist` for now.
Repository: pytorch
Issue: `tensor` not a `FakeTensor` under `FakeTensorMode` and `device('meta')`
Labels: triaged,actionable,oncall: pt2,module: fakeTensor,module: pt2-dispatcher

### 🐛 Describe the bug

```python
import torch
from torch._subclasses.fake_tensor import FakeTensorMode

with FakeTensorMode(), torch.device("meta"):
    a = torch.tensor(3.0)  # not a FakeTensor
    b = torch.full(size=tuple(), fill_value=3.0)  # workaround

print(a)  # tensor(..., device='meta', size=())
print(b)  # FakeTensor(..., device='meta', size=())
```

You would expect both to become `FakeTensor`s

This issue results in a downstream assertion error https://github.com/pytorch/pytorch/blob/01b055abe3669f036a60da6158ab778b0700baaf/torch/_subclasses/fake_tensor.py#L2230-L2233 in scripts that try to use this tech

### Versions

`torch==2.6.0.dev20241018+cu118`

cc @ezyang @chauhang @penguinwu @eellison @zou3519 @bdhirsh @yf225