content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Python
Python
fix documentation typo
18c8aef9d3e5c8247b36b786a20707a17284fa28
<ide><path>examples/run_classifier.py <ide> def _create_examples(self, lines, set_type): <ide> <ide> <ide> class QqpProcessor(DataProcessor): <del> """Processor for the STS-B data set (GLUE version).""" <add> """Processor for the QQP data set (GLUE version).""" <ide> <ide> def get_train_examples(self, data...
1
Python
Python
fix hddtemp not displayed in web ui
fe2383f1073e0ab2ea11b2f6cabd296f445bb57e
<ide><path>glances/webserver.py <ide> class GlancesWebServer(object): <ide> <ide> def __init__(self, config=None, args=None): <ide> # Init stats <del> self.stats = GlancesStats(config) <add> self.stats = GlancesStats(config, args) <ide> <ide> if not WINDOWS and args.no_kernel_threads...
1
Python
Python
update another initializer change
66efe4123224cbabaa65e4c866eee3896015f0a3
<ide><path>inception/inception/slim/variables.py <ide> <ide> biases = variables.variable('biases', <ide> shape=[100], <del> initializer=tf.zeros_initializer, <add> initializer=tf.zeros_initializer(), <ide> ...
1
Ruby
Ruby
remove nilclass whiners feature
d1abf29e796a86cbac315da217f3fe7addb88106
<ide><path>activerecord/lib/active_record/base.rb <ide> def populate_with_current_scope_attributes <ide> include AutosaveAssociation, NestedAttributes <ide> include Aggregations, Transactions, Reflection, Serialization, Store <ide> <del> NilClass.add_whiner(self) if NilClass.respond_to?(:add_whiner) <del> <...
3
Python
Python
remove duplicate calls to inputspec
3dcd9c767ce6875fc8b69c74971ac8a552e23131
<ide><path>keras/layers/convolutional.py <ide> def __init__(self, filters, <ide> kernel_constraint=kernel_constraint, <ide> bias_constraint=bias_constraint, <ide> **kwargs) <del> self.input_spec = InputSpec(ndim=3) <ide> <ide> def get_config(self): <ide> config = ...
1
Ruby
Ruby
add env.cppflags shortcut
9752fc93fd7aea9731dec80272810ab02e651cde
<ide><path>Library/Homebrew/extend/ENV.rb <ide> def ncurses_define <ide> def cc; self['CC'] or "gcc"; end <ide> def cxx; self['CXX'] or "g++"; end <ide> def cflags; self['CFLAGS']; end <add> def cppflags;self['CPPLAGS']; end <ide> def ldflags; self['LDFLAGS']; end <ide> <ide> def ...
1
Javascript
Javascript
publish tarballs to s3 for channel builds
eccb77d292980dd71ee02631d66b00a342c66588
<ide><path>config/s3ProjectConfig.js <add>'use strict'; <add> <add>const semver = require('semver'); <add> <ide> function fileMap(revision, tag, date) { <del> return { <add> let filesToPublish = { <ide> "ember.debug.js": fileObject("ember.debug", ".js", "text/javascript", revision, tag,...
1
Javascript
Javascript
apply the review comment
f5417fac65c89ee5ef52ebbea21e38dbbc782fe0
<ide><path>examples/js/loaders/GLTFLoader.js <ide> THREE.GLTFLoader = ( function () { <ide> * @param {THREE.Mesh} mesh <ide> * @param {GLTF.Mesh} meshDef <ide> * @param {GLTF.Primitive} primitiveDef <del> * @param {Array} accessors <add> * @param {Array<THREE.BufferAttribute>} accessors <ide> */ <ide> functi...
1
Javascript
Javascript
remove path resolution from internal forks plugin
274b9fb168eae1b3e5b83db657eb964d365fc45a
<ide><path>scripts/rollup/forks.js <ide> const __EXPERIMENTAL__ = <ide> <ide> // If you need to replace a file with another file for a specific environment, <ide> // add it to this list with the logic for choosing the right replacement. <add> <add>// Fork paths are relative to the project root. They must include the f...
2
Python
Python
fix python2.5 dependency in lookfor
55f467b6e64949eef5c614501df34a5e9af70b38
<ide><path>numpy/lib/utils.py <ide> import os <ide> import sys <del>import pkgutil <ide> import types <ide> import re <ide> <ide> def _lookfor_generate_cache(module, import_modules, regenerate): <ide> _all = item.__all__ <ide> except AttributeError: <ide> _all = None <add> <...
1
Ruby
Ruby
retry the download on a failure
2d91613d06ae3f1a8fa84f087d9f6e3a6ff89e31
<ide><path>Library/Homebrew/cmd/fetch.rb <ide> def retry_fetch? f <ide> return false <ide> end <ide> <add> ohai "Retrying download" <add> <ide> f.clear_cache <ide> @fetch_failed[f.name] = true <ide> true <ide> def fetch_fetchable f <ide> f.clear_cache if ARGV.force? <ide> <ide> alread...
1
PHP
PHP
fix secure cookie issue
232bf01ae2f26e560e629b8cc56527efe84ec557
<ide><path>laravel/cookie.php <ide> public static function put($name, $value, $expiration = 0, $path = '/', $domain <ide> $expiration = time() + ($expiration * 60); <ide> } <ide> <add> // If the secure option is set to true, yet the request is not over HTTPS <add> // we'll throw an exception to let the develope...
1
Javascript
Javascript
fix typo in plugin 'destroy'
58563fddf9eb719f8a6ffc604048a068b305f8a8
<ide><path>src/core/core.controller.js <ide> module.exports = function(Chart) { <ide> canvas.style.width = this.chart.originalCanvasStyleWidth; <ide> canvas.style.height = this.chart.originalCanvasStyleHeight; <ide> <del> Chart.pluginService.notifyPlugins('destory', [this]); <add> Chart.pluginService.notifyP...
2
PHP
PHP
populate defaultconfig in all cache adapters
fdde2bc9533a372b769893fa81a9011cdf626399
<ide><path>Cake/Cache/Cache.php <ide> * This engine is recommended to people deploying on windows with IIS. <ide> * - `RedisEngine` - Uses redis and php-redis extension to store cache data. <ide> * <del> * The following keys are used in core cache engines: <del> * <del> * - `duration` Specify how long items in thi...
7
PHP
PHP
replace deprecated method
fc6d4d2ca49f0475dc1a737458d29a3eee70a2bf
<ide><path>src/View/Form/FormContext.php <ide> protected function _schemaDefault($field) <ide> */ <ide> public function isRequired($field) <ide> { <del> $validator = $this->_form->validator(); <add> $validator = $this->_form->getValidator(); <ide> if (!$validator->hasField($field)) { ...
2
Text
Text
change wording of issue template
bd973ab0fcd2c806437cdb1b13848374fbeab7cf
<ide><path>.github/issue_template.md <ide> <ide> <!-- <ide> IMPORTANT <del>> If you have a question about Next.js you should ask your question on Spectrum https://spectrum.chat/next-js <del>> or join our Slack community at https://zeit.chat and ask in the `#next` channel <add>If you have a question about Next.js pleas...
1
Mixed
Python
remove bit of deprecated code
edbec2dbc93cbfc020a6bf8a99cccfd7e67d5096
<ide><path>docs/templates/preprocessing/image.md <ide> Generate batches of tensor image data with real-time data augmentation. The data <ide> - __dim_ordering__: One of {"th", "tf"}. <ide> "tf" mode means that the images should have shape `(samples, width, height, channels)`, <ide> "th" mode means t...
2
Python
Python
ignore warning raised during testing
fc1506199914b4fcdd2dfb930d9ddc0ee2ee9569
<ide><path>numpy/ma/tests/test_core.py <ide> __date__ = '$Date: 2007-10-29 17:18:13 +0200 (Mon, 29 Oct 2007) $' <ide> <ide> import types <add>import warnings <ide> <ide> import numpy <ide> import numpy.core.fromnumeric as fromnumeric <ide> def check_topython(self): <ide> assert_equal(1, int(array([[[1]]]...
1
Text
Text
add timeout description
76c96da4878a8b4ca6f5c9628448fa04401a32ec
<ide><path>docs/project/test-and-docs.md <ide> Run the entire test suite on your current repository: <ide> * cross-compiles all the binaries for the various operating systems <ide> * runs all the tests in the system <ide> <del> It can take several minutes to run all the tests. When they complete <add> It...
1
Python
Python
add support for xlm-roberta to run_ner script
71b47505175111dd391a5b9de9514fbe50558bf0
<ide><path>examples/run_ner.py <ide> from transformers import RobertaConfig, RobertaForTokenClassification, RobertaTokenizer <ide> from transformers import DistilBertConfig, DistilBertForTokenClassification, DistilBertTokenizer <ide> from transformers import CamembertConfig, CamembertForTokenClassification, CamembertTo...
1
PHP
PHP
fix deprecation use in components
031d991f856bd1935a8505424462c1bbfb8bd945
<ide><path>tests/TestCase/Controller/Component/AuthComponentTest.php <ide> public function testAuthorizeFalse() <ide> $Users = TableRegistry::get('Users'); <ide> $user = $Users->find('all')->hydrate(false)->first(); <ide> $this->Controller->Auth->storage()->write($user); <del> $this->Cont...
6
Go
Go
honor the restarting state in stop
c4a00d549d0b895bb990491cbdf58aabe2891842
<ide><path>daemon/container.go <ide> func (container *Container) KillSig(sig int) error { <ide> // after we send the kill signal <ide> container.monitor.ExitOnNext() <ide> <add> // if the container is currently restarting we do not need to send the signal <add> // to the process. Telling the monitor that it should ...
3
PHP
PHP
add types to folder
73cfe4669f8b7d9ce72faf404113f06242589e2b
<ide><path>src/Filesystem/Folder.php <ide> class Folder <ide> * <ide> * @param string|null $path Path to folder <ide> * @param bool $create Create folder if not found <del> * @param int|false $mode Mode (CHMOD) to apply to created folder, false to ignore <add> * @param int|null $mode Mode (CHMOD)...
2
Javascript
Javascript
remove unneeded jshint directives
43f72066e107445204aee074d7b4f184e9c05d9e
<ide><path>src/auto/injector.js <ide> function createInjector(modulesToLoad, strictDi) { <ide> return fn.apply(self, args); <ide> } else { <ide> args.unshift(null); <del> /*jshint -W058 */ // Applying a constructor without immediate parentheses is the point here. <del> return new (Fu...
1
Javascript
Javascript
remove var in reactandroid/src/androidtest
9d132339f781e0234edf744e6be71389046d9bc3
<ide><path>ReactAndroid/src/androidTest/js/TestJSToJavaParametersModule.js <ide> <ide> 'use strict'; <ide> <del>var BatchedBridge = require('BatchedBridge'); <del>var Recording = require('NativeModules').Recording; <add>const BatchedBridge = require('BatchedBridge'); <add>const Recording = require('NativeModules').Re...
5
Text
Text
remove double "using" in reference attach docs
0884dca124beac751964256234b3b3d4e402b21a
<ide><path>docs/reference/commandline/attach.md <ide> detached process. <ide> To stop a container, use `CTRL-c`. This key sequence sends `SIGKILL` to the <ide> container. If `--sig-proxy` is true (the default),`CTRL-c` sends a `SIGINT` to <ide> the container. You can detach from a container and leave it running using ...
1
Javascript
Javascript
fix randomize button
3477764db0f074437bee27132d23d367deb4c6ef
<ide><path>examples/box/box.js <ide> var w = 120, <ide> h = 500, <ide> m = [10, 50, 20, 50], // top right bottom left <del> max = 50; <add> min = Number.MAX_VALUE, <add> max = Number.MIN_VALUE; <ide> <ide> var chart = d3.chart.box() <ide> .width(w - m[1] - m[3]) <ide> .height(h - m[0] - m[2]);...
1
Python
Python
add algorithm to check binary search tree
3e1cb70abf9997af3a4903f77cb3506a301de893
<ide><path>data_structures/binary_tree/is_bst.py <add>""" <add>Author : Alexander Pantyukhin <add>Date : November 2, 2022 <add> <add>Task: <add>Given the root of a binary tree, determine if it is a valid binary search <add>tree (BST). <add> <add>A valid binary search tree is defined as follows: <add> <add>- The lef...
1
Text
Text
update minimum g++ version to 4.9.4
d13a65ad68c429884434cdcd94c52b79a6d69717
<ide><path>BUILDING.md <ide> Depending on host platform, the selection of toolchains may vary. <ide> <ide> #### Unix <ide> <del>* GCC 4.8.5 or newer <add>* GCC 4.9.4 or newer <ide> * Clang 3.4.2 or newer <ide> <ide> #### Windows <ide> Depending on host platform, the selection of toolchains may vary. <ide> <ide> Pre...
1
Javascript
Javascript
convert `pdflinkservice` to an es6 class
8ba80729373629420d17fcf7b25156824b659502
<ide><path>web/interfaces.js <ide> class IPDFLinkService { <ide> */ <ide> executeNamedAction(action) {} <ide> <add> /** <add> * @param {Object} params <add> */ <add> onFileAttachmentAnnotation({ id, filename, content, }) {} <add> <ide> /** <ide> * @param {number} pageNum - page number. <ide> * @para...
2
Go
Go
adjust test sleep timing to avoid spurious failure
81c334fa56eab0f9e85c9f6745efa34bbb1b444b
<ide><path>pkg/integration/utils.go <ide> func RandomTmpDirPath(s string, platform string) string { <ide> return filepath.ToSlash(path) // Using / <ide> } <ide> <del>// ConsumeWithSpeed reads chunkSize bytes from reader after every interval. <del>// Returns total read bytes. <add>// ConsumeWithSpeed reads chunkSize b...
2
Javascript
Javascript
move the `getfilename` helper function to the core
0351c7eff49ba2357575a5bf1084059c98bb91a8
<ide><path>extensions/b2g/viewer.js <ide> var PDFViewerApplication = { <ide> <ide> setTitleUsingUrl: function pdfViewSetTitleUsingUrl(url) { <ide> this.url = url; <del> var title = PDFJS.getFileName(url) || url; <add> var title = PDFJS.getFilenameFromUrl(url) || url; <ide> try { <ide> title = dec...
8
Javascript
Javascript
update norwegian locale
d536c4d863b9317418f105ede75ce5fbc73544fb
<ide><path>locale/nb.js <ide> }, <ide> relativeTime : { <ide> future : 'om %s', <del> past : 'for %s siden', <add> past : '%s siden', <ide> s : 'noen sekunder', <ide> m : 'ett minutt', <ide> mm : '%d minutter', <ide> <ide> return...
1
Javascript
Javascript
split fresh packs by time
3270275ffeada636769a48fac8c079f7e78993de
<ide><path>lib/cache/PackFileCacheStrategy.js <ide> makeSerializable( <ide> <ide> const MIN_CONTENT_SIZE = 1024 * 1024; // 1 MB <ide> const CONTENT_COUNT_TO_MERGE = 10; <add>const MIN_ITEMS_IN_FRESH_PACK = 100; <ide> const MAX_ITEMS_IN_FRESH_PACK = 50000; <add>const MAX_TIME_IN_FRESH_PACK = 1 * 60 * 1000; // 1 min <id...
3
Python
Python
remove extraenous whitespace (pep8)
e7a8a02ba5d480616929145e003c01d836b7874b
<ide><path>celery/models.py <ide> class PeriodicTaskMeta(models.Model): <ide> """Information about a Periodic Task.""" <ide> name = models.CharField(_(u"name"), max_length=255, unique=True) <ide> last_run_at = models.DateTimeField(_(u"last time run"), <del> blank=True, ...
1
Text
Text
remove vagrant references from contributing.md
149af8a3f37e1f21929f1365525f1508fb9cf022
<ide><path>CONTRIBUTING.md <ide> npm install <ide> rake <ide> ``` <ide> <del>For those having issues with some of the build tool dependencies, an optional VagrantFile is provided. <del> <del>Using Vagrant to build latest version of Ember.js is quite simple. Just <del>follow these 4 steps: <del> <del>1. Install Virtual...
1
Javascript
Javascript
fix flaky test-crypto-classes.js
3e4f34cdb95bd05f84393ed8c0d3559edc90eb8f
<ide><path>test/parallel/test-crypto-classes.js <ide> const TEST_CASES = { <ide> if (!common.hasFipsCrypto) { <ide> TEST_CASES.Cipher = ['aes192', 'secret']; <ide> TEST_CASES.Decipher = ['aes192', 'secret']; <add> TEST_CASES.DiffieHellman = [256]; <ide> } <ide> <ide> for (const [clazz, args] of Object.entries(TES...
1
Javascript
Javascript
remove context usage in progressplugin
15997e2324465c884f883267186e5d89d450c5c4
<ide><path>lib/ProgressPlugin.js <ide> const schema = require("../schemas/plugins/ProgressPlugin.json"); <ide> <ide> /** @typedef {import("../declarations/plugins/ProgressPlugin").ProgressPluginArgument} ProgressPluginArgument */ <ide> /** @typedef {import("../declarations/plugins/ProgressPlugin").ProgressPluginOption...
3
PHP
PHP
fix docblock and typehint for getcontrollerclass()
88ee2803f40757448e76ceb25e96ba8fb2754c44
<ide><path>src/Http/ControllerFactory.php <ide> public function create(ServerRequest $request, Response $response) <ide> * Determine the controller class name based on current request and controller param <ide> * <ide> * @param \Cake\Http\ServerRequest $request The request to build a controller for. <del...
1
Text
Text
release notes for 3.0.3
42f1932b520a90ae6f8e11246a0992e5f8983bd7
<ide><path>docs/topics/release-notes.md <ide> You can determine your currently installed version using `pip freeze`: <ide> <ide> ## 3.0.x series <ide> <add> <add>### 3.0.3 <add> <add>**Date**: [8th January 2015][3.0.3-milestone]. <add> <add>* Fix `MinValueValidator` on `models.DateField`. ([#2369][gh2369]) <add>* Fix...
1
PHP
PHP
add configuration for security debug in formhelper
73cd942326e117bb28cb47545eda6b2233221644
<ide><path>src/View/Helper/FormHelper.php <ide> protected function _csrfField() <ide> public function end(array $secureAttributes = []) <ide> { <ide> $out = ''; <add> <ide> if ($this->requestType !== 'get' && <ide> !empty($this->request['_Token']) <ide> ) { <ide> public funct...
1
PHP
PHP
fix failing test caused by addition of testshell
7b9acc5c1693c8db2a1d542b3bbda021f2593d70
<ide><path>lib/Cake/Test/Case/Console/Command/CommandListShellTest.php <ide> public function testSortPlugin() { <ide> $expected = "/\[.*TestPlugin.*\]\\v*[ ]+example/"; <ide> $this->assertPattern($expected, $output); <ide> <del> $expected = "/\[.*Core.*\]\\v*[ ]+acl, api, bake, command_list, console, i18n, schema...
1
PHP
PHP
add assertsentcount method and test
3343c3361864c212caa555cc972409deccc91230
<ide><path>src/Illuminate/Http/Client/Factory.php <ide> public function assertNothingSent() <ide> ); <ide> } <ide> <add> /** <add> * Assert how many requests have been recorded. <add> * <add> * @param $count <add> * @return void <add> */ <add> public function assertSentCount($coun...
2
PHP
PHP
switch usage to hash where possible
19e0d8d946eaa544652fd46a04b872c9637c1634
<ide><path>lib/Cake/Configure/IniReader.php <ide> protected function _parseNestedValues($values) { <ide> $value = false; <ide> } <ide> if (strpos($key, '.') !== false) { <del> $values = Set::insert($values, $key, $value); <add> $values = Hash::insert($values, $key, $value); <ide> } else { <ide> $...
43
PHP
PHP
remove dev garbage
b6783597d24a701cc83dcf8f89e9911fff7889f6
<ide><path>tests/TestCase/ORM/TableTest.php <ide> use Cake\ORM\Association\BelongsToMany; <ide> use Cake\ORM\Association\HasMany; <ide> use Cake\ORM\Association\HasOne; <del>use Cake\ORM\BehaviorRegistry; <ide> use Cake\ORM\Entity; <ide> use Cake\ORM\Query; <ide> use Cake\ORM\RulesChecker;
1
Text
Text
add pypi version badge
03310cc33ae800a36f17a421c8114e0e6616ccb6
<ide><path>README.md <ide> # Django REST framework <ide> <ide> [![build-status-image]][travis] <add>[![pypi-version]][pypi] <ide> <ide> **Awesome web-browseable Web APIs.** <ide> <ide> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <ide> <ide> [build-status-image]: https://secure.travis-ci.org...
1
Go
Go
print a warning if dm is using a loopback file
a2c4c0cd3a2e5b58b36718290cb7c31f99f6495e
<ide><path>api/client/info.go <ide> func (cli *DockerCli) CmdInfo(args ...string) error { <ide> if info.DriverStatus != nil { <ide> for _, pair := range info.DriverStatus { <ide> fmt.Fprintf(cli.out, " %s: %s\n", pair[0], pair[1]) <add> <add> // print a warning if devicemapper is using a loopback file <add> i...
1
Ruby
Ruby
add missing hash, eql?, == to various node classes
6d225a9870aea1fa25ab71774206d08d5b216355
<ide><path>lib/arel/nodes/bind_param.rb <ide> def initialize(value) <ide> super() <ide> end <ide> <del> def ==(other) <add> def hash <add> [self.class, self.value].hash <add> end <add> <add> def eql?(other) <ide> other.is_a?(BindParam) && <ide> value == other....
8
Javascript
Javascript
fix slight documentation typo
a816a017861473d6f19223a2d311f7fe25cc12d8
<ide><path>packages/ember-routing/lib/system/route.js <ide> Ember.Route = Ember.Object.extend(Ember.ActionHandler, { <ide> /** <ide> The name of the view to use by default when rendering this routes template. <ide> <del> When a rendering a template, the route will, by default, determine the <add> When rend...
1
Go
Go
add leaveall support
1ac72c85cb86ac8bc1948c0f9258aa272c412cd2
<ide><path>libnetwork/controller.go <ide> type NetworkController interface { <ide> // NetworkByID returns the Network which has the passed id. If not found, the error ErrNoSuchNetwork is returned. <ide> NetworkByID(id string) (Network, error) <ide> <add> // LeaveAll accepts a container id and attempts to leave all e...
7
PHP
PHP
improve char coverage
b742179af9124cadd8eca3000eca0b5b50ed256f
<ide><path>src/Illuminate/Support/Str.php <ide> protected static function charsArray() <ide> } <ide> <ide> return $charsArray = [ <del> 'a' => ['à', 'á', 'ả', 'ã', 'ạ', 'ă', 'ắ', 'ằ', 'ẳ', 'ẵ', 'ặ', 'â', 'ấ', 'ầ', 'ẩ', 'ẫ', 'ậ', 'ā', 'ą', 'å', 'α', 'ά', 'ἀ', 'ἁ', 'ἂ', 'ἃ', 'ἄ', 'ἅ', 'ἆ', ...
1
Text
Text
move glen keane to collaborator emeritus
e57fbab9178f4e82f3cc31ce5f2b51964137d98b
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Michaël Zasso** &lt;targos@protonmail.com&gt; (he/him) <ide> * [thefourtheye](https://github.com/thefourtheye) - <ide> **Sakthipriyan Vairamani** &lt;thechargingvolcano@gmail.com&gt; (he/him) <del>* [thekemkid](https://g...
1
Ruby
Ruby
move legacy cache and caskroom code to `compat/*`
76e65ca070c0142f05ba2fcaf05fb6931c929547
<ide><path>Library/Homebrew/cask/lib/hbc.rb <ide> module Hbc <ide> <ide> def self.init <ide> Cache.ensure_cache_exists <del> Cache.delete_legacy_cache <del> <del> Caskroom.migrate_caskroom_from_repo_to_prefix <ide> Caskroom.ensure_caskroom_exists <ide> end <ide> <ide><path>Library/Homebrew/cask/lib/...
6
Javascript
Javascript
handle multiple errors in boundaries
d8441cd725bcc3bc4f5be7d21be0f3788fde9590
<ide><path>src/renderers/dom/fiber/ReactDOMFiber.js <ide> var ReactDOM = { <ide> render(element : ReactElement<any>, container : DOMContainerElement, callback: ?Function) { <ide> warnAboutUnstableUse(); <ide> let root; <add> <ide> if (!container._reactRootContainer) { <ide> root = container._reactRo...
2
Text
Text
add record type to summary
ea55c7a319523528916f5b8ff1038bf9320d5fd8
<ide><path>README.md <ide> Immutable data cannot be changed once created, leading to much simpler <ide> application development, no defensive copying, and enabling advanced memoization <ide> techniques. <ide> <del>`Immutable` provides `List`, `Stack`, `Map`, <del>`OrderedMap`, and `Set` by using persistent [hash maps ...
1
Text
Text
add v3.28.7 to changelog
afceac756c098b270719da08faa169fdc1b6b3f3
<ide><path>CHANGELOG.md <ide> - [#19542](https://github.com/emberjs/ember.js/pull/19542) [BUGFIX] Fix initializer test blueprints <ide> - [#19589](https://github.com/emberjs/ember.js/pull/19589) [BUGFIX] Don’t include type-tests in build output <ide> <add>## v3.28.7 (December 1, 2021) <add> <add>- [#19854](https://git...
1
Javascript
Javascript
initialize inputbuf to zero
946c4e2a887eaadb920d90f29ec2e181dfe55bb8
<ide><path>pdf.js <ide> var CCITTFaxStream = (function() { <ide> this.row = 0; <ide> this.nextLine2D = this.encoding < 0; <ide> this.inputBits = 0; <del> this.inputBuf = EOF; <add> this.inputBuf = 0; <ide> this.outputBits = 0; <ide> this.buf = EOF; <ide> <ide> var PDFDoc = (function() { <ide>...
1
Python
Python
add uuid as a dependency if python <= 2.4
45f98c88a7dc30056b7e4b25432e4dbbe1005fd2
<ide><path>setup.py <ide> def run(self): <ide> py_major_version = py_version_info[0] <ide> py_minor_version = py_version_info[1] <ide> <del>if (py_major_version == 2 and py_minor_version <=5) or py_major_version < 2: <add>if (py_major_version == 2 and py_minor_version <=5): <ide> install_requires.append("multiproc...
1
PHP
PHP
use phpdotenv methods instead of getenv/putenv
c7c85b1ad6ffab9f21f8931b7acf2d1b2b891679
<ide><path>src/Illuminate/Foundation/Bootstrap/DetectEnvironment.php <ide> public function bootstrap(Application $app) <ide> { <ide> try <ide> { <add> Dotenv::makeMutable(); <add> <ide> Dotenv::load($app['path.base'], $app->environmentFile()); <ide> } <ide> catch (InvalidArgumentException $e) <ide><path>s...
3
Python
Python
set version to v3.0.0.dev9
e14bf9decb3a278fc03c2f3f743c64f18cacc5f7
<ide><path>spacy/about.py <ide> # fmt: off <ide> __title__ = "spacy" <del>__version__ = "3.0.0.dev9" <add>__version__ = "3.0.0.dev10" <ide> __release__ = True <ide> __download_url__ = "https://github.com/explosion/spacy-models/releases/download" <ide> __compatibility__ = "https://raw.githubusercontent.com/explosion/spa...
1
Text
Text
add opera to browser list
2580bde8acc18f9589a188c261dccc1b02d2e275
<ide><path>.github/ISSUE_TEMPLATE.md <ide> https://plnkr.co or similar (you can use this template as a starting point: http <ide> <!-- Check whether this is still an issue in the most recent stable or in the snapshot AngularJS <ide> version (https://code.angularjs.org/snapshot/) --> <ide> <del>**Browser:** [all | Chro...
1
Go
Go
move implicit pull test to use local registry
641c1808e187ed86d8b614e49e8e6da5146201e3
<ide><path>integration-cli/docker_cli_pull_local_test.go <ide> func (s *DockerRegistryAuthHtpasswdSuite) TestPullWithExternalAuth(c *check.C) { <ide> <ide> dockerCmd(c, "--config", tmp, "pull", repoName) <ide> } <add> <add>// TestRunImplicitPullWithNoTag should pull implicitely only the default tag (latest) <add>func...
2
Python
Python
add regularization and constraints to layers
6cde6df7a5eefec715ed95bf28cee5a53a25035a
<ide><path>keras/layers/core.py <ide> from six.moves import zip <ide> srng = RandomStreams() <ide> <add>def l1(lam): <add> def l1wrap(g,p): <add> g += T.sgn(p) * lam <add> return g <add> return l1wrap <add> <add>def l2(lam): <add> def l2wrap(g,p): <add> g += p * lam <add> return g ...
3
Ruby
Ruby
improve i18n reloader to only reload once
90bff9c3f52113515a80d732b43786bda0311749
<ide><path>activesupport/lib/active_support/i18n_railtie.rb <ide> def self.initialize_i18n(app) <ide> reloader = app.config.file_watcher.new(I18n.load_path.dup, directories) do <ide> I18n.load_path.keep_if { |p| File.exist?(p) } <ide> I18n.load_path |= reloadable_paths.flat_map(&:existent) <del> <...
1
Javascript
Javascript
remove unnecessary commented code
28c2330665750134979144dba6d956b441cb7f02
<ide><path>test/unit/effects.js <ide> jQuery.each({ <ide> elem = elem[ 0 ]; <ide> <ide> if ( t_w == "show" ) { <del> // equals( elem.style.display, "block", "Showing, display should block: " + elem.style.display); <del> // } <del> <del> // if ( t_w == "hide"||t_w == "show" ) { <del> // ok(f_w ===...
1
Javascript
Javascript
fix warnings in uiexplorer example pages
528cf68fa0794614c28f3194daa69d645753204d
<ide><path>Examples/UIExplorer/UIExplorerBlock.js <ide> */ <ide> 'use strict'; <ide> <del>var React = require('react-native'); <add>var React = require('react'); <add>var ReactNative = require('react-native'); <ide> var { <ide> StyleSheet, <ide> Text, <ide> View, <del>} = React; <add>} = ReactNative; <ide> <id...
4
Python
Python
fix tests for changes to inflection structure
113d53ab6c7ec902a002d8508a28c8aba3faf7a0
<ide><path>spacy/tests/lang/ja/test_tokenizer.py <ide> def test_ja_tokenizer_sub_tokens( <ide> [ <ide> ( <ide> "取ってつけた", <del> ("五段-ラ行,連用形-促音便", "", "下一段-カ行,連用形-一般", "助動詞-タ,終止形-一般"), <add> ("五段-ラ行;連用形-促音便", "", "下一段-カ行;連用形-一般", "助動詞-タ;終止形-一般"), <ide> ("トッ", "テ",...
1
Go
Go
mark some test-helpers as helpers
060e55d7dd8e304631dd2a3c0ab2d571b0054bd3
<ide><path>integration-cli/check_test.go <ide> func (s *DockerSwarmSuite) SetUpTest(c *testing.T) { <ide> } <ide> <ide> func (s *DockerSwarmSuite) AddDaemon(c *testing.T, joinSwarm, manager bool) *daemon.Daemon { <add> c.Helper() <ide> d := daemon.New(c, dockerBinary, dockerdBinary, <ide> testdaemon.WithEnvironment...
2
Ruby
Ruby
clarify behavior of json_escape, update examples
7ce68406934c50a2ce3079bea4fd34936388c26a
<ide><path>activesupport/lib/active_support/core_ext/string/output_safety.rb <ide> def html_escape_once(s) <ide> # them inside a script tag to avoid XSS vulnerability: <ide> # <ide> # <script> <del> # var currentUser = <%= json_escape current_user.to_json %>; <add> # var currentUser = <%= ra...
1
Javascript
Javascript
prevent viewer from zooming on cmd+mousewheel
34d3b96b52fe95531b0a4ff14659edabcc6ba9ee
<ide><path>web/viewer.js <ide> function handleMouseWheel(evt) { <ide> if (PresentationMode.active) { <ide> evt.preventDefault(); <ide> PDFViewerApplication.mouseScroll(ticks * MOUSE_WHEEL_DELTA_FACTOR); <del> } else if (evt.ctrlKey) { // Only zoom the pages, not the entire viewer <add> } else if (evt.ctrlKe...
1
Javascript
Javascript
add two chars to numbertoidentifier
6ef9ea8f2778ff6f0209b62424aafc5a317a2ead
<ide><path>lib/Template.js <ide> const { compareIds } = require("./util/comparators"); <ide> const START_LOWERCASE_ALPHABET_CODE = "a".charCodeAt(0); <ide> const START_UPPERCASE_ALPHABET_CODE = "A".charCodeAt(0); <ide> const DELTA_A_TO_Z = "z".charCodeAt(0) - START_LOWERCASE_ALPHABET_CODE + 1; <add>const NUMBER_OF_IDEN...
2
Ruby
Ruby
fix typo s/with/without/
8e1b28ad7f33128c8cbea955088950c41ab7c3be
<ide><path>activerecord/test/cases/adapters/postgresql/prepared_statements_test.rb <ide> class PreparedStatementsTest < ActiveRecord::PostgreSQLTestCase <ide> fixtures :developers <ide> <ide> def setup <del> @conn = ActiveRecord::Base.establish_connection :arunit_with_prepared_statements <add> @conn = Active...
2
Ruby
Ruby
add helper methods to token class
f2112d67618fdff48dc6bba410c08e337f81774b
<ide><path>Library/Homebrew/version.rb <ide> def inspect <ide> "#<#{self.class.name} #{value.inspect}>" <ide> end <ide> <add> def hash <add> value.hash <add> end <add> <add> def to_f <add> value.to_f <add> end <add> <add> def to_i <add> value.to_i <add> end <add> <ide> de...
1
Javascript
Javascript
fuuuu our require() sux
bbc4779f4d61c7fce2f9e14e0155ff0cdb3d749d
<ide><path>vendor/underscore.js <ide> // Export the Underscore object for **Node.js** and **"CommonJS"**, with <ide> // backwards-compatibility for the old `require()` API. If we're not in <ide> // CommonJS, add `_` to the global object. <del> if (typeof exports !== 'undefined') { <del> if (typeof module !== ...
1
Javascript
Javascript
use commands to send focus and blur to textinput
7a8e10dac83b6a43e4cea7e92df0dcfbcf3ad3ac
<ide><path>Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js <add>/** <add> * Copyright (c) Facebook, Inc. and its affiliates. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in the root directory of this source tree. <add> * <add> * @flow strict...
3
Python
Python
fix reference to xlnet
fcdb85e9d2da979d368ed5b8f7350cfe9b6a7d69
<ide><path>src/transformers/training_args.py <ide> class TrainingArguments: <ide> Number of subprocesses to use for data loading (PyTorch only). 0 means that the data will be loaded in the <ide> main process. <ide> past_index (:obj:`int`, `optional`, defaults to -1): <del> Som...
1
PHP
PHP
remove extra line
3e2cd1dd40668c4e35ed5358e1f4dc4ffcf8ce99
<ide><path>src/Illuminate/Cache/CacheManager.php <ide> <?php namespace Illuminate\Cache; <ide> <del> <ide> use Closure; <ide> use Illuminate\Support\Manager; <ide>
1
Go
Go
use correct platform matcher for containerd
fcc42d56828f5a1f0068247cdcefc25c47965885
<ide><path>distribution/pull_v2_unix.go <ide> package distribution // import "github.com/docker/docker/distribution" <ide> <ide> import ( <ide> "context" <add> "sort" <ide> <ide> "github.com/containerd/containerd/platforms" <ide> "github.com/docker/distribution" <ide> func (ld *v2LayerDescriptor) open(ctx context....
1
Text
Text
fix mixin class name in viewsets docs example
77dd334026cb2f8a45b817c4577f5d5ea6a2671a
<ide><path>docs/api-guide/viewsets.md <ide> You may need to provide custom `ViewSet` classes that do not have the full set o <ide> <ide> To create a base viewset class that provides `create`, `list` and `retrieve` operations, inherit from `GenericViewSet`, and mixin the required actions: <ide> <del> class CreateLi...
1
Go
Go
add two configurable options to awslogs driver
512ac778bfe9743848c71318c9e6785a78307155
<ide><path>daemon/logger/awslogs/cloudwatchlogs.go <ide> const ( <ide> datetimeFormatKey = "awslogs-datetime-format" <ide> multilinePatternKey = "awslogs-multiline-pattern" <ide> credentialsEndpointKey = "awslogs-credentials-endpoint" <del> batchPublishFrequency = 5 * time.Second <add> forceFlushIntervalKey...
2
Go
Go
add more native driver options
83618c2b81c561cd77fd70eca90b2b251f61fcc1
<ide><path>runtime/execdriver/native/configuration/parse.go <ide> import ( <ide> "github.com/dotcloud/docker/pkg/libcontainer" <ide> "os/exec" <ide> "path/filepath" <add> "strconv" <ide> "strings" <ide> ) <ide> <ide> type Action func(*libcontainer.Container, interface{}, string) error <ide> <ide> var actions = ma...
1
Java
Java
fix checkstyle violation
4f4b9f6b1ba80175c174f328f36f3720667fbdd9
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlEncodingFilter.java <ide> public String encodeURL(String url) { <ide> } <ide> <ide> <add> /** <add> * Runtime exception to get far enough (to ResourceUrlProviderExposingInterceptor) <add> * where it can be re-thrown as Servl...
1
Ruby
Ruby
calculate types on construction
f4767bc8448d3d606149618cb279234dfcf803e7
<ide><path>activerecord/lib/active_record/reflection.rb <ide> def klass <ide> @klass ||= active_record.send(:compute_type, class_name) <ide> end <ide> <add> attr_reader :type, :foreign_type <add> <ide> def initialize(*args) <ide> super <ide> @collection = [:has_many, :has_and_b...
1
Python
Python
update run_ner.py with id2label config
82a2b76c950deb0cf7e7d8ba75ea2ad1ae089503
<ide><path>examples/pytorch/token-classification/run_ner.py <ide> def get_label_list(labels): <ide> config = AutoConfig.from_pretrained( <ide> model_args.config_name if model_args.config_name else model_args.model_name_or_path, <ide> num_labels=num_labels, <add> label2id=label_to_id, <add> ...
1
Python
Python
add trailing slashes for hub api client
03af9a0aa9384cd86215bdf1918da96828fb22aa
<ide><path>libcloud/container/utils/docker.py <ide> def get_repository(self, repository_name, namespace='library'): <ide> :return: The details of the repository <ide> :rtype: ``object`` <ide> """ <del> path = '/v2/repositories/%s/%s' % (namespace, repository_name) <add> path = '/v2...
1
Ruby
Ruby
set timeout to 10 seconds instead of retrying
cc634b2d50cc0e8c1e8a38196f4bcdad4e0a69b6
<ide><path>Library/Homebrew/cask/lib/hbc/system_command.rb <ide> def write_input_to(raw_stdin) <ide> end <ide> <ide> def each_line_from(sources) <del> tries = 3 <del> <ide> loop do <del> selected_sources = IO.select(sources, [], [], 1) <add> selected_sources = IO.select(sources, [], []...
1
Python
Python
add tests np.meshgrid for higher dimensional grids
3cdb33f02298c3544f7a3bc312c42422a2a7b971
<ide><path>numpy/lib/tests/test_function_base.py <ide> def test_simple(self): <ide> [0.64864341, 0.79115165, 0.96098397]])) <ide> <ide> <add># Run test using: python3 runtests.py -t numpy.lib.tests.test_function_base <ide> class TestMeshgrid: <ide> <ide> def test_simple(self): <ide> def tes...
1
Python
Python
parametrize ufunc generic loop tests
b1622aceb4cb39bdd71ed958f3d86c55d7ca7cb0
<ide><path>numpy/core/tests/test_ufunc.py <ide> def test_extobj_refcount(self): <ide> assert_raises(TypeError, np.add, 1, 2, extobj=[4096], parrot=True) <ide> <ide> <add>class TestUfuncGenericLoops(object): <add> """Test generic loops. <add> <add> The loops to be tested are: <add> <add> PyUFunc_f...
1
PHP
PHP
apply fixes from styleci
1f0b7763a4cfce873a52e14fa0405e18c8b344fb
<ide><path>src/Illuminate/Routing/CompiledRouteCollection.php <ide> use Illuminate\Container\Container; <ide> use Illuminate\Http\Request; <ide> use Illuminate\Support\Collection; <del>use Illuminate\Support\Str; <ide> use Symfony\Component\Routing\Matcher\CompiledUrlMatcher; <ide> use Symfony\Component\Routing\Request...
1
Javascript
Javascript
allow strict equality in angular expressions
a179a9a96eda5c566bda8a70ac8a75822c936a68
<ide><path>src/ng/parse.js <ide> var OPERATORS = { <ide> '%':function(self, locals, a,b){return a(self, locals)%b(self, locals);}, <ide> '^':function(self, locals, a,b){return a(self, locals)^b(self, locals);}, <ide> '=':noop, <add> '===':function(self, locals, a, b){return a(self, locals)===b(self, loca...
2
Python
Python
fix ud-train script
5dddb30e5bd1822cc29d8188748f022e97d0df85
<ide><path>spacy/cli/ud_train.py <ide> def initialize_pipeline(nlp, docs, golds, config): <ide> class Config(object): <ide> def __init__(self, vectors=None, max_doc_length=10, multitask_tag=True, <ide> multitask_sent=True, nr_epoch=30, batch_size=1000, dropout=0.2): <del> for key, value in locals...
1
Mixed
Ruby
fix issue with expression index in insert_all
3315cc76e03f651864383c07f6cd8f5c4d840d0a
<ide><path>activerecord/CHANGELOG.md <add>* Resolve issue with insert_all unique_by option when used with expression index. <add> <add> When the `:unique_by` option of `ActiveRecord::Persistence.insert_all` and <add> `ActiveRecord::Persistence.upsert_all` was used with the name of an expression index, an error ...
5
Python
Python
update parser imports
00e6186d761188f26b30637d06da680d64d50166
<ide><path>tutorials/image/cifar10/cifar10_eval.py <ide> <ide> import cifar10 <ide> <del>parser = argparse.ArgumentParser() <add>parser = cifar10.parser <ide> <ide> parser.add_argument('--eval_dir', type=str, default='/tmp/cifar10_eval', help='Directory where to write event logs.') <ide> <ide><path>tutorials/image/...
3
Javascript
Javascript
fix stdio sockets creation
b74a6da5d004fa43f88475d95b1ca910206eccb7
<ide><path>lib/internal/child_process.js <ide> function flushStdio(subprocess) { <ide> <ide> <ide> function createSocket(pipe, readable) { <del> var s = new net.Socket({ handle: pipe }); <del> <del> if (readable) { <del> s.writable = false; <del> s.readable = true; <del> } else { <del> s.writable = true; ...
2
Mixed
Text
fix more links
882b61a7eef16b373c769339e4246322b75922ad
<ide><path>GOVERNANCE.md <ide> * [Technical Steering Committee](#technical-steering-committee) <ide> * [TSC Meetings](#tsc-meetings) <ide> * [Collaborator Nominations](#collaborator-nominations) <del> * [Onboarding](#./onboarding) <add> * [Onboarding](#onboarding) <ide> * [Consensus Seeking Process](#consensus-seek...
6
Java
Java
add missing completable marbles (07/18a)
4a744153e9cea4e32f4c88bc49893e0b13b85359
<ide><path>src/main/java/io/reactivex/Completable.java <ide> private static NullPointerException toNpe(Throwable ex) { <ide> * Returns a Completable instance which manages a resource along <ide> * with a custom Completable instance while the subscription is active. <ide> * <p> <add> * <img width="640...
1
Javascript
Javascript
convert the `filespec` to a "normal" class
22a066e6578e5c88cd3d6ae1bb50cd31541500a0
<ide><path>src/core/file_spec.js <ide> import { isDict, isStream } from "./primitives.js"; <ide> import { stringToPDFString, warn } from "../shared/util.js"; <ide> <add>function pickPlatformItem(dict) { <add> // Look for the filename in this order: <add> // UF, F, Unix, Mac, DOS <add> if (dict.has("UF")) { <add> ...
1
Python
Python
add list_images method to the vsphere driver
48f0eebc5cd01399937ea439677d252ba20a9f97
<ide><path>libcloud/compute/drivers/vsphere.py <ide> from libcloud.common.types import InvalidCredsError <ide> from libcloud.compute.base import NodeDriver <ide> from libcloud.compute.base import NodeLocation <add>from libcloud.compute.base import NodeImage <ide> from libcloud.compute.base import Node <ide> from libclo...
1
Go
Go
move cpu variant checks into platform matcher
50f39e724707ef121a988e422eb52045d3754802
<ide><path>daemon/create.go <ide> import ( <ide> containertypes "github.com/docker/docker/api/types/container" <ide> networktypes "github.com/docker/docker/api/types/network" <ide> "github.com/docker/docker/container" <add> "github.com/docker/docker/daemon/images" <ide> "github.com/docker/docker/errdefs" <ide> "gi...
3
Python
Python
add unit test for ticket #273
60417381250675c9f40d0153a5c43e0751a40b89
<ide><path>numpy/core/tests/test_regression.py <ide> def check_swap_real(self, level=rlevel): <ide> assert_equal(N.arange(4,dtype='<c8').imag.max(),0.0) <ide> assert_equal(N.arange(4,dtype='>c8').real.max(),3.0) <ide> assert_equal(N.arange(4,dtype='<c8').real.max(),3.0) <add> <add> de...
1