sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: material-ui
Issue: [Textfield] TS2322 with slotProps inputLabel
Labels: component: text field,typescript

### Steps to reproduce

Steps:
1. Using Textfield with shrink to true
```
<TextField
  slotProps={{
    inputLabel: { shrink: true },
  }}
/>
```
2. Build with TypeScript (with strict)

Returns
```
error TS2322: Type '{ shrink: true; } | { shrink: true; } | { id?: string | undefined; role?: AriaRole | undefined; form?: string | undefined; property?: string | undefined; key?: Key | null | undefined; ... 265 more ...; shrink: true; } | ... 7 more ... | { ...; }' is not assignable to type 'SlotProps<ElementType<InputLabelProps, keyof IntrinsicElements>, {}, BaseTextFieldProps> | undefined'.
  Object literal may only specify known properties, and 'shrink' does not exist in type '(Partial<Omit<DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & { ...; }> & SlotCommonProps) | ... 5 more ... | (Partial<...> & SlotCommonProps)'.'.  
```


### Current behavior

Error on build

### Expected behavior

Suppose to build like 
`<TextField InputLabelProps={{ shrink: true }} />`

Doc still suggest to use it this way even if InputLabelProps is deprecated: https://mui.com/material-ui/react-text-field/#shrink

### Context

_No response_

### Your environment

_No response_

**Search keywords**: TS2322 inputLabel slotProps Textfield
Repository: PowerToys
Issue: The PowerToys.Run is taking almost 1GB of ram
Labels: Issue-Bug,Product-PowerToys Run,Needs-Triage

### Microsoft PowerToys version

0.86.0

Running in Windows 11 x64

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

I only enabled PowerToys Run for quick search.
![Image](https://github.com/user-attachments/assets/baeb0d99-5d88-4d5b-b016-4432cbe6326c)


### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: deno
Issue: Store npm packument in only the http cache
Labels: bug,refactor

Right now we're storing it in the npm cache and the http cache depending on what people do. I think it makes sense to consolidate to the http cache. This would also solve https://github.com/denoland/deno/issues/24566 for free.
Repository: godot
Issue: Breakpoints work unexpectedly when the script is modified at runtime without hotpatching it.
Labels: discussion,topic:gdscript,topic:editor

### Tested versions

Reproduced in master (893bbdf)

### System information

Godot v4.4.dev (893bbdfde) - Windows 10.0.22631 - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 32.0.15.6094) - AMD Ryzen 5 3600 6-Core Processor (12 threads)

### Issue description

When I modify the script at runtime, and I don't save it, then breakpoints behave unexpectedly. It appears the compiled script's line numbers and the editor's lines numbers are out of sync. Stepping through the code is also janky.

Restarting the game, or hot patching the script, fixes the issue.

### Steps to reproduce

1. Start the game
2. Set a breakpoint in your script
![Image](https://github.com/user-attachments/assets/628838d0-b282-4357-9e6b-ee91bac96eff)
3. Remove a line BEFORE the breakpoint, so the breakpoint now exists on a different absolute line. (e.g. moved from Line 115 -> Line 114)
4. Do not save the script nor hot reload the game!
     * The inconsistency comes from the editor and the compiled script being out of sync
6. Notice that the breakpoint is triggered even though this code is unreachable!
![Image](https://github.com/user-attachments/assets/579d5ecc-a7eb-4e5d-a316-4773ab3b72b1)


### Minimal reproduction project (MRP)

N / A
Repository: rust
Issue: rustdoc-json: Document why Id can't just be DefId
Labels: T-rustdoc,C-enhancement,A-docs,A-contributor-roadblock,A-rustdoc-json

> NIT: This comment could be more useful. The problem it's actually trying to solve is that a single `pub use` with 1 defid can expand to multiple rustdoc-json items it the name exists in multiple namespaces: https://godbolt.org/z/jEnGxoWx6.
>
> At some point in the future, we should maybe change how we do this on the JSON side, but not in this PR.

_Originally posted by @aDotInTheVoid in https://github.com/rust-lang/rust/pull/130078#discussion_r1796986306_


Rustdoc-json's Id handling is a bit subtle. There should be a nice doc-comment to explain it.

[It came up on zulip here](https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/linking.20to.20assoc.20fn.20of.20dyn.20trait/near/485729187)
Repository: react
Issue: hydration error
Labels: Resolution: Needs More Information

## Summary

<!--
  Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a
  repository on GitHub, or provide a minimal code example that reproduces the
  problem. You may provide a screenshot of the application if you think it is
  relevant to your bug report. Here are some tips for providing a minimal
  example: https://stackoverflow.com/help/mcve.
-->
Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used

- A server/client branch `if (typeof window !== 'undefined')`.
- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.

It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.

See more info here: https://nextjs.org/docs/messages/react-hydration-error


- data-np-intersection-state="observed"
Repository: go
Issue: crypto/tls: TestGetClientCertificate/TLSv13 failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "crypto/tls" && test == "TestGetClientCertificate/TLSv13"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8729618149014962353)):

    === RUN   TestGetClientCertificate/TLSv13
    panic: test timed out after 6m0s
    	running tests:
    		TestGetClientCertificate (0s)
    		TestGetClientCertificate/TLSv13 (0s)
    
    goroutine 513 gp=0x10c000431400 m=0 mp=0x19a6860 [running]:
    panic({0xbe7fc0?, 0x10c000027d00?})
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:806 +0x168 fp=0x10c000075f10 sp=0x10c000075e60 pc=0x54eac8
    testing.(*M).startAlarm.func1()
    ...
    crypto/tls.TestGetClientCertificate.func2(0x10c000431000?)
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/crypto/tls/handshake_client_test.go:2365 +0x18 fp=0x10c000277f38 sp=0x10c000277f18 pc=0xa3bb38
    testing.tRunner(0x10c000431000, 0xcb8370)
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1764 +0x1db fp=0x10c000277fc0 sp=0x10c000277f38 pc=0x6cb8db
    testing.(*T).Run.gowrap1()
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1823 +0x25 fp=0x10c000277fe0 sp=0x10c000277fc0 pc=0x6cd8c5
    runtime.goexit({})
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1700 +0x1 fp=0x10c000277fe8 sp=0x10c000277fe0 pc=0x556641
    created by testing.(*T).Run in goroutine 484
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1823 +0x94b


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: vscode
Issue: [Feature Request] Record file opened by navigation bar into recent file list
Labels: feature-request,workbench-history

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
One of the functions of vscode is to view logs for me, you know the log files are usually only kept for a limited time, I opened `c:\SomeApp\logs\20241202.log` today, and it was recorded, tomorrow, I want see `xxx\20241203.log`, so I can press `ctrl+r` and type `someapp` to find out the `xxx\20241202.log` and open it, and navigate to `xxx\20241203.log` by navigation bar.

But `xxx\20241203.log` never record into recent, I only can reopen `xxx\20241202.log` every day after that, but `xxx\20241202.log` will gone one day, then I will get:
![Image](https://github.com/user-attachments/assets/ffd2c5f4-7455-4fd7-9e37-f9596f2b95fb)
Then I had to reopen `xxx\xxx.log` in windows way. 

It makes no sense not to record from navigation bar, WHY?? Is `open file ...` more noble and `navigation bar` inferior? IMO, recent files should record any opened, at least provide a option for navigation way, Or, give a chance to edit the path from `ctrl+r`.
Repository: deno
Issue: SDK Send Events not working or erroring
Labels: bug,needs investigation,node compat

OS and version used: Windows 11
Node.js version: 22.11.0, Deno v2.0.6
npm version: 10.9.0
list of installed packages: N/A
Version: Deno 2.0.6

When using the Node SDK in Deno to attempt to sent events and batch events to the cloud, my callback function is not getting called, no error is thrown and no messages are going through.  Example code below:

```js
  import { Client, Message} from 'npm:azure-iot-device@1.18.3';
  import { clientFromConnectionString } from 'npm:azure-iot-device-http';
  import '@std/dotenv/load';

  const deviceConnectionString: string = Deno.env.get('IOTHUB_DEVICE_CONNECTION_STRING')!;

  const { DeviceID, HostName, SharedAccessKey } = parseConnectionString(
    deviceConnectionString,
  );
  const client: Client = clientFromConnectionString(deviceConnectionString);

  try {
    client.sendEvent(new Message('some data from my device'), printResultFor("send"));
   } catch (error) {
     console.log(error);
   }

  function printResultFor(op: any): (err: any, res: any) => void {
    return function printResult(err: any, res: any): void {
      try {
      if (err) console.log('Failed to send message with status ' + op + ' error: ' + err.toString());
      if (res) console.log('completed batch SDK ' + op + ' status: ' + res.transportObj.statusCode + ' ' + res.transportObj.statusMessage);
      } catch (error) {
        console.log(error);
      }
    };
  }
```
Repository: deno
Issue: specs::node::worker_threads::message_port is flaky
Labels: flaky

```
---- specs::node::worker_threads::message_port ----
command D:\a\deno\deno\target\debug\deno.exe run --allow-env --allow-read message_port.mjs
command cwd D:\a\deno\deno\tests\specs\node\worker_threads
output path D:\a\deno\deno\tests\specs\node\worker_threads\message_port.out
-- OUTPUT START --
worker: Hello from worker on parentPort!
mainPort: Hello from worker on workerPort!
mainPort closed

-- OUTPUT END --
-- EXPECTED START --
[UNORDERED_START]
worker port closed
worker: Hello from worker on parentPort!
mainPort: Hello from worker on workerPort!
mainPort closed
[UNORDERED_END]

-- EXPECTED END --
-- DEBUG START --
==== HAD WRONG NUMBER OF UNORDERED LINES ====
# ACTUAL
mainPort·closed
mainPort:·Hello·from·worker·on·workerPort!
worker:·Hello·from·worker·on·parentPort!
# EXPECTED
mainPort·closed
mainPort:·Hello·from·worker·on·workerPort!
worker·port·closed
worker:·Hello·from·worker·on·parentPort!
-- DEBUG END --
```

https://github.com/denoland/deno/actions/runs/12126795075/job/33809663303
Repository: pytorch
Issue: [Dynamo] Symbolic variables are reduced to Ints in compiled graph inputs
Labels: triaged,oncall: pt2,module: dynamic shapes

### 🐛 Describe the bug


```
def test_select_scatter():
    # (input_shape, shape_src, dim, index)
    input_shapes = [
        ((16, 16, 1, 2, 3), (16, 16, 2, 3), 2, 0),
        ((17, 17, 1, 2, 3), (17, 17, 1, 3), 3, 1),
        ((18, 18, 1, 2, 3), (18, 18, 1, 2), 4, 2),
        ((19, 19, 1, 2, 3), (19, 19, 2, 3), 2, 0),
        ((20, 20, 1, 2, 3), (20, 20, 1, 3), 3, 1),
    ]

    def wrapper_fn(t, t_src, dim, indices):
        t2 = t.select_scatter(t_src, dim, indices)
        return t2

    compiled_fn = torch.compile(wrapper_fn, backend="inductor", dynamic=True)

    for shape in input_shapes:
        print("Input shape: ", shape)
        input_tensor = torch.rand(shape[0], requires_grad=False, device='cpu')
        src_tensor = torch.rand(shape[1], requires_grad=False, device='cpu')

        y_cpu = compiled_fn(input_tensor, src_tensor, shape[2], shape[3])

```

When I run the test above with `TORCH_LOGS=+dynamo` I see a line in logs `set_replacement s3 = 2 (range_refined_to_singleton) VR[2, 2]`. This leads to one of the graph inputs s3 being replaced with just the integer 2, so it's just Sym(2) in the graph below. How can a symbolic variable be a value? Please help fix this issue.

```
TRACED GRAPH
 ===== __compiled_fn_1 =====
 /home/sshanmugam/venv/lib/python3.10/site-packages/torch/fx/_lazy_graph_module.py class GraphModule(torch.nn.Module):
    def forward(self, s0: "Sym(s0)", s1: "Sym(s1)", s2: "Sym(s2)", L_t_: "f32[s0, s0, 1, s1, s2][s0*s1*s2, s1*s2, s1*s2, s2, 1]cpu", L_t_src_: "f32[s0, s0, s1, s2][s0*s1*s2, s1*s2, s2, 1]cpu", L_dim_: "Sym(2)", L_indices_: "Sym(s4)"):
        l_t_ = L_t_
        l_t_src_ = L_t_src_
        l_dim_ = L_dim_
        l_indices_ = L_indices_
         # File: /home/sshanmugam/qnpu/pt/src/pytorch-integration/tests/pytest_working/compile/dynamic/test_hpu_select_scatter_dynamic.py:98 in wrapper_fn, code: t2 = t.select_scatter(t_src, dim, indices)
        t2: "f32[s0, s0, 1, s1, s2][s0*s1*s2, s1*s2, s1*s2, s2, 1]cpu" = l_t_.select_scatter(l_t_src_, l_dim_, l_indices_);  l_t_ = l_t_src_ = l_dim_ = l_indices_ = None
        return (t2,)
```

### Versions

[pip3] flake8==6.0.0
[pip3] flake8-bugbear==23.5.9
[pip3] habana-torch-dataloader==1.20.0+git02ff1597f
[pip3] habana-torch-plugin==1.20.0+git02ff1597f
[pip3] mypy==1.3.0
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.26.4
[pip3] torch==2.5.1a0+git3ba5690
[pip3] torch_tb_profiler==0.4.0
[pip3] torchaudio==2.2.0+08901ad
[pip3] torchdata==0.7.1+5e6f7b7
[pip3] torchtext==0.17.0+400da5c
[pip3] torchvision==0.19.0a0+48b1edf
[pip3] triton==3.0.0

cc @chauhang @penguinwu @ezyang @bobrenjc93
cc @sujoysaraswati @joyalbin
Repository: electron
Issue: Add `canUndo` and `canRedo` as instance properties of the `webContents` object.
Labels: enhancement :sparkles:

### Preflight Checklist

- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

It is not possible to know the values of `canUndo` and `canRedo` of a `webContents` object.

### Proposed Solution

Rather than relying on a `context-menu` event to be invoked to see the parameters of `canUndo` and `canRedo`, allow the user at any time to inspect their values.

### Alternatives Considered

If one could manually trigger the context menu- then they could inspect these values- this is a kludge at best.

### Additional Information

_No response_
Repository: terminal
Issue: Be able to switch the pane "focus" of my cursor programmatically
Labels: Issue-Feature,Product-Terminal,Area-Commandline

### Description of the new feature

I want to be able to run a command in one pane and then have my cursors focus be able to shift to the other frame. This is mainly for AI Shell where after a someone uses the command `/code post` to post code responses to their working shell that their cursor is also shifted to the left in order to help speed of running the commands suggested. Related issue: https://github.com/PowerShell/AIShell/issues/311

In the GIF below, I have to click on the left side to shift my focus and be able to execute the command inserted.

![Image](https://github.com/user-attachments/assets/9155ae98-f471-4a4e-9d52-a2f63b38adc0)


### Proposed technical implementation details

_No response_
Repository: deno
Issue: fails to do relative dynamic import inside workspace package 
Labels: question

Version: Deno 2.1.2

## Reproduction

1. create a deno workspace.
2. initialize [lume](https://github.com/lumeland/lume) with CMS in workspace package (the "`lume/`" dir)
3. run `cd lume` && `deno task cms`
4. it fails because cms module invokes `await import("lume/cms/adapters/lume.ts")`, and deno cannot resolve `lume/cms/adapters/lume.ts` despite  it was added in `"imports"` section (`lume/deno.json`) on step 2

folder structure
```
- deno.json "workspace": ["lume"]
  - lume/
    - deno.json "imports": { "/lume/cms/": "..." }
```
Repository: TypeScript
Issue: Support declaring multiple setter overloads
Labels: Suggestion,Awaiting More Feedback

### 🔍 Search Terms

setter overload, multiple setter signatures, multiple setter input types

### ✅ Viability Checklist

- [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [x] This wouldn't change the runtime behavior of existing JavaScript code
- [x] This could be implemented without emitting different JS based on the types of the expressions
- [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [x] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [x] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

### ⭐ Suggestion

TypeScript allows declaring multiple different argument signatures for a function, i.e. "function overloads": https://www.typescriptlang.org/docs/handbook/2/functions.html#function-overloads.

We should be able to do the same for property setters, since they are modeled much like a function taking a single argument.

> (Note that unlike some other languages, TypeScript's overloads are only bare type signatures: there is only a single method body implementation shared by all of them, making this a pure typechecking feature with no impact on the generated runtime code. This proposal works the same way, just extending this syntax from functions/methods to setters as well).

### 📃 Motivating Example

A setter might want to separate different types of inputs for improved clarity of documentation:

```ts
/**
 * Set startTime to a specific timestamp, specified as a Date object or number of ms since epoch.
 */
set startTime(date: Date | number);

/**
 * Set startTime to the start of the most recent activity matching the given category name.
 */
set startTime(category: string);

set startTime(dateOrCategory: Date | number | string) {
    // ...
}
```

Note that these differ not just in documentation but also in the value argument's name, which often appears in generated docs output too.

### 💻 Use Cases

Although setter overloads are necessarily less versatile than function overloads with multiple parameters, some of the same rationales for the overload feature still apply to setters – as seen in the example above.

**Workaround**
As with functions before overloading is supported, the workaround is just to glom all the docs together with some additional verbiage, e.g.:
```ts
/**
 * Set startTime:
 * - If given a Date object or number of ms, sets to a specific timestamp.
 * - If given a category name string, sets to the start of the most recent activity matching that name.
 */
set startTime(dateOrCategory: Date | number | string) {
    // ...
}
```
Repository: neovim
Issue: `WinNew` event seems to ignore file patterns in autocmds
Labels: documentation

### Problem

I'm trying to create an autocmd for the `WinNew` event that only fires when certain files are opened in new windows (specifically "help" files, i.e. `*/doc/*.txt`). However, when I specify a filepath pattern for the autocmd, it never fires.

### Steps to reproduce

```
nvim --clean
:autocmd WinNew "*/doc/*.txt" echo "hi"
:help help
```

### Expected behavior

I would expect the above autocmd to fire, but it doesn't. I have no idea if this is intended behavior or not; as far as I can tell the docs don't say anything about what the pattern for `WinNew` matches on, but matching on the file path if the new window is for a file buffer seems like an obvious choice (without any knowledge of implementation details).

### Nvim version (nvim -v)

NVIM v0.10.2 Build type: Release LuaJIT 2.1.1713484068

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

yes, tested version 9.1

### Operating system/version

Windows 11

### Terminal name/version

wezterm, version 20240203-110809-5046fc22

### $TERM environment variable

xterm-256color

### Installation

winget
Repository: godot
Issue: [Multiple monitors] Window disapears when borderless fullscreen and window mode maximized 
Labels: bug,needs testing,topic:gui

### Tested versions

- Reproducible in 4.3 stable, 4.4 dev branch

### System information

Godot v4.3.stable - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4070 Ti (NVIDIA; 32.0.15.6094) - 13th Gen Intel(R) Core(TM) i7-13700K (24 Threads)

### Issue description

When setting a borderless window to maximized, it will disappear.

### Steps to reproduce

If window borderless = true, and setting (ONLY while setting) window mode to maximized, window will disappear. Click on button on MVP to test.

### Minimal reproduction project (MRP)

[windowedMvp.zip](https://github.com/user-attachments/files/17988396/windowedMvp.zip)
Repository: tensorflow
Issue: How to load partial parameters from subclass model in TF2?
Labels: stat:awaiting tensorflower,type:support,comp:apis

Hi, all, 
    I have constructed a keras model with subclass mode in TensorFlow2.x, and trained it with a dataset named dataset1(which have 4000 classification, namely the vocabulary size is 4000), and save the checkpoint with tf.train.Checkpoint and tf.train.CheckpointManager. And now I want to finetune it with a new dataset named dataset2(which have 500 classification, the vocabulary size is 500), when directely restore the parameters from the saved checkpoint, it will fail because of the mismatch shape (ie, the embedding layer, the output layer of encoder and decoder etc).

   So, how to restore partial parameter from the checkpoint model, or ignore the shape mismatch parameters when restore from the checkpoint. Here is a simplified example, 

	# custom design layer
	class CustomLayer(tf.keras.layers.Layer):
	    def __init__(self, unit1, unit2, **kwargs):
	        super(CustomLayer, self).__init__(**kwargs)
	        self.dense1 = tf.keras.layers.Dense(unit1, activation='relu')
	        self.dense2 = tf.keras.layers.Dense(unit2, activation='softmax')
	 
	    def call(self, inputs):
	        x = self.dense1(inputs)
	        return self.dense2(x)

	# keras model
	class CustomModel(tf.keras.Model):
	    def __init__(self, unit1, unit2):
	        super(SourceModel, self).__init__()
	        self.layer = tf.keras.layers.Dense(128, activation='relu')
	        self.custom_layer = CustomLayer(64, 10)
	 
	    def call(self, inputs):
	        x = self.layer(inputs)
	        x = self.custom_layer(x)
	        return x

	# original model
        old_model = CustomModel(64, 10)
        optimizer = tf.keras.optimizers.Adam(1e-4, beta_1=0.9, beta_2=0.98, epsilon=1e-9)
        ckpt = tf.train.Checkpoint(step=tf.Variable(0), model=old_model, optimizer=optimizer)
        for sample in dataset1:
                training and save checkpoint ......

        # new model
        new_model = CustomModel(64, 5)
        **how to restore partial parameters from the checkpoint saved before and start a new train in the dastaset2?**