sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: angular
Issue: Add mentions of how to disable/enable SSR for different environments (ssr/prerender properties)
Labels: P3,area: docs

### Describe the problem that you experienced

Understanding how SSR works for v17+ is difficult. 

### Enter the URL of the topic with the problem

https://angular.dev/guide/ssr

### Describe what you were looking for in the documentation

I was trying to find how to disable SSR while serving an application during development.

### Describe the actions that led you to experience the problem

I removed old SSR configuration in my project and ran the setup SSR generator again, only to notice that SSR was now enabled by default (which has been mentioned elsewhere) but I did not think this would apply to development as it slows down reload times by A LOT.

### Describe what you want to experience that would fix the problem

Mention the 

          "ssr": false,
          "prerender": false,
          
configuration options. These were handed to me from a team member over on StackOverflow, but should really be part of the docs.

### Add a screenshot if that helps illustrate the problem

_No response_

### If this problem caused an exception or error, please paste it here

_No response_

### If the problem is browser-specific, please specify the device, OS, browser, and version

_No response_

### Provide any additional information here in as much as detail as you can

```true
Would also be useful to mention why the old executors were dropped (such as serve-ssr) and what the new way of serving the application using SSR is and how it works in a bit more detail.
```
Repository: kubernetes
Issue: DRA: update scheduling impact documentation
Labels: priority/backlog,sig/node,kind/feature,lifecycle/frozen,needs-triage

### What would you like to be added?

https://github.com/kubernetes/website/pull/43907 documents the state as of Kubernetes 1.29. This might change again, depending on https://github.com/kubernetes/kubernetes/issues/120502.

As suggested in https://github.com/kubernetes/website/pull/43907#pullrequestreview-1729335053:
> Once DRA is beta, we might want to add a one-line mention in https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/ about potential sources of scheduling delays, and link to this page for more detail of how DRA can contribute there.

### Why is this needed?

Once it is beta, documentation about it needs to be easier to find, hence the cross-reference.

/sig node
/priority backlog
Repository: opencv
Issue: eigen2cv data type conversion
Labels: feature

### Describe the feature and motivation

# System Information

OpenCV 4.x
Ubuntu 20.04
g++  9.4.0

# Feature request

I would like to request the possibility to pass a [data type](https://docs.opencv.org/3.4/d1/d1b/group__core__hal__interface.html)  such as `CV_32F` to the [`eigen2cv()`](https://docs.opencv.org/4.8.0/d0/daf/group__core__eigen.html#ga7d024b90a359c852cce5dff47ebc77a4) function. Currently, this function converts matrices to the `CV_64F` data type. This behavior limits flexibility, especially in applications where CV_32F is preferred due to its lower memory footprint and faster processing times.

The ability to directly convert Eigen matrices to `CV_32F` or any data type would be highly beneficial for performance-sensitive applications, such as real-time image processing and computer vision tasks in robotics.

There has been some discussion [here](https://stackoverflow.com/questions/72976900/cvgetperspectivetransform-throws-error-after-cveigen2cv)

### Additional context

_No response_
Repository: next.js
Issue: Dev server doesn't pickup new changes when fixing jsx syntax error on the edge runtime
Labels: bug

### Link to the code that reproduces this issue

https://github.com/alarbada/reproduction-app

### To Reproduce

1. Start the application (in my case, bun run dev, but I've also checked this error with pnpm / npm).
2. You'll see the following html on screen:

```html
    <div>
      <h1>hi</h1>
    </div>
```

3. Change the jsx expression so that it causes a syntax error and save the file

```javascript
/** Add your relevant code here for the issue to reproduce */
export default function Home() {
  return (
    <div>
      h1>hi</h1>         // <-- error!
    </div>
  )
}
```

4. Try fix the jsx error without restarting the dev server. I haven't been able to do so.

Considerations: On page.tsx I'm using `export const runtime = 'edge'`. **If you comment this line, the dev server works as expected**.

### Current vs. Expected behavior

I'd expect the dev server to pickup the jsx fix.

### 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: #8 SMP PREEMPT_DYNAMIC Mon Nov  6 14:48:30 UTC 2023
Binaries:
  Node: 18.18.2
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.8.0
Relevant Packages:
  next: 14.0.3-canary.7
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router

### Additional context

I've tested against next 13.5.4, next 14.0.0 / 14.0.2 and canary. All of them have the same error.
Repository: godot
Issue: Scene viewport gets focused on when the mouse cursor is hovered over it
Labels: enhancement,discussion,topic:editor,confirmed,usability

### Godot version

v4.1.3.stable.official [f06b6836a]

### System information

Godot v4.1.3.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4060 Ti (NVIDIA; 31.0.15.4601) - 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz (12 Threads)

### Issue description

This might be intentional, but does not at all feel intuitive to use.
When you, for example, do an operation such as pressing the delete key to remove a node, file, etc. it's done on the currently focused editor tab, which is the last one an input was made in. A seemingly sole exception to this is the scene viewport, which automatically focused if you hover your mouse cursor over it.

https://github.com/godotengine/godot/assets/98223724/693e7136-11bc-409b-b3a7-81f884fe1f95

### Steps to reproduce

1. Click anywhere except the scene viewport.
2. Hover over the scene viewport.

### Minimal reproduction project

N/A
Repository: PowerToys
Issue: Mouse without borders failed to connect
Labels: Issue-Bug,Needs-Triage,Product-Mouse Without Borders

### Microsoft PowerToys version

0.75.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

(Connected in the same WiFi network)
1. Click "New key" to generate a new key (on Desktop)
2. Enter the key and the name on another computer (on Laptop)
3. Click "Connect" on the Laptop

### ✔️ Expected Behavior

The Device Layout area on the Desktop should show the laptop's icon and name with a green border
The same should be true for the Laptop
Then the mouse can be moved between the two devices

### ❌ Actual Behavior

The Device Layout on the Laptop shows the icon and name of the Desktop, but the border flashes between blue, orange, and yellow (stays in blue for the most time).
Nothing happens on Desktop, and mouse cannot be moved between thre two devices.
When I click "New key" on the Desktop, the flashing border on the Laptop turns red.

Tried running as administrator and non-administrator, in different network, restarting the computer, and reinstalling PowerToys, none of which work.

The tool works normally for several days, but suddenly failed after I restart one of the PCs.

Log files here:
[Laptop.zip](https://github.com/microsoft/PowerToys/files/13348760/Laptop.zip)
[Desktop.zip](https://github.com/microsoft/PowerToys/files/13348797/Desktop.zip)


### Other Software

_No response_
Repository: vscode
Issue: Git - error while synching changes
Labels: bug,git

Steps to Reproduce:

1.  Launch VS Code, and open a folder/workspace that contains a git repository
2. Ensure that auto fetch is disabled, and `git.rebaseWhenSync` is disabled
3. Make a change locally and commit the change
4. Make a change in the remote, but do not fetch/pull it
5. Switch to VS Code and click the "Sync Changes" button

```
> git pull --tags origin main
From https://github.com/lszomoru/GitPlayground
 * branch            main       -> FETCH_HEAD
   5a76c29..d6d1cdb  main       -> origin/main
hint: You have divergent branches and need to specify how to reconcile them.
hint: You can do so by running one of the following commands sometime before
hint: your next pull:
hint: 
hint:   git config pull.rebase false  # merge
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint: 
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
fatal: Need to specify how to reconcile divergent branches.

```
Repository: rust
Issue: Compiler hang with recursive trait requirement and `default impl`
Labels: I-compiletime,T-compiler,A-specialization,C-bug,F-specialization

Found by mutating [tests/ui/traits/issue-18400.rs](https://github.com/rust-lang/rust/blob/ba7c7a301/tests/ui/traits/issue-18400.rs) with [my variant of fuzz-rustc](https://github.com/jruderman/fuzz-rustc)

### Code

```rust
#![allow(incomplete_features)]
#![feature(specialization)]

trait Set<T> {
    fn contains(&self, bit: T);
}

default impl<T, S> Set<&T> for S where
    S: Set<T>,
{
    fn contains(&self, _: &T) {}
}

fn main() {
    0.contains(());
}
```

### Error output

With the default recursion limit (128), rustc effectively hangs without showing any output.

With `#![recursion_limit = "8"]`, it exits with [E0275](https://doc.rust-lang.org/error_codes/E0275.html):

```
error[E0275]: overflow evaluating the requirement `{integer}: Set<&&&&&&&&&_>`
  --> d2.rs:16:7
   |
16 |     0.contains(());
   |       ^^^^^^^^
   |
   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "16"]` attribute to your crate (`d2`)
note: required for `{integer}` to implement `Set<&&&&&&&&&_>`
  --> d2.rs:9:20
   |
9  | default impl<T, S> Set<&T> for S where
   |                    ^^^^^^^     ^
   = note: 8 redundant requirements hidden
   = note: required for `{integer}` to implement `Set<&&&&&&&&&_>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0275`.
```

### Where it's slow

`-Z time-passes`: type_check_crate

[Sample head](https://github.com/rust-lang/rust/files/13349325/Sample.of.rustc.txt): trait selection and obligations

### Not a recent regression

It's slow to the point of hanging at least as far back as nightly 2021-01-01

### Version

```
rustc 1.76.0-nightly (ba7c7a301 2023-11-13)
binary: rustc
commit-hash: ba7c7a301984967c8c13adb580ef9b86ba706a83
commit-date: 2023-11-13
host: x86_64-apple-darwin
release: 1.76.0-nightly
LLVM version: 17.0.4
```

@rustbot label +I-compiletime +A-specialization +F-specialization +T-compiler
Repository: deno
Issue: LSP randomly using 100% CPU
Labels: bug,perf,lsp

![image](https://github.com/denoland/deno/assets/80/ada2435f-93b4-4e18-b621-7c8a1bfcf36a)
https://twitter.com/devtails/status/1724243211911405702
Repository: godot
Issue: Disabling the "Script Editor" Editor Feature makes it impossible to Detach Scripts
Labels: bug,discussion,topic:editor

### Godot version

4.2.dev

### System information

Windows 11

### Issue description

The "Detach the script from the selected node" icon is removed when disabling the "Script Editor" feature.

Existing and newly Attached scripts cannot be Detached.

![image](https://github.com/godotengine/godot/assets/8904620/284ad55d-00b7-481e-8688-e5b5b229e58a)

The same is true for the "Detach Script" context menu item.

![image](https://github.com/godotengine/godot/assets/8904620/26b934d4-94fb-4287-afe9-63e5c31129bc)

However, since it's still possible to Attach a script via drag & drop from Filesystem, disabling this editor feature is detrimental to a development workflow and provides a dead end workflow (due to the missing button).

![image](https://github.com/godotengine/godot/assets/8904620/65023ba7-722d-42dc-a1c0-276a6a532df7)

New scripts can still be created in the FileSystem tab (but cannot be created via the hierarchy context menu)

![image](https://github.com/godotengine/godot/assets/8904620/261aed0d-2c57-4550-90b5-72a19202199d)


Suggested fix: Keep the Detach Script functionality available under all circumstances, making it possible to have a clean workflow without the script editor always stealing focus. It would also be good to always be able to Create Scripts via context menu.

Dream fix for the future: In addition to suggested fix, clicking the script icons (or double-clicking script resources) would actually open them in the chosen external editor. (probably out of scope for the fix, or a goal for a configurable extension/plugin)

### Steps to reproduce

1. Open Editor->Manage Editor Features
2. Disable the "Script Editor" feature
3. Observe: Scripts can no longer be detached from their nodes via the top-of-hierarchy icon.
4. Observe: Scripts cannot be created nor detached via the context menu on any given node.

### Minimal reproduction project

No "project" repro possible, Editor Features are managed somewhere outside the projects.

(actually would suggest to save that in project.godot - so the correct editor config can be loaded for a given project :))
Repository: stable-diffusion-webui
Issue: [Feature Request]: Add Kohya's Deep Shrink Hires. fix
Labels: enhancement,extension-request

### 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 ?

Add an option to use a new method for "hires fixing" as discovered/outlined by Kohya (training master) on twitter on November 13, 2023.


https://twitter.com/kohya_tech/status/1724273551937786164 [Announcement of discovery/breakdown]
https://gist.github.com/kohya-ss/3f774da220df102548093a7abc8538ed [Code]


Translated tweets:

Kohya Tech - @kohya_tech @kohya_tech - Nov 14 - [Attached photos]
Yesterday, I tried to find a method to prevent the composition from collapsing when generating high resolution images. The first attached image is 4 images normally generated at 2688x1536, and the second image is generated by applying the same seed. Highres fix is ​​not applied in either case. Taverns and towns are usually pretty good, but I think you'll find that they're more stable when applied.

--

The idea is extremely simple; we know that composition is determined by timesteps that are close to noise'' and composition is determined by deep parts of U-Net,'' so we just reduce the latents in that part. I have placed the differences realized by the sd-scripts generation script."

--

![F-3ZgB5bwAA72Aq](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/37972078/4023cb4d-dd53-4b2b-93e1-7fb7c38187da)

![F-3Zhr_aMAALUwn](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/37972078/73a82fd6-b248-40d4-8286-24bfc013c520)

![12](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/37972078/e4c6acae-e9dd-451a-b917-50ea975a4d14)


### Proposed workflow

1. Go to .... 
2. Press ....
3. ...


### Additional information

Extension even would be great if anyone reading this is savvy in that regard.
Repository: angular
Issue: Parent component accessing child components parameters
Labels: feature,area: router,feature: insufficient votes

### Which @angular/* package(s) are relevant/related to the feature request?

core, router

### Description

It's very difficult for the parent component to access parameters and queries params of its children. This can be summarized very well [here](https://stackoverflow.com/a/54740466/1938094).

It's confusing to me why the `activatedRoute.parent` and `activatedRoute.children` and `activateRoute.firstChild` are not observables.

Regardless, it would be nice if there was something like `paramsInheritanceStrategy` for the parent to access the child components.

Using the [collectRouteParams](https://github.com/atscott/angular/commit/2119dfe5089b1a20c01b031ab0eca85743e9b1e0#diff-d6e369b3564501d71a88c259725c2575a6a567df88a1fe5289a1a5713cc8de07R308) is not a good solution because that's built on `snapshot` which doesn't work if the child changes or children change.


### Proposed solution

Right now, the best solution is to use something like this, which isn't good for something that's needed so often:
```
const firstChildParams$ = this.router.events.pipe(filter(e => e instanceof NavigationEnd),
                                                  startWith(undefined),
                                                  switchMap(e => this.route.firstChild!.paramMap));
```
Also, this doesn't work for children or parents - you'll need to modify it.

### Alternatives considered

everything
Repository: next.js
Issue: Attempted import error: is not exported @legendapp/state
Labels: bug

### Link to the code that reproduces this issue

https://github.com/Tekutorukushi/nextjs

### To Reproduce

After updating to version NextJs 14.0.2, I get an error
@legendapp/state": "^2.1.2"

```
Attempted import error: 'observer' is not exported from '@legendapp/state/react' (imported as 'observer').

  1 | import {observer} from "@legendapp/state/react";
  2 |
> 3 | const Custom = observer(() => {
    |                        ^
  4 |     return (
  5 |         <div>
  6 |             custom components
 ⨯ components\Custom\index.jsx (3:24) @ eval
 ⨯ TypeError: (0 , _legendapp_state_react__WEBPACK_IMPORTED_MODULE_1__.observer) is not a function
    at eval (./components/Custom/index.jsx:10:80)
    at (rsc)/./components/Custom/index.jsx (\project\.next\server\app\page.js:205:1)
    at __webpack_require__ (\project\.next\server\webpack-runtime.js:33:42)
    at eval (./app/page.js:11:76)
    at (rsc)/./app/page.js (\project\.next\server\app\page.js:194:1)
    at Function.__webpack_require__ (\project\.next\server\webpack-runtime.js:33:42)
```

### Current vs. Expected behavior

Should be the same as in 14.0.1

Developer response:

>It seems to be caused by [vercel/next.js#57784](https://github.com/vercel/next.js/pull/57784) and some others are reporting the same issue. I'll investigate further, but for now I guess stay on 14.0.1?
>I guess it's not breaking for my tests because we use SSG and it's an SSR specific issue?

https://github.com/LegendApp/legend-state/issues/222

### 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 Home
Binaries:
  Node: 18.18.2
  npm: N/A
  Yarn: v1.22.19
  pnpm: N/A
Relevant Packages:
  next: 14.0.2
  eslint-config-next: 14.0.2
  react: 18.2.0
  react-dom: 18.2.0
  typescript: N/A
Next.js Config:
  output: N/A
```


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

Not sure, Package manager (npm, pnpm, Yarn)

### Additional context

I tested my reproduction against different canary releases, and the first one that introduced the bug was 14.0.2
Repository: ant-design
Issue: DatePicker当picker="week"时自定义format报错
Labels: Inactive,unconfirmed

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ji-ben-antd-5-11-1-forked-8zdzkd?file=/demo.js)

### Steps to reproduce

在DataPicker的周选择模式下使用自定义format如'YYYY-W'后，一旦发生选择就会报错：

![image](https://github.com/ant-design/ant-design/assets/49147660/ed4aae9c-8ab8-4f22-90c1-9ab8f0a96021)


### What is expected?

正常使用

### What is actually happening?

出现错误

| Environment | Info |
| --- | --- |
| antd | 5.11.1 |
| React | ^18.0.0 |
| System | win11 |
| Browser | Chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: angular
Issue: Broken Animation State when ViewRef is detached/re-inserted in ViewContainer
Labels: area: animations

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

animations

### Is this a regression?

No

### Description

When manually detaching a `ViewRef` from a `ViewContainerRef`, which contains a Component with angular animations, the animation state will change to `void`. When inserting the very same `ViewRef` again to the `ViewContainerRef`, the animation state will **not** change away from `void` and **no more `AnimationEvents`** will be emitted from this stage on.

---

With given template and Component class:

```html
<ng-template #mySlot />
<ng-template #theTpl >
   <app-some-component /> <!-- SomeComponent, which has some @animations inside -->
</ng-template>
```

```ts

class AppComponent implements AfterViewInit {

  @ViewChild('mySlot', { read: ViewContainerRef })
  private mySlot: ViewContainerRef
  
  @ViewChild('theTpl', { read: TemplateRef })
  private theTpl: TemplateRef<void>

  private vr: ViewRef | null

  ngAfterViewInit() {
    this.mySlot.createEmbeddedView(this.theTpl)
    // this.mySlot.createComponent(SomeComponent) // <-- wouldn't make any difference
  }

  removeVrFromVc() {
    this.vr = this.mySlot.detach()
  }
  insertVrIntoVc() {
    if (this.vr) {
      this.mySlot.insert(this.vr)
      this.vr = null
    }
  }

}
```

If we first call `removeVrFromVc` and later on (or instantly) we call `insertVrIntoVc`, the animation state is wrong/broken + no animation events will be emitted anymore.


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

https://stackblitz.com/edit/75z7lr?file=src%2Fapp%2Fapp.component.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: 17.0.0
Node: 18.18.0
Package Manager: yarn 1.22.19
OS: linux x64

Angular: 17.0.0
... animations, cli, common, compiler, compiler-cli, core
... platform-browser, platform-browser-dynamic, ssr

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.0
@angular-devkit/build-angular   17.0.0
@angular-devkit/core            17.0.0
@angular-devkit/schematics      17.0.0
@schematics/angular             17.0.0
rxjs                            7.4.0
typescript                      5.2.2
zone.js                         0.14.0
```


### Anything else?

When the animation state does change to `void` when it's removed from the view, it should also change back to it's previous state when attaching to the view. But in general I think neither should be emitted.
Repository: flutter
Issue: how to hook flutter pub get and meanwhile exec a script
Labels: tool,c: proposal,P3,team-tool,triaged-tool

### Is there an existing issue for this?

- [X] I have searched the [existing infra issues](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3Ateam-infra)

### Type of Request

bug

### Infrastructure Environment

LUCI, Github, Cocoon scheduler, Autosubmit, etc...

### What is happening?

how to hook flutter pub get and meanwhile exec a script

### Steps to reproduce

Step 1:
Step 2:
..
Step n:


### Expected results

I expect to see X when Y is finished.