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 |
|---|---|---|---|---|---|---|---|---|---|---|
Add some properties to NotionDBLoader | diff --git a/libs/langchain/langchain/document_loaders/notiondb.py b/libs/langchain/langchain/document_loaders/notiondb.py
index d7728efcc88da8..e24d6fe555cf69 100644
--- a/libs/langchain/langchain/document_loaders/notiondb.py
+++ b/libs/langchain/langchain/document_loaders/notiondb.py
@@ -130,6 +130,14 @@ def load_pag... | <!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant... | https://api.github.com/repos/langchain-ai/langchain/pulls/13358 | 2023-11-14T17:46:08Z | 2023-11-15T04:31:12Z | 2023-11-15T04:31:12Z | 2023-11-15T20:33:05Z | 230 | langchain-ai/langchain | 43,613 |
Fix a grammar mistake in the docs | diff --git a/docs/extensiondev.rst b/docs/extensiondev.rst
index 9a4cd14c5e..9119abdb9a 100644
--- a/docs/extensiondev.rst
+++ b/docs/extensiondev.rst
@@ -35,7 +35,7 @@ called ``flask_something`` users would import it as
``flask.ext.something``. This is done to transition from the old
namespace packages. See :ref:`... | https://api.github.com/repos/pallets/flask/pulls/1798 | 2016-05-05T17:24:14Z | 2016-05-05T17:27:45Z | 2016-05-05T17:27:45Z | 2020-11-14T04:52:53Z | 191 | pallets/flask | 20,287 | |
[Serve] Fix Serve Release Tests | diff --git a/python/ray/serve/benchmarks/cluster.yaml b/python/ray/serve/benchmarks/cluster.yaml
index 831f0f1ff3cb4..0a43885334533 100644
--- a/python/ray/serve/benchmarks/cluster.yaml
+++ b/python/ray/serve/benchmarks/cluster.yaml
@@ -1,7 +1,7 @@
cluster_name: default
-min_workers: 22
-max_workers: 22
-initial_worke... | <!-- 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/12777 | 2020-12-11T05:50:33Z | 2020-12-11T19:53:48Z | 2020-12-11T19:53:48Z | 2020-12-29T17:46:55Z | 3,391 | ray-project/ray | 19,807 |
[iqiyi] update key | diff --git a/src/you_get/extractors/iqiyi.py b/src/you_get/extractors/iqiyi.py
index 2359d1a9b9..1f1245906f 100644
--- a/src/you_get/extractors/iqiyi.py
+++ b/src/you_get/extractors/iqiyi.py
@@ -12,6 +12,10 @@
'''
Changelog:
+-> http://www.iqiyi.com/common/flashplayer/20150810/MainPlayer_5_2_26_c3_3_7_1.swf
+ htt... | <!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/soimort/you-get/593)
<!-- Reviewable:end -->
| https://api.github.com/repos/soimort/you-get/pulls/593 | 2015-08-12T04:55:10Z | 2015-08-12T04:58:13Z | 2015-08-12T04:58:13Z | 2015-08-12T04:58:13Z | 603 | soimort/you-get | 21,235 |
want to add iwata.tv support | diff --git a/src/you_get/common.py b/src/you_get/common.py
index 8d4d2d7683..a7ae299e96 100755
--- a/src/you_get/common.py
+++ b/src/you_get/common.py
@@ -92,6 +92,7 @@
'miaopai' : 'yixia',
'yizhibo' : 'yizhibo',
'youku' : 'youku',
+ 'iwara' : 'iwara',
'you... | https://api.github.com/repos/soimort/you-get/pulls/2107 | 2017-06-26T16:03:09Z | 2017-08-27T02:04:43Z | 2017-08-27T02:04:43Z | 2017-08-27T02:04:43Z | 705 | soimort/you-get | 21,253 | |
Remove wheel hack in windows installer construction script | diff --git a/tools/dev_constraints.txt b/tools/dev_constraints.txt
index 43a27a3d083..2cc2039ea9b 100644
--- a/tools/dev_constraints.txt
+++ b/tools/dev_constraints.txt
@@ -83,10 +83,10 @@ PyGithub==1.52
Pygments==2.2.0
pyjwt==1.7.1
pylint==2.4.3
+pynacl==1.3.0
# If pynsist version is upgraded, our NSIS template wi... | In #8649 we added some code to trick pynsist and make it understand that `abi3` wheels for Windows are forward compatible, meaning that the cryptography wheel tagged `cp36-abi3` is in fact compatible with Python 3.6+, and not only Python 3.6.
Since pynsist 2.7 the tool now understand `abi3` wheels properly, and this... | https://api.github.com/repos/certbot/certbot/pulls/8752 | 2021-03-28T21:16:42Z | 2021-04-02T17:37:20Z | 2021-04-02T17:37:20Z | 2021-04-02T17:37:20Z | 653 | certbot/certbot | 2,070 |
[soundcloud] Adding likes support to SoundcloudUserIE | diff --git a/test/test_playlists.py b/test/test_playlists.py
index 994b1d4b057..3a88cf27073 100644
--- a/test/test_playlists.py
+++ b/test/test_playlists.py
@@ -137,6 +137,14 @@ def test_soundcloud_user(self):
self.assertEqual(result['id'], '9615865')
self.assertTrue(len(result['entries']) >= 12)
+ ... | This commit adds support for downloading a user's liked tracks.
Basically, i have modified `SoundcloudUserIE` to also accept likes page url. If the url points to a likes sub-resource then we simply switch the API call `base_url` to `/favorites` instead of `/tracks`.
Additionally, i have modified the pagination loop b... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/3211 | 2014-07-07T18:44:12Z | 2014-07-11T09:07:12Z | 2014-07-11T09:07:12Z | 2014-07-11T09:07:20Z | 764 | ytdl-org/youtube-dl | 50,327 |
Fixed #31376 -- Optimized nulls ordering when possible on SQLite and MySQL. | diff --git a/django/db/backends/base/features.py b/django/db/backends/base/features.py
index 5760b590987df..c2b92ecdee0e0 100644
--- a/django/db/backends/base/features.py
+++ b/django/db/backends/base/features.py
@@ -91,6 +91,9 @@ class BaseDatabaseFeatures:
# Does the backend support NULLS FIRST and NULLS LAST in... | https://code.djangoproject.com/ticket/31376
---
Both backends order `NULL`s first on ascending ordering and last on descending ordering which makes `ORDER BY IS (NOT)? NULL` wasteful when `asc(nulls_first)` and `desc(nulls_last)` are used since it prevents indice usage. | https://api.github.com/repos/django/django/pulls/12583 | 2020-03-18T02:04:58Z | 2020-03-18T06:09:10Z | 2020-03-18T06:09:10Z | 2020-03-22T22:08:43Z | 694 | django/django | 50,914 |
[Update] Added 1 payload | diff --git a/XSS Injection/XSS in Angular.md b/XSS Injection/XSS in Angular.md
index 1749a9a8b9..5a2be103d2 100644
--- a/XSS Injection/XSS in Angular.md
+++ b/XSS Injection/XSS in Angular.md
@@ -149,6 +149,14 @@ AngularJS 1.0.1 - 1.1.5 and Vue JS
{{constructor.constructor('alert(1)')()}}
```
+### Advanced bypassi... | Added one payload which executes without any usage of (`'`)single-quotes or (`"`)double-quotes. Helpful when you have AngularJS injection but quotes are blocked by the application.
Working proof of payload here:
https://portswigger-labs.net/xss/angularjs.php?type=reflected&csp=0&version=1.6.0&x={{x=valueOf.name.... | https://api.github.com/repos/swisskyrepo/PayloadsAllTheThings/pulls/233 | 2020-08-15T11:00:32Z | 2020-08-17T10:03:47Z | 2020-08-17T10:03:47Z | 2020-08-17T10:03:47Z | 189 | swisskyrepo/PayloadsAllTheThings | 8,541 |
Cover Scrapy 1.8.0 in the release notes | diff --git a/docs/news.rst b/docs/news.rst
index 8dfe8693c7a..669844045e3 100644
--- a/docs/news.rst
+++ b/docs/news.rst
@@ -6,6 +6,209 @@ Release notes
.. note:: Scrapy 1.x will be the last series supporting Python 2. Scrapy 2.0,
planned for Q4 2019 or Q1 2020, will support **Python 3 only**.
+.. _releas... | Last covered commit: 7731814cc25c57fe31db9ba749450cd5a27eed39
Also covers #4092 | https://api.github.com/repos/scrapy/scrapy/pulls/3952 | 2019-08-12T10:10:14Z | 2019-10-29T11:53:46Z | 2019-10-29T11:53:46Z | 2019-10-29T11:53:47Z | 3,791 | scrapy/scrapy | 35,103 |
Deprecate ds.lazy() since Dataset is lazy already | diff --git a/python/ray/data/dataset.py b/python/ray/data/dataset.py
index 76d50afbe9244..199dca052df4f 100644
--- a/python/ray/data/dataset.py
+++ b/python/ray/data/dataset.py
@@ -4131,6 +4131,10 @@ def get_internal_block_refs(self) -> List[ObjectRef[Block]]:
self._synchronize_progress_bar()
return b... | <!-- 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/33812 | 2023-03-28T18:05:57Z | 2023-03-29T22:19:57Z | 2023-03-29T22:19:57Z | 2023-03-29T22:19:57Z | 160 | ray-project/ray | 19,221 |
Remove Default Detector log line. | diff --git a/certbot/cli.py b/certbot/cli.py
index 62246227847..498a945d685 100644
--- a/certbot/cli.py
+++ b/certbot/cli.py
@@ -207,13 +207,15 @@ def set_by_cli(var):
# propagate plugin requests: eg --standalone modifies config.authenticator
detector.authenticator, detector.installer = (
... | This produces a super-long log line that wraps to 30-60 lines, depending on
screen width. Even though it's just at debug level, it clutters up the integration
test output without providing proportional debugging value. | https://api.github.com/repos/certbot/certbot/pulls/5372 | 2018-01-06T01:45:25Z | 2018-01-24T23:01:42Z | 2018-01-24T23:01:42Z | 2018-01-24T23:04:25Z | 213 | certbot/certbot | 48 |
[ie/LBRY] Fix original format extraction | diff --git a/yt_dlp/extractor/lbry.py b/yt_dlp/extractor/lbry.py
index 6af64f0df4a..7dd3a486130 100644
--- a/yt_dlp/extractor/lbry.py
+++ b/yt_dlp/extractor/lbry.py
@@ -1,5 +1,6 @@
import functools
import json
+import re
import urllib.parse
from .common import InfoExtractor
@@ -83,7 +84,7 @@ class LBRYIE(LBRYBase... | The site migrated to v4 of its API and broke our extractor's "original" format extraction. This patch hardcodes the v3 API endpoint for the "original" format URLs, which is the same as the embed link found in the JSON LD block in the webpage.
Addresses https://github.com/yt-dlp/yt-dlp/issues/7251#issuecomment-165020... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/7711 | 2023-07-27T18:00:43Z | 2023-07-29T16:01:44Z | 2023-07-29T16:01:44Z | 2023-12-07T15:11:05Z | 634 | yt-dlp/yt-dlp | 7,996 |
Add setup option to Makefile | diff --git a/Makefile b/Makefile
index be062ce73..a2e2d8d3c 100644
--- a/Makefile
+++ b/Makefile
@@ -52,4 +52,7 @@ ingest:
@poetry run python scripts/ingest_folder.py $(call args)
wipe:
- poetry run python scripts/utils.py wipe
\ No newline at end of file
+ poetry run python scripts/utils.py wipe
+
+setup:
+ poetr... | https://api.github.com/repos/zylon-ai/private-gpt/pulls/1368 | 2023-12-05T18:59:22Z | 2023-12-08T09:34:13Z | 2023-12-08T09:34:13Z | 2023-12-08T09:34:13Z | 119 | zylon-ai/private-gpt | 38,616 | |
Update Dockerfile `torch==1.10.2+cu113` | diff --git a/Dockerfile b/Dockerfile
index 95e2cd4af66..a5526189cd9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,8 +10,8 @@ RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
COPY requirements.txt .
RUN python -m pip install --upgrade pip
RUN pip uninstall -y nvidia-tensorboard nvidia-tensorboard-pl... |
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Optimization of the YOLOv5 Docker image dependencies for better performance and compatibility.
### 📊 Key Changes
- Removed explicit installations for `coremltools`, `onnx`, `numpy`, and `Pillow... | https://api.github.com/repos/ultralytics/yolov5/pulls/6669 | 2022-02-17T12:24:40Z | 2022-02-17T12:24:45Z | 2022-02-17T12:24:45Z | 2024-01-19T12:50:26Z | 273 | ultralytics/yolov5 | 25,030 |
adding in try around __import__ to catch invalid files/paths | diff --git a/flask/cli.py b/flask/cli.py
index 58b6fb3a3d..9b8fa2cd21 100644
--- a/flask/cli.py
+++ b/flask/cli.py
@@ -86,7 +86,13 @@ def locate_app(app_id):
module = app_id
app_obj = None
- __import__(module)
+ try:
+ __import__(module)
+ except ImportError:
+ raise NoAppExce... | I'll start this off by saying this may be a naive approach to what appears to be a common thread between a few recent issues (#1926, #1902, #1829). I'm attempting to solve the issue of mistyped or improperly defined app paths reaching the **import** call for the flask app server. Given the way `cli.py` is currently str... | https://api.github.com/repos/pallets/flask/pulls/1950 | 2016-07-08T05:37:27Z | 2016-08-12T13:12:00Z | 2016-08-12T13:12:00Z | 2022-03-07T18:52:53Z | 355 | pallets/flask | 20,308 |
DetectMultiBackend improvements | diff --git a/models/common.py b/models/common.py
index d308244c4a4..2e5d5a198e3 100644
--- a/models/common.py
+++ b/models/common.py
@@ -354,6 +354,7 @@ def __init__(self, weights='yolov5s.pt', device=torch.device('cpu'), dnn=False,
import onnxruntime
providers = ['CUDAExecutionProvider', 'CPU... | Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
<!--
Thank you for submitting a YOLOv5 🚀 Pull Request! We want to make contributing to YOLOv5 as easy and transparent as possible. A few tips to get you started:
- Search existing YOLOv5 [PRs](https://github.com/ultralytics/yolov5/pull) to see if a simi... | https://api.github.com/repos/ultralytics/yolov5/pulls/9269 | 2022-09-03T23:02:04Z | 2022-09-03T23:33:38Z | 2022-09-03T23:33:38Z | 2024-01-19T06:15:36Z | 799 | ultralytics/yolov5 | 25,010 |
Remove extra space from README | diff --git a/README.md b/README.md
index ddf0e91f0..895fcb4cd 100644
--- a/README.md
+++ b/README.md
@@ -46,4 +46,4 @@ The rules are meant for gradual introduction into a code base. We plan to build
## Contributions and LICENSE
Comments and suggestions for improvements are most welcome. We plan to modify and extend... | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/1376 | 2019-03-09T00:53:42Z | 2019-03-09T22:33:20Z | 2019-03-09T22:33:20Z | 2019-03-09T22:33:20Z | 169 | isocpp/CppCoreGuidelines | 15,286 | |
fix format | diff --git a/colossalai/amp/naive_amp/_fp16_optimizer.py b/colossalai/amp/naive_amp/_fp16_optimizer.py
index b1fc621c211c..01842590f432 100644
--- a/colossalai/amp/naive_amp/_fp16_optimizer.py
+++ b/colossalai/amp/naive_amp/_fp16_optimizer.py
@@ -14,7 +14,7 @@
from colossalai.core import global_context as gpc
from co... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/362 | 2022-03-10T03:33:06Z | 2022-03-10T03:33:21Z | 2022-03-10T03:33:21Z | 2022-03-10T03:33:22Z | 337 | hpcaitech/ColossalAI | 11,896 | |
[watchindianporn] Fix parser | diff --git a/youtube_dl/extractor/watchindianporn.py b/youtube_dl/extractor/watchindianporn.py
index ed099beea63..fadc539eefd 100644
--- a/youtube_dl/extractor/watchindianporn.py
+++ b/youtube_dl/extractor/watchindianporn.py
@@ -4,11 +4,7 @@
import re
from .common import InfoExtractor
-from ..utils import (
- un... | ### Before submitting a *pull request* make sure you have:
- [x] At least skimmed through [adding new extractor tutorial](https://github.com/rg3/youtube-dl#adding-support-for-a-new-site) and [youtube-dl coding conventions](https://github.com/rg3/youtube-dl#youtube-dl-coding-conventions) sections
- [x] [Searched](http... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/13415 | 2017-06-17T23:33:29Z | 2017-06-19T21:30:46Z | 2017-06-19T21:30:46Z | 2017-06-20T20:09:52Z | 948 | ytdl-org/youtube-dl | 50,226 |
bugfix: image widget was mis-aligned when node has multiline widget | diff --git a/web/scripts/app.js b/web/scripts/app.js
index 09310c7f8a..bf424058fd 100644
--- a/web/scripts/app.js
+++ b/web/scripts/app.js
@@ -368,7 +368,11 @@ export class ComfyApp {
shiftY = w.last_y;
if (w.computeSize) {
shiftY += w.computeSize()[1] + 4;
- } else {
+ }
+ else if(w.comp... | 

| https://api.github.com/repos/comfyanonymous/ComfyUI/pulls/840 | 2023-07-07T16:48:44Z | 2023-07-08T07:57:04Z | 2023-07-08T07:57:04Z | 2023-07-08T08:31:13Z | 295 | comfyanonymous/ComfyUI | 17,869 |
Improve ingest logs | diff --git a/private_gpt/server/ingest/ingest_service.py b/private_gpt/server/ingest/ingest_service.py
index 3b8373d44..aa2f73c39 100644
--- a/private_gpt/server/ingest/ingest_service.py
+++ b/private_gpt/server/ingest/ingest_service.py
@@ -73,6 +73,7 @@ def _ingest_data(self, file_name: str, file_data: AnyStr) -> list... | https://api.github.com/repos/zylon-ai/private-gpt/pulls/1438 | 2023-12-21T15:33:22Z | 2023-12-21T16:13:46Z | 2023-12-21T16:13:46Z | 2023-12-21T16:13:47Z | 355 | zylon-ai/private-gpt | 38,566 | |
Gate WS :: add book ticker option | diff --git a/js/gate.js b/js/gate.js
index 509bebe6b242..717358ad7b8d 100644
--- a/js/gate.js
+++ b/js/gate.js
@@ -2093,13 +2093,27 @@ module.exports = class gate extends Exchange {
// "index_price": "6531"
// }
//
- const marketId = this.safeString2 (ticker, 'currency_pair... | - add `book_ticker` option to allow the best bid/best ask query
- configurable through an option
Swap
```
n gate watchTicker "BTC/USDT:USDT" --swap
Debugger attached.
2022-12-18T11:43:07.046Z
Node.js: v17.9.0
CCXT v2.4.26
gate.watchTicker (BTC/USDT:USDT)
{
symbol: 'BTC/USDT:USDT',
timestamp... | https://api.github.com/repos/ccxt/ccxt/pulls/16124 | 2022-12-18T11:44:55Z | 2022-12-18T14:10:40Z | 2022-12-18T14:10:40Z | 2022-12-18T14:10:40Z | 1,355 | ccxt/ccxt | 13,791 |
fix dtype handling in 2 optimizers and 1 layer | diff --git a/keras/backend/tensorflow_backend.py b/keras/backend/tensorflow_backend.py
index 8ebd473bf88..4ea7823abf2 100644
--- a/keras/backend/tensorflow_backend.py
+++ b/keras/backend/tensorflow_backend.py
@@ -549,7 +549,7 @@ def dtype(x):
'float32_ref'
```
"""
- return x.dtype.name
+ return... | Update `Adam` and `RMSprop` so dtype of momentum variables matches dtype of corresponding parameter. Shouldn't affect most people unless you're using a mix of dtypes. Would be nice if `K.zeros_like` used the parameter's dtype but that might break a lot of other things. May be worth updating the other optimizers but tho... | https://api.github.com/repos/keras-team/keras/pulls/7088 | 2017-06-22T03:29:00Z | 2017-06-23T20:41:12Z | 2017-06-23T20:41:12Z | 2017-06-26T03:16:18Z | 703 | keras-team/keras | 47,084 |
Update audio_conv_utils.py | diff --git a/keras/applications/audio_conv_utils.py b/keras/applications/audio_conv_utils.py
index daddbbeede1..d8d8cba66a9 100644
--- a/keras/applications/audio_conv_utils.py
+++ b/keras/applications/audio_conv_utils.py
@@ -57,8 +57,8 @@ def preprocess_input(audio_path, dim_ordering='default'):
if n_sample < n_sa... | integer division for python3 | https://api.github.com/repos/keras-team/keras/pulls/5301 | 2017-02-07T04:45:23Z | 2017-02-07T22:40:34Z | 2017-02-07T22:40:34Z | 2017-02-07T22:40:34Z | 232 | keras-team/keras | 47,587 |
Add --verbose-level flag and fix logging level calculations | diff --git a/certbot/certbot/_internal/cli/__init__.py b/certbot/certbot/_internal/cli/__init__.py
index 7d53ad6499b..69192eda81b 100644
--- a/certbot/certbot/_internal/cli/__init__.py
+++ b/certbot/certbot/_internal/cli/__init__.py
@@ -71,6 +71,11 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False):
... | Also, update `dev-cli.ini` example to use new flag.
Although https://github.com/bw2/ConfigArgParse/pull/216 allowed setting a `count` action value in a config file, our default detection system won't let us use that functionality. While we should eventually fix that, for now, let developers have a cli.ini with a hig... | https://api.github.com/repos/certbot/certbot/pulls/8900 | 2021-06-10T22:11:58Z | 2021-06-10T23:45:07Z | 2021-06-10T23:45:07Z | 2021-06-10T23:45:08Z | 1,040 | certbot/certbot | 1,742 |
Update default GitHub assets | diff --git a/utils/downloads.py b/utils/downloads.py
index 433de84b51c..73b8334cb94 100644
--- a/utils/downloads.py
+++ b/utils/downloads.py
@@ -87,9 +87,7 @@ def github_assets(repository, version='latest'):
return file
# GitHub assets
- assets = [
- 'yolov5n.pt', 'yolov5s.pt',... | Avoid intermittent CI fails.
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
<!--
Thank you for submitting a YOLOv5 🚀 Pull Request! We want to make contributing to YOLOv5 as easy and transparent as possible. A few tips to get you started:
- Search existing YOLOv5 [PRs](https://github.com/ultralyti... | https://api.github.com/repos/ultralytics/yolov5/pulls/9573 | 2022-09-25T00:46:32Z | 2022-09-25T00:59:26Z | 2022-09-25T00:59:26Z | 2024-01-19T05:25:08Z | 332 | ultralytics/yolov5 | 25,109 |
Update env.py | diff --git a/backend/alembic/env.py b/backend/alembic/env.py
index 511ed97f90..4ef4e37d1a 100644
--- a/backend/alembic/env.py
+++ b/backend/alembic/env.py
@@ -1,41 +1,31 @@
-from logging.config import fileConfig
+import logging
-import sqlmodel
from alembic import context
from oasst_backend import models # noqa: F... | Here are the improvements that I made:
Imported the logging module and used it to set up the loggers, rather than using the deprecated logging.config.fileConfig function. Renamed the sqlmodel module to models and imported it correctly. Changed the # noqa: F401 comment to a more appropriate # Ignore unused import com... | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/413 | 2023-01-05T17:18:21Z | 2023-01-06T13:59:10Z | 2023-01-06T13:59:10Z | 2023-01-06T15:20:18Z | 760 | LAION-AI/Open-Assistant | 37,759 |
Clarify authenticator interface | diff --git a/letsencrypt/client/auth_handler.py b/letsencrypt/client/auth_handler.py
index 6f0ece53571..984862f461b 100644
--- a/letsencrypt/client/auth_handler.py
+++ b/letsencrypt/client/auth_handler.py
@@ -129,6 +129,7 @@ def _satisfy_challenges(self):
.. todo:: It might be worth it to try different chall... | https://api.github.com/repos/certbot/certbot/pulls/242 | 2015-02-12T09:11:04Z | 2015-02-13T10:14:07Z | 2015-02-13T10:14:07Z | 2016-05-06T19:22:12Z | 2,741 | certbot/certbot | 2,051 | |
Add doctests to primelib.py | diff --git a/maths/primelib.py b/maths/primelib.py
index cf01750cf912..d5c124255e56 100644
--- a/maths/primelib.py
+++ b/maths/primelib.py
@@ -574,6 +574,11 @@ def fib(n):
"""
input: positive integer 'n'
returns the n-th fibonacci term , indexing by 0
+
+ >>> fib(5)
+ 8
+ >>> fib(99)
+ 354224... | ### Describe your change:
* [ ] Add an algorithm?
* [ ] Fix a bug or typo in an existing algorithm?
* [X] 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/10242 | 2023-10-10T17:24:38Z | 2023-10-10T21:07:07Z | 2023-10-10T21:07:07Z | 2023-10-10T21:07:09Z | 179 | TheAlgorithms/Python | 29,422 |
Added missing RuntimeError to builder functions of models that do not currently support feature extraction | diff --git a/timm/models/convmixer.py b/timm/models/convmixer.py
index 55220bc084..854f84a07f 100644
--- a/timm/models/convmixer.py
+++ b/timm/models/convmixer.py
@@ -101,6 +101,9 @@ def forward(self, x):
def _create_convmixer(variant, pretrained=False, **kwargs):
+ if kwargs.get('features_only', None):
+ ... | The following 4 models are missing RuntimeErrors to be raised when `features_only=True` is passed during model creation:
- ConvMixer
- EfficientFormer
- MultiScaleVit
- Xcit
I added the missing guard statement to each constructor function matching the style of the other guard statements from other models. ... | https://api.github.com/repos/huggingface/pytorch-image-models/pulls/1958 | 2023-09-19T02:26:46Z | 2023-09-19T15:19:14Z | 2023-09-19T15:19:14Z | 2023-09-19T15:19:50Z | 564 | huggingface/pytorch-image-models | 16,323 |
Add BlueOak to acceptable licenses | diff --git a/scripts/audit_frontend_licenses.py b/scripts/audit_frontend_licenses.py
index 3c1e612cb259..a5e93952499f 100755
--- a/scripts/audit_frontend_licenses.py
+++ b/scripts/audit_frontend_licenses.py
@@ -40,6 +40,7 @@
"Apache-2.0", # https://opensource.org/licenses/Apache-2.0
"Apache-2.0 WITH LLVM-exc... | ## Describe your changes
Our licenses check is failing because one of the frontend dependencies changed the license to `BlueOak`. We already checked this with legal a couple of weeks ago and its fine to add this to the acceptable licenses.
---
**Contribution License Agreement**
By submitting this pull req... | https://api.github.com/repos/streamlit/streamlit/pulls/8472 | 2024-04-09T23:52:02Z | 2024-04-10T00:34:28Z | 2024-04-10T00:34:28Z | 2024-04-10T00:34:28Z | 222 | streamlit/streamlit | 22,549 |
Update text_client_utils.py | diff --git a/inference/text-client/text_client_utils.py b/inference/text-client/text_client_utils.py
index 71073ff684..1e8c2363f9 100644
--- a/inference/text-client/text_client_utils.py
+++ b/inference/text-client/text_client_utils.py
@@ -9,6 +9,7 @@ class DebugClient:
def __init__(self, backend_url, http_client=r... | This implementation adds a new get_available_models() method to the DebugClient class, which retrieves the list of available model configurations from the API and returns a list of their names. The send_message() method then calls this method and checks if the provided model_config_name is in the list of available mode... | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/2729 | 2023-04-18T22:39:32Z | 2023-04-21T18:44:54Z | 2023-04-21T18:44:54Z | 2023-04-21T18:44:55Z | 319 | LAION-AI/Open-Assistant | 37,448 |
[ie/mixch] Fix extractor | diff --git a/yt_dlp/extractor/mixch.py b/yt_dlp/extractor/mixch.py
index 82a7c325724..b980fd01a82 100644
--- a/yt_dlp/extractor/mixch.py
+++ b/yt_dlp/extractor/mixch.py
@@ -1,6 +1,6 @@
from .common import InfoExtractor
from ..networking.exceptions import HTTPError
-from ..utils import ExtractorError, UserNotLive, url... | Thanks @nipotan for the API endpoint knowledge
Closes #9536
<details open><summary>Template</summary> <!-- OPEN is intentional -->
### Before submitting a *pull request* make sure you have:
- [x] At least skimmed through [contributing guidelines](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/9608 | 2024-04-03T20:36:37Z | 2024-04-03T22:53:42Z | 2024-04-03T22:53:42Z | 2024-04-03T22:53:43Z | 645 | yt-dlp/yt-dlp | 7,981 |
Fixed DoubleArrow Scaling | diff --git a/topics/geometry.py b/topics/geometry.py
index fe98bb11e6..81ca1316e3 100644
--- a/topics/geometry.py
+++ b/topics/geometry.py
@@ -25,8 +25,8 @@ def generate_points(self):
anchors = np.array([
np.cos(a)*RIGHT+np.sin(a)*UP
for a in np.linspace(
- self.start_a... | Previously, only one tip was kept as self.tip and was scaled properly. This meant the first part of the solutionw as to create a list of all tips.
After this, the issue was that draw_at_end defaults to True, and is not preserved. So the list is now a tuple of the tip VMobject and its add_at_end property. Since these... | https://api.github.com/repos/3b1b/manim/pulls/174 | 2018-03-25T20:23:18Z | 2018-03-31T20:07:41Z | 2018-03-31T20:07:41Z | 2018-03-31T20:07:41Z | 1,710 | 3b1b/manim | 18,477 |
Add installation instructions on FreeBSD | diff --git a/README.md b/README.md
index 7505717f0..ec6549bc3 100644
--- a/README.md
+++ b/README.md
@@ -111,6 +111,12 @@ sudo apt install python3-dev python3-pip
sudo pip3 install thefuck
```
+On FreeBSD you can install `The Fuck` with:
+```bash
+sudo portsnap fetch update
+cd /usr/ports/misc/thefuck && sudo make ... | misc/thefuck has recently been committed to the FreeBSD ports tree (https://svnweb.freebsd.org/ports?view=revision&revision=458123). | https://api.github.com/repos/nvbn/thefuck/pulls/770 | 2018-01-08T21:31:16Z | 2018-01-10T20:31:39Z | 2018-01-10T20:31:39Z | 2018-01-11T17:57:32Z | 134 | nvbn/thefuck | 30,729 |
Add account type to Forecast.Solar integration | diff --git a/homeassistant/components/forecast_solar/sensor.py b/homeassistant/components/forecast_solar/sensor.py
index 29ba14ac4638d0..2ad86186652df7 100644
--- a/homeassistant/components/forecast_solar/sensor.py
+++ b/homeassistant/components/forecast_solar/sensor.py
@@ -5,7 +5,12 @@
from homeassistant.components... | ## 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.
-->
This PR will add the `account_type` a... | https://api.github.com/repos/home-assistant/core/pulls/55175 | 2021-08-24T19:24:53Z | 2021-08-25T09:16:23Z | 2021-08-25T09:16:23Z | 2021-08-27T00:02:52Z | 579 | home-assistant/core | 38,826 |
Document common config attributes | diff --git a/src/transformers/configuration_utils.py b/src/transformers/configuration_utils.py
index 621f855a126f4..9aa2440ce9dfe 100755
--- a/src/transformers/configuration_utils.py
+++ b/src/transformers/configuration_utils.py
@@ -34,19 +34,30 @@ class PretrainedConfig(object):
Base class for all configuration c... | # What does this PR do?
This PR adds documentation for the common attributes in all model configs, such as `hidden_size`. It also formats the class attributes to be consistent with the rest of the parameters. | https://api.github.com/repos/huggingface/transformers/pulls/11070 | 2021-04-05T18:41:54Z | 2021-04-05T19:29:02Z | 2021-04-05T19:29:02Z | 2021-04-05T19:29:03Z | 709 | huggingface/transformers | 11,978 |
Add Netlify API | diff --git a/README.md b/README.md
index b2fcab633e..6d75331f54 100644
--- a/README.md
+++ b/README.md
@@ -506,6 +506,7 @@ API | Description | Auth | HTTPS | CORS |
| [Mocky](https://designer.mocky.io/) | Mock user defined test JSON for REST API endpoints | No | Yes | Yes |
| [MY IP](https://www.myip.com/api-docs/) |... | <!-- Thank you for taking the time to work on a Pull Request for this project! -->
<!-- To ensure your PR is dealt with swiftly please check the following: -->
- [x] My submission is formatted according to the guidelines in the [contributing guide](/CONTRIBUTING.md)
- [x] My addition is ordered alphabetically
- [x]... | https://api.github.com/repos/public-apis/public-apis/pulls/2789 | 2021-10-29T15:12:53Z | 2021-10-30T01:14:08Z | 2021-10-30T01:14:08Z | 2021-10-30T01:14:08Z | 293 | public-apis/public-apis | 35,985 |
Add direction configuration for RMVtransport component | diff --git a/homeassistant/components/sensor/rmvtransport.py b/homeassistant/components/sensor/rmvtransport.py
index 79ec8c7a5e782e..f9bd65c1a74f3c 100644
--- a/homeassistant/components/sensor/rmvtransport.py
+++ b/homeassistant/components/sensor/rmvtransport.py
@@ -24,7 +24,7 @@
CONF_STATION = 'station'
CONF_DESTI... | ## Description:
Implement direction configuration.
**Pull request in [home-assistant.io](https://github.com/home-assistant/home-assistant.io) with documentation (if applicable):** home-assistant/home-assistant.io#6646
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass w... | https://api.github.com/repos/home-assistant/core/pulls/17308 | 2018-10-10T12:47:02Z | 2018-10-10T15:59:56Z | 2018-10-10T15:59:56Z | 2019-03-27T07:53:30Z | 796 | home-assistant/core | 39,241 |
Add description field and f-string to progress logs example | diff --git a/docs/source/progress.rst b/docs/source/progress.rst
index 6ac052b4a..008a53931 100644
--- a/docs/source/progress.rst
+++ b/docs/source/progress.rst
@@ -126,9 +126,9 @@ Print / log
The Progress class will create an internal Console object which you can access via ``progress.console``. If you print or log t... | ## Type of changes
- [ ] Bug fix
- [ ] New feature
- [x] Documentation / docstrings
- [ ] 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/860 | 2020-12-29T16:51:56Z | 2020-12-29T17:12:13Z | 2020-12-29T17:12:13Z | 2020-12-29T17:12:13Z | 193 | Textualize/rich | 48,349 |
Update hyp.scratch-high.yaml `lrf: 0.1` | diff --git a/data/hyps/hyp.scratch-high.yaml b/data/hyps/hyp.scratch-high.yaml
index 5a586cc63fa..123cc840741 100644
--- a/data/hyps/hyp.scratch-high.yaml
+++ b/data/hyps/hyp.scratch-high.yaml
@@ -4,7 +4,7 @@
# See tutorials for hyperparameter evolution https://github.com/ultralytics/yolov5#tutorials
lr0: 0.01 # i... | Update `lrf: 0.1`, tested on YOLOv5x6 to 55.0 mAP@0.5:0.95, slightly higher than current.
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Optimization of learning rate schedule in YOLOv5 training configuration.
### 📊 Key Changes
- Decreased t... | https://api.github.com/repos/ultralytics/yolov5/pulls/6525 | 2022-02-03T11:13:54Z | 2022-02-03T11:15:14Z | 2022-02-03T11:15:14Z | 2024-01-19T13:05:22Z | 223 | ultralytics/yolov5 | 25,482 |
Update README-id-ID.md | diff --git a/doc/translations/README-id-ID.md b/doc/translations/README-id-ID.md
index bd2ffd0926c..d3a0c5a8456 100644
--- a/doc/translations/README-id-ID.md
+++ b/doc/translations/README-id-ID.md
@@ -2,7 +2,7 @@
[](https://travis-ci.or... | https://api.github.com/repos/sqlmapproject/sqlmap/pulls/4663 | 2021-04-29T02:43:23Z | 2021-05-01T09:33:14Z | 2021-05-01T09:33:14Z | 2021-05-01T09:33:14Z | 756 | sqlmapproject/sqlmap | 14,971 | |
Take scrollbars into account when computing Dataframe dimensions | diff --git a/frontend/cypress/snapshots/linux/2x/st_dataframe_sizes.spec.js/dataframe-visuals0.snap.png b/frontend/cypress/snapshots/linux/2x/st_dataframe_sizes.spec.js/dataframe-visuals0.snap.png
index 1a6023cb9bdc..29668546b380 100644
Binary files a/frontend/cypress/snapshots/linux/2x/st_dataframe_sizes.spec.js/dataf... | It turns out the bug in #2543 appears only when there are enough elements in a Dataframe for a scrollbar to be necessary to display all the data. In the case where we need a vertical scrollbar, the width that we provide to the `MultiGrid` we're using to render our Dataframe ends up being slightly too small due to the p... | https://api.github.com/repos/streamlit/streamlit/pulls/2622 | 2021-01-21T02:21:21Z | 2021-01-26T20:47:26Z | 2021-01-26T20:47:26Z | 2021-07-24T00:37:01Z | 2,867 | streamlit/streamlit | 21,899 |
Update CppCoreGuidelines.md | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index f28366f73..a8231ae7d 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -2108,7 +2108,7 @@ When I call `length(s)` should I test for `s==nullptr` first? Should the impleme
**Example**:
- void fct(const string& s); // OK: pass by const refe... | Typo in example F.20
| https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/100 | 2015-09-23T14:35:28Z | 2015-09-24T14:42:28Z | 2015-09-24T14:42:28Z | 2015-09-24T15:06:32Z | 154 | isocpp/CppCoreGuidelines | 15,673 |
[hotfix] fixed error when no collective communication in CommProfiler | diff --git a/colossalai/utils/profiler/comm_profiler.py b/colossalai/utils/profiler/comm_profiler.py
index 93c72cc65237..a4f5729c97ec 100644
--- a/colossalai/utils/profiler/comm_profiler.py
+++ b/colossalai/utils/profiler/comm_profiler.py
@@ -93,16 +93,16 @@ def disable(self):
dist.reduce = torch_reduce
... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/409 | 2022-03-14T08:44:26Z | 2022-03-14T09:43:45Z | 2022-03-14T09:43:45Z | 2022-03-14T09:43:45Z | 634 | hpcaitech/ColossalAI | 11,274 | |
feat: Maintain the original exceptions of OpenAI and HTTPX during exception handling. | diff --git a/metagpt/utils/common.py b/metagpt/utils/common.py
index c7751c2af..3102158c2 100644
--- a/metagpt/utils/common.py
+++ b/metagpt/utils/common.py
@@ -28,7 +28,7 @@
import aiofiles
import loguru
from pydantic_core import to_jsonable_python
-from tenacity import RetryCallState, _utils
+from tenacity import ... | **Features**
- feat: Maintain the original exceptions of OpenAI and HTTPX during exception handling. | https://api.github.com/repos/geekan/MetaGPT/pulls/777 | 2024-01-19T03:46:24Z | 2024-01-19T05:45:24Z | 2024-01-19T05:45:24Z | 2024-03-19T03:43:42Z | 457 | geekan/MetaGPT | 16,825 |
Updated sites.json | diff --git a/sherlock/resources/data.json b/sherlock/resources/data.json
index 6808e24dd..d54cc9c9c 100644
--- a/sherlock/resources/data.json
+++ b/sherlock/resources/data.json
@@ -926,6 +926,14 @@
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
+ "Clubhouse":{
+ "errorMsg... | added a new social media website "clubhouse" | https://api.github.com/repos/sherlock-project/sherlock/pulls/1280 | 2022-03-22T10:42:16Z | 2022-04-04T16:10:34Z | 2022-04-04T16:10:34Z | 2022-04-04T16:10:34Z | 207 | sherlock-project/sherlock | 36,362 |
[bot] Bump submodules | diff --git a/cereal b/cereal
index c54369f8ad4e0b..80e1e55f0dd71c 160000
--- a/cereal
+++ b/cereal
@@ -1 +1 @@
-Subproject commit c54369f8ad4e0bcb18c96feb4334755c6f65e8f1
+Subproject commit 80e1e55f0dd71cea7f596e8b80c7c33865b689f3
diff --git a/panda b/panda
index 457e3b262d798a..f48fc21a17079b 160000
--- a/panda
+++ b/... | Automatic PR from repo-maintenance -> bump_submodules | https://api.github.com/repos/commaai/openpilot/pulls/31299 | 2024-02-05T12:02:56Z | 2024-02-06T19:11:58Z | 2024-02-06T19:11:58Z | 2024-02-06T19:11:59Z | 224 | commaai/openpilot | 9,097 |
Add MLJ.jl | diff --git a/README.md b/README.md
index ab8bfb48..666472f1 100644
--- a/README.md
+++ b/README.md
@@ -643,6 +643,7 @@ Further resources:
* [ScikitLearn](https://github.com/cstjean/ScikitLearn.jl) - Julia implementation of the scikit-learn API.
* [Knet](https://github.com/denizyuret/Knet.jl) - Koç University Deep Lea... | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/697 | 2020-05-29T15:29:37Z | 2020-05-30T17:00:12Z | 2020-05-30T17:00:12Z | 2020-05-30T17:13:18Z | 183 | josephmisiti/awesome-machine-learning | 52,041 | |
update docs | diff --git a/deploy/README.md b/deploy/README.md
index 033662a753..69e2438996 100644
--- a/deploy/README.md
+++ b/deploy/README.md
@@ -22,9 +22,11 @@ PP-OCR has supported muti deployment schemes. Click the link to get the specific
- [Python Inference](../doc/doc_en/inference_ppocr_en.md)
- [C++ Inference](./cpp_inf... | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/6074 | 2022-04-27T11:26:08Z | 2022-04-27T12:22:16Z | 2022-04-27T12:22:16Z | 2022-04-27T12:22:17Z | 2,360 | PaddlePaddle/PaddleOCR | 41,863 | |
[MRG] DOC recommend editable install using pip in contributing | diff --git a/doc/developers/contributing.rst b/doc/developers/contributing.rst
index c4c0e57c936be..108142300939c 100644
--- a/doc/developers/contributing.rst
+++ b/doc/developers/contributing.rst
@@ -67,16 +67,20 @@ extension in place::
python setup.py build_ext --inplace
-Another option is to use the ``devel... | #### Reference Issue
None
#### What does this implement/fix? Explain your changes.
This recommends using `pip install --editable .` instead of `python setup.py develop` in the Contributing section of the documentation.
It also makes the documentation more consistent as `pip install --editable .` is the command ... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/8974 | 2017-06-01T22:05:49Z | 2017-06-03T08:47:21Z | 2017-06-03T08:47:21Z | 2017-06-03T09:51:56Z | 363 | scikit-learn/scikit-learn | 46,375 |
generate unclaimed username based on regex | diff --git a/requirements.txt b/requirements.txt
index 7b57b0659..0bee5bfdf 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7,3 +7,4 @@ stem>=1.8.0
torrequest>=0.1.0
pandas>=1.0.0
openpyxl<=3.0.10
+exrex>=0.11.0
\ No newline at end of file
diff --git a/sherlock/resources/data.json b/sherlock/resources/data.... | 1. Generate unclaimed username based on regex with `exrex`. The regex couldn't be fetched from `data.json` as some use lengths (`{1,10}`). If a random username with a length of 2 was generated, the chance of that username existing was very high. So I copied and hardcoded the regex for the site so that it generates the ... | https://api.github.com/repos/sherlock-project/sherlock/pulls/1730 | 2023-03-12T21:06:26Z | 2023-03-12T21:13:07Z | 2023-03-12T21:13:07Z | 2023-03-12T21:15:13Z | 2,474 | sherlock-project/sherlock | 36,681 |
Do not call deprecated datetime.utcnow() and datetime.utcfromtimestamp() | diff --git a/acme/acme/_internal/tests/fields_test.py b/acme/acme/_internal/tests/fields_test.py
index a45bdc47bf0..0c2b8c4a084 100644
--- a/acme/acme/_internal/tests/fields_test.py
+++ b/acme/acme/_internal/tests/fields_test.py
@@ -34,7 +34,7 @@ class RFC3339FieldTest(unittest.TestCase):
"""Tests for acme.fields.... | With Python 3.12:
~~~
# python3
Python 3.12.0b4 (main, Jul 12 2023, 00:00:00) [GCC 13.1.1 20230614 (Red Hat 13.1.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.datetime.utcnow()
<stdin>:1: DeprecationWarning: datetime.utcnow() is deprecate... | https://api.github.com/repos/certbot/certbot/pulls/9735 | 2023-07-15T23:23:53Z | 2023-07-18T22:44:25Z | 2023-07-18T22:44:25Z | 2023-07-19T03:21:49Z | 3,111 | certbot/certbot | 2,552 |
Fix print() and xrange() for Python 3 | diff --git a/certbot-compatibility-test/certbot_compatibility_test/test_driver.py b/certbot-compatibility-test/certbot_compatibility_test/test_driver.py
index 71a0ba57443..2c6c917b329 100644
--- a/certbot-compatibility-test/certbot_compatibility_test/test_driver.py
+++ b/certbot-compatibility-test/certbot_compatibility... | * __print()__ is a function in modern Python
* __from six.moves import xrange__ because __xrange()__ was removed in Python 3
$ __python3 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./tools/simple_http_server.py:17:44: E999 SyntaxError: invalid syntax
print 'Serving ... | https://api.github.com/repos/certbot/certbot/pulls/5590 | 2018-02-17T10:11:25Z | 2018-03-14T16:37:30Z | 2018-03-14T16:37:30Z | 2018-03-14T16:42:53Z | 678 | certbot/certbot | 1,282 |
feat (login) : login banner updates | diff --git a/src/sentry/templates/sentry/partial/alerts.html b/src/sentry/templates/sentry/partial/alerts.html
index 43ac3d5e5526c..f2b3a8420b65b 100644
--- a/src/sentry/templates/sentry/partial/alerts.html
+++ b/src/sentry/templates/sentry/partial/alerts.html
@@ -78,9 +78,9 @@
<div class="alert-banner">
<div c... | This PR updates the login banners to highlight a Jetpack Compose webinar and a GitBlame blog. | https://api.github.com/repos/getsentry/sentry/pulls/43804 | 2023-01-27T19:32:46Z | 2023-01-27T19:57:11Z | 2023-01-27T19:57:11Z | 2023-02-12T00:02:20Z | 461 | getsentry/sentry | 44,612 |
Optimization for shell sort | diff --git a/sorts/shell_sort.py b/sorts/shell_sort.py
index bf3c2c7f9cc6..2e749e43d056 100644
--- a/sorts/shell_sort.py
+++ b/sorts/shell_sort.py
@@ -1,13 +1,5 @@
"""
-This is a pure Python implementation of the shell sort algorithm
-
-For doctests run following command:
-python -m doctest -v shell_sort.py
-or
-pytho... | ### **Describe your change:**
* [ ] 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/4038 | 2020-12-16T10:47:37Z | 2020-12-18T09:39:52Z | 2020-12-18T09:39:52Z | 2020-12-19T00:27:30Z | 474 | TheAlgorithms/Python | 30,215 |
Switch MPT model to load zero shot in default scenario | diff --git a/fastchat/model/model_adapter.py b/fastchat/model/model_adapter.py
index d542526246..55741e1189 100644
--- a/fastchat/model/model_adapter.py
+++ b/fastchat/model/model_adapter.py
@@ -621,7 +621,11 @@ def get_default_conv_template(self, model_path: str) -> Conversation:
elif "mpt-30b-instruct" in mo... | <!-- 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?
With Peft models added, its likely others (namely myself) will be... | https://api.github.com/repos/lm-sys/FastChat/pulls/1896 | 2023-07-08T07:21:31Z | 2023-07-08T09:13:39Z | 2023-07-08T09:13:39Z | 2023-07-08T21:48:27Z | 185 | lm-sys/FastChat | 41,173 |
`is_coco` list fix | diff --git a/test.py b/test.py
index cbc97b42015..a38298da54d 100644
--- a/test.py
+++ b/test.py
@@ -78,7 +78,7 @@ def test(data,
with open(data) as f:
data = yaml.safe_load(f)
check_dataset(data) # check
- is_coco = data['val'].endswith('coco/val2017.txt') # COCO dataset
+ is_coco = ... |
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Improved robustness in dataset type detection for COCO validation.
### 📊 Key Changes
- Enhanced the check for the COCO dataset by verifying the data type is a string before checking if the file... | https://api.github.com/repos/ultralytics/yolov5/pulls/3646 | 2021-06-16T17:46:28Z | 2021-06-16T20:56:16Z | 2021-06-16T20:56:16Z | 2024-01-19T17:37:08Z | 208 | ultralytics/yolov5 | 25,648 |
AIRFLOW-5126 Read aws_session_token in extra_config of the aws hook | diff --git a/airflow/contrib/hooks/aws_hook.py b/airflow/contrib/hooks/aws_hook.py
index 714c8a883ccc1..cd763277af359 100644
--- a/airflow/contrib/hooks/aws_hook.py
+++ b/airflow/contrib/hooks/aws_hook.py
@@ -126,17 +126,21 @@ def _get_credentials(self, region_name):
external_id = extra_config.get('ext... |
### Description
Read a temporary token in case it is present this is important, if you don't manage the session token through `Airflow` but rather you use something like [vault](https://www.vaultproject.io/docs/secrets/aws/index.html) to manage these.
### Tests
adjusted existing test to also parse the sessio... | https://api.github.com/repos/apache/airflow/pulls/6303 | 2019-10-11T06:27:40Z | 2019-10-16T15:22:08Z | 2019-10-16T15:22:08Z | 2019-10-16T15:22:08Z | 1,255 | apache/airflow | 14,152 |
bpo-38631: Avoid Py_FatalError() in init_slotdefs() | diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h
index 72923498decd08..2dd6149a6b3d35 100644
--- a/Include/internal/pycore_pylifecycle.h
+++ b/Include/internal/pycore_pylifecycle.h
@@ -51,6 +51,7 @@ extern int _PyFloat_Init(void);
extern PyStatus _Py_HashRandomization_Init(con... | Rename init_slotdefs() to _PyTypes_InitSlotDefs() and add a return
value of type PyStatus. The function is now called exactly once from
_PyTypes_Init(). Replace calls to init_slotdefs() with an assertion
checking that slotdefs is initialized.
<!--
Thanks for your contribution!
Please read this comment in its en... | https://api.github.com/repos/python/cpython/pulls/18263 | 2020-01-29T23:54:51Z | 2020-01-30T08:02:15Z | 2020-01-30T08:02:15Z | 2020-01-30T08:02:18Z | 1,347 | python/cpython | 4,135 |
skyrock website added | diff --git a/sherlock/resources/data.json b/sherlock/resources/data.json
index 84135fef2..36aeefceb 100644
--- a/sherlock/resources/data.json
+++ b/sherlock/resources/data.json
@@ -2141,6 +2141,13 @@
"username_claimed": "red",
"username_unclaimed": "noonewouldeverusethis7"
},
+ "skyrock": {
+ "errorTyp... | https://api.github.com/repos/sherlock-project/sherlock/pulls/1127 | 2021-08-27T18:28:49Z | 2022-04-05T17:59:19Z | 2022-04-05T17:59:19Z | 2022-04-05T17:59:19Z | 482 | sherlock-project/sherlock | 36,238 | |
[Windows|Unix] Use double quote compatible both for windows and linux | diff --git a/tools/_venv_common.py b/tools/_venv_common.py
index ecd438f94c4..5408427734a 100755
--- a/tools/_venv_common.py
+++ b/tools/_venv_common.py
@@ -156,7 +156,7 @@ def main(venv_name, venv_args, args):
new_environ['PATH'] = os.pathsep.join([get_venv_bin_path(venv_name), new_environ['PATH']])
subproce... | File `_venv_common.py` uses single quotes to ask `pip` to install `setuptools>=30.3`. Using single quotes to enclose a string is not supported on Windows shell (Batch). This PR replaces theses single quotes by double quotes supported both on Windows and Linux. | https://api.github.com/repos/certbot/certbot/pulls/6553 | 2018-12-04T13:38:26Z | 2019-01-07T20:00:02Z | 2019-01-07T20:00:02Z | 2019-01-09T16:25:05Z | 224 | certbot/certbot | 438 |
labels.jpg class names | diff --git a/train.py b/train.py
index dcb89a3c199..005fdf60c02 100644
--- a/train.py
+++ b/train.py
@@ -203,7 +203,7 @@ def train(hyp, opt, device, tb_writer=None, wandb=None):
# cf = torch.bincount(c.long(), minlength=nc) + 1. # frequency
# model._initialize_biases(cf.to(device))
... |
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Enhanced label plotting with class names in YOLOv5 training.
### 📊 Key Changes
- `plot_labels` function now accepts `names` as an additional parameter.
- Class names can be displayed on the x-a... | https://api.github.com/repos/ultralytics/yolov5/pulls/2454 | 2021-03-13T06:09:39Z | 2021-03-13T06:15:42Z | 2021-03-13T06:15:42Z | 2024-01-19T19:12:03Z | 558 | ultralytics/yolov5 | 24,845 |
Add book, Fighting Churn With Data | diff --git a/books.md b/books.md
index 8dd4788e..0b3a8625 100644
--- a/books.md
+++ b/books.md
@@ -45,6 +45,7 @@ The following is a list of free and/or open source books on machine learning, st
- [Foundations of Machine Learning](https://cs.nyu.edu/~mohri/mlbook/) - Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwal... | Hi, I added my new book from Manning Publications : "Fighting Churn With Data". Currently 5 out of 10 chapters area available in an ebook. Let me know if you want a free copy to check out. -carl24k | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/657 | 2019-12-22T21:48:18Z | 2020-01-27T14:56:06Z | 2020-01-27T14:56:06Z | 2020-01-27T14:56:06Z | 256 | josephmisiti/awesome-machine-learning | 51,742 |
Rationalise challenge and port selection flags #3343 [see #3466]) | diff --git a/certbot/auth_handler.py b/certbot/auth_handler.py
index a9473457202..dcde3f9a7a5 100644
--- a/certbot/auth_handler.py
+++ b/certbot/auth_handler.py
@@ -33,14 +33,16 @@ class AuthHandler(object):
and values are :class:`acme.messages.AuthorizationResource`
:ivar list achalls: DV challenges in t... | resolves issue #3343
| https://api.github.com/repos/certbot/certbot/pulls/3457 | 2016-08-26T20:12:41Z | 2016-09-22T21:15:30Z | 2016-09-22T21:15:30Z | 2016-09-29T21:47:06Z | 1,830 | certbot/certbot | 2,919 |
Fix #26755 by ensuring that the first nic in the nic list is primary | diff --git a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py
index a073d4958c679f..dd082cbd075b08 100644
--- a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py
+++ b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py
@@ -819,7 +81... | … set to True, and all other nics have primary set to False.
##### SUMMARY
Fixes #26755 by ensuring that the first nic in the nic list has primary set as True, and all other nics have primary set to False.
##### ISSUE TYPE
- Bugfix Pull Request
##### COMPONENT NAME
azure_rm_virtualmachine
##### ANSIBLE ... | https://api.github.com/repos/ansible/ansible/pulls/38994 | 2018-04-19T05:18:04Z | 2018-04-26T06:16:26Z | 2018-04-26T06:16:26Z | 2019-04-27T00:39:09Z | 1,498 | ansible/ansible | 49,146 |
[youtube] Add debug message for SAPISID cookie extraction | diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py
index 5ef59f680db..47f3fb804be 100644
--- a/yt_dlp/extractor/youtube.py
+++ b/yt_dlp/extractor/youtube.py
@@ -518,13 +518,15 @@ def _generate_sapisidhash_header(self, origin='https://www.youtube.com'):
yt_cookies = self._get_cookies('https:... | ## 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 *p... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/540 | 2021-07-21T20:36:38Z | 2021-07-21T20:45:05Z | 2021-07-21T20:45:05Z | 2022-03-04T06:03:41Z | 337 | yt-dlp/yt-dlp | 7,926 |
asyncio: Use dict instead of OrderedDict | diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index cec47ce67f3824..36fe7e0076c969 100644
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -1187,7 +1187,7 @@ async def create_datagram_endpoint(self, protocol_factory,
(local_addr, remote_add... | https://api.github.com/repos/python/cpython/pulls/11710 | 2019-01-31T07:33:22Z | 2019-02-05T08:04:41Z | 2019-02-05T08:04:41Z | 2019-02-05T08:04:44Z | 176 | python/cpython | 4,619 | |
MOD: close subprocess and its file handles when reset | diff --git a/interpreter/code_interpreters/subprocess_code_interpreter.py b/interpreter/code_interpreters/subprocess_code_interpreter.py
index af6e111b2..33aeadf87 100644
--- a/interpreter/code_interpreters/subprocess_code_interpreter.py
+++ b/interpreter/code_interpreters/subprocess_code_interpreter.py
@@ -35,6 +35,8 ... | ### Describe the changes you have made:
Problem I encountered: When I use the same Interpreter instance to complete multiple code-writing tasks in a row within a process, I try to use Interpreter.reset() to reset the context and Interpreter state between each task. However, after several runs, I ran into the problem... | https://api.github.com/repos/OpenInterpreter/open-interpreter/pulls/476 | 2023-09-22T11:26:33Z | 2023-11-15T05:02:34Z | 2023-11-15T05:02:34Z | 2023-11-15T10:46:43Z | 132 | OpenInterpreter/open-interpreter | 40,874 |
Question answers | diff --git a/README.md b/README.md
index ef085ff86..ebdf1cdfd 100644
--- a/README.md
+++ b/README.md
@@ -3011,6 +3011,12 @@ Should be `x=2`
<details>
<summary>How to store the output of a command in a variable?</summary><br><b>
+
+```
+OUTPUT=$(ls -1)
+echo "${OUTPUT}"
+```
+[Source](https://stackoverflow.com/quest... | 3 question answers. | https://api.github.com/repos/bregman-arie/devops-exercises/pulls/165 | 2021-10-20T21:05:06Z | 2021-10-21T04:16:31Z | 2021-10-21T04:16:31Z | 2021-10-21T04:16:31Z | 820 | bregman-arie/devops-exercises | 17,660 |
infra: update to pathspec for 'git grep' in lint check | diff --git a/Makefile b/Makefile
index 5e66e6c07fb85d..20271ade0b038b 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ lint lint_package lint_tests:
poetry run ruff docs templates cookbook
poetry run ruff format docs templates cookbook --diff
poetry run ruff --select I docs templates cookbook
- git grep 'fr... | **Description:** Update to the pathspec for 'git grep' in lint check in the Makefile
**Issue:** The pathspec {docs/docs,templates,cookbook} is not handled correctly leading to the error during 'make lint' -
"fatal: ambiguous argument '{docs/docs,templates,cookbook}': unknown revision or path not in the working tre... | https://api.github.com/repos/langchain-ai/langchain/pulls/18178 | 2024-02-27T09:51:45Z | 2024-03-01T22:03:46Z | 2024-03-01T22:03:46Z | 2024-03-04T11:27:11Z | 195 | langchain-ai/langchain | 43,130 |
Fix method on manager's add command (#578) | diff --git a/shadowsocks/manager.py b/shadowsocks/manager.py
index b42ffa9df..2a1200c89 100644
--- a/shadowsocks/manager.py
+++ b/shadowsocks/manager.py
@@ -141,6 +141,8 @@ def _parse_command(self, data):
command, config_json = parts
try:
config = shell.parse_json_in_str(config_json)
+ ... | All strings in JSON are encoded into bytes on `parse_json_in_str()`.
However, `config['method']` need a `str` rather than bytes.
| https://api.github.com/repos/shadowsocks/shadowsocks/pulls/614 | 2016-09-05T16:54:44Z | 2016-10-11T13:31:41Z | 2016-10-11T13:31:41Z | 2016-10-11T13:31:42Z | 138 | shadowsocks/shadowsocks | 24,703 |
Alerts: fix inconsistent capitalization | diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py
index b3667280940747..d68c95bcf50d81 100755
--- a/selfdrive/controls/lib/events.py
+++ b/selfdrive/controls/lib/events.py
@@ -767,12 +767,12 @@ def joystick_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubMaster,
# is thrown... | https://api.github.com/repos/commaai/openpilot/pulls/31514 | 2024-02-19T23:45:09Z | 2024-02-20T02:18:20Z | 2024-02-20T02:18:20Z | 2024-02-20T02:19:10Z | 272 | commaai/openpilot | 8,991 | |
limit challenge polling to 30 minutes | diff --git a/certbot/CHANGELOG.md b/certbot/CHANGELOG.md
index f2ad5ba0a7d..7f39d307579 100644
--- a/certbot/CHANGELOG.md
+++ b/certbot/CHANGELOG.md
@@ -10,7 +10,9 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
### Changed
-*
+* Certbot will no longer respect very long challenge polling interval... | Fixes #9526. | https://api.github.com/repos/certbot/certbot/pulls/9527 | 2023-01-02T23:35:26Z | 2023-01-05T22:24:58Z | 2023-01-05T22:24:58Z | 2023-01-05T22:24:59Z | 1,876 | certbot/certbot | 893 |
Fix dockerfiles | diff --git a/Dockerfile.external b/Dockerfile.external
index cf3203e87..59ef285b3 100644
--- a/Dockerfile.external
+++ b/Dockerfile.external
@@ -5,6 +5,7 @@ RUN pip install pipx
RUN python3 -m pipx ensurepath
RUN pipx install poetry
ENV PATH="/root/.local/bin:$PATH"
+ENV PATH=".venv/bin/:$PATH"
# https://python-p... | - Copy scripts folder
- Set the right python paths to use the venv
Instructions:
Build image:
`docker compose build -> builds the image`
Run setup in service to download local models (in case you didn't download them already):
`docker compose run --rm --entrypoint="bash -c '[ -f scripts/setup ] && scripts/set... | https://api.github.com/repos/zylon-ai/private-gpt/pulls/1445 | 2023-12-22T12:57:21Z | 2023-12-22T13:16:47Z | 2023-12-22T13:16:47Z | 2023-12-22T13:16:47Z | 519 | zylon-ai/private-gpt | 38,588 |
.netrc support | diff --git a/HISTORY.rst b/HISTORY.rst
index 2091ac8499..d6b8f49690 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,11 @@
History
-------
+0.10.4 (2012-02-20)
++++++++++++++++++++
+
+* Honor netrc.
+
0.10.3 (2012-02-20)
+++++++++++++++++++
diff --git a/docs/index.rst b/docs/index.rst
index df0f1937c2..232... | https://api.github.com/repos/psf/requests/pulls/446 | 2012-02-20T20:36:57Z | 2012-02-20T21:21:05Z | 2012-02-20T21:21:05Z | 2021-09-08T23:06:29Z | 1,098 | psf/requests | 32,937 | |
BUG: Bug in to_datetime with a format and coerce=True not raising (GH5195) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 55f786d263a0a..f899849475df8 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -593,6 +593,7 @@ Bug Fixes
- Compound dtypes in a constructor raise ``NotImplementedError`` (:issue:`5191`)
- Bug in comparing duplicate frames (:issu... | closes #5195
| https://api.github.com/repos/pandas-dev/pandas/pulls/5197 | 2013-10-12T22:13:49Z | 2013-10-12T23:53:46Z | 2013-10-12T23:53:46Z | 2014-06-24T06:53:46Z | 1,034 | pandas-dev/pandas | 44,928 |
Org code for removing all the purpose print functions. | diff --git a/sherlock.py b/sherlock.py
index acca9f9f5..049345295 100644
--- a/sherlock.py
+++ b/sherlock.py
@@ -72,6 +72,13 @@ def timing(r, *args, **kwargs):
return super(ElapsedFuturesSession, self).request(method, url, hooks=hooks, *args, **kwargs)
+def print_info(title, info):
+ print(Style.BRIGHT ... | #### Purpose
Moves all the `print` log related functions into something more readable and reasonable.
#### Description
Just cleaned up some code here. I aware there are modulation going on to this project? Hope this PR wouldn't effects to the modulation progress. I also realized some file have different coding sty... | https://api.github.com/repos/sherlock-project/sherlock/pulls/184 | 2019-03-08T05:47:15Z | 2019-03-08T10:03:10Z | 2019-03-08T10:03:10Z | 2019-03-08T10:03:10Z | 1,021 | sherlock-project/sherlock | 36,554 |
Toyota: support openpilot long with a smartDSU on nodsu models | diff --git a/selfdrive/car/tests/routes.py b/selfdrive/car/tests/routes.py
index 4dd19d24e3a5e6..40ed0ea047ee6c 100644
--- a/selfdrive/car/tests/routes.py
+++ b/selfdrive/car/tests/routes.py
@@ -185,6 +185,7 @@
CarTestRoute("9b36accae406390e|2021-03-30--10-41-38", TOYOTA.MIRAI),
CarTestRoute("cd9cff4b0b26c435|202... | As per Adeeb suggested [here](https://github.com/commaai/cereal/pull/410), this change is to enable openpilot longitudinal control on radar acc car (such as Camry, C-HR and perhaps new 2022 RAV4) w/ additional can filter set in between Radar and CAN gateway.
see route:
ea8fbe72b96a185c|2023-02-22--09-20-34
<img ... | https://api.github.com/repos/commaai/openpilot/pulls/27417 | 2023-02-22T04:19:27Z | 2023-04-01T22:34:56Z | 2023-04-01T22:34:56Z | 2023-07-31T02:17:48Z | 1,366 | commaai/openpilot | 9,673 |
Add videakid as an alias for videa | diff --git a/youtube_dl/extractor/videa.py b/youtube_dl/extractor/videa.py
index 311df58f4a0..d0e34c81980 100644
--- a/youtube_dl/extractor/videa.py
+++ b/youtube_dl/extractor/videa.py
@@ -16,7 +16,7 @@
class VideaIE(InfoExtractor):
_VALID_URL = r'''(?x)
https?://
- vid... | It seems that `videakid.hu` is just an alternative domain for `videa.hu`
serving up the same videos, supporting the same download procedure.
## 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 you... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/16003 | 2018-03-27T05:22:44Z | 2018-03-27T15:02:05Z | 2018-03-27T15:02:04Z | 2018-03-27T16:32:06Z | 482 | ytdl-org/youtube-dl | 49,910 |
added support to bilibili collectiondetail api | diff --git a/src/you_get/extractors/bilibili.py b/src/you_get/extractors/bilibili.py
index 1a13b61cd2..6d34c2c45f 100644
--- a/src/you_get/extractors/bilibili.py
+++ b/src/you_get/extractors/bilibili.py
@@ -115,11 +115,15 @@ def bilibili_live_room_init_api(room_id):
@staticmethod
def bilibili_space_channel_ap... | Added support of collectiondetail api of bilibili, tested works with -l option
`./you-get --format=flv360 -l https://space.bilibili.com/364152971/channel/collectiondetail?sid=13909`
There is already a pull request for the test code: https://github.com/soimort/you-get/pull/2958 @soldatjiang
| https://api.github.com/repos/soimort/you-get/pulls/2983 | 2022-09-26T02:09:47Z | 2022-10-08T22:13:13Z | 2022-10-08T22:13:13Z | 2022-10-08T22:13:34Z | 944 | soimort/you-get | 21,170 |
Always include either SNI or target IP address as SAN | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0040b75c32..16a539b060 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -39,6 +39,9 @@
([#6148](https://github.com/mitmproxy/mitmproxy/pull/6148), @mhils)
* Add zstd to valid gRPC encoding schemes.
([#6188](https://github.com/mitmproxy/mitmproxy/pull/6188), @tsaarist... | this unbreaks reverse proxy setups that are directly addressed by IP.
| https://api.github.com/repos/mitmproxy/mitmproxy/pulls/6202 | 2023-06-25T20:27:35Z | 2023-06-26T00:35:51Z | 2023-06-26T00:35:51Z | 2023-06-26T00:35:55Z | 760 | mitmproxy/mitmproxy | 28,060 |
Make message printed after bootstrap slightly less confusing | diff --git a/bootstrap/dev/_venv_common.sh b/bootstrap/dev/_venv_common.sh
index 2d84dc39b47..d07f38ed8d0 100755
--- a/bootstrap/dev/_venv_common.sh
+++ b/bootstrap/dev/_venv_common.sh
@@ -21,5 +21,6 @@ pip install -U setuptools
pip install -U pip
pip install "$@"
+set +x
echo "Please run the following command to ... | 
vs.

| https://api.github.com/repos/certbot/certbot/pulls/1161 | 2015-10-27T22:41:51Z | 2015-10-27T22:52:51Z | 2015-10-27T22:52:51Z | 2016-05-06T19:22:09Z | 118 | certbot/certbot | 360 |
Fix PyTorch Hub export inference shapes | diff --git a/models/common.py b/models/common.py
index 70ee7105abf..ac3af20d533 100644
--- a/models/common.py
+++ b/models/common.py
@@ -544,10 +544,9 @@ def forward(self, imgs, size=640, augment=False, profile=False):
g = (size / max(s)) # gain
shape1.append([y * g for y in s])
... | May resolve https://github.com/ultralytics/yolov5/issues/6947
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Simplified image preprocessing in the YOLOv5 forward pass method.
### 📊 Key Changes
- Removed conditional logic for different in... | https://api.github.com/repos/ultralytics/yolov5/pulls/6949 | 2022-03-11T15:14:06Z | 2022-03-11T15:18:40Z | 2022-03-11T15:18:40Z | 2024-01-19T12:18:48Z | 382 | ultralytics/yolov5 | 24,995 |
Fix `quantile` and `median` for JAX backend with jax 0.4.26. | diff --git a/keras/backend/jax/numpy.py b/keras/backend/jax/numpy.py
index a2a005ad5b9..6e94e58ef4d 100644
--- a/keras/backend/jax/numpy.py
+++ b/keras/backend/jax/numpy.py
@@ -727,9 +727,9 @@ def median(x, axis=None, keepdims=False):
result = jnp.median(x, axis=axis, keepdims=keepdims)
- # TODO: jnp.median... | The JAX bug with `axis=None` and `keep_dims=True` is fixed. | https://api.github.com/repos/keras-team/keras/pulls/19443 | 2024-04-04T17:35:20Z | 2024-04-04T17:51:02Z | 2024-04-04T17:51:02Z | 2024-04-04T17:55:03Z | 379 | keras-team/keras | 47,843 |
[tests] install pytest-responses | diff --git a/setup.py b/setup.py
index 47a0b818d2ab2e..e1437ba23ca51b 100755
--- a/setup.py
+++ b/setup.py
@@ -79,6 +79,7 @@
# /cassandra
'datadog',
'pytest-cov>=1.8.0,<1.9.0',
+ 'pytest-responses',
'pytest-timeout>=0.5.0,<0.6.0',
'pytest-xdist>=1.11.0,<1.12.0',
'python-coveralls',
diff... | https://api.github.com/repos/getsentry/sentry/pulls/4661 | 2016-12-12T21:57:28Z | 2016-12-13T00:13:47Z | 2016-12-13T00:13:47Z | 2020-12-23T07:38:27Z | 254 | getsentry/sentry | 44,338 | |
unit test for strategy.py | diff --git a/__init__.py b/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/test_strategy.py b/test_strategy.py
new file mode 100644
index 00000000..7e0953d5
--- /dev/null
+++ b/test_strategy.py
@@ -0,0 +1,25 @@
+"""
+Tests for strategy.py
+"""
+
+import unittest
+import subprocess
+
+class Strate... | I added a basic unit test for _strategy.py_ which verifies the output on the command line output when `python strategy.py` is run in the root directory of python-patterns. Just execute `python -m unittest -v` in the root directory of python-patterns to run the test.
| https://api.github.com/repos/faif/python-patterns/pulls/107 | 2016-01-09T15:04:51Z | 2016-01-09T17:10:48Z | 2016-01-09T17:10:48Z | 2016-01-09T17:10:48Z | 272 | faif/python-patterns | 33,493 |
[wistia] Use API and make more generic | diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 40eeaad16d4..2d77f604abe 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -382,6 +382,19 @@ class GenericIE(InfoExtractor):
'thumbnail': 're:^https?://.*\.jpg$',
},
... | Hi,
this changes the wistia extractor to use wistia JSON API instead of searching for metadata in the embedded javascript. Doing that allows us to make it more generic, as only the video ID is required. Also touches issues: #3314, #1765 and #3791.
Improvements and suggestions are very welcome.
| https://api.github.com/repos/ytdl-org/youtube-dl/pulls/3799 | 2014-09-20T00:17:31Z | 2014-09-25T00:04:31Z | 2014-09-25T00:04:31Z | 2014-09-25T15:38:15Z | 912 | ytdl-org/youtube-dl | 49,690 |
Add `pod_template_dict` field to `KubernetesPodOperator` | diff --git a/airflow/providers/cncf/kubernetes/operators/pod.py b/airflow/providers/cncf/kubernetes/operators/pod.py
index 55fe1e4c3668c..5153b85965be4 100644
--- a/airflow/providers/cncf/kubernetes/operators/pod.py
+++ b/airflow/providers/cncf/kubernetes/operators/pod.py
@@ -218,6 +218,7 @@ class KubernetesPodOperator... | I would like to propose adding a new templated field to kubernetes pod operator. Currently, operator has `pod_template_file` field to create base pod spec but you need to create a file to use this feature. IMHO it might be useful to accept stream or content, thus users might easily configure the base pod spec.
**Use... | https://api.github.com/repos/apache/airflow/pulls/33174 | 2023-08-07T13:53:25Z | 2023-12-17T19:13:49Z | 2023-12-17T19:13:49Z | 2023-12-17T19:13:53Z | 1,419 | apache/airflow | 14,647 |
Copy cookie policy when copying a CookieJar | diff --git a/requests/cookies.py b/requests/cookies.py
index ab3c88b9bf..6a0906b8da 100644
--- a/requests/cookies.py
+++ b/requests/cookies.py
@@ -415,9 +415,14 @@ def __setstate__(self, state):
def copy(self):
"""Return a copy of this RequestsCookieJar."""
new_cj = RequestsCookieJar()
+ n... | https://api.github.com/repos/psf/requests/pulls/4513 | 2018-02-14T16:45:26Z | 2018-06-12T05:13:08Z | 2018-06-12T05:13:08Z | 2021-09-02T00:07:47Z | 340 | psf/requests | 32,837 | |
use correct masks | diff --git a/fooocus_version.py b/fooocus_version.py
index 65980b5d0..9cdc51839 100644
--- a/fooocus_version.py
+++ b/fooocus_version.py
@@ -1 +1 @@
-version = '2.0.72'
+version = '2.0.73'
diff --git a/modules/inpaint_worker.py b/modules/inpaint_worker.py
index 480e6358d..cb8eb131f 100644
--- a/modules/inpaint_worker.p... | https://api.github.com/repos/lllyasviel/Fooocus/pulls/452 | 2023-09-20T10:21:27Z | 2023-09-20T10:25:30Z | 2023-09-20T10:25:30Z | 2023-09-20T10:25:32Z | 826 | lllyasviel/Fooocus | 7,163 | |
Make `reconfigure` use staging server | diff --git a/certbot/CHANGELOG.md b/certbot/CHANGELOG.md
index ffed0c77841..58910277022 100644
--- a/certbot/CHANGELOG.md
+++ b/certbot/CHANGELOG.md
@@ -16,6 +16,8 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
* Updates `joinpath` syntax to only use one addition per call, because the multiple inp... | Fixes #9847.
Creates `set_test_server_options` in `cli_utils` so that when `dry_run` is set after parse time, applicable options are additionally changed as well, and calls it from `main.reconfigure`.
Clears `config.account` in `set_test_server_options` when default `server` is switched to `staging`, so that the ... | https://api.github.com/repos/certbot/certbot/pulls/9870 | 2024-01-05T23:41:31Z | 2024-01-26T20:09:20Z | 2024-01-26T20:09:20Z | 2024-01-26T20:09:21Z | 3,664 | certbot/certbot | 2,504 |
feat(exmo): fetchMyTrades - margin | diff --git a/ts/src/exmo.ts b/ts/src/exmo.ts
index cc1980fff384..177e15feeb61 100644
--- a/ts/src/exmo.ts
+++ b/ts/src/exmo.ts
@@ -1188,17 +1188,16 @@ export default class exmo extends Exchange {
// "commission_percent": "0.2"
// }
//
- // margin
+ // fetchMyTrades (... | ```
% exmo fetchMyTrades ADA/USDT undefined 100 '{"marginMode": "isolated"}' | condense
2023-09-05T22:47:47.544Z
Node.js: v18.15.0
CCXT v4.0.83
exmo.fetchMyTrades (ADA/USDT, , 100, [object Object])
2023-09-05T22:47:51.406Z iteration 0 passed in 509 ms
id | timestamp | datetime | symbol | order ... | https://api.github.com/repos/ccxt/ccxt/pulls/19107 | 2023-09-05T22:50:31Z | 2023-09-09T15:01:13Z | 2023-09-09T15:01:13Z | 2023-09-11T16:11:29Z | 1,706 | ccxt/ccxt | 13,436 |
[requires.io] dependency update on master branch | diff --git a/setup.py b/setup.py
index c2fb4718a4..54913e6fb3 100644
--- a/setup.py
+++ b/setup.py
@@ -61,10 +61,10 @@
# It is not considered best practice to use install_requires to pin dependencies to specific versions.
install_requires=[
"blinker>=1.4, <1.5",
- "brotlipy>=0.5.1, <0.7",
+ ... | https://api.github.com/repos/mitmproxy/mitmproxy/pulls/2360 | 2017-05-30T08:50:17Z | 2017-05-31T08:18:40Z | 2017-05-31T08:18:40Z | 2017-05-31T08:18:43Z | 245 | mitmproxy/mitmproxy | 27,812 | |
fix for markdown table | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 31ce39119..2cac5fe54 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed Text.expand_tabs not expanding spans.
- Fixed TimeElapsedColumn from showing negative.
- Fix for ... | Fixes https://github.com/Textualize/rich/issues/3053 | https://api.github.com/repos/Textualize/rich/pulls/3064 | 2023-07-29T09:07:48Z | 2023-07-29T09:13:37Z | 2023-07-29T09:13:37Z | 2023-07-29T09:13:38Z | 634 | Textualize/rich | 48,261 |
use stdout for printing transcription progress | diff --git a/whisper/transcribe.py b/whisper/transcribe.py
index d95d3336..62ef5fe5 100644
--- a/whisper/transcribe.py
+++ b/whisper/transcribe.py
@@ -169,7 +169,8 @@ def add_segment(
line = f"[{format_timestamp(start)} --> {format_timestamp(end)}] {text}\n"
# compared to just `print(line)`, t... | https://api.github.com/repos/openai/whisper/pulls/867 | 2023-01-20T08:52:13Z | 2023-01-20T08:54:06Z | 2023-01-20T08:54:06Z | 2023-01-24T18:15:03Z | 193 | openai/whisper | 45,784 | |
Add Cloverly API | diff --git a/README.md b/README.md
index 04eeed8b42..e2cf332d40 100644
--- a/README.md
+++ b/README.md
@@ -362,6 +362,7 @@ API | Description | Auth | HTTPS | CORS |
|---|---|---|---|---|
| [AirVisual](https://airvisual.com/api) | Air quality and weather data | `apiKey` | Yes | Unknown |
| [Carbon Interface](https://... | <!-- Thank you for taking the time to work on a Pull Request for this project! -->
<!-- To ensure your PR is dealt with swiftly please check the following: -->
- [x] My submission is formatted according to the guidelines in the [contributing guide](CONTRIBUTING.md)
- [x] My addition is ordered alphabetically
- [x] ... | https://api.github.com/repos/public-apis/public-apis/pulls/1676 | 2021-04-27T07:37:45Z | 2021-05-18T19:57:09Z | 2021-05-18T19:57:08Z | 2021-05-18T19:57:09Z | 293 | public-apis/public-apis | 35,649 |
Load skills without overwriting them | diff --git a/interpreter/core/computer/computer.py b/interpreter/core/computer/computer.py
index 870de9e42..3062a1af8 100644
--- a/interpreter/core/computer/computer.py
+++ b/interpreter/core/computer/computer.py
@@ -29,6 +29,7 @@ def __init__(self):
self.emit_images = True
self.api_base = "https://... | ### Describe the changes you have made:
- When loading the skills initially, don't overwrite them.
- Ignore private functions in skills
### Reference any relevant issues (e.g. "Fixes #000"):
### Pre-Submission Checklist (optional but appreciated):
- [x] I have included relevant documentation updates (stored ... | https://api.github.com/repos/OpenInterpreter/open-interpreter/pulls/1009 | 2024-02-11T10:59:32Z | 2024-02-11T12:10:14Z | 2024-02-11T12:10:14Z | 2024-02-11T12:10:14Z | 1,016 | OpenInterpreter/open-interpreter | 40,903 |
Add teddy-bear class back to first 1000 classes of imagenet22k_ms_synsets (line 851, index 850) | diff --git a/timm/data/_info/imagenet22k_ms_synsets.txt b/timm/data/_info/imagenet22k_ms_synsets.txt
index 7891fa98c9..33fff6a427 100644
--- a/timm/data/_info/imagenet22k_ms_synsets.txt
+++ b/timm/data/_info/imagenet22k_ms_synsets.txt
@@ -848,6 +848,7 @@ n04380533
n04389033
n04392985
n04398044
+n04399382
n04404412
... | Working on fix for #2140
Need to investigate further.... look at 12k & 22k map files too. | https://api.github.com/repos/huggingface/pytorch-image-models/pulls/2145 | 2024-04-09T17:01:18Z | 2024-04-09T21:56:31Z | 2024-04-09T21:56:31Z | 2024-04-09T21:56:31Z | 137 | huggingface/pytorch-image-models | 16,231 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.