sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: transformers
Issue: Time Series Transformer - Dynamic Categorical Features
Labels: Feature request

### Feature request

I would like to have a Dynamic Categorical Feature Embedding option in TimeSeriesTransformerConfig 

### Motivation

I didn't see any option in the TimeSeriesTransformerConfig where I could define an embedding of a Dynamic Categorical Feature. I'm working with sales data and holiday is an important element of sales, so all of my models handle the holidays with a dynamic embedding. Is it the case in Time Series Transformer too, and I'm just missing something?

### Your contribution

Happy to help, but would need some guidance on how it's handled currently.
Repository: go
Issue: x/tools/gopls: poor performance with very large packages in import graph
Labels: gopls

<!--
For asking questions, see:
- [Stack Overflow](https://stackoverflow.com/questions/tagged/go+visual-studio-code)
- [GitHub Discussions (Help)](https://github.com/golang/vscode-go/discussions/categories/help)
- [`#vscode` channel in Gophers Slack](https://invite.slack.golangbridge.org/messages/vscode)

Before filing an issue, please review our troubleshooting guides
* [Troubleshooting problems with debugging](https://github.com/golang/vscode-go/wiki/debugging#troubleshooting)
* [Troubleshooting other problems](https://github.com/golang/vscode-go/wiki/troubleshooting)

Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go, VS Code & VS Code Go extension are you using?
<details><summary>Version Information</summary><br>

* Run `go version` to get version of Go from _the VS Code integrated terminal_.
	- go version go1.18.10 linux/amd64
* Run `gopls -v version` to get version of Gopls from _the VS Code integrated terminal_.
	- golang.org/x/tools/gopls v0.12.3
    golang.org/x/tools/gopls@v0.12.3 h1:u0wCI9uvt7mnmri6bFBIaWw1XCN6PN8hKv55Zwd+GbE=

* Run `code -v` or `code-insiders -v` to get version of VS Code or VS Code Insiders.
	- 
* Check your installed extensions to get the version of the VS Code Go extension
	- v0.39.0
* Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > `Go: Locate Configured Go Tools` command.
	- go:	/usr/local/go1.18.10/bin/go: go version go1.18.10 linux/amd64

	gotests:	/usr/local/gopkgs/bin/gotests	(version: v1.6.0 built with go: go1.18.10)
	gomodifytags:	/usr/local/gopkgs/bin/gomodifytags	(version: v1.16.0 built with go: go1.18.10)
	impl:	/usr/local/gopkgs/bin/impl	(version: v1.1.0 built with go: go1.18.10)
	goplay:	/usr/local/gopkgs/bin/goplay	(version: v1.0.0 built with go: go1.18.10)
	dlv:	/usr/local/gopkgs/bin/dlv	(version: v1.20.2 built with go: go1.18.10)
	staticcheck:	/usr/local/gopkgs/bin/staticcheck	(version: v0.3.3 built with go: go1.18.10)
	gopls:	/usr/local/gopkgs/bin/gopls	(version: v0.12.3 built with go: go1.18.10)
</details>

### Share the Go related settings you have added/edited

Run `Preferences: Open Settings (JSON)` command to open your settings.json file.
Share all the settings with the `go.` or `["go"]` or `gopls` prefixes.

### Describe the bug
i manually installed gopls with version v0.11.0, but after some time(less than an hour), go extension will automatically update it to the latest version. I'm having issue with latest gopls(comsuming too much CPU and slow) so i need to stay with older version

### Steps to reproduce the behavior:
1. manually install gopls v0.11.0
2. connect vscode to server, work for a while
3. observer gopls is upgraded, in the "go output" of vscode, saw logs:
```Tools environment: GOPATH=/usr/local/gopkgs
Installing 1 tool at /usr/local/gopkgs/bin in module mode.
  gopls@0.12.3

Installing golang.org/x/tools/gopls@v0.12.3 (/usr/local/gopkgs/bin/gopls) SUCCEEDED
```

### Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
Repository: go
Issue: x/pkgsite: get the builders green
Labels: NeedsInvestigation,pkgsite

This issue is for getting the builders for x/pkgsite passing.
Repository: go
Issue: x/tools/gopls: offer test function snippets as completion candidates in test files
Labels: FeatureRequest,gopls,Tools

Suggestion by way of @pjweinb: when typing a new function declaration in a test file (`*_test.go`), we could offer completion items for untested exported functions in the non-test package.

For example, if package `p` defines function `Foo`, we could offer the completion suggestion `func TestFoo` when typing in `p_test.go`.

Extra credit: populate the completion snippet with a test body that sets up a table-driven test for the function in question.
Repository: vscode
Issue: Shell integration breaks prompt when using Fish shell with Tide prompt
Labels: bug,help wanted,terminal-shell-fish

- VS Code Version: 1.80.0 (Universal)
- OS Version: macOS 13.4.1 (22F82)

## Steps to Reproduce

1. Set [Fish](https://fishshell.com/) as the default shell for your system.
2. Install the [Tide](https://github.com/IlanCosman/tide) prompt.
3. Observe broken prompt and error messages when starting an integrated terminal:

  ```
  fish: Unknown command: '_tide_item_pwd git'
  ~/.config/fish/functions/_tide_1_line_prompt.fish (line 4): 
          _tide_item_$item
          ^~~~~~~~~~~~~~~^
  in function '_tide_1_line_prompt'
  in command substitution
  fish: Unknown command: '_tide_item_status cmd_duration context jobs'
  ~/.config/fish/functions/_tide_1_line_prompt.fish (line 11): 
          _tide_item_$item
          ^~~~~~~~~~~~~~~^
  in function '_tide_1_line_prompt'
  in command substitution
  ```

## Screenshots

- Shell integration disabled, Tide installed

  <img width="493" alt="Screenshot 2023-07-06 at 2 03 59 PM" src="https://github.com/microsoft/vscode/assets/6618434/70b48db4-849f-494a-b235-15ce957f3ec5">


- Shell integration enabled, Tide not installed

  <img width="504" alt="Screenshot 2023-07-06 at 2 04 59 PM" src="https://github.com/microsoft/vscode/assets/6618434/6d746776-b180-48d9-a563-623c0eb872ff">

- Shell integration enabled, Tide installed (prompt broken)

  <img width="525" alt="Screenshot 2023-07-06 at 2 04 13 PM" src="https://github.com/microsoft/vscode/assets/6618434/2e0b975e-c431-4730-aa82-63de563ae4b5">
Repository: go
Issue: x/vuln: add support for silencing vulnerability findings with govulncheck
Labels: NeedsFix,vulncheck or vulndb

This is a tracking issue to add support for silencing vulnerability findings with govulncheck.

#59507 is related.
Repository: go
Issue: proposal: slices: add Of function
Labels: Proposal

In #47709 it was proposed to add type inference for slice literals, e.g., `foo := []{"bar", "baz"}`. That proposal was declined in favour of creating an equivalent function in `slices`.

This issue proposes a `slices.Of(…)` method to do that, e.g.:
```
foo := slices.Of("bar", "baz")
```
… would be equivalent to:
```
foo := []string{"bar", "baz"}
```
The benefit is minimal in a trivial case like the above, but to create a slice of `*somepackage.NameThatIsRatherLong` it would be helpful.
Repository: next.js
Issue: Route Segment Config (force-dynamic) not respected for imported server action
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: #22 SMP Tue Jan 10 18:39:00 UTC 2023
    Binaries:
      Node: 16.17.0
      npm: 8.15.0
      Yarn: 1.22.19
      pnpm: 7.1.0
    Relevant Packages:
      next: 13.4.9-canary.3
      eslint-config-next: N/A
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 4.9.5
    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://codesandbox.io/p/sandbox/sharp-curie-py54cj

### To Reproduce

1. Add the route segment config `export const dynamic = "force-dynamic"` to a page (`page.tsx`)
2. Create a server action in a separate file, in which a fetch call is made. 
3. Import this action inside a component that lives inside (a component within) `page.tsx`.



### Describe the Bug

The fetch result inside the server action will be cached (cache: HIT in the terminal), although `force-dynamic` is set on the page level.

### Expected Behavior

I would expect the fetch inside the server action to also adhere to the `force-dynamic` param set on the page level. When using an SDK (Supabase or TRPC for example) inside the server action, we don't always have control over the underlying `fetch` call to set cache headers.  

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

_No response_

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

_No response_
Repository: flutter
Issue: Performance testing on FTL
Labels: a: tests,team,framework,engine,c: performance,P2,infra: metrics,team-engine,triaged-engine

We're currently someone limited on how many devices we can support in our physical devicelab.

FTL offers some more options than what we have.

It should work to do something like this:

- Run e.g. flutter_gallery e2e test on FTL.
- Fetch the timeline at the end, similar to how scenario_app does it:
  - See `writeTimelineData` and the methods that call it in `//testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios/TestActivity.java`.
  - See `//testing/scenario_app/lib/main.dart` for where the Dart-side implementation is for fetching the timeline.
  - See `//ci/firebase_testlab.py`'s `check_timeline` function for where the timeline is fetched from the GCS bucket.
  - We could then use the timeline summarizer to pull data from that and upload the data to Skia perf using metrics_center
  - See e.g. `//dev/devicelab/lib/command/upload_results.dart` in framework repo

@jonahwilliams fyi 

We would like this in particular right now to get some broader coverage for Impeller on Android, and to get performance metrics on devices that are more (or perhaps less) capable. For example, our current device lab devices either don't support Vulkan or are missing extensions we intend to use in the near term, and we want test coverage of code paths using Vulkan with particular extensions onphysical devices.
Repository: vscode
Issue: Track the "rejection" of inline completion suggestions
Labels: feature-request,inline-completions

Several useful changes have been added to the InlineCompletionProvider interface, noteably `handleItemDidShow()` and `handlePartialAccept()`. However, one noteable thing missing is the ability to track if a suggestion was rejected. In the original issue talking about this point, https://github.com/microsoft/vscode/issues/172384, there were two new proposed interface functions, `handleDidRejectCompletionItem()` and `handleDidAcceptCompletionItem()`, can these be added? 

Right now we are indirectly tracking rejections by keeping track of some state and using a combination of providing an acceptance command to `InlineCompletionItem and using node.js's `setTimeout(...)` and assuming that if a suggestion was not accepted after N seconds that it was rejected.
Repository: go
Issue: x/tools/gopls: rethink serverDispatcher.ExecuteCommand
Labels: gopls,Tools

In CL https://go-review.git.corp.google.com/c/tools/+/505875 I would have added this comment in the implementation of serverDispatcher.ExecuteCommand, but I can't because it's generated code.

	// TODO(adonovan): allow the caller to pass in the result
	// pointer so they can avoid an unnecessary JSON-to-any
	// decoding and re-encoding to JSON before finally decoding to
	// the correct Go struct type. (Also: the specific result
	// type depends on the implementation of ExecuteCommand:
	// (*Server).ExecuteCommand returns the specific Go type!
	// This is not a meaningful interface.)

This issue is a reminder to clean it up.
Repository: godot
Issue: Cannot Fullscreen Undocked Script Editor
Labels: bug,topic:editor

### Godot version

4.1 stable

### System information

Windows 10

### Issue description

Upon undocking the Script Editor and pressing the shortcut 'Shift + F11' to fullscreen it, it changes back to the normal Godot window where that goes fullscreen, but when I go back to the Script Editor it is still windowed.
If you to fullscreen the undocked Script Editor and another panel is opened in the normal Godot window, for example Project Settings or About Godot, trying to fullscreen does not do anything.

### Steps to reproduce

Press Shift + F11 in an undocked Script Editor

### Minimal reproduction project

_Not required to reproduce this bug_
Repository: pytorch
Issue: Error reporting uses formal parameter names of downstream C++ function
Labels: module: nn,triaged

### 🐛 Describe the bug

When calling sdpa, I get the error message `RuntimeError: The size of tensor a (256) must match the size of tensor b (2) at non-singleton dimension 2` -- there are no parameters a and b in sdpa.  Likely it's the formal parameter names of a function called from inside sdpa, which does not relate to the visible Python call stack.  (Partial stack backtrace below.) 

Can we / Should we check parameters inside sdpa and use proper sdpa formal parameter names?  I think this behavior has shown for other functions, although getting the order of tensor dimensions right when updating arbitrary transformer code feels an order of magnitude harder.  No concern about having to do that per se, but it would be nice to have errors expressed in terms of sdpa to help debug.

```
  File "/data/users/mikekg/fbsource/buck-out/v2/gen/fbcode/46d412658cf1d160/careml/nlp/toolkit/__tests__/tests#link-tree/pytorch/text/fb/nn/modules/transformer.py", line 69, in forward
    attention = self.attention(input, key_padding_mask)
  File "/data/users/mikekg/fbsource/buck-out/v2/gen/fbcode/46d412658cf1d160/careml/nlp/toolkit/__tests__/tests#link-tree/torch/nn/modules/module.py", line 1505, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/data/users/mikekg/fbsource/buck-out/v2/gen/fbcode/46d412658cf1d160/careml/nlp/toolkit/__tests__/tests#link-tree/torch/nn/modules/module.py", line 1514, in _call_impl
    return forward_call(*args, **kwargs)
  File "/data/users/mikekg/fbsource/buck-out/v2/gen/fbcode/46d412658cf1d160/careml/nlp/toolkit/__tests__/tests#link-tree/pytorch/text/fb/nn/modules/multihead_attention.py", line 320, in forward
    attn = F.scaled_dot_product_attention(q, k, v, key_padding_mask, self.dropout_p, False);
RuntimeError: The size of tensor a (256) must match the size of tensor b (2) at non-singleton dimension 2
```

### Versions

fbcode trunk

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: axios
Issue: Updating from 0.27 to 1.0 causes JavaScript critical error
Labels: priority::high

### Describe the bug

I'm trying to update my projects Axios and now I get an error when moving from to version ^1.0

### To Reproduce

I have a JS file like so that works < version 1.

Source this file and then build project in WebPack and try w/ different versions.
```
const API = {}

const axios = require("axios")
const Buffer = require('buffer').Buffer;

API.API_Options_Obj_Default = {
    //https://github.com/axios/axios#request-config
    "url": null,
    "method": null,
    "params": null,
    "data": null, //Body
    "withCredentials": true,
    "headers": {
        "Accept": '*/*',
    },
}

API.Do_XMLHttpRequest = async function Do_XMLHttpRequest(Options_Obj) {
    var api_dev_mode = true
    Options_Obj['url'] = await API.Do_Check_HTTPS_URL(Options_Obj['url'])
    if (api_dev_mode == true) {
        console.log(' ')
        console.log('New Request API_Options_Obj:')
        console.log(Options_Obj)
    }
    const response = await axios(Options_Obj)
    if (api_dev_mode == true) {
        console.log('response:')
        console.log(response)
        console.log(' ')
    }
    return response;
}

API.Do_Check_HTTPS_URL = async function Do_Check_HTTPS_URL(URL_Str) {
    if (HTTPS_Mode == true) {
        var new_url = URL_Str.replace("http://webview/", WebView_URL)
        return new_url
    } else {
        return URL_Str
    }
}

//Server_Side NodeJS
module.exports = {
    API,
};

//Client_Side
function getGlobal() {
    return typeof self !== "undefined"
        ? self
        : typeof window !== "undefined"
            ? window
            : typeof global !== "undefined"
                ? global
                : undefined;
}
var g = getGlobal();

//Objs
g.API = API
//g.axios = axios;
//g.Buffer = Buffer;
```



### Code snippet

_No response_

### Expected behavior

_No response_

### Axios Version

^1

### Adapter Version

_No response_

### Browser

_No response_

### Browser Version

_No response_

### Node.js Version

_No response_

### OS

_No response_

### Additional Library Versions

_No response_

### Additional context/Screenshots

```bash
Can't upload screenshot in new "issue form"
```

![Axios Error](https://github.com/axios/axios/assets/16218200/34edccae-af9f-4352-b180-c3ae9f472314)
Repository: rust
Issue: ICE: "unsorted CGUs"
Labels: I-ICE,T-compiler,O-windows-msvc,C-bug

I slightly changed how CGUs are named in #112946 and the fuchsia developers reported an ICE on their Windows CI builds. I created #113402 to give a more informative error message.

@ComputerDruid responded with an updated crash [here](https://github.com/rust-lang/rust/pull/112946#issuecomment-1624237973). I'm now moving this problem into its own issue.
Repository: vscode
Issue: Restart TS Server when tsconfig is changed in a monorepo
Labels: feature-request,typescript

<!-- ⚠️⚠️ 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. -->

I'm looking for this functionality to be built in: https://marketplace.visualstudio.com/items?itemName=neotan.vscode-auto-restart-typescript-eslint-servers

My use case is difficult to describe so I recorded a loom: https://www.loom.com/share/53cf1148a0f54902a77a538f9de683d6

Here's a summary of the loom:

> Hey there! In this Loom, I discuss a peculiar use case that I encounter during my workshops. Each step in the workshop is a separate app nested within the entire repository. However, we face a challenge with multiple copies of the same app with slight changes, making it difficult to navigate and find specific files. To overcome this, I found a solution of opening another instance of VS code in the playground, which allows for easy file search and navigation. But, there's a catch! When I copy files into the playground, it overrides existing files, causing the TS server to become unhappy. I'm seeking suggestions to avoid this annoyance and improve the overall workshop experience. Any ideas? Let's dive in!

Here's the workshop repo: https://github.com/epicweb-dev/full-stack-foundations

Here's the repo responsible for the app we're using: https://github.com/epicweb-dev/kcdshop

Let me know if you have any other questions.
Repository: godot
Issue: Swapping body's active shape will leave Area2D
Labels: bug,topic:physics,topic:2d

### Godot version

4.1

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

### Issue description

I have a PhysicsBody2D (any subtype) with 2 colliders. One collider is enabled, the other is disabled.
I swap enabled collider:
```GDScript
if swapped:
	%Collider2.disabled = true
	%Collider1.disabled = false
else:
	%Collider2.disabled = false
	%Collider1.disabled = true
swapped = not swapped
```
The body will exit overlapping area and never re-enter it.

### Steps to reproduce

See above and below.

### Minimal reproduction project


[Physecs.tscn.txt](https://github.com/godotengine/godot/files/11973132/Physecs.tscn.txt)

Press any key to swap colliders.
Repository: next.js
Issue: Uncaught DOMException: Failed to execute 'querySelectorAll' on 'Element'
Labels: bug,Image (next/image),Lazy Loading,Pages Router

### Verify canary release

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

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000
    Binaries:
      Node: 18.16.1
      npm: 9.5.1
      Yarn: 3.5.0
      pnpm: 7.27.0
    Relevant Packages:
      next: 13.4.8
      eslint-config-next: 13.3.0
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.0.2
    Next.js Config:
      output: N/A
```


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

Data fetching (gS(S)P, getInitialProps), Dynamic imports (next/dynamic), Image optimization (next/image, next/legacy/image), SWC transpilation, Turbopack (--turbo)

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

https://gist.github.com/mkotsollaris/465bc28659c175c4aab10aeec984f739

### To Reproduce

It happens sporadically, HMR enters into a certain loop that can't get out of, and this error is running again and again during `next dev`. This is my next.config.js:

```js
const { AWS_ACCOUNT = 'development', GIT_BRANCH = 'master', CDN_PREFIX, NEXT_PUBLIC_ASSET_CDN_PREFIX } = process.env;
const assetPrefix = CDN_PREFIX || NEXT_PUBLIC_ASSET_CDN_PREFIX;

module.exports = {
  async headers() {
    return [
      {
        source: '/(.*)',
        headers: [
          {
            key: 'Strict-Transport-Security',
            value: 'max-age=63072000; includeSubDomains; preload',
          },
        ],
      },
    ];
  },
  swcMinify: true,
  experimental: {
    scrollRestoration: true,
  },
  reactStrictMode: true,
  images: {
    loader: 'custom',
  },
  publicRuntimeConfig: {
    awsAccount: AWS_ACCOUNT,
    appVersion: `${GIT_BRANCH}`,
    isDev: AWS_ACCOUNT === 'development',
    assetPrefix,
  },
  exportPathMap: () => ({}),
  assetPrefix,
};
```

Apologies, I don't have OSS code to share.

### Describe the Bug

When running `next dev`, I occasionally enter a state where HMR keeps reloading and outputting ` DOMException: Failed to execute 'querySelectorAll' on 'Element':` error. Once it enters that state, even a hard refresh won't be able to resolve it. Even when opening the window from a new browser (incognito etc.) I can see this error. 

After the error shows up, I am unable to get out of the loop. I have to restart the server, and sometimes I have to do a fresh `yarn install` until it appears again.

### Expected Behavior

I should be able to run `next dev` and HMR should be functioning without entering in a erroneous loop.

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

Version 114.0.5735.198 (Official Build) (arm64)

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

next dev
Repository: godot
Issue: SCREEN_TEXTURE missing when shader read DEPTH_TEXTURE
Labels: needs testing,topic:shaders

### Godot version

3.5 stable

### System information

windows 10

### Issue description

When gles2 shader has a DEPTH_TEXTURE code(what ever it runs or not), the SCREEN_TEXTURE not work.
Like code below:
```
shader_type spatial;

uniform bool read_depth = false;

void fragment() {
	vec4 c = texture(SCREEN_TEXTURE, SCREEN_UV);
	ALBEDO = c.rgb;
	if (read_depth) {
		vec4 depth = texture(DEPTH_TEXTURE, SCREEN_UV);//you must comment this line even it not run at all.
	}
}
```

### Steps to reproduce

Write a DEPTH_TEXTURE in shader and read SCREEN_TEXTURE in gles2.

### Minimal reproduction project

[GLES2DepthTexture.zip](https://github.com/godotengine/godot/files/11973288/GLES2DepthTexture.zip)