message
stringlengths
13
484
diff
stringlengths
38
4.63k
Change from compute to infra fix the typo
@@ -49,7 +49,7 @@ needed in an environment, it is possible to create additional nodes. # /opt/openstack-ansible/scripts/inventory-manage.py \ -f /opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py \ - -l |awk -F\| '/<NEW COMPUTE NODE>/ {print $2}' |sort -u | tee /root/add_host.limit + -l |awk -F\| '/<NEW IN...
Updates to Analysis v2 base analysis Option to not apply default figure settings Option to close figures (or not) Fix for bug in saving plots
@@ -11,8 +11,10 @@ from matplotlib import cm from pycqed.analysis import analysis_toolbox as a_tools from pycqed.utilities.general import NumpyJsonEncoder from pycqed.analysis.analysis_toolbox import get_color_order as gco +from pycqed.analysis.analysis_toolbox import get_color_list from pycqed.analysis.tools.plotting ...
config/core: Rename `each_iteration` RebootPolicy to `each_job` Rename the parameter to be clearer on the effect of the policy, as this will cause WA to reset the device for each new job it runs regardless of the iteration number.
@@ -58,7 +58,7 @@ class RebootPolicy(object): """ - valid_policies = ['never', 'as_needed', 'initial', 'each_iteration'] + valid_policies = ['never', 'as_needed', 'initial', 'each_job'] @staticmethod def from_pod(pod): @@ -82,8 +82,8 @@ class RebootPolicy(object): return self.policy not in ['never', 'as_needed'] @prope...
popovers: Rename "Move message" option to "Move messages". This commit renames "Move message" option to "Move messages" to make it more clear that the user can move multiple messages.
@@ -543,10 +543,10 @@ export function toggle_actions_popover(element, id) { if (editability === message_edit.editability_types.FULL) { editability_menu_item = $t({defaultMessage: "Edit message"}); if (message.is_stream) { - move_message_menu_item = $t({defaultMessage: "Move message"}); + move_message_menu_item = $t({de...
ENH: add warning for metadata default use Set a warning if metadata for variables being set using no input from the Instrument routine.
@@ -2613,11 +2613,18 @@ class Instrument(object): self.meta = meta # If only some metadata included, define the remaining variables + warn_default = False for var in self.variables: - case_var = meta.var_case_name(var) - if case_var not in self.meta.keys() \ - and case_var not in self.meta.keys_nD(): - self.meta[case_v...
TPU Embedding load/retrieve parameters ops need to be declared in the outer graph scope with control flow v2.
@@ -2044,9 +2044,13 @@ class TPUEmbeddingTable(base_layer.BaseLayer): # Only the Trainer needs these ops. if py_utils.use_tpu(): + # TPU Embedding load/retrieve ops need to be in the outer graph + # scope. + with tf.init_scope(): tf.logging.info('creating load and retrieve ops.') load_parameters_op = ( - tpu_embedding_...
make: add mostlyclean target Close
-.PHONY: docs +.PHONY: docs test lint binaries gh-pages all: fava/static/gen/app.js fava/static/gen/app.js: fava/static/sass/* fava/static/javascript/* cd fava/static; npm update; npm run build -clean: - rm -rf .tox +clean: mostlyclean rm -rf build dist + rm -rf fava/static/gen + +mostlyclean: + rm -rf .tox rm -rf fava...
Fixed forecast time bug Issue with converting forecast time when it was zero. Logic was changed to account for this and now things work correctly. Added nearest_time method for surface data for easy time matching. Just a little wrapper around sfjson.
@@ -727,7 +727,7 @@ class GempakFile(): @staticmethod def _convert_ftime(ftime): """Convert GEMPAK forecast time and type integer.""" - if ftime: + if ftime >= 0: iftype = ForecastType(ftime // 100000) iftime = ftime - iftype.value * 100000 hours = iftime // 100 @@ -2631,6 +2631,75 @@ class GempakSurface(GempakFile): s...
Fix typo in guide configuration seach to search
@@ -338,7 +338,7 @@ Environment Variable Configuration ``AWS_PROFILE`` The default profile to use, if any. If no value is specified, boto3 - will attempt to seach the shared credentials file and the config file + will attempt to search the shared credentials file and the config file for the ``default`` profile. ``AWS_C...
refactor preproc, support dense in TumHistory layer Summary: Pull Request resolved:
@@ -11,10 +11,27 @@ from caffe2.python.layers.layers import ( ) from future.utils import viewitems import numpy as np +from collections import defaultdict import logging logger = logging.getLogger(__name__) + +def get_concatenated_feature_to_index(blobs_to_concat): + concat_feature_to_index = defaultdict(list) + start_...
Fix unittest MismatchError Closes-Bug:
@@ -451,11 +451,10 @@ class TestSyncer(base.DbTestCase): self._find_created_modified_unmodified_ids( before_action_plans, after_action_plans)) - dummy_1_spec = [ - {'description': 'Dummy indicator', 'name': 'dummy', - 'schema': jsonutils.dumps({'minimum': 0, 'type': 'integer'}), - 'unit': '%'}] - dummy_2_spec = [] + du...
Remove pre-1.10 warnings The intro paragraph is outdated since the official release of HDF5 1.10.0 more than one year ago. Remove the outdated paragraphs and warnings.
@@ -5,21 +5,6 @@ Single Writer Multiple Reader (SWMR) Starting with version 2.5.0, h5py includes support for the HDF5 SWMR features. -The SWMR feature is not available in the current release (1.8 series) of HDF5 -library. It is planned to be released for production use in version 1.10. Until -then it is available as an...
fix: Enable set_open_count perf: move set_open_count to after_refresh to avoid unnecessary calls
@@ -5,7 +5,6 @@ frappe.ui.form.Dashboard = class FormDashboard { constructor(opts) { $.extend(this, opts); this.setup_dashboard_sections(); - this.set_open_count = frappe.utils.throttle(this.set_open_count, 500); } setup_dashboard_sections() { @@ -179,7 +178,6 @@ frappe.ui.form.Dashboard = class FormDashboard { return;...
Fix typo in README mange -> manage
@@ -75,7 +75,7 @@ You can find the addon manifests and/or scripts under `${SNAP}/actions/`, with ` - **storage**: Create a default storage class. This storage class makes use of the hostpath-provisioner pointing to a directory on the host. Persistent volumes are created under `${SNAP_COMMON}/default-storage`. Upon disa...
Small namedtuple refactor Plus order consistency because why not..
@@ -197,11 +197,11 @@ class DigestAuth(Auth): try: realm = header_dict["realm"].encode() nonce = header_dict["nonce"].encode() - qop = header_dict["qop"].encode() if "qop" in header_dict else None - opaque = header_dict["opaque"].encode() if "opaque" in header_dict else None algorithm = header_dict.get("algorithm", "MD...
Link to baremetal API reference from patch_node Add a link in the patch_node docstring to the corresponding baremetal API operation, Update Node (PATCH /v1/nodes/{node_ident}).
@@ -280,6 +280,10 @@ class Proxy(proxy.Proxy): being locked. However, when setting ``instance_id``, this is a normal code and should not be retried. + See `Update Node + <https://developer.openstack.org/api-ref/baremetal/?expanded=update-node-detail#update-node>`_ + for details. + :returns: The updated node. :rtype: :c...
Fixed test for `fastanifile_parsed()` This test was failing due to a rounding/representation error
@@ -12,6 +12,7 @@ from typing import List, NamedTuple, Tuple import pandas as pd import pytest +import unittest from pandas.util.testing import assert_frame_equal @@ -50,7 +51,7 @@ def fastanifile_parsed(dir_fastani_in): # works """Example parsed fastANI file.""" return fastANIParsed( dir_fastani_in / "ecoli_vs_shiga.f...
Make the root generated package Pure TN:
## vim: filetype=makoada -package ${ada_lib_name} is +package ${ada_lib_name} with Pure is ## It is up to each Langkit user to update these constants to whatever ## appropriate.
CHANGES for 0.9.19 release Test Plan: -
# Changelog +## 0.9.19 + +**New** + +- Improved error handling when the intermediate storage stores and retrieves objects. +- New URL scheme in Dagit, with repository details included on all paths for pipelines, solids, and schedules +- Relaxed constraints for the AssetKey constructor, to enable arbitrary strings as pa...
Update Pennsylvania.md Added another incident under Pittsburgh.
@@ -76,3 +76,13 @@ A woman in East Liberty gets onto her knees and puts her hands in the air, while **Links** * https://www.youtube.com/watch?v=TxHxU6nhzzQ + +### Police fire tear gas and rubber bullets on peaceful assembly | June 1st + +Police declare a peaceful protest an unlawful assembly. They then escalate the sit...
[commands] Fix grammar Either implies that there will be two things, there is only one.
@@ -560,7 +560,7 @@ This command can be invoked any of the following ways: Error Handling ---------------- -When our commands fail to either parse we will, by default, receive a noisy error in ``stderr`` of our console that tells us +When our commands fail to parse we will, by default, receive a noisy error in ``stderr...
Typo fix of controlled SWAP gate documentation * Update for typo fix of controlled swap gate In response to Issue * To keep consistency.
@@ -104,7 +104,7 @@ class SwapGate(Gate): class CSwapGate(ControlledGate): - r"""Controlled-X gate. + r"""Controlled-SWAP gate, also known as the Fredkin gate. **Circuit symbol:**
Fix usage of _hail_package in eval_expr Fix usage of _hail_package so that eval_expr doesn't crash if used without `hl.init` first.
@@ -193,7 +193,7 @@ def eval_expr_typed(expression): if expression._indices.source is None: return (expression.dtype._from_json( - java.Env._hail_package.expr.ir.Interpret.interpretPyIR(str(expression._ir))), + java.Env.hail().expr.ir.Interpret.interpretPyIR(str(expression._ir))), expression.dtype) else: return express...
Change default CSV encoding to BOM Since Python's 'utf-8-sig' encoding works with and without BOM, we can support with BOM by changing the default encoding.
@@ -163,7 +163,7 @@ class CSVKitUtility(object): self.argparser.add_argument('-z', '--maxfieldsize', dest='field_size_limit', type=int, help='Maximum length of a single field in the input CSV file.') if 'e' not in self.override_flags: - self.argparser.add_argument('-e', '--encoding', dest='encoding', default='utf-8', +...
lookup_case filters by case type So this check is redundant
@@ -86,10 +86,7 @@ class _Importer(object): ) self.log_case_lookup() - if case: - if case.type != self.config.case_type: - return # TODO Add error message about skipped row - elif error == LookupErrors.NotFound: + if error == LookupErrors.NotFound: if not self.config.create_new_cases: return elif error == LookupErrors....
Update third-party-packages.md Docs: Add link to ChannelBox in Third party packages
@@ -39,6 +39,13 @@ Serverless ASGI adapter for AWS Lambda & API Gateway. Manage and send messages to groups of channels using websockets. Checkout <a href="https://github.com/taoufik07/nejma-chat" target="_blank">nejma-chat</a>, a simple chat application built using `nejma` and `starlette`. +### ChannelBox + +<a href="...
Truncate long source file name and prevent negative width field Fixes
@@ -7222,7 +7222,7 @@ class ContextCommand(GenericCommand): trail_len = len(m) + 6 title = "" title += Color.colorify("{:{padd}<{width}} ".format("", - width=self.tty_columns - trail_len, + width=max(self.tty_columns - trail_len, 0), padd=HORIZONTAL_LINE), line_color) title += Color.colorify(m, msg_color) @@ -7525,7 +7...
Update python-package-conda.yml Update workflow after rename of ubuntu conda file.
@@ -17,7 +17,7 @@ jobs: ENV_FILE: install/envs/mac.yml - os: ubuntu-latest - ENV_FILE: install/envs/pc.yml + ENV_FILE: install/envs/ubuntu.yml fail-fast: false defaults: run:
Disable DYNAMIC_COMPLETIONS flag for builds older than 4075 Workaround: See: See:
@@ -286,7 +286,8 @@ class CompletionHandler(LSPViewEventListener): flags |= sublime.INHIBIT_REORDER if isinstance(response, dict): response_items = response["items"] or [] - if response.get("isIncomplete", False): + # TODO: Remove this version check when everyone is past 4074. + if response.get("isIncomplete", False) a...
Simplifying InvalidCnpjCpfClassifier implementation The InvalidCnpjCpfClassifier was doing unnecessary copy of the whole dataset and also converting one of the dataframe columns for no apparent reason. This change should improve running time for the classifier as well as its memory footprint.
@@ -14,9 +14,7 @@ class InvalidCnpjCpfClassifier(TransformerMixin): return self def predict(self, X): - self._X = X.copy() - self._X['cnpj_cpf'] = self._X['cnpj_cpf'].astype(np.str) - return np.r_[self._X.apply(self.__is_invalid, axis=1)] + return np.r_[X.apply(self.__is_invalid, axis=1)] def __is_invalid(self, row): -...
Mark entity as changed if fuzzy gets rejected And only call the expensive calculate_stats() if neccessary - when translation changes status.
@@ -553,8 +553,12 @@ def reject_translation(request): ) # Check if translation was approved. We must do this before unapproving it. - if translation.approved: + if translation.approved or translation.fuzzy: translation.entity.mark_changed(locale) + TranslatedResource.objects.get( + resource=translation.entity.resource,...
Remove interactive docstring This is related to an old issue and
@@ -1401,8 +1401,9 @@ class JobFunctionWrappingJob(FunctionWrappingJob): - memory - disk - cores - For example to wrap a function into a job we would call - >>> Job.wrapJobFn(myJob, memory='100k', disk='1M', cores=0.1) + For example to wrap a function into a job we would call: + + ``Job.wrapJobFn(myJob, memory='100k', ...
use env for all commands Add opengl plug
name: maestral -base: core18 # the base snap is the execution environment for this snap +base: core18 license: MIT adopt-info: maestral icon: maestral/resources/maestral.png @@ -21,21 +21,23 @@ apps: - home - network - unity7 + - opengl maestral-qt: command: maestral gui desktop: share/applications/maestral.desktop - e...
Use gcc-7 for testing yask on Travis Needed in case a skylake platform is assigned
@@ -21,7 +21,7 @@ matrix: env: DEVITO_ARCH=gcc-4.9 DEVITO_OPENMP=1 OMP_NUM_THREADS=2 - os: linux python: "3.6" - env: DEVITO_ARCH=gcc-4.9 DEVITO_OPENMP=0 DEVITO_BACKEND=yask + env: DEVITO_ARCH=gcc-7 DEVITO_OPENMP=0 DEVITO_BACKEND=yask allow_failures: - os: linux python: "2.7" @@ -33,12 +33,14 @@ matrix: addons: apt: so...
Actions: May have to run "apt-get update" for Ubuntu * It seems the runners might become out of sync with the repos otherwise.
@@ -36,6 +36,7 @@ jobs: - name: Install Nuitka dependencies run: | + sudo apt-get update sudo apt-get install chrpath gdb ccache pip install -r requirements-devel.txt
fw/entrypoint: Add check for system default encoding Check what the default encoding for the system is set to. If this is not configured to use 'UTF-8', log a warning to the user as this is known to cause issues when attempting to parse none ascii files during operation.
import sys import argparse +import locale import logging import os import warnings @@ -76,6 +77,18 @@ def check_devlib_version(): raise HostError(msg.format(format_version(required_devlib_version), devlib.__version__)) +# If the default encoding is not UTF-8 warn the user as this may cause compatibility issues +# when ...
[FIX] replaceCategoryInPlace: Allow LRM and RLM at the end of the old_cat title Left-to-right and right-to-left marks commonly occur at the end of the category name due to copy and pasting.
@@ -1394,10 +1394,12 @@ def replaceCategoryInPlace(oldtext, oldcat, newcat, site=None, title = '[%s%s]' % (title[0].upper(), title[0].lower()) + title[1:] # spaces and underscores in page titles are interchangeable and collapsible title = title.replace(r'\ ', '[ _]+').replace(r'\_', '[ _]+') - categoryR = re.compile(r'...
Update database.md Updated the description of the pg_trgm extension.
@@ -23,7 +23,7 @@ The Prefect Orion database persists data used by many features of Prefect to per Currently Prefect Orion supports the following databases: - SQLite: The default in Prefect Orion, and our recommendation for lightweight, single-server deployments. SQLite requires essentially no setup. -- PostgreSQL: Bes...
Fallback to installed tomli when vendor is removed In Fedora, we bootstrap tomli differently, so we remove the vendored version. This makes it so we don't also have to patch flit_core.config ourselves.
@@ -10,7 +10,12 @@ import re try: import tomllib except ImportError: + try: from .vendor import tomli as tomllib + # Some downstream distributors remove the vendored tomli. + # When that is removed, import tomli from the regular location. + except ImportError: + import tomli as tomllib from .versionno import normalise_...
Fix typo in installing.md Typo
@@ -13,7 +13,7 @@ Ansible-lint does not currently support installation on Windows systems. ``` For a container image, we recommend using [creator-ee](https://github.com/ansible/creator-ee/), which includes Ansible-lint. -If you have a use case that the `creator-ee` container does satisfy, please contact the team throug...
client: use exact window URL for websocket connections This prevents interference with http pass through views
@@ -1137,7 +1137,8 @@ function Lona(settings) { protocol = 'wss://'; } - this._ws = new WebSocket(protocol + window.location.host); + this._ws = new WebSocket( + protocol + window.location.host + window.location.pathname); this._ws.lona = this; this._ws.onmessage = this._handle_raw_websocket_message;
ArnoldAttributesUI : Remove redundant metadata This is for an attribute that was removed.
@@ -375,16 +375,6 @@ Gaffer.Metadata.registerNode( ], - "attributes.subdivType.value" : [ - - "preset:None", "none", - "preset:Linear", "linear", - "preset:Catclark", "catclark", - - "plugValueWidget:type", "GafferUI.PresetsPlugValueWidget", - - ], - "attributes.subdivIterations" : [ "description",
pkgutil: returns a List[str] usually Yes, technically it returns whatever its first argument is if it isn't a list. Doing this because
import sys from _typeshed import SupportsRead -from typing import IO, Any, Callable, Iterable, Iterator, NamedTuple, Optional, Tuple, Union +from typing import IO, Any, Callable, Iterable, Iterator, List, NamedTuple, Optional, Tuple, Union if sys.version_info >= (3,): from importlib.abc import Loader, MetaPathFinder, P...
Python API: leave non exposed fields out of the AST node dumper TN:
@@ -364,6 +364,8 @@ class AnalysisUnit(object): class LexicalEnv(object): ${py_doc('langkit.lexical_env_type', 4)} + _exposed = False + def __init__(self, c_value): self._c_value = c_value @@ -421,12 +423,14 @@ class BasePointerBinding(object): class LogicVar(BasePointerBinding): ${py_doc('langkit.logic_var_type', 4)} ...
progress bar configure tqdm for colab
@@ -194,9 +194,7 @@ def train_model(args): total = 0 logits = [] labels = [] - for input_ids, batch_labels in tqdm.tqdm( - eval_dataloader, desc="Evaluating accuracy" - ): + for input_ids, batch_labels in eval_dataloader: if isinstance(input_ids, dict): ## HACK: dataloader collates dict backwards. This is a temporary #...
Error in docs for configuring dvr router According to the docs on this link: "Configure the Open vSwitch agent. Add the following to /etc/neutron/plugins/ml2/ml2_conf.ini:" It should be openvswitch_agent.ini rather than ml2_conf.ini.
@@ -113,7 +113,7 @@ Network nodes ------------- #. Configure the Open vSwitch agent. Add the following to - ``/etc/neutron/plugins/ml2/ml2_conf.ini``: + ``/etc/neutron/plugins/ml2/openvswitch_agent.ini``: .. code-block:: ini @@ -148,7 +148,7 @@ Compute nodes ------------- #. Configure the Open vSwitch agent. Add the fo...
docs: qtile is official package now on Arch Linux Closes
Installing on Arch Linux ======================== -Qtile is available on the `AUR`_ as: - -======================= ======================= -Package Name Description -======================= ======================= -`qtile`_ stable branch (release) -`qtile-python3-git`_ development branch -======================= ======...
adds ssh_resource changes to CHANGES.md Summary: update CHANGES.md Test Plan: BK Reviewers: prha
- Fixes bug in `launch_scheduled_execution` that would mask configuration errors. - Fixes bug in dagit where schedule related errors were not shown. +**New** + +- _dagster-ssh_ + - adds SFTP get and put functions to `SSHResource`, replacing sftp_solid. + ## 0.8.1 **Bugfix**
Added GDB online editor This editor is far more complete, and it's the only one that ran everything properly.
@@ -18,4 +18,5 @@ Welcome to Sample Programs in Swift! - [Swift Wiki](https://en.wikipedia.org/wiki/Swift_(programming_language)) - [Swift Docs](https://swift.org/) - [Swift GitHub](https://github.com/apple/swift) -- [Swift Online Editor](https://iswift.org/playground) +- [Swift Online Editor (iswift)](https://iswift.o...
Update README Correct table name for checking results
@@ -17,7 +17,7 @@ python3 user_last_login.py --cluster <cluster dns end point> --dbPort <port> --d The results are stored in a table on the cluster. The schema and table are created if they do not already exist, or otherwise are truncated and repopulated on each execution of the script. View the results of the run by e...
Time nose * update travis to use xenial > 3.7 not available on default Ubuntu/travis builds, so using instructions here: to update us to 3.7 (while keeping 3.6) and maybe later pre-release dev builds * add time report to nose
@@ -26,13 +26,14 @@ before_script: - pip install numpy - pip install scipy - pip install scikit-learn +- pip install nose-timer script: # Notes on nose: # Travis CI pre-installs `nose` # https://github.com/coagulant/coveralls-python#nosetests # http://nose.readthedocs.org/en/latest/plugins/skip.html -- nosetests --no-s...
Add `default_extension` setting hint. This commit adds the setting hint for `default_extension`
// Added in 405x. "context_menu": null, + // The default extension to be showed as the file save type in the OS + // file save manager, for new untitled files. + "default_extension": "", + // UI scaling factor (deprecated) // Removed in 3181. "dpi_scale": 1.0,
Clarify top plate orientation to roll cage This was not originally clear and I ended up attaching it upside down during my build.
@@ -142,6 +142,8 @@ Once you have slid the nut in, you can attach the bottom plate. Once again, thi ![donkey](../assets/build_hardware/3b.PNG) +When attaching the roll cage to the top plate, ensure that the nubs on the top plate face the roll-cage. This will ensure the equipment you mount to the top plate fits easily. ...
Update instructions.append.md Change the message in the docs' raised exception to better reflect what the tests are expecting
@@ -10,5 +10,5 @@ To raise a `ValueError` with a message, write the message as an argument to the ```python # example when argument is zero or a negative integer -raise ValueError("Only positive numbers are allowed") +raise ValueError("Only positive integers are allowed") ```
temporary bug fix create parent directories if necessary
@@ -821,8 +821,6 @@ class MaestralClient(object): all_files.sort(key=lambda x: x.path_display) all_deleted.sort(key=lambda x: x.path_display) - print(all_folders) - # apply created folders (not in parallel!) for folder in all_folders: success = self._create_local_entry(folder) @@ -919,7 +917,7 @@ class MaestralClient(o...
Make 2 optional config parameters recognizable Fix
@@ -172,6 +172,8 @@ def read_and_validate_experiment_config(config_filename: str) -> Dict: Requirement(not local_experiment, str, False, ''), 'experiment': Requirement(False, str, False, ''), + 'cloud_sql_instance_connection_name': + Requirement(False, str, True, ''), 'snapshot_period': Requirement(False, int, False, '...
Fix Point __str__ formatting .2G is two decimal places. .2F is two decimal places after the decimal point. This is a huge difference.
@@ -2032,12 +2032,12 @@ class Point: def __str__(self): try: - x_str = "%.2G" % self.x + x_str = "%.2F" % self.x except TypeError: return self.__repr__() if "." in x_str: x_str = x_str.rstrip("0").rstrip(".") - y_str = "%.2G" % self.y + y_str = "%.2F" % self.y if "." in y_str: y_str = y_str.rstrip("0").rstrip(".") retu...
fw/job: only finalize if initialized Only run finalize() for a job if initialize has succeed. finalize() should be able to assume that initialize() has succeed, without needing to check that that file have been created, variables set, etc.
@@ -28,6 +28,10 @@ class Job(object): def status(self): return self._status + @property + def has_been_initialized(self): + return self._has_been_initialized + @status.setter def status(self, value): self._status = value @@ -43,6 +47,7 @@ class Job(object): self.output = None self.run_time = None self.retries = 0 + sel...
Fix a tiny typo We should only log this message if we're checking the notification-specific limit.
@@ -86,7 +86,7 @@ def check_service_over_daily_message_limit(service, key_type, notification_type, ) # TODO: Remove this - only temporarily logging so it's easy to check/make sure no-one is hitting this # rate limit while we roll it out - if notification_type is not None: + if notification_type_ is not None: current_ap...
Update article.md Small typos
@@ -34,7 +34,7 @@ Best viewed and edited with [Typora](http://typora.io). ### Rays through optical elements -For completeness, we start with a very compact introduction to the ray matrix formalism to avoid. The ABCD matrix formalism (or ray matrices) allows a ray (column vector) to be transformed from one reference pla...
improves cuda testing stability in our current infra we have have memory issues. This is optional test.
@@ -9,6 +9,7 @@ shapes = [(512, 3, 256, 256), (256, 1, 64, 64)] PSs = [224, 32] +@pytest.mark.xfail(reason='May cause memory issues.') def test_performance_speed(device, dtype): if device.type != 'cuda' or not torch.cuda.is_available(): pytest.skip("Cuda not available in system,")
2.5.1 Automatically generated by python-semantic-release
@@ -9,7 +9,7 @@ https://community.home-assistant.io/t/echo-devices-alexa-as-media-player-testers """ from datetime import timedelta -__version__ = "2.5.0" +__version__ = "2.5.1" PROJECT_URL = "https://github.com/custom-components/alexa_media_player/" ISSUE_URL = "{}issues".format(PROJECT_URL)
Allow for panning in the plane of the camera Accessed via <CTRL>-[left click]
@@ -318,8 +318,22 @@ class GLViewWidget(QtOpenGL.QGLWidget): self.mousePos = ev.pos() if ev.buttons() == QtCore.Qt.LeftButton: + if (ev.modifiers() & QtCore.Qt.ControlModifier): + # pan in plane of camera + elev = np.radians(self.opts['elevation']) + azim = np.radians(self.opts['azimuth']) + fov = np.radians(self.opts[...
Suppress warnings in tests Summary: Pull Request resolved:
@@ -1222,6 +1222,7 @@ graph(%Ra, %Rb): return grad_output x = torch.tensor([0.], requires_grad=True) + with warnings.catch_warnings(record=True): with self.assertRaisesRegex(RuntimeError, "MyLegacyFn"): torch.jit.get_trace_graph(lambda x: MyLegacyFn()(x), (x,)) @@ -4526,6 +4527,7 @@ a") return foo(x) f = io.BytesIO() +...
Fix checkFormat fail for Null input When optional input is null we don't need to call function checkFormat for this input.
@@ -551,7 +551,7 @@ class Process(object): if self.formatgraph: for i in self.tool["inputs"]: d = shortname(i["id"]) - if d in builder.job and i.get("format"): + if d in builder.job and i.get("format") and builder.job[d]: checkFormat(builder.job[d], builder.do_eval(i["format"]), self.formatgraph) builder.bindings.exten...
N->O Upgrade, make sure all nova placement parameter properly set. The restart of openstack-nova-compute takes place before crudini set the password, user_domain and project_name get set. Closes-Bug:
@@ -65,18 +65,21 @@ resources: - " crudini --set /etc/nova/nova.conf placement project_domain_name Default\n\n" - " crudini --set /etc/nova/nova.conf placement user_domain_name Default\n\n" - " crudini --set /etc/nova/nova.conf placement project_name service\n\n" - - " systemctl restart openstack-nova-compute\n\n" - - ...
Update panels.py Panel heading typo fix: "Rendering setings" -> "Render settings"
@@ -81,7 +81,7 @@ flat_menu_content_panels = ( menu_settings_panels = ( MultiFieldPanel( - heading=_('Rendering setings'), + heading=_('Render settings'), children=( FieldPanel('max_levels'), FieldPanel('use_specific')
QRadar: Fix pagination * Fix pagination * Update integration-QRadar.yml * Update integration-QRadar.yml We're counting from zero * Update integration-QRadar.yml
@@ -235,13 +235,13 @@ script: var totalOffenses = res.length; var lastCallOffenses = res.length; while (startTime && lastCallOffenses >= offensesPerCall) { - var min = res.length; - var max = min + offensesPerCall; + var from = totalOffenses; // we're counting from zero + var to = from + offensesPerCall - 1; var lastIn...
Simplify extension discovery using pkgutil The cog now keeps a set of full qualified names of all extensions.
import logging import os from enum import Enum +from pkgutil import iter_modules from discord import Colour, Embed from discord.ext.commands import Bot, Cog, Context, group -from bot.constants import ( - Emojis, MODERATION_ROLES, Roles, URLs -) +from bot.constants import Emojis, MODERATION_ROLES, Roles, URLs from bot.d...
Update gromacs_check.py Added missing `+` in the pattern match
@@ -18,9 +18,9 @@ class GromacsBaseCheck(RunOnlyRegressionTest): self.keep_files = [output_file] energy = sn.extractsingle(r'\s+Potential\s+Kinetic En\.\s+Total Energy' - r'\sConserved En\.\s+Temperature\n' + r'\s+Conserved En\.\s+Temperature\n' r'(\s+\S+){2}\s+(?P<energy>\S+)(\s+\S+){2}\n' - r'\sPressure \(bar\)\s+Con...
Fix Concat Dimension Bug Summary: Pull Request resolved: This diff is similar to We need to handle the edge case when add_axis=1.
@@ -196,7 +196,9 @@ OpSchema::Cost CostInferenceForConcat( : GetDimFromOrderString( helper.GetSingleArgument<string>("order", "NCHW")); bool add_axis = helper.GetSingleArgument<int>("add_axis", 0) != 0; - const int canonical_axis = canonical_axis_index_(axis, in[0].dims_size()); + int adj_size = in[0].dims_size() + (ad...
Add update_reservation to dummy plugin update_reservation is now an abstract method. It needs to be added to all plugins.
@@ -25,6 +25,9 @@ class DummyVMPlugin(base.BasePlugin): def reserve_resource(self, reservation_id, values): return None + def update_reservation(self, reservation_id, values): + return None + def on_start(self, resource_id): """Dummy VM plugin does nothing.""" return 'VM %s should be waked up this moment.' % resource_i...
remove path for deprecated case properties Deprecated properties will be ignored when sending FHIR data, so path is redundant
@@ -158,7 +158,7 @@ def save_case_property(name, case_type, domain=None, data_type=None, def _update_fhir_resource_property(case_property, fhir_resource_type, fhir_resource_prop_path, remove_path=False): from corehq.motech.fhir.models import FHIRResourceProperty - if remove_path: + if case_property.deprecated or remove...
[FIX] Run example from Github command Github uses https per default. I got an error with the git@ command.
@@ -205,7 +205,7 @@ Now that you have your training code, you can package it so that other data scie specified in ``conda.yaml``. If the repository has an ``MLproject`` file in the root you can also run a project directly from GitHub. This tutorial is duplicated in the https://github.com/mlflow/mlflow-example repositor...
Use `"coma"` for `,` to work around conformer b-series issue Fixes
@@ -132,6 +132,8 @@ punctuation_words = { "back tick": "`", "grave": "`", "comma": ",", + # Workaround for issue with conformer b-series; see #946 + "coma": ",", "period": ".", "full stop": ".", "semicolon": ";",
Cleanup init_process_group Summary: Pull Request resolved: torch.distributed.init_process_group() has had many parameters added, but the contract isn't clear. Adding documentation, asserts, and explicit args should make this clearer to callers and more strictly enforced.
@@ -306,12 +306,23 @@ def get_backend(group=group.WORLD): def init_process_group(backend, - init_method="env://", + init_method=None, timeout=_default_pg_timeout, - **kwargs): + world_size=-1, + rank=-1, + store=None, + group_name=''): """ Initializes the default distributed process group, and this will also - initiali...
Use absolute path for Tmp on Windows CI We have write permission to the root of the mounted volume so take advantage of that to create an absolute path to tmp.
@@ -185,13 +185,13 @@ jobs: git config --global user.name unused git config --global user.email unused@localhost git config --global init.defaultBranch main - mkdir ..\Tmp -Force + mkdir \Tmp -Force - name: Run built-in tests if: ${{ !inputs.skip_tests }} env: GUILD_START_THRESHOLD: 1.0 - TMPDIR: ..\Tmp + TMPDIR: \Tmp ...
[.travis.yml] Setup Travis-CI environment with development dependencies This conforms to the appveyor environment, which install the development dependencies.
@@ -36,7 +36,7 @@ before_install: - export PATH=$PATH:/opt/snap/bin install: - - pip install -r requirements.txt + - pip install -r requirements-dev.txt - pip install coveralls coverage - python setup.py install
Update dynamic_domain.txt See also: and ```capturatela.txt``` for ```ddns.com.br``` trail.
@@ -1388,3 +1388,19 @@ b3ta.org # Reference: https://www.virustotal.com/#/domain/ygto.com ygto.com + +# Reference: https://www.virustotal.com/#/domain/ddns.com.br + +ddns.com.br + +# Reference: https://www.virustotal.com/#/domain/winconnection.net + +winconnection.net + +# Reference: https://www.virustotal.com/#/domain...
Address review Fix fetchers.py
@@ -384,7 +384,7 @@ class ArgoDataFetcher: index_loader.profile(self._AccessPoint_data['wmo'], self._AccessPoint_data['cyc']).load() if self._AccessPoint == 'region': # Convert data box to index box (remove depth info): - index_box = self._AccessPoint_data['box'] + index_box = self._AccessPoint_data['box'].copy() del i...
Add a note in rank that all data will be moved into single node Add a note in rank that all data will be moved into single node
@@ -2181,6 +2181,11 @@ class Series(_Frame, IndexOpsMixin, Generic[T]): By default, equal values are assigned a rank that is the minimum of the ranks of those values. + .. note:: the current implementation of rank uses Spark's Window without + specifying partition specification. This leads to move all data into + singl...
[fuchsia] Enable an example Rust fuzzer Modifies the allowlist to let one of the example fuzzers written in Rust run. This is so we can ensure that Rust crashes are handled properly.
@@ -75,7 +75,8 @@ class Fuzzer(object): production). """ # Strip any sanitizer extensions tgt = os.path.splitext(tgt)[0] - return ((pkg == 'example-fuzzers' and tgt != 'out_of_memory_fuzzer') or + return ((pkg == 'example-fuzzers' and + tgt not in ('out_of_memory_fuzzer', 'toy_example_arbitrary')) or (pkg == 'zircon_fu...
Remove acronyms from venue names A few venues list their acronym in brackets as part of the name field, e.g. "International Conference on Computational Linguistics (COLING)". However, this information is already configured in the acronym field. On the venue's page this results in a duplication: "International Conferenc...
@@ -190,7 +190,7 @@ cogalex: coling: acronym: COLING is_toplevel: true - name: International Conference on Computational Linguistics (COLING) + name: International Conference on Computational Linguistics oldstyle_letter: C comacoma: acronym: ComAComA @@ -284,7 +284,7 @@ ethnlp: name: Workshop on Ethics in Natural Langu...
Make the Spacer widget accept a background color Fixes
@@ -43,8 +43,11 @@ class Spacer(base._Widget): DEPRECATED, same as ``length``. """ orientations = base.ORIENTATION_BOTH + defaults = [ + ("background", None, "Widget background color") + ] - def __init__(self, length=bar.STRETCH, width=None): + def __init__(self, length=bar.STRETCH, width=None, **config): """ """ # 'wi...
Update README.md Add a link to a WIP review of related work
@@ -96,6 +96,9 @@ the [gym_minigrid](https://github.com/maximecb/gym-minigrid) repository. You can find here a presentation of the project: [Baby AI Summary](https://docs.google.com/document/d/1WXY0HLHizxuZl0GMGY0j3FEqLaK1oX-66v-4PyZIvdU) +A work-in-progress review of related work can be found [here] +(https://www.over...
tell people to run fab from the commcarehq-ansible dir rather than making an alias
@@ -78,33 +78,9 @@ if 'y' == input('Do you want instructions for how to migrate? [y/N]'): Run a fab command! ================== - Enter the fab directory of commcarehq-ansible - - cd commcarehq-ansible/fab - - Run your fab command - fab production deploy - - Bonus: Run fab from any directory - =========================...
docs(config): update configuration doc to show all options The current version only shows the LSTM options, and fails to show the other parameters for LogisticRegression, SparseLSTM, and SparseLogisticRegression.
@@ -47,5 +47,18 @@ The default ``.fonduer-config.yaml`` configuration file is shown below:: bidirectional: True host_device: "CPU" max_sentence_length: 100 + LogisticRegression: + bias: False + SparseLSTM: + emb_dim: 100 + hidden_dim: 100 + attention: True + dropout: 0.1 + bidirectional: True + host-device: "CPU" + max...
Adds `jvm_jdk` field to protobufs when the Scala backend is enabled Registers the `jvm_jdk` field on protobuf sources for the scala version Closes
@@ -11,6 +11,8 @@ from pants.backend.codegen.protobuf.scala.subsystem import PluginArtifactSpec, S from pants.backend.codegen.protobuf.target_types import ( ProtobufDependenciesField, ProtobufSourceField, + ProtobufSourcesGeneratorTarget, + ProtobufSourceTarget, ) from pants.backend.scala.target_types import ScalaSourc...
Update rocketpy/Flight.py Suggestion accepted
@@ -2910,7 +2910,7 @@ class Flight: return None - def finFlutterAnalysis(self, finThickness, shearModulus): + def calculateFinFlutterAnalysis(self, finThickness, shearModulus): """ Calculate, create and plot the Fin Flutter velocity, based on the pressure profile provided by Atmosferic model selected. It considers the ...
[TIR] Add test to cover specific case of reducer match buffer checking Adding in a test that covers another case that can happen when running a check in reducer.cc [here](https://github.com/apache/tvm/blob/main/src/tir/schedule/analysis/reducer.cc#L590).
@@ -548,6 +548,56 @@ def single_reduction_loop_with_tensorize( ) +@T.prim_func +def nested_reduction_loop_with_inner_match_buffers( + in0: T.Buffer[(4, 16), "int8"], + in1: T.Buffer[(4, 16), "int8"], + out: T.Buffer[(4, 4), "int32"], +) -> None: + # body + # with T.block("root") + for y in T.serial(4): + with T.block("...
Restyle checkboxes to be less visually abrasive. This restyles the checkboxes to be more subtle in their rest and unchecked state so they don't create too much visual noise on the page.
position: relative; top: -2px; - padding: 1px; + padding: 2px; margin: 0px 5px 0px 0px; - height: 12px; - width: 12px; + height: 10px; + width: 10px; font-weight: 300; line-height: 0.8; font-size: 1.3rem; text-align: center; - border: 2px solid hsl(0, 0%, 80%); + border: 1px solid hsl(0, 0%, 75%); color: hsl(0, 0%, 80%...
Updated Dev Documentation Added line for installing developer tools for local development Fixes:
@@ -88,6 +88,7 @@ See the previous section for instructions. mkvirtualenv cirq-py3 --python=/usr/bin/python3 python -m pip install --upgrade pip python -m pip install -e .[dev_env] + python -m pip install -r dev_tools/conf/pip-list-dev-tools.txt ``` (When you later open another terminal, you can activate the virtualenv...
Fix the new jinja_test failures Refs The max fuction returns an int, not a float, as does the min function. This updates the assertions to compare against ints.
@@ -946,13 +946,13 @@ class TestCustomExtensions(TestCase): '''Test the `min` Jinja filter.''' rendered = render_jinja_tmpl("{{ [1, 2, 3] | min }}", dict(opts=self.local_opts, saltenv='test', salt=self.local_salt)) - self.assertEqual(rendered, u'1.0') + self.assertEqual(rendered, u'1') def test_max(self): '''Test the `...
PEP Improvisations: Move errors sending from PEP command to `get_pep_embed` Before this, all error embeds was returned on `get_pep_embed` but now this send this itself and return only correct embed to make checking easier in command.
@@ -4,7 +4,7 @@ import re import unicodedata from email.parser import HeaderParser from io import StringIO -from typing import Dict, Tuple, Union +from typing import Dict, Optional, Tuple, Union from discord import Colour, Embed from discord.ext.commands import BadArgument, Cog, Context, command @@ -220,12 +220,11 @@ c...
build: don't force-push git branches needed for historical builds closes
@@ -167,7 +167,7 @@ RUN cd /opt \ && cd buildozer \ && git remote add sombernight https://github.com/SomberNight/buildozer \ && git fetch --all \ - # commit: from branch sombernight/electrum_20210421 + # commit: from branch sombernight/electrum_20210421 (note: careful with force-pushing! see #8162) && git checkout "6f0...
Address Address correct merge error, restore import of eye_zoom_mouse comment cleanup
import os from talon import Module, actions, app, clip, cron, ctrl, imgui, noise, ui +from talon_plugins import eye_zoom_mouse key = actions.key self = actions.self @@ -110,7 +111,7 @@ class Actions: def mouse_wake(): """Enable control mouse, zoom mouse, and disables cursor""" actions.tracking.control_zoom_toggle(True)...
Clarify purpose of all service sms test The claim in the comment was once correct [^1] but no longer [^2], so this is really just a base case test of what the function returns. [^1]: [^2]:
@@ -649,8 +649,7 @@ def test_fetch_sms_free_allowance_remainder_until_date_with_two_services(notify_ assert service_2_result[0] == (service_2.id, 20, 22, 0) -def test_fetch_usage_for_all_services_sms_for_first_quarter(notify_db_session): - # This test is useful because the inner query resultset is empty. +def test_fetc...
Update mouse.py remove debug spam
@@ -32,7 +32,7 @@ def mouse_scroll(amount): def scroll_continuous_helper(): global scroll_amount - print("scroll_continuous_helper") + #print("scroll_continuous_helper") if scroll_amount: actions.mouse_scroll(by_lines=False, y=int(scroll_amount / 10))
Expand expected assumerole exceptions This adds 'AccessDenied' to the list of expected assumerole exceptions. The api will *usually* return 'InvalidClientTokenId', but not always.
@@ -225,7 +225,7 @@ class TestAssumeRoleCredentials(BaseEnvVar): return result['Credentials'] except ClientError as e: code = e.response.get('Error', {}).get('Code') - if code == "InvalidClientTokenId": + if code in ["InvalidClientTokenId", "AccessDenied"]: time.sleep(delay) else: raise
Langkit_Support.Bump_Ptr.Vectors: minor reformatting (no-tn-check)
@@ -20,8 +20,7 @@ package Langkit_Support.Bump_Ptr.Vectors is subtype Index_Type is Positive; type Vector is private - with Iterable => - (First => First, + with Iterable => (First => First, Next => Next, Has_Element => Has_Element, Element => Get); @@ -59,8 +58,7 @@ package Langkit_Support.Bump_Ptr.Vectors is -- Get t...