Table not create checkboxes when i redirect to $state of table

Table not create checkboxes when i redirect to $state of table
Now, if I refresh the page manually the checks are created normally.
See pictures
Before

After reload manually

Help-me

I have the same issue. But the problem is not (only) the routing/state. In my case it is that md-select exists twice one in ngMaterial und one in md.data.table. When the ngMaterial's md-select is loaded before routing to a state that contains md.data.table's md-select then this select directive will not load. Both directives will be loaded when they are on the same state. You can reproduce when you start at a state with no md-select and navigate to a state with a table md-select (and optional option md-select) this will be rendered with checkboxes. When you start at a state with only a option md-select and navigate to a state with a table md-select the checkboxes will not show.
My workaround for this issue is adding md.data.table as a requirement for material.core or material.components.select (second not tried yet but should work). This will then load both md-select directives if one of them is needed. This is a little overhead because it extends angular material and increases the potential load time when md-data-table isn't needed.
angular.module('material.core').requires.push('md.data.table');


Example of submitting multiple ontology files to OLGA web service

Would it be possible to provide an example of how to submit multiple ontology files to the /generate endpoint?

through the CLI it is a matter of pointing to a folder where multiple ontologies are there.
I believe @AlberTadrous proposed a zip file or a post upload?

a zip file upload would be great - is that feature work scheduled?

https://github.com/EcoStruxure/OLGA/pull/14 implemented a zip file upload


fix HandleJobErrorNvim

probably a missed part of commit daf0210, but makes initial troubleshooting in neovim miserable for new users

thx!


V2 Integration - CLA Group + Repository Query

Summary
In order to support the V2 Integration and v1 UI Optimizations, we need to provide a consolidated API for the CLA Group and Repository Query.
Background
This API update will support both the v1 legacy UI and the new V2 API.
Tasks

[x] Review the v3/project/external/{sfid} (e.g. a09410000182dD2AAI) API response, note that it returns a list of CLA Groups with associated details.
[x] Review the v1/project/{interal_project_id}/gerrits API call which retrieves Gerrit repositories for the given CLA group
[x] Review the v1/project/{internal_project_id}/repositories_group_by_organization API call which retrieves the GitHub repos for a given CLA group
[x] Consolidate the old python Gerrits and GitHub API calls to include the repositories under the CLA Group response model.  When possible, use Go routines to parallelize the queries to the Gerrit and GitHub tables
[x] Test and verify
[x] Add a new (LFX) V2 API endpoint for the v3/project/external/{sfid} which calls the legacy (v3) implementation
[x] Add the new endpoint to the ACS CLI configuration/repo
[x] Send a note to @hnexokonkwo so that he can replace the client-side API calls with the new optimized/consolidated calls.
[ ] Once UI is updated, remove the old v1 Python API calls (quickly scan the UI) - should only be used in the project console UI

Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:

Unit Tests added and running in CI
Functional Tests updated to cover feature, if applicable
Demonstrate the set of capabilities to the product team while the code is running in the STAGING environment.

References
(Optional) Provide any code or specification references that would be helpful for the developer implementing this feature.

Task implemented - will remove Python code later.


Question: test coverage/strategy

Hi. Just doing a quick sanity check of the repo for someone before they use the product. Lots of good stuff here. The test coverage seems limited to serialisation code, IIUC. Is that right? Are there tests somewhere for the core swap functionality and for staking? In some other repo, maybe?

Currently, this repo only contains rust client code and math helpers we published for people to use and build on top of Saber.
Check out the archive branch for some old references.

Addressed in https://github.com/saber-hq/stable-swap/pull/101


Test with coverage freeze at a specific test file on Python 3.10.beta.1

Describe the bug
pandas started testing against Python 3.10.beta.1. https://github.com/pandas-dev/pandas/pull/41113. While working on the CI, we found that running the coverage with pytest-cov would cause the test step to freeze immediately after start. But if use coveragepy directly, the test would freeze at a specific test file https://github.com/pandas-dev/pandas/blob/master/pandas/tests/io/json/test_pandas.py. For now, we skipped the whole file to make the CI green. This only happens on Python 3.10
To Reproduce
Build Version
INSTALLED VERSIONS
------------------
commit           : 1bdd5e6f668a4c5fabfa041082561340efe480df
python           : 3.10.0.beta.1
python-bits      : 64
OS               : Linux
OS-release       : 5.4.0-1046-azure
Version          : #48-Ubuntu SMP Tue Apr 13 07:18:42 UTC 2021
machine          : x86_64
processor        : x86_64
byteorder        : little
LC_ALL           : None
LANG             : C.UTF-8
LOCALE           : en_US.UTF-8

Output of pip list
Package          Version
---------------- ---------------------------
apipkg           1.5
attrs            20.3.0
coverage         5.6b2
Cython           0.29.23
execnet          1.8.0
hypothesis       6.10.1
iniconfig        1.1.1
numpy            1.21.0.dev0+1401.g1fee7acbc
packaging        20.9
pip              21.1
pluggy           0.13.1
py               1.10.0
pyparsing        2.4.7
pytest           6.3.0.dev399+g2049ae271
pytest-forked    1.3.0
pytest-xdist     2.2.1
python-dateutil  2.8.1
pytz             2021.1
setuptools       56.0.0
six              1.15.0
sortedcontainers 2.3.0
toml             0.10.2
wheel            0.36.2

Test command
coverage run -m pytest -m 'not slow and not network and not clipboard' pandas

Expected behavior
No freeze.

Thanks for the report.  Could you give me very specific instructions about how to run the tests?
I tried cloning the pandas repo, installing pytest and coverage. Then I ran your test command, and got:
$ coverage run -m pytest -m 'not slow and not network and not clipboard' pandas
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --strict-data-files
  inifile: /private/tmp/pandas/pyproject.toml
  rootdir: /private/tmp/pandas

Coverage.py warning: No data was collected. (no-data-collected)

BTW, where did you get a Python that claims to be 3.10.0.beta.1? That doesn't exist yet.

Thanks for taking a look at this! @nedbat
Cloning the repo, and  inside a venv with Python 3.10
# install dependencies
python -m pip install --upgrade pip setuptools wheel
pip install git+https://github.com/numpy/numpy.git
pip install git+https://github.com/pytest-dev/pytest.git
pip install git+https://github.com/nedbat/coveragepy.git
pip install cython python-dateutil pytz hypothesis pytest-xdist

# build pandas
python setup.py build_ext -q -j4
python -m pip install -e . --no-build-isolation --no-use-pep517

# run the problematic test with coverage
coverage run -m pytest -m 'not slow and not network and not clipboard' pandas/tests/io/json/test_pandas.py

GitHub Action pull the py310-dev from https://github.com/actions/python-versions/releases. And the latest version is 3.10.0-beta.1

Just so you know, there is no 3.10 beta yet: https://github.com/actions/setup-python/issues/207

Thanks for the instructions.  On my Mac I finally got numpy installed with Python 3.10, but the final test command skipped all the tests:
 coverage run -m pytest -m 'not slow and not network and not clipboard' pandas/tests/io/json/test_pandas.py

======================================================================= test session starts =======================================================================
platform darwin -- Python 3.10.0a7, pytest-6.3.0.dev399+g2049ae271, py-1.10.0, pluggy-0.13.1
rootdir: /private/tmp/pandas, configfile: pyproject.toml
plugins: hypothesis-6.10.1, xdist-2.2.1, forked-1.3.0
collected 581 items

pandas/tests/io/json/test_pandas.py sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss

======================================================================== warnings summary =========================================================================
pandas/compat/numpy/__init__.py:3
  /private/tmp/pandas/pandas/compat/numpy/__init__.py:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils.version import LooseVersion

-- Docs: https://docs.pytest.org/en/stable/warnings.html
------------------------------------------------------ generated xml file: /private/tmp/pandas/test-data.xml ------------------------------------------------------
====================================================================== slowest 30 durations =======================================================================
0.03s teardown pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_roundtrip_mixed[records-True-True]

(29 durations < 0.005s hidden.  Use -vv to show these durations.)
================================================================= 581 skipped, 1 warning in 1.32s =================================================================

Thanks for the steps.  Once I finally got numpy installed on my Mac, I ran your command and all the tests were skipped, because of the 3.10 skip in test_pandas.py.  For others trying to reproduce this, it will help to create a branch in the pandas repo without that line.
When I commented out the skip, the tests ran, but crashed instead of hung:
 coverage run -m pytest -m 'not slow and not network and not clipboard' pandas/tests/io/json/test_pandas.py

======================================================================= test session starts =======================================================================
platform darwin -- Python 3.10.0a7, pytest-6.3.0.dev399+g2049ae271, py-1.10.0, pluggy-0.13.1
rootdir: /private/tmp/pandas, configfile: pyproject.toml
plugins: hypothesis-6.10.1, xdist-2.2.1, forked-1.3.0
collected 581 items

pandas/tests/io/json/test_pandas.py .........................................................................................................................x...x...........x...x...........x...x...........x...x............xx..xxxxxxxxxx..............................................xx..xx..xx..xx........................................................................................................................................................................................................................................Fatal Python error: Segmentation fault

Current thread 0x000000011948bdc0 (most recent call first):
  File "/private/tmp/pandas/pandas/tests/io/json/test_pandas.py", line 1197 in test_tz_is_utc
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/python.py", line 185 in pytest_pyfunc_call
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/python.py", line 1652 in runtest
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/runner.py", line 168 in pytest_runtest_call
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/runner.py", line 261 in <lambda>
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/runner.py", line 340 in from_call
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/runner.py", line 260 in call_runtest_hook
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/runner.py", line 221 in call_and_report
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/runner.py", line 132 in runtestprotocol
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/main.py", line 352 in pytest_runtestloop
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/main.py", line 327 in _main
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/main.py", line 273 in wrap_session
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/main.py", line 320 in pytest_cmdline_main
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/config/__init__.py", line 165 in main
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/_pytest/config/__init__.py", line 188 in console_main
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/pytest/__main__.py", line 5 in <module>
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/coverage/execfile.py", line 247 in run
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/coverage/cmdline.py", line 746 in do_run
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/coverage/cmdline.py", line 588 in command_line
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/lib/python3.10/site-packages/coverage/cmdline.py", line 871 in main
  File "/usr/local/virtualenvs/tmp-38009ba9b861cca/bin/coverage", line 8 in <module>

Extension modules: numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg.lapack_lite, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, pandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.np_datetime, pandas._libs.tslibs.nattype, pandas._libs.tslibs.timezones, pandas._libs.tslibs.ccalendar, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.strptime, pandas._libs.tslibs.fields, pandas._libs.tslibs.timedeltas, pandas._libs.tslibs.timestamps, pandas._libs.properties, pandas._libs.tslibs.offsets, pandas._libs.tslibs.parsing, pandas._libs.tslibs.conversion, pandas._libs.tslibs.period, pandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.missing, pandas._libs.hashtable, pandas._libs.algos, pandas._libs.interval, pandas._libs.tslib, pandas._libs.lib, pandas._libs.hashing, pandas._libs.ops, pandas._libs.arrays, pandas._libs.index, pandas._libs.join, pandas._libs.sparse, pandas._libs.reduction, pandas._libs.indexing, pandas._libs.internals, pandas._libs.writers, pandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.reshape, pandas._libs.groupby, pandas._libs.parsers, pandas._libs.json, pandas._libs.testing, _scproxy (total: 56)
zsh: segmentation fault  coverage run -m pytest -m 'not slow and not network and not clipboard'

Any idea why?

Has this improved with the later 3.10 betas?

Has this improved with the later 3.10 betas?

The root cause of this problem is a segfault from pandas' json extension on Python 3.10 (https://github.com/pandas-dev/pandas/issues/42130). When testing locally, we can see the segfault directly. But, it somehow freezes the CI.
Right now that segfault is magically disappeared. We haven't look into it yet.


Create .spi.yml

This adds support for a documentation link on the Swift Package Index.

Motivation:
This will make the existing documentation easily accessible in usual place on the Swift Package Index.

Thanks! I have to double check what to do with this, will report back shortly! :)

Hey, I didn't want to cause any friction with this! I was just starting to play around with beta 3 and thought it'd be nice to have the documentation link in the (for me) usual place :)
Feels free to close this again if this messes up plans.

Closing this since we are setting up DocC doc on SPI.com: https://github.com/apple/swift-distributed-actors/pull/1093


Where to get query nouns?

Hello,
I'm trying to add some features to your existing solution (delete chat for now), I have only one question.
Where do you get all these nouns used in writebinary, query.
I mean like "exist", "remove", "status" etc.
Thanks a lot!

Basically you have to debug the whatsapp-web javascript file. Search for the send method of the websocket and set a breakpoint there. The execution will hold on every message/request send to the servers. You should be able to see a debugObject which holds all protobuf definitions and all pramameters used for sending.

Duplicate of #67


[BugFix] avoid cost overflow

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #15475 #15185
Problem Summary(Required) ：

When there is a lot of cross join, the cost increases rapidly and easily touch the maximum value of double type.  There are three places where easily occured the overflow error.

calculating cross join cost in join reorder phase
calculating cross join output row count in calculating statistics phase
calculating cross join outputSize in enforce and record cost phase

This pr limits the maximum cost/rowCount/outputSize to avoid the problem of overflow.
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:heart_eyes: pass : 24 / 26 (92.31%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/Statistics.java
4
5
80.00%
[131]

:large_blue_circle:
com/starrocks/statistic/StatisticUtils.java
11
12
91.67%
[284]

:large_blue_circle:
com/starrocks/statistic/StatsConstants.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/JoinOrder.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/cost/CostModel.java
2
2
100.00%
[]

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 24 / 26 (92.31%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/Statistics.java
4
5
80.00%
[131]

:large_blue_circle:
com/starrocks/statistic/StatisticUtils.java
11
12
91.67%
[284]

:large_blue_circle:
com/starrocks/statistic/StatsConstants.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/JoinOrder.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/cost/CostModel.java
2
2
100.00%
[]

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 24 / 26 (92.31%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/Statistics.java
4
5
80.00%
[131]

:large_blue_circle:
com/starrocks/statistic/StatisticUtils.java
11
12
91.67%
[284]

:large_blue_circle:
com/starrocks/statistic/StatsConstants.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/JoinOrder.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/cost/CostModel.java
2
2
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test


[bug] setting 'translate-x-full' or other translate related class names does not work.

setting translate-x-full or other translate related class names does not work but setting same with style attribute works fine. I saw the css output but there is no css property related to this class name. So the problem is either with windicss itself or the 'vite-plugin-windicss' plugin.
related output: .translate-x-full {     --tw-translate-x: 100%; }

I am sorry the problem was that I did not include transform class name before. But why is that there is so many unnecessary code for just transform-x that includes other transforms that I did not include in my code?

https://github.com/windicss/vite-plugin-windicss/issues/197#issuecomment-864362523


Update Emby component to async

Description:
This is a complete re-write of the Emby component (and associated pyEmby library) to be fully async and utilize websockets for device updates.
There are two main user-facing changes from the existing library, one breaking and one new feature.

The breaking change is the device naming scheme.  The old method made it too easy to end up with multiple devices with the same name.  The new way includes both the device client type and name in the title.
The new feature is the ability to automatically hide "off" players from the UI.  Emby doesn't allow for device on/off control so enabling the "auto_hide" function will keep devices that can't be controlled from cluttering up the UI.

The is also my first attempt at doing things in the async world, so even though I've been testing this locally for a couple weeks now, any input is very much appreciated.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2274
Example entry for configuration.yaml (if applicable):
media_player:
  - platform: emby
    host: <IP_ADDRESS>
    ssl: False
    api_key: key
    auto_hide: True

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

We have some massive changes coming into hass for plex and emby. I might need to re-evaluate these media servers in the context of hass now.

@pvizeli I was originally going to remove the entities, but ended up switching to hiding them for two reasons.  First being keeping them available to catch off state transitions for automation purposes, second being I could not get hass to re-add a device with the same ID once it was removed.
Ultimately, hiding them seemed like the better option to me.

If a device is not available we should set the available property to false. That way we indicate that we once knew the device but now we are unable to reach it.

@pvizeli I thought the same would occur, but I did a test before committing the latest changes and setting the available property to False only sets the device to "unavailable".  It was still visible in the UI.


Improve Integration tests to check whether returned digests are actually valid

Describe the bug
In the integration tests, it is checked whether 'pod created'. However, this will even appear, if the digest is wrong and the image cannot be pulled.
Expected behavior
Integration test should fail, if the actual image cannot be pulled. To do so, the Pod Status must be checked

however, if connaisseur mixes up digests and those fail later, it is a Connaisseur issue. In a controlled environment, we should be checking the correct images spin up.

too much effort for marginal gains. reopen if someone actually wants to work on it, but otherwise it will be closed.


Rewrite Version Selection, Logging & more

We are still testing these changes internally and expect further changes as we work out kinks, but creating the PR now so that we can open up dialog about merging these changes upstream.
The bulk of the work in this PR was captured in https://github.com/digitalocean/github-pr-resource/pull/1

@itsdalmo I just merged the latest features into our fork, makes this a good time to review my work before more conflicts are introduced.

Hi @christophermancini and thank you for the PR! There seems to be a lot of useful features in here, but it's pretty hard to review since it's such a big PR with lots of different features. Are there any particular features in this PR you'd want to see merged in upstream that we could focus on first? 🤔

@itsdalmo I completely understand that this is a massive PR. My original goal was to refactor the version selection, but then it was rabbit hole after rabbit hole.
My thoughts are, it might be best to merge this to a new branch upstream, maybe an v2-RC? This way, folks in the community can start playing with it and provide feedback, if all looks good, move forward with it in the future. I would be happy to continue to keep it merge-able for the foreseeable future.
We are currently using it internally at DO and making adjustments as we go to get it tuned.

At this point the resource is working quite well. There are edge cases where if a PR had more than one event in a very short time, the resource produces two versions for that PR when it should have only produced one. That being said, it does not appear to have missed any PRs over the last few weeks averaging 500 builds per day on one of our pipelines that it is implemented on.


Should Optix have its own resoucre variable similar to ogre?

Currently the Ogre and Ogre2 plugin leverage a separate environment variable/compiler definition to locate its resources (OGRE_RESOURCE_PATH and OGRE2_RESOURCE_PATH).  In the case Optix it is using the IGN_RENDERING_RESOURCE_PATH; should it have its own variable for locating Optix specific resources similar to how it is done in the Ogre and Ogre2 plugin?
https://github.com/ignitionrobotics/ign-rendering/blob/bdf08866775e7a3f0953f7a2b802577199247242/optix/src/OptixRenderEngine.cc#L83-L87

yeah that's a good idea. We should still keep the IGN_RENDERING_RESOURCE_PATH there for backward compatibility.
Removing this from Core Development since optix is lower priority now.


BREAKING CHANGE feat: new, side-effects less API

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Problem trying to install android-file-transfer

When I run the following command "brew cask install android-file-transfer" I get the following error:
Error: wrong number of arguments (1 for 0) while loading '/usr/local/Library/Taps/caskroom/homebrew-cask/Casks/android-file-transfer.rb'
:5:in `name'
:5:in `'
:in `'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask/source/path_base.rb:55:in `eval'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask/source/path_base.rb:55:in `rescue in load'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask/source/path_base.rb:52:in `load'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask/source/tapped.rb:28:in `load'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask.rb:124:in `load'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask/cli/install.rb:19:in `block in install_casks'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask/cli/install.rb:17:in `each'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask/cli/install.rb:17:in `install_casks'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask/cli/install.rb:6:in `run'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask/cli.rb:81:in `run_command'
/usr/local/Cellar/brew-cask/0.45.0/rubylib/cask/cli.rb:121:in `process'
/usr/local/bin/brew-cask.rb:42:in `'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Library/brew.rb:58:in `require?'
/usr/local/Library/brew.rb:142:in `'
I am not sure what the issue is but I just wanted to report it and see if someone else has a better idea of the issue.

Sorry I didn't see the update command on the front page, I thought I was up to date but apparently not. Everything works now.


Broadcast method

We need a way to broadcast a message to all workers of the pool. It might require introducing a new type of worker (GlobalPooledWorker?).

We can work around that for now by creating a number of normal PooledWorker instances, one for each native worker, and sending from them in a loop.


Update configuration screens to include Elytron resources and attributes

Elytron updates several subsystems such as: iiop-openjdk, messaging-activemq, datasource, resource-adapter, host/domain-controller or undertow.
Update the following subsystems to include new attributes and resources and take care of the alternatives behaviour:

[x] datasource/data-source
[x] datasource/xa-data-source
[ ] host/domain-controller
[ ] iiop-openjdk
[x] mail/server
[ ] messaging-activemq/jms-bridge
[ ] messaging-activemq/server
[ ] messaging-activemq/server/bridge
[ ] modcluster
[x] resource-adapters/resource-adapter
[x] resource-adapters/resource-adapter/connection-definitions
[ ] undertow/application-security-domain

I will work on undertow/application-security-domain

Thanks. I've started to implement building blocks for credential references [1]. My plan is to come up with some reusable code which we can use to add support for credential-reference across subsystems. I used [2] as a first use case.
[1] https://github.com/hal/hal.next/blob/develop/core/src/main/java/org/jboss/hal/core/subsystem/elytron/CredentialReference.java
[2] https://github.com/hal/hal.next/blob/develop/app/src/main/java/org/jboss/hal/client/configuration/subsystem/mail/MailSessionView.java

I removed modcluster from the list, as there is no credential-reference in it.


NetworkParams::timeToSlot - Giving wrong slot

NetworkParams::timeToSlot Looks like the Time diff calc is backwards?
Current:
let timeDiff = lastTime - time;
Should it be:
let timeDiff = time - lastTime;
Based on existing logic:
slot = 11144921
time =<PHONE_NUMBER>
currentTime =<PHONE_NUMBER>000 (this was true when I raised)
secondsPerSlot = 1
lastSlot = 11144921
lastTime =<PHONE_NUMBER> * 1000 =<PHONE_NUMBER>000
timeDiff =<PHONE_NUMBER>000 -<PHONE_NUMBER>000
Result: lastSlot + (timeDiff / (1000 * secordsPerSlot) or
11144921 + ( -23898000 ) / (1000 * 1)
Result: 11121023
Expect: 11168819
https://github.com/Hyperion-BT/Helios/blob/main/helios.js#L3172

You're completely right. Library has been update -> v0.8.3


QT: add last block hash to debug ui

Trivial addition to display last block hash next to last block time

Linter is unhappy, see 4566bdc9f47503e56c0e304a9053fc99b9241129

Linter still complains, pls apply 1532975fc3


Wrong real orbital definition in wiki

https://gitlab.rzg.mpg.de/nomad-lab/nomad-meta-info/-/wikis/metainfo/m-kind
section real_orbital l=2, m=3 is now zy but should probably be xz (see https://en.wikipedia.org/wiki/Atomic_orbital#Orbitals_table)

Closing it as our new schema treats orbital better (see AtomsState and OrbitalsState in the nomad-simulations schema).


Any way to have this working on < API 31 on Android?

I can't seem to get the camera on Android to work on less than API 31 (Android 12), neither in real devices nor emulators... I'd specifically need Android 11, but wondering what is the limiting factor, and if I could make my own compilation (if it's a "release" problem) for API 30

Okay, never mind... it seems to work on API 30, however the camera viewing control does not show when it's within a <Border> control (it works on Android 12).
Also, because of the inclusion of the Xamarin.AndroidX.Camera.* packages, you get a ton of CA1416 warnings ( Warning	CA1416	This call site is reachable on: 'Android' 30.0 and later. 'CameraViewExtensions.UseBarcodeReader(MauiAppBuilder)' is only supported on: 'Android' 31.0 and later.) when compiling for any version under 31...
... however, it seems to work in runtime, so I'll just suppress the warnings for the time being

I also encountered this problem. Android 11 can't be used either
message：
10-05 04:03:42.655	pixel_4_-_api_30	Error	420	Camera3-OutputStream	getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)

my physical device is running on Android 8 and i cant seem to be able to run and debug on an emulator

so I'll just suppress the warnings for the time being

Hey @javiercampos how did you supress the warning? Does it have a specific warning code?

Mmm yeah I know about pragmas, but my warning has happening in a XAML file 😬
Thanks for the reply though.

Mmm yeah I know about pragmas, but my warning has happening in a XAML file 😬 Thanks for the reply though.

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/errors-warnings#nowarn

That's for the .?sproj file I assume (XML, vs XAML) 😄  I could do that, but then I would ignore this warning for the whole app instead of in the specific place where I use the ZXing XAML tag 😭

That's for the .?sproj file I assume (XML, vs XAML) 😄 I could do that, but then I would ignore this warning for the whole app instead of in the specific place where I use the ZXing XAML tag 😭

Yes, that'd remove the whole analyzer warning for all the app... I'm not sure there's a way to specifically remove it only for this


Create one test for LanguageUtils.GetLanguageCode

This is a small PR that creates a new test file for the LanguageUtils class.
It also implements one test for the GetLanguageCode method (a theory with two expected results).
I don't know if you accept these kinds of PRs but I thought it would be a fair contribution.
MINOR: modified .gitignore so my .vscode folder wouldn't be commited.

@lsfgrd I accept any kind of contribution and yours is a good one, thank you!


Update java to resolve SonarCloud scanner issues

This bumps the java version to restore SonarCloud resumes working and enables other pipelines to work

@oformaniuk I assume you can look into the issue with sonarcloud as it is now saying the project doesn't exist?

Yes, there were no builds and it got removed 😔
I'll fix it today/tomorrow.


Cannot find module 'deasync'

When i using with an asynchronous Cookie store(e.g. redis-cookie-store)，the following error message occurs
Error: you should install deasync library when cookies.async_UNSTABLE is true.

I'm sure I set async_UNSTABLE option to ture, just like the sample code.
I found Cannot find module deasync through debugging, below is my screenshot of debug page

Moreover I also found that deasync is not in node_modules.

Move deasync dependencies to dependencies, Does this resolve the bug?

deasync is not required in most cases.
Therefore, deasync is peer depenencies, and if you need deasync, you should install it yourself.


Minor doc simplification, clarification, and cleanup.

The README.md docs look great! I made a few small changes for your consideration. What do you think?

The whitespace commit just adds/removes newlines, indentation, and line breaks at column 80 for consistency with other docs.
I removed a bunch of the optional properties of log, asset, and area JSON. It might be good to document all of them somewhere, but I think we can keep it simple for these examples.
Lastly, clarified that log, asset, and area types depend on installed modules.

Thanks for taking the time to clean this up!


Fixed Typo

Hey @EtienneBruines,
your PR does not fulfill our contribution guidelines.
For more information about our contribution guidelines, see https://developers.shopware.com/contributing/contribution-guideline/.


Unable to use the external_converters (Cannot find module 'zigbee-herdsman-converters')

zigbee2mqtt add-on version (if edge, please report commit hash):
Zigbee2mqtt Addon 1.15.0
Operating environment (HassOS, Virtual Machine, Device/platform running Home Assistant):
HassIO 0.115.6

Description of problem:
It's unable to start the z2m if adding the external converter.
The file freepad_ext.js is placed in the folder '/usr/share/hassio/share/zigbee2mqtt
We also tried the original sample freepad_ext.js file and the custom files and both of them did not work.
Your entire configuration from the frontend (with sensitive fields redacted):
// replace this line with your pasted configuration
data_path: /share/zigbee2mqtt
external_converters:
  - freepad_ext.js
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://core-mosquitto'
  user: u1
  password: p1
serial:
  port: /dev/ttyACM0
advanced:
  log_level: info
  pan_id: 6754
  channel: 15
  network_key:
    - x
    - x
    - x
    - x
    - x
    - x
    - x
    - x
    - x
    - x
    - x
    - x
    - x
    - x
    - x
    - x
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false
zigbee_shepherd_devices: true

Your logs from Home Assistant
https://pastebin.com/ARueGHSF

Could you also provide the content of your freepad_ext.js ?

Could you also provide the content of your freepad_ext.js ?
we also tried with default freepad_ext.js sample file from the link below and got error:
https://github.com/Koenkk/zigbee2mqtt.io/blob/master/docs/externalConvertersExample/freepad_ext.js

I've tested this and is indeed a problem. I've asked also on z2m project as I'm unsure if this is really a problem with the feature or a path problem on how we handle this in the add-on.

@dinhchinh82 Found the bug. If you want to test out the fix you can try using: https://github.com/zigbee2mqtt/hassio-zigbee2mqtt as repository.

@dinhchinh82 Found the bug. If you want to test out the fix you can try using edge version here: https://github.com/zigbee2mqtt/hassio-zigbee2mqtt as repository.

Great. Let me try the edge version then report you the result.

@dinhchinh82 make sure you install the new repository. You can use the stable version there as well, as it has the bug corrected (1.15.0-3)

@dinhchinh82 make sure you install the new repository. You can use the stable version there as well, as it has the bug corrected (1.15.0-3)

Just confused which is the new repository? could you help me how to install the stable version?
Thank you.

The new repository is: https://github.com/zigbee2mqtt/hassio-zigbee2mqtt

@ciotlosm I've tested your repo and it works. Can you  merge it to the official repo?
Thank you.

Hello,
I just added this new version of 1.15.0-3 from new repo https://github.com/zigbee2mqtt/hassio-zigbee2mqtt
and having problems with it.
Here is the log of module:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing...
[00:43:20] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing...
[00:43:21] INFO: MQTT service found, fetching server detail ...
[00:43:21] INFO: Previous config file found, checking backup
[00:43:21] INFO: Creating backup config in '/config/zigbee2mqtt/.configuration.yaml.bk'
[00:43:21] INFO: File devices.js found, copying to ./node_modules/zigbee-herdsman-converters/
cp: can't create './node_modules/zigbee-herdsman-converters/devices.js': No such file or directory
[cont-init.d] zigbee2mqtt.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

And here is my configuration:
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://core-mosquitto'
  user: zigbee2mqtt
  password: __REDACTED___
serial:
  port: /dev/serial/by-id/usb-Texas_Instruments_CC2538_USB_CDC-if00
advanced:
  log_level: warn
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  options: '-d -d'
  log: false
zigbee_shepherd_devices: true

Can someone please help?
P.S. Same happens with edge version...

@solevi it is recommended you move away from using devices.js workaround and migrate to use https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/blob/dev/zigbee2mqtt/DOCS.md#using-external_converters
@dinhchinh82 I will merge it at some point. Have to figure out how to merge functionality without breaking CI pipelines.
I will close this issue for now. @solevi feel free to open a new issue for the problem with devices.js as this was for zigbee-herdsman-converters

@ciotlosm have you merged this PR to the official 1.16 release yet?
Thank you.

Not yet, otherwise I would have reflected it in the changelog, but both repos now got the z2m bumped to 1.16.0.
In the long run https://github.com/zigbee2mqtt/hassio-zigbee2mqtt will become the official repo (also in docs) as it has faster pipelines and a much more stable workflow using dev branch for PRs and master only when builds are complete and version is stable.

@solevi it is recommended you move away from using devices.js workaround and migrate to use https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/blob/dev/zigbee2mqtt/DOCS.md#using-external_converters
@dinhchinh82 I will merge it at some point. Have to figure out how to merge functionality without breaking CI pipelines.
I will close this issue for now. @solevi feel free to open a new issue for the problem with devices.js as this was for zigbee-herdsman-converters

Hi, Thanks for answering.
My main problem is exactly this Cannot find module 'zigbee-herdsman-converters' error. This is the reason why I found this thread.
The module i wanted to use have zigbee-herdsman-converters as dependency.
When i am adding this module, the plugin is crushing.
here is my config:
data_path: /share/zigbee2mqtt
external_converters:
  - DIYRuZ_AirSense.js
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://core-mosquitto'
  user: zigbee2mqtt
  password: __redacted__
serial:
  port: /dev/serial/by-id/usb-Texas_Instruments_CC2538_USB_CDC-if00
advanced:
  log_level: info
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false
zigbee_shepherd_devices: true

And here is the log:
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-11-02T16_46_04_973Z-debug.log
2020-11-02T20:46:05: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2020-11-02T20:46:05: PM2 log: App [npm:0] starting in -fork mode-
2020-11-02T20:46:05: PM2 log: App [npm:0] online
><EMAIL_ADDRESS>start /zigbee2mqtt-1.16.0
> node index.js
internal/modules/cjs/loader.js:968
  throw err;
  ^
Error: Cannot find module 'zigbee-herdsman-converters'
Require stack:
- /share/zigbee2mqtt/DIYRuZ_AirSense.js
- /zigbee2mqtt-1.16.0/lib/util/utils.js
- /zigbee2mqtt-1.16.0/lib/util/settings.js
- /zigbee2mqtt-1.16.0/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/share/zigbee2mqtt/DIYRuZ_AirSense.js:5:5)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/share/zigbee2mqtt/DIYRuZ_AirSense.js',
    '/zigbee2mqtt-1.16.0/lib/util/utils.js',
    '/zigbee2mqtt-1.16.0/lib/util/settings.js',
    '/zigbee2mqtt-1.16.0/index.js'
  ]
}
npm
 ERR! code ELIFECYCLE
npm ERR! errno 1
npm
 ERR<EMAIL_ADDRESS>start: `node index.js`
npm ERR! Exit status 1
npm ERR!

Contents of the DIYRuZ_AirSense.js can be found here.

@solevi did you try the add-on from this repo: https://github.com/zigbee2mqtt/hassio-zigbee2mqtt ? There is still a bug (until I merge it here as well) with the version here.

@ciotlosm Really sorry for noise, for some reason i thought that i installed add-on from that repo...
Now everything is as expected, thank you very much!

hi, tried install the add-on from the new repo but it is unable to start because in doesn't find mosquitto. I correctly copied my old config (from old repo installation) to the new config-file. I also uninstalled the old installation. but it doesn't seem to recognize the server settings. What am I doing wrong?
log-output:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing...
[17:07:06] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing...
[17:07:07] FATAL: No internal MQTT service found. Please install Mosquitto broker
[cont-init.d] zigbee2mqtt.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

config:
data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://raspberrypi.local'
  user: mqtt_user
  password: '__redacted__'
serial:
  port: /dev/ttyACM0
advanced:
  log_level: info
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  options: '-d -d'
  log: false

@fabsss this is a bug caused by https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/blob/752b569062ed4eb5e81b191490955cba36102d93/common/rootfs/etc/cont-init.d/zigbee2mqtt.sh#L7

@fabsss can you test edge version from repo ?

I tried the edge-version from the "new" repro with the same results as above. I switched to the edge version of the non-fork repo and this seems to be working.

@fabsss can you post the log of the fork repo?

The log of the fork repo is the same as above. There was no difference between fork release (1.16) and edge version.

@fabsss did you remove and reinstall edge from fork? Without reinstall it will not fetch the new container. The startup message should be:
No internal MQTT service found and no MQTT server defined. Please install Mosquitto broker or specify your own.

This is the fix:

I'm quite sure that I removed the stable release and installed the edge version. Maybe something went wrong while doing it. I'd rather not uninstall the nonfork-version again since I just restored all my sensor names and associations because the database broke while switching the versions.
I'm just wondering why the original (non fork) edge version has external converter fix as well? Did the change make it into the release?

@fabsss switching between forks and edge/non-edge is seamless as long as you keep the same configuration. It reuses paths and database.
The non-fork has a fix because of https://github.com/Koenkk/zigbee2mqtt/pull/5027 which corrected the need for env variable injection. However we're going to migrate probably to the new fork as it uses better process management, so your feedback is valuable to avoid breaking it before we merge.

Very strange. I just uninstalled the non-fork edge and installed the fork edge version and now also the fork-version works.
Log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing...
[21:28:31] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing...
[21:28:33] INFO: MQTT available, fetching server detail ...
[21:28:33] INFO: Previous config file found, checking backup
[21:28:33] INFO: Creating backup config in '/share/zigbee2mqtt/.configuration.yaml.bk'
[21:28:33] INFO: Adjusting Zigbee2mqtt core yaml config with add-on quirks ...
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[21:28:35] INFO: Handing over control to Zigbee2mqtt Core ...

><EMAIL_ADDRESS>start /app
> node index.js

Zigbee2MQTT:info  2020-11-23 21:28:43: Logging to console and directory: '/share/zigbee2mqtt/log/2020-11-23.21-28-41' filename: log.txt
Zigbee2MQTT:info  2020-11-23 21:28:43: Starting Zigbee2MQTT version 1.16.1-dev (commit #9b79620)
Zigbee2MQTT:info  2020-11-23 21:28:43: Starting zigbee-herdsman (0.13.31)
Zigbee2MQTT:info  2020-11-23 21:28:46: zigbee-herdsman started
Zigbee2MQTT:info  2020-11-23 21:28:46: Coordinator firmware version: '{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"}'

I will release 1.16.1-1 on the fork with the fix.


Remove perl from documentation

Remove perl in front of pgbadger within documentation.
See comment https://github.com/darold/pgbadger/pull/504#issuecomment-500051470

FYI, the README file is auto-generated from file doc/pgBadger.pod with command:
pod2text doc/pgBadger.pod README

that mean that changes must be made in file doc/pgBadger.pod.
I've just applied your changes to this file, I've also replace tabulation by 4 space characters in the help message and in the doc.
Thanks for your help to improve pgBadger.

pod2text doc/pgBadger.pod README

that mean that changes must be made in file `doc/pgBadger.pod`.

Good to know, I was unsure.

I've just applied your changes to this file, I've also replace tabulation by 4 space characters in the help message and in the doc.

Sorry about that. Thanks.


Question regarding terrakube official documentation

Feedback
Hi !
Sorry for coming back to you again, I have a silly question regarding Terrakube documentation. I see that there is two different section for storage on the documentation

One for https://docs.terrakube.io/getting-started/deployment/storage-backend
One for https://docs.terrakube.io/getting-started/deployment/database-backend

I'm wondering if we need to set up both of these. If I set the postgresql db for the API will the workspaces states be stored in the DB or I do need to set up the storage back-end as well.
Also if the storage-backend stores workspace's backend, what is the default location for workspace state when the storage-backend is not set up ?
In fact, what's the actual difference between Storage backend and Database backend ?
Regards !

I hope this can answer your question:
We use it for 2 different purposes.
Storage backend is used to save all the terraform state file, terraform logs files, terraform state history files, terraform modules zip files.
Database backend is used to save the information about workspaces, jobs, modules, teams, etc

Ok thanks for your feedback !


Add adminApiAccessToken property to config

WHY are these changes introduced?
Currently, for custom store apps, the apiSecretKey is set to the Admin API access token (NOT the app's API secret key) which is used for authenticating API requests to Shopify.  However, the validation of HMAC (e.g., webhook requests) requires the app's actual API secret key, not the Admin API access token, leading to the processing of webhook events failing without a hacky workaround.
Fixes #772
Fixes #800
WHAT is this pull request doing?
Adds adminApiAccessToken parameter to config for when isCustomStoreApp is true.  This is then used for authenticating API requests.
apiSecretKey must now be set to the custom store app's API secret key, which is used to validate the HMAC of webhook events received from Shopify.
Type of change

[x] Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have used yarn changeset to create a draft changelog entry (do NOT update the CHANGELOG.md file manually)
[x] I have added/updated tests for this change
[x] I have documented new APIs/updated the documentation for modified APIs (for public APIs)

Would it be possible to just add the new adminApiAccessToken property, and:

For requests, we doaccessToken = config.adminApiAccessToken || config.apiSecretKey

For HMAC, we continue to use apiSecretKey to validate


Post-release: update lock and update to latest ggshield

Note about the lock: we get rid of the darwin related dep introduced by mistake before the release.

Codecov Report

Merging #757 (b59b061) into main (e2a5c29) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head b59b061 differs from pull request most recent head 5d1545b. Consider uploading reports for the commit 5d1545b to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main     #757   +/-   ##
=======================================
  Coverage   92.43%   92.43%
=======================================
  Files         155      155
  Lines        6333     6333
=======================================
  Hits         5854     5854
  Misses        479      479

Flag
Coverage Δ

unittests
92.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Testing checking width of element

Fixes JIRA ticket xxx
This PR does the following:

How has this been tested?

Accessibility concerns or updates

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] Review the Vercel preview deployment once it is ready.

Closing, but maybe we can revisit part of this again later on.


[Fix] repeat type in action: bool to int

A poor bool was forgotten in the v1.1.0 refactor. It's evolving! bool is now int64_t!
Why: with bool any repeat is converted to 0/1.

Turns out this was already discovered (#118)


New Electron Cash update does not import my BCC from Private Seed

I have been trying for weeks, spending hours on end trying to get my BCC to no avail. My origional problam had to do with how I set up 2FA.
Bitcoin Cash suggests to use this wallet, but does so in a way without verification themselves.
I was excited to see new version of Electon Cash available but when I entered my seed, my new wallet shows a zero balance on my Windows computer. On my mac it shows the full balance though which is interesting.
I have my Private key, hundreds of numbers. I have my wallet address where it's stored. I have my seed info. What can I do to get my new wallet to work. Sweep function does not let me do anything when I enter my private key, the button does not highlight.
I copy my private key from export and put it right into the private key sweep on the new non-2fa wallet and again, the sweep doesn't work. Can we get a new 2.9.4 where this works? It will solve my problem and probably for thousands of others.
All other wallets will not work, I can't try Coinomi because I don't have android. BitcoinABC and Bitcoinunlimited along with BXT require these full node downloads that I can't do on my laptop.
Are there any other solutions short of paying a hacker to hack your program? I'm out of ideas. I have tried everything. CVC files and Json files do nothing, or I don't know how to use them.
Any ideas?

see #41


Errors/Failures Return Zeroes

Courtesy of a submission from DH:

Also, could the CLI return a failure code on failures? Currently it returns 0 on both success and failures.

So we need to ensure that all error/failure conditions return a non-zero exit code. I suspect that this may possibly be due to some issues with python-click, and I'm not sure this universally happens, but we'll need to investigate it.
Thank you DH!

Hi,
I am writing some bash scripts using the cloudsmith CLI.
While testing for an error status on exit I found the following:
I used an incorrect API host and got the following error from the cloudsmith CLI
Failed to get list of entitlements! (status: 404 - Not Found)
However the exit status is 0 (zero) indicating success.
I'm adding the comment here as it seems related to this request from 2018.
Cheers
Emmet

Thanks for the report Emmet, we'll check this one out for you.

I've tried reproducing but can't seem to trigger a 404 without also producing a non-zero exit code on my machine (latest CLI, Python 3.8, Mac).
If possible could you provide a little more detail to help me reproduce? any (redacted, without auth details) config or commands used would be helpful, as would details of the OS/Python versions etc. If you'd prefer you can also provide the info over on<EMAIL_ADDRESS>(or via intercom on the site) instead, whatever's easier for you.
Thanks!

Sure no prob,
Ubuntu 20.4 using Kernel 5.7 latest release candidate
CLI Package Version: 0.21.0
API Package Version: 0.49.118
Python 3.8.2
But I found the problem.
I'm using bash and this is the relevant line.  The response was always 0
even with the call failed.
Notice I have used the wrong host name to produce an error.
local entitlements=$(cloudsmith list ents -F pretty_json --show-tokens \
                                --api-key $cloudsmith_api_token \

                                --api-host https://www.api.cloudsmith.io

--api-user-agent $cloudsmith_user \
                                $cloudsmith_repo)

When it worked for you I then stripped it back to the call on its own and
sure enough it worked (sorry about that).
Anyway it turns out the problem is the assignment of the output to a local
variable seems to clobber the exit code.
When I use a global variable as follows:
entitlements=$(cloudsmith list ents -F pretty_json --show-tokens \
                                --api-key $cloudsmith_api_token \

                                --api-host https://www.api.cloudsmith.io

--api-user-agent $cloudsmith_user \
                                $cloudsmith_repo)

Then it works. So assignment to a global variable does not clobber the exit
code.
I need to go read about 'local' in bash.
Thanks for the response.
Emmet
Emmet Townsend, VP Engineering
Contact | +44.759.023.8177 (M)
Connect | Twitter https://twitter.com/emmettownsend, LinkedIn
https://www.linkedin.com/in/emmettownsend, WebID
https://emmettownsend.inrupt.net/profile/card#me
Explore | www.inrupt.com
On Mon, 25 May 2020 at 21:07, Patrick Carey<EMAIL_ADDRESS>wrote:

I've tried reproducing but can't seem to trigger a 404 without also
producing a non-zero exit code on my machine (latest CLI, Python 3.8, Mac).
If possible could you provide a little more detail to help me reproduce?
any (redacted, without auth details) config or commands used would be
helpful, as would details of the OS/Python versions etc. If you'd prefer
you can also provide the info over on<EMAIL_ADDRESS>(or via
intercom on the site) instead, whatever's easier for you.
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cloudsmith-io/cloudsmith-cli/issues/6#issuecomment-633702436,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN5EYKMPZ54UCYAM75UYTCTRTLFXVANCNFSM4E6FYDHA
.

--
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged, confidential
and/or proprietary information. If you are not the intended recipient of
this e-mail (or the person responsible for delivering this document to the
intended recipient), please do not disseminate, distribute, print or copy
this e-mail, or any attachment thereto. If you have received this e-mail in
error, please respond to the individual sending the message, and
permanently delete the email.

Not sure whether you use bash or any shell much but just in case you do or
a different customer has a similar problem.....
The solution is to declare the local variable before assigning a value to
it.
local entitlements
entitlements=$(cloudsmith list ents -F pretty_json --show-tokens \
                                --api-key $cloudsmith_api_token \

                                --api-host https://www.api.cloudsmith.io \

                                --api-user-agent $cloudsmith_user \

                                $cloudsmith_repo)

The local declaration happens after the completion of the command and so
it's the exit code from local that I get when I declare and assign on the
same line.
Emmet
Emmet Townsend, VP Engineering
Contact | +44.759.023.8177 (M)
Connect | Twitter https://twitter.com/emmettownsend, LinkedIn
https://www.linkedin.com/in/emmettownsend, WebID
https://emmettownsend.inrupt.net/profile/card#me
Explore | www.inrupt.com
On Mon, 25 May 2020 at 21:54, Emmet Townsend<EMAIL_ADDRESS>wrote:

Sure no prob,
Ubuntu 20.4 using Kernel 5.7 latest release candidate
CLI Package Version: 0.21.0
API Package Version: 0.49.118
Python 3.8.2
But I found the problem.
I'm using bash and this is the relevant line.  The response was always 0
even with the call failed.
Notice I have used the wrong host name to produce an error.
local entitlements=$(cloudsmith list ents -F pretty_json --show-tokens \
                                --api-key $cloudsmith_api_token \

                                --api-host

https://www.api.cloudsmith.io
--api-user-agent $cloudsmith_user \
                                $cloudsmith_repo)

When it worked for you I then stripped it back to the call on its own and
sure enough it worked (sorry about that).
Anyway it turns out the problem is the assignment of the output to a local
variable seems to clobber the exit code.
When I use a global variable as follows:
entitlements=$(cloudsmith list ents -F pretty_json --show-tokens \
                                --api-key $cloudsmith_api_token \

                                --api-host

https://www.api.cloudsmith.io
--api-user-agent $cloudsmith_user \
                                $cloudsmith_repo)

Then it works. So assignment to a global variable does not clobber the
exit code.
I need to go read about 'local' in bash.
Thanks for the response.
Emmet
Emmet Townsend, VP Engineering
Contact | +44.759.023.8177 (M)
Connect | Twitter https://twitter.com/emmettownsend, LinkedIn
https://www.linkedin.com/in/emmettownsend, WebID
https://emmettownsend.inrupt.net/profile/card#me
Explore | www.inrupt.com
On Mon, 25 May 2020 at 21:07, Patrick Carey<EMAIL_ADDRESS>wrote:

I've tried reproducing but can't seem to trigger a 404 without also
producing a non-zero exit code on my machine (latest CLI, Python 3.8, Mac).
If possible could you provide a little more detail to help me reproduce?
any (redacted, without auth details) config or commands used would be
helpful, as would details of the OS/Python versions etc. If you'd prefer
you can also provide the info over on<EMAIL_ADDRESS>(or via
intercom on the site) instead, whatever's easier for you.
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cloudsmith-io/cloudsmith-cli/issues/6#issuecomment-633702436,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN5EYKMPZ54UCYAM75UYTCTRTLFXVANCNFSM4E6FYDHA
.

--
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged, confidential
and/or proprietary information. If you are not the intended recipient of
this e-mail (or the person responsible for delivering this document to the
intended recipient), please do not disseminate, distribute, print or copy
this e-mail, or any attachment thereto. If you have received this e-mail in
error, please respond to the individual sending the message, and
permanently delete the email.


Location connections

Would it be possible to get information on which locations connect to each other? Or possibly a "region map" as a graph with nodes as locations, and connected nodes representing connected locations.

@sargunster currently the best we could do is just region->locations->location areas. If you could look over the data and see some way of creating a model for connecting locations to one another based of adjacency that might be a welcome addition

My first thought is an addition to the location object with a list of connections, like this example for kalos-route-1:
{
	"id": 622,
	"name": "kalos-route-1",
	"region": {
		"name": "kalos",
		"url": "http://pokeapi.co/api/v2/region/6/"
	},
	"names": [
		{
			"name": "Route 1",
			"language": {
				"name": "en",
				"url": "http://pokeapi.co/api/v2/language/9/"
			}
		}
	],
	"connections": [
		{
			"direction": "north",
			"location": {
				"name": "aquacorde-town",
				"url": "http://pokeapi.co/api/v2/location/588/"
			}
		},
		{
			"direction": "south",
			"location": {
				"name": "vaniville-town",
				"url": "http://pokeapi.co/api/v2/location/587/"
			}
		}
	],
	"game_indices": [],
	"areas": []
}

@sargunster how would you handle special cases where connections are not in a direction? Where is this information available already?

The information is on Bulbapedia articles for locations, under the "Connecting Locations" header: http://bulbapedia.bulbagarden.net/wiki/Kalos_Route_1
Could you give an example of one that's not in a direction?

@sargunster I seem to remember a few games having locations that you teleported into.
That information is great but not well structured, we'd need to either collect the data by hand (slow and prone to human error) or construct some scraping tool to automate the data gathering :)

Seems like some pages (like Santalune Forest) don't follow the same format as the others.

Just a thought. If we do end up wanting to generate our own CSVs, I feel like we might want to keep them separate of the veekun csvs. Somethling like
data/v2/veekun/ and data/v2/pokeapi juat to keep things clean and obvious

@zaneadix yes for sure. Or perhaps Veekun has plans to add this sort of data?

@phalt @zaneadix another thought.
How about a new repo only for the data? This could be done together with those from Veekun if they want.
Additional this new repo could be for all sort of pokemon data (like the card game (#76), sprites/images (#80), pokemon go (#90), location connections (this issue), …).
This would require some changes at the 'db data build script', but other projects could easily use this data (e.g. with git submodules).
There would be a separation of code and data, this would mean you could run an older version of the api with newer data or the other way around.
Updates of the data would mean update the local repo ant rerun the 'db data build script' and this would not change the source.


Milestone 5: Database Performance Analysis and Query Optimization

We use these queries for checking the performance of the database:

SELECT COUNT(*) FROM visits where animal_id = 4;
SELECT * FROM visits where vet_id = 2;
SELECT * FROM owners where email =<EMAIL_ADDRESS>

We use EXPLAIN ANALYZE on the previous queries to check what is happening.
We improve the execution time of all queries.

Before explain analyze SELECT COUNT(*) FROM visits where animal_id = 4:

After explain analyze SELECT COUNT(animal_id) FROM visits where animal_id = 4;

Before explain analyze SELECT * FROM visits where vets_id = 2;

After explain analyze SELECT animal_id, vets_id, date_of_visit FROM visits where vets_id = 2;

Before SELECT * FROM owners where email =<EMAIL_ADDRESS>
After explain analyze SELECT full_name, age, email FROM owners where email =<EMAIL_ADDRESS>

Thank you @Abenezer-Tilahun for your feedback :)


[Question about jointly the complete representation]

Dear authors,
Thanks for your impressive work!
In the "Full Pipeline" section, you mentioned that MoSca performs "Initialize the dynamic Gaussians G and jointly optimize the complete representation including the static background Gaussians, dynamic foreground Gaussians, the deformation motion graph, and cameras".
Will you still optimize the camera poses after the BA process in section 3.5?
Also, in section 3.5, you mention that "we jointly optimize a correction to depth Da[pa], consisting of per-frame global scaling factors and small per-pixel corrections". Can you provide more detailed descriptions for your depth alignment implementation and the camera poses training and representation?

Thank you. Your explanation is really helpful.


Benji/connection after save

I am trying to accomplish two things.

Handle scenario where a connection needs to be created for a user that doesnt exist yet
Know which connections a user is responsible for by having the connections saved to the user in afterSave webhook.

[x] 1. Handling this and tested in cloud.createConnection.test.js (3rd test --> "should return a new Connection if given phoneNumber is not linked to any existing user")
[x] 2. I'm not sure if adding the relation will work in this way, because we are already managing the relation in the "Connections" join table. So, to get all connections for a user, I made getConnections endpoint in cloud code, no request body needed. Returns all connections for requesting user, in an object with incoming and outgoing keys.  see https://docs.parseplatform.org/js/guide/#using-join-tables


refactor: improve foundry_zksync_core::vm::runner

Motivation
The foundry_zksync_core::vm::runner module seems to have grown rather large, with plenty of zkEVM operations, as well as containing internal primitivs (inspect) that are necessary for these operations to succeed.
Also, with the recent addition of batched factory deps (#412) some of the readibility has decreased, since now create has to deal with this, somewhat obscuring the rest of the business logic of the function.

Solution
Extract batching factory deps functionality in a few more functions and provide adapters were necessary, increasing keeping logic local.
Additionally, move inspect-family of operations into a separate module, keeping these primivites separate from the other operations that rely on them.

Some of these changes were also done keeping in mind that we'd like to add this functionality elsewhere as well, thus having some of this in separate functions will help with code reuse


Added Security advisories.

Package to check for known security vulnerabilities on installed dependencies
https://github.com/Roave/SecurityAdvisories
btw I also run a composer update.

Pull Request Test Coverage Report for Build 89

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.861%

Totals

Change from base Build 88:
0.0%

Covered Lines:
443

Relevant Lines:
467

💛  - Coveralls

Thanks!


Units

We have encountered problems with the units conversion.
An option could be eliminate it (but can we do that? Or is it something that Luca should do?)
Waiting more info from Michele:
if we use meters, is everything ok, or we still have problems?

If we use meters I think everything is ok, at least I haven't encountered  issues

Question:
I have no prejudice against setting everything into meters. However there is something which is still not totally clear:
-How would it be related with OASYS from Luca? Is this a change that we are coordinating with Luca, or is it something that we would do on our own?
-Interaction between WISER and rest-of-the-world (SRW, SHADOW),  backcompatibility etc could present some issues?

He mentioned that it would be good to have everything in metres
SRW is in metres, does not take into account OASYS built-in system for units. SHADOW is anyway raytracing.

Yeah, I remember you commented on Luca's point. But who is doing that? He or you? Will be the old *.ow files working with no problem? (I guess so, as he would not undertake such a decision).

But SRW is already in metres, only SHADOW supports this feature (and now Wiser (not :) ))

Should I go ahead with this - keep all units in m?

I double checked with Luca (I asked him some general clarification, all things you probably already knew).
Yes, let's go on!
We should improve the formatting for certain specific "sizes". For instance, using meters for the detector size is uncomfortable

but if we could use scientific formatting (%0.2e, for example), I it would just be ok. The same for the slit size.
There is no general rule, but typically

longitudinal distances are big numbers, so scientific notation might not be necessary
some transverse lengths are small numbers (slit size, detector size), so exponential notation would help
other transverse lenghts are in between (e.g. mirror lenght), so again scientific notation is not necessary.

how about that?

I can investigate that, yes. We can also use another unit, such as mm or um (for slit size and/or size of detector).
I'll remove the unit switching...

The question is whether to hardcode the unit (um, mm, m) or give visual aid with the format.
If the second options is doable, I let's try with that. There are pros and cons in both cases. Let's take the more general one.
double check: You are going the unit switching only from wiser widget, right? So ShadowOUI will still be affected (as stated in the disclaimer) but all the rest of the world, not.

It's just about WIser, it's all coded in each individual widget...

Allright. Let's go for it, if not gone yet.

I removed the unit switcher entirely. I think with line edits it is not possible to change the display format to scientific. You can input in scientific format, e. g. 1e-6, but display will be in decimal numbers.

Subclassing PyQT classes (as Luca suggests) is not an option right now.
I don't know how you are settings the string in the text box. If you use the method setNum(), you can probably set the format
https://doc.qt.io/qt-5/qstring.html#setNum-9
(

If you can get it through with that, good. It would be greatly reccomended, as no extra conversion code is necessary (with possible errors).
If not, let'sjust hardcode the units to save time.

This has to be investigated a bit better, maybe with Luca. I did something, but my knowledge of (Py)Qt is not sufficient to make a bulletproof and nice solution.


RStudio Server 1.4.1717

What you have works great for RStudio Server 1.3.959 however I had issues when using it with RStudio Server 1.4.1717. It seems I could never get connected to the RStudio Server session. Any chance you could add support for RStudio Server 1.4.1717? Unfortunately, it appears in order to use R 4.1.0 in RStudio Server one needs to use 1.4.1717 due to the R graphics engine  version 14 in R 4.1.0 not being supported by any older versions of RStudio.

That's correct. RStudio Server 1.4.XXX requires some updates. While we were not able to get this to work, some folks did post success stories on the OOD discourse page. I believe it starts around https://discourse.osc.edu/t/rstudio-when-launched-without-singularity-is-having-strange-troubles-with-authentication/1213/32?u=maflister.
Also, I was not aware that R 4.1.0 had a dependency on 1.4.1717. We're still using R 4.0.4 and RStudio Server 1.3. Hopefully the discourse discussion helps!

We did finally get 1.4 working. Please check new branch "rstudio-1.4-updates". You could also download files from tag v1.3.0. Let us know if that works for you.

Thanks so much for doing these updates! I tried out the updated app using RStudio Server 1.4.1717. I slightly modified the form.yml,  submit.yml, and manifest.yml files for our site. In template/script.sh.erb I changed some of the boilerplate code at the top to correspond to our modules, but kept everything below the # Start RStudio Server line. At any rate, when I click on "Connect to RStudio Server" button I get an error message "Error: Temporary server error, please try again." Do you have any idea why this might be happening? I tried entering in the password from the session connection.yml file and my user id but that then throws a "requested page not found" error.

Do you see an entry for a csrf_token in your connection.yml file?

Hey, I don't see a crsf_token field in the connection.yml file. All I see are entries for host, port, and password. It looks like the contents of connection.yml are set according to the view.html.erb file? I definitely didn't change the view.html.erb file. I see the tag in view.html.erb specifying "crsf-token" but unfortunately that doesn't appear in the generated connection.yml file.

The csrf_token is defined in before.sh.erb. Then the conn_params setting in submit.yml.erb adds it to the connection.yml and makes it available to use in view.html.erb. If you don't see it in connection.yml, then please run another job and check if you see a csrf_token in the before.sh file.


Fix miss-leading documents.

Not sure if any body has followed the documents to worked with PWM, but it is totally misleading.
I spent hours doing research finally was able to figure this part out by looking at the snippet code provided by @scottellis https://github.com/scottellis/pwmpy
In the code:
Original mapping
PWM(channel, pin) is  WRONG
instead, it actually should work like this:
PWM(channel-->chip/pin, pin-->channel)
e.g.
with the example from the README
# Open channel 0, for pin 10
PWM(0,10) --> it sounds like should export the following :
/sys/class/pwm/pwmchip10/pwm0

but what it is actually doing is: (open chip/pin 0, with the 11th channel)
/sys/class/pwm/pwmchip0/pwm10

so the paramer should be passed in as this
PWM(pin, channel)
so the the example from the README become
# Open channel 0, for pin 10
PWM(10,0)
/sys/class/pwm/pwmchip10/pwm0

add additional info:
# You can figure out the pin number by run  'ls /sys/class/pwm' list of pwmchip# - # will be the pin number
# You can figure out how many channel are supported for the pin
# by run 'cat /sys/class/pwm/pwmchip0/npwm' - pwmchip0 as example

I see the source of the confusion. It seems that the underlying sysfs interface has one flat list of PWM channels ranging from 0 to /sys/class/pwm/npwm, which organized in chunks at various /sys/class/pwm/pwmchipN chips, each of which start at channel base N.
To fix this, the PWM constructor should really just accept a channel number and find the right channel under one of the pwmchip bases or write /sys/class/pwm/export export it. I'll fix this for 1.2.0.


Retrieve list of mowers

The user interface will need a means of accessing a list of mowers as available options to control within the platform.

User interface doesn’t do it, but the client is now present.


Feature - more options to connect

Please expose more or all options available when connecting to cassandra:
http://docs.datastax.com/en/drivers/nodejs/3.0/global.html#ClientOptions
Thanks for your extension it's briliant :)

I will certainly add this. I am just deciding how if I should let the user define a generic object or not. It seems like it would be superfluous to expose the options individually.

Also, thanks for the support! It definitely helps me stay focused.


feat: fixed return type when withScore is passed + optimized readability and speed of search function + fixed bug when withScore is true and search text is empty

closes #6

:tada: This PR is included in version 1.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


HTTP/2 Test stabalization

#3009 These tests were flaky after we added resets for incomplete request bodies. There's a race between processing the data in the last frame, reacting to the error, and setting the end-of-stream flag. The simplest solution is to force the race by not sending the end-of-stream flag when where testing error conditions.

Why are the linux tests failing? I haven't seen them fail in this way before.


global static property?

I'm writing a component that requires a global or static property such that when this property is changed multiple instances of the same component are updated.
In my case it's an image with a source that can be set by the user. When the image source is changed on one component all other components should update to the new source (image).
To do this I tried using a static getter setter however it does not seem to work:
  static get properties(){
    return {
      src: {type:String}
    }
  }

  static _src = ""
  static set src(value) {
    var oldValue = this._src
    this._src = value
    this.requestUpdate('src',oldValue)
  }

  static get src() {return this._src}

In order to have a single property change affect all instance of a component you're going to need to build a registry of instances. this inside of a static method refers to the constructor, not the instance, so this.requestUpdate() will not work.
You can use a Set for the registry, but to avoid a memory leak you'll have to remove the element at some point, so I'm using connect/disconnected here:
class MyElement extends LitElement {

  static _src = '';
  static get src() {
    return this._src;
  }
  static set src(value) {
    const oldValue = this._src;
    this._src = value;
    for (const instance of this._instances) {
      // I just created this name... other code, like in update() will have to
      // know it's not an instance property. You can leave the parameters out too.
      instance.requestUpdate('MyElement.src', oldValue);
    }
  }

  static _instances = new Set<MyElement>();

  connectedCallback() {
    super.connectedCallback();
    this.constructor._instances.add(this);
  }

  disconnectedCallback() {
    super.connectedCallback();
    this.constructor._instances.delete(this);
  }
}

Thanks for the help!


Support plan parameters of TypedDict, Dataclass, BaseModel that include devices, collections of devices

Extends #506
Plans that have parameters of e.g.
def foo_plan(thing: TypedThing):   ...
where
class TypedThing(TypedDict):   x: Readable
or
@dataclass class TypedThing:   x: Readable
or
class TypedThing(BaseModel):   x: Readable
Should be able to have their schemas generated and presented from /plans, and these plans should be runnable with x being passed as a reference to a device (i.e. parameters = {"x": "stage_x"})

Note that the "idiomatic way" does not work
    x: Motor = inject("x")
    y: Motor = inject("y")
    det: Eiger = inject("det1")```


3rd Party Integrations

Hi,
Can this be integrated into 3rd party tools like canny.io, productboard.com etc
so that devs can actively work in an elaborate feedback backend.

Hello @davidjeba
There is SuggestionsDataSource, and you can implement as you want.
Also we created a package for Firestore. You can check its implementation and create your own datasource.

https://developers.canny.io/api-reference#intro is the API for Canny.io
Can you help how it can be integrated, ill try it

You can create a class that extends SuggestionDataSource in your project and implement its methods to integrate with canny.io. For example:

You can send POST request in createSuggestion(CreateSuggestionModel suggestion) method to create suggestion (post) on canny.io
To get all suggestions or one specific suggestion you can send request to canny.io in getAllSuggestions() or getSuggestionById(String suggestionId) methods accordingly
To update suggestion (post) you can send request to canny.io in updateSuggestion(Suggestion suggestion) method
To delete suggestion(post) you can send request to canny.io in deleteSuggestionById(String suggestionId) method
To create comment for suggestion(post) you can send request to canny.io in createComment(CreateCommentModel comment)
To delete comment you can send request to canny.io in deleteCommentBuId(String commentId) method
To get all comments for suggestion(post) you can send request to canny.io in getAllComments(String suggestionId) method
To add vote to the suggestion(post) you can send request to canny.io in vote(String suggestionId) method
To delete vote from suggestion(post) you can send request to canny.io in downvote(String suggestionId)
To subscribe the user to the status changes of the suggestion(post) you can send request to canny.io in addNotifyToUpdateUser(String suggestionId)
To unsubscribe the user from the status changes of the suggestion(post) you can send request to canny.io in deleteNotifyToUpdateUser(String suggestionId) method

Hope this helps


Datetime Picker Ignores provided time completely if Format parameter is provided.

The default format of Datetimepicker shows value as "August 24th 15:56" on the input. I want to format the data using format "yyyy/MM/dd hh:mm a". However, when any format is provided, the datetime picker simply igores the time part and shows datetime as "2020/08/Mo 12:00 am". I have called momentUtil (default stuff) on the root.
The problem is no matter what Time value is set or provided, it always shows 12:00 am on the screen. The value in the state is updated correctly but on the screen (Input of the Datetimepicker) it always shows only 12:00 am as the time.
Using exactly the same code as mentioned in the docs (I tried many scenarios as well).
Package.json
{   "name": "client",   "version": "0.1.0",   "private": true,   "dependencies": {     "@date-io/moment": "1.x",     "@material-ui/core": "^4.11.0",     "@material-ui/icons": "^4.9.1",     "@material-ui/lab": "^4.0.0-alpha.56",     "@material-ui/pickers": "^3.2.10",     "@testing-library/jest-dom": "^4.2.4",     "@testing-library/react": "^9.3.2",     "@testing-library/user-event": "^7.1.2",     "formik": "^2.1.5",     "formik-material-ui": "^3.0.0-alpha.0",     "formik-material-ui-lab": "^0.0.5",     "formik-material-ui-pickers": "^0.0.11",     "moment": "^2.27.0",     "react": "^16.13.1",     "react-dom": "^16.13.1",     "react-scripts": "3.4.3",     "yup": "^0.29.3"   },   "scripts": {     "start": "react-scripts start",     "build": "react-scripts build",     "test": "react-scripts test",     "eject": "react-scripts eject"   },   "eslintConfig": {     "extends": "react-app"   },   "browserslist": {     "production": [       ">0.2%",       "not dead",       "not op_mini all"     ],     "development": [       "last 1 chrome version",       "last 1 firefox version",       "last 1 safari version"     ]   } }

I'm seeing the same thing.
"dependencies": {
    "@apollo/client": "^3.1.3",
    "@date-io/moment": "^1.3.13",
    "@material-ui/core": "^4.11.0",
    "@material-ui/icons": "^4.9.1",
    "@material-ui/pickers": "^3.2.10",
    "@rehooks/component-size": "^1.0.3",
    "@testing-library/jest-dom": "^5.11.4",
    "@testing-library/react": "^10.4.9",
    "@testing-library/user-event": "^12.1.2",
    "@types/jest": "^26.0.10",
    "@types/node": "^14.6.0",
    "@types/react": "^16.9.46",
    "@types/react-dom": "^16.9.8",
    "@welldone-software/why-did-you-render": "^4.3.1",
    "apollo-boost": "^0.4.9",
    "cross-env": "^7.0.2",
    "graphql": "^15.3.0",
    "jsontokens": "^3.0.0",
    "moment": "^2.27.0",
    "query-string": "^6.13.1",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-router-dom": "^5.2.0",
    "react-scripts": "^3.4.3",
    "react-test-renderer": "^16.13.1",
    "recharts": "^1.8.5",
    "typeface-roboto": "0.0.75",
    "typescript": "^4.0.2"
  },

Getting same issue just that the date part is updating on screen and time part is not

Whats the value in your format strings?
yyyy/MM/dd hh:mm a - would be invalid for moment js.
YYYY/MM/DD hh:mm a - would work.
Check the Moment.js website for the right string types.
On that though Moment is an old out of date library which isnt worked on any more.
You guys might be better of moving to a newer library like date-fns which has new js features like tree shaking.
Re: Momenjs Project Status
You-Dont-Need-Momentjs
(Speaking on this after spening the day removing it from the project i'm currently working on).

The issue has been closed because it does not conform to our issue requirements.
Please provide a minimal reproduction test case with pickers v4 and core v5. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!


Unknown word error occurs on double slashed comments

Hello,
I am trying to parse my sass files but when I insert a comment with double slash or a javascript file reference for intellisense in Visual Studio 2017 I am getting the error I mentioned below.
/* Comment that working well */
// This comment will couse an error
My main objective is use the reference paths actually. Comments are not that important I can use the /**/ syntax anyways.
tcm -o lib -p ./**/*.scss src
[Error] CssSyntaxError: C:\C:\src\Component\assets\style.scss:1:1: Unknown word
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser
1   | /// <reference path="../../stylesheets/main.scss" / >
..    | ^
2   |
3   | @import 'mainstyles';`

@bertanyaman I also recently ran into this issue. If you're looking to support SASS consider looking at typed-scss-modules as well 👍


Test.py runs a test that hangs, but does not timeout on that test - dartk precomp debug

The test dartkb-vm debug_simarm64 -- standalone_2/io/http_bind_test
runs the runtime command
out/DebugSIMARM64/dart --enable_interpreter --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/DebugSIMARM64/generated_compilations/dartkb/tests_standalone_2_io_http_bind_test/out.dill
which seems to hang, but the timeout capability of test.py is somehow not happening - the process running this command should be terminated after a few minutes, and the result "Timeout" reported for this test.  This is not happening.  Instead, the debug timer for test.py fires, and shows a message and the task graph, and then test.py keeps hanging and running for 60 minutes until the shard timeout fires.
Figure out how a command can run, and not have a working timeout attached t it.

The failing build is https://ci.chromium.org/p/dart/builders/ci.sandbox/vm-dartkb-linux-debug-simarm64/510


CloudLib update, .Net6, Composition.ID

@scoxen1 Can you take a look if d6ef017ba6925c8378b81eca4964edc41ef904a3 is really needed? Couldn't get it to work on EF6 / .Net6 without this.


ir: Try to get C++ manglings with the appropriate API first.

As pointed out in #653, clang 3.8 asserts when trying to mangle a C++
constructor or a destructor.
The following patch tries to use the clang_Cursor_getCXXManglings function
first.
This assumes that the last mangling we're interested in is the proper one,
which seems to be true looking at LLVM, and on trunk on my machine.
Fixes #653

 Warning

These commits modify unsafe code. Please review it carefully!

Looking at https://github.com/Microsoft/clang/commit/cdfd2b5933f69a01946ff05cccb08f3fdfd11d80, I'm not sure getting the last destructor is going to be the right thing for windows... But I have no way to test it so far...

@bors-servo r+
Thanks :)

:pushpin: Commit 20d5140 has been approved by fitzgen

:hourglass: Testing commit 20d5140a1ac950a8499e357a51604c5032321cfd with merge 2af4f826579dc9e4f65e8934e77b25a77c711716...

:sunny: Test successful - status-travis
Approved by: fitzgen
Pushing 2af4f826579dc9e4f65e8934e77b25a77c711716 to master...


Is it possible to style individual tags differently?

I'd like to use a different colour for each tag - is that possible currently?
TIA
Dan

No, but it possible


"Lunca" is listed in the drop-down menu

Description:
"Lunca" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Lunca" in the search bar.

Expected results
The location is listed in the drop-down menu as "Lunca, Alba (Lupșa)".


IDVA3-1561 refactored and added tests for the start handler and router

renamed start handler
added unit tests for the start handler
refactored the start router

CI: Security warnings found!


Do not jump to end of text while editing (fixes #282)

Only move cursor index to end of buffer when focus is gained

Hi @dwuertz, this issue ended up being fixed in another PR along with several other fixes to the text input. I'll go ahead and close this as it's been fixed elsewhere but thanks for taking the time to work on the issue


Test against windows using Travis CI

Coverage remained the same at 100.0% when pulling 6270a9c1cce6378ab3644671026e82d4e5f81d23 on joshk:patch-1 into 7f1485b59b8fb10f58e1d1300fe89f020dc620cb on npm:master.


Update Installation Docs to use Docker

I will be abandoning these explicit tutorials on how to install these packages on every OS.  Docker will be the only "officially" supported way to install these going forward.

Changed my mind here.