sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Mouse without Borders | secondary System Display Positioning
Labels: Needs-Triage

### Description of the new feature / enhancement

The UI for positioning machines, within the Mouse without Borders menu, allows for a 1x4 or 2x2 grid. This is fine for using a tablet with a laptop, and other standard layouts. For setups with multiple displays on main or secondary machines, the manner in which the mouse wrap functionality works can be awkward. Allowing the display(s) of the secondary machine(s) to be given a position relative to the display(s) of the master machine, would allow more intuitive mouse wrapping to be used. 

### Scenario when this would be used?

As an example, at home I dock my Surface Laptop Studio (SLS) and have 2 monitors (M1 & M2) that I am using with my Surface dock 2 to push signal to. In addition to the displays associated with the main machine, I also frequently use my Surface Pro X (SPX) tablet; the layout of my displays are as follows:

          | M1  | M2 |
    | SPX | SLS |

With the Mouse without Borders set to have the SLS & SPX next to one another, the SPX can only be moved to via the wrap functionality by moving to the left or right off of the external displays M1 or M2 respectively.

With the Mouse without Borders set to have the SLS & SPX above and below one another, the SPX can be moved to by moving to the top of either external display (M1 or M2); moving to the bottom of the SLS display will wrap to the SPX but the tablet CANNOT be accessed by moving to the bottom of the M2 external monitor.

Allowing the display(s) of the slave machine to be positioned in the same manner used by the native display settings, more intuitive wrap functionality would allow users to more easily utilize the Mouse without Borders component.

### Supporting information

_No response_
Repository: next.js
Issue: Rewrites not working correctly with i18n config
Labels: bug

### 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: #166-Ubuntu SMP Tue Apr 18 16:51:45 UTC 2023
    Binaries:
      Node: 18.16.0
      npm: 9.5.1
      Yarn: 1.22.10
      pnpm: 8.6.0
    Relevant packages:
      next: 13.2.5-canary.17
      eslint-config-next: 13.2.5-canary.17
      react: 18.2.0
      react-dom: 18.2.0
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

Internationalization (i18n)

### Link to the code that reproduces this issue or a replay of the bug

https://github.com/przemekga/rewrites-18n-bug-reproduction

### To Reproduce

1. Create new page in /pages.
2. Add i18n config with domain containing at least 2 locales
```  
i18n: {
    defaultLocale: "en",
    locales: ["en", "de"],
    localeDetection: false,
    domains: [
      {
        defaultLocale: "catchAll",
        domain: "localhost",
        http: true,
        locales: ["en", "de"],
      },
    ],
}
```
3. Add rewrites that will point localized urls to newly added page
```
  async rewrites() {
    return [
      { source: "/de/de-test", destination: "/test", locale: false },
      { source: "/en/test", destination: "/test", locale: false },
    ];
  },
```
4. Go to [http://localhost:3000/de/de-test](http://localhost:3000/de/de-test)
5. 404

### Describe the Bug

Before this commit in v13.2.5-canary.17 https://github.com/vercel/next.js/commit/b8d785d2865ae5c6d771f7228e72d940904fe975 config like one in reproduction would result in localized urls in rewrites to point to correct page with correct locale then passed to getStaticProps/getServerSideProps context. After this commit rewrite with `source: "/de/de-test"` results in 404, changing rewrite source url part after locale to the same as page name in /pages ie. `source: "/de/test"` results in working rewrite.

### Expected Behavior

i18n config and rewrites as in reproduction repo should result with url "/de/de-test" pointing to "/test" in `/pages` with locale passed to getStaticProps/getServerSideProps context as in versions before v13.2.5-canary.17

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: create-react-app
Issue: Invalid flags supplied to RegExp constructor 'ug'
Labels: needs triage

I have the following configuration for `browserslist` in `package.json` :
```
  "browserslist": {
    "production": [
      "chrome > 38"
    ],
    "development": "last 1 version"
  },
```

However, incompatible syntax still exists in the compilations：
![image](https://github.com/facebook/create-react-app/assets/46348324/a7e556a6-0b48-4994-a9b4-3b14b68dba54)

I imported 'core-js' (3.30.2) into the entry file, and tried to override the configuration of cra through `craco' and rerun the build: 
```
  babel: {
    presets: [
      [
        "@babel/preset-env",
        {
          targets: {
            chrome: "38",
          },
          useBuiltIns: "usage",
          forceAllTransforms: true,
        },
      ],
    ],

    plugins: [
        [
          "@babel/plugin-transform-unicode-property-regex",
          { useUnicodeFlag: false },
        ],
      ],
  },
```

But the same mistakes still appear, why is this?what should I do?
Repository: PowerToys
Issue: Search: let people explicit force entries into search
Labels: Product-PowerToys Run,Product-Tweak UI Design

### Description of the new feature / enhancement

I have the [Processing](https://processing.org) IDE "installed" which really just means it lives in a dir in `Program Files`, but neither windows nor powertoys' search see it. It would be _incredibly_ useful if there was some sort of "right click on search bar, pick "browser", pick a file, and now that file has been explicitly added to the powertoys search".

The fact that there is no way to force-index specific individual files is just maddeningly frustrating, it would be great if that could be addressed. Because Windows's search index mechanism sure isn't going to change any time soon, but powertoys can be improved pretty much immediatley.

### Scenario when this would be used?

See description

### Supporting information

We all know search is not perfect. Let's at least allow a human to go "you're missing something. Here, add this".
Repository: go
Issue: math/big: nil *Int appears to not roundtrip with MarshalText and UnmarshalText
Labels: NeedsInvestigation

https://go.dev/play/p/uV8Vr7trqBv

https://pkg.go.dev/encoding#TextUnmarshaler says:

> UnmarshalText must be able to decode the form generated by MarshalText.

`MarshalText` clearly supports a nil `*big.Int` value, marshaling it as `<nil>`, but `UnmarshalText` rejects it. I think this goes against the `TextUnmarshaler` docs.

I'm not arguing that marshaling and unmarshaling a nil big int makes any sense, for what it's worth. Just that I always assumed, like the docs say, that roundtripping a value via marshal and then unmarshal was a safe thing to do. If marshaling allows for a nil pointer, unmarshal should support it too - although I'm not sure what it could possibly do, given that it can't set a `*big.Int` receiver to nil. Perhaps set it to its zero value?

Note that `MarshalJSON` and `UnmarshalJSON` don't have this problem. They both support `null`, and the unmarshal is simply a no-op. Presumably we could do the same in `UnmarshalText`.
Repository: godot
Issue: GodotObject.Call is not provides `GetAwaiter`, it is not possible to call an async method
Labels: bug,topic:dotnet

### Godot version

GodotCSharp v4.0.3

### System information

- OS: All
- GodotSharp v4.0.3

```
  <ItemGroup>
    <PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.2.0" />
    <!-- Do onyl include this line for local builds, need to be exclude on release -->
    <PackageReference Include="GodotSharp" Version="4.0.3"/>
  </ItemGroup>
``` 

### Issue description

I want to call an "external" method and I have no idea if the method is implemented async or not.
The method i call is a test writen by a third developer and can be contain some await ... calls

on GdScript i can call `await callable.call()` and it works fine.
but on C# `await Instance.Call(MethodName, Args);` ends up in a compile error
`"Variant" does not contain a definition for "GetAwaiter", and no accessible GetAwaiter extension method could be found`

With GodotSharp 3.xx it was posible to check the return type is GDScriptFunctionState to do await or not
```
  var current = Instance.Call(MethodName, Args);
  if (current is GDScriptFunctionState)
  {
      object[] result = await Instance.ToSignal(current as GDScriptFunctionState, "completed");
     current = result[0];
  }
```



### Steps to reproduce

try this snippet of code

```

    class TestClass : Godot.Node {

        public async void Foo() {
            await ToSignal(GetTree(), "process_frame");
        }
        
        public void Bar() {
        }
    }

    public async void callAndWait() {
        var Instance = new TestClass();
        string MethodName = "Foo";

        await new Callable(Instance, MethodName).Call();
    }

```

### Minimal reproduction project

N/A
Repository: transformers
Issue: Add LaVIN model
Labels: New model

### Model description

 LaVIN is a vision-language instructed model that is affordable to train (it was trained in a few hours on 8 A100 GPUs) with good performance on ScienceQA.

I'd like to add LaVIN to HF transformers.

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

The paper [Cheap and Quick: Efficient Vision-Language Instruction Tuning for Large Language Models](https://arxiv.org/pdf/2305.15023.pdf) is by [Gen Luo](https://luogen1996.github.io/),  [Yiyi Zhou](https://github.com/huggingface/transformers/issues/new?assignees=&labels=New+model&projects=&template=new-model-addition.yml),  [Tianhe Ren](https://rentainhe.github.io/),  [Shengxin Chen](https://github.com/huggingface/transformers/issues/new?assignees=&labels=New+model&projects=&template=new-model-addition.yml),  [Xiaoshuai Sun](https://sites.google.com/view/xssun),  and [Rongrong Ji](https://mac.xmu.edu.cn/rrji/)

@luogen1996 has made the code and model weights available at [github.com/luogen1996/LaVIN](https://github.com/luogen1996/LaVIN).

The weights for the following models are available at the following links:

### ScienceQA
| Model     |  Weights    |      Time | Memory | #Params |  Acc |          Weights | 
|-----------|----------:|----------:|-------:|--------:|-----:|-----------------:|
| LaVIN-7B  | LLaMA | 1.4 hours |  33.9G |    3.8M | 89.37 | [google drive](https://drive.google.com/file/d/10X2qCBYrLH1grZOHwHRMXLUoz-S6MSgV/view?usp=share_link) |
| LaVIN-7B  | Vicuna | 1.4 hours |  33.9G |    3.8M | 89.41 | [google drive](https://drive.google.com/file/d/1nuMxeiWlnJKxDybCshg8pVGSvLc5dZy8/view?usp=share_link) |
| LaVIN-13B | LLaMA |   2 hours |  55.9G |    5.4M | 90.54 | [google drive](https://drive.google.com/file/d/1LkKUY54spZkkeXrR7BDmU-xmK9YadcKM/view?usp=share_link) |

### Multimodal ChatBot
| Model     |Weights    |      Time | Memory | #Params | Acc |          Weights | 
|-----------|----------:|---------:|-------:|--------:|----:|-----------------:|
| LaVIN-13B | LLaMA | 75 hours |  55.9G |    5.4M |   - | [google drive](https://drive.google.com/file/d/1rHQNSaiGzFHYGgsamtySPYnd5AW4OE9j/view?usp=share_link)|
Repository: tensorflow
Issue: The work of re-implement checkpoint saving(c1e6672f3141015371968b9fb371a5b40abee837) ruined custom saving and restoring op！
Labels: stat:awaiting tensorflower,type:feature,comp:apis

### Issue Type

Feature Request

### Have you reproduced the bug with TF nightly?

Yes

### Source

source

### Tensorflow Version

tf 2.12

### Custom Code

Yes

### Python version

Python 3.8/3.9

### Current Behaviour?

For many TensorFlow developers, it is common to customize project-specific variables. To make a particular Variable compatible with the TensorFlow API, it is common to set some private member within its SaveableObject. Also  we need to override the _SingleDeviceSaver saving and restore function for adding custom ops chain into graph. 


For examples: https://github.com/tensorflow/recommenders-addons/blob/master/tensorflow_recommenders_addons/dynamic_embedding/python/ops/tf_save_restore_patch.py


Now commit c1e6672f3141015371968b9fb371a5b40abee837 have ruined them all.

### Standalone code to reproduce the issue

https://github.com/tensorflow/recommenders-addons

run CI failed in TF 2.12.
Repository: go
Issue: internal/fuzz: enable fuzz testing on OpenBSD 
Labels: OS-OpenBSD,NeedsFix,FeatureRequest,FixPending

On current version of OpenBSD you cannot run fuzz tests:

<pre>
$ go test -fuzz .
-fuzz flag is not supported on openbsd/amd64
</pre>

It looks like artificial restriction (comment by @dr2chase in https://github.com/golang/go/issues/46554#issuecomment-854930140):

> I don't think it was tested across all the other OSes (yet), so "supported" might be too strong a word just yet.  Good to know that it works, though.

After extending `platform.FuzzSupported(goos, goarch string)` and build tags inside `src/internal/fuzz/` directory, I can run `all.bash` with success and use newly built executable to run fuzz tests.

I've read contribution rules, but I'm not sure what should I do next. Is it enough to create pull request with this change?

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.20.1 openbsd/amd64
</pre>

### Does this issue reproduce with the latest release?

I suppose
Repository: rust
Issue: rustdoc documents items inside expressions when ran on binary crates
Labels: T-rustdoc,C-bug

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried running `cargo doc`  on this binary crate:

```rust
const A: u8 = {const B: u8 = 0; B};
fn main() {}
```

I expected to see this happen: only the `A` constant and `main` functions are documented

Instead, this happened: All of `A`, `B`, and `main` are documented:
![image](https://github.com/rust-lang/rust/assets/18036327/1ad107e8-58cf-44e7-886f-26adad4518a1)

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.69.0 (84c898d65 2023-04-16)
binary: rustc
commit-hash: 84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc
commit-date: 2023-04-16
host: x86_64-unknown-linux-gnu
release: 1.69.0
LLVM version: 15.0.7

```
Repository: TypeScript
Issue: TS2401 does not work with `"target": "ESNext"`
Labels: Bug,Help Wanted

# Bug Report

### 🔎 Search Terms

TS2401 ESNext return super

### 🕗 Version & Regression Information

- This is the behavior in every version I tried (~4.9, ~5.0, ~5.1) (TS2401 seems to appear in 4.9)

### ⏯ Playground Link

[Stackblitz link with relevant code](https://stackblitz.com/edit/typescript-wnyc9r?file=index.ts&view=editor) (does not appear in Playground, appears in VSCode & Stackblitz )
Comment out `"target": "ESNext"` in `tsconfig.json` and the error will appear

### 💻 Code

```ts
class MyArray extends Array {
  constructor(public foo?: any) {
    return !foo ? [] : (super() as any);
    //                  ^^^^^^^
    // no error with `"target": "ESNext"`, otherwise:
    // A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers.(2401)
  }
}
new MyArray();
```

### 🙁 Actual behavior

No error when `"target": "ESNext"`
The compiled code causes runtime error `Must call super constructor in derived class before accessing 'this' or returning from derived constructor`

### 🙂 Expected behavior

TS2401 when `"target": "ESNext"`
OR
runtime works fine, producing
```ts
class MyArray extends Array {
    foo;
    constructor(foo){
        var _temp;
        return !foo ? [] : (_temp = super(), this.foo = foo, _temp);
    }
}
new MyArray();
```
same as SWC does

### Side note
SWC compiler can compile this just fine (as `(_temp = super(), this.foo = foo, _temp)`),
so this code has runtime errors only when compiled with `tsc`.
Repository: vscode
Issue: Git - delete remote branches
Labels: feature-request,git

<!-- ⚠️⚠️ 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. -->
It would be good if VSCode would provide a way to delete remote branches, e.g. after a merge, or in general when a local branch is deleted.

I used JetBrains WebStorm for a long time and there this was solved quite well, whenever I merged a local branch, I got a small popup asking me if I also want to delete the origin branch.

I think such a feature would also be very good for VSCode, since it is quite tedious in the long run to always clean up the branches in GitHub or AzureDevOps.
Repository: opencv
Issue: Request: alpha image controlled two-image composite
Labels: feature

### Describe the feature and motivation

Compositing using a weighted mask to control the blend between two images (of possibly different size) is a common task in image processing.

```
Specify the two images to blend (larger background and smaller to be blend inserted)

Crop the larger image to the size of the smaller

Blend (doing float processing) the two using a mask image the size of the smaller according to:

weight is a simple constant between 0 and 1.
composite = weight*mask/255 * smaller_image + (1-weight*mask/255) * crop_of_larger_image

Then insert the composite into a copy of the larger image as the result.

```
See for example https://stackoverflow.com/questions/76358834/png-transparency-with-opencv-in-python/76360541#76360541


### Additional context

_No response_
Repository: storybook
Issue: [Bug]: (0 , _stencil_core__WEBPACK_IMPORTED_MODULE_0__.Component) is not a function
Labels: bug,help wanted,web-components,builder-webpack5,windows,stencil

### Describe the bug

I am getting an error message when clicking on a story in storybook. From all indications this import of Component from @stencil-core is valid. Please see the screen shot.
![stencil_core-Component-is-not-a-function](https://github.com/storybookjs/storybook/assets/2919897/ac2596fd-976a-488f-aded-8b934be0202d)


### To Reproduce

The company I work for does not allow sharing of their applications. But, I will share as much of the relevant code as what is possible to solve the problem. 

![stencil config](https://github.com/storybookjs/storybook/assets/2919897/6c0618c8-28a4-4cbd-b3f6-94cab49c5ae6)

![preview](https://github.com/storybookjs/storybook/assets/2919897/02f0ce99-6c14-410a-b991-4ed2bdb24e7c)

![custom-elements-json](https://github.com/storybookjs/storybook/assets/2919897/013a6c7d-0047-41f8-885e-c2f5cea7cd06)


### System

```shell
Environment Info:

  System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1255U
  Binaries:
    Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.6.6 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1702.0), Chromium (113.0.1774.57)
```


### Additional context

_No response_
Repository: flutter
Issue: Option to disable reordering for specific items
Labels: c: new feature,framework,f: material design,f: scrolling,c: proposal,P3,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

 My specific use case is to create a photo upload screen that allows a user to upload a set number of images, building up a grid as they add photos. I would like the last item in the grid to be a "+" button used for adding the next image, but i do not want them to be able to reorder this item.
 
 Another case is having a todo list: ReorderableListView where the last item would be "COMPLETED" todoes which should not be draggable. 
 
 There are some workaround, so no other item can reorder that one but basically none that I know of is able to get rid of this reordering effect:
 
 

https://github.com/flutter/flutter/assets/25743901/41126664-243c-410e-8706-e764e949239d



### Proposal

Add an option: `enableReoreding' so it'd be another option that'd go next to the `key` parameter.
Repository: go
Issue: x/tools/gopls: decide on a default value for "symbolScope"
Labels: NeedsDecision,gopls,Tools,gopls/telemetry,gopls/survey-candidate

Following up on #37236, we need to decide on the default value for the new [`symbolScope`](https://github.com/golang/tools/blob/master/gopls/doc/settings.md#symbolscope-enum) setting.

I personally like seeing symbols from dependencies (as in the `"all"` scope). Others have expressed frustration with this behavior, and only want to see results for modules contained in the workspace (as in the `"workspace"`) scope.

We should choose the default that more users prefer.
Repository: three.js
Issue: Transparent model does not render on some machines
Labels: Needs Investigation

### Description

I have a GLB of some transparent cloud shapes. On some computers (Intel macbook), they render fine:

![Screen Shot 2023-05-29 at 1 25 11 PM](https://github.com/mrdoob/three.js/assets/704368/863639d8-5ed1-42cc-9855-ed8ef8a731ed)

On other devices (Macbook w/ M2 chip, debian laptop, 10th gen ipad), they do not seem to render at all:

<img width="1511" alt="Screenshot 2023-05-30 at 1 52 50 AM" src="https://github.com/mrdoob/three.js/assets/704368/4f59444b-e92c-4d1b-8250-ba406210e6a1">


### Reproduction steps

1. Download the GLB https://nac-prod.sfo2.cdn.digitaloceanspaces.com/1607/clouds-l_nvBBMv.glb
2. Plop it into mccurdy's wonderful viewer: https://gltf-viewer.donmccurdy.com/


### Code

N/A

### Live example

See steps above

### Screenshots

_No response_

### Version

r151

### Device

Desktop, Mobile

### Browser

Chrome, Safari

### OS

MacOS, Linux, iOS
Repository: godot
Issue: [MacOS] Godot Loses Focus 
Labels: bug,platform:macos,topic:porting,needs testing

### Godot version

4.0.3

### System information

MacOS 13.3.1
Godot 4.0.3
Metal 3
Forward+
Apple M1

### Issue description

When exiting the debug gameplay window Godot loses focus to Finder. If any Finder windows are open they will come above Godot, if no Finder windows are open Finder will still be focused forcing having to click on Godot. _I do not have this issue on a M2 Macbook Air._  Edit: This is happening on my M2 Mac now.

### Steps to reproduce

Not sure how to reproduce...it just happens.

https://github.com/godotengine/godot/assets/4334870/5e418a76-27bb-442c-beff-15983179df72



### Minimal reproduction project

Any project in Godot.