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 |
|---|---|---|---|---|---|---|---|---|---|---|
Disable quantum/quantum_random.py (attempt 2) | diff --git a/DIRECTORY.md b/DIRECTORY.md
index 29514579ceb0..af150b12984b 100644
--- a/DIRECTORY.md
+++ b/DIRECTORY.md
@@ -1063,7 +1063,6 @@
* [Q Fourier Transform](quantum/q_fourier_transform.py)
* [Q Full Adder](quantum/q_full_adder.py)
* [Quantum Entanglement](quantum/quantum_entanglement.py)
- * [Quantum ... | ### Describe your change:
Temporarily disable [quantum/quantum_random.py](https://github.com/tianyizheng02/Python/blob/642c88548815e6bc77c388f3cf1b0459c3808104/quantum/quantum_random.py.DISABLED.txt) because it produces an illegal instruction error that causes all builds to fail (see #8899)
* [ ] Add an algorithm... | https://api.github.com/repos/TheAlgorithms/Python/pulls/8902 | 2023-07-28T20:01:34Z | 2023-07-28T20:08:40Z | 2023-07-28T20:08:40Z | 2023-07-30T09:30:26Z | 233 | TheAlgorithms/Python | 30,196 |
replace `werkzeug.urls` with `urllib.parse` | diff --git a/CHANGES.rst b/CHANGES.rst
index cd1a04c489..a8762477eb 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,11 @@
+Version 2.2.4
+-------------
+
+Unreleased
+
+- Update for compatibility with Werkzeug 2.3.
+
+
Version 2.2.3
-------------
diff --git a/src/flask/app.py b/src/flask/app.py
index ff6b09... | For compatibility with Werkzeug 2.3, which deprecates `werkzeug.urls`. | https://api.github.com/repos/pallets/flask/pulls/5026 | 2023-03-11T16:20:06Z | 2023-03-11T16:21:58Z | 2023-03-11T16:21:58Z | 2023-03-26T00:06:10Z | 579 | pallets/flask | 19,959 |
new library and section additions | diff --git a/README.md b/README.md
index bf5cd490..a3e70ade 100644
--- a/README.md
+++ b/README.md
@@ -54,6 +54,9 @@ Further resources:
- [Natural Language Processing](#natural-language-processing-2)
- [Erlang](#erlang)
- [General-Purpose Machine Learning](#general-purpose-machine-learning-7)
+ - [For... | I have added a new "Fortran libraries" section to this list and included two Fortran machine learning packages. In addition, the [ParaMonte library](https://github.com/cdslaborg/paramonte) in multiple different languages is also listed in the appropriate sections. | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/722 | 2020-09-20T07:30:15Z | 2020-09-21T14:13:54Z | 2020-09-21T14:13:54Z | 2020-09-21T14:13:54Z | 1,165 | josephmisiti/awesome-machine-learning | 52,350 |
🔧 Update sponsors, add Reflex | diff --git a/README.md b/README.md
index aeb29b5874e55..06c0c44522b74 100644
--- a/README.md
+++ b/README.md
@@ -51,6 +51,7 @@ The key features are:
<a href="https://www.buildwithfern.com/?utm_source=tiangolo&utm_medium=website&utm_campaign=main-badge" target="_blank" title="Fern | SDKs and API docs"><img src="https:/... | 🔧 Update sponsors, add Reflex | https://api.github.com/repos/tiangolo/fastapi/pulls/10676 | 2023-11-18T13:34:23Z | 2023-11-18T13:38:01Z | 2023-11-18T13:38:01Z | 2023-11-18T13:38:02Z | 1,062 | tiangolo/fastapi | 23,482 |
Upgrade to transformers==4.28 | diff --git a/README.md b/README.md
index 7264d25cbe..511c29edfc 100644
--- a/README.md
+++ b/README.md
@@ -27,11 +27,7 @@ Join our [Discord](https://discord.gg/h6kCZb72G7) server and follow our [Twitter
### Method 1: With pip
```bash
-# Install FastChat
pip3 install fschat
-
-# Install the latest main branch of hu... | https://api.github.com/repos/lm-sys/FastChat/pulls/449 | 2023-04-16T13:20:58Z | 2023-04-16T13:21:38Z | 2023-04-16T13:21:38Z | 2023-04-16T13:21:44Z | 735 | lm-sys/FastChat | 41,170 | |
Adding toml as dependency | diff --git a/pyproject.toml b/pyproject.toml
index 987aadf5a3..b5fc76c3fe 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -28,6 +28,7 @@ tiktoken = ">=0.0.4"
tabulate = "0.9.0"
python-dotenv = ">=0.21.0"
langchain = ">=0.0.335"
+toml = ">=0.10.2"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.3.1"
@@ -72... | This fixes the docker image not having the toml dependency. Error most likely introduced here https://github.com/gpt-engineer-org/gpt-engineer/pull/937/files#diff-56bcc43fa5663093cbd7d862ed7849d2e30b13257faed00e09513d88d93d8c45R27
```Traceback (most recent call last):
File "/usr/local/bin/gpt-engineer", line 5, i... | https://api.github.com/repos/gpt-engineer-org/gpt-engineer/pulls/961 | 2024-01-09T21:09:12Z | 2024-01-10T19:10:44Z | 2024-01-10T19:10:44Z | 2024-01-10T19:10:44Z | 375 | gpt-engineer-org/gpt-engineer | 33,357 |
Fix issue with single quotes in payload for NodeJS lambda in local execution mode | diff --git a/localstack/services/awslambda/lambda_executors.py b/localstack/services/awslambda/lambda_executors.py
index 17969408fdbc7..272525cbb7f38 100644
--- a/localstack/services/awslambda/lambda_executors.py
+++ b/localstack/services/awslambda/lambda_executors.py
@@ -1112,7 +1112,7 @@ def execute_in_container(
... | Closes #4671 .
Replaces the current execution by using the array-based command representation which does not need a shell to run (and has therefore no problem with string escapes using quotes). | https://api.github.com/repos/localstack/localstack/pulls/4718 | 2021-10-10T15:32:05Z | 2021-10-10T21:20:54Z | 2021-10-10T21:20:54Z | 2021-10-10T21:20:56Z | 758 | localstack/localstack | 29,105 |
drop coveralls support | diff --git a/.travis.yml b/.travis.yml
index 7b24e051eca..e857abbd8ea 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,11 +11,10 @@ env:
- TOXENV=py33
- TOXENV=docs
install:
- - pip install -U tox twine wheel codecov coveralls
+ - pip install -U tox twine wheel codecov
script: tox
after_success:
- codecov
- ... | I don't know why, but coveralls uploads on Travis started to take 30s recently. And we're not using them anyways. What about removing coveralls support?
| https://api.github.com/repos/scrapy/scrapy/pulls/1537 | 2015-10-12T13:14:01Z | 2015-10-12T23:36:12Z | 2015-10-12T23:36:12Z | 2015-10-12T23:36:14Z | 136 | scrapy/scrapy | 34,468 |
[extension/openai] add edits & image endpoints & fix prompt return in non --chat modes | diff --git a/characters/instruction-following/ChatGLM.yaml b/characters/instruction-following/ChatGLM.yaml
index 0e5d3f4135..f25f490899 100644
--- a/characters/instruction-following/ChatGLM.yaml
+++ b/characters/instruction-following/ChatGLM.yaml
@@ -1,4 +1,4 @@
-user: "[Round <|round|>]\n问:"
-bot: "答:"
+user: "[Round ... | This includes correct instruction templates for each model (not just Alpaca). For now they're in the code, but I will change them to use the on disk format when they're fully compatible.
I found some small differences with different instruction formats, but I don't want to include those changes here. I will update ... | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/1935 | 2023-05-09T05:36:33Z | 2023-05-11T14:06:40Z | 2023-05-11T14:06:40Z | 2023-05-11T14:07:29Z | 3,994 | oobabooga/text-generation-webui | 26,368 |
Langchain: Fix quickstart doc code not working | diff --git a/docs/docs/get_started/quickstart.mdx b/docs/docs/get_started/quickstart.mdx
index 509b1fe6b440b3..85247950613b1d 100644
--- a/docs/docs/get_started/quickstart.mdx
+++ b/docs/docs/get_started/quickstart.mdx
@@ -223,6 +223,7 @@ First we need to install the required packages for that:
```shell
pip install... | The quickstart doc is missing a few but very simple things that without them, the code does not work. This PR fixes that by
- Adding commands to install `tiktoken` and `langchainhub`
- Adds a comma between 2 parameters for one of the methods
| https://api.github.com/repos/langchain-ai/langchain/pulls/15352 | 2023-12-31T02:58:53Z | 2024-01-01T21:38:33Z | 2024-01-01T21:38:33Z | 2024-01-02T19:41:26Z | 345 | langchain-ai/langchain | 43,612 |
fix: kg rag should work on all graph stores | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 619d5d084ff65..b87a5b5b1ccda 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@
### Bug Fixes / Nits
- Only convert newlines to spaces for text 001 embedding models in OpenAI (#7484)
+- Fix `KnowledgeGraphRagRetriever` for non-nebula indexes (#7488)
## [0.... | # Description
This change fixed kg rag retriever on all graph_store, similar approaches had already been done in KG Table retrievers, but I forgot to handle this divisive behavior when impl. this one.
Fixes https://github.com/jerryjliu/llama_index/issues/7483
## Type of Change
Please delete options that are... | https://api.github.com/repos/run-llama/llama_index/pulls/7488 | 2023-08-31T02:28:02Z | 2023-08-31T04:52:33Z | 2023-08-31T04:52:33Z | 2023-08-31T04:52:33Z | 395 | run-llama/llama_index | 6,400 |
Pretty attrs | diff --git a/CHANGELOG.md b/CHANGELOG.md
index f1d30bbf9..76ea275ae 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added syntax for call, i.e. "Foo(bar)"
- Fixed initial blank lines removed from Syntax https://github.co... | Adds pretty printing support for attrs module.
| https://api.github.com/repos/Textualize/rich/pulls/1217 | 2021-05-07T10:45:43Z | 2021-05-08T11:16:02Z | 2021-05-08T11:16:02Z | 2021-05-09T13:28:48Z | 3,008 | Textualize/rich | 48,024 |
Fixed Golang net/http param pollution outcome | diff --git a/HTTP Parameter Pollution/README.md b/HTTP Parameter Pollution/README.md
index ad739b6e88..16eb526885 100644
--- a/HTTP Parameter Pollution/README.md
+++ b/HTTP Parameter Pollution/README.md
@@ -36,12 +36,12 @@ When ?par1=a&par1=b
| Python Django |Last occurrence ... | Fixed Golang net/http param pollution outcome since it returns an array (as the Python/Zope outcome).
Tested with the following:
`test.go`
```golang
package main
import (
"log"
"net/http"
)
func main() {
http.ListenAndServe(":1234", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
l... | https://api.github.com/repos/swisskyrepo/PayloadsAllTheThings/pulls/635 | 2023-04-14T12:58:32Z | 2023-04-14T15:48:01Z | 2023-04-14T15:48:01Z | 2023-04-14T15:48:01Z | 293 | swisskyrepo/PayloadsAllTheThings | 8,362 |
[README] Config Github codespace and Dev container | diff --git a/.devcontainer/README.md b/.devcontainer/README.md
new file mode 100644
index 000000000..dd088aab1
--- /dev/null
+++ b/.devcontainer/README.md
@@ -0,0 +1,39 @@
+# Dev container
+
+This project includes a [dev container](https://containers.dev/), which lets you use a container as a full-featured dev environm... | https://api.github.com/repos/geekan/MetaGPT/pulls/186 | 2023-08-10T01:19:14Z | 2023-08-23T07:44:22Z | 2023-08-23T07:44:22Z | 2023-08-23T07:44:22Z | 1,986 | geekan/MetaGPT | 17,024 | |
STY Improve css block for scroll bars | diff --git a/doc/themes/scikit-learn-modern/static/css/theme.css b/doc/themes/scikit-learn-modern/static/css/theme.css
index ceda27c6de093..b22b700736f56 100644
--- a/doc/themes/scikit-learn-modern/static/css/theme.css
+++ b/doc/themes/scikit-learn-modern/static/css/theme.css
@@ -83,12 +83,12 @@ span.highlighted {
}
... | Makes sure that the scroll bar is flush with the code block. (when the screen is narrow (for example on mobile)
## PR
in the [release highlights](https://105249-843222-gh.circle-artifacts.com/0/doc/auto_examples/release_highlights/plot_release_highlights_0_23_0.html#generalized-linear-models-and-poisson-loss-for-... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/17415 | 2020-06-01T20:05:55Z | 2020-06-19T21:41:53Z | 2020-06-19T21:41:53Z | 2020-06-19T21:41:53Z | 172 | scikit-learn/scikit-learn | 46,310 |
Fix formatting for `if` clauses in `match-case` blocks | diff --git a/CHANGES.md b/CHANGES.md
index e28730a3b5f..fe234380799 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -16,6 +16,9 @@
<!-- Changes that affect Black's preview style -->
+- `if` guards in `case` blocks are now wrapped in parentheses when the line is too long.
+ (#4269)
+
### Configuration
<!-- Changes... | <!-- Hello! Thanks for submitting a PR. To help make things go a bit more
smoothly we would appreciate that you go through this template. -->
### Description
Fixes #3793.
Now the `if` clauses in the `case-match` blocks will be correctly wrapped with parenthesis.
The previous problem of having redunda... | https://api.github.com/repos/psf/black/pulls/4269 | 2024-03-09T01:22:52Z | 2024-03-16T14:38:07Z | 2024-03-16T14:38:07Z | 2024-03-16T14:38:08Z | 1,664 | psf/black | 23,950 |
Add description to chain pattern | diff --git a/behavioral/chain.py b/behavioral/chain.py
index 989a3072..21c5d88c 100644
--- a/behavioral/chain.py
+++ b/behavioral/chain.py
@@ -2,7 +2,22 @@
# -*- coding: utf-8 -*-
"""
+*What is this pattern about?
+This pattern aims to decouple the senders of a request from its
+receivers. It does this by allowing ... | This PR adds a description and a TL;DR to the chain pattern. | https://api.github.com/repos/faif/python-patterns/pulls/227 | 2018-06-10T23:04:43Z | 2018-06-11T17:26:48Z | 2018-06-11T17:26:48Z | 2018-06-11T20:32:32Z | 231 | faif/python-patterns | 33,639 |
Move status message | diff --git a/tools/finish_release.py b/tools/finish_release.py
index 5113a76b8dd..bc8e832dfb7 100755
--- a/tools/finish_release.py
+++ b/tools/finish_release.py
@@ -166,6 +166,9 @@ def promote_snaps(version):
assert_logged_into_snapcraft()
for snap in SNAPS:
revisions = get_snap_revisions(snap, versi... | I just ran this script for the first time through with all of our DNS plugins and I found its output a little misleading. For each snap, I essentially saw it print a message lIke:
```
Getting revision numbers for certbot 1.9.0
```
wait quite a while and then print
```
Successfully released certbot to the stable c... | https://api.github.com/repos/certbot/certbot/pulls/8361 | 2020-10-08T22:47:51Z | 2020-10-08T23:38:06Z | 2020-10-08T23:38:06Z | 2020-10-08T23:38:09Z | 246 | certbot/certbot | 2,238 |
[niconico] fix a small mistake of thumbnail extraction | diff --git a/yt_dlp/extractor/niconico.py b/yt_dlp/extractor/niconico.py
index 126aa4530c3..1c15dca71ca 100644
--- a/yt_dlp/extractor/niconico.py
+++ b/yt_dlp/extractor/niconico.py
@@ -511,7 +511,7 @@ def get_video_info_xml(items):
thumbnail = (
self._html_search_regex(r'<meta property="og:image... | ### In order to be accepted and merged into youtube-dl, each piece of code must be in public domain or released under [Unlicense](http://unlicense.org/). Check one of the following options:
- [x] I am the original author of this code and I am willing to release it under [Unlicense](http://unlicense.org/)
- [ ] I am n... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/289 | 2021-04-30T16:05:07Z | 2021-05-01T14:05:47Z | 2021-05-01T14:05:47Z | 2021-05-01T15:34:50Z | 211 | yt-dlp/yt-dlp | 7,819 |
Support CJK parameters when post files | diff --git a/AUTHORS.rst b/AUTHORS.rst
index 1d66c4bf70..9a7f25d5e8 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -114,3 +114,4 @@ Patches and Suggestions
- Ian Cordasco <graffatcolmingov@gmail.com> @sigmavirus24
- Rhys Elsmore
- André Graf (dergraf)
+- Stephen Zhuang (everbird)
diff --git a/requests/models.py b/req... | When I post files with CJK parameters I got this exception:
```
Traceback (most recent call last):
File "/home/everbird/code/requests/tests/test_requests.py", line 358, in test_POSTBIN_GET_POST_FILES_WITH_CJK_PARAMS
data={'some': '中文'})
File "/home/everbird/code/requests/requests/api.py", line 98, in post
... | https://api.github.com/repos/psf/requests/pulls/884 | 2012-10-08T09:21:19Z | 2012-10-17T14:21:40Z | 2012-10-17T14:21:40Z | 2021-09-08T17:05:51Z | 639 | psf/requests | 32,720 |
Send_pictures small fix | diff --git a/extensions/send_pictures/script.py b/extensions/send_pictures/script.py
index 556a88e5c7..9b066d8d97 100644
--- a/extensions/send_pictures/script.py
+++ b/extensions/send_pictures/script.py
@@ -24,7 +24,7 @@ def caption_image(raw_image):
return processor.decode(out[0], skip_special_tokens=True)
def... | Since the `text` variable is just for passing to the model instead of the picture, changed internal regular quotes to [typographical curly quotes](https://typographyforlawyers.com/straight-and-curly-quotes.html).
The model interprets this all the same, yet curly quotes prevent possible HTML & JSON breakage down the... | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/546 | 2023-03-24T23:34:15Z | 2023-04-08T04:55:16Z | 2023-04-08T04:55:16Z | 2023-04-10T00:55:50Z | 209 | oobabooga/text-generation-webui | 26,071 |
Added CC0 licence | diff --git a/LICENCE b/LICENCE
new file mode 100644
index 00000000..6ca207ef
--- /dev/null
+++ b/LICENCE
@@ -0,0 +1,122 @@
+Creative Commons Legal Code
+
+CC0 1.0 Universal
+
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
+ ... | Resolves #121
| https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/193 | 2015-10-24T12:04:36Z | 2015-10-24T20:20:37Z | 2015-10-24T20:20:37Z | 2015-10-24T20:20:41Z | 1,677 | josephmisiti/awesome-machine-learning | 52,258 |
change: import of unittest supports python2 and python3 | diff --git a/test_command.py b/test_command.py
index 0f5bbcf6..d3b42f6c 100644
--- a/test_command.py
+++ b/test_command.py
@@ -1,6 +1,10 @@
from command import MoveFileCommand
-import unittest, os, shutil, subprocess
+import os, shutil, subprocess, sys
+if sys.version_info < (2, 7):
+ import unittest2 as unittest... | - import of unit test should support python2 and python3 now
- integration test for state.py addedd
| https://api.github.com/repos/faif/python-patterns/pulls/116 | 2016-02-10T20:21:13Z | 2016-02-12T19:47:45Z | 2016-02-12T19:47:45Z | 2016-02-12T19:47:45Z | 750 | faif/python-patterns | 33,560 |
add omit_zero to binance | diff --git a/js/base/functions/number.js b/js/base/functions/number.js
index cfd6e7db373d..6bc54ecc0526 100644
--- a/js/base/functions/number.js
+++ b/js/base/functions/number.js
@@ -314,6 +314,16 @@ function toWei (amount, decimals = 18) {
return numberToString (Math.floor (parseFloat (n + 'e' + newExponent))) //... | https://api.github.com/repos/ccxt/ccxt/pulls/9283 | 2021-05-28T10:38:03Z | 2021-05-28T20:51:09Z | 2021-05-28T20:51:09Z | 2021-05-28T20:51:09Z | 1,287 | ccxt/ccxt | 13,577 | |
Add Saleor to e-commerce section | diff --git a/README.md b/README.md
index ec698d1cf..79c4dacaa 100644
--- a/README.md
+++ b/README.md
@@ -503,6 +503,7 @@ Inspired by [awesome-php](https://github.com/ziadoz/awesome-php).
* [money](https://github.com/carlospalol/money) - Money class with optional CLDR-backed locale-aware formatting and an extensible cu... | ## What is this Python project?
Saleor is one of the [most popular](https://www.ecommwar.com/) Python e-commerce platforms.
## What's the difference between this Python project and similar ones?
Saleor is designed to be a forkable project template rather than a library that you add to an existing project.
-... | https://api.github.com/repos/vinta/awesome-python/pulls/978 | 2017-11-20T10:31:42Z | 2017-11-20T16:51:19Z | 2017-11-20T16:51:19Z | 2017-11-20T16:51:19Z | 219 | vinta/awesome-python | 27,243 |
REGR: groupby fails with nullable dtypes and dropna=False | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index f58e10a701740..ab80bdb9ed782 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -83,7 +83,7 @@ Fixed regressions
- Fixed :meth:`.DataFrameGroupBy.size` not returning a Series when ``axis=1`` (:issue:`487... | - [x] closes #48794 (Replace xxxx with the Github issue number)
- [x] [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
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/48824 | 2022-09-28T01:05:12Z | 2022-10-04T18:28:21Z | 2022-10-04T18:28:21Z | 2022-10-04T22:16:20Z | 2,286 | pandas-dev/pandas | 44,998 |
fix(workflow): Add default for `alert-release-notification-workflow` | diff --git a/src/sentry/conf/server.py b/src/sentry/conf/server.py
index 5dcf62f231abc8..9443c2649da318 100644
--- a/src/sentry/conf/server.py
+++ b/src/sentry/conf/server.py
@@ -927,6 +927,8 @@ def create_partitioned_queues(name):
"organizations:advanced-search": True,
# Use metrics as the dataset for crash ... | follow up to #35806 | https://api.github.com/repos/getsentry/sentry/pulls/35870 | 2022-06-21T22:02:54Z | 2022-06-21T22:27:46Z | 2022-06-21T22:27:46Z | 2024-03-05T19:40:16Z | 167 | getsentry/sentry | 44,029 |
Implement Differential Diffusion | diff --git a/comfy/samplers.py b/comfy/samplers.py
index c795f208d8..a4a5595117 100644
--- a/comfy/samplers.py
+++ b/comfy/samplers.py
@@ -276,6 +276,8 @@ def __init__(self, model):
self.inner_model = model
def forward(self, x, sigma, uncond, cond, cond_scale, denoise_mask, model_options={}, seed=None):
... | The authors of the paper introduced a concept called a _change map_. For brevity, I will refer to it here as a _mask_.
The node `_for_testing/Differential Diffusion` is meant to be used alongside the `InpaintModelConditioning` node or the `Set Latent Noise Mask` node, and then the sampler does it automatically.
#... | https://api.github.com/repos/comfyanonymous/ComfyUI/pulls/2876 | 2024-02-23T04:35:03Z | 2024-03-03T20:34:14Z | 2024-03-03T20:34:14Z | 2024-04-15T14:30:36Z | 1,384 | comfyanonymous/ComfyUI | 17,773 |
VW: Prep for MQB longitudinal | diff --git a/selfdrive/car/volkswagen/carcontroller.py b/selfdrive/car/volkswagen/carcontroller.py
index 5624c3dd5fcfde..816933f2f0168e 100644
--- a/selfdrive/car/volkswagen/carcontroller.py
+++ b/selfdrive/car/volkswagen/carcontroller.py
@@ -7,6 +7,7 @@
from selfdrive.car.volkswagen.values import CANBUS, PQ_CARS, Car... | Null-effect refactor of existing VW PQ longitudinal control: reduce diff with #22963 by bringing in the abstraction updates and other miscellaneous cleanup. | https://api.github.com/repos/commaai/openpilot/pulls/25777 | 2022-09-14T04:57:40Z | 2022-09-15T00:04:28Z | 2022-09-15T00:04:28Z | 2022-09-15T00:26:35Z | 2,603 | commaai/openpilot | 9,362 |
Test run black on self | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 01cf31502b1..b5893756705 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -23,6 +23,11 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -e '.[d]'
+ pytho... | ### Description
Removed the hard coded `SOURCE` list from *test_format.py*. Now, black is run as part of the *Lint* CI and looks for sources automatically.
### Checklist - did you ...
<!-- If any of the following items aren't relevant for your contribution
please still tick them so we know you've gone th... | https://api.github.com/repos/psf/black/pulls/3114 | 2022-06-08T12:33:03Z | 2022-06-14T16:08:36Z | 2022-06-14T16:08:36Z | 2022-06-15T07:29:58Z | 1,182 | psf/black | 24,054 |
[Add] : Wildcard Matching program under DYNAMIC PROGRAMMING | diff --git a/dynamic_programming/wildcard_matching.py b/dynamic_programming/wildcard_matching.py
new file mode 100644
index 000000000000..4ffc4b5d46aa
--- /dev/null
+++ b/dynamic_programming/wildcard_matching.py
@@ -0,0 +1,62 @@
+"""
+Given two strings, an input string and a pattern,
+this program checks if the input s... | ### Describe your change:
This PR adds the wildcard matching program under dynamic programming.
Wildcard Matching :

.
The theory is that we have decided to track Mozilla's ciphersuite recommendations, which Mozilla has extensively considered for web client compatibility issues and continues to update. We are also open to providing options to ... | https://api.github.com/repos/certbot/certbot/pulls/1261 | 2015-10-31T16:02:22Z | 2015-11-02T05:52:18Z | 2015-11-02T05:52:17Z | 2016-05-06T19:22:16Z | 2,149 | certbot/certbot | 1,371 |
Catch AttributeError in utils.super_len | diff --git a/HISTORY.md b/HISTORY.md
index ccf4e17400..99d195a798 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -11,6 +11,9 @@ dev
backwards compatible as it inherits from previously thrown exceptions.
Can be caught from `requests.exceptions.RequestException` as well.
+- Catch `AttributeError` when calculating le... | This allows it to handle files obtained via `Tarfile.extractfile()`.
Fixes #5229. | https://api.github.com/repos/psf/requests/pulls/5239 | 2019-10-21T11:55:23Z | 2021-11-28T20:03:31Z | 2021-11-28T20:03:31Z | 2022-02-26T21:00:46Z | 671 | psf/requests | 32,531 |
Backport PR #46055 on branch 1.4.x (DOC: Add "build C extensions" note) | diff --git a/doc/source/development/contributing_environment.rst b/doc/source/development/contributing_environment.rst
index 5f36a2a609c9f..e2c1463b7dfba 100644
--- a/doc/source/development/contributing_environment.rst
+++ b/doc/source/development/contributing_environment.rst
@@ -26,14 +26,28 @@ with a full pandas deve... | Backport PR #46055: DOC: Add "build C extensions" note | https://api.github.com/repos/pandas-dev/pandas/pulls/46168 | 2022-02-27T15:58:25Z | 2022-02-27T18:10:20Z | 2022-02-27T18:10:20Z | 2022-02-27T18:10:20Z | 503 | pandas-dev/pandas | 45,178 |
Switch to Go 1.5.1 (fixes #955) | diff --git a/.travis.yml b/.travis.yml
index 3041fdd824b..ff8a1038a4c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@ services:
# http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS
# gimme has to be kept in sync with Boulder's Go version setting in .travis.yml
before_install:
- - '[ "xxx$BO... | https://api.github.com/repos/certbot/certbot/pulls/1006 | 2015-10-16T22:28:43Z | 2015-10-17T17:44:04Z | 2015-10-17T17:44:04Z | 2016-05-06T19:21:35Z | 203 | certbot/certbot | 414 | |
Scope all hubconf.py imports for torch.hub.list() | diff --git a/hubconf.py b/hubconf.py
index 1876441d8a8..3b3dfe0e9e2 100644
--- a/hubconf.py
+++ b/hubconf.py
@@ -5,15 +5,8 @@
model = torch.hub.load('ultralytics/yolov5', 'yolov5s')
"""
-from pathlib import Path
-
import torch
-from utils.general import check_requirements, set_logging
-
-dependencies = ['tor... |
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Streamlined dependency checks in `hubconf.py` for YOLOv5 models.
### 📊 Key Changes
- Removed the global import of `Path` from `pathlib`.
- Moved `check_requirements` and `set_logging` imports i... | https://api.github.com/repos/ultralytics/yolov5/pulls/3145 | 2021-05-12T18:25:13Z | 2021-05-12T18:28:26Z | 2021-05-12T18:28:26Z | 2024-01-19T18:20:26Z | 351 | ultralytics/yolov5 | 25,645 |
C++20 is more up to date than C++17 | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index 71bf648af..2ad06fdef 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -241,7 +241,7 @@ All C++ programmers. This includes [programmers who might consider C](#S-cpl).
## <a name="SS-aims"></a>In.aims: Aims
-The purpose of this document is... | This language matches that of the paragraph a few lines above | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/2085 | 2023-06-22T13:26:58Z | 2023-06-22T16:25:53Z | 2023-06-22T16:25:53Z | 2023-06-22T16:26:19Z | 314 | isocpp/CppCoreGuidelines | 16,117 |
Added Transfer Learning for NLP | diff --git a/books.md b/books.md
index 5bc43371..b9efc489 100644
--- a/books.md
+++ b/books.md
@@ -92,6 +92,7 @@ The following is a list of free and/or open source books on machine learning, st
* [Deep Learning for Natural Lanuage Processing](https://www.manning.com/books/deep-learning-for-natural-language-processing)... | Hi,
Stjepan from Manning here. I thought this title might be a good match for your list. Thank you for considering it.
Best, | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/825 | 2021-11-02T09:33:58Z | 2021-11-23T14:19:23Z | 2021-11-23T14:19:23Z | 2021-11-23T14:19:23Z | 198 | josephmisiti/awesome-machine-learning | 51,912 |
Clear chatbox input only after response it generated | diff --git a/website/src/components/Chat/ChatConversation.tsx b/website/src/components/Chat/ChatConversation.tsx
index 23ef864400..ce5138d686 100644
--- a/website/src/components/Chat/ChatConversation.tsx
+++ b/website/src/components/Chat/ChatConversation.tsx
@@ -82,7 +82,6 @@ export const ChatConversation = memo(functi... | Now the user will have better experience chatting with assistant. The chat box input is only cleared after response is generated. Fixes #2604 | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/2768 | 2023-04-20T04:17:03Z | 2023-04-20T05:30:45Z | 2023-04-20T05:30:45Z | 2023-04-20T05:30:45Z | 270 | LAION-AI/Open-Assistant | 37,581 |
[context]support arbitary module materialization. | diff --git a/colossalai/utils/model/lazy_init_context.py b/colossalai/utils/model/lazy_init_context.py
index 290ab7aace59..a72c59fee074 100644
--- a/colossalai/utils/model/lazy_init_context.py
+++ b/colossalai/utils/model/lazy_init_context.py
@@ -8,6 +8,7 @@
import typing
from typing import List, Callable
from colos... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/1193 | 2022-06-30T07:17:48Z | 2022-07-04T02:12:02Z | 2022-07-04T02:12:02Z | 2022-07-04T02:12:02Z | 2,021 | hpcaitech/ColossalAI | 11,862 | |
[MRG] Use _check_sample_weight in BaseForest | diff --git a/sklearn/ensemble/_forest.py b/sklearn/ensemble/_forest.py
index 39af503c43279..0489805e19fc2 100644
--- a/sklearn/ensemble/_forest.py
+++ b/sklearn/ensemble/_forest.py
@@ -61,7 +61,7 @@ class calls the ``fit`` method of each sub-estimator on random samples
from ._base import BaseEnsemble, _partition_estim... | <!--
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/master/CONTRIBUTING.md#pull-request-checklist
-->
#### Reference Issues/PRs
<!--
Example: Fixes #1234. See also #3456.
Please use keywords (e.g., Fi... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/15492 | 2019-11-02T20:05:41Z | 2019-11-12T07:48:56Z | 2019-11-12T07:48:56Z | 2019-11-12T07:48:56Z | 1,068 | scikit-learn/scikit-learn | 46,327 |
Allow user to start work from DMs. | diff --git a/discord-bot/.env.example b/discord-bot/.env.example
index 5cd18facb9..ec114c8fee 100644
--- a/discord-bot/.env.example
+++ b/discord-bot/.env.example
@@ -1,7 +1,7 @@
BOT_TOKEN=<discord bot token>
DECLARE_GLOBAL_COMMANDS=<testing guild id>
OWNER_IDS=[<your user id>, <other user ids>]
-PREFIX="./"
+PREFIX... | This also broadcasts task completion messages to every server. This needs to be changed in the future if the bot starts sending too many messages, but it should be fine right now. | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/267 | 2023-01-02T08:46:13Z | 2023-01-03T10:31:33Z | 2023-01-03T10:31:33Z | 2023-01-04T01:22:17Z | 1,374 | LAION-AI/Open-Assistant | 37,847 |
Improve single-binary method wording | diff --git a/docs/README.md b/docs/README.md
index 1fc8f444f8..978168c7d3 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -217,7 +217,7 @@ $ pacman -Syu
#### Single binary executables
-Have a standalone HTTPie executable when you don't want to go through the full installation process
+Get the standalone HTTPie... | Call to action wording. | https://api.github.com/repos/httpie/cli/pulls/1399 | 2022-05-10T15:28:23Z | 2022-05-10T16:55:32Z | 2022-05-10T16:55:31Z | 2022-05-10T17:33:31Z | 265 | httpie/cli | 34,059 |
Adding config files for convnext | diff --git a/src/transformers/models/convnext/configuration_convnext.py b/src/transformers/models/convnext/configuration_convnext.py
index 8e435b1ed1d9a..d214cfcb1bd67 100644
--- a/src/transformers/models/convnext/configuration_convnext.py
+++ b/src/transformers/models/convnext/configuration_convnext.py
@@ -67,12 +67,1... | # What does this PR do?
Adding config files for convnext
Based on issue: https://github.com/huggingface/transformers/issues/19487
@ydshieh could you please check it?
Thanks :) | https://api.github.com/repos/huggingface/transformers/pulls/19717 | 2022-10-18T12:35:02Z | 2022-10-18T15:10:10Z | 2022-10-18T15:10:10Z | 2022-10-18T15:12:43Z | 546 | huggingface/transformers | 12,811 |
[dashboard] Add `RAY_CLUSTER_ACTIVITY_HOOK` to `/api/component_activities` | diff --git a/dashboard/consts.py b/dashboard/consts.py
index a81d3ebc73c23..0380dbbc079e8 100644
--- a/dashboard/consts.py
+++ b/dashboard/consts.py
@@ -36,3 +36,10 @@
BAD_RUNTIME_ENV_CACHE_TTL_SECONDS = env_integer(
"BAD_RUNTIME_ENV_CACHE_TTL_SECONDS", 60 * 10
)
+# Hook that is invoked on the dashboard `/api/co... | <!-- 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/26297 | 2022-07-05T11:13:01Z | 2022-07-08T17:51:59Z | 2022-07-08T17:51:59Z | 2022-07-08T17:51:59Z | 3,563 | ray-project/ray | 19,164 |
Styles Grouping/Sorting #1770 | diff --git a/css/style.css b/css/style.css
index 010c8e7f6..3cc1e5e52 100644
--- a/css/style.css
+++ b/css/style.css
@@ -218,3 +218,48 @@
#stylePreviewOverlay.lower-half {
transform: translate(-140px, -140px);
}
+
+/* scrollable box for style selections */
+.contain .tabs {
+ height: 100%;
+}
+
+.contain .tabs ... | As described in https://github.com/lllyasviel/Fooocus/issues/1770#issuecomment-1887719446 | https://api.github.com/repos/lllyasviel/Fooocus/pulls/1883 | 2024-01-11T18:49:43Z | 2024-03-11T15:35:03Z | 2024-03-11T15:35:03Z | 2024-03-11T15:35:03Z | 1,041 | lllyasviel/Fooocus | 7,025 |
Moved probability to active projects | diff --git a/eop/__init__.py b/active_projects/eop/__init__.py
similarity index 100%
rename from eop/__init__.py
rename to active_projects/eop/__init__.py
diff --git a/eop/bayes.py b/active_projects/eop/bayes.py
similarity index 100%
rename from eop/bayes.py
rename to active_projects/eop/bayes.py
diff --git a/eop/bayes... | https://api.github.com/repos/3b1b/manim/pulls/155 | 2018-03-08T22:17:47Z | 2018-03-08T22:17:54Z | 2018-03-08T22:17:54Z | 2018-03-08T22:17:57Z | 236 | 3b1b/manim | 18,469 | |
Release v0.2.15 & Fix load-8bit & Improve documentations | diff --git a/README.md b/README.md
index 8c3ce53503..cee16abb8d 100644
--- a/README.md
+++ b/README.md
@@ -205,10 +205,6 @@ CUDA_VISIBLE_DEVICES=1 python3 -m fastchat.serve.model_worker --model-path lmsys
```bash
python3 -m fastchat.serve.gradio_web_server_multi
```
-- You can protect your webserver with Gradio's Au... | https://api.github.com/repos/lm-sys/FastChat/pulls/1730 | 2023-06-18T08:36:10Z | 2023-06-18T08:36:39Z | 2023-06-18T08:36:39Z | 2023-06-18T09:33:55Z | 686 | lm-sys/FastChat | 41,763 | |
Create TowerOfHanoi.py | diff --git a/TowerOfHanoi.py b/TowerOfHanoi.py
new file mode 100644
index 0000000000..af89032fce
--- /dev/null
+++ b/TowerOfHanoi.py
@@ -0,0 +1,14 @@
+# Recursive Python function to solve the tower of hanoi --
+
+def TowerOfHanoi(n , source, destination, auxiliary):
+ if n==1:
+ print ("Move disk 1 from source",source... | Tower of Hanoi using Python | https://api.github.com/repos/geekcomputers/Python/pulls/1988 | 2023-10-03T10:38:14Z | 2023-10-07T13:40:42Z | 2023-10-07T13:40:42Z | 2023-10-07T13:40:42Z | 203 | geekcomputers/Python | 31,376 |
Fixing return None for Radio and Selectbox | diff --git a/lib/streamlit/DeltaGenerator.py b/lib/streamlit/DeltaGenerator.py
index 6a63a8df1f51..b9dd5e17f9cf 100644
--- a/lib/streamlit/DeltaGenerator.py
+++ b/lib/streamlit/DeltaGenerator.py
@@ -1809,7 +1809,8 @@ def radio(self, element, label, options, index=0, format_func=str, key=None):
ui_value = _ge... | **Issue:** This PR fixes #982
**Description:** Using NoValue instead of None
---
**Contribution License Agreement**
By submiting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| https://api.github.com/repos/streamlit/streamlit/pulls/998 | 2020-01-20T19:17:04Z | 2020-01-21T17:08:59Z | 2020-01-21T17:08:59Z | 2020-01-21T17:09:03Z | 666 | streamlit/streamlit | 22,067 |
Updated README.md | diff --git a/forefront/README.md b/forefront/README.md
index 5b084af534..a2be818705 100644
--- a/forefront/README.md
+++ b/forefront/README.md
@@ -4,7 +4,7 @@
import forefront
# create an account
-token = forefront.Account.create(logging=True)
+token = forefront.Account.create(logging=False)
print(token)
# get ... | There is no need for logging as it takes so much space of terminal window. Also, added a print statement to add a line at the end of the Bot's response. | https://api.github.com/repos/xtekky/gpt4free/pulls/235 | 2023-04-28T04:10:43Z | 2023-04-28T08:08:27Z | 2023-04-28T08:08:27Z | 2023-04-28T08:08:28Z | 166 | xtekky/gpt4free | 37,885 |
git 3.1.30 api change, issue #8116 | diff --git a/modules/extensions.py b/modules/extensions.py
index 3eef9eaf65d..ed4b58fe39c 100644
--- a/modules/extensions.py
+++ b/modules/extensions.py
@@ -66,7 +66,7 @@ def list_files(self, subdir, extension):
def check_updates(self):
repo = git.Repo(self.path)
- for fetch in repo.remote().f... | this is a fix for #8116 , where gitpython made a breaking api change:
> [per this](https://github.com/gitpython-developers/GitPython/pull/1518) and [this changelog](https://github.com/gitpython-developers/GitPython/pull/1518) you can no longer feed arbitrary arguments to prevent remote code execution.
Running on ... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/8118 | 2023-02-25T19:30:33Z | 2023-03-11T14:47:52Z | 2023-03-11T14:47:52Z | 2023-03-11T15:36:14Z | 250 | AUTOMATIC1111/stable-diffusion-webui | 40,385 |
add conv system in cli | diff --git a/fastchat/conversation.py b/fastchat/conversation.py
index d41af70f32..71885dc4d5 100644
--- a/fastchat/conversation.py
+++ b/fastchat/conversation.py
@@ -257,7 +257,7 @@ def copy(self):
def dict(self):
return {
"template_name": self.name,
- "system": self.system_messag... | <!-- 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?
1. Debugging dialogue performance under different character setti... | https://api.github.com/repos/lm-sys/FastChat/pulls/2098 | 2023-07-27T16:05:51Z | 2023-08-02T01:41:15Z | 2023-08-02T01:41:15Z | 2023-08-02T03:00:12Z | 1,010 | lm-sys/FastChat | 41,614 |
Fix Past CI | diff --git a/.github/workflows/self-past.yml b/.github/workflows/self-past.yml
index 6a154544df8b9..2ece4388d27c9 100644
--- a/.github/workflows/self-past.yml
+++ b/.github/workflows/self-past.yml
@@ -88,6 +88,10 @@ jobs:
working-directory: /transformers
run: python3 -m pip uninstall -y transformers &... | # What does this PR do?
Since mid-November, we have hundreds of following failures in each past CI
> (line 1108) NotImplementedError: Loading a dataset cached in a LocalFileSystem is not supported.
It is caused by `fsspec==2023.10.0` with an old `datasets`.
This PR just updates `datasets` (at CI runtime) t... | https://api.github.com/repos/huggingface/transformers/pulls/27696 | 2023-11-24T17:10:34Z | 2023-11-27T08:11:59Z | 2023-11-27T08:11:59Z | 2023-11-27T08:12:00Z | 412 | huggingface/transformers | 12,554 |
add: | diff --git a/metagpt/tools/moderation.py b/metagpt/tools/moderation.py
new file mode 100644
index 000000000..c56a6afc4
--- /dev/null
+++ b/metagpt/tools/moderation.py
@@ -0,0 +1,40 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+"""
+@Time : 2023/9/26 14:27
+@Author : zhanglei
+@File : moderation.py
+"""
+fr... | 1.moderation tools:Determine whether the content is compliant,return True if not compliant,otherwise False
2.unittest
| https://api.github.com/repos/geekan/MetaGPT/pulls/399 | 2023-10-07T08:59:48Z | 2023-10-07T09:32:30Z | 2023-10-07T09:32:30Z | 2023-10-07T09:32:30Z | 700 | geekan/MetaGPT | 16,867 |
AutoResetWrapper integration with gym.make() | diff --git a/gym/envs/registration.py b/gym/envs/registration.py
index f53ac621205..70f0b9345e5 100644
--- a/gym/envs/registration.py
+++ b/gym/envs/registration.py
@@ -90,6 +90,7 @@ class EnvSpec:
nondeterministic: Whether this environment is non-deterministic even after seeding
max_episode_steps: Th... | # Description
This is a pull request to integrate the autoreset wrapper into gym.make() with it being disabled by default. The keyword argument is autoreset. If autoreset is set to False or a value is not provided for autoreset in gym.make, then the env will not be wrapped with the autoreset wrapper.
# Notes for... | https://api.github.com/repos/openai/gym/pulls/2728 | 2022-04-03T01:27:28Z | 2022-04-08T14:54:50Z | 2022-04-08T14:54:49Z | 2022-04-12T21:46:56Z | 1,031 | openai/gym | 5,390 |
Add test for S3 list_object_versions with EncodingType parameter | diff --git a/tests/integration/test_s3.py b/tests/integration/test_s3.py
index faecbc4c5df40..61879a83fed58 100644
--- a/tests/integration/test_s3.py
+++ b/tests/integration/test_s3.py
@@ -772,6 +772,21 @@ def test_etag_on_get_object_call(self):
# clean up
self._delete_bucket(TEST_BUCKET_NAME_2, [TEST... | Add test for S3 list_object_versions with EncodingType parameter - addresses #452 | https://api.github.com/repos/localstack/localstack/pulls/2201 | 2020-03-26T15:24:04Z | 2020-03-26T18:25:37Z | 2020-03-26T18:25:37Z | 2020-03-26T18:25:53Z | 231 | localstack/localstack | 28,904 |
changed prints to logging in utils/datasets | diff --git a/utils/datasets.py b/utils/datasets.py
index 841879a5cf8..5f1ff5f1a7f 100755
--- a/utils/datasets.py
+++ b/utils/datasets.py
@@ -1,6 +1,7 @@
# Dataset utils and dataloaders
import glob
+import logging
import math
import os
import random
@@ -21,6 +22,8 @@
from utils.general import xyxy2xywh, xywh2xyx... | Changed prints to logging in utils/datasets.
I've only changed these ones since that's a part that causes output problems in our tool. I didn't want to change more than that without being able to easily test, sorry.
Usage of info vs debug messages was based purely on common sense
## 🛠️ PR Summary
<sub>Made with ❤️... | https://api.github.com/repos/ultralytics/yolov5/pulls/1315 | 2020-11-06T17:20:09Z | 2020-11-24T15:03:19Z | 2020-11-24T15:03:19Z | 2024-01-19T20:35:03Z | 1,628 | ultralytics/yolov5 | 25,409 |
Restart: only do restart if running via the wrapper script | diff --git a/modules/restart.py b/modules/restart.py
new file mode 100644
index 00000000000..18eacaf377e
--- /dev/null
+++ b/modules/restart.py
@@ -0,0 +1,23 @@
+import os
+from pathlib import Path
+
+from modules.paths_internal import script_path
+
+
+def is_restartable() -> bool:
+ """
+ Return True if the webu... |
## Checklist:
- [x] I have read [contributing wiki page](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing)
- [x] I have performed a self-review of my own code
- [x] My code follows the [style guidelines](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing#code-style... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/11043 | 2023-06-05T17:00:53Z | 2023-06-05T17:06:40Z | 2023-06-05T17:06:40Z | 2023-06-27T09:11:29Z | 986 | AUTOMATIC1111/stable-diffusion-webui | 40,400 |
VW: add missing Arteon 2019 FW | diff --git a/selfdrive/car/volkswagen/values.py b/selfdrive/car/volkswagen/values.py
index e63975b0c03134..bdd82088a1fee2 100755
--- a/selfdrive/car/volkswagen/values.py
+++ b/selfdrive/car/volkswagen/values.py
@@ -293,6 +293,7 @@ def init_make(self, CP: car.CarParams):
b'\xf1\x873G0906259N \xf1\x890004',
... | https://api.github.com/repos/commaai/openpilot/pulls/27671 | 2023-03-24T08:06:06Z | 2023-03-25T02:11:51Z | 2023-03-25T02:11:51Z | 2023-03-25T02:11:52Z | 642 | commaai/openpilot | 9,857 | |
Don't memoize config._server_headless | diff --git a/lib/streamlit/config.py b/lib/streamlit/config.py
index c14e35cfb5db..f00a406de351 100644
--- a/lib/streamlit/config.py
+++ b/lib/streamlit/config.py
@@ -450,22 +450,24 @@ def _server_cookie_secret():
@_create_option("server.headless", type_=bool)
-@util.memoize
def _server_headless():
"""If fal... | When we memoize any computed config option, we introduce global state that doesn't get reset across tests. This was triggering test failures in ConfigTest.py.
(This also reorganizes the `config_test. _server_headless` function for clarity.) | https://api.github.com/repos/streamlit/streamlit/pulls/2858 | 2021-02-25T02:14:55Z | 2021-02-25T02:24:02Z | 2021-02-25T02:24:02Z | 2021-07-24T00:37:08Z | 353 | streamlit/streamlit | 22,165 |
Actually disable docstring prefix normalization with -S + fix instability | diff --git a/CHANGES.md b/CHANGES.md
index 09954f2b73..3a4d8fdf17 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -19,6 +19,8 @@
- Single-character closing docstring quotes are no longer moved to their own line as
this is invalid. This was a bug introduced in version 22.6.0. (#3166)
+- `--skip-string-normalization` /... | ### Description
The former was a regression I introduced a long time ago. To avoid changing the stable style too much, the regression is only fixed if `--preview` is enabled.
*annoying enough, as we currently always enforce a second format pass if changes were made, there's no good way to prove the existen... | https://api.github.com/repos/psf/black/pulls/3168 | 2022-07-14T17:55:27Z | 2022-07-14T23:47:34Z | 2022-07-14T23:47:33Z | 2022-07-15T00:01:57Z | 1,325 | psf/black | 24,218 |
DOC: Fix typo | diff --git a/tools/pinning/current/pyproject.toml b/tools/pinning/current/pyproject.toml
index 5802f87f187..b5959bc201d 100644
--- a/tools/pinning/current/pyproject.toml
+++ b/tools/pinning/current/pyproject.toml
@@ -76,7 +76,7 @@ setuptools-rust = "*"
pylint = ">2.6.2"
# Bug in poetry, where still installes yanked... | ## Pull Request Checklist
- [x] If the change being made is to a [distributed component](https://certbot.eff.org/docs/contributing.html#code-components-and-layout), edit the `master` section of `certbot/CHANGELOG.md` to include a description of the change being made.
- [x] Add or update any documentation as needed ... | https://api.github.com/repos/certbot/certbot/pulls/9346 | 2022-07-09T11:48:53Z | 2022-07-11T18:30:50Z | 2022-07-11T18:30:50Z | 2022-07-11T18:30:50Z | 189 | certbot/certbot | 1,148 |
Enable pip cache and set Python version | diff --git a/.travis.yml b/.travis.yml
index d9b4cb5eade..67da27d00be 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,9 @@
language: python
+cache:
+ directories:
+ - $HOME/.cache/pip
+
services:
- rabbitmq
- mariadb
@@ -19,23 +23,30 @@ env:
global:
- GOPATH=/tmp/go
- PATH=$GOPATH... | Builds off #2160 (which builds off #2030). My theory for why this didn't work before is Travis didn't know Python version our tests were running, causing it to use the wrong `pip` cache.
Building off of #2160 should fix this. I will run Travis tests multiple times and verify the cache is used in each test to prevent t... | https://api.github.com/repos/certbot/certbot/pulls/2238 | 2016-01-19T23:52:11Z | 2016-01-20T01:43:17Z | 2016-01-20T01:43:17Z | 2016-05-06T19:22:31Z | 667 | certbot/certbot | 2,591 |
Reduce update_interval for Opengarage | diff --git a/homeassistant/components/opengarage/__init__.py b/homeassistant/components/opengarage/__init__.py
index 76ffcc42bd16..eb1b50db5b69 100644
--- a/homeassistant/components/opengarage/__init__.py
+++ b/homeassistant/components/opengarage/__init__.py
@@ -66,7 +66,7 @@ def __init__(
hass,
... | <!--
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/66478 | 2022-02-13T20:36:50Z | 2022-02-13T21:41:47Z | 2022-02-13T21:41:46Z | 2022-02-14T22:02:11Z | 141 | home-assistant/core | 39,095 |
Added alternative implementation for Iterator pattern using the Iterator protocol | diff --git a/README.md b/README.md
index 77526b42..49ad4d4a 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,7 @@ __Behavioral Patterns__:
| [chaining_method](patterns/behavioral/chaining_method.py) | continue callback next object method |
| [command](patterns/behavioral/command.py) | bundle a command and argument... | In this PR I add the alternative version on how to implement the Iterator pattern using the Iterator protocol from Python. I followed the same example in the original version so that they can be easily compared. | https://api.github.com/repos/faif/python-patterns/pulls/320 | 2020-02-11T22:41:13Z | 2020-02-12T21:05:56Z | 2020-02-12T21:05:56Z | 2020-02-12T21:05:56Z | 658 | faif/python-patterns | 33,673 |
Document that we're not accepting DNS plugins | diff --git a/certbot/docs/contributing.rst b/certbot/docs/contributing.rst
index da0ddc9d16b..0807cbf2444 100644
--- a/certbot/docs/contributing.rst
+++ b/certbot/docs/contributing.rst
@@ -300,6 +300,16 @@ configuration checkpoints and rollback.
Writing your own plugin
~~~~~~~~~~~~~~~~~~~~~~~
+.. note:: The Certbot... | Docs now look like:

| https://api.github.com/repos/certbot/certbot/pulls/7639 | 2019-12-11T19:55:55Z | 2019-12-18T19:13:57Z | 2019-12-18T19:13:57Z | 2019-12-18T19:14:06Z | 303 | certbot/certbot | 3,079 |
bpo-37610: improve Using Python doc wrt Editors & IDE | diff --git a/Doc/using/editors.rst b/Doc/using/editors.rst
new file mode 100644
index 00000000000000..f36f570125c119
--- /dev/null
+++ b/Doc/using/editors.rst
@@ -0,0 +1,14 @@
+.. highlight:: none
+
+.. _editors:
+
+******************
+ Editors and IDEs
+******************
+
+There are a number of IDEs that support Pyt... | Move the Editors and IDE section out of the Unix section, to its own section.
<!-- issue-number: [bpo-37610](https://bugs.python.org/issue37610) -->
https://bugs.python.org/issue37610
<!-- /issue-number -->
Automerge-Triggered-By: @Mariatta | https://api.github.com/repos/python/cpython/pulls/14850 | 2019-07-19T01:12:25Z | 2019-07-19T01:23:17Z | 2019-07-19T01:23:17Z | 2019-07-19T01:25:07Z | 522 | python/cpython | 4,088 |
单词拼写错误 | diff --git a/tools/infer/predict_system.py b/tools/infer/predict_system.py
index 8d674809a5..16789b81cd 100755
--- a/tools/infer/predict_system.py
+++ b/tools/infer/predict_system.py
@@ -92,11 +92,11 @@ def __call__(self, img, cls=True):
self.draw_crop_rec_res(self.args.crop_res_save_dir, img_crop_list,
... | result被写成reuslt | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/5345 | 2022-01-25T06:40:04Z | 2022-01-25T08:35:35Z | 2022-01-25T08:35:35Z | 2022-01-25T08:35:35Z | 349 | PaddlePaddle/PaddleOCR | 42,338 |
🌐 Add Turkish translation for `docs/tr/docs/tutorial/query-params.md` | diff --git a/docs/tr/docs/tutorial/query-params.md b/docs/tr/docs/tutorial/query-params.md
new file mode 100644
index 0000000000000..61232d5b38008
--- /dev/null
+++ b/docs/tr/docs/tutorial/query-params.md
@@ -0,0 +1,227 @@
+# Sorgu Parametreleri
+
+Fonksiyonda yol parametrelerinin parçası olmayan diğer tanımlamalar oto... | 🌐 Add Turkish translation for `docs/tr/docs/tutorial/query-params.md`
[Original File](https://github.com/tiangolo/fastapi/blob/master/docs/en/docs/tutorial/query-params.md)
Discussion: https://github.com/tiangolo/fastapi/discussions/9193 | https://api.github.com/repos/tiangolo/fastapi/pulls/11078 | 2024-02-02T06:42:02Z | 2024-02-18T12:20:41Z | 2024-02-18T12:20:41Z | 2024-02-18T12:20:50Z | 2,071 | tiangolo/fastapi | 22,701 |
Fix Erlang heading in README.md | diff --git a/README.md b/README.md
index cfe9e6ad..b6e6c68f 100644
--- a/README.md
+++ b/README.md
@@ -170,6 +170,7 @@ For a list of free machine learning books available for download, go [here](http
* [Incanter](http://incanter.org/) - Incanter is a Clojure-based, R-like platform for statistical computing and graphic... | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/109 | 2015-01-15T09:08:52Z | 2015-01-15T15:34:24Z | 2015-01-15T15:34:24Z | 2015-01-15T15:34:24Z | 175 | josephmisiti/awesome-machine-learning | 51,895 | |
Fix certbot-apache tests on Python 3 | diff --git a/certbot-apache/certbot_apache/obj.py b/certbot-apache/certbot_apache/obj.py
index b29b0e0ee9d..30cb24844f4 100644
--- a/certbot-apache/certbot_apache/obj.py
+++ b/certbot-apache/certbot_apache/obj.py
@@ -25,6 +25,11 @@ def __ne__(self, other):
def __repr__(self):
return "certbot_apache.obj.Ad... | Continuation of #3375 (Enable unit tests of certbot core on Python 3); another step to #3179
See https://travis-ci.org/yan12125/certbot/builds/198516059 for my local build. Note that ```le_auto_trusty``` fails due to #4166
By the way, although all tests pass, there are quite a few warnings. Seems the test suite ... | https://api.github.com/repos/certbot/certbot/pulls/4172 | 2017-02-05T09:54:03Z | 2017-02-25T02:21:22Z | 2017-02-25T02:21:22Z | 2017-02-25T08:24:52Z | 2,559 | certbot/certbot | 3,353 |
gpt-engineer self improvement fixes: Default to using existing file list file | diff --git a/.gitignore b/.gitignore
index 24a9cb4ee0..9753953afa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -79,3 +79,4 @@ docs/db/
poetry.lock
.aider*
+.gpteng
diff --git a/gpt_engineer/file_selector.py b/gpt_engineer/file_selector.py
index f9baa2d7f4..8865f545ff 100644
--- a/gpt_engineer/file_selector.py
+++ b/... | https://api.github.com/repos/gpt-engineer-org/gpt-engineer/pulls/734 | 2023-09-22T21:00:32Z | 2023-09-22T21:05:55Z | 2023-09-22T21:05:55Z | 2023-09-22T21:07:12Z | 588 | gpt-engineer-org/gpt-engineer | 33,148 | |
[mgtv] add bsf:a aac_adtstoasc to ffmpeg params, fix #1458. | diff --git a/src/you_get/processor/ffmpeg.py b/src/you_get/processor/ffmpeg.py
index 1c0ba1a3de..dcc8e1c86d 100644
--- a/src/you_get/processor/ffmpeg.py
+++ b/src/you_get/processor/ffmpeg.py
@@ -125,7 +125,7 @@ def ffmpeg_concat_flv_to_mp4(files, output='output.mp4'):
params = [FFMPEG] + LOGLEVEL + ['-f', 'c... | Add `'-bsf:a', 'aac_adtstoasc'` params to ffmpeg, solves #1458 . I have manually tested this with some other video sites which use `ffmpeg_concat_flv_to_mp4()` and it seems everything works fine, the bsf param have no side effect.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_but... | https://api.github.com/repos/soimort/you-get/pulls/1518 | 2016-11-17T03:22:26Z | 2016-11-18T21:59:55Z | 2016-11-18T21:59:55Z | 2016-11-18T22:00:49Z | 187 | soimort/you-get | 21,230 |
[requires.io] dependency update on main branch | diff --git a/tox.ini b/tox.ini
index 104f27f3f1..8a5bfe1271 100644
--- a/tox.ini
+++ b/tox.ini
@@ -35,7 +35,7 @@ deps =
types-Werkzeug==1.0.2
types-requests==2.25.0
types-cryptography==3.3.3
- types-pyOpenSSL==20.0.3
+ types-pyOpenSSL==20.0.4
commands =
mypy {posargs}
| https://api.github.com/repos/mitmproxy/mitmproxy/pulls/4697 | 2021-07-22T04:33:50Z | 2021-07-24T17:13:10Z | 2021-07-24T17:13:10Z | 2021-07-24T17:13:14Z | 129 | mitmproxy/mitmproxy | 27,467 | |
Don't lstrip data to be parsed by parse_yaml. Fixes #6384 | diff --git a/lib/ansible/utils/__init__.py b/lib/ansible/utils/__init__.py
index 405641eb16352e..6c2f8112abae48 100644
--- a/lib/ansible/utils/__init__.py
+++ b/lib/ansible/utils/__init__.py
@@ -354,9 +354,9 @@ def smush_ds(data):
def parse_yaml(data, path_hint=None):
''' convert a yaml string to a data structure... | Only used stripped data for testing if the file is json, still use unstripped data when actually parsing. Fixes #6348
This prevents indented yaml on the first line, from being unindented and breaking YAML formatting resulting in a parser error.
| https://api.github.com/repos/ansible/ansible/pulls/6377 | 2014-03-10T18:45:36Z | 2014-03-10T18:51:14Z | 2014-03-10T18:51:14Z | 2019-04-24T20:01:29Z | 192 | ansible/ansible | 48,948 |
Lib ruamel.yaml version 0.15.55 will cause typing.Sequence[str] unsupported in option. | diff --git a/setup.py b/setup.py
index 80409c8f8b..7c6eb09f5a 100644
--- a/setup.py
+++ b/setup.py
@@ -75,7 +75,7 @@
"pyOpenSSL>=17.5,<18.1",
"pyparsing>=2.1.3, <2.3",
"pyperclip>=1.6.0, <1.7",
- "ruamel.yaml>=0.13.2, <0.15.61", # https://bitbucket.org/ruamel/yaml/issues/234/ruamelyam... | Based on release note of recent version `0.15.55 ruamel.yam`l, it **unmade** CommentedSeq a subclass of list.
This will cause the sequence parsed from yaml file **cannot** be set to option whose type is `typing.Sequence[str]`. | https://api.github.com/repos/mitmproxy/mitmproxy/pulls/3297 | 2018-08-17T07:23:09Z | 2018-09-07T12:46:58Z | 2018-09-07T12:46:58Z | 2018-09-07T12:47:11Z | 214 | mitmproxy/mitmproxy | 28,096 |
Pin shortcut to Quick Start Bar and Start Menu. | diff --git a/code/default/launcher/create_shortcut.js b/code/default/launcher/create_shortcut.js
index 5f36b5fbef..e905035fad 100644
--- a/code/default/launcher/create_shortcut.js
+++ b/code/default/launcher/create_shortcut.js
@@ -1,11 +1,12 @@
function CreateShortcut() {
wsh = new ActiveXObject('WScript.Shell')... | Solved issues: #4311 #4144 | https://api.github.com/repos/XX-net/XX-Net/pulls/10777 | 2018-05-26T06:56:02Z | 2018-05-26T07:16:43Z | 2018-05-26T07:16:43Z | 2018-06-01T11:02:08Z | 243 | XX-net/XX-Net | 17,147 |
modified code for readability and security | diff --git a/tik_tak.py b/tik_tak.py
index e4b4d28942..316b1c512f 100644
--- a/tik_tak.py
+++ b/tik_tak.py
@@ -1,45 +1,47 @@
+#Tik-tak game
-l=["anything",1,2,3,4,5,6,7,8,9]
-i=0
+
+board=["anything",1,2,3,4,5,6,7,8,9]
+switch="p1"
j=9
print("\n\t\t\tTIK-TAC-TOE")
-def board():
+def print_board():
#import os
... | since readability is one of the most important things when you code, I've modified the code so that others can read and understand it easily :) | https://api.github.com/repos/geekcomputers/Python/pulls/413 | 2018-10-15T14:22:21Z | 2018-11-04T21:48:49Z | 2018-11-04T21:48:49Z | 2018-11-12T06:29:14Z | 1,251 | geekcomputers/Python | 31,870 |
✏️ Fix typo on docstring in datastructures file | diff --git a/fastapi/datastructures.py b/fastapi/datastructures.py
index f22409c5175b7..6a44a7df4ff33 100644
--- a/fastapi/datastructures.py
+++ b/fastapi/datastructures.py
@@ -21,7 +21,7 @@ class DefaultPlaceholder:
You shouldn't use this class directly.
It's used internally to recognize when a default val... | :sweat_smile: | https://api.github.com/repos/tiangolo/fastapi/pulls/2887 | 2021-03-02T22:05:26Z | 2021-07-21T12:14:35Z | 2021-07-21T12:14:34Z | 2021-07-21T12:14:52Z | 221 | tiangolo/fastapi | 23,061 |
Add json parameter | diff --git a/requests/api.py b/requests/api.py
index 01d853d5ca..88db7dc72e 100644
--- a/requests/api.py
+++ b/requests/api.py
@@ -22,6 +22,7 @@ def request(method, url, **kwargs):
:param url: URL for the new :class:`Request` object.
:param params: (optional) Dictionary or bytes to be sent in the query string... | Closes #2025
| https://api.github.com/repos/psf/requests/pulls/2258 | 2014-09-30T15:59:29Z | 2014-10-05T16:46:09Z | 2014-10-05T16:46:09Z | 2021-09-07T00:06:40Z | 2,135 | psf/requests | 32,957 |
torture test | diff --git a/tests/data/torture.py b/tests/data/torture.py
new file mode 100644
index 00000000000..79a44c2e34c
--- /dev/null
+++ b/tests/data/torture.py
@@ -0,0 +1,81 @@
+importA;() << 0 ** 101234234242352525425252352352525234890264906820496920680926538059059209922523523525 #
+
+assert sort_by_dependency(
+ {
+ ... | Fixes #2651. Fixes #2754. Fixes #2518. Fixes #2321.
This adds a test that lists a number of cases of unstable formatting
that we have seen in the issue tracker. Checking it in will ensure
that we don't regress on these cases.
| https://api.github.com/repos/psf/black/pulls/2815 | 2022-01-28T05:01:13Z | 2022-01-29T00:48:39Z | 2022-01-29T00:48:39Z | 2022-01-29T00:48:43Z | 827 | psf/black | 23,834 |
[embed] correct tudou pattern | diff --git a/src/you_get/extractors/embed.py b/src/you_get/extractors/embed.py
index a177e66394..fc4015c4ee 100644
--- a/src/you_get/extractors/embed.py
+++ b/src/you_get/extractors/embed.py
@@ -25,7 +25,7 @@
"""
http://www.tudou.com/programs/view/html5embed.action?type=0&code=3LS_URGvl54&lcode=&resourceI... | Hyphen-minus (`-`) is a valid character in Tudou's video ID. It's even present in the second pattern of `tudou_embed_patterns`, just not the first.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/r... | https://api.github.com/repos/soimort/you-get/pulls/1492 | 2016-11-03T00:48:09Z | 2016-11-03T16:01:00Z | 2016-11-03T16:01:00Z | 2016-11-03T16:37:32Z | 238 | soimort/you-get | 21,225 |
路径空格问题 | diff --git a/start b/start
index 724b4fa63a..b5cc37fd5a 100755
--- a/start
+++ b/start
@@ -1,7 +1,7 @@
#!/bin/bash
SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-cd $SCRIPTPATH
+cd "$SCRIPTPATH"
if python -V | grep -q "Python 3" ;then
PYTHON="python2"
| 可能会修复 #3594 | https://api.github.com/repos/XX-net/XX-Net/pulls/4863 | 2017-01-12T09:02:36Z | 2017-01-14T14:27:41Z | 2017-01-14T14:27:41Z | 2017-01-14T15:09:15Z | 104 | XX-net/XX-Net | 17,286 |
Added pymssql on Database Drivers | diff --git a/README.md b/README.md
index 5a643f179..b8505f552 100644
--- a/README.md
+++ b/README.md
@@ -406,6 +406,7 @@ A curated list of awesome Python frameworks, libraries and software. Inspired by
* [queries](https://github.com/gmr/queries) - A wrapper of the psycopg2 library for interacting with PostgreSQL.
... | https://api.github.com/repos/vinta/awesome-python/pulls/476 | 2015-10-13T18:28:56Z | 2015-10-16T06:51:55Z | 2015-10-16T06:51:55Z | 2015-10-16T06:51:55Z | 225 | vinta/awesome-python | 26,909 | |
ESLint only runs one on Circle CI | diff --git a/.circleci/config.yml b/.circleci/config.yml
index f4f498181b60..7c04a0094e9e 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -501,7 +501,7 @@ jobs:
name: Run linters
command: |
# Run eslint as a standalone command to generate the test report.
- ... |
<!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Tw... | https://api.github.com/repos/streamlit/streamlit/pulls/5428 | 2022-09-27T10:47:24Z | 2022-09-28T22:25:50Z | 2022-09-28T22:25:50Z | 2023-11-02T00:04:19Z | 170 | streamlit/streamlit | 22,332 |
allow server replay functionality to run on a different port | diff --git a/mitmproxy/addons/serverplayback.py b/mitmproxy/addons/serverplayback.py
index 51ba60b4a5..0818696f8b 100644
--- a/mitmproxy/addons/serverplayback.py
+++ b/mitmproxy/addons/serverplayback.py
@@ -68,6 +68,13 @@ def load(self, loader):
to replay.
"""
)
+ loader.add_op... | This PR takes the non-controversial changes from #3086. | https://api.github.com/repos/mitmproxy/mitmproxy/pulls/3703 | 2019-11-15T15:16:10Z | 2019-11-15T16:13:01Z | 2019-11-15T16:13:01Z | 2019-11-15T16:13:05Z | 371 | mitmproxy/mitmproxy | 27,827 |
docs: improve documentation for installation of unstable version | diff --git a/docs/README.md b/docs/README.md
index b63752a9d6..f9013b7e75 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -250,36 +250,39 @@ $ pkg upgrade www/py-httpie
### Unstable version
-You can also install the latest unreleased development version directly from the `master` branch on GitHub.
-It is a wor... | https://api.github.com/repos/httpie/cli/pulls/1490 | 2023-03-23T12:18:49Z | 2023-05-09T09:23:29Z | 2023-05-09T09:23:29Z | 2023-05-11T09:43:58Z | 538 | httpie/cli | 33,955 | |
Update requirements.txt `albumentations>=1.0.2` | diff --git a/requirements.txt b/requirements.txt
index ef1736a12d5..886d21ce804 100755
--- a/requirements.txt
+++ b/requirements.txt
@@ -27,5 +27,5 @@ pandas
# extras --------------------------------------
# Cython # for pycocotools https://github.com/cocodataset/cocoapi/issues/172
# pycocotools>=2.0 # COCO mAP
-#... |
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Enhanced image augmentation requirements for YOLOv5.
### 📊 Key Changes
- Updated the version requirement for `albumentations` from `>=1.0.0` to `>=1.0.2`.
### 🎯 Purpose & Impact
- **Purpose**... | https://api.github.com/repos/ultralytics/yolov5/pulls/3972 | 2021-07-11T17:07:35Z | 2021-07-11T17:07:42Z | 2021-07-11T17:07:42Z | 2024-01-19T17:01:46Z | 134 | ultralytics/yolov5 | 25,588 |
Officially support using pathlib.Path for static_folder. | diff --git a/CHANGES.rst b/CHANGES.rst
index 424fe8769e..c0209cde2f 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -29,6 +29,15 @@ Unreleased
argument can be passed. :issue:`3553`
+Version 1.1.x
+-------------
+
+Not yet released.
+
+- Officially support passing a :class:`pathlib.Path` for
+ ``static_folde... | * No longer causes `AttributeError: 'PosixPath' object has no attribute 'rstrip'`.
* This was broken by e6178fe489b7828acc2bb8fd4b56a70b11ab6c6a which was released in 1.1.2.
* Add a regression test that now passes.
See #3557.
(That issue was repurposed for migrating to pathlib internally, which this PR does... | https://api.github.com/repos/pallets/flask/pulls/3579 | 2020-04-20T19:20:59Z | 2020-07-06T17:45:04Z | 2020-07-06T17:45:04Z | 2020-11-14T01:21:37Z | 463 | pallets/flask | 20,121 |
img2img batch PNG info model hash | diff --git a/modules/img2img.py b/modules/img2img.py
index 1519e132b2b..c81c7ab9e8c 100644
--- a/modules/img2img.py
+++ b/modules/img2img.py
@@ -10,6 +10,7 @@
from modules.generation_parameters_copypaste import create_override_settings_dict, parse_generation_parameters
from modules.processing import Processed, Stabl... | ## Description
[[Feature Request]: Add the ability to use checkpoint metadata in Img2Img > Batch > PNG Info](https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/12757)
allow the use SD model hash from PNG info for `img2img batch` `Append png info to prompts`
## Screenshots/videos:
:
# FQDN
self.assertRaises(errors.ConfigurationError,
... | To test this fixes #3057 try
```
# ./certbot-auto certonly --standalone --email wkoszek@mycompany.com -d wkoszek_nc2.x.mycompany.com
```
To test this fixes #3056 try
```
# ./certbot-auto certonly --standalone --email wkoszek@mycompany.com -d ai
```
These no longer raise configuration errors.
To fix this I changed... | https://api.github.com/repos/certbot/certbot/pulls/3061 | 2016-05-24T20:06:53Z | 2016-06-18T02:17:09Z | 2016-06-18T02:17:09Z | 2016-10-06T01:21:36Z | 1,081 | certbot/certbot | 2,472 |
Update ddos.py | diff --git a/tools/ddos.py b/tools/ddos.py
index 2017c7d3..7cf37ea4 100644
--- a/tools/ddos.py
+++ b/tools/ddos.py
@@ -26,7 +26,7 @@ def run(self):
timer = input(" Enter Timer >> ")
os.system("cd ddos;")
subprocess.run([
- "sudo", "python3 ddos", method, url, socks_type5.4.1, threa... | solve issue #174 #175 | https://api.github.com/repos/Z4nzu/hackingtool/pulls/176 | 2022-01-12T03:44:18Z | 2022-06-12T19:35:58Z | 2022-06-12T19:35:58Z | 2022-06-12T19:35:58Z | 157 | Z4nzu/hackingtool | 9,918 |
add knowledge graph tutorial link | diff --git a/docs/end_to_end_tutorials/graphs.md b/docs/end_to_end_tutorials/graphs.md
index ce87989114ec0..acf49db9f42ba 100644
--- a/docs/end_to_end_tutorials/graphs.md
+++ b/docs/end_to_end_tutorials/graphs.md
@@ -1,10 +1,15 @@
-# Graphs
+# Knowledge Graphs
+
+LlamaIndex contains some fantastic guides for building w... | https://api.github.com/repos/run-llama/llama_index/pulls/7411 | 2023-08-26T08:11:21Z | 2023-08-26T08:25:58Z | 2023-08-26T08:25:58Z | 2023-08-26T08:25:59Z | 492 | run-llama/llama_index | 6,582 | |
Allow atomic transformation (sequence of wrapping) for vectorized environment | diff --git a/gym/vector/__init__.py b/gym/vector/__init__.py
index 89e35bf4473..764ea1978e7 100644
--- a/gym/vector/__init__.py
+++ b/gym/vector/__init__.py
@@ -1,10 +1,15 @@
+try:
+ from collections.abc import Iterable
+except ImportError:
+ Iterable = (tuple, list)
+
from gym.vector.async_vector_env import Asy... | Fix #1560 | https://api.github.com/repos/openai/gym/pulls/1573 | 2019-06-28T19:30:03Z | 2019-07-23T19:34:40Z | 2019-07-23T19:34:40Z | 2019-07-23T19:34:40Z | 493 | openai/gym | 5,601 |
Add --ignored Flag to Exclude Specific Files and Directories During Ingestion | diff --git a/.gitignore b/.gitignore
index bc7d21253..847a30db3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,6 @@
.venv
+.env
+venv
settings-me.yaml
diff --git a/Makefile b/Makefile
index a2e2d8d3c..67b76e40a 100644
--- a/Makefile
+++ b/Makefile
@@ -56,3 +56,20 @@ wipe:
setup:
poetry run python script... | This pull request introduces the `--ignored` flag to the ingestion script. The motivation for this change stems from encountering `UnicodeDecodeError` when the script processes Python-generated `__pycache__` folders and MacOS-specific `.DS_Store` files. These files are not relevant to our data processing and can cause ... | https://api.github.com/repos/zylon-ai/private-gpt/pulls/1432 | 2023-12-20T16:16:26Z | 2024-02-07T18:59:32Z | 2024-02-07T18:59:32Z | 2024-02-07T18:59:32Z | 1,056 | zylon-ai/private-gpt | 38,579 |
Feature/support chat glm for conditional generation | diff --git a/colossalai/shardformer/policies/chatglm.py b/colossalai/shardformer/policies/chatglm.py
index 934b99b83ea1..46aa3b52af8f 100644
--- a/colossalai/shardformer/policies/chatglm.py
+++ b/colossalai/shardformer/policies/chatglm.py
@@ -90,7 +90,31 @@ def module_policy(self) -> Dict[Union[str, nn.Module], ModuleP... | ## 📌 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/4297 | 2023-07-20T11:50:20Z | 2023-07-21T09:20:01Z | 2023-07-21T09:20:01Z | 2023-07-21T09:20:01Z | 2,545 | hpcaitech/ColossalAI | 11,154 |
Update colab readme | diff --git a/readme.md b/readme.md
index 8a91c3208..feb8e3626 100644
--- a/readme.md
+++ b/readme.md
@@ -121,7 +121,7 @@ See also the common problems and troubleshoots [here](troubleshoot.md).
In Colab, you can modify the last line to `!python entry_with_update.py --share` or `!python entry_with_update.py --preset a... | https://api.github.com/repos/lllyasviel/Fooocus/pulls/1416 | 2023-12-14T22:50:22Z | 2023-12-14T22:50:35Z | 2023-12-14T22:50:35Z | 2023-12-14T22:50:37Z | 230 | lllyasviel/Fooocus | 7,265 | |
chore: enhance .gitignore | diff --git a/.gitignore b/.gitignore
index 0dbf39f9f..58c0144c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,32 +1,241 @@
-# Ignore the .replit configuration file
-.replit
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
-# Ignore the .env file if you're using one to store sensitive inf... | ### Describe the changes you have made:
Enhanced the `.gitignore` file to catch more things that shouldn't be committed.
I mainly did this because `poetry config virtualenvs.in-project true` needs to be set for vscode debugging, which puts a `.venv` folder into the project root. Since `.venv` wasn't in `.gitignor... | https://api.github.com/repos/OpenInterpreter/open-interpreter/pulls/374 | 2023-09-15T04:47:14Z | 2023-09-15T04:47:22Z | 2023-09-15T04:47:22Z | 2023-09-15T04:47:23Z | 1,451 | OpenInterpreter/open-interpreter | 40,847 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.