sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: tensorflow
Issue: Add support for fftfreq() and rfftfreq() helper functions in tf.signal()
Labels: stat:awaiting tensorflower,type:feature,comp:ops,TF 2.12

### System information

-   **Have I written custom code (as opposed to using a stock example script
    provided in TensorFlow)**:No
-   **TensorFlow version (use command below)**: 2.12.0
-   **Python version**: 3.10.* 

### Describe the feature and the current behavior/state.
The current version of TensorFlow's tf.signal module provides extensive support for various Fourier Transform functions such as fft() and rfft(). However, it does not include helper functions like fftfreq() and rfftfreq() available in other libraries, such as NumPy and PyTorch. These functions are used to compute the discrete Fourier Transform sample frequencies for a signal of a given size, which is a common requirement in many signal-processing tasks.

Currently, to achieve similar functionality, users have to define custom functions or import existing functions from other libraries, such as SciPy. This process requires converting TensorFlow tensors to and from the other library's format, which may not always be efficient or convenient.

### Who will benefit from this feature?
Users who are working on signal processing tasks using TensorFlow will benefit from this feature as they won't have to switch to other libraries (like NumPy or PyTorch) to compute the Fourier Transform frequencies. This will make their code more consistent and potentially more efficient.

### Additional Info.
Adding these functions will make the tf.signal module more complete and competitive with other libraries' offerings in terms of signal processing capabilities. It'll also make TensorFlow more user-friendly for those who are accustomed to these functions in other libraries.
Repository: godot
Issue: Canvaslayers with the same layer don't follow the order on the tree because of the position of a node
Labels: bug,topic:rendering,topic:2d

### Godot version

4.2.dev4

### System information

Windows 10.0.19045 - Vulkan (Mobile) - integrated AMD Radeon(TM) Vega 8 Graphics (Advanced Micro Devices, Inc.; 30.0.13023.4001) - AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx (8 Threads)

### Issue description

![Godot_v4 2-dev4_win64_psfelU1dZ5](https://github.com/godotengine/godot/assets/45038185/a3efe6e0-6bcf-4fa4-b17e-b91828e482e3)

This issue also affects the rendering results at runtime.
Related to https://github.com/godotengine/godot/issues/25384?
### Steps to reproduce

Download Minimal reproduction project.
Change the position of node `N` and observe the rendering result(Like in the gif animation above).

### Minimal reproduction project

[CanvasLayerBug.zip](https://github.com/godotengine/godot/files/12505200/CanvasLayerBug.zip)
Repository: PowerToys
Issue: Crop and Lock Reparent addition
Labels: Idea-Enhancement,Needs-Triage,Product-CropAndLock

### Description of the new feature / enhancement

An additional toggle for Crop and Lock to keep the original window, similar to OnTopReplica (LorenzCK).

As an example:  
Chrome window open on right monitor, choose to Reparent the Address Bar.  Toggle/separate hotkey for reparenting creates the reparented window and Chrome is still visible and interactable in its original location.  
Just like using Thumbnail, but interactable.  

Bonus if we can get multiple Reparents of the same window.

### Scenario when this would be used?

There are numerous scenarios in games where this feature is incredibly useful already, but the addition of having multiple windows or the original window still usable is even better.  

As a more specific example, in the game Eve Online we often use extra game accounts running their own client for intel gathering in real time, such as watching a wormhole to see if it wobbles, indicating a player has used it.  Sometimes this client we use to watch is also something that has mechanics to stop players from getting away once they use the wormhole.  Reaction times can be very important.  
By having the ability to Reparent and keep the original window, I can interact with the Reparent for the high speed reaction necessary to stop someone, and then switch over to the full client to continue the interaction.

### Supporting information

I am not sure if it is okay to link to other projects, but there is similar functionality to Crop and Lock in OnTopReplica by LorenzCK, on Github.  
You can do the equivalent of the above already, but the project doesn't seem to be maintained and has several bugs with usability.  You can do the equivalent of multiple Reparents of one window by opening multiple instances of OnTopReplica.
Repository: PowerToys
Issue: rename tool, select file order by, create time or update time or file size
Labels: Idea-Enhancement,Product-PowerRename,Needs-Triage

### Description of the new feature / enhancement

rename tool, select file order by, create time or update time or file size

### Scenario when this would be used?

rename tool, select file order by, create time or update time or file size

### Supporting information

_No response_
Repository: pytorch
Issue: Suppport Fused AdamW on CPU
Labels: module: performance,feature,module: optimizer,triaged,needs research

### 🚀 The feature, motivation and pitch

I would like to benefit from the speed advantages of fused-adamw while doing CPU only training, but this is not supported. It currently throws an error indicating that it only works with GPUs.

While CPU only training is not a priority it seems, supporting it well makes it possible for downstream developers to for example run CI/CD tests on CPU only instances.

### Alternatives

Not using fused-adamw.

### Additional context

_No response_

cc @vincentqb @jbschlosser @albanD @janeyx99 @crcrpar
Repository: PowerToys
Issue: About performing key assignments on separate numpad only, without breaking the key structure on the laptop keyboard
Labels: Idea-Enhancement,Product-Keyboard Shortcut Manager,Needs-Triage

### Description of the new feature / enhancement

I use a Turkish q keyboard and a separate bluetooth numpad from the laptop. "." on separate numpad. When I click the button, the "ç" character appears on the computer. With Powertoys, I can assign the "ç" character to the "," key that I want to use, but this time the "ç" key on the laptop keyboard appears as the "," character. I request that work be done to perform key assignments on a separate numpad without disturbing the key structure on the laptop keyboard.

### Scenario when this would be used?

On laptops without Numpad, intensive calculations are difficult. There is a need to use a separate numpad, but this time there is a problem in assigning keys on the laptop keyboard with a separate numpad.

### Supporting information

_No response_
Repository: PowerToys
Issue: Shortcut Guide: Make cursor keys clearly recognizable
Labels: Needs-Triage

### Description of the new feature / enhancement

In [overlay.svg](https://github.com/microsoft/PowerToys/blob/2c5659d7462bf97c24044dca55c0f44b64cb3618/src/modules/ShortcutGuide/ShortcutGuide/Assets/ShortcutGuide/overlay.svg), use ➡️ and ⬅️ or `->` and `<-` to make clear the cursor keys are meant in the "desktop switching" entry (and not `>` and `<`).

### Scenario when this would be used?

When displaying the shortcuts.

### Supporting information

_No response_
Repository: PowerToys
Issue: Improve error message if Peek doesnt work when you have a file open
Labels: Idea-Enhancement,Needs-Triage,Product-Peek

### Microsoft PowerToys version

0.73.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Peek

### Steps to reproduce

peek doesnt work if you have a file open and displays error instead of not running


open a word doc then try use peek on the same folder 

### ✔️ Expected Behavior

i would expect the peek window not to open if the document is already open or display a message that says its already open 

### ❌ Actual Behavior

showed error message ' error has occured opening in this file' which is a very generic error message

### Other Software

_No response_
Repository: neovim
Issue: `vim.loader` luac file paths can end up too long for windows to load
Labels: bug,platform:windows,lua

### Problem

I hit this on Githubs CI, where I was setting `NVIM_APPNAME=$some_uuid` and generating long paths, not sure how applicable this is to "real world" use.

Windows paths are capped at 260 chars. The loader generates a rfc2396 encoded string of a module path, and puts that under the cache dir, so `c:\mod\file.lua` is stored at `c:\users\the-user\appdata\local\temp\<appname>\luac\c%3a%3fmod%3ffile.luac`.

If `mod\file.lua` is nested somewhere deep (say where a package manager might install it) and has some nesting of its own, and the user name is long, and/or the app_name is long, the encoded luac path can fail to write, and then the module fails to load, even if the module is loadable without the loader enabled.

There are ways to extend the path limit [here](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry), unsure if Neovim uses an application manifest though, and it requires a user registry edit.

In 0.9 the paths are just encoded as `%`, instead of `%FF`, so its possible this could be an unpleasant experience for some when upgrading in the future.

### Steps to reproduce

```powershell
# powershell -ExecutionPolicy Bypass x.ps1

$env:NVIM_APPNAME = [Guid]::NewGuid().ToString()

# create file in appname dir, with a long path
$appDataDir = [System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::LocalApplicationData)
$luaDir = "$appDataDir\$env:NVIM_APPNAME\lua"

$long = "aaa\aaa\aaa\aaa\aaa\aaa\aaa\aaa\aaa\aaa\aaa\aaa\aaa\aaa\a\a"
$modname = $long.Replace("\", ".")
mkdir "$luaDir\$long"
$luaFile = "$luaDir\$long.lua"
Set-Content -Path $luaFile -Value "print(1)"
echo $appDataDir
echo $luaFile

# install nvim 0.10 via msi package
& 'c:\Program Files\Neovim\bin\nvim' -v
# works, raw path is under limits
& 'c:\Program Files\Neovim\bin\nvim' $luaFile +":lua=require('$modname')"
# fails, luac path is too long.
# uses rfc2396 encoding, where \ becomes %f2 (1 char becomes 3)
& 'c:\Program Files\Neovim\bin\nvim' $luaFile +":lua vim.loader.enable()" +":lua=require('$modname')"

# install nvim 0.9 via choco
# uses plain \ to % encoding (1 char becomes 1)
nvim $luaFile +":lua=require('$modname')"
nvim $luaFile +":lua vim.loader.enable()" +":lua=require('$modname')"


```

### Expected behavior

The module loads, or maybe a nicer warning is given telling the user or disable the loader for long paths automatically?

### Neovim version (nvim -v)

NVIM v0.10.0-dev-1025+g0e11bf0e1

### Vim (not Nvim) behaves the same?

NA

### Operating system/version

Windows 11

### Terminal name/version

Windows Terminal

### $TERM environment variable

NA?

### Installation

"latest" release msi package for
Repository: PowerToys
Issue: FancyZones - zones overlap - prefer the zone whose center is closest to the dragged window's center
Labels: Needs-Triage

### Description of the new feature / enhancement

a different method to activate a certain zone rather than another when there's an overlap. implement it so the chosen zone would be the one whose center (the number) is closer to the window's center - rather than the current method where it chooses the zone whose center is closer to the mouse (the dragging point).

### Scenario when this would be used?

for instance, i notice myself usually dragging browser windows by the top right part, making it much less intuitive to drag a window to parts of the screen where the cursor might be on the center of a zone but the window itself is half outsize the screen and thus the required movement is not the intuitive one where you try to match the window with the center of the zone but rather having to take into account where you hold the window from in order to match the cursor to the zone's center.

### Supporting information

_No response_
Repository: yt-dlp
Issue: [TubiTV] JSONDecodeError -- detect geo-block and add `--geo-verification-proxy` support
Labels: geo-blocked,site-bug

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I'm running yt-dlp version **2023.07.06** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

America

### Provide a description that is worded well enough to be understood

When I use `yt-dlp -F tubitvlink` I get this following error. `Failed to parse JSON (caused by JSONDecodeError("Expecting value in '': line 1 column 1 (char 0)"));` this started happing only on 2022-09-03.

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

---REMOVED---
Repository: godot
Issue: Color picker "bar arrow" renders underneath color picker
Labels: bug,topic:gui

### Godot version

tested on 4.2 dev and 4.1.1 stable

### System information

Fedora Linux 38 (Workstation Edition)

### Issue description

The colour picker seems to use a standard theme slider with a gradient plastered on top for creating the bars for colour selection, this works decently on the default theme but looks very sloppy when you try and apply a custom texture that hasn't been purposefully offset to make sure it doesn't get clipped by the gradient layered on top.

Here is an example of why having it render underneath is not desirable in most cases :

![Screenshot from 2023-09-03 13-26-35](https://github.com/godotengine/godot/assets/74463310/99acb440-0209-4f29-9d11-3ac70fbe8e5a)

One can sort of do a janky work around by creating a larger texture and as i said before offsetting the "arrow":

![Screenshot from 2023-09-03 13-32-07](https://github.com/godotengine/godot/assets/74463310/e7789329-bcd0-4171-99aa-93bb45a2abbf)

At which point the default slider that was formerly hidden by the gradient starts poking out as can be seen above and the RGBA ( or whatever mode you have selected's equivalent ) lettering to the left ceases to be centred with regard to the gradient

You can somewhat solvent the issue with the slider poking out by creating a special theme for the colour picker with an invisible slider bar. however this leaves a large gap and letter offsetting issues still and at this point you are 3 patchwork fixes deep for what should be a relatively simple matter of rendering the slider's nub / arrow on top.

### Steps to reproduce

Add any texture to the "bar arrow" theme override in the colour picker to see the issue

### Minimal reproduction project

N / A
Repository: pytorch
Issue: backend-friendly distributions
Labels: module: distributions,feature,module: cuda,triaged

### 🚀 The feature, motivation and pitch

As of now many basic distributions are not supported on important backends, for instance for a categorical or multinomial distribution on inductor/cuda graphs
```python
@torch.compile(fullgraph=True, backend='inductor')
def fn():
    cat = torch.distributions.categorical.Categorical(torch.tensor([0.1,0.2,0.7])) # seems to use torch.multinomial under the hood
    return cat.sample()

fn()
```
gives
```json
{
	"name": "Unsupported",
	"message": "call_method SizeVariable() numel [] {}\n\nfrom user code:\n   File \"/tmp/ipykernel_1333478/2921103239.py\", line 6, in fn\n    return cat.sample()\n  File \"/usr/local/lib/python3.8/dist-packages/torch/distributions/categorical.py\", line 118, in sample\n    samples_2d = torch.multinomial(probs_2d, sample_shape.numel(), True).T\n\nSet torch._dynamo.config.verbose=True or TORCHDYNAMO_VERBOSE=1 for more information\n\n\nYou can suppress this exception and fall back to eager by setting:\n    torch._dynamo.config.suppress_errors = True\n",
}
```

### Alternatives

It it possible to have it implemented in a way compatible with GPU-friendly backends?

### Additional context

_No response_

cc @fritzo @neerajprad @alicanb @nikitaved @ptrblck
Repository: tensorflow
Issue: Process aborted when running `tf.gather` and `tf.compat.v1.gather` on GPU with large parameters and indices
Labels: stat:awaiting tensorflower,type:bug,comp:ops,TF 2.13

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

binary

### TensorFlow version

2.14.0-rc1

### Custom code

Yes

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

Process aborted when running `tf.gather` and `tf.compat.v1.gather` on GPU with certain parameters and indices, while it throws an Exception on CPU.
It always happens on GPU favor when the `params` and `indices` are large, regardless of the `validate_indices` value.
Besides, the Check failed error still occurs when `validate_indices` is set to `True`, and it should be an Exception instead.
I think the root cause of this behavior should be related to the bug in #60276 and #60756, which face a Check failed error in `tf.raw_ops.Gather/V2` op.


### Standalone code to reproduce the issue

```python
import tensorflow as tf
print(tf.version.GIT_VERSION, tf.version.VERSION, flush=True)

try:
    validate_indices = False # True
    params = tf.saturate_cast(tf.random.uniform([13, 15, 7, 13, 14], minval=-1024, maxval=1024, dtype=tf.int64), dtype=tf.half)
    indices = tf.saturate_cast(tf.random.uniform([11, 12, 6, 15, 11, 3], minval=-1024, maxval=1024, dtype=tf.int64), dtype=tf.int64)
    res = tf.gather(
        validate_indices=validate_indices,
        params=params,
        indices=indices,
    )
    # res = tf.compat.v1.gather(
    #     validate_indices=validate_indices,
    #     params=params,
    #     indices=indices,
    # )
except Exception as e:
    print("Error:", str(e), flush=True)
print("Success!", flush=True)
```


### Relevant log output

On GPU, it throws a Check failed and core dumped.

```text
v2.14.0-rc0-34-gdd01672d9a9 2.14.0-rc1
2023-09-03 13:08:24.487989: F ./tensorflow/core/util/gpu_launch_config.h:160] Check failed: work_element_count >= 0 (0 vs. -549025096)
Aborted (core dumped)
```

On CPU, it throws a Exception.

```text
v2.14.0-rc0-34-gdd01672d9a9 2.14.0-rc1
Error: {{function_node __wrapped__GatherV2_device_/job:localhost/replica:0/task:0/device:CPU:0}} indices[7,11,2,8,5,1] = 424 is not in [0, 13) [Op:GatherV2] name: 
Success!
```
Repository: PowerToys
Issue: Have winget action get release date and notes
Labels: Idea-Enhancement,Area-Build

### Description of the new feature / enhancement

Winget added some new stuff, we should add it

release notes and date, and url



### Scenario when this would be used?

New systems that show release notes when using the winget cli

### Supporting information

_No response_
Repository: godot
Issue: scaling with blender shortcut don't take camera rotation into account
Labels: bug,topic:editor,topic:3d

### Godot version

4.1.1

### System information

linux

### Issue description

[simplescreenrecorder-2023-09-03_17.16.07.webm](https://github.com/godotengine/godot/assets/71937306/c3699925-9637-4ece-a0a1-ba7a1d59d0f4)

as you can see in this video, the mouse movement is not interpreted relative to the current view.
This does not happen with the translation and rotation modes, only with scaling.

### Steps to reproduce

1. map a key to the `begin scale transformation` editor shortcut
2. use it and constrain the action to an horizontal axis by pressing e.g. X
3. notice the difference in behavior depending on the view orientation

### Minimal reproduction project

any
Repository: flutter
Issue: Create a new responsive modal or any way to convert an already open modal on another type of modal
Labels: c: new feature,framework,f: material design,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

I am using modal bottom sheets and full screen modals on my application. The problem that I currently have is that I feel that on big screens, the modal bottom sheet and the fullscreen modal are a bit useless because they are designed to be used on mobile screens and they waste too much space on tablet and desktop sizes. So I want to do something similar to what iOS does. On the iPhone the modal fills almost the entire screen, but on the iPad the modal is a big sheet on the center of the screen. I want to have something similar to that but with the material styling.

Now, if you create a fullscreen modal, a normal modal, or a bottom sheet, you don't have any way to convert it into another type of modal when the user resizes the window, or when the user rotates the device.

![image](https://github.com/flutter/flutter/assets/47545344/2e0a68a6-2d27-49d7-944d-401282e80f47)

### Proposal

It would be great to have on the Material package something similar to the fullscreen modal on iOS. A responsive modal that on mobile is a fullscreen modal and on tablet or desktop is a normal modal on the center of the screen. The problem that we currently have is that the modal and the fullscreen modal are triggered on different ways, and when the modal is open and the user resizes the window or rotates the device, you cannot convert one modal into the other one.

Normal modal:
````
showModal(
  context: context, 
  builder: (ctx) => Modal()
)
````

Fullscreen modal:
````
Navigator.push(context, MaterialPageRoute(
  fullscreenDialog: true,
  builder: (BuildContext context) => Container()
))
````

Something similar to this but with the material interface.
![image](https://github.com/flutter/flutter/assets/47545344/2e0a68a6-2d27-49d7-944d-401282e80f47)

Also it would be great to have something similar to what I described previously but with the modal bottom sheet and the normal modal. A modal that on mobile is a modal bottom sheet, and on tablet and desktop is a normal modal on the center of the screen.

My suggestion:
````
showResponsiveFullScreenModal(
  context: context,
  breakingWidth: 800,
  builder: (context) => Container()
)
````
````
showResponsiveModalBottomSheet(
  context: context,
  breakingWidth: 800,
  builder: (context) => Container()
)
````