sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: node
Issue: `.env` file support issue tracker
Labels: discuss,dotenv

This is a follow-up of [dotenv support pr](https://github.com/nodejs/node/pull/48890) to track the development process, and answer some questions that require a general discussion for making the decision to implement them.

Todos:
- [ ] Precisely define the syntax of `.env` files, and consider a better format not based on ini
- [x] Supporting absolute paths for .env file https://github.com/nodejs/node/pull/51425
- [x] Should we support multiple `--env-file` through the CLI? (cc @GeoffreyBooth) https://github.com/nodejs/node/pull/49542
- [x] Support multi-line values https://github.com/nodejs/node/pull/51289
- [x] Follow up after @tniessen's PR has landed to main https://github.com/nodejs/node/pull/49213
- [x] Should we add a programmatic API? If yes, what would be the use-case? (cc @cjihrig) https://github.com/nodejs/node/pull/51476

Questions:
- [x] ~~Should we merge NODE_OPTIONS if both environment variable and .env version exist? Currently, we prefer environment variable over .env configuration.~~ (cc @ljharb) https://github.com/nodejs/node/pull/49217
- [x] Should we throw if `.env` file does not exist? We currently follow the default behavior of `dotenv` package and do not throw. (cc @MoLow)

Please feel free to edit this issue in case there are more questions that needs to be answered.

cc @nodejs/tsc
Repository: neovim
Issue: Problems displaying the intro screen in UI applications
Labels: bug,gui,ui,ui-extensibility

### Problem

We would like to display the intro screen in Neovide to for example make sure that the donation and sponsor links are displayed, and that we honor Bram's wishes. See https://github.com/neovide/neovide/issues/620

But there are two problems, the intro screen is closed as soon as the window is redrawn. That is problematic because we don't know the final size at the time of `nvim_ui_attach`, the number of rows can change due to `guifont` and other settings that are applied during the startup.

One idea I had, is to add an auto command that runs at `VimEnter`  and calls `intro` when there's only one buffer and it does not have any text. While I think that it works, I think it would be better if Neovim did that automatically.

The second problem is that it doesn't actually work with `--multigrid`. The text is displayed behind the main window and only "press ENTER or type command to continue" is visible. The message is displayed in grid 1, while grid 2 is on top, both with floating order `None`  in Neovide we interpret this as the highest id is on top.

### Steps to reproduce

1. create a configuration that sets the guifont
2. launch neovide --multigrid
3. Observe that no intro screen is displayed
4. run `:intro`
5. Observe that the intro screen is rendered behind the buffer


### Expected behavior

The intro screen should show.

### Neovim version (nvim -v)

0.9.1

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

N/A

### Operating system/version

Arch Linux

### Terminal name/version

Neovide

### $TERM environment variable

alacritty

### Installation

pacman
Repository: godot
Issue: RPCs must be echoed in child class, otherwise they don't work.
Labels: bug,topic:gdscript,topic:network

### Godot version

4.1.1.stable

### System information

Windows 11 10.0.22621 Build 22621

### Issue description

Currently experiencing an issue with RPCs and inheritance.

In the parent class, I have the following code:
```gdscript
@rpc("any_peer", "call_local")
func Sync_addImpulse(swingImpulseString : String):
	if multiplayer.get_remote_sender_id() == 0:
		rpc("Sync_addImpulse", swingImpulseString)
	else:
		var swingImpulse = JsonSingleton.parseVector2FromString(swingImpulseString)
		addImpulse(swingImpulse)
```

When I call Sync_addImpulse in the child class, the function is called (e.g., it forwards teh RPC). However, the RPC isn't received.

To fix, this, I simply echoed the call in the child as follows:

```gdscript
@rpc("call_local", "any_peer")
func Sync_addImpulse(impulse): super.Sync_addImpulse(impulse)
```

Strangely, it now works as expected. It seems like maybe the rpc tag isn't inherited by the child, but that's just a wild guess.

Let me know if you have any questions or if I can help at all.

### Steps to reproduce

- Create a parent & child class
- Create some method CallRPC() in the parent class, that echoes an RPC to itself (like the one I provided)
- Call the CallRPC() method from the child class. The parent class will run CallRPC(), but it won't receive the self-echoed RPC.
- Then, echo the CallRPC() function in the child class. You will observe that now the RPCs are received.

### Minimal reproduction project

N/A - quite trivial.
Repository: next.js
Issue: Server Action forever pending status
Labels: bug,linear: next

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: linux
      Arch: x64
      Version: #1 SMP Debian 5.10.179-1 (2023-05-12)
    Binaries:
      Node: 20.5.0
      npm: 9.8.1
      Yarn: 1.22.19
      pnpm: 8.6.11
    Relevant Packages:
      next: 13.4.14-canary.2
      eslint-config-next: 13.4.13
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.6
    Next.js Config:
      output: N/A
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

App Router

### Link to the code that reproduces this issue or a replay of the bug

https://github.com/LearningProcesss/server_actions_case_study

### To Reproduce

Go to localhost:3000/videos and add files one, two or three, N times

### Describe the Bug

Server action status remains pending forever. From that point the entire app froze.

![next_pending](https://github.com/vercel/next.js/assets/38817460/d982b488-34c4-4e85-a10d-1a96eafbc812)


### Expected Behavior

As intended, simple server action that manipulate data that comes from client.

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_

<sub>[NEXT-1515](https://linear.app/vercel/issue/NEXT-1515/server-action-forever-pending-status)</sub>
Repository: next.js
Issue:  Transition between locales on Dynamic Routes preserve default locale in getServerSideProps
Labels: examples

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: win32
      Arch: x64
      Version: Windows 10 Pro
    Binaries:
      Node: 18.14.0
      npm: 9.3.1
      Yarn: N/A
      pnpm: N/A
    Relevant Packages:
      next: 13.4.13
      eslint-config-next: 13.4.3
      react-dom: 18.2.0
      typescript: 5.1.6
    Next.js Config:
      output: N/A
```


### Which example does this report relate to?

Internationalization (i18n) / getServerSideProps / Pages router


```js
const { locale, pathname, asPath, query, replace } = useRouter();

const changeLocale = () => {
	replace({ pathname, query }, asPath, {
		locale: nextLocalization.value,
	});
};
```

```js
// pages/example/[slug].js
// getServerSideProps preserves locale default value
export const getServerSideProps = async ({ req, query, locale }) => {
```

```js
// next.config.js
i18n: {
	locales: ['en', 'ar'],
	defaultLocale: 'en',
	localeDetection: false,
},
```


### What browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_

### Describe the Bug

When transitioning between locales on dynamic routes using `next/router`, the application reverts to the default locale instead of maintaining the selected locale in `getServerSideProps `

### Expected Behavior

The application should maintain the selected locale when transitioning between locales on dynamic routes using next/router in `getServerSideProps `

### To Reproduce

- Create a Next.js application with multiple locales configured.
- Set up a dynamic route that uses localized content.
- Use `next/router` to transition between different locales while on the dynamic route.
- Observe that the application switches back to the default locale in getServerSideProps instead of preserving the selected locale.
Repository: vscode
Issue: Support ARM snap builds
Labels: feature-request,linux,snap

This issue is duplicate of locked issue #147656
Mentioned blocker issue https://github.com/microsoft/vscode/issues/106473#issuecomment-732237745 got also closed.

Building and arm snap does not required anymore arm machine, canonical offer the service to build it in the cloud on ARM device.


Does this issue occur when all extensions are disabled?: Yes/No

    VS Code Version: latest
    OS Version: ubuntu 20.04

Steps to Reproduce:

web:

    Go to https://snapcraft.io/code
    Select version dropdown
    Select "Show Architecture"

image
![163899302-6e5acac3-d797-414a-b84a-36c354177041](https://github.com/microsoft/vscode/assets/9304740/2120c697-9046-4d55-a472-1ab4ca1a4b13)

terminal:

    sudo snap install code --classic

error: snap "code" is not available on stable for this architecture (arm64) but exists on other
       architectures (amd64)

Only amd64 is available according to the snapcraft store even though it is indicated in the PR https://github.com/microsoft/vscode/pull/111008 that ARM snap builds should be available.


```[tasklist]
### Tasks
```
Repository: angular
Issue: Enable Subscription to Resolver Parameters to Avoid Redundant Calls
Labels: area: router

### Which @angular/* package(s) are relevant/related to the feature request?

router

### Description

Currently, when working with resolvers in Angular, there is an opportunity to enhance the developer experience.

### Proposed solution

In many scenarios, resolvers are employed to load data into a component before it's displayed. However, the need often arises to utilize this resolved data elsewhere in the component after it has been resolved. In the provided scenario, the resolver is used as follows:

```typescript
resolve(
  route: ActivatedRouteSnapshot
): Observable<Array<Foo>> {
  return this.fooService.foos;
}
```
Subsequently, in the component, there's a desire to receive updates from foos as it emits new values, using the following logic:
```typescript
this.foos: Observable<Array<Foo>> = this.route.data.pipe(map((data) => data['foos']));
```


### Alternatives considered


```typescript
const resolverData = this.route.data.pipe(map((data) => data['foos']));
const serviceData = this.foosService.foos.pipe(skip(1));
this.foos = merge(resolverData, serviceData);
```
Repository: material-ui
Issue: [docs-infra] Default values are not documented in Joy UI and MUI System
Labels: bug 🐛,docs,package: system,package: material-ui,package: joy-ui,scope: docs-infra

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

- joy Stack direction has no default: https://mui.com/joy-ui/api/stack/#Stack-prop-direction
- system Stack direction has no default: https://mui.com/system/api/stack/#Stack-prop-direction

The problem comes from `docs:api` script since the `@default` is defined, but no default is visible in the JSON file.

It appears for system the `muiDefaultPropsHandler` is not applied, and adding it the the handlers make the script crash: needs further investigation

### Current behavior 😯

_No response_

### Expected behavior 🤔

_No response_

### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>
Repository: stable-diffusion-webui
Issue: [Feature Request]:   Can you label some commonly used fields more specifically
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

I am a Chinese person, and because some fields contain underscores and English abbreviations, I am not sure what functions correspond to some fields in the Swagger API. Can you help me annotate some commonly used fields in Img2Imgapi in detail? Thank you

### Proposed workflow

none

### Additional information

_No response_
Repository: PowerToys
Issue: Enhancement needed or Bug: Backup/restore feature works improperly
Labels: Issue-Bug,Product-Settings,Needs-Triage

### Description of the new feature / enhancement

Version: 0.72.0
App run as administrator

Backup feature works as expected, generates *.ptb file into backup folder.
Restore: No backup file was detected in the backup folder by Powertoys settings, unable to restore backup.

### Scenario when this would be used?

Able to select a backup file to restore settings into Powertoys, overwrite the existing Powertoys settings.
The current restore feature does not work in the normal/typical way, unable to restore settings from a backup.

### Supporting information

Backup files are present in the backup folder.
In Powertoys settings, click restore.
- Current behavior: Not restored. None of the backup files were used, unable to restore the preferred settings from backups.
- Tried backing up the current default settings, then copy the generated file name to replace the file name of a previous backup, then in Powertoys click restore. Failed to restore, it says current (default) settings were differ with the backup.
- Expected: Able to select a backup file to restore settings into Powertoys, overwrite the existing Powertoys settings.


Screenshots:
- Backup files are present in the backup folder
![image](https://github.com/microsoft/PowerToys/assets/35516581/baab974a-9f01-4309-9fb9-76dda05cd15d)

- In Powertoys, click "Restore" button
![image](https://github.com/microsoft/PowerToys/assets/35516581/bb564069-9c83-445d-9c83-83b0ffa92176)

- No settings were restored, the fefault settings remain current. Expected to restore my settings from a backup.
Repository: godot
Issue: No animation name autocomplete for AnimationPlayer in base script
Labels: bug,topic:gdscript,usability,topic:animation

### Godot version

4.1.1.stable, master[7ba79d68bd0f97797d7cb37452da6a036ba7c7c9]

### System information

Arch Linux

### Issue description

When an AnimationPlayer onready variable is created in the base script, autocomplete in a derived script won't show animations added in the derived scene.

See "steps to reproduce" for detail.

### Steps to reproduce

1. Create a BaseScene
    * Add an AnimationPlayer node inside
    * Create a script for the root node, and create a onready variable `animation_player` for the AnimationPlayer node
2. Create a DerivedScene, inheriting from BaseScene
    * Create a new animation "foo" in the AnimationPlayer
    * Extend the root script
3. In the extended script, type `animation_player.play(`
    * Expected: show "foo" in the completion prompt
    * Actual: nothing is show
 
If the onready variable is defined in the extended script instead of in the base script, then everything works fine.

### Minimal reproduction project

[test-4.zip](https://github.com/godotengine/godot/files/12330948/test-4.zip)
Repository: rust
Issue: Repetitive error when a closure should be `move` and multiple variables are involved
Labels: A-diagnostics,T-compiler,D-papercut

### Code

```Rust
fn f() -> impl Fn() {
    let a = ();
    let b = ();
    || {
        let _ = (a, b);
    }
}
```


### Current output

```Shell
error[E0373]: closure may outlive the current function, but it borrows `b`, which is owned by the current function
 --> src/lib.rs:4:5
  |
4 |     || {
  |     ^^ may outlive borrowed value `b`
5 |         let _ = (a, b);
  |                     - `b` is borrowed here
  |
note: closure is returned here
 --> src/lib.rs:4:5
  |
4 | /     || {
5 | |         let _ = (a, b);
6 | |     }
  | |_____^
help: to force the closure to take ownership of `b` (and any other referenced variables), use the `move` keyword
  |
4 |     move || {
  |     ++++

error[E0373]: closure may outlive the current function, but it borrows `a`, which is owned by the current function
 --> src/lib.rs:4:5
  |
4 |     || {
  |     ^^ may outlive borrowed value `a`
5 |         let _ = (a, b);
  |                  - `a` is borrowed here
  |
note: closure is returned here
 --> src/lib.rs:4:5
  |
4 | /     || {
5 | |         let _ = (a, b);
6 | |     }
  | |_____^
help: to force the closure to take ownership of `a` (and any other referenced variables), use the `move` keyword
  |
4 |     move || {
  |     ++++

For more information about this error, try `rustc --explain E0373`.
```


### Desired output

```Shell
error[E0373]: closure may outlive the current function, but it borrows `a` and `b`, which are owned by the current function
 --> src/lib.rs:4:5
  |
4 |     || {
  |     ^^ may outlive borrowed values `a` and `b`
5 |         let _ = (a, b);
  |                  ^  - `b` is borrowed here
  |                  |
  |                  `a` is borrowed here
  |
note: closure is returned here
 --> src/lib.rs:4:5
  |
4 | /     || {
5 | |         let _ = (a, b);
6 | |     }
  | |_____^
help: to force the closure to take ownership of referenced variables, use the `move` keyword
  |
4 |     move || {
  |     ++++
```


### Rationale and extra context

_No response_

### Other cases

_No response_

### Anything else?

[Playground link](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&code=fn+f%28%29+-%3E+impl+Fn%28%29+%7B%0A++++let+a+%3D+%28%29%3B%0A++++let+b+%3D+%28%29%3B%0A++++%7C%7C+%7B%0A++++++++let+_+%3D+%28a%2C+b%29%3B%0A++++%7D%0A%7D)
Repository: flutter
Issue: Column could identify the TextAlign and automatically adjust Text to match it
Labels: f: material design,a: typography,c: proposal,P2,team-design,triaged-design

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

It's common to put a `Text` inside a `Column` and then needed for the text to center aligned, but we don't want the rest of the `Column`s children to be centered as well, so the `CrossAxisAlignment.start` could be used. Setting the `textAlign` parameter of `Text` won't work, because the `Text` isn't taking the whole width of the `Column`, this can be hard to understand/debug for new devs specially.

### Proposal

The solution is simple, we can just wrap the `Text` inside a `Center`, but I wonder if the `Column` widget could be a bit smarter and check if one of it's `children` is a `Text` and it has a `textAlign`, then the `Column` could make that `Text` take the whole width, so the property of the `Text` will work as expected.
Repository: godot
Issue: Crash at startup when using Forward+ or Mobile renderer (Vulkan) on AMD GPUs
Labels: bug,platform:windows,topic:rendering,confirmed,topic:thirdparty

### Godot version

4.1.1 & 4.2d3

### System information

Windows 11 Latest version, 5800X3D + 7900XTX With 23.7.2 version , 32GB@3600, 1TO NVME

### Issue description

As soon as I try to use the Vulkan renderer, the editor crashes at startup or very soon after.

My event viewer shows me that the driver is faulty ( I have the latest version ):

Nom de l’application défaillante : Godot_v4.2-dev3_win64.exe, version : 4.2.0.0, horodatage : 0x00000000
Nom du module défaillant : amdvlk64.dll, version : 31.0.21023.2010, horodatage : 0x64b73ed7
Code d’exception : 0xc0000005
Décalage du défaut : 0x00000000001e565a
ID processus défaillant : 0x0x18F4
Heure de démarrage de l’application défaillante : 0x0x1D9CE5BAC56A92B
Chemin de l’application défaillante : C:\Users\Kanshiin\Desktop\Godot_v4.2-dev3_win64.exe\Godot_v4.2-dev3_win64.exe
Chemin du module défaillant : C:\WINDOWS\System32\DriverStore\FileRepository\u0394204.inf_amd64_6f4f37ba5ae472b3\B394106\amdvlk64.dll
Code de rapport : 834bef1d-0d3d-45ae-88bf-4bac71580ae4
Nom complet de l’ensemble défaillant 

### Steps to reproduce

Open any brand new project With Forward+ or Mobile renderer (Vulkan). 
Add a 3D node to the first scene.
Rename it ( if you reach that step ).
It will crash AMD gpus on the spot.

### Minimal reproduction project

No need, any new project will crash.
Repository: pytorch
Issue: from_blob python api
Labels: triaged,enhancement,module: python frontend

Hi, does python api has from_blob like the one in C++?

cc @albanD
Repository: vscode
Issue: Focus border not visible on toggled search actions
Labels: bug,search,accessibility

#A11yWCAG2.1; #A11yTCS; #A11ySev3; #DesktopApp; #Win32; #Visual Studio Code Client; #BM-VisualStudioCodeClient-Win32-Aug2023; #WCAG2.4.7; #AILimited; #FocusVisible; #Keyboard; 

### Environment and OS details:
Visual Studio Code insider version 1.82.0
Microsoft Windows 11 Enterprise 22H2 Build 22621.1992

### Repro Steps:
1) Open Visual Studio Code Insiders editor  
2) Using keyboard navigation View Menu Bar
3) Select search option
4) Search with match casing enabled
5) Search with match whole world enabled
6) Search using RegEx
7) Search with file excludes
8) Search with file includes
9) Open search results in the Search Editor

### Actual Result:
The keyboard focus is not visible on Case buttons after activating them.

### Expected Result:
Keyboard Focus should be visible after activating the case buttons”.

### User Impact:
Users who rely on keyboard will be impacted if keyboard focus indicator is not visible for the interactive controls. 

### Attachment:
![Bug_190382_Focus Visible](https://github.com/microsoft/vscode/assets/124244478/24501811-ebd4-4711-a448-30640b486c3a)