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 |
|---|---|---|---|---|---|---|---|---|---|---|
zh-TW: Improve translations | diff --git a/README-zh-TW.md b/README-zh-TW.md
index b608ec3277..8d286a28f1 100644
--- a/README-zh-TW.md
+++ b/README-zh-TW.md
@@ -623,7 +623,7 @@ DNS 是階層式的架構,一部分的 DNS 伺服器位於頂層,當查詢
其餘額外的好處有:
-* **SSL 終結** - 將傳入的請求解密,並且加密伺服器的回應,如此一來後端伺服器就不需要進行這些高度消耗資源的願算
+* **SSL 終結** - 將傳入的請求解密,並且加密伺服器的回應,如此一來後端伺服器就不需要進行這些高度消耗資源的運算... | https://api.github.com/repos/donnemartin/system-design-primer/pulls/176 | 2018-07-16T08:08:25Z | 2018-07-20T04:46:36Z | 2018-07-20T04:46:36Z | 2018-07-20T04:46:46Z | 732 | donnemartin/system-design-primer | 36,739 | |
ref(js): Use function component for ShortId | diff --git a/static/app/components/shortId.tsx b/static/app/components/shortId.tsx
index fcff9c1613b75..08b155655b682 100644
--- a/static/app/components/shortId.tsx
+++ b/static/app/components/shortId.tsx
@@ -10,22 +10,18 @@ type Props = {
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
};
-export defaul... | https://api.github.com/repos/getsentry/sentry/pulls/28215 | 2021-08-26T21:06:34Z | 2021-08-26T22:20:29Z | 2021-08-26T22:20:29Z | 2021-09-11T00:01:20Z | 363 | getsentry/sentry | 44,137 | |
Resolves the parts of #1096 in requests proper. | diff --git a/requests/models.py b/requests/models.py
index 5202e6f4ba..b7d52cd74a 100644
--- a/requests/models.py
+++ b/requests/models.py
@@ -375,13 +375,7 @@ def prepare_body(self, data, files):
else:
content_type = 'application/x-www-form-urlencoded'
- self.... | https://api.github.com/repos/psf/requests/pulls/1097 | 2013-01-11T20:06:37Z | 2013-01-22T13:11:14Z | 2013-01-22T13:11:14Z | 2021-09-08T23:07:32Z | 423 | psf/requests | 32,355 | |
PERF: performance improvements in multi-key groupby | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index e8b398aec4b74..0234a0dab8e28 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -174,6 +174,7 @@ Performance
- Performance improvement of up to 10x in ``DataFrame.count`` and ``DataFrame.dropna`` by ... | ```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
groupby_multi_index | 1008.6970 | 1861.1110 | 0.5... | https://api.github.com/repos/pandas-dev/pandas/pulls/9429 | 2015-02-06T00:38:58Z | 2015-02-07T12:44:31Z | 2015-02-07T12:44:31Z | 2015-02-07T13:05:53Z | 1,278 | pandas-dev/pandas | 45,392 |
core: Convert SimSIMD back to NumPy | diff --git a/libs/community/langchain_community/utils/math.py b/libs/community/langchain_community/utils/math.py
index 99d473681973c4..2522c1255c6948 100644
--- a/libs/community/langchain_community/utils/math.py
+++ b/libs/community/langchain_community/utils/math.py
@@ -29,7 +29,7 @@ def cosine_similarity(X: Matrix, Y:... | This patch fixes the #18022 issue, converting the SimSIMD internal zero-copy outputs to NumPy.
I've also noticed, that oftentimes `dtype=np.float32` conversion is used before passing to SimSIMD. Which numeric types do LangChain users generally care about? We support `float64`, `float32`, `float16`, and `int8` for c... | https://api.github.com/repos/langchain-ai/langchain/pulls/19473 | 2024-03-23T23:43:16Z | 2024-03-25T23:36:26Z | 2024-03-25T23:36:26Z | 2024-03-25T23:36:27Z | 707 | langchain-ai/langchain | 43,356 |
Add support for 3.10 | diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index cf5f0b4b91..4fb5eef968 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: [2.7, 3.6, 3.7, 3.8, 3.9]
+ ... | This will make sure we don't introduce any regressions into the code base prior to the official 3.10 release. At that point, we'll promote this to the normal test runner on all platforms. | https://api.github.com/repos/psf/requests/pulls/5928 | 2021-09-03T16:41:45Z | 2021-09-04T02:03:16Z | 2021-09-04T02:03:16Z | 2021-12-03T02:11:50Z | 431 | psf/requests | 32,310 |
[extractor/rtbf] Fix jwt extraction | diff --git a/yt_dlp/extractor/redbee.py b/yt_dlp/extractor/redbee.py
index 89a10448e13..ee510eb40f6 100644
--- a/yt_dlp/extractor/redbee.py
+++ b/yt_dlp/extractor/redbee.py
@@ -11,6 +11,7 @@
int_or_none,
strip_or_none,
traverse_obj,
+ try_call,
unified_timestamp,
)
@@ -255,7 +256,7 @@ def _get... | **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/4738 | 2022-08-22T18:13:59Z | 2022-08-22T18:45:46Z | 2022-08-22T18:45:46Z | 2022-08-22T18:45:46Z | 220 | yt-dlp/yt-dlp | 7,944 |
bpo-35907: Fix typo in the NEWS entry | diff --git a/Misc/NEWS.d/next/Security/2019-05-21-23-20-18.bpo-35907.NC_zNK.rst b/Misc/NEWS.d/next/Security/2019-05-21-23-20-18.bpo-35907.NC_zNK.rst
index 9628c8797572eb..37b567a5b6f93b 100644
--- a/Misc/NEWS.d/next/Security/2019-05-21-23-20-18.bpo-35907.NC_zNK.rst
+++ b/Misc/NEWS.d/next/Security/2019-05-21-23-20-18.bp... |
<!-- issue-number: [bpo-35907](https://bugs.python.org/issue35907) -->
https://bugs.python.org/issue35907
<!-- /issue-number -->
| https://api.github.com/repos/python/cpython/pulls/13559 | 2019-05-24T20:31:35Z | 2019-05-24T21:06:26Z | 2019-05-24T21:06:26Z | 2019-05-24T21:06:36Z | 253 | python/cpython | 4,434 |
add u14m results of cppd | diff --git a/doc/doc_ch/algorithm_rec_cppd.md b/doc/doc_ch/algorithm_rec_cppd.md
index 1d48ed3059..4fde62e549 100644
--- a/doc/doc_ch/algorithm_rec_cppd.md
+++ b/doc/doc_ch/algorithm_rec_cppd.md
@@ -45,7 +45,17 @@ CPPD在场景文本识别公开数据集上的精度(%)和模型文件如下:
| CPPD Base | 65.5 | 18.6 | 56.0 | 61.9 | 71.0 | 57.5 | 65.8 | 56.6... | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/11943 | 2024-04-16T08:27:39Z | 2024-04-17T02:44:58Z | 2024-04-17T02:44:58Z | 2024-04-17T02:44:58Z | 627 | PaddlePaddle/PaddleOCR | 42,027 | |
Fixed #32195 -- Added system check for invalid view in path() and improved error messages. | diff --git a/django/urls/conf.py b/django/urls/conf.py
index 119e95df411dd..b3937d55122ea 100644
--- a/django/urls/conf.py
+++ b/django/urls/conf.py
@@ -55,6 +55,8 @@ def include(arg, namespace=None):
def _path(route, view, kwargs=None, name=None, Pattern=None):
+ from django.views import View
+
if isinsta... | Ticket https://code.djangoproject.com/ticket/32195#ticket | https://api.github.com/repos/django/django/pulls/13682 | 2020-11-14T17:37:01Z | 2021-06-09T09:42:35Z | 2021-06-09T09:42:35Z | 2021-06-09T09:42:35Z | 1,390 | django/django | 51,583 |
Update installation steps and specify opencv version | diff --git a/PPOCRLabel/Makefile b/PPOCRLabel/Makefile
new file mode 100644
index 0000000000..7d72a890cb
--- /dev/null
+++ b/PPOCRLabel/Makefile
@@ -0,0 +1,35 @@
+# ex: set ts=8 noet:
+
+all: qt5 test
+
+test: testpy3
+
+testpy2:
+ python -m unittest discover tests
+
+testpy3:
+ python3 -m unittest discover tests
+
+qt... | As the new version of OpenCV(4.4.X) has conflicts with PYQT, the version of OpenCV needs to be specified. | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/1309 | 2020-12-02T13:22:37Z | 2020-12-03T03:05:37Z | 2020-12-03T03:05:37Z | 2020-12-03T03:05:37Z | 1,761 | PaddlePaddle/PaddleOCR | 42,685 |
Added YCML | diff --git a/README.md b/README.md
index 14283b3d..2ed9ceef 100644
--- a/README.md
+++ b/README.md
@@ -575,6 +575,7 @@ on MNIST digits[DEEP LEARNING]
<a name="objectivec-general-purpose">
### General-Purpose Machine Learning
+* [YCML](https://github.com/yconst/YCML) - A Machine Learning framework for Objective-C an... | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/181 | 2015-08-24T18:05:46Z | 2015-08-25T01:52:21Z | 2015-08-25T01:52:21Z | 2015-08-25T01:52:26Z | 334 | josephmisiti/awesome-machine-learning | 52,519 | |
Save hypernetwork hash and fix hypernetwork parameter restoring | diff --git a/modules/generation_parameters_copypaste.py b/modules/generation_parameters_copypaste.py
index 565e342df09..fbd91300550 100644
--- a/modules/generation_parameters_copypaste.py
+++ b/modules/generation_parameters_copypaste.py
@@ -14,6 +14,7 @@
re_param = re.compile(re_param_code)
re_params = re.compile(r"... | 1. Saves the hash of the current hypernetwork into the infotext
2. Fixes the restoring of the hypernetwork config parameter from the hypernetwork name/hash
3. Fixes the restoring of the hypernetwork strength parameter
Closes #4824 | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/5718 | 2022-12-13T22:33:31Z | 2022-12-24T08:14:19Z | 2022-12-24T08:14:19Z | 2022-12-24T08:14:19Z | 1,167 | AUTOMATIC1111/stable-diffusion-webui | 40,564 |
[web] don't crash when server has disappeared, fix #5677 | diff --git a/web/src/js/components/FlowView/Messages.tsx b/web/src/js/components/FlowView/Messages.tsx
index 4e74e05f77..89ae95cdaa 100644
--- a/web/src/js/components/FlowView/Messages.tsx
+++ b/web/src/js/components/FlowView/Messages.tsx
@@ -24,7 +24,16 @@ export default function Messages({flow, messages_meta}: Messag... | Coincidentally managed to reproduce this one during testing. :) | https://api.github.com/repos/mitmproxy/mitmproxy/pulls/5683 | 2022-10-26T16:12:53Z | 2022-10-26T16:47:09Z | 2022-10-26T16:47:09Z | 2022-10-26T16:47:48Z | 252 | mitmproxy/mitmproxy | 27,628 |
Improve options UX | diff --git a/mitmproxy/tools/main.py b/mitmproxy/tools/main.py
index d8d16ea433..3735cbf445 100644
--- a/mitmproxy/tools/main.py
+++ b/mitmproxy/tools/main.py
@@ -20,7 +20,7 @@
from mitmproxy import optmanager # noqa
from mitmproxy import proxy # noqa
from mitmproxy import log # noqa
-from mitmproxy.utils import ... | More checks can be added to this.
Almost all the options which will be removed can be set using `--set option_name=value` Maybe add a check for that?
ref: #2498 | https://api.github.com/repos/mitmproxy/mitmproxy/pulls/2503 | 2017-08-05T17:09:18Z | 2017-08-07T14:22:17Z | 2017-08-07T14:22:17Z | 2017-08-07T14:22:17Z | 1,986 | mitmproxy/mitmproxy | 28,043 |
[updated] improve softmax implementation | diff --git a/keras/activations.py b/keras/activations.py
index a0ae77385fe..cf0f2134866 100644
--- a/keras/activations.py
+++ b/keras/activations.py
@@ -25,7 +25,9 @@ def softmax(x, axis=-1):
ValueError: In case `dim(x) == 1`.
"""
ndim = K.ndim(x)
- if ndim == 2:
+ if ndim == 1:
+ raise ... | ### Summary
This PR is an update of #10027 which I kinda broke. Sorry about it.
### Related Issues
### PR Overview
I moved the correctness test in the backend tests. I think it belongs there rather than in the activations tests.
- [ ] This PR requires new unit tests [y/n] (make sure tests are included)
... | https://api.github.com/repos/keras-team/keras/pulls/11189 | 2018-09-21T10:52:25Z | 2018-09-28T19:09:49Z | 2018-09-28T19:09:48Z | 2018-11-07T17:05:29Z | 897 | keras-team/keras | 47,014 |
[embedding] add more detail profiling | diff --git a/colossalai/nn/parallel/layers/cache_embedding/cache_mgr.py b/colossalai/nn/parallel/layers/cache_embedding/cache_mgr.py
index 893188b71e85..d892901453c8 100644
--- a/colossalai/nn/parallel/layers/cache_embedding/cache_mgr.py
+++ b/colossalai/nn/parallel/layers/cache_embedding/cache_mgr.py
@@ -256,13 +256,1... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/1656 | 2022-09-27T05:43:35Z | 2022-09-27T05:44:00Z | 2022-09-27T05:44:00Z | 2022-09-27T05:44:00Z | 1,386 | hpcaitech/ColossalAI | 11,344 | |
Take `no_emb_class` into account when calling `resize_pos_embed` | diff --git a/timm/models/vision_transformer.py b/timm/models/vision_transformer.py
index 9066a9de88..9602355bb1 100644
--- a/timm/models/vision_transformer.py
+++ b/timm/models/vision_transformer.py
@@ -644,7 +644,7 @@ def checkpoint_filter_fn(state_dict, model, adapt_layer_scale=False):
v = resize_pos_emb... | `num_prefix_tokens` gets overridden by `no_embed_class` [here](https://github.com/rwightman/pytorch-image-models/blob/d7b55a9429f3d56a991e604cbc2e9fdf1901612f/timm/models/vision_transformer.py#L372) when initializing `VisionTransformer`. However, `no_embed_class` is not considered when calling `rezie_post_embed`, whic... | https://api.github.com/repos/huggingface/pytorch-image-models/pulls/1365 | 2022-07-24T11:28:38Z | 2022-07-25T04:03:02Z | 2022-07-25T04:03:02Z | 2022-07-25T04:03:02Z | 161 | huggingface/pytorch-image-models | 16,263 |
reduce unnecessary re-indexing extra networks directory | diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py
index beea1316083..e1c679eca35 100644
--- a/modules/ui_extra_networks.py
+++ b/modules/ui_extra_networks.py
@@ -417,21 +417,21 @@ def create_ui(interface: gr.Blocks, unrelated_tabs, tabname):
dropdown_sort.change(fn=lambda: None, _js="func... | ## Description
webui calles `extra networks refresh()` when the webpages loads
the refresh function includes clearing out the existing extra networks list and crawling through the directories again
this is unnecessary
particularly in lots of cases on initial launch of the server followed by loading of web pag... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/14512 | 2024-01-03T10:12:57Z | 2024-01-03T16:15:46Z | 2024-01-03T16:15:46Z | 2024-01-03T16:15:48Z | 276 | AUTOMATIC1111/stable-diffusion-webui | 40,139 |
TST: Add test for pandas on sys.getsizeof GH#21758 | diff --git a/pandas/tests/test_common.py b/pandas/tests/test_common.py
index d31f617b9be15..4860ee235c03d 100644
--- a/pandas/tests/test_common.py
+++ b/pandas/tests/test_common.py
@@ -1,6 +1,8 @@
import collections
from functools import partial
import string
+import subprocess
+import sys
import numpy as np
imp... | - [ ] closes #21758 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/53385 | 2023-05-25T07:24:35Z | 2023-05-30T17:04:10Z | 2023-05-30T17:04:10Z | 2023-05-31T12:22:47Z | 255 | pandas-dev/pandas | 45,214 |
Update semantic_segmentation.md | diff --git a/docs/source/en/tasks/semantic_segmentation.md b/docs/source/en/tasks/semantic_segmentation.md
index 6bb25e3e2e18f..c3ad3e00f61aa 100644
--- a/docs/source/en/tasks/semantic_segmentation.md
+++ b/docs/source/en/tasks/semantic_segmentation.md
@@ -206,7 +206,7 @@ The transform is applied on the fly which is fa... | fixed typo | https://api.github.com/repos/huggingface/transformers/pulls/26419 | 2023-09-26T14:07:57Z | 2023-09-27T09:51:44Z | 2023-09-27T09:51:44Z | 2023-09-27T09:51:44Z | 338 | huggingface/transformers | 12,324 |
jenkins: lock device resource first before making container | diff --git a/Jenkinsfile b/Jenkinsfile
index dffffae7f7bdcf..ef1996d701b109 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -78,8 +78,8 @@ def deviceStage(String stageName, String deviceType, List extra_env, def steps)
def extra = extra_env.collect { "export ${it}" }.join('\n');
def branch = env.BRANCH_NAME ?: ... | so we don't create a bunch of docker containers while waiting for the resource to open up | https://api.github.com/repos/commaai/openpilot/pulls/31330 | 2024-02-06T21:32:16Z | 2024-02-06T21:35:09Z | 2024-02-06T21:35:09Z | 2024-02-06T21:36:48Z | 270 | commaai/openpilot | 8,951 |
[3.6] bpo-29706: Test that IDLE colors async/await as keywords. (GH-6846) | diff --git a/Lib/idlelib/colorizer.py b/Lib/idlelib/colorizer.py
index 5cb85f24dfd723..1f31ce22d7e510 100644
--- a/Lib/idlelib/colorizer.py
+++ b/Lib/idlelib/colorizer.py
@@ -17,8 +17,6 @@ def make_pat():
builtinlist = [str(name) for name in dir(builtins)
if not name.starts... | Added to the eye-verified htest, not to the unittests.
Also remove some stray leftover comments.
(cherry picked from commit 389a48ede92bf7965889d554d2cd17b50d6e3d86)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
<!-- issue-number: bpo-29706 -->
https://bugs.python.org/issue29706
<!-- /issue-number -->
| https://api.github.com/repos/python/cpython/pulls/6868 | 2018-05-15T18:21:47Z | 2018-05-15T20:48:14Z | 2018-05-15T20:48:14Z | 2018-05-15T20:48:18Z | 574 | python/cpython | 4,074 |
[ci] fix shardformer tests. | diff --git a/colossalai/booster/plugin/hybrid_parallel_plugin.py b/colossalai/booster/plugin/hybrid_parallel_plugin.py
index 205660f946e9..8ee1e97c6ce3 100644
--- a/colossalai/booster/plugin/hybrid_parallel_plugin.py
+++ b/colossalai/booster/plugin/hybrid_parallel_plugin.py
@@ -919,6 +919,7 @@ class HybridParallelPlugi... | ## 📌 Checklist before creating the PR
- [ ] I have created an issue for this PR for traceability
- [ ] The title follows the standard format: `[doc/gemini/tensor/...]: A concise description`
- [ ] I have added relevant tags if possible for us to better distinguish different PRs
## 🚨 Issue number
> Link t... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/5255 | 2024-01-11T09:21:40Z | 2024-01-11T11:07:45Z | 2024-01-11T11:07:45Z | 2024-01-11T11:07:46Z | 1,866 | hpcaitech/ColossalAI | 11,640 |
[ffmpeg] use subprocess.check_call | diff --git a/src/you_get/processor/ffmpeg.py b/src/you_get/processor/ffmpeg.py
index 94378daac4..ab262e555f 100644
--- a/src/you_get/processor/ffmpeg.py
+++ b/src/you_get/processor/ffmpeg.py
@@ -109,11 +109,9 @@ def ffmpeg_concat_flv_to_mp4(files, output='output.mp4'):
params.append(output + '.txt')
p... | This fixes `RuntimeError: No active exception to reraise`. Raising a `CalledProcessError` is more useful for debugging and manual fixing.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/soimort/you-get/678)
<!-- Revie... | https://api.github.com/repos/soimort/you-get/pulls/678 | 2015-09-27T08:46:22Z | 2015-09-27T18:23:30Z | 2015-09-27T18:23:30Z | 2015-09-27T18:23:30Z | 179 | soimort/you-get | 21,289 |
chore(hybridcloud) Reduce logging level in pagerduty alert rule action | diff --git a/src/sentry/integrations/pagerduty/actions/notification.py b/src/sentry/integrations/pagerduty/actions/notification.py
index 35184e617ebae..a0d84782e880d 100644
--- a/src/sentry/integrations/pagerduty/actions/notification.py
+++ b/src/sentry/integrations/pagerduty/actions/notification.py
@@ -41,14 +41,19 @@... | Previously alert rules that were missing an integration would log at ERROR. However, there isn't anything we can do about these most of the time because the source of the problem is customers removing integrations. Reducing the logging level to info will give us enough context to figure out why an alert isn't triggerin... | https://api.github.com/repos/getsentry/sentry/pulls/61628 | 2023-12-12T20:36:13Z | 2023-12-13T15:15:39Z | 2023-12-13T15:15:39Z | 2023-12-29T00:19:42Z | 278 | getsentry/sentry | 44,693 |
Fixed False Positives on Polarsteps | diff --git a/sherlock/resources/data.json b/sherlock/resources/data.json
index 2fc99b562..6b881d6f5 100644
--- a/sherlock/resources/data.json
+++ b/sherlock/resources/data.json
@@ -15,9 +15,10 @@
},
"polarsteps": {
"errorType": "status_code",
- "url": "https://www.polarsteps.com/{}",
+ "url": "https://... | Using API
https://api.polarsteps.com/users/byusername/{} | https://api.github.com/repos/sherlock-project/sherlock/pulls/703 | 2020-08-07T10:41:50Z | 2020-08-07T10:54:58Z | 2020-08-07T10:54:58Z | 2020-08-07T11:02:21Z | 199 | sherlock-project/sherlock | 36,232 |
fix: remove useless token | diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml
index b4ef7415c7..6cbf1da6fc 100644
--- a/.github/workflows/build_documentation.yml
+++ b/.github/workflows/build_documentation.yml
@@ -17,5 +17,4 @@ jobs:
path_to_docs: pytorch-image-models/hfdocs/source
ve... | This token is not used by your action.
Secret is removed from the repository. | https://api.github.com/repos/huggingface/pytorch-image-models/pulls/1995 | 2023-10-19T11:28:34Z | 2023-10-19T12:58:52Z | 2023-10-19T12:58:52Z | 2023-10-19T12:59:30Z | 150 | huggingface/pytorch-image-models | 16,449 |
Fixed typo | diff --git a/gym/envs/toy_text/taxi.py b/gym/envs/toy_text/taxi.py
index faf7d433db9..270b33f9921 100644
--- a/gym/envs/toy_text/taxi.py
+++ b/gym/envs/toy_text/taxi.py
@@ -24,7 +24,7 @@ class TaxiEnv(discrete.DiscreteEnv):
There are four designated locations in the grid world indicated by R(ed), B(lue), G(reen), ... | Fixed the typo 'actions' to 'states', which is what is implied by context. | https://api.github.com/repos/openai/gym/pulls/1199 | 2018-10-14T12:25:16Z | 2018-10-18T20:56:08Z | 2018-10-18T20:56:08Z | 2018-10-18T20:56:08Z | 294 | openai/gym | 5,425 |
Add Heroku Platform API | diff --git a/README.md b/README.md
index 0362497d2e..22d654a267 100644
--- a/README.md
+++ b/README.md
@@ -484,6 +484,7 @@ API | Description | Auth | HTTPS | CORS |
| [Google Slides](https://developers.google.com/slides/api/reference/rest) | API to read, write, and format Google Slides presentations | `OAuth` | Yes | ... | <!-- 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/2788 | 2021-10-29T14:56:51Z | 2021-10-30T01:07:59Z | 2021-10-30T01:07:59Z | 2021-10-30T06:15:51Z | 295 | public-apis/public-apis | 35,212 |
DOC Ensures that sklearn.datasets._base.load_breast_cancer passes numpydoc validation | diff --git a/sklearn/datasets/_base.py b/sklearn/datasets/_base.py
index 332d0e74b6818..9ac2e75a9b62a 100644
--- a/sklearn/datasets/_base.py
+++ b/sklearn/datasets/_base.py
@@ -660,6 +660,10 @@ def load_breast_cancer(*, return_X_y=False, as_frame=False):
Features real, positive
================= ... |
#### Reference Issues/PRs
Addresses #21350
#### What does this implement/fix? Explain your changes.
1. Removed sklearn.datasets._base.load_breast_cancer from FUNCTION_DOCSTRING_IGNORE_LIST
2. Added spaces before and after colon of return values in sklearn.datasets._base.load_breast_cancer.
3. Redefined the des... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/22346 | 2022-01-31T06:23:28Z | 2022-02-01T09:39:41Z | 2022-02-01T09:39:41Z | 2022-02-08T12:33:20Z | 896 | scikit-learn/scikit-learn | 46,876 |
[Tudou] Fix titles in playlists | diff --git a/src/you_get/extractors/tudou.py b/src/you_get/extractors/tudou.py
index 6bbbc12bb5..8c434437c7 100644
--- a/src/you_get/extractors/tudou.py
+++ b/src/you_get/extractors/tudou.py
@@ -32,11 +32,11 @@ def tudou_download_by_id(id, title, output_dir = '.', merge = True, info_only =
def tudou_download(url, outp... | 
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/so... | https://api.github.com/repos/soimort/you-get/pulls/1528 | 2016-11-26T12:13:20Z | 2016-11-26T15:29:40Z | 2016-11-26T15:29:40Z | 2016-11-26T15:30:00Z | 382 | soimort/you-get | 21,452 |
GH-103092: isolate `pyexpat` | diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index c0fbd4d39f0096..92f594ab63ea2a 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -1076,13 +1076,31 @@ static struct PyMethodDef xmlparse_methods[] = {
Make it as simple as possible.
*/
+static const unsigned char template_buffer[256] =
+ {0, 1, ... | <!--
Thanks for your contribution!
Please read this comment in its entirety. It's quite important.
# Pull Request title
It should be in the following format:
```
gh-NNNNN: Summary of the changes made
```
Where: gh-NNNNN refers to the GitHub issue number.
Most PRs will require an issue number. Trivial... | https://api.github.com/repos/python/cpython/pulls/104506 | 2023-05-15T12:26:47Z | 2023-05-16T20:03:01Z | 2023-05-16T20:03:01Z | 2023-05-16T21:31:11Z | 1,282 | python/cpython | 4,120 |
Add answer to Spine & Leaf network question | diff --git a/README.md b/README.md
index 5066e26b9..ca98f46da 100644
--- a/README.md
+++ b/README.md
@@ -622,6 +622,14 @@ Throughput. To have good throughput, the upload stream should be routed to an un
<details>
<summary>Explain Spine & Leaf</summary><br><b>
+"Spine & Leaf" is a networking topology commonly used i... | Add answer to question `Explain Spine & Leaf` within README.md file. | https://api.github.com/repos/bregman-arie/devops-exercises/pulls/410 | 2023-08-01T21:23:13Z | 2024-02-02T13:23:36Z | 2024-02-02T13:23:36Z | 2024-02-02T13:23:36Z | 361 | bregman-arie/devops-exercises | 17,671 |
Remove trailing \n from texttobase64.sh | diff --git a/scripts/texttobase64.sh b/scripts/texttobase64.sh
index 791f21c..04c1feb 100755
--- a/scripts/texttobase64.sh
+++ b/scripts/texttobase64.sh
@@ -2,7 +2,7 @@ commentChar="#"
while read p; do
firstChar=${p:0:1}
if [[ "$firstChar" != "$commentChar" && "$firstChar" != "" ]] ; then
- echo $p... | Without this, all base64 strings will get a trailing \n in their encoded form
ref #86
Does _not_ update the `blns.base64.txt` file
| https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/94 | 2016-02-11T09:43:08Z | 2016-02-11T15:04:01Z | 2016-02-11T15:04:01Z | 2016-05-01T15:57:15Z | 141 | minimaxir/big-list-of-naughty-strings | 4,836 |
[docs; tiny] Clarify that Response.ok will *only* return True/False | diff --git a/requests/models.py b/requests/models.py
index 4041cac3f0..ce4e284e64 100644
--- a/requests/models.py
+++ b/requests/models.py
@@ -686,11 +686,11 @@ def __iter__(self):
@property
def ok(self):
- """Returns True if :attr:`status_code` is less than 400.
+ """Returns True if :attr:`st... | This is a tiny documentation fix, just to be super-duper explicit about the return value of `response.ok`.
(I wanted to check I could use its value in a function that’s meant to return a boolean, but the docs weren’t clear about what a non-Truthy return value would be.) | https://api.github.com/repos/psf/requests/pulls/4390 | 2017-11-20T09:19:38Z | 2017-11-20T13:18:01Z | 2017-11-20T13:18:01Z | 2021-09-04T00:06:40Z | 215 | psf/requests | 32,429 |
Merge Augeas lens fix for quotes in directive arguments | diff --git a/letsencrypt-apache/letsencrypt_apache/augeas_lens/httpd.aug b/letsencrypt-apache/letsencrypt_apache/augeas_lens/httpd.aug
index d665ea7a73f..0f2cb7b4551 100644
--- a/letsencrypt-apache/letsencrypt_apache/augeas_lens/httpd.aug
+++ b/letsencrypt-apache/letsencrypt_apache/augeas_lens/httpd.aug
@@ -59,7 +59,7 ... | Augeas fails to parse a directive argument with a quote inside (expecting
either fully quoted or unquoted values).
From hercules-team/augeas@d4d7ea9
Closes: #1934
| https://api.github.com/repos/certbot/certbot/pulls/1945 | 2015-12-18T08:11:58Z | 2015-12-18T09:04:14Z | 2015-12-18T09:04:14Z | 2016-05-06T19:21:58Z | 569 | certbot/certbot | 1,183 |
Fix Python syntax error in ftp_send_receive.py | diff --git a/ftp_send_receive.py b/ftp_send_receive.py
index caafc0c4d7..4dc761504c 100644
--- a/ftp_send_receive.py
+++ b/ftp_send_receive.py
@@ -9,7 +9,7 @@
"""
from ftplib import FTP
-ftp = FTP('xxx.xxx.x.x') """ Enter the ip address or the domain name here """
+ftp = FTP('xxx.xxx.x.x') # Enter the ip add... | https://api.github.com/repos/geekcomputers/Python/pulls/454 | 2019-01-07T10:22:10Z | 2019-01-08T06:10:55Z | 2019-01-08T06:10:55Z | 2019-01-08T07:18:32Z | 206 | geekcomputers/Python | 31,743 | |
Fix optional import crash and error | diff --git a/interpreter/core/computer/display/display.py b/interpreter/core/computer/display/display.py
index 1f7a8b361..f21a1b5c4 100644
--- a/interpreter/core/computer/display/display.py
+++ b/interpreter/core/computer/display/display.py
@@ -12,7 +12,6 @@
import requests
from ...utils.lazy_import import lazy_impor... | ### Describe the changes you have made:
- Fixed a crash by converting a missed import cv2 in display.py to lazy_import.
- Removed the single quotes around pip install open-interpreter[os].
### Reference any relevant issues (e.g. "Fixes #000"):
- ModuleNotFoundError: No module named 'cv2'
- ERROR: Invalid require... | https://api.github.com/repos/OpenInterpreter/open-interpreter/pulls/1194 | 2024-04-10T21:03:59Z | 2024-04-17T01:07:04Z | 2024-04-17T01:07:04Z | 2024-04-17T01:07:38Z | 514 | OpenInterpreter/open-interpreter | 40,662 |
[extractor/viu] Add ViuOTTNew extractor | diff --git a/yt_dlp/extractor/_extractors.py b/yt_dlp/extractor/_extractors.py
index 12ef50cc6bc..56949c8af60 100644
--- a/yt_dlp/extractor/_extractors.py
+++ b/yt_dlp/extractor/_extractors.py
@@ -2178,6 +2178,7 @@
ViuIE,
ViuPlaylistIE,
ViuOTTIE,
+ ViuOTTIndonesiaIE,
)
from .vk import (
VKIE,
d... | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
<!--
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 enough to be un... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/6099 | 2023-01-27T02:33:47Z | 2023-02-17T02:57:52Z | 2023-02-17T02:57:52Z | 2023-02-17T02:57:53Z | 2,178 | yt-dlp/yt-dlp | 8,283 |
✏ Fix typos and add rewording in docs | diff --git a/docs/en/docs/tutorial/body.md b/docs/en/docs/tutorial/body.md
index 2afc979989058..24b2285968eb0 100644
--- a/docs/en/docs/tutorial/body.md
+++ b/docs/en/docs/tutorial/body.md
@@ -131,7 +131,7 @@ Inside of the function, you can access all the attributes of the model object di
## Request body + path para... | Fix typos in docs.
## target
- "Tutorial - User Guide"
- "Request Body"
- "Query Parameters and String Validations"
- "Path Parameters and Numeric Validations" | https://api.github.com/repos/tiangolo/fastapi/pulls/2159 | 2020-10-10T22:50:55Z | 2020-11-05T22:33:07Z | 2020-11-05T22:33:07Z | 2020-11-06T10:41:08Z | 554 | tiangolo/fastapi | 23,033 |
DOC modified the graph for better readability | diff --git a/examples/classification/plot_lda.py b/examples/classification/plot_lda.py
index 4213fc614a31a..322cc8bb4007c 100644
--- a/examples/classification/plot_lda.py
+++ b/examples/classification/plot_lda.py
@@ -47,8 +47,8 @@ def generate_data(n_samples, n_features):
for _ in range(n_averages):
X, y ... | <!--
Thanks for contributing a pull request! Please ensure you have taken a look at
the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md
-->
#### Reference Issues/PRs
<!--
Example: Fixes #1234. See also #3456.
Please use keywords (e.g., Fixes) to create link to th... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/25644 | 2023-02-19T01:59:38Z | 2023-02-20T20:23:21Z | 2023-02-20T20:23:21Z | 2023-02-20T20:23:22Z | 624 | scikit-learn/scikit-learn | 46,788 |
Fix stray ellipsis | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index 2ad06fdef..0c1052d1e 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -3152,7 +3152,7 @@ Usually you forward the entire parameter (or parameter pack, using `...`) exactl
Sometimes you may forward a composite parameter piecewise, each subobje... | This PR removes a stray ellipsis where the author clearly didn't intend to use a parameter pack.
The code is ill-formed without this fix. | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/2091 | 2023-06-23T16:24:44Z | 2023-06-23T17:08:51Z | 2023-06-23T17:08:51Z | 2023-06-23T17:08:52Z | 169 | isocpp/CppCoreGuidelines | 15,808 |
`process_mask_native()` cleanup | diff --git a/segment/predict.py b/segment/predict.py
index 4d8458fd879..4ba9e46ddab 100644
--- a/segment/predict.py
+++ b/segment/predict.py
@@ -44,7 +44,7 @@
from utils.dataloaders import IMG_FORMATS, VID_FORMATS, LoadImages, LoadScreenshots, LoadStreams
from utils.general import (LOGGER, Profile, check_file, check_... | <!--
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 similar PR already exists.
- Link this PR to a YOLOv5 [issue](htt... | https://api.github.com/repos/ultralytics/yolov5/pulls/10366 | 2022-12-01T20:30:41Z | 2022-12-03T22:41:09Z | 2022-12-03T22:41:09Z | 2024-01-19T04:02:54Z | 2,189 | ultralytics/yolov5 | 24,954 |
Move misplaced line | diff --git a/src/transformers/models/mistral/modeling_mistral.py b/src/transformers/models/mistral/modeling_mistral.py
index f4251b98304c4..fbba155f19d57 100644
--- a/src/transformers/models/mistral/modeling_mistral.py
+++ b/src/transformers/models/mistral/modeling_mistral.py
@@ -1176,11 +1176,11 @@ def forward(
... | Move misplaced line, improve code comment.
No functional change, the loss_fct is not used earlier and did not match the code comment either.
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
@ArthurZucker and @youn... | https://api.github.com/repos/huggingface/transformers/pulls/29117 | 2024-02-19T18:46:50Z | 2024-02-20T01:24:48Z | 2024-02-20T01:24:48Z | 2024-02-20T01:41:32Z | 231 | huggingface/transformers | 11,963 |
Avoid blocking event loop when using DataFusionAsyncHook by replacing sleep by asyncio.sleep | diff --git a/airflow/providers/google/cloud/hooks/datafusion.py b/airflow/providers/google/cloud/hooks/datafusion.py
index 38b06602120d5..b0e44081c7b97 100644
--- a/airflow/providers/google/cloud/hooks/datafusion.py
+++ b/airflow/providers/google/cloud/hooks/datafusion.py
@@ -17,6 +17,7 @@
"""This module contains Goog... |
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you ... | https://api.github.com/repos/apache/airflow/pulls/33756 | 2023-08-26T01:20:07Z | 2023-08-26T07:15:51Z | 2023-08-26T07:15:50Z | 2023-08-26T07:15:51Z | 188 | apache/airflow | 14,418 |
DeepSpeed Ulysses tutorial | diff --git a/docs/_tutorials/ds-sequence.md b/docs/_tutorials/ds-sequence.md
new file mode 100755
index 000000000000..815b99d6de35
--- /dev/null
+++ b/docs/_tutorials/ds-sequence.md
@@ -0,0 +1,117 @@
+---
+title: "Getting Started with DeepSpeed-Ulysses for Training Transformer Models with Extreme Long Sequences"
+tags:... | https://api.github.com/repos/microsoft/DeepSpeed/pulls/4200 | 2023-08-23T17:53:52Z | 2023-08-23T18:10:34Z | 2023-08-23T18:10:34Z | 2023-08-23T18:10:34Z | 1,512 | microsoft/DeepSpeed | 10,536 | |
Dockerfile fonts | diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile
index f5c9b408b..964eda15f 100644
--- a/docker/dev/Dockerfile
+++ b/docker/dev/Dockerfile
@@ -8,6 +8,11 @@ RUN apk update && apk add --no-cache \
# install go package.
RUN go get github.com/mingrammer/round
+# install fonts
+RUN apk --no-cache add msttcoref... | Docker file didn't work for me. Needed graphviz, jinja2 python packages, and fonts added.
Fixes #230 | https://api.github.com/repos/mingrammer/diagrams/pulls/231 | 2020-07-13T04:39:22Z | 2020-07-13T04:50:40Z | 2020-07-13T04:50:40Z | 2020-07-13T04:50:41Z | 187 | mingrammer/diagrams | 52,554 |
Support Python 3.8 | diff --git a/g4f/Provider/Bing.py b/g4f/Provider/Bing.py
index dccfc5b1d0..e03b413f02 100644
--- a/g4f/Provider/Bing.py
+++ b/g4f/Provider/Bing.py
@@ -408,14 +408,14 @@ def create_message(conversation: Conversation, prompt: str, tone: str, context:
'traceId': os.urandom(16).hex(),
'isS... | https://api.github.com/repos/xtekky/gpt4free/pulls/1390 | 2023-12-25T00:41:40Z | 2023-12-27T15:54:42Z | 2023-12-27T15:54:42Z | 2023-12-27T15:54:45Z | 217 | xtekky/gpt4free | 37,957 | |
GitHub Workflows security hardening | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2a1b9a4aa09..12e5426b14f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,8 +1,12 @@
name: Build
on: workflow_dispatch
+permissions:
+ contents: read
jobs:
prepare:
+ permissions:
+ contents: wr... | **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 enough to... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/5410 | 2022-10-31T10:39:30Z | 2022-11-10T01:41:07Z | 2022-11-10T01:41:07Z | 2022-11-10T01:41:07Z | 601 | yt-dlp/yt-dlp | 7,420 |
don't dropout in eval mode | diff --git a/model.py b/model.py
index 0858f80a3..287aadd34 100644
--- a/model.py
+++ b/model.py
@@ -69,7 +69,7 @@ def forward(self, x):
# causal self-attention; Self-attend: (B, nh, T, hs) x (B, nh, hs, T) -> (B, nh, T, T)
if self.flash:
# efficient attention using Flash Attention CUDA k... | To give the model more chances to figure out if it's being trained or deployed :) (c.f. https://twitter.com/karpathy/status/1635049541534879745)
| https://api.github.com/repos/karpathy/nanoGPT/pulls/240 | 2023-04-11T06:05:14Z | 2023-04-13T05:43:59Z | 2023-04-13T05:43:59Z | 2023-04-13T18:01:40Z | 216 | karpathy/nanoGPT | 40,973 |
release version 2.1.1 | diff --git a/CHANGES.rst b/CHANGES.rst
index 8214900cc5..9e740614d0 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -3,7 +3,7 @@
Version 2.1.1
-------------
-Unreleased
+Released on 2022-03-30
- Set the minimum required version of importlib_metadata to 3.6.0,
which is required on Python < 3.10. :issue:`4502... | https://api.github.com/repos/pallets/flask/pulls/4510 | 2022-03-30T21:28:41Z | 2022-03-30T21:33:50Z | 2022-03-30T21:33:50Z | 2022-04-14T00:05:39Z | 123 | pallets/flask | 20,356 | |
Code cleanup and small improvements for zoom in inpaint | diff --git a/javascript/zoom.js b/javascript/zoom.js
index e3fdcfb70..450a03472 100644
--- a/javascript/zoom.js
+++ b/javascript/zoom.js
@@ -1,18 +1,5 @@
onUiLoaded(async() => {
// Helper functions
- // Get active tab
-
- /**
- * Waits for an element to be present in the DOM.
- */
- const waitFor... | I cleaned up the code that was left from auto1111 and is no longer needed, also made a couple of authoring changes and added the ability to cancel the last action on ctr+z.
Before you accept this PR, I'd like you to see if these changes fit, because what I've done is my vision, which may not fit you, and if I've don... | https://api.github.com/repos/lllyasviel/Fooocus/pulls/1432 | 2023-12-15T21:19:09Z | 2023-12-15T21:27:15Z | 2023-12-15T21:27:15Z | 2023-12-15T21:40:02Z | 3,764 | lllyasviel/Fooocus | 7,092 |
Add Water Content Measurement clusters | diff --git a/homeassistant/components/zha/core/channels/measurement.py b/homeassistant/components/zha/core/channels/measurement.py
index 19ecc8a633562b..093c04245c46f1 100644
--- a/homeassistant/components/zha/core/channels/measurement.py
+++ b/homeassistant/components/zha/core/channels/measurement.py
@@ -62,6 +62,30 @... | <!--
You are amazing! Thanks for contributing to our project!
Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->
## Proposed change
Ads missing Water Content Measurement clusters: Soil Moisture and Leaf Wetness
<!--
Describe the big picture of your changes here to communicate to ... | https://api.github.com/repos/home-assistant/core/pulls/59300 | 2021-11-07T18:01:27Z | 2021-11-08T18:13:36Z | 2021-11-08T18:13:35Z | 2021-11-09T19:07:14Z | 1,683 | home-assistant/core | 39,037 |
Update bitsandbytes to 0.39.1 | diff --git a/requirements.txt b/requirements.txt
index b4ceb313f1..4a31685bf5 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -17,8 +17,8 @@ tqdm
scipy
transformers==4.30.2
git+https://github.com/huggingface/peft@03eb378eb914fbee709ff7c86ba5b1d033b89524
-bitsandbytes==0.39.0; platform_system != "Windows"
-ht... | This update of bitsandbytes allows for older GPUs to use `load-in-4bit`.
I have not included changes to documentation in this PR as I am not sure of the extent of the compatibility, but I know Pascal works.
From bitsandbytes changelog:
```
Bug fixes:
Fixed a bug where 8-bit models consumed twice the memo... | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/2799 | 2023-06-21T18:01:07Z | 2023-06-21T18:04:45Z | 2023-06-21T18:04:45Z | 2023-06-21T18:09:11Z | 342 | oobabooga/text-generation-webui | 25,938 |
Delete Please give me pull request .md | diff --git a/Please give me pull request .md b/Please give me pull request .md
deleted file mode 100644
index 8e667e826d..0000000000
--- a/Please give me pull request .md
+++ /dev/null
@@ -1,6 +0,0 @@
-fruits_to_colors = {"apple": "#ff0000",
- "lemon": "#ffff00",
- "orange": "#ffa... | Deleted spam files to keep the repo clean | https://api.github.com/repos/geekcomputers/Python/pulls/1632 | 2022-07-23T16:07:40Z | 2022-07-24T17:47:10Z | 2022-07-24T17:47:10Z | 2022-07-24T17:47:10Z | 120 | geekcomputers/Python | 31,505 |
New oasst export dataset loader | diff --git a/backend/import.py b/backend/import.py
index 2880c34412..ecea434bab 100644
--- a/backend/import.py
+++ b/backend/import.py
@@ -16,7 +16,7 @@
from oasst_backend.models.payload_column_type import PayloadContainer
from oasst_backend.prompt_repository import PromptRepository
from oasst_backend.user_repositor... | - support jsonl and jsonl.gz input files
- use oasst export classes for parsing (classes reside now in oasst_shared)
- extract all usable leaf-nodes (last assistant replies of conversation threads)
- allow filtering by language and top_k (ranking results)
- split into train/eval (while ensuring that no conversation... | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/1854 | 2023-02-24T22:52:15Z | 2023-02-26T11:56:45Z | 2023-02-26T11:56:45Z | 2023-02-26T11:56:46Z | 3,362 | LAION-AI/Open-Assistant | 37,601 |
Break long lines to increase readability in files | diff --git a/scripts/python/__pycache__/cpplint.cpython-36.pyc b/scripts/python/__pycache__/cpplint.cpython-36.pyc
new file mode 100644
index 000000000..270ee6d92
Binary files /dev/null and b/scripts/python/__pycache__/cpplint.cpython-36.pyc differ
diff --git a/scripts/python/cpplint_wrap.py b/scripts/python/cpplint_wr... | There were some very long lines in Python script files (comments and
cpplint execution command), really painful to read, so I decided to
break them into several lines in order to increase readability. | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/1057 | 2017-10-11T07:12:03Z | 2017-10-23T18:14:43Z | 2017-10-23T18:14:43Z | 2017-10-31T15:29:33Z | 915 | isocpp/CppCoreGuidelines | 15,876 |
Misc fixes | diff --git a/mitmproxy/addons/script.py b/mitmproxy/addons/script.py
index decd07596a..a39ce5ce57 100644
--- a/mitmproxy/addons/script.py
+++ b/mitmproxy/addons/script.py
@@ -148,17 +148,25 @@ def running(self):
@command.command("script.run")
def script_run(self, flows: typing.Sequence[flow.Flow], path: mtype... | https://api.github.com/repos/mitmproxy/mitmproxy/pulls/3116 | 2018-05-11T23:47:31Z | 2018-05-12T01:32:58Z | 2018-05-12T01:32:58Z | 2018-05-15T21:48:14Z | 1,297 | mitmproxy/mitmproxy | 28,099 | |
Fix MPS cache cleanup | diff --git a/modules/devices.py b/modules/devices.py
index c5ad950f621..57e51da30e2 100644
--- a/modules/devices.py
+++ b/modules/devices.py
@@ -54,8 +54,9 @@ def torch_gc():
with torch.cuda.device(get_cuda_device_string()):
torch.cuda.empty_cache()
torch.cuda.ipc_collect()
- elif ... | Importing torch does not import torch.mps so the call failed.
This moves the MPS specific cleanup to the `mac_specific` module too.
See https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/da8916f92649fc4d947cb46d9d8f8ea1621b2a59#commitcomment-121183933
## Checklist:
- [x] I have read [contributin... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/11722 | 2023-07-10T18:20:08Z | 2023-07-11T10:49:02Z | 2023-07-11T10:49:02Z | 2023-07-11T10:49:03Z | 410 | AUTOMATIC1111/stable-diffusion-webui | 40,074 |
Bug fix in examples;correct t_total for distributed training;run pred… | diff --git a/examples/run_classifier.py b/examples/run_classifier.py
index c6acc091ef070..2c83b4fe497fe 100644
--- a/examples/run_classifier.py
+++ b/examples/run_classifier.py
@@ -33,6 +33,7 @@
from pytorch_pretrained_bert.tokenization import BertTokenizer
from pytorch_pretrained_bert.modeling import BertForSequence... | Bug fix in examples;
correct t_total for distributed training;
run prediction for full dataset | https://api.github.com/repos/huggingface/transformers/pulls/58 | 2018-11-27T09:10:10Z | 2018-11-28T11:39:46Z | 2018-11-28T11:39:46Z | 2018-11-28T11:39:46Z | 1,836 | huggingface/transformers | 12,909 |
fix pybrowsers not found | diff --git a/setup.py b/setup.py
index b3fd62178..1ba08c636 100644
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,7 @@ def run(self):
"grpcio-status==1.48.2",
"mock==5.1.0",
"pylint==3.0.3",
+ "pybrowsers",
]
extras_require["pyppeteer"] = [
| https://api.github.com/repos/geekan/MetaGPT/pulls/782 | 2024-01-22T07:46:32Z | 2024-01-22T08:24:28Z | 2024-01-22T08:24:28Z | 2024-01-22T08:24:28Z | 103 | geekan/MetaGPT | 16,708 | |
Fix @require_read_token in tests | diff --git a/src/transformers/testing_utils.py b/src/transformers/testing_utils.py
index 0efaf77a98a73..fd5974d8d5bb5 100644
--- a/src/transformers/testing_utils.py
+++ b/src/transformers/testing_utils.py
@@ -38,7 +38,6 @@
from unittest import mock
from unittest.mock import patch
-import huggingface_hub
import url... | Related to https://github.com/huggingface/transformers/pull/29242. This PR fixes the `@require_read_token` decorator to correctly patch `get_token`.
(currently tests are failing: https://github.com/huggingface/transformers/actions/runs/8091976401/job/22111912351)
cc @younesbelkada @ArthurZucker | https://api.github.com/repos/huggingface/transformers/pulls/29367 | 2024-02-29T09:51:00Z | 2024-02-29T10:25:17Z | 2024-02-29T10:25:17Z | 2024-02-29T10:25:18Z | 243 | huggingface/transformers | 12,526 |
Add return value in prepare_tensor | diff --git a/model/model_training/utils/utils_rl.py b/model/model_training/utils/utils_rl.py
index 0bfa02c39a..cd9e2de492 100644
--- a/model/model_training/utils/utils_rl.py
+++ b/model/model_training/utils/utils_rl.py
@@ -5,3 +5,4 @@
def prepare_tensor(name: str, input):
t = client_util.InferInput(name, input.sh... | There is no return value in `prepare_tensor`
https://github.com/LAION-AI/Open-Assistant/blob/0fcf3e08fe62295d4696e590005b0f33383342ea/model/model_training/utils/utils_rl.py#L5-L7
so it will raise `None type error` while RLHF training
https://github.com/LAION-AI/Open-Assistant/blob/0fcf3e08fe62295d4696e590005b0... | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/3327 | 2023-06-08T03:39:15Z | 2023-06-08T16:58:40Z | 2023-06-08T16:58:40Z | 2023-06-08T23:51:47Z | 114 | LAION-AI/Open-Assistant | 37,111 |
Update links.yml | diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml
index 7de084fef06..e71a4b8f16a 100644
--- a/.github/workflows/ci-testing.yml
+++ b/.github/workflows/ci-testing.yml
@@ -158,7 +158,7 @@ jobs:
if: always() # This ensures the job runs even if previous jobs fail
steps:
- nam... | <!--
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 similar PR already exists.
- Link this PR to a YOLOv5 [issue](htt... | https://api.github.com/repos/ultralytics/yolov5/pulls/11463 | 2023-05-01T10:03:25Z | 2023-05-01T12:33:32Z | 2023-05-01T12:33:32Z | 2024-01-19T02:02:11Z | 1,042 | ultralytics/yolov5 | 25,509 |
Fix broken links in I.13 | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index ef30aca47..74825efd4 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -1620,7 +1620,7 @@ Passing `10` as the `n` argument may be a mistake: the most common convention is
This `draw2()` passes the same amount of information to `draw()`, but m... | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/552 | 2016-03-15T20:19:56Z | 2016-03-20T16:56:24Z | 2016-03-20T16:56:24Z | 2016-03-20T16:56:24Z | 202 | isocpp/CppCoreGuidelines | 16,109 | |
Add information on updating [certbot|letsencrypt]-auto | diff --git a/docs/contributing.rst b/docs/contributing.rst
index de520dc0e5f..5ad4bd9e014 100644
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -324,6 +324,48 @@ Steps:
7. Submit the PR.
8. Did your tests pass on Travis? If they didn't, fix any errors.
+
+Updating certbot-auto and letsencrypt-auto
+====... | Added instructions on how to update `letsencrypt-auto`. Included information on running `build.py` and stressed that `certbot-auto`/`letsencrypt-auto` in the root directory shouldn't be updated; hopefully this helps cut down on
> thanks for the PR... but please don't modify `certbot-auto`/`letsencrypt-auto` directly... | https://api.github.com/repos/certbot/certbot/pulls/3983 | 2017-01-07T16:20:14Z | 2017-01-08T00:45:45Z | 2017-01-08T00:45:44Z | 2017-01-10T19:40:25Z | 519 | certbot/certbot | 3,255 |
boardd: use std::atomic for ignition to ensure thread-safety | diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc
index 795bf3bf48deb1..0e05fad39364de 100644
--- a/selfdrive/boardd/boardd.cc
+++ b/selfdrive/boardd/boardd.cc
@@ -38,10 +38,10 @@
Panda * panda = NULL;
std::atomic<bool> safety_setter_thread_running(false);
+std::atomic<bool> ignition(false);
boo... | ignition access by multiple threads. | https://api.github.com/repos/commaai/openpilot/pulls/19882 | 2021-01-22T22:14:41Z | 2021-01-22T23:26:28Z | 2021-01-22T23:26:28Z | 2021-01-22T23:37:10Z | 136 | commaai/openpilot | 9,502 |
fixbug: unit test | diff --git a/.gitignore b/.gitignore
index 6dd3608f1..a6f45d894 100644
--- a/.gitignore
+++ b/.gitignore
@@ -175,3 +175,4 @@ htmlcov.*
*.pkl
*-structure.csv
*-structure.json
+*.dot
\ No newline at end of file
diff --git a/tests/metagpt/actions/test_skill_action.py b/tests/metagpt/actions/test_skill_action.py
index 0... | **Features**
- Add mock to unit tests | https://api.github.com/repos/geekan/MetaGPT/pulls/708 | 2024-01-08T06:47:23Z | 2024-01-08T08:17:21Z | 2024-01-08T08:17:21Z | 2024-01-19T11:18:55Z | 705 | geekan/MetaGPT | 16,756 |
dns-rfc2136: add test coverage for PR #9672 | diff --git a/certbot-dns-rfc2136/certbot_dns_rfc2136/_internal/tests/dns_rfc2136_test.py b/certbot-dns-rfc2136/certbot_dns_rfc2136/_internal/tests/dns_rfc2136_test.py
index 3a82f1b6557..d39afccaa39 100644
--- a/certbot-dns-rfc2136/certbot_dns_rfc2136/_internal/tests/dns_rfc2136_test.py
+++ b/certbot-dns-rfc2136/certbot... | I noticed slightly too late that the unit tests were not updated during #9672. Here is some test coverage for the changes. | https://api.github.com/repos/certbot/certbot/pulls/9684 | 2023-04-25T01:55:43Z | 2023-05-08T21:34:41Z | 2023-05-08T21:34:41Z | 2023-05-08T21:34:42Z | 894 | certbot/certbot | 2,572 |
[OpenAI Extension] Add 'max_logits' parameter in logits endpoint | diff --git a/extensions/openai/logits.py b/extensions/openai/logits.py
index 9d2fe41cff..357e70fa60 100644
--- a/extensions/openai/logits.py
+++ b/extensions/openai/logits.py
@@ -8,4 +8,4 @@ def _get_next_logits(body):
state = process_parameters(body) if use_samplers else {}
state['stream'] = True
- retu... | ## Checklist:
- [x] I have read the [Contributing guidelines](https://github.com/oobabooga/text-generation-webui/wiki/Contributing-guidelines).
## Fixes:
1. Add 'max_logits' parameter in logits endpoint (default: 50)
Before, it only returned a fixed logit amount of 50 top tokens.
Now, users can choose how ma... | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/4916 | 2023-12-14T03:08:00Z | 2023-12-15T03:22:43Z | 2023-12-15T03:22:43Z | 2023-12-15T03:22:44Z | 865 | oobabooga/text-generation-webui | 26,363 |
Improve UI for Mac OS. | diff --git a/launcher/web_ui/css/style.css b/launcher/web_ui/css/style.css
index 21a4a468d7..c659b23e15 100644
--- a/launcher/web_ui/css/style.css
+++ b/launcher/web_ui/css/style.css
@@ -1,5 +1,5 @@
html, body {
- font-family: "Segoe UI", "Microsoft YaHei";
+ font-family: "Microsoft YaHei", "Segoe UI Light", "Se... | 改进了下 Mac 的字体, 默认的字体太挫了.
| https://api.github.com/repos/XX-net/XX-Net/pulls/1624 | 2015-12-17T05:29:59Z | 2015-12-17T06:27:51Z | 2015-12-17T06:27:51Z | 2015-12-17T06:27:51Z | 197 | XX-net/XX-Net | 17,076 |
Bump docker/build-push-action from 4 to 5 | diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 77a7c972028..3f6d9ed3978 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -32,7 +32,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push arm64 image
- uses: dock... | Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/docker/build-push-action/releases">docker/build-push-action's releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<ul>
<li>Node 20 as defa... | https://api.github.com/repos/ultralytics/yolov5/pulls/12135 | 2023-09-18T04:28:02Z | 2023-09-18T12:55:29Z | 2023-09-18T12:55:29Z | 2024-01-19T01:12:48Z | 281 | ultralytics/yolov5 | 25,360 |
Candidate 2.7.2 | diff --git a/certbot/CHANGELOG.md b/certbot/CHANGELOG.md
index 900948fc635..ba42ee45fb3 100644
--- a/certbot/CHANGELOG.md
+++ b/certbot/CHANGELOG.md
@@ -14,6 +14,14 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
### Fixed
+*
+
+More details about these changes can be found on our GitHub repo.
+
... | This PR should be merged and not squashed. | https://api.github.com/repos/certbot/certbot/pulls/9809 | 2023-10-19T23:52:38Z | 2023-10-20T00:49:02Z | 2023-10-20T00:49:02Z | 2023-10-20T00:49:03Z | 476 | certbot/certbot | 3,581 |
Add ISY994 variables as number entities | diff --git a/.coveragerc b/.coveragerc
index 93f7434634b0e8..f9ca672e8eb16b 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -607,6 +607,7 @@ omit =
homeassistant/components/isy994/helpers.py
homeassistant/components/isy994/light.py
homeassistant/components/isy994/lock.py
+ homeassistant/components/isy99... | <!--
You are amazing! Thanks for contributing to our project!
Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->
## Breaking change
<!--
If your PR contains a breaking change for existing users, it is important
to tell them what breaks, how to make it work again and why we did th... | https://api.github.com/repos/home-assistant/core/pulls/85511 | 2023-01-09T11:02:37Z | 2023-01-10T22:29:11Z | 2023-01-10T22:29:11Z | 2023-01-12T03:01:52Z | 3,148 | home-assistant/core | 39,484 |
Solution for Problem Euler 56 | diff --git a/project_euler/problem_56/__init__.py b/project_euler/problem_56/__init__.py
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/project_euler/problem_56/sol1.py b/project_euler/problem_56/sol1.py
new file mode 100644
index 000000000000..194a7a37af43
--- /dev/null
+++ b/project_euler/problem_... | Solution for problem Euler 56 | https://api.github.com/repos/TheAlgorithms/Python/pulls/1131 | 2019-08-13T14:53:49Z | 2019-08-13T17:16:11Z | 2019-08-13T17:16:11Z | 2019-08-13T17:16:11Z | 337 | TheAlgorithms/Python | 29,578 |
Add Google Docs API | diff --git a/README.md b/README.md
index 79d51c1df7..959772cb6e 100644
--- a/README.md
+++ b/README.md
@@ -396,6 +396,7 @@ API | Description | Auth | HTTPS | CORS |
| [Gitlab](https://docs.gitlab.com/ee/api/) | Automate GitLab interaction programmatically | `OAuth` | Yes | Unknown |
| [Gitter](https://developer.gitte... | - [x] My submission is formatted according to the guidelines in the [contributing guide](/CONTRIBUTING.md)
- [x] My addition is ordered alphabetically
- [x] My submission has a useful description
- [x] The description does not have more than 100 characters
- [x] The description does not end with punctuation
- [x] ... | https://api.github.com/repos/public-apis/public-apis/pulls/2293 | 2021-10-05T08:37:49Z | 2021-10-10T18:41:12Z | 2021-10-10T18:41:12Z | 2021-10-10T18:41:12Z | 289 | public-apis/public-apis | 35,577 |
Fix `clipnorm` for TF models with `Embedding` layer(s). | diff --git a/keras/backend/tensorflow/optimizer.py b/keras/backend/tensorflow/optimizer.py
index 7ce1707b119..967c4e4d2a8 100644
--- a/keras/backend/tensorflow/optimizer.py
+++ b/keras/backend/tensorflow/optimizer.py
@@ -163,3 +163,8 @@ def _distributed_tf_increment_grad_acc(
grads,
accumulato... | Fix for the issue described in https://github.com/keras-team/keras/issues/18985 | https://api.github.com/repos/keras-team/keras/pulls/18986 | 2023-12-22T18:53:22Z | 2023-12-24T06:25:46Z | 2023-12-24T06:25:46Z | 2023-12-24T21:00:42Z | 1,042 | keras-team/keras | 47,162 |
pre-commit: autoupdate hooks | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index b777bc4368741c..471d2855f1a150 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -35,7 +35,7 @@ repos:
args: ['--explicit-package-bases']
exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(laika/)|(laika_rep... | Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action | https://api.github.com/repos/commaai/openpilot/pulls/29524 | 2023-08-22T15:05:54Z | 2023-08-22T17:39:46Z | 2023-08-22T17:39:46Z | 2023-08-22T17:39:47Z | 304 | commaai/openpilot | 9,081 |
+ Saul | diff --git a/README.md b/README.md
index 5cc2b877..4d4fad7c 100644
--- a/README.md
+++ b/README.md
@@ -339,6 +339,7 @@ For a list of free machine learning books available for download, go [here](http
* [Weka](http://www.cs.waikato.ac.nz/ml/weka/) - Weka is a collection of machine learning algorithms for data mining ta... | ... will go public tonight.
| https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/292 | 2016-06-22T23:00:16Z | 2016-06-23T14:41:53Z | 2016-06-23T14:41:53Z | 2016-06-23T14:41:56Z | 361 | josephmisiti/awesome-machine-learning | 51,909 |
Doc: Update pretrained_models wording | diff --git a/docs/source/pretrained_models.rst b/docs/source/pretrained_models.rst
index 869143b91777a..c25c58031f80c 100644
--- a/docs/source/pretrained_models.rst
+++ b/docs/source/pretrained_models.rst
@@ -13,10 +13,9 @@
Pretrained models
============================================================================... | To clarify things cf. this tweet for instance https://twitter.com/RTomMcCoy/status/1349094111505211395
| https://api.github.com/repos/huggingface/transformers/pulls/9545 | 2021-01-12T20:51:45Z | 2021-01-13T10:58:06Z | 2021-01-13T10:58:06Z | 2021-01-13T10:58:07Z | 212 | huggingface/transformers | 12,926 |
Pin the libxml2 version in CI as a newer one breaks lxml. | diff --git a/.github/workflows/tests-ubuntu.yml b/.github/workflows/tests-ubuntu.yml
index 521d7ae70a5..57188bd631b 100644
--- a/.github/workflows/tests-ubuntu.yml
+++ b/.github/workflows/tests-ubuntu.yml
@@ -57,7 +57,8 @@ jobs:
if: matrix.python-version == 'pypy3' || contains(matrix.env.TOXENV, 'pinned')
... | [libxml2 bug report](https://gitlab.gnome.org/GNOME/libxml2/-/issues/255)
[lxml bug report](https://bugs.launchpad.net/lxml/+bug/1928795) | https://api.github.com/repos/scrapy/scrapy/pulls/5208 | 2021-07-16T11:48:18Z | 2021-07-16T12:28:33Z | 2021-07-16T12:28:32Z | 2023-05-08T10:28:33Z | 193 | scrapy/scrapy | 34,860 |
Fix dns rfc2136 (#7142) | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 95833ad7bb2..4daa6f9284c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,23 @@
Certbot adheres to [Semantic Versioning](https://semver.org/).
+## 0.35.1 - master
+
+### Fixed
+
+* Support for specifying an authoritative base domain in our dns-rfc2136 plugin
+ ... | Adds #7142 to the point release branch. | https://api.github.com/repos/certbot/certbot/pulls/7143 | 2019-06-10T21:00:18Z | 2019-06-10T21:13:00Z | 2019-06-10T21:13:00Z | 2019-06-10T21:13:03Z | 2,154 | certbot/certbot | 2,334 |
[Lynda] Extract course description | diff --git a/youtube_dl/extractor/lynda.py b/youtube_dl/extractor/lynda.py
index 86d47266f80..c1bca56788d 100644
--- a/youtube_dl/extractor/lynda.py
+++ b/youtube_dl/extractor/lynda.py
@@ -246,5 +246,6 @@ def _real_extract(self, url):
% unaccessible_videos + self._ACCOUNT_CREDENTIALS_HINT)
c... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/9747 | 2016-06-10T17:19:14Z | 2016-06-10T19:34:58Z | 2016-06-10T19:34:58Z | 2016-06-10T23:06:01Z | 157 | ytdl-org/youtube-dl | 49,898 | |
Bloom Filter | diff --git a/data_structures/hashing/bloom_filter.py b/data_structures/hashing/bloom_filter.py
new file mode 100644
index 000000000000..7fd0985bdc33
--- /dev/null
+++ b/data_structures/hashing/bloom_filter.py
@@ -0,0 +1,105 @@
+"""
+See https://en.wikipedia.org/wiki/Bloom_filter
+
+The use of this data structure is to ... | ### 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 have not ... | https://api.github.com/repos/TheAlgorithms/Python/pulls/8615 | 2023-04-06T12:13:59Z | 2023-04-08T17:39:24Z | 2023-04-08T17:39:24Z | 2023-04-08T17:39:28Z | 908 | TheAlgorithms/Python | 30,113 |
Tune transfer buffer size | diff --git a/src/common/state/ray_config.h b/src/common/state/ray_config.h
index 2bd953c48c5f8..19507b8362d88 100644
--- a/src/common/state/ray_config.h
+++ b/src/common/state/ray_config.h
@@ -97,7 +97,7 @@ class RayConfig {
local_scheduler_fetch_request_size_(10000),
kill_worker_timeout_milliseconds_... | This PR is supposed to address one problem that we have seen while testing Ray's data plane, namely that data transfers are not using the full network bandwidth. This PR addresses the problem by resizing the transfer buffer size. The new value has been determined by running the following test on EC2: Two m5.4xlarge nod... | https://api.github.com/repos/ray-project/ray/pulls/1363 | 2017-12-21T08:14:43Z | 2018-02-09T22:56:37Z | 2018-02-09T22:56:37Z | 2018-02-09T22:57:03Z | 150 | ray-project/ray | 19,567 |
zb: use string in safeTicker ccxt/ccxt#11379 | diff --git a/js/zb.js b/js/zb.js
index cf25ab309606..beafb3bc7867 100644
--- a/js/zb.js
+++ b/js/zb.js
@@ -618,29 +618,29 @@ module.exports = class zb extends Exchange {
// }
//
const timestamp = this.safeInteger (ticker, 'date', this.milliseconds ());
- const last = this.safeNumbe... | ccxt/ccxt#11379 | https://api.github.com/repos/ccxt/ccxt/pulls/11564 | 2022-01-20T10:52:03Z | 2022-01-22T10:25:20Z | 2022-01-22T10:25:20Z | 2022-01-22T10:25:20Z | 420 | ccxt/ccxt | 13,485 |
Disable unused dependencies | diff --git a/requirements.txt b/requirements.txt
index 25dba6f5a250..1e64818bbb6a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,19 +1,19 @@
beautifulsoup4
fake_useragent
imageio
-keras
+keras ; python_version < '3.12'
lxml
matplotlib
numpy
opencv-python
pandas
pillow
-projectq
+# projectq # uncom... | ### Describe your change:
Disable unused dependencies in `requirements.txt` to try to reduce build times:
- Keras is a TensorFlow frontend, so I've also marked it as `python_version < '3.12'`. There's no reason to install Keras in every build when TensorFlow can't be used.
- projectq, scikit-fuzzy, and yulewalker ... | https://api.github.com/repos/TheAlgorithms/Python/pulls/10467 | 2023-10-14T19:56:16Z | 2023-10-14T20:08:52Z | 2023-10-14T20:08:52Z | 2023-10-14T22:14:16Z | 234 | TheAlgorithms/Python | 29,634 |
Backport PR #54750 on branch 2.1.x (Revert deprecation of con as keyword only arg) | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index e3f18067e354d..f5758a079b1b5 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -586,7 +586,7 @@ Other Deprecations
- Deprecated the use of non-supported datetime64 and timedelta64 resolutions with :func... | Backport PR #54750: Revert deprecation of con as keyword only arg | https://api.github.com/repos/pandas-dev/pandas/pulls/54766 | 2023-08-26T07:57:48Z | 2023-08-26T10:40:15Z | 2023-08-26T10:40:15Z | 2023-08-26T10:40:16Z | 794 | pandas-dev/pandas | 45,008 |
[3.6] bpo-5945: Improve mappings and sequences C API docs. (GH-7029). | diff --git a/Doc/c-api/mapping.rst b/Doc/c-api/mapping.rst
index a71e94283776e9..c16fcf4439d4da 100644
--- a/Doc/c-api/mapping.rst
+++ b/Doc/c-api/mapping.rst
@@ -5,11 +5,17 @@
Mapping Protocol
================
+See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and
+:c:func:`PyObject_DelItem`.
+
..... | (cherry picked from commit f5b1183610d5888db3bbd639b1a0c945dbd8f8dd)
<!-- issue-number: bpo-5945 -->
https://bugs.python.org/issue5945
<!-- /issue-number -->
| https://api.github.com/repos/python/cpython/pulls/7049 | 2018-05-22T10:27:21Z | 2018-05-22T11:54:14Z | 2018-05-22T11:54:14Z | 2018-05-22T11:54:18Z | 3,940 | python/cpython | 4,422 |
Fix gradient checkpointing bug in trocr | diff --git a/src/transformers/models/trocr/modeling_trocr.py b/src/transformers/models/trocr/modeling_trocr.py
index 5eda7479b4d11..e6853d0c5a8eb 100644
--- a/src/transformers/models/trocr/modeling_trocr.py
+++ b/src/transformers/models/trocr/modeling_trocr.py
@@ -664,6 +664,13 @@ def forward(
# [bsz, seq_... | This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing.
Fixes Issue https://github.com/huggingface/transformers/issues/21737
cc @younesbelkada or @gante | https://api.github.com/repos/huggingface/transformers/pulls/22126 | 2023-03-13T12:51:36Z | 2023-03-13T14:45:48Z | 2023-03-13T14:45:48Z | 2023-03-13T14:48:26Z | 700 | huggingface/transformers | 12,546 |
Remove Troposphere | diff --git a/README.md b/README.md
index ddb489f187..313518e760 100644
--- a/README.md
+++ b/README.md
@@ -1767,7 +1767,6 @@ API | Description | Auth | HTTPS | CORS |
| [SimpleWeather](https://english.api.rakuten.net/mxrck/api/simple-weather/endpoints) | Simple tool for get current weather | `apiKey` | Yes | Yes |
| ... | Removed Troposphere weather API, because the service is no longer active. | https://api.github.com/repos/public-apis/public-apis/pulls/2993 | 2022-01-06T12:08:44Z | 2022-01-07T08:34:51Z | 2022-01-07T08:34:51Z | 2022-01-07T08:34:51Z | 281 | public-apis/public-apis | 35,392 |
🌐 Add Chinese translation for `docs/zh/docs/advanced/security/index.md` | diff --git a/docs/zh/docs/advanced/security/index.md b/docs/zh/docs/advanced/security/index.md
new file mode 100644
index 0000000000000..962523c09755d
--- /dev/null
+++ b/docs/zh/docs/advanced/security/index.md
@@ -0,0 +1,16 @@
+# 高级安全 - 介绍
+
+## 附加特性
+
+除 [教程 - 用户指南: 安全性](../../tutorial/security/){.internal-link targe... | as title. | https://api.github.com/repos/tiangolo/fastapi/pulls/9666 | 2023-06-12T12:32:42Z | 2023-06-22T16:19:49Z | 2023-06-22T16:19:49Z | 2023-06-22T16:19:50Z | 370 | tiangolo/fastapi | 23,536 |
Fix resuming when downloading in chunked mode | diff --git a/src/you_get/common.py b/src/you_get/common.py
index 2e4edef5b9..41d67cfc16 100755
--- a/src/you_get/common.py
+++ b/src/you_get/common.py
@@ -629,10 +629,12 @@ def url_save(
if refer is not None:
tmp_headers['Referer'] = refer
if type(url) is list:
- file_size = urls_size(url, fak... | When `url_save` is passed a list of urls (`is_chunked = True`), and the download is aborted, then the next time that you-get resumes the download, it will append the video data from beginning to the `.download` file, because it does not send a correct `Range` header when resuming.
Several "exceeding 100%" issues mig... | https://api.github.com/repos/soimort/you-get/pulls/2804 | 2020-05-13T23:11:01Z | 2020-07-18T20:53:53Z | 2020-07-18T20:53:53Z | 2020-07-18T20:53:53Z | 568 | soimort/you-get | 20,998 |
Typo fixed in C.165 | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index eef7534aa..e4aeda907 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -5971,7 +5971,7 @@ For example, the general `swap()` will copy the elements of two `vector`s being
void f1(N::X& a, N::X& b)
{
- std::swap(a,b); // propably not wh... | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/317 | 2015-10-10T21:21:51Z | 2015-10-12T11:22:53Z | 2015-10-12T11:22:53Z | 2016-10-04T01:24:23Z | 185 | isocpp/CppCoreGuidelines | 16,042 | |
Update CppCoreGuidelines.md | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index e5b15cb60..bf7c8503d 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -848,7 +848,7 @@ The spurious definition of copy operations disables move semantics so that the r
The use of `new` and `delete` for `buf` is redundant; if we really needed... | Fix a typo in P.9. I didn't see the need to create a ticket just for one typo.
| https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/60 | 2015-09-22T01:34:32Z | 2015-09-22T10:18:01Z | 2015-09-22T10:18:01Z | 2015-09-22T10:18:16Z | 262 | isocpp/CppCoreGuidelines | 15,522 |
Formatted Model Summary | diff --git a/models/ModelBase.py b/models/ModelBase.py
index f841ca6ad..e7ad843bc 100644
--- a/models/ModelBase.py
+++ b/models/ModelBase.py
@@ -231,36 +231,54 @@ def __init__(self, model_path, training_data_src_path=None, training_data_dst_pa
else:
self.sample_for_preview = se... | Aligns the model summary output using f-string formatting. The logic structure of the base class has not been changed, only the lines put into `model_summary_text`. Output width is calculated from keys & values and will scale to show a clean summary for any model/platform.
GPU VRAM has been added as an output. Incor... | https://api.github.com/repos/iperov/DeepFaceLab/pulls/348 | 2019-08-16T07:28:55Z | 2019-08-16T14:35:28Z | 2019-08-16T14:35:28Z | 2019-08-23T23:38:26Z | 1,402 | iperov/DeepFaceLab | 33,378 |
Add notification platform for Rocket.Chat. | diff --git a/.coveragerc b/.coveragerc
index 60375fbb97ec..34959f53299f 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -420,6 +420,7 @@ omit =
homeassistant/components/notify/pushover.py
homeassistant/components/notify/pushsafer.py
homeassistant/components/notify/rest.py
+ homeassistant/components/noti... | ## Description:
**Related issue (if applicable):** N/A
**Pull request in [home-assistant.github.io](https://github.com/home-assistant/home-assistant.github.io) with documentation (if applicable):** home-assistant/home-assistant.github.io#3424
## Example entry for `configuration.yaml` (if applicable):
```yam... | https://api.github.com/repos/home-assistant/core/pulls/9553 | 2017-09-23T20:42:04Z | 2017-10-09T07:38:49Z | 2017-10-09T07:38:49Z | 2019-03-21T04:50:51Z | 934 | home-assistant/core | 38,879 |
dns-rfc2136: use TCP to query SOA records | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4a71d24adea..56235e756f7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,6 +32,7 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
* acme.standalone.BaseRequestHandlerWithLogging and
acme.standalone.simple_tls_sni_01_server have been deprecated and ... | certbot-dns-rfc2136: Use TCP queries to improve the network robust. Fixes #7502. | https://api.github.com/repos/certbot/certbot/pulls/7503 | 2019-11-05T16:10:00Z | 2019-11-07T17:37:13Z | 2019-11-07T17:37:12Z | 2019-11-08T09:54:48Z | 1,046 | certbot/certbot | 1,650 |
Upgrade to chardet 4.x | diff --git a/requests/__init__.py b/requests/__init__.py
index c00f556bbc..f8f94295f9 100644
--- a/requests/__init__.py
+++ b/requests/__init__.py
@@ -65,10 +65,8 @@ def check_compatibility(urllib3_version, chardet_version):
# Check chardet for compatibility.
major, minor, patch = chardet_version.split('.')[:... | I just released [chardet 4.0.0](https://github.com/chardet/chardet/releases/tag/4.0.0) today, and it's faster and fully backward compatible with chardet 3.x (as long as you aren't mucking around in the models it uses under-the-hood directly). The next major release will be Python 3.6+, but seeing as it took me three ye... | https://api.github.com/repos/psf/requests/pulls/5688 | 2020-12-11T01:26:30Z | 2020-12-14T17:29:11Z | 2020-12-14T17:29:11Z | 2021-08-27T00:08:56Z | 362 | psf/requests | 32,161 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.