title stringlengths 2 169 | diff stringlengths 235 19.5k | body stringlengths 0 30.5k | url stringlengths 48 84 | created_at stringlengths 20 20 | closed_at stringlengths 20 20 | merged_at stringlengths 20 20 | updated_at stringlengths 20 20 | diff_len float64 101 3.99k | repo_name stringclasses 83
values | __index_level_0__ int64 15 52.7k |
|---|---|---|---|---|---|---|---|---|---|---|
Fixed: Add links to DAGRun / DAG / Task in templates-ref.rst | diff --git a/docs/apache-airflow/templates-ref.rst b/docs/apache-airflow/templates-ref.rst
index 34ba7d2ecea75..bfb3cad9eb5c6 100644
--- a/docs/apache-airflow/templates-ref.rst
+++ b/docs/apache-airflow/templates-ref.rst
@@ -47,16 +47,16 @@ Variable Type Description
... | Reverts apache/airflow#33010 , continuation of apache/airflow#32245
~Need to figure out how to correctly refer to Airflow source code objects with `.rst`~
The docs readme has a lovely section on the `:class:` reference, which I used here
https://github.com/apache/airflow/tree/main/docs#cross-referencing-syntax | https://api.github.com/repos/apache/airflow/pulls/33013 | 2023-08-01T18:37:02Z | 2023-08-05T19:30:07Z | 2023-08-05T19:30:07Z | 2023-08-08T15:52:09Z | 861 | apache/airflow | 14,549 |
Enable input grad for gradient checkpointing in `train_lora` | diff --git a/fastchat/train/train_lora.py b/fastchat/train/train_lora.py
index ac52f81dc0..978ca4ec3d 100644
--- a/fastchat/train/train_lora.py
+++ b/fastchat/train/train_lora.py
@@ -116,12 +116,7 @@ def train():
model.print_trainable_parameters()
if training_args.gradient_checkpointing:
- loggin... | ## Why are these changes needed?
Adds the monkey patch needed to run gradient checkpointing with LoRA. More info about the function can be found [here](https://github.com/huggingface/transformers/blob/f67dac97bdc63874f2288546b3fa87e69d2ea1c8/src/transformers/modeling_utils.py#L1186)
## Related issue number (if appl... | https://api.github.com/repos/lm-sys/FastChat/pulls/1489 | 2023-05-25T22:23:55Z | 2023-06-09T01:47:05Z | 2023-06-09T01:47:05Z | 2023-06-09T01:47:05Z | 189 | lm-sys/FastChat | 41,387 |
COMPAT: more error msg compat for py310 | diff --git a/pandas/tests/indexes/ranges/test_constructors.py b/pandas/tests/indexes/ranges/test_constructors.py
index 9539b0ff7cdba..e306b6e67cf7f 100644
--- a/pandas/tests/indexes/ranges/test_constructors.py
+++ b/pandas/tests/indexes/ranges/test_constructors.py
@@ -119,7 +119,9 @@ def test_constructor_range(self):
... | https://api.github.com/repos/pandas-dev/pandas/pulls/41253 | 2021-05-01T21:18:12Z | 2021-05-02T23:22:23Z | 2021-05-02T23:22:23Z | 2021-06-18T02:30:41Z | 1,311 | pandas-dev/pandas | 45,647 | |
Add GPU device | diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 7d435297a69..e0ca454d371 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -59,6 +59,18 @@ body:
- iOS
- Android
- Other/Cloud
+ - type: dropdown
+... | Add GPU option to troubleshoot. | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/10379 | 2023-05-14T14:18:03Z | 2023-05-14T18:18:56Z | 2023-05-14T18:18:56Z | 2023-05-15T05:31:34Z | 211 | AUTOMATIC1111/stable-diffusion-webui | 39,848 |
Support password less PI-Hole installations | diff --git a/homeassistant/components/pi_hole/__init__.py b/homeassistant/components/pi_hole/__init__.py
index ba7949c0c30004..b33b94383542fa 100644
--- a/homeassistant/components/pi_hole/__init__.py
+++ b/homeassistant/components/pi_hole/__init__.py
@@ -117,10 +117,6 @@ async def async_setup_entry(hass: HomeAssistant,... | <!--
You are amazing! Thanks for contributing to our project!
Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->
## Proposed change
<!--
Describe the big picture of your changes here to communicate to the
maintainers why we should accept this pull request. If it fixes a bug
or... | https://api.github.com/repos/home-assistant/core/pulls/86183 | 2023-01-18T19:03:02Z | 2023-01-22T16:20:13Z | 2023-01-22T16:20:13Z | 2023-01-23T17:02:09Z | 3,279 | home-assistant/core | 39,415 |
[core][ci] Update state api scale test | diff --git a/python/ray/tests/test_state_api_2.py b/python/ray/tests/test_state_api_2.py
index cbb654565aacb..c5f3ce4276c56 100644
--- a/python/ray/tests/test_state_api_2.py
+++ b/python/ray/tests/test_state_api_2.py
@@ -1,8 +1,11 @@
import asyncio
import json
import os
+import sys
+from pathlib import Path
from ... | <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. -->
<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your P... | https://api.github.com/repos/ray-project/ray/pulls/35543 | 2023-05-19T07:02:55Z | 2023-06-07T22:32:12Z | 2023-06-07T22:32:12Z | 2023-06-07T22:32:12Z | 2,570 | ray-project/ray | 19,902 |
Respect pre-installed gcc package on Arch Linux | diff --git a/bootstrap/_arch_common.sh b/bootstrap/_arch_common.sh
index 9e0d96e3325..6895addf4bd 100755
--- a/bootstrap/_arch_common.sh
+++ b/bootstrap/_arch_common.sh
@@ -4,6 +4,15 @@
# - Manjaro 15.09 (x86_64)
# - ArchLinux (x86_64)
+# Both "gcc-multilib" and "gcc" packages provide gcc. If user already has
+... | Both `gcc-multilib` and `gcc` packages provide 64-bit gcc on x86_64 installations, so there is no harm if `gcc-multilib` is already installed. Making pacman install `gcc` when `gcc-multilib` is already installed prompts pacman to ask and uninstall `gcc-multilib` so it can be replaced by `gcc`.
| https://api.github.com/repos/certbot/certbot/pulls/1159 | 2015-10-27T22:19:57Z | 2015-10-27T22:38:55Z | 2015-10-27T22:38:55Z | 2016-05-06T19:22:09Z | 267 | certbot/certbot | 362 |
Fix python wheels for avx requirements | diff --git a/requirements_amd_noavx2.txt b/requirements_amd_noavx2.txt
index fb1acd0a78..c93027e385 100644
--- a/requirements_amd_noavx2.txt
+++ b/requirements_amd_noavx2.txt
@@ -32,8 +32,8 @@ bitsandbytes==0.38.1; platform_system != "Windows"
https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/whe... | ## Checklist:
- [V] I have read the [Contributing guidelines](https://github.com/oobabooga/text-generation-webui/wiki/Contributing-guidelines).
This fix mixed up python wheels so people with no avx2 CPU can finally load GGUF model with CUDA support
also changed no-avx2-cpu-only wheel to true CPU only
and ctran... | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/4189 | 2023-10-05T19:04:50Z | 2023-10-06T18:42:44Z | 2023-10-06T18:42:44Z | 2023-10-06T18:42:45Z | 2,098 | oobabooga/text-generation-webui | 26,211 |
[MusicGen] Add streamer to generate | diff --git a/src/transformers/models/musicgen/modeling_musicgen.py b/src/transformers/models/musicgen/modeling_musicgen.py
index a65683993624b..43d85792df3c9 100644
--- a/src/transformers/models/musicgen/modeling_musicgen.py
+++ b/src/transformers/models/musicgen/modeling_musicgen.py
@@ -18,7 +18,7 @@
import math
imp... | # What does this PR do?
Adds the `streamer` to MusicGen's generate, along with an example test for returning chunks of numpy audio arrays _on-the-fly_ as they are generated.
Facilitates using MusicGen with streaming mode as per the Gradio update: https://github.com/gradio-app/gradio/pull/5077
cc @Vaibhavs10 @y... | https://api.github.com/repos/huggingface/transformers/pulls/25320 | 2023-08-04T14:51:39Z | 2023-09-14T14:59:09Z | 2023-09-14T14:59:09Z | 2023-09-14T14:59:42Z | 1,161 | huggingface/transformers | 12,670 |
Simplify and fix count_params() | diff --git a/keras/backend/cntk_backend.py b/keras/backend/cntk_backend.py
index abba7cb8f1e..a3a762aba15 100644
--- a/keras/backend/cntk_backend.py
+++ b/keras/backend/cntk_backend.py
@@ -493,13 +493,13 @@ def ones_like(x, name=None):
def count_params(x):
- for _ in x.shape:
+ for _ in get_variable_shape(x)... | also use existing abstraction get_variable_shape(x), instead of using .shape attribute directly. Also improve docstrings.
I think this fixes a bug in TF backend, because int_shape(x) returns x.get_shape() only if x._keras_shape is not set, for example if x is np.ndarray, or a sparse tensor/ndarray. | https://api.github.com/repos/keras-team/keras/pulls/8206 | 2017-10-20T21:15:36Z | 2017-10-23T19:30:45Z | 2017-10-23T19:30:45Z | 2017-10-24T20:39:35Z | 551 | keras-team/keras | 47,181 |
added descriptions for yum options | diff --git a/library/packaging/yum b/library/packaging/yum
index 4c930f2f7775d4..a33aa797f45301 100644
--- a/library/packaging/yum
+++ b/library/packaging/yum
@@ -31,7 +31,7 @@ module: yum
version_added: historical
short_description: Manages packages with the I(yum) package manager
description:
- - Will install,... | Updated main description to state that the yum module will handle package groups. Added descriptions for each example, as it is unclear to (some) users that @Name implies a group install.
| https://api.github.com/repos/ansible/ansible/pulls/5429 | 2013-12-26T18:27:25Z | 2013-12-26T18:46:36Z | 2013-12-26T18:46:36Z | 2019-04-24T19:26:08Z | 374 | ansible/ansible | 48,703 |
Add change directory to CI so tests are executed in proper context. | diff --git a/.travis.yml b/.travis.yml
index ff7102d21..1e4339499 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,16 +14,19 @@ matrix:
- python: 3.7
before_script: true # override the flake8 tests
name: "Sherlock Site Coverage Tests"
- script: python -m unittest tests.all.SherlockSiteCoverage... | Try to get the CI tests working. | https://api.github.com/repos/sherlock-project/sherlock/pulls/600 | 2020-05-09T16:06:37Z | 2020-05-09T16:15:41Z | 2020-05-09T16:15:41Z | 2020-08-05T11:47:23Z | 539 | sherlock-project/sherlock | 36,305 |
add support for iei yuan2.0 (https://huggingface.co/IEITYuan) | diff --git a/docs/model_support.md b/docs/model_support.md
index 86e08fed0a..4a76036b8c 100644
--- a/docs/model_support.md
+++ b/docs/model_support.md
@@ -60,6 +60,7 @@
- [WizardLM/WizardLM-13B-V1.0](https://huggingface.co/WizardLM/WizardLM-13B-V1.0)
- [WizardLM/WizardCoder-15B-V1.0](https://huggingface.co/WizardLM/W... | <!-- Thank you for your contribution! -->
<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. -->
## Why are these changes needed?
<!-- Please give a short summary of the change and the problem ... | https://api.github.com/repos/lm-sys/FastChat/pulls/2919 | 2024-01-14T04:24:03Z | 2024-01-17T06:57:35Z | 2024-01-17T06:57:35Z | 2024-01-17T06:57:35Z | 1,102 | lm-sys/FastChat | 41,489 |
Update Ubuntu AMI to 19.04 | diff --git a/tests/letstest/apache2_targets.yaml b/tests/letstest/apache2_targets.yaml
index dda4d4b1cbe..4da6abb15a5 100644
--- a/tests/letstest/apache2_targets.yaml
+++ b/tests/letstest/apache2_targets.yaml
@@ -1,8 +1,8 @@
targets:
#-----------------------------------------------------------------------------
... | Fixes #6720.
You can see tests successfully running with this change at https://travis-ci.com/certbot/certbot/builds/113022682.
This PR updates the Ubuntu 18.10 AMI in our test farm tests to Ubuntu 19.04. The AMI-ID was taken from https://cloud-images.ubuntu.com/locator/ec2/. As of writing this, it is the only Ub... | https://api.github.com/repos/certbot/certbot/pulls/7099 | 2019-05-24T01:13:15Z | 2019-05-28T21:36:11Z | 2019-05-28T21:36:11Z | 2019-05-28T21:51:31Z | 320 | certbot/certbot | 2,354 |
Create kinetic_energy.py | diff --git a/physics/kinetic_energy.py b/physics/kinetic_energy.py
new file mode 100644
index 000000000000..535ffc219251
--- /dev/null
+++ b/physics/kinetic_energy.py
@@ -0,0 +1,47 @@
+"""
+Find the kinetic energy of an object, give its mass and velocity
+Description : In physics, the kinetic energy of an object is the... | Finding the kinetic energy of an object,by taking its mass and velocity as input
### Describe your change:
* [x] Add an algorithm?
* [ ] Fix a bug or typo in an existing algorithm?
* [ ] Documentation change?
### Checklist:
* [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob... | https://api.github.com/repos/TheAlgorithms/Python/pulls/7620 | 2022-10-25T08:03:29Z | 2022-10-25T19:43:03Z | 2022-10-25T19:43:03Z | 2022-10-27T09:21:39Z | 552 | TheAlgorithms/Python | 30,385 |
CORS and CRLF documentation updated | diff --git a/CORS Misconfiguration/README.md b/CORS Misconfiguration/README.md
index cc066f9371..32f00ad730 100644
--- a/CORS Misconfiguration/README.md
+++ b/CORS Misconfiguration/README.md
@@ -22,7 +22,7 @@
## Exploitation
-Usually you want to target an API endpoint. Use the following payload to exploit a CORS... | I did a bit of research on CORS and CRLF and thought I'd update the documentation in this repo. If you have further questions regarding the content feel free to ask me. | https://api.github.com/repos/swisskyrepo/PayloadsAllTheThings/pulls/274 | 2020-10-25T10:13:40Z | 2020-10-25T13:02:03Z | 2020-10-25T13:02:03Z | 2020-10-25T21:46:44Z | 1,614 | swisskyrepo/PayloadsAllTheThings | 8,407 |
add Energy Solutions to INTHEWILD.md | diff --git a/INTHEWILD.md b/INTHEWILD.md
index fe65c239411b2..35a7da830fd0d 100644
--- a/INTHEWILD.md
+++ b/INTHEWILD.md
@@ -146,6 +146,7 @@ Currently, **officially** using Airflow:
1. [Elai Data](https://www.elaidata.com/) [[@lgov](https://github.com/lgov)]
1. [EllisDon](http://www.ellisdon.com/) [[@d2kalra](https:/... | https://api.github.com/repos/apache/airflow/pulls/12523 | 2020-11-21T00:30:39Z | 2020-11-21T00:52:29Z | 2020-11-21T00:52:29Z | 2020-11-21T00:52:32Z | 309 | apache/airflow | 14,390 | |
Upgrade pylint to 2.8.3 | diff --git a/requirements_test.txt b/requirements_test.txt
index 02b041d60740..142bc8798065 100644
--- a/requirements_test.txt
+++ b/requirements_test.txt
@@ -10,7 +10,7 @@ jsonpickle==1.4.1
mock-open==1.4.0
mypy==0.812
pre-commit==2.13.0
-pylint==2.8.2
+pylint==2.8.3
pipdeptree==1.0.0
pylint-strict-informational=... | <!--
You are amazing! Thanks for contributing to our project!
Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->
## Proposed change
<!--
Describe the big picture of your changes here to communicate to the
maintainers why we should accept this pull request. If it fixes a bug
or... | https://api.github.com/repos/home-assistant/core/pulls/51308 | 2021-05-31T19:48:18Z | 2021-06-01T06:48:53Z | 2021-06-01T06:48:53Z | 2021-06-02T07:33:04Z | 142 | home-assistant/core | 39,058 |
Fix issue with missing `wheel` install | diff --git a/docker/Dockerfile b/docker/Dockerfile
index b4fc912166..be6fcfc2eb 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -10,7 +10,7 @@ WORKDIR /build
RUN python3 -m venv /build/venv
RUN . /build/venv/bin/activate && \
- pip3 install --upgrade pip setuptools && \
+ pip3 install --upgrade pip ... | Running `docker build -f docker/Dockerfile` gives this error:
Closes https://github.com/oobabooga/text-generation-webui/issues/2627
```
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
usage: setup_cuda.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup_cuda.py --help [cmd1 cmd2 ..... | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/2719 | 2023-06-16T16:02:02Z | 2023-06-17T02:46:40Z | 2023-06-17T02:46:40Z | 2023-06-17T02:46:41Z | 238 | oobabooga/text-generation-webui | 25,963 |
Env Step Check allow rewards to be np int | diff --git a/gym/utils/passive_env_checker.py b/gym/utils/passive_env_checker.py
index d49ea7faf8f..147d360e8d0 100644
--- a/gym/utils/passive_env_checker.py
+++ b/gym/utils/passive_env_checker.py
@@ -276,7 +276,7 @@ def passive_env_step_check(env, action):
logger.warn("Encountered inf value in observations.")... | # Description
Changed so `passive_env_step_check` will also allow NumPy datatypes that are children of `np.integer` (ex. `np.int32`, `np.int64`, ...) and `np.floating` (ex. `np.float32`, `np.float64`, ...).
The reason is that some gym environment returns the reward in various NumPy "float" and "integer" datatypes... | https://api.github.com/repos/openai/gym/pulls/2879 | 2022-06-10T13:37:50Z | 2022-06-10T15:10:53Z | 2022-06-10T15:10:53Z | 2022-06-10T15:10:54Z | 166 | openai/gym | 5,866 |
【third-party】Meter reading and ID identification | diff --git a/doc/doc_ch/thirdparty.md b/doc/doc_ch/thirdparty.md
index a789e5b6d1..91d18b3a8b 100644
--- a/doc/doc_ch/thirdparty.md
+++ b/doc/doc_ch/thirdparty.md
@@ -28,6 +28,7 @@ PaddleOCR希望可以通过AI的力量助力任何一位有梦想的开发者实
| 垂类工具 | [id_card_ocr](https://github.com/baseli/id_card_ocr) | 身份证复印件识别 | [baseli](h... | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/5388 | 2022-02-07T00:49:46Z | 2022-02-09T06:17:55Z | 2022-02-09T06:17:55Z | 2022-02-09T06:17:55Z | 479 | PaddlePaddle/PaddleOCR | 42,648 | |
Fix Windows installer tests | diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml
index f4039987c78..7862116e851 100644
--- a/.azure-pipelines/templates/jobs/packaging-jobs.yml
+++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml
@@ -103,7 +103,7 @@ jobs:
# a recent version... | [Windows installer tests failed last night](https://dev.azure.com/certbot/certbot/_build/results?buildId=2916&view=results) because they suddenly switched to Python 3.9. See [here](https://dev.azure.com/certbot/certbot/_build/results?buildId=2918&view=logs&j=253b2422-a4e1-591a-b15c-71c2950d5206&t=aa6f1083-b4b0-5a08-073... | https://api.github.com/repos/certbot/certbot/pulls/8413 | 2020-10-28T19:39:45Z | 2020-10-28T21:12:33Z | 2020-10-28T21:12:33Z | 2020-10-28T21:12:36Z | 212 | certbot/certbot | 1,621 |
Now more faster and efficient. | diff --git a/youtube-downloader fast.py b/youtube-downloader fast.py
index 450789ded5..1cf00118af 100644
--- a/youtube-downloader fast.py
+++ b/youtube-downloader fast.py
@@ -1,18 +1,13 @@
-# Script Created by Yash Ladha
-# Requirements:
-# youtube-dl
-# aria2c
-# 10 Feb 2017
+'''
+Author: Anshu Saini
+GitHub: ht... | Try to make the code simpler/faster for the user interface. | https://api.github.com/repos/geekcomputers/Python/pulls/1120 | 2020-10-11T18:07:24Z | 2020-10-23T07:35:35Z | 2020-10-23T07:35:35Z | 2020-10-23T07:35:35Z | 279 | geekcomputers/Python | 31,662 |
templates: simplify tool in gemini-functions-agent | diff --git a/templates/gemini-functions-agent/gemini_functions_agent/agent.py b/templates/gemini-functions-agent/gemini_functions_agent/agent.py
index 79aba8a9445bb9..1f1c756d7c42f4 100644
--- a/templates/gemini-functions-agent/gemini_functions_agent/agent.py
+++ b/templates/gemini-functions-agent/gemini_functions_agen... | https://api.github.com/repos/langchain-ai/langchain/pulls/17282 | 2024-02-09T03:04:28Z | 2024-02-09T03:09:27Z | 2024-02-09T03:09:27Z | 2024-02-09T03:09:27Z | 227 | langchain-ai/langchain | 43,301 | |
update pipeline model initializer | diff --git a/colossalai/builder/__init__.py b/colossalai/builder/__init__.py
index 6c1105a2d39c..4caef0c96b8e 100644
--- a/colossalai/builder/__init__.py
+++ b/colossalai/builder/__init__.py
@@ -1,10 +1,10 @@
from .builder import (build_schedule, build_lr_scheduler, build_model, build_optimizer, build_layer,
... | We kept the original PipelineModelInitializer, but renamed it to build_pipeline_model_from_cfg. We add a new function to build the pipeline parallel model: build_pipeline_model. User must pass a `torch.nn.Sequential` to this function.
Usage:
```python
from colossalai.builder import build_pipeline_model_from_cfg, b... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/77 | 2021-12-16T09:32:29Z | 2021-12-16T09:33:31Z | 2021-12-16T09:33:31Z | 2021-12-16T09:33:31Z | 2,236 | hpcaitech/ColossalAI | 11,266 |
Switch to pybuild | diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index 45149aa16d6..00000000000
--- a/debian/clean
+++ /dev/null
@@ -1 +0,0 @@
-*.egg-info/*
diff --git a/debian/control b/debian/control
index c140eccb5a0..c795b8eb9e5 100644
--- a/debian/control
+++ b/debian/control
@@ -3,14 +3,13 @@ Section: python
Pr... | This is the more modern way of packaging Python applications:
https://wiki.debian.org/Python/Pybuild
| https://api.github.com/repos/certbot/certbot/pulls/141 | 2014-12-21T06:43:38Z | 2014-12-21T23:59:53Z | 2014-12-21T23:59:53Z | 2016-05-06T19:21:41Z | 568 | certbot/certbot | 684 |
Add Protocol to factory pattern | diff --git a/patterns/creational/factory.py b/patterns/creational/factory.py
index 8dba488d..a1beffa8 100644
--- a/patterns/creational/factory.py
+++ b/patterns/creational/factory.py
@@ -21,6 +21,14 @@
*TL;DR
Creates objects without having to specify the exact class.
"""
+from typing import Dict
+from typing import ... | This PR adds a Protocol to factory pattern, reinforcing the object types.
Resolve #402 | https://api.github.com/repos/faif/python-patterns/pulls/403 | 2023-01-20T16:26:23Z | 2023-01-27T22:37:16Z | 2023-01-27T22:37:16Z | 2023-01-27T22:37:17Z | 241 | faif/python-patterns | 33,721 |
kucoin deposit fee struct | diff --git a/js/kucoin.js b/js/kucoin.js
index c670813a8353..a45fc8f718a9 100644
--- a/js/kucoin.js
+++ b/js/kucoin.js
@@ -164,7 +164,7 @@ module.exports = class kucoin extends Exchange {
'DRGN': 1.0,
'ACT': 0.1,
},
- 'deposit': 0... | https://api.github.com/repos/ccxt/ccxt/pulls/2091 | 2018-02-28T20:35:46Z | 2018-02-28T21:53:51Z | 2018-02-28T21:53:51Z | 2021-03-11T13:45:38Z | 115 | ccxt/ccxt | 13,661 | |
Swap out with updated AMI image IDs | diff --git a/letstest/targets/targets.yaml b/letstest/targets/targets.yaml
index 502205b8bbe..ed00d6e2b57 100644
--- a/letstest/targets/targets.yaml
+++ b/letstest/targets/targets.yaml
@@ -5,38 +5,40 @@
targets:
#-----------------------------------------------------------------------------
- #Ubuntu
- - ami: am... | - Related to log failures: [Example](https://dev.azure.com/certbot/certbot/_build/results?buildId=7097&view=logs&j=9d9056dd-6d3a-5ab9-4437-796135c21b43&t=b7b5de09-bf79-583a-8b7d-ab998b2e2a8b)
- Added comments for other OS links as well
| https://api.github.com/repos/certbot/certbot/pulls/9770 | 2023-09-20T19:52:57Z | 2023-09-20T20:03:53Z | 2023-09-20T20:03:53Z | 2023-09-20T20:03:54Z | 559 | certbot/certbot | 2,541 |
Create change_brightness.py | diff --git a/digital_image_processing/change_brightness.py b/digital_image_processing/change_brightness.py
new file mode 100644
index 000000000000..97493f1a399e
--- /dev/null
+++ b/digital_image_processing/change_brightness.py
@@ -0,0 +1,26 @@
+from PIL import Image
+
+
+def change_brightness(img: Image, level: float) ... | ### **Describe your change:**
* [x] Add an algorithm?
* [ ] Fix a bug or typo in an existing algorithm?
* [ ] Documentation change?
### **Checklist:**
* [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md).
* [x] This pull request is all my own work -- I h... | https://api.github.com/repos/TheAlgorithms/Python/pulls/2126 | 2020-06-16T20:06:05Z | 2020-06-17T05:49:21Z | 2020-06-17T05:49:21Z | 2020-06-17T05:49:21Z | 281 | TheAlgorithms/Python | 29,656 |
[Graph] building computing graph with ColoTensor, Linear only | diff --git a/colossalai/tensor/_ops/linear.py b/colossalai/tensor/_ops/linear.py
index 5e3f4934ba2a..9b4225ecc81a 100644
--- a/colossalai/tensor/_ops/linear.py
+++ b/colossalai/tensor/_ops/linear.py
@@ -1,15 +1,14 @@
import torch
from colossalai.tensor.op_wrapper import colo_op_impl
-from colossalai.context import Pa... | Conduction a forward pass under the GraphContext() to build the computing graph.
Add graph-building logic in every customize Ops (now just for linear). Maybe we can reduce the code redundancy by some programing tricks. Any advice? | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/917 | 2022-05-07T04:46:53Z | 2022-05-07T09:10:37Z | 2022-05-07T09:10:37Z | 2022-05-07T09:10:37Z | 2,681 | hpcaitech/ColossalAI | 10,973 |
sort local versions | diff --git a/code/default/launcher/update_from_github.py b/code/default/launcher/update_from_github.py
index faf95532d5..3a5075c8b0 100644
--- a/code/default/launcher/update_from_github.py
+++ b/code/default/launcher/update_from_github.py
@@ -12,6 +12,7 @@
current_path = os.path.dirname(os.path.abspath(__file__))
roo... | https://api.github.com/repos/XX-net/XX-Net/pulls/9135 | 2017-12-21T03:03:37Z | 2017-12-21T04:47:17Z | 2017-12-21T04:47:17Z | 2017-12-21T04:47:17Z | 894 | XX-net/XX-Net | 17,233 | |
Fixed traceback when not run as root | diff --git a/.gitignore b/.gitignore
index 9564cfbc724..54670e6dadb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@ build/
dist/
/venv/
/.tox/
+letsencrypt.log
# coverage
.coverage
diff --git a/letsencrypt/cli.py b/letsencrypt/cli.py
index e719706dd56..741d1a30c85 100644
--- a/letsencrypt/cli.py
+++ b/l... | Looks like the way cli.py was automerged in #558 caused a traceback to be shown when Let's Encrypt is not run as root and the default configuration directories are used. This PR fixes that.
| https://api.github.com/repos/certbot/certbot/pulls/572 | 2015-06-29T19:02:27Z | 2015-07-02T16:20:38Z | 2015-07-02T16:20:38Z | 2016-05-06T19:22:28Z | 2,298 | certbot/certbot | 175 |
Added a script to convert text to audio file | diff --git a/text-to-audio/README.md b/text-to-audio/README.md
new file mode 100644
index 0000000000..e7b6cd9190
--- /dev/null
+++ b/text-to-audio/README.md
@@ -0,0 +1,26 @@
+## Text To Audio
+
+### We are using gtts module for conversion
+
+Requirements: pip install gtts
+
+#### Flow
+
+gtts(Google Text To Speech)
+
+... | https://api.github.com/repos/geekcomputers/Python/pulls/931 | 2020-10-02T02:47:45Z | 2020-10-04T07:35:48Z | 2020-10-04T07:35:48Z | 2020-10-04T07:35:48Z | 534 | geekcomputers/Python | 31,253 | |
Bump peter-evans/find-comment from 2.1.0 to 2.2.0 | diff --git a/.github/workflows/diff_shades_comment.yml b/.github/workflows/diff_shades_comment.yml
index 1375be9788d..26d06090919 100644
--- a/.github/workflows/diff_shades_comment.yml
+++ b/.github/workflows/diff_shades_comment.yml
@@ -33,7 +33,7 @@ jobs:
- name: Try to find pre-existing PR comment
if:... | Bumps [peter-evans/find-comment](https://github.com/peter-evans/find-comment) from 2.1.0 to 2.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/peter-evans/find-comment/releases">peter-evans/find-comment's releases</a>.</em></p>
<blockquote>
<h2>Find Comment v2.2.0</h2>
<h2... | https://api.github.com/repos/psf/black/pulls/3476 | 2022-12-26T06:02:33Z | 2022-12-29T22:00:23Z | 2022-12-29T22:00:23Z | 2022-12-29T22:00:59Z | 205 | psf/black | 24,367 |
Upgrade psutil to 5.4.3 | diff --git a/homeassistant/components/sensor/systemmonitor.py b/homeassistant/components/sensor/systemmonitor.py
index 8e6f7b404fd492..57e03cf153fc75 100755
--- a/homeassistant/components/sensor/systemmonitor.py
+++ b/homeassistant/components/sensor/systemmonitor.py
@@ -16,7 +16,7 @@
import homeassistant.helpers.confi... | ## Description:
Changelog: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#543
## Example entry for `configuration.yaml` (if applicable):
```yaml
sensor:
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /home
- type: memory_free
```
## Checklist:
... | https://api.github.com/repos/home-assistant/core/pulls/11468 | 2018-01-05T17:40:14Z | 2018-01-05T22:30:12Z | 2018-01-05T22:30:12Z | 2019-03-21T04:39:11Z | 265 | home-assistant/core | 39,521 |
[clubic] Rely on _match_id and _parse_json | diff --git a/youtube_dl/extractor/clubic.py b/youtube_dl/extractor/clubic.py
index 2fba9354347..f7ee3a8f8eb 100644
--- a/youtube_dl/extractor/clubic.py
+++ b/youtube_dl/extractor/clubic.py
@@ -1,9 +1,6 @@
# coding: utf-8
from __future__ import unicode_literals
-import json
-import re
-
from .common import InfoExtr... | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your _pull request_ (like that [x])
- Use _Preview_ tab to see how your _pull request_ will actually look like
---
### Before submitting a _pull reques... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/10817 | 2016-09-30T18:04:02Z | 2016-10-01T08:20:12Z | 2016-10-01T08:20:12Z | 2016-10-01T11:52:31Z | 320 | ytdl-org/youtube-dl | 50,583 |
Add Tahoma scenes | diff --git a/homeassistant/components/scene/tahoma.py b/homeassistant/components/scene/tahoma.py
new file mode 100644
index 000000000000..392066239010
--- /dev/null
+++ b/homeassistant/components/scene/tahoma.py
@@ -0,0 +1,48 @@
+"""
+Support for Tahoma scenes.
+
+For more details about this platform, please refer to t... | ## Description:
This adds scenarios from Tahoma into HomeAssistant! Upon restart of HomeAssistant they will automatically be added to your setup!
Finally got around to implementing these scenes from the Tahoma component. They can be added in the Tahoma interface. This cuts down on API calls is a big way. Now on... | https://api.github.com/repos/home-assistant/core/pulls/12498 | 2018-02-18T12:29:16Z | 2018-02-23T12:03:01Z | 2018-02-23T12:03:01Z | 2018-05-29T12:48:33Z | 913 | home-assistant/core | 39,576 |
feat: added simple Dockerfile to quickly run Gradio app | diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..b40f196
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,27 @@
+FROM nvcr.io/nvidia/pytorch:23.05-py3
+
+ENV PYTHONDONTWRITEBYTECODE 1
+ENV PYTHONUNBUFFERED 1
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ make \
+ ... | As per request #111 I added a simple Docker file to run Gradio application and fixed packages version in requirements.txt.
Please, let me know, if you would like also to have access to GUI forwarding or Gradio application local host port forwarding instructions.
| https://api.github.com/repos/XingangPan/DragGAN/pulls/117 | 2023-06-28T20:07:29Z | 2023-06-29T01:27:48Z | 2023-06-29T01:27:48Z | 2023-06-29T01:27:49Z | 663 | XingangPan/DragGAN | 26,832 |
shell plugins give out user friendly type error | diff --git a/changelogs/fragments/shell_env_typeerror.yml b/changelogs/fragments/shell_env_typeerror.yml
new file mode 100644
index 00000000000000..105eefeb72b950
--- /dev/null
+++ b/changelogs/fragments/shell_env_typeerror.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - shell plugins now give a more user friendly error when fed t... | currently they get
```
"msg": "Unexpected failure during module execution.",
"exception": "Traceback (most recent call last):\n File \"/usr/lib/python3.6/site-packages/ansible/executor/task_executor.py\", line 147, in run\n res = self._execute()\n File \"/usr/lib/python3.6/site-packages/ansible/executor/t... | https://api.github.com/repos/ansible/ansible/pulls/77983 | 2022-06-07T14:00:55Z | 2022-06-10T16:55:44Z | 2022-06-10T16:55:44Z | 2022-06-17T13:00:02Z | 593 | ansible/ansible | 48,978 |
Add missing RPM requirement | diff --git a/bootstrap/_rpm_common.sh b/bootstrap/_rpm_common.sh
index 5aca13cd4f4..042332f4bcb 100755
--- a/bootstrap/_rpm_common.sh
+++ b/bootstrap/_rpm_common.sh
@@ -40,6 +40,7 @@ if ! $tool install -y \
augeas-libs \
openssl-devel \
libffi-devel \
+ redhat-rpm-config \
ca-certi... | `redhat-rpm-config` provides the required `/usr/lib/rpm/redhat/redhat-hardened-cc1`.
At least available in Fedora and CentOS. No idea about other RPM distros in this case.
| https://api.github.com/repos/certbot/certbot/pulls/1527 | 2015-11-17T04:16:56Z | 2015-12-02T00:12:31Z | 2015-12-02T00:12:31Z | 2015-12-02T00:12:31Z | 115 | certbot/certbot | 560 |
improved commIssue logging | diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py
index aa7d9f45e78416..712178da8a5a37 100755
--- a/selfdrive/controls/controlsd.py
+++ b/selfdrive/controls/controlsd.py
@@ -244,7 +244,9 @@ def update_events(self, CS):
elif not self.sm.all_alive_and_valid():
self.events.add(Even... | https://api.github.com/repos/commaai/openpilot/pulls/21515 | 2021-07-08T00:55:06Z | 2021-07-08T01:43:41Z | 2021-07-08T01:43:41Z | 2021-07-08T01:43:41Z | 214 | commaai/openpilot | 9,424 | |
add generic.virtualization Qemu | diff --git a/diagrams/generic/virtualization.py b/diagrams/generic/virtualization.py
index 0695fd010..f7f9006a2 100644
--- a/diagrams/generic/virtualization.py
+++ b/diagrams/generic/virtualization.py
@@ -8,6 +8,10 @@ class _Virtualization(_Generic):
_icon_dir = "resources/generic/virtualization"
+class Qemu(_... | We have xen, virtualbox and vmware, so can we have qemu too please :)
Also I've generate the png using autogen, and adding this
```bash
if [ "$pvd" = "onprem" ] || [ "$pvd" = "azure" ] || [ "$pvd" = "generic" ]; then
echo "converting the svg to png using inkscape for provider '$pvd'"
python -m scripts.... | https://api.github.com/repos/mingrammer/diagrams/pulls/868 | 2023-03-21T11:43:58Z | 2023-10-30T14:04:57Z | 2023-10-30T14:04:57Z | 2023-10-30T14:04:58Z | 373 | mingrammer/diagrams | 52,712 |
Bugfix: Fix issue in deep dream example | diff --git a/examples/deep_dream.py b/examples/deep_dream.py
index 4a0e5fd39b7..d97ebcd11f9 100644
--- a/examples/deep_dream.py
+++ b/examples/deep_dream.py
@@ -37,8 +37,8 @@
result_prefix = args.result_prefix
# dimensions of the generated picture.
-img_width = 600
img_height = 600
+img_width = 600
# path to th... | The expression of pictures should be (img_height, img_width, 3) or (3, img_height, img_width), not (img_width, img_height, 3) or (3, img_width, img_height). | https://api.github.com/repos/keras-team/keras/pulls/5153 | 2017-01-24T07:56:36Z | 2017-01-24T17:39:26Z | 2017-01-24T17:39:26Z | 2017-01-24T17:39:26Z | 850 | keras-team/keras | 47,313 |
Backport PR #31423 on branch 1.0.x (PERF: postpone imports in Index constructor) | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 512e52add9807..4fcddb5cade4a 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -278,10 +278,6 @@ def __new__(
) -> "Index":
from pandas.core.indexes.range import RangeIndex
- from pandas impor... | Backport PR #31423: PERF: postpone imports in Index constructor | https://api.github.com/repos/pandas-dev/pandas/pulls/31424 | 2020-01-29T17:25:43Z | 2020-01-29T18:10:44Z | 2020-01-29T18:10:44Z | 2020-01-29T18:23:37Z | 825 | pandas-dev/pandas | 45,323 |
Add 0.25.1 changelog | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5facc5380ae..88251e48ac5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,28 @@
Certbot adheres to [Semantic Versioning](http://semver.org/).
+## 0.25.1 - 2018-06-13
+
+### Fixed
+
+* TLS-ALPN-01 support has been removed from our acme library. Using our current... | https://api.github.com/repos/certbot/certbot/pulls/6111 | 2018-06-13T20:04:22Z | 2018-06-13T21:20:43Z | 2018-06-13T21:20:43Z | 2018-06-13T21:20:46Z | 320 | certbot/certbot | 283 | |
Remove expired cookies | diff --git a/httpie/client.py b/httpie/client.py
index 71a95213c7..65f88e43eb 100644
--- a/httpie/client.py
+++ b/httpie/client.py
@@ -11,14 +11,14 @@
import requests
# noinspection PyPackageRequirements
import urllib3
+from requests.cookies import remove_cookie_by_name
from httpie import __version__
from httpie... | This pull request should fix [#853 ](https://github.com/jakubroztocil/httpie/issues/853) @kbanc @juped | https://api.github.com/repos/httpie/cli/pulls/929 | 2020-06-11T17:03:44Z | 2020-06-15T20:28:04Z | 2020-06-15T20:28:04Z | 2020-06-15T20:28:30Z | 1,875 | httpie/cli | 33,749 |
[fx]patch nn.functional convolution | diff --git a/colossalai/fx/tracer/meta_patch/patched_function/__init__.py b/colossalai/fx/tracer/meta_patch/patched_function/__init__.py
index ca20ac0a9315..a40ca4c39986 100644
--- a/colossalai/fx/tracer/meta_patch/patched_function/__init__.py
+++ b/colossalai/fx/tracer/meta_patch/patched_function/__init__.py
@@ -3,4 +... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/1528 | 2022-08-31T11:14:47Z | 2022-09-01T11:05:07Z | 2022-09-01T11:05:07Z | 2022-09-01T11:05:08Z | 2,911 | hpcaitech/ColossalAI | 11,209 | |
Some cleanup for errorhandling refactor | diff --git a/flask/app.py b/flask/app.py
index 6baee3a621..1f3d39ced9 100644
--- a/flask/app.py
+++ b/flask/app.py
@@ -14,7 +14,7 @@
from datetime import timedelta
from itertools import chain
from functools import update_wrapper
-from collections import Mapping
+from collections import Mapping, deque
from werkzeu... | See #1291
@flying-sheep: Please set your editor to use 4 spaces instead of tabs, and
don't have whitespace in blank lines (use the pep8-tool to check).
| https://api.github.com/repos/pallets/flask/pulls/1431 | 2015-04-11T18:55:03Z | 2015-04-11T22:06:57Z | 2015-04-11T22:06:57Z | 2020-11-14T05:42:43Z | 1,912 | pallets/flask | 20,740 |
Only pass unicode multipart fieldnames to urllib3. | diff --git a/requests/models.py b/requests/models.py
index 55716307fb..db898bca44 100644
--- a/requests/models.py
+++ b/requests/models.py
@@ -105,7 +105,7 @@ def _encode_files(files, data):
for v in val:
if v is not None:
new_fields.append(
- (f... | `filepost.encode_multipart_formdata` says all fieldnames should be unicode and currently that is not the case - https://github.com/shazow/urllib3/blob/master/urllib3/filepost.py#L55 - since requests encodes to bytes here - https://github.com/kennethreitz/requests/blob/master/requests/models.py#L108.
Discovered after p... | https://api.github.com/repos/psf/requests/pulls/1373 | 2013-05-21T08:52:21Z | 2013-05-21T13:19:48Z | 2013-05-21T13:19:48Z | 2021-09-08T10:01:16Z | 374 | psf/requests | 32,961 |
Revert "More thoroughly rename during `certbot rename`. (#4320)" | diff --git a/certbot/cert_manager.py b/certbot/cert_manager.py
index 7b1811c996a..35d539a1691 100644
--- a/certbot/cert_manager.py
+++ b/certbot/cert_manager.py
@@ -13,7 +13,6 @@
from certbot import util
from certbot.display import util as display_util
-from certbot.plugins import disco as plugins_disco
logger =... | This reverts commit 43dccfc67187b0ae3d677fbe0c7fffab20e6179c. | https://api.github.com/repos/certbot/certbot/pulls/4467 | 2017-04-05T19:22:41Z | 2017-04-05T19:45:04Z | 2017-04-05T19:45:04Z | 2017-04-05T19:45:09Z | 3,828 | certbot/certbot | 3,654 |
Improve the Fish Shell function making it faster | diff --git a/thefuck/shells.py b/thefuck/shells.py
index 97d51a431..0bbe01177 100644
--- a/thefuck/shells.py
+++ b/thefuck/shells.py
@@ -126,19 +126,20 @@ def _get_overridden_aliases(self):
return ['cd', 'grep', 'ls', 'man', 'open']
def app_alias(self, fuck):
- return ("set TF_ALIAS {0}\n"
- ... | It works now with no temp file involved, which makes it a lot faster. Also, `history --merge`, although only supported on Fish Shell 2.2+, merges the corrected entry back into history. Neat!
Ref #89
| https://api.github.com/repos/nvbn/thefuck/pulls/384 | 2015-10-16T04:53:23Z | 2015-10-18T17:50:54Z | 2015-10-18T17:50:53Z | 2015-10-18T17:53:29Z | 476 | nvbn/thefuck | 30,514 |
Fixed the error when using Azure OpenAI API | diff --git a/interpreter/core/llm/utils/convert_to_openai_messages.py b/interpreter/core/llm/utils/convert_to_openai_messages.py
index 680ed6954..703f74c5b 100644
--- a/interpreter/core/llm/utils/convert_to_openai_messages.py
+++ b/interpreter/core/llm/utils/convert_to_openai_messages.py
@@ -41,6 +41,9 @@ def convert_t... | Run the interpreter like this:
```console
interpreter --model azure/{engine} --api_base {AZURE_API_BASE} --api_key {AZURE_API_KEY} --api_version {AZURE_API_VERSION}
```
### Describe the changes you have made:
### Reference any relevant issue (Fixes #000)
- [x] I have performed a self-review of my code:
... | https://api.github.com/repos/OpenInterpreter/open-interpreter/pulls/840 | 2023-12-19T08:32:56Z | 2023-12-21T00:07:52Z | 2023-12-21T00:07:52Z | 2023-12-21T09:00:01Z | 381 | OpenInterpreter/open-interpreter | 40,866 |
add license meta to setup.py | diff --git a/setup.py b/setup.py
index d683a432fee9..1e4b0da1ccc5 100644
--- a/setup.py
+++ b/setup.py
@@ -201,6 +201,7 @@ def cuda_ext_helper(name, sources, extra_cuda_flags, extra_cxx_flags=[]):
description='An integrated large-scale model training system with efficient parallelization techniques',
long_des... | This PR fixes missing license meta data when using `pip show` | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/427 | 2022-03-16T02:50:50Z | 2022-03-16T04:05:56Z | 2022-03-16T04:05:56Z | 2022-03-17T01:52:58Z | 151 | hpcaitech/ColossalAI | 11,309 |
PERF: cache _get_cython_function in groupby ops | diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py
index 05d75bdda5131..cc623766f58f0 100644
--- a/pandas/core/groupby/ops.py
+++ b/pandas/core/groupby/ops.py
@@ -8,6 +8,7 @@
from __future__ import annotations
import collections
+import functools
from typing import (
Dict,
Generic,
@@ -... | Looking up the exact cython function is relatively costly, and is also something that is done repeatedly for a limited number of possible cases, so a good target for caching.
Using the `GroupManyLabels` benchmark we have:
https://github.com/pandas-dev/pandas/blob/b835ca2fc2f772c27c914ae532cd32f8db69724a/asv_benc... | https://api.github.com/repos/pandas-dev/pandas/pulls/40178 | 2021-03-02T20:03:53Z | 2021-03-03T08:38:05Z | 2021-03-03T08:38:05Z | 2021-03-03T08:38:09Z | 1,374 | pandas-dev/pandas | 44,934 |
Upgrade psutil to 5.6.2 | diff --git a/homeassistant/components/systemmonitor/manifest.json b/homeassistant/components/systemmonitor/manifest.json
index 591e710a871dff..b79f7aed20f02c 100644
--- a/homeassistant/components/systemmonitor/manifest.json
+++ b/homeassistant/components/systemmonitor/manifest.json
@@ -3,7 +3,7 @@
"name": "Systemmon... | ## Description:
Changelog: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#562
## Example entry for `configuration.yaml` (if applicable):
```yaml
sensor:
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /home
- type: memory_free
```
## Checklist:
... | https://api.github.com/repos/home-assistant/core/pulls/23671 | 2019-05-04T19:17:58Z | 2019-05-04T22:04:05Z | 2019-05-04T22:04:05Z | 2019-05-04T22:04:10Z | 268 | home-assistant/core | 38,891 |
Fix note on ranges. | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index 4dab7634b..36a40d4dc 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -2540,7 +2540,7 @@ Informal/non-explicit ranges are a source of errors.
##### Note
-Ranges are extremely common in C++ code. Typically, they are implicit and their cor... | In this paragraph are at least three more objects that should be typeset as `code`.
| https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/430 | 2015-12-04T10:14:46Z | 2015-12-04T13:31:22Z | 2015-12-04T13:31:22Z | 2015-12-04T13:58:42Z | 321 | isocpp/CppCoreGuidelines | 15,891 |
Update engine.py to avoid torch warning | diff --git a/deepspeed/runtime/engine.py b/deepspeed/runtime/engine.py
index 992d7877c179..9a2b943b0992 100644
--- a/deepspeed/runtime/engine.py
+++ b/deepspeed/runtime/engine.py
@@ -2542,7 +2542,7 @@ def all_gather_scalar(self, value, dp_group):
return tensor_list
def module_state_dict(self, destinatio... | The state_dict function of module.py from torch write a warning if arguments are positional arguments and not keyword arguments | https://api.github.com/repos/microsoft/DeepSpeed/pulls/5408 | 2024-04-12T20:48:05Z | 2024-04-16T20:53:11Z | 2024-04-16T20:53:11Z | 2024-04-16T20:53:55Z | 166 | microsoft/DeepSpeed | 10,441 |
bug fix for password | diff --git a/src/you_get/common.py b/src/you_get/common.py
index 584b3e27cb..899b2cee23 100755
--- a/src/you_get/common.py
+++ b/src/you_get/common.py
@@ -1266,7 +1266,7 @@ def print_version():
download, download_playlist,
URLs, args.playlist,
output_dir=args.output_dir, merge=not... | https://api.github.com/repos/soimort/you-get/pulls/2356 | 2017-09-13T15:42:18Z | 2017-09-16T09:36:33Z | 2017-09-16T09:36:33Z | 2017-09-16T09:36:33Z | 145 | soimort/you-get | 21,359 | |
ADD the algorithms of image augmentation | diff --git a/computer_vision/flip_augmentation.py b/computer_vision/flip_augmentation.py
new file mode 100644
index 000000000000..1272357fd03e
--- /dev/null
+++ b/computer_vision/flip_augmentation.py
@@ -0,0 +1,131 @@
+import glob
+import os
+import random
+from string import ascii_lowercase, digits
+
+import cv2
+
+""... | ### Describe your change:
I want to contribute the algorithms of image augmentation for computer vision task
* [x] Add an algorithm?
* [ ] Fix a bug or typo in an existing algorithm?
* [ ] Documentation change?
### Checklist:
* [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/m... | https://api.github.com/repos/TheAlgorithms/Python/pulls/5792 | 2021-11-07T14:22:51Z | 2021-11-08T05:35:40Z | 2021-11-08T05:35:40Z | 2021-11-08T05:35:40Z | 3,582 | TheAlgorithms/Python | 29,408 |
Warn sysadmins about privilege escalation risk | diff --git a/docs/install.rst b/docs/install.rst
index 35b2624825f..eae40c1f01e 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -11,6 +11,8 @@ About Certbot
*Certbot is meant to be run directly on a web server*, normally by a system administrator. In most cases, running Certbot on your personal computer is n... | Fixes #6242.
Maybe this isn't the best place in the documentation for this warning, since it's extremely prominent but relates to a risk that might not be very important to most users. | https://api.github.com/repos/certbot/certbot/pulls/6795 | 2019-02-26T00:31:31Z | 2019-02-28T00:32:58Z | 2019-02-28T00:32:57Z | 2019-02-28T00:33:02Z | 219 | certbot/certbot | 2,812 |
Added answer "What is a AAAA Record?" | diff --git a/README.md b/README.md
index 8895b8fe3..30a2139bb 100644
--- a/README.md
+++ b/README.md
@@ -6320,11 +6320,12 @@ In general the process is as follows:
A (Address) Maps a host name to an IP address. When a computer has multiple adapter cards and IP addresses, it should have multiple address records.
-
... | Added answer "What is a AAAA Record?" (DNS)
And please, check my grammar. | https://api.github.com/repos/bregman-arie/devops-exercises/pulls/82 | 2020-03-13T01:01:47Z | 2020-03-16T18:41:27Z | 2020-03-16T18:41:27Z | 2020-03-16T18:41:27Z | 153 | bregman-arie/devops-exercises | 17,659 |
[Gemini] rename hooks related to runtime mem tracer | diff --git a/colossalai/gemini/memory_tracer/runtime_mem_tracer.py b/colossalai/gemini/memory_tracer/runtime_mem_tracer.py
index 829e0d4d42b1..ead95535e5a9 100644
--- a/colossalai/gemini/memory_tracer/runtime_mem_tracer.py
+++ b/colossalai/gemini/memory_tracer/runtime_mem_tracer.py
@@ -1,7 +1,7 @@
import torch.nn
f... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/2076 | 2022-12-05T06:08:55Z | 2022-12-05T07:00:03Z | 2022-12-05T07:00:03Z | 2022-12-05T07:00:06Z | 2,334 | hpcaitech/ColossalAI | 11,592 | |
acgan: Use Generator/Discriminator more closely resembling the ones from the referenced paper, and don't train discriminator to produce class labels for generated images | diff --git a/examples/mnist_acgan.py b/examples/mnist_acgan.py
index 3d7a185d0c3..623c69f15e4 100644
--- a/examples/mnist_acgan.py
+++ b/examples/mnist_acgan.py
@@ -34,7 +34,7 @@
from keras import layers
from keras.layers import Input, Dense, Reshape, Flatten, Embedding, Dropout
from keras.layers.advanced_activation... | This depends on PR https://github.com/fchollet/keras/pull/8452, and should be merged after it.
Generator:
1. Remove extra embedding layer.
2. Remove extra 1x1 convolutions.
3. Use transposed convolutions instead of NN upsample+conv (=conv with fractional slides). Note that this corresponds to the paper, but cont... | https://api.github.com/repos/keras-team/keras/pulls/8482 | 2017-11-14T21:11:56Z | 2017-11-25T21:25:37Z | 2017-11-25T21:25:37Z | 2017-11-26T00:32:28Z | 1,411 | keras-team/keras | 47,554 |
FIX report properly `n_iter_` when `warm_start=True` | diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst
index 2b209ee91c027..3e5e5083dd708 100644
--- a/doc/whats_new/v1.3.rst
+++ b/doc/whats_new/v1.3.rst
@@ -179,6 +179,15 @@ Changelog
dissimilarity is not a metric and cannot be supported by the BallTree.
:pr:`25417` by :user:`Guillaume Lemaitre <glemaitre... | closes #24764
closes #8713
related to https://github.com/scikit-learn/scikit-learn/issues/25522
In `MLPEstimator`, `n_iter_` does not report the number of iterations of the `fit` call but rather the total number of iterations since the initialization. This is inconsistent with the other estimators as reported in #... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/25443 | 2023-01-20T14:46:21Z | 2023-02-20T15:03:14Z | 2023-02-20T15:03:14Z | 2023-02-20T15:03:15Z | 866 | scikit-learn/scikit-learn | 46,589 |
[3.9] bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141) | diff --git a/Doc/Makefile b/Doc/Makefile
index 05361f2ee2c82f..b8ca1edfbc60a5 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -143,7 +143,7 @@ clean:
venv:
$(PYTHON) -m venv $(VENVDIR)
$(VENVDIR)/bin/python3 -m pip install -U pip setuptools
- $(VENVDIR)/bin/python3 -m pip install -U Sphinx==2.2.0 blurb python-docs... | (cherry picked from commit 589e8fe07934a8585d6c5c31d12ae5f766b8fec7)
Co-authored-by: Ned Deily <nad@python.org>
<!-- issue-number: [bpo-40204](https://bugs.python.org/issue40204) -->
https://bugs.python.org/issue40204
<!-- /issue-number -->
| https://api.github.com/repos/python/cpython/pulls/21146 | 2020-06-25T11:22:25Z | 2020-06-25T11:28:48Z | 2020-06-25T11:28:48Z | 2020-06-25T11:29:02Z | 359 | python/cpython | 4,629 |
Outpainting mk2, deterministic seed | diff --git a/scripts/outpainting_mk_2.py b/scripts/outpainting_mk_2.py
index 11613ca36a0..a6468e09ab5 100644
--- a/scripts/outpainting_mk_2.py
+++ b/scripts/outpainting_mk_2.py
@@ -85,8 +85,11 @@ def _get_masked_window_rgb(np_mask_grey, hardness=1.):
src_dist = np.absolute(src_fft)
src_phase = src_fft / src_... | Internal function was using np.random.random_sample without a fixed seed, which made the output of outpainting random every time even when global seed was set to a static value.
| https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/1728 | 2022-10-05T14:39:40Z | 2022-10-06T08:23:47Z | 2022-10-06T08:23:47Z | 2022-10-06T08:23:47Z | 257 | AUTOMATIC1111/stable-diffusion-webui | 40,631 |
Integrate automatic releases. | diff --git a/.github/workflows/release-brew.yml b/.github/workflows/release-brew.yml
new file mode 100644
index 0000000000..44de0b6fd9
--- /dev/null
+++ b/.github/workflows/release-brew.yml
@@ -0,0 +1,26 @@
+name: Release on Homebrew
+
+on:
+ workflow_dispatch:
+ inputs:
+ branch:
+ description: "The br... | https://api.github.com/repos/httpie/cli/pulls/1315 | 2022-03-08T19:05:15Z | 2022-03-09T12:26:51Z | 2022-03-09T12:26:51Z | 2022-03-09T12:26:51Z | 1,759 | httpie/cli | 34,050 | |
Fix legacy timetable schedule interval params | diff --git a/airflow/models/dag.py b/airflow/models/dag.py
index 49f6688141fb7..c86d954f39917 100644
--- a/airflow/models/dag.py
+++ b/airflow/models/dag.py
@@ -502,7 +502,7 @@ def __init__(
self.dataset_triggers = list(schedule)
elif isinstance(schedule, Timetable):
timetable = sched... | https://api.github.com/repos/apache/airflow/pulls/25999 | 2022-08-26T21:17:45Z | 2022-08-28T05:08:49Z | 2022-08-28T05:08:49Z | 2022-09-14T07:12:22Z | 410 | apache/airflow | 14,893 | |
image building documentation: adding new provider example | diff --git a/docs/docker-stack/build.rst b/docs/docker-stack/build.rst
index acd043bdb71f5..2b7d47c9cb0dc 100644
--- a/docs/docker-stack/build.rst
+++ b/docs/docker-stack/build.rst
@@ -274,18 +274,28 @@ You should be aware, about a few things:
Examples of image extending
---------------------------
-Example of upgr... | * Current "upgrading provider" example is misleading.
`apache-airflow-providers-docker==2.1.0` is actually a downgrade now days in `apache/airflow:2.2.5` (which shipped with `apache-airflow-providers-docker==2.5.2` ) - so it's more downgrade than upgrade.
That's why I renamed it to "custom" provider version (as it ... | https://api.github.com/repos/apache/airflow/pulls/23128 | 2022-04-20T19:26:04Z | 2022-04-25T20:36:10Z | 2022-04-25T20:36:10Z | 2022-04-26T07:54:02Z | 951 | apache/airflow | 14,838 |
Upgrade colorlog to 4.2.1 | diff --git a/homeassistant/scripts/check_config.py b/homeassistant/scripts/check_config.py
index e96bc57624f9..487d97ffdd86 100644
--- a/homeassistant/scripts/check_config.py
+++ b/homeassistant/scripts/check_config.py
@@ -17,7 +17,7 @@
# mypy: allow-untyped-calls, allow-untyped-defs
-REQUIREMENTS = ("colorlog==4.... | ## Proposed change
<!--
Describe the big picture of your changes here to communicate to the
maintainers why we should accept this pull request. If it fixes a bug
or resolves a feature request, be sure to link to that issue in the
additional information section.
-->
Commit log: https://github.com/borntypi... | https://api.github.com/repos/home-assistant/core/pulls/39159 | 2020-08-22T17:22:39Z | 2020-08-23T10:25:55Z | 2020-08-23T10:25:55Z | 2020-08-23T10:25:57Z | 384 | home-assistant/core | 39,640 |
feat(ui): Make stack trace preview work with Merged Issues | diff --git a/static/app/components/eventOrGroupTitle.tsx b/static/app/components/eventOrGroupTitle.tsx
index 4fce7f8dfa859..0c2d9aad8295a 100644
--- a/static/app/components/eventOrGroupTitle.tsx
+++ b/static/app/components/eventOrGroupTitle.tsx
@@ -2,6 +2,7 @@ import React from 'react';
import styled from '@emotion/st... | Adding stack trace preview support to Merged Issues:

| https://api.github.com/repos/getsentry/sentry/pulls/25302 | 2021-04-15T14:47:14Z | 2021-04-16T08:33:15Z | 2021-04-16T08:33:15Z | 2021-05-01T12:01:04Z | 704 | getsentry/sentry | 44,500 |
Fixed #33004 -- Made saving objects with unsaved GenericForeignKey raise ValueError. | diff --git a/django/db/models/base.py b/django/db/models/base.py
index 556e25510cf21..9aa6d7596ab0b 100644
--- a/django/db/models/base.py
+++ b/django/db/models/base.py
@@ -1072,8 +1072,9 @@ def _do_insert(self, manager, using, fields, returning_fields, raw):
def _prepare_related_fields_for_save(self, operation_... | Tracker ticket: https://code.djangoproject.com/ticket/33004
GFK fields would raise an IntegrityError on save/bulk_create when they have an unsaved related model
Changed to a ValueError to allign with the behaviour of OneToOneField and ForeignKey fields.
Thank you @jonnythebard for the initial patch: https://githu... | https://api.github.com/repos/django/django/pulls/15613 | 2022-04-19T11:27:01Z | 2022-04-21T09:48:33Z | 2022-04-21T09:48:33Z | 2022-04-21T09:48:33Z | 1,307 | django/django | 51,185 |
fix: verify jsonlines file in run_translation (#14660) | diff --git a/examples/pytorch/translation/run_translation.py b/examples/pytorch/translation/run_translation.py
index 0331023ae54cd..f8d326c617061 100755
--- a/examples/pytorch/translation/run_translation.py
+++ b/examples/pytorch/translation/run_translation.py
@@ -216,12 +216,16 @@ def __post_init__(self):
eli... | # What does this PR do?
Fixes #14660
The documentation and the code everywhere mention jsonlines file except in the actual code where the verification was for json file instead.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] ... | https://api.github.com/repos/huggingface/transformers/pulls/14661 | 2021-12-07T16:27:33Z | 2021-12-08T18:25:31Z | 2021-12-08T18:25:30Z | 2021-12-08T18:25:31Z | 289 | huggingface/transformers | 11,952 |
fix sorted | diff --git a/tools/infer/predict_system.py b/tools/infer/predict_system.py
index e0f2c41fa2..f12fd626c8 100755
--- a/tools/infer/predict_system.py
+++ b/tools/infer/predict_system.py
@@ -116,7 +116,10 @@ def sorted_boxes(dt_boxes):
sorted boxes(array) with shape [4, 2]
"""
num_boxes = dt_boxes.shape[... | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/7856 | 2022-10-10T02:56:22Z | 2022-10-10T02:56:30Z | 2022-10-10T02:56:30Z | 2022-10-10T02:56:30Z | 217 | PaddlePaddle/PaddleOCR | 42,752 | |
Adding bqplot to the data visualization section | diff --git a/README.md b/README.md
index 9ab5869e5..594caf6b5 100644
--- a/README.md
+++ b/README.md
@@ -345,6 +345,7 @@ Inspired by [awesome-php](https://github.com/ziadoz/awesome-php).
* [Altair](https://github.com/altair-viz/altair) - Declarative statistical visualization library for Python.
* [Bokeh](https://gi... | ## What is this Python project?
bqplot is one of the leading libraries in using the Jupyter widgets infrastructure to enable seamless interactive plotting!
## What's the difference between this Python project and similar ones?
bqplot is the first library to provide seamless bi-directional communication between... | https://api.github.com/repos/vinta/awesome-python/pulls/946 | 2017-10-04T19:03:38Z | 2017-11-30T17:41:45Z | 2017-11-30T17:41:45Z | 2017-12-04T07:56:33Z | 217 | vinta/awesome-python | 27,327 |
Modify doc description | diff --git a/README.md b/README.md
index d838c29b43..8e0c6075a0 100644
--- a/README.md
+++ b/README.md
@@ -163,7 +163,7 @@ python3 -m fastchat.serve.cli --model-path lmsys/vicuna-7b-v1.5 --device xpu
```
Vicuna-7B can run on an Intel Arc A770 16GB.
-#### Ascend NPU (Huawei AI Processor)
+#### Ascend NPU
Install th... | <!-- Thank you for your contribution! -->
<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. -->
## Why are these changes needed?
<!-- Please give a short summary of the change and the problem ... | https://api.github.com/repos/lm-sys/FastChat/pulls/2859 | 2023-12-25T09:03:11Z | 2023-12-28T07:17:52Z | 2023-12-28T07:17:52Z | 2023-12-28T07:17:52Z | 504 | lm-sys/FastChat | 41,744 |
Add "take a copy for immediate local use" case to F.16 | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index 0a09b42a3..9291061bc 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -3007,7 +3007,8 @@ When copying is cheap, nothing beats the simplicity and safety of copying, and f
For advanced uses (only), where you really need to optimize for rvalues... | Closes #2170 | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/2172 | 2024-01-18T21:45:08Z | 2024-04-11T17:24:34Z | 2024-04-11T17:24:34Z | 2024-04-11T17:24:35Z | 330 | isocpp/CppCoreGuidelines | 16,060 |
Implement support for PEP 646 | diff --git a/CHANGES.md b/CHANGES.md
index 8f43431c842..6bc67f9db06 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -56,6 +56,8 @@
- [PEP 654](https://peps.python.org/pep-0654/#except) syntax (for example,
`except *ExceptionGroup:`) is now supported (#3016)
+- [PEP 646](https://peps.python.org/pep-0646) syntax (for e... | Fixes #3014 | https://api.github.com/repos/psf/black/pulls/3071 | 2022-05-12T12:05:37Z | 2022-05-26T16:45:23Z | 2022-05-26T16:45:23Z | 2022-05-26T16:45:23Z | 3,379 | psf/black | 23,656 |
NO_MESS_SYSTEM support | diff --git a/code/default/gae_proxy/local/cert_util.py b/code/default/gae_proxy/local/cert_util.py
index 2de52f5de4..8b9c597e07 100644
--- a/code/default/gae_proxy/local/cert_util.py
+++ b/code/default/gae_proxy/local/cert_util.py
@@ -314,6 +314,7 @@ def win32_notify( msg="msg", title="Title"):
@staticmethod
... | User can use env var or config to prevent XX-Net from modifying system | https://api.github.com/repos/XX-net/XX-Net/pulls/7777 | 2017-10-30T02:16:54Z | 2017-10-30T04:45:45Z | 2017-10-30T04:45:45Z | 2017-11-22T08:38:19Z | 3,488 | XX-net/XX-Net | 17,207 |
Fix typo | diff --git a/README.md b/README.md
index e7a73ed..30e1f87 100644
--- a/README.md
+++ b/README.md
@@ -1196,7 +1196,7 @@ True
True
```
-Accessing` classm` or `method` twice, creates equal but not *same* objects for the same instance of `SomeClass`.
+Accessing `classm` or `method` twice, creates equal but not *same* o... | https://api.github.com/repos/satwikkansal/wtfpython/pulls/312 | 2023-08-27T14:39:10Z | 2023-08-27T19:54:50Z | 2023-08-27T19:54:50Z | 2023-08-27T19:54:50Z | 154 | satwikkansal/wtfpython | 25,796 | |
Toyota: remove unecessary ECUs for fingerprinting | diff --git a/selfdrive/car/tests/test_fw_fingerprint.py b/selfdrive/car/tests/test_fw_fingerprint.py
index 18868c3e417a83..ed5edbef313633 100755
--- a/selfdrive/car/tests/test_fw_fingerprint.py
+++ b/selfdrive/car/tests/test_fw_fingerprint.py
@@ -245,7 +245,7 @@ def _assert_timing(self, avg_time, ref_time):
def test... | Mainly want to remove sub-addressed ECUs to speed up startup and reduce possible issues on 0x750
startup time (minus vin) for toyota should drop from 2.35s to 1.15s! | https://api.github.com/repos/commaai/openpilot/pulls/32235 | 2024-04-17T06:58:46Z | 2024-04-17T07:09:21Z | 2024-04-17T07:09:20Z | 2024-04-17T07:09:37Z | 1,731 | commaai/openpilot | 9,853 |
subset_generation | diff --git a/ciphers/morse_Code_implementation.py b/ciphers/morse_Code_implementation.py
new file mode 100644
index 000000000000..7b2d0a94b24b
--- /dev/null
+++ b/ciphers/morse_Code_implementation.py
@@ -0,0 +1,82 @@
+# Python program to implement Morse Code Translator
+
+
+# Dictionary representing the morse code char... | generate all possible subset of size n of a given array of size r | https://api.github.com/repos/TheAlgorithms/Python/pulls/326 | 2018-07-08T10:44:48Z | 2019-05-26T16:37:40Z | 2019-05-26T16:37:40Z | 2019-05-26T16:37:40Z | 1,066 | TheAlgorithms/Python | 30,068 |
ctransformers: Fix up model_type name consistency | diff --git a/README.md b/README.md
index 9201df13af..477f9ce04e 100644
--- a/README.md
+++ b/README.md
@@ -260,7 +260,7 @@ Optionally, you can use the following command-line flags:
| Flag | Description |
|-------------|-------------|
-| `--model_type MODEL_TYPE` | Model type of pre-quantized model. Currently... | Although the ctransformers backend will strip non-alphanumeric characters for the model_type comparison, for the sake of consistency, use the model_type as is as found in the LLM class found in ctransformers.
## Checklist:
- [X] I have read the [Contributing guidelines](https://github.com/oobabooga/text-generatio... | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/3567 | 2023-08-14T04:36:21Z | 2023-08-14T18:17:24Z | 2023-08-14T18:17:24Z | 2023-08-14T18:17:24Z | 608 | oobabooga/text-generation-webui | 26,166 |
Update Divide Operator.py | diff --git a/Divide Operator.py b/Divide Operator.py
index 683d3d2562..3e6468f6da 100644
--- a/Divide Operator.py
+++ b/Divide Operator.py
@@ -1,46 +1,49 @@
-# Python3 program to divide a number
-# by other without using / operator
-
-# Function to find division without
-# using '/' operator
-def division(num1, n... | With this approach, we encapsulate the division operation inside a class named DivisionOperation. The perform_division() method performs the division without using the / operator and returns the result. By using a class, we adhere to OOP principles, making the code more organized and maintainable. | https://api.github.com/repos/geekcomputers/Python/pulls/1929 | 2023-07-20T20:31:04Z | 2023-07-21T09:12:30Z | 2023-07-21T09:12:30Z | 2023-07-30T15:46:09Z | 725 | geekcomputers/Python | 31,262 |
_check_array_lengths properly handles corner cases with None | diff --git a/keras/engine/training.py b/keras/engine/training.py
index 069e914ec4c..b306fb0ef94 100644
--- a/keras/engine/training.py
+++ b/keras/engine/training.py
@@ -200,7 +200,7 @@ def _standardize_sample_weights(sample_weight, output_names):
'sample_weight')
-de... | small part of #6928 and #7046 | https://api.github.com/repos/keras-team/keras/pulls/7063 | 2017-06-21T03:20:06Z | 2017-06-22T04:29:34Z | 2017-06-22T04:29:33Z | 2017-06-22T04:29:34Z | 1,093 | keras-team/keras | 47,612 |
Raise value error for Redis for metadata filter | diff --git a/llama_index/vector_stores/redis.py b/llama_index/vector_stores/redis.py
index 2aa1f0c5c6425..ac578edf5a10c 100644
--- a/llama_index/vector_stores/redis.py
+++ b/llama_index/vector_stores/redis.py
@@ -203,6 +203,10 @@ def query(self, query: VectorStoreQuery, **kwargs: Any) -> VectorStoreQueryResul
... | https://api.github.com/repos/run-llama/llama_index/pulls/3271 | 2023-05-12T23:20:23Z | 2023-05-12T23:26:22Z | 2023-05-12T23:26:22Z | 2023-05-12T23:26:23Z | 193 | run-llama/llama_index | 6,657 | |
chore: remove unnecessary comments | diff --git a/javascript/contextMenus.js b/javascript/contextMenus.js
index 2f32af1b7..7494674d3 100644
--- a/javascript/contextMenus.js
+++ b/javascript/contextMenus.js
@@ -154,12 +154,8 @@ let cancelGenerateForever = function() {
let generateOnRepeatForButtons = function() {
generateOnRepeat('#generate_b... | https://api.github.com/repos/lllyasviel/Fooocus/pulls/1905 | 2024-01-12T21:09:03Z | 2024-02-10T17:51:03Z | 2024-02-10T17:51:03Z | 2024-02-10T17:51:03Z | 177 | lllyasviel/Fooocus | 7,218 | |
updated for the python3 urllib merge | diff --git a/check_internet_con.py b/check_internet_con.py
index 073d828f5f..2e4fa2e2b4 100644
--- a/check_internet_con.py
+++ b/check_internet_con.py
@@ -1,6 +1,11 @@
#!/usr/bin/python3
-import urllib2
+try:
+ # For Python 3.0 and later
+ from urllib.request import urlopen
+except ImportError:
+ # Fall bac... | https://api.github.com/repos/geekcomputers/Python/pulls/481 | 2019-02-20T07:31:10Z | 2019-02-23T21:19:38Z | 2019-02-23T21:19:38Z | 2019-02-23T21:19:38Z | 135 | geekcomputers/Python | 31,569 | |
Add DoodStream .wf TLD | diff --git a/yt_dlp/extractor/doodstream.py b/yt_dlp/extractor/doodstream.py
index 0b4e5ccbd5e..b41da32e510 100644
--- a/yt_dlp/extractor/doodstream.py
+++ b/yt_dlp/extractor/doodstream.py
@@ -6,7 +6,7 @@
class DoodStreamIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?dood\.(?:to|watch|so|pm)/[ed]/(?P<id... | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
</details>
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well e... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/4648 | 2022-08-13T02:49:39Z | 2022-08-14T19:43:04Z | 2022-08-14T19:43:04Z | 2022-08-14T19:43:04Z | 241 | yt-dlp/yt-dlp | 7,533 |
Fix typo in CONTRIBUTING.rst | diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index b5052b310e..01143337bf 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -1,7 +1,7 @@
Contributing to HTTPie
######################
-Bug reports and code and documentation patches are greatly appretiated. You can
+Bug reports and code and documentation pa... | https://api.github.com/repos/httpie/cli/pulls/417 | 2015-11-27T14:02:55Z | 2016-01-01T20:57:48Z | 2016-01-01T20:57:48Z | 2016-01-01T20:57:57Z | 128 | httpie/cli | 34,091 | |
Disallow setting embed query param using set_query_param method | diff --git a/lib/streamlit/commands/query_params.py b/lib/streamlit/commands/query_params.py
index 7750ee8c2afe..b15e753aa1d6 100644
--- a/lib/streamlit/commands/query_params.py
+++ b/lib/streamlit/commands/query_params.py
@@ -15,10 +15,16 @@
import urllib.parse as parse
from typing import Any, Dict, List
+from str... | <!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two ... | https://api.github.com/repos/streamlit/streamlit/pulls/6019 | 2023-01-27T09:21:19Z | 2023-02-24T19:55:28Z | 2023-02-24T19:55:28Z | 2023-06-02T18:26:02Z | 2,154 | streamlit/streamlit | 22,304 |
Fix `ConditionalDetrForSegmentation` doc example | diff --git a/src/transformers/models/conditional_detr/modeling_conditional_detr.py b/src/transformers/models/conditional_detr/modeling_conditional_detr.py
index 6ce8596592707..a0a45b9dd7239 100644
--- a/src/transformers/models/conditional_detr/modeling_conditional_detr.py
+++ b/src/transformers/models/conditional_detr/... | # What does this PR do?
Need this change after PR #20160. This was done for `DetrForSegmentation`, but we missed it for `ConditionalDetrForSegmentation` | https://api.github.com/repos/huggingface/transformers/pulls/20531 | 2022-12-01T11:32:42Z | 2022-12-01T15:50:00Z | 2022-12-01T15:50:00Z | 2022-12-01T15:53:02Z | 209 | huggingface/transformers | 12,336 |
Update basic_maths.py | diff --git a/maths/basic_maths.py b/maths/basic_maths.py
index 58e797772a28..26c52c54983e 100644
--- a/maths/basic_maths.py
+++ b/maths/basic_maths.py
@@ -57,6 +57,8 @@ def number_of_divisors(n: int) -> int:
temp += 1
n = int(n / i)
div *= temp
+ if n > 1:
+ div *= 2
... | ### Describe your change:
* [ ] Add an algorithm?
* [X] Fix a bug or typo in an existing algorithm?
* [ ] Documentation change?
### Checklist:
* [X] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md).
* [X] This pull request is all my own work -- I have not ... | https://api.github.com/repos/TheAlgorithms/Python/pulls/6017 | 2022-02-23T17:41:27Z | 2022-06-22T04:04:18Z | 2022-06-22T04:04:18Z | 2022-06-22T04:04:19Z | 118 | TheAlgorithms/Python | 29,642 |
[core] Release workflow & Updater maintenance | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d944659b85f..036ce434894 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -80,12 +80,12 @@ on:
default: true
type: boolean
origin:
- description: .
+ description: Origin
... | Some improvements & cleanup for the release/build workflows and Updater:
- [x] Only use trusted publishing w/PyPI; remove support for PyPI token secrets to cleanup the workflow
- [x] Slight refactor to Updater to allow for consistent unit testing with `UPDATE_SOURCES`
- [x] Clean up some improper actions syntax in t... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/8640 | 2023-11-23T05:47:56Z | 2023-12-21T21:06:26Z | 2023-12-21T21:06:26Z | 2023-12-21T21:06:26Z | 1,737 | yt-dlp/yt-dlp | 7,733 |
Add DocTests to diffie.py | diff --git a/ciphers/diffie.py b/ciphers/diffie.py
index 4ff90be009c1..1e1e868999b6 100644
--- a/ciphers/diffie.py
+++ b/ciphers/diffie.py
@@ -1,11 +1,28 @@
from __future__ import annotations
-def find_primitive(n: int) -> int | None:
- for r in range(1, n):
+def find_primitive(modulus: int) -> int | None:... | ### Describe your change:
This PR adds DocTests to the functions in diffie.py to increase its codecoverage from 0% to 46%.
Tested this change locally and can verify that they are passing.
Ref #9943
* [ ] Add an algorithm?
* [ ] Fix a bug or typo in an existing algorithm?
* [ ] Documentation change?
### Ch... | https://api.github.com/repos/TheAlgorithms/Python/pulls/10156 | 2023-10-09T07:47:08Z | 2023-10-09T15:19:05Z | 2023-10-09T15:19:05Z | 2023-10-09T15:19:05Z | 655 | TheAlgorithms/Python | 29,875 |
Traceback coverage | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 892dc7918..bbae40c84 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -21,7 +21,6 @@ repos:
rev: v1.9.0
hooks:
- id: python-check-mock-methods
- - id: python-no-eval
- id: python-no-log-warn
- i... | ## Type of changes
- [ ] Bug fix
- [ ] New feature
- [ ] Documentation / docstrings
- [x] Tests
- [ ] Other
## Checklist
- [x] I've run the latest [black](https://github.com/psf/black) with default args on new code.
- [ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
- [ ] I've added t... | https://api.github.com/repos/Textualize/rich/pulls/1893 | 2022-01-31T14:27:48Z | 2022-01-31T14:32:03Z | 2022-01-31T14:32:02Z | 2022-01-31T14:32:04Z | 268 | Textualize/rich | 48,510 |
add support for mtv81 and refactor rtmpdump to support rtmpdump parameters | diff --git a/src/you_get/common.py b/src/you_get/common.py
index 7375c52442..863cba7cf0 100644
--- a/src/you_get/common.py
+++ b/src/you_get/common.py
@@ -675,21 +675,22 @@ def download_urls_chunked(urls, title, ext, total_size, output_dir='.', refer=No
print()
-def download_rtmp_url(url, playpath, title, ext,... | solved #258.
| https://api.github.com/repos/soimort/you-get/pulls/363 | 2014-07-15T06:28:38Z | 2014-07-15T12:04:59Z | 2014-07-15T12:04:59Z | 2014-07-15T12:04:59Z | 2,058 | soimort/you-get | 21,036 |
local docs build <5s | diff --git a/docs/.local_build.sh b/docs/.local_build.sh
index 8176edb806a035..5f65b130ca402d 100755
--- a/docs/.local_build.sh
+++ b/docs/.local_build.sh
@@ -9,10 +9,10 @@ SCRIPT_DIR="$(cd "$(dirname "$0")"; pwd)"
cd "${SCRIPT_DIR}"
mkdir -p ../_dist
-cp -r . ../_dist
+rsync -ruv . ../_dist
cd ../_dist
poetry ru... | https://api.github.com/repos/langchain-ai/langchain/pulls/14096 | 2023-12-01T00:39:53Z | 2023-12-01T01:39:30Z | 2023-12-01T01:39:30Z | 2023-12-01T01:39:31Z | 371 | langchain-ai/langchain | 42,972 | |
Always return bridge as fallback network | diff --git a/localstack/utils/container_networking.py b/localstack/utils/container_networking.py
index 61d777397b291..fa3223f75feb8 100644
--- a/localstack/utils/container_networking.py
+++ b/localstack/utils/container_networking.py
@@ -28,17 +28,22 @@ def get_main_container_network() -> Optional[str]:
... | In some cases the returned network was actually None here, which wasn't really handled anywhere downstream and was also in conflict with the method description. Returning and trying to use the `bridge` network here instead should still be a more sensible default.
## Changes
- `get_main_container_network` now also r... | https://api.github.com/repos/localstack/localstack/pulls/8151 | 2023-04-17T09:53:36Z | 2023-04-18T16:47:23Z | 2023-04-18T16:47:23Z | 2023-05-04T05:47:27Z | 359 | localstack/localstack | 28,987 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.