sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: react-native
Issue: `KeyboardAvoidingView` with translucent status bar leaves space at the bottom of the screen on Android
Labels: Platform: Android,Component: KeyboardAvoidingView,API: Keyboard

### Description

When `android:windowTranslucentStatus` is set to `true`, `KeyboardAvoidingView` displays a white space at the bottom of the screen after the soft keyboard closes.

This is the same as https://github.com/facebook/react-native/issues/27526.

### Steps to reproduce

1. Build the reproducer for Android with New Arch enabled.

```Bash
cd ReproducerApp
yarn
yarn android
```

2. Start Metro.

```Bash
npx react-native start
```

3. Launch the app.

4. Tap the text to open the soft keyboard.

5. Close the soft keyboard.

### React Native Version

0.75.4

### Affected Platforms

Runtime - Android

### Output of `npx react-native info`

```text
System:
  OS: Linux 5.15 Linux Mint 21.3 (Virginia)
  CPU: (6) x64 AMD Ryzen 5 3500X 6-Core Processor
  Memory: 24.93 GB / 39.16 GB
  Shell:
    version: 5.1.16
    path: /bin/bash
Binaries:
  Node:
    version: 20.15.1
    path: ~/.nvm/versions/node/v20.15.1/bin/node
  Yarn:
    version: 3.6.4
    path: ~/.nvm/versions/node/v20.15.1/bin/yarn
  npm:
    version: 10.7.0
    path: ~/.nvm/versions/node/v20.15.1/bin/npm
  Watchman:
    version: 20231008.002904.0
    path: /usr/local/bin/watchman
SDKs:
  Android SDK:
    API Levels:
      - "31"
      - "33"
      - "34"
      - "35"
    Build Tools:
      - 30.0.3
      - 33.0.1
      - 34.0.0
      - 35.0.0
    System Images:
      - android-34 | Intel x86_64 Atom
      - android-34 | Google APIs Intel x86_64 Atom
    Android NDK: Not Found
IDEs:
  Android Studio: Not Found
Languages:
  Java:
    version: 17.0.12
    path: /usr/bin/javac
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.75.4
    wanted: 0.75.4
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: false
```


### Stacktrace or Logs

```text
N/A
```


### Reproducer

https://github.com/QichenZhu/reproducer-react-native-keyboard-avoiding-view-android

### Screenshots and Videos

https://github.com/user-attachments/assets/6eaf5656-9617-469c-bbf0-e461277a4612
Repository: kubernetes
Issue: Deletion of resources can fail due to etcd size limit
Labels: sig/api-machinery,triage/accepted

Steps:

- Create a resource that is just barely within the etcd size limit
- Delete the resource, which triggers an update to etcd to record the intent to delete the resource
- Because the update adds fields like deleteTimestamp, the size of the resource increases
- When the size exceeds the etcd size limit, the update-to-record-intent-to-delete fails to be recorded to etcd, causing the deletion operation to fail
Repository: rust
Issue: headings in struct field documentation has confusing spacing
Labels: T-rustdoc,A-rustdoc-ui,T-rustdoc-frontend

example:
```rust
struct Foo {
   /// blah blah blah
   ///
   /// # Heading
   ///
   /// blah blah blah
   a: u8,
   b: u16,
}
```

there will be a large upper margin on the heading, making it visually unclear what the second paragraph corresponds to.
Repository: ui
Issue: [bug]: Sidebar collapsible icon with size "lg" is not configured correctly
Labels: bug

### Describe the bug

When sidebar is in icon mode with lg sized sidebar buttons, something is not it right with the width and padding, the labels show a bit. 

I also dont like that the icon mode has a fixed width, should be more dynamic than this.

### Affected component/components

Sidebar

### How to reproduce

add `size="lg"` prop to sidebar buttons

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Sidebar block 07
Chrome
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: flutter
Issue: Add FML utility to fetch page sizes.
Labels: c: new feature,P2,team-engine,triaged-engine

There are multiple spots in the engine where using the notion of a page size is useful for allocations. But since there is no portable way of getting the page size from FML, 4096 is assumed. Add the portable page size retrieval method to FML.
Repository: flutter
Issue: Pass --quiet to run_tests.py invocations.
Labels: engine,P2,team-engine,triaged-engine

For potentially easier to parse CI logs.
Repository: kubernetes
Issue: Feature Request: Generate a Kubernetes Release Artifact On Releases That Lists Feature Gate Default Enalbed/Disabled status
Labels: sig/api-machinery,kind/feature,sig/release,triage/accepted

### What would you like to be added?

This issue requests adding a new release artifact that lists the feature gates in a release and whether they are enabled / disabled by default.

If we had this, it would help k/website code verify that the machine readable feature gate metadata are correct - see https://github.com/kubernetes/website/tree/main/content/en/docs/reference/command-line-tools-reference/feature-gates.

Additionally a release artifact that is properly the "source of truth" for what feature gates in a release are enabled /disabled could additionally be used for Kubernetes feature: Compatibility Versions related testing (ex: https://github.com/kubernetes/kubernetes/issues/127947)

Related comment: https://github.com/kubernetes/kubernetes/pull/128138#issuecomment-2423882866

### Why is this needed?

A release artifact that lists the feature gates in a release and whether they are enabled / disabled by default is needed because currently the k/website which tracks what feature gates are enabled at each version is updated in a bespoke manual way and could use a published release artifact for correctness validation.  The current approach can lead to deltas and missed updates if things are changed but not updated pre/post release.  Here is an issue for example that notes some feature gates deltas from k8s releases vs k/website:
https://github.com/kubernetes/website/issues/47996

By creating a release artifact for each version, the k/website could use this artifact to verify and ensure correctness

/cc @sftim 
/assign @aaron-prindle
Repository: opencv
Issue: OBJECT FILE PROTOBUF is not built in static link with the 3rdparty libs
Labels: bug,question (invalid tracker),category: build/install

### System Information

Hi, I am building opencv with these options:
`cmake .. 

-D CMAKE_TOOLCHAIN_FILE=../platforms/linux/rockship.toolchain.cmake

-D CMAKE_VERBOSE_MAKEFILE=ON 

-D CMAKE_GENERATE_PKGCONFIG=YES

-DBUILD_LIST=core,highgui,improc,video,photo,features2d,videoio,imgcodecs

-D BUILD_SHARED_LIBS=OFF 

-D WITH_PROTOBUF=ON`

In the folder `/build/3rdparty/protobuf/` , strangely there's no source files.

`>> make install` generates no `liblibprotobuf.o`

![annotely_image](https://github.com/user-attachments/assets/54dd0ce2-c939-431f-bdd3-0d7dc5754b39)

After running the install command, in the CMakeList of the install folder we can read this : 

```
foreach(_cmake_expected_target IN ITEMS zlib libjpeg-turbo libtiff libwebp
 libopenjp2 libpng **libprotobuf** tegra_hal ittnotify ade opencv_core opencv_imgproc opencv_photo opencv_video opencv_features2d opencv_imgcodecs ocv.3rdparty.v4l ocv.3rdparty.obsensor opencv_videoio opencv_highgui)
```
 
or even this :
```

set_target_properties(libprotobuf PROPERTIES
  IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX"
  IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/opencv4/3rdparty/liblibprotobuf.a"
  )
```

It's expecting to find the `liblibprotobuf.a` but I think it has been statically linked to the opencv object files.

I am getting a CMake error : liblibprotobuf.o is missed, when I use the install folder in another project with the trace :

```
CMake Error at lib/cmake/opencv4/OpenCVModules.cmake:194 (message):
  The imported target "libprotobuf" references the file

     "/home/mac/luckfox_pico_rknn_example/lib/opencv4/3rdparty/liblibprotobuf.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/home/mac/luckfox_pico_rknn_example/lib/cmake/opencv4/OpenCVModules.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  lib/cmake/opencv4/OpenCVConfig.cmake:126 (include)
  CMakeLists.txt:66 (find_package)
  
```


Here's a screenshoot of the error

![annotely_image (1)](https://github.com/user-attachments/assets/f9c10694-ed7b-41d6-b241-6fb0418c5e98)



I removed all the refeences to `libprotobuf` in the install CMakeList (not sure it's the solution), but now I am having the same error for the `libade.a`, may be I am doing something wrong from the beginning !
Repository: electron
Issue: Electron apps stop redrawing
Labels: platform/linux,bug :beetle:,30-x-y

### Preflight Checklist

- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

30.3.1 

### What operating system(s) are you using?

Other Linux

### Operating System Version

postmarketOS v24.06 based on Alpine 3.20.3

### What arch are you using?

arm64 (including Apple Silicon)

### Last Known Working Electron version

_No response_

### Expected Behavior

See #27889 where the issue was already filed, but it was closed. I am still seeing this in the latest electron version. I suggest to reopen that issue (and close this one).

### Actual Behavior

See #27889 or here:

https://github.com/user-attachments/assets/40bc9998-01d1-4a41-b5ae-02ff7d008820

### Testcase Gist URL

_No response_

### Additional Information

_No response_
Repository: go
Issue: x/telemetry: consolidate uploading and merging time horizons
Labels: NeedsFix,telemetry

Right now, we have a nightly job that produces merged reports (those available at telemetry.go.dev/data) for the last 8 days. Yet the client may upload data for the last 21 days.

This has a few problems:
- 21 days is too ~short~long. ~We typically care about "28 day users", so should probably accept uploads up to 28 days old.~ **we should limit to a shorter time period, for example 8 days**
- We should produce merged summaries for all the uploads we get, even if they are older than 8 days.
- We should reject reports on the server if they are too old, so that we don't store uploads that won't ever be merged.
Repository: go
Issue: proposal: net/http: non-seekable analogue to ServeContent
Labels: Proposal

### Proposal Details

The function `net/http.ServeContent` requires its `content` parameter to implement the `Seek` method.  However, most of the functionality of `ServeContent` does not require `Seek` functionality.

I've recently had to serve some non-seekable streams, and I've had to reimplement much of the functionality of `ServeContent`, most notably the conditional request logic (`If-None-Match` and friends).  It would have been helpful if `ServeContent` could take a non-seekable stream.

Unfortunately, `ServeContent` cannot be modified to take an `io.Reader` for backwards compatibility reasons (please correct me if I'm wrong).  I therefore propose a new function
```
func ServeStream(w ResponseWriter, req *Request, name string, modtime time.Time, content io.Reader)
```
which works just like `ServeContent` except that:

1. the last argument does not need to implement `Seek`;
2. all range headers in the request (`Range` and `If-Range`) are ignored;
3. a `Content-Length` header is not automatically generated, if one is required, then the caller must set it before the call.

The function obeys the `If-Modified-Since` header if the `modTime` parameter is set.  It obeys all other conditional headers (`If-None-Match` and friends) if the `ETag` header is set on the reply.  I also suggest that `ServeStream` should transparently call `ServeContent` if its last argument is an `io.ReadSeeker`.
Repository: Python
Issue: Avoid log(0) in KL divergence
Labels: bug

### Repository commit

03a42510b01c574292ca9c6525cbf0572ff5a2a5

### Python version (python --version)

Python 3.10.15

### Dependencies version (pip freeze)

absl-py==2.1.0
astunparse==1.6.3
beautifulsoup4==4.12.3
certifi==2024.8.30
charset-normalizer==3.4.0
contourpy==1.3.0
cycler==0.12.1
dill==0.3.9
dom_toml==2.0.0
domdf-python-tools==3.9.0
fake-useragent==1.5.1
flatbuffers==24.3.25
fonttools==4.54.1
gast==0.6.0
google-pasta==0.2.0
grpcio==1.67.0
h5py==3.12.1
idna==3.10
imageio==2.36.0
joblib==1.4.2
keras==3.6.0
kiwisolver==1.4.7
libclang==18.1.1
lxml==5.3.0
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==3.0.2
matplotlib==3.9.2
mdurl==0.1.2
ml-dtypes==0.3.2
mpmath==1.3.0
namex==0.0.8
natsort==8.4.0
numpy==1.26.4
oauthlib==3.2.2
opencv-python==4.10.0.84
opt_einsum==3.4.0
optree==0.13.0
packaging==24.1
pandas==2.2.3
patsy==0.5.6
pbr==6.1.0
pillow==11.0.0
pip==24.2
protobuf==4.25.5
psutil==6.1.0
Pygments==2.18.0
pyparsing==3.2.0
python-dateutil==2.9.0.post0
pytz==2024.2
qiskit==1.2.4
qiskit-aer==0.15.1
requests==2.32.3
requests-oauthlib==1.3.1
rich==13.9.2
rustworkx==0.15.1
scikit-learn==1.5.2
scipy==1.14.1
setuptools==74.1.2
six==1.16.0
soupsieve==2.6
sphinx-pyproject==0.3.0
statsmodels==0.14.4
stevedore==5.3.0
symengine==0.13.0
sympy==1.13.3
tensorboard==2.16.2
tensorboard-data-server==0.7.2
tensorflow==2.16.2
tensorflow-io-gcs-filesystem==0.37.1
termcolor==2.5.0
threadpoolctl==3.5.0
tomli==2.0.2
tweepy==4.14.0
typing_extensions==4.12.2
tzdata==2024.2
urllib3==2.2.3
Werkzeug==3.0.4
wheel==0.44.0
wrapt==1.16.0
xgboost==2.1.1


### Expected behavior

The entries where `y_true` is `0` should be ignored in the summation (see Actual behavior)

### Actual behavior

In https://github.com/TheAlgorithms/Python/blob/03a42510b01c574292ca9c6525cbf0572ff5a2a5/machine_learning/loss_functions.py#L662-L663 if any entry of `y_true` is `0`, the output of `np.log` would become `-inf` and thus the method returns `nan`.
Maybe it would be better to exclude those entries where `y_true` is `0`?
Repository: svelte
Issue: Snippet doesn't satisfy the Snippet type, apparently
Labels: types / typescript

### Describe the bug

In a class, I have the following overload:

```typescript
    show(content: string | Snippet): void;
```

This is a SvelteKit project that produces an NPM library package.  When the project is built, the `dist` folder contains:

```typescript
    show(content: string | Snippet): void;
```

Great so far.  Now the class is imported in a Vite + Svelte project by importing it from the built NPM package.  The importer declares the following snippet:

```svelte
{#snippet overlay()}
    <Spinner text="Loading..." variant="primary" />
{/snippet}
```

Then, this snippet is used in a call to `show()`:

```typescript
        systemOverlay.show(overlay);
```

TypeScript is now unhappy.  The word "overlay" has the squiggly red line and the error says:

> Overload 1 of 3, '(content: string | Snippet<[]>): void', gave the following error.
>   Argument of type '() => ReturnType<import("svelte").Snippet>' is not assignable to parameter of type 'string | Snippet<[]>'.
>     Type '() => ReturnType<import("svelte").Snippet>' is not assignable to type 'Snippet<[]>'.

So the snippet `overlay` is typed as a function whose return type is the return type of the `Snippet` type from `svelte`, instead of just being a snippet.

### Reproduction

Hopefully the above information is enough to reproduce?  Do let me know, though.

### Logs

_No response_

### System Info

```shell
System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz
    Memory: 16.62 GB / 39.73 GB
  Binaries:
    Node: 20.17.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.105)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    svelte: ^5.0.5 => 5.0.5
```


### Severity

blocking an upgrade
Repository: godot
Issue: Editor UI Does not Update
Labels: bug,topic:editor,needs testing

### Tested versions

- Reproducible in v4.3.stable.official [77dcf97d8]

### System information

Godot v4.3.stable - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA RTX A500 Laptop GPU (NVIDIA; 31.0.15.3878) - 13th Gen Intel(R) Core(TM) i7-1370P (20 Threads)

### Issue description

Most of the UI does not update. The top "Scene Project Debug Editor Help" menus work.
Everything else seems to work "behind the scenes" but I can't see what I'm doing.
If I click on the X button of the active scene tab, I can see the window title change to indicate the scene was closed.
Tooltips show up, as well as right-click context menus. The cursor changes to indicate drag borders, and text input fields, and the version code at the bottom right is clickable as well.
I noticed the UI is also stuck when I'm browsing the file system to open a new project with no project currently opened.

### Steps to reproduce

Open the project and select a few things for a couple of minutes until the UI stops updating.

### Minimal reproduction project (MRP)

[test.zip](https://github.com/user-attachments/files/17466220/test.zip)
Repository: vscode
Issue: Chat Scroll Down button has no visible text in light theme
Labels: bug,panel-chat

![Image](https://github.com/user-attachments/assets/5b1874f5-5a6b-4505-bc36-cfbd58a5811f)
Repository: pytorch
Issue: Contribution Proposal: ScatterND Implementation for PyTorch
Labels: feature,triaged,needs design,module: scatter & gather ops

### 🚀 The feature, motivation and pitch

Hey everyone, I’m Ali, a software engineer from Nuro, and we’ve been working on migrating a lot of vision models from tensorflow to pytorch. One particularly critical operation for these vision models is tf.tensor_scatter_nd_update , and its reduction counterparts (e.g. tf.tensor_scatter_nd_min, tf.tensor_scatter_nd_max , etc).

We’ve implemented this operation in-house and have been using it successfully for a while now. There have been a few requests for an official pytorch implementation for this operation for a while now (e.g. [here](https://discuss.pytorch.org/t/how-to-implement-tf-scatter-nd-function-of-tensorflow-in-pytorch/18358), [here](https://discuss.pytorch.org/t/how-to-achieve-tf-scatter-nd-in-pytorch-project-for-copynet/4688), etc), so we’d like to offer to set this up.

It's a super robust implementation:
* Uses only native torch layers, and is fully statically shaped
* Supports batching with torch.vmap if desired
* Really performant when used with torch.compile & torch-xla

I've attached sample implementations in the 'Additional context section'.

### Alternatives

There are a few scatter_nd implementations scattered (pardon the pun) around the web but none seem to be perfect.
* https://github.com/rusty1s/pytorch_scatter, this one uses custom CUDA kernels which isn't easy to use or maintain
* https://gist.github.com/airalcorn2/c7846d6fcb58a30b25ea6d97e16fe025, this implementation has a bug
* https://gist.github.com/Ending2015a/b034ebbedc55fec1d8ec3b7230a95f1e, doesn't support batching, or have static shapes which is important for torch.compile/torch-xla

### Additional context
Forum post: https://discuss.pytorch.org/t/contribution-proposal-scatternd-implementation-for-pytorch/211874/1

(sample implementation) https://gist.github.com/boubezariali/2e3d9650461f302a541235e33d7cded2
(simple test) https://gist.github.com/boubezariali/a4a22736a14414404b45b17f62da9c2d

We also have extensive testing implemented that we're willing to contribute.
Repository: storybook
Issue: [Bug]: Investigate Next.js v15 features and limitations
Labels: bug,nextjs

### Describe the bug

Next.js 15 is now stable.

Investigate the following topics:

- [x] Bug: https://github.com/storybookjs/storybook/issues/29582
- [x] Bug: https://github.com/storybookjs/storybook/issues/29380
- [ ] I am concerned that people would like to use the [React Compiler](https://nextjs.org/blog/next-15#react-compiler-experimental) and will therefore opt-in for babel and opt-out from Next.js’ custom SWC compiler. The experimental-nextjs-vite framework currently only supports SWC, and not babel. It wouldn’t be hard to add babel support, though. 
- [ ] https://nextjs.org/blog/next-15#executing-code-after-a-response-with-unstable_after-experimental will very likely not work out of the box in Storybook.
- [ ] https://nextjs.org/blog/next-15#support-for-nextconfigts might not work out of the box in Storybook
- [ ] [Breaking] Disallow using ssr: false option with next/dynamic in Server Components - could break usage of `next/dynamic` in Storybook
Repository: go
Issue: x/crypto/ssh/test: TestDialTCP failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh/test" && test == "TestDialTCP"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8733939750140183825)):

    === RUN   TestDialTCP
        dial_unix_test.go:57: Dial: EOF
        test_unix_test.go:246: sshd:
            Error reading managed configuration (2: No such file or directory). Proceeding with default configuration.
            /Users/swarming/.swarming/w/ir/x/t/sshtest2658011716/sshd_config line 10: Deprecated option KeyRegenerationInterval
            /Users/swarming/.swarming/w/ir/x/t/sshtest2658011716/sshd_config line 11: Deprecated option ServerKeyBits
            /Users/swarming/.swarming/w/ir/x/t/sshtest2658011716/sshd_config line 17: Deprecated option RSAAuthentication
            /Users/swarming/.swarming/w/ir/x/t/sshtest2658011716/sshd_config line 22: Deprecated option RhostsRSAAuthentication
            debug1: inetd sockets after dupping: 4, 5
            BSM audit: getaddrinfo failed for UNKNOWN: nodename nor servname provided, or not known
    ...
            debug1: auth_activate_options: setting new authentication options
            Accepted publickey for swarming from UNKNOWN port 65535 ssh2: ECDSA SHA256:DbuSF5a8c3JMmpZ5WiK8oLAx97Uu8zIAFReb/NyTPuo
            debug1: monitor_child_preauth: user swarming authenticated by privileged process
            debug1: auth_activate_options: setting new authentication options [preauth]
            debug2: userauth_pubkey: authenticated 1 pkalg ecdsa-sha2-nistp256 [preauth]
            debug1: monitor_read_log: child log fd closed
            BSM audit: bsm_audit_session_setup: setaudit_addr failed: Invalid argument
            Could not create new audit session
            debug1: do_cleanup
    --- FAIL: TestDialTCP (0.17s)


— [watchflakes](https://go.dev/wiki/Watchflakes)