Unable to lock packages

Issue description
When installing pylint with python 3.6.6 dependencies could not be resolved to lock.
On Centos 7, Python 2.7.5,  pipenv, version 2018.7.1, pylint was installed without any issues.
Also tested on docker python image, and it installs pylint without problems too. Looks like problem on my computer.
Expected result
pylint installed and dependencies locked
Actual result
$ pipenv install pylint --dev --verbose
Installing pytest...
⠋Installing 'pytest'
$ "/home/zlatin/.local/share/virtualenvs/test-eFOQM7NL/bin/pip" install   --verbose    "pytest" -i https://pypi.python.org/simple --exists-action w
Created temporary directory: /tmp/pip-ephem-wheel-cache-hbacn77b
Created temporary directory: /tmp/pip-install-mgeyrscs
Looking in indexes: https://pypi.python.org/simple
Requirement already satisfied: pytest in /home/zlatin/.local/share/virtualenvs/test-eFOQM7NL/lib/python3.6/site-packages (3.6.3)
Requirement already satisfied: attrs>=17.4.0 in /home/zlatin/.local/share/virtualenvs/test-eFOQM7NL/lib/python3.6/site-packages (from pytest) (18.1.0)
Requirement already satisfied: atomicwrites>=1.0 in /home/zlatin/.local/share/virtualenvs/test-eFOQM7NL/lib/python3.6/site-packages (from pytest) (1.1.5)
Requirement already satisfied: setuptools in /home/zlatin/.local/share/virtualenvs/test-eFOQM7NL/lib/python3.6/site-packages (from pytest) (39.2.0)
Requirement already satisfied: six>=1.10.0 in /home/zlatin/.local/share/virtualenvs/test-eFOQM7NL/lib/python3.6/site-packages (from pytest) (1.11.0)
Requirement already satisfied: py>=1.5.0 in /home/zlatin/.local/share/virtualenvs/test-eFOQM7NL/lib/python3.6/site-packages (from pytest) (1.5.4)
Requirement already satisfied: pluggy<0.7,>=0.5 in /home/zlatin/.local/share/virtualenvs/test-eFOQM7NL/lib/python3.6/site-packages (from pytest) (0.6.0)
Requirement already satisfied: more-itertools>=4.0.0 in /home/zlatin/.local/share/virtualenvs/test-eFOQM7NL/lib/python3.6/site-packages (from pytest) (4.2.0)
Cleaning up...
Adding pytest to Pipfile's [dev-packages]...
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
using sources: [{'url': 'https://pypi.python.org/simple', 'verify_ssl': True, 'name': 'pypi'}]
Using pip: -i https://pypi.python.org/simple
                      ROUND 1

Current constraints:
pytest (from -r /tmp/pipenv-3vdrjn2g-requirements/pipenv-cu1i7hpm-constraints.txt (line 2))
Finding the best candidates:
found candidate pytest==3.6.3 (constraint was )
Finding secondary dependencies:
pytest==3.6.3             requires atomicwrites>=1.0, attrs>=17.4.0, more-itertools>=4.0.0, pluggy<0.7,>=0.5, py>=1.5.0, pytest==3.6.3; python_version != "3.0." and python_version != "3.2." and python_version != "3.1.*" and python_version >= "2.7", setuptools, six>=1.10.0
New dependencies found in this round:
adding ['atomicwrites', '>=1.0', '[]']
adding ['attrs', '>=17.4.0', '[]']
adding ['more-itertools', '>=4.0.0', '[]']
adding ['pluggy', '<0.7,>=0.5', '[]']
adding ['py', '>=1.5.0', '[]']
adding ['pytest', '==3.6.3', '[]']
adding ['six', '>=1.10.0', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
Result of round 1: not stable
                      ROUND 2

Current constraints:
atomicwrites>=1.0
attrs>=17.4.0
more-itertools>=4.0.0
pluggy<0.7,>=0.5
py>=1.5.0
pytest==3.6.3 (from -r /tmp/pipenv-3vdrjn2g-requirements/pipenv-cu1i7hpm-constraints.txt (line 2))
six>=1.10.0
Finding the best candidates:
found candidate atomicwrites==1.1.5 (constraint was >=1.0)
found candidate attrs==18.1.0 (constraint was >=17.4.0)
found candidate more-itertools==4.2.0 (constraint was >=4.0.0)
found candidate pluggy==0.6.0 (constraint was >=0.5,<0.7)
found candidate py==1.5.4 (constraint was >=1.5.0)
found candidate pytest==3.6.3 (constraint was ==3.6.3)
found candidate six==1.11.0 (constraint was >=1.10.0)
Finding secondary dependencies:
pluggy==0.6.0             requires pluggy==0.6.0; python_version != "3.2." and python_version != "3.3." and python_version != "3.1." and python_version != "3.0." and python_version >= "2.7"
py==1.5.4                 requires py==1.5.4; python_version != "3.2." and python_version != "3.3." and python_version != "3.1." and python_version != "3.0." and python_version >= "2.7"
six==1.11.0               requires -
attrs==18.1.0             requires attrs==18.1.0
pytest==3.6.3             requires atomicwrites>=1.0, attrs>=17.4.0, more-itertools>=4.0.0, pluggy<0.7,>=0.5, py>=1.5.0, pytest==3.6.3; python_version != "3.0." and python_version != "3.2." and python_version != "3.1.*" and python_version >= "2.7", setuptools, six>=1.10.0
atomicwrites==1.1.5       requires atomicwrites==1.1.5
more-itertools==4.2.0     requires more-itertools==4.2.0, six<2.0.0,>=1.0.0
New dependencies found in this round:
adding ['atomicwrites', '==1.1.5,>=1.0', '[]']
adding ['attrs', '==18.1.0,>=17.4.0', '[]']
adding ['more-itertools', '==4.2.0,>=4.0.0', '[]']
adding ['pluggy', '<0.7,==0.6.0,>=0.5', '[]']
adding ['py', '==1.5.4,>=1.5.0', '[]']
adding ['six', '<2.0.0,>=1.0.0,>=1.10.0', '[]']
Removed dependencies in this round:
removing ['atomicwrites', '>=1.0', '[]']
removing ['attrs', '>=17.4.0', '[]']
removing ['more-itertools', '>=4.0.0', '[]']
removing ['pluggy', '<0.7,>=0.5', '[]']
removing ['py', '>=1.5.0', '[]']
removing ['six', '>=1.10.0', '[]']
Unsafe dependencies in this round:
Result of round 2: not stable
                      ROUND 3

Current constraints:
atomicwrites==1.1.5,>=1.0
attrs==18.1.0,>=17.4.0
more-itertools==4.2.0,>=4.0.0
pluggy<0.7,==0.6.0,>=0.5
py==1.5.4,>=1.5.0
pytest==3.6.3 (from -r /tmp/pipenv-3vdrjn2g-requirements/pipenv-cu1i7hpm-constraints.txt (line 2))
six<2.0.0,>=1.0.0,>=1.10.0
Finding the best candidates:
found candidate atomicwrites==1.1.5 (constraint was >=1.0,==1.1.5)
found candidate attrs==18.1.0 (constraint was >=17.4.0,==18.1.0)
found candidate more-itertools==4.2.0 (constraint was >=4.0.0,==4.2.0)
found candidate pluggy==0.6.0 (constraint was >=0.5,==0.6.0,<0.7)
found candidate py==1.5.4 (constraint was >=1.5.0,==1.5.4)
found candidate pytest==3.6.3 (constraint was ==3.6.3)
found candidate six==1.11.0 (constraint was >=1.0.0,>=1.10.0,<2.0.0)
Finding secondary dependencies:
pytest==3.6.3             requires atomicwrites>=1.0, attrs>=17.4.0, more-itertools>=4.0.0, pluggy<0.7,>=0.5, py>=1.5.0, pytest==3.6.3; python_version != "3.0." and python_version != "3.2." and python_version != "3.1." and python_version >= "2.7", setuptools, six>=1.10.0
six==1.11.0               requires -
pluggy==0.6.0             requires pluggy==0.6.0; python_version != "3.2." and python_version != "3.3." and python_version != "3.1." and python_version != "3.0." and python_version >= "2.7"
attrs==18.1.0             requires attrs==18.1.0
py==1.5.4                 requires py==1.5.4; python_version != "3.2." and python_version != "3.3." and python_version != "3.1." and python_version != "3.0.*" and python_version >= "2.7"
atomicwrites==1.1.5       requires atomicwrites==1.1.5
more-itertools==4.2.0     requires more-itertools==4.2.0, six<2.0.0,>=1.0.0
Result of round 3: stable, done
Locking [packages] dependencies...
using sources: [{'url': 'https://pypi.python.org/simple', 'verify_ssl': True, 'name': 'pypi'}]
Using pip: -i https://pypi.python.org/simple
                      ROUND 1

Current constraints:
pylint (from -r /tmp/pipenv-vl3wqwkc-requirements/pipenv-iugik4vt-constraints.txt (line 2))
pytest (from -r /tmp/pipenv-vl3wqwkc-requirements/pipenv-iugik4vt-constraints.txt (line 3))
Finding the best candidates:
found candidate pylint==1.9.2 (constraint was )
found candidate pytest==3.6.3 (constraint was )
Finding secondary dependencies:
pytest==3.6.3             requires atomicwrites>=1.0, attrs>=17.4.0, more-itertools>=4.0.0, pluggy<0.7,>=0.5, py>=1.5.0, pytest==3.6.3; python_version != "3.0." and python_version != "3.2." and python_version != "3.1.*" and python_version >= "2.7", setuptools, six>=1.10.0
pylint==1.9.2             requires astroid>=2.0.0.dev3, isort>=4.2.5, mccabe
New dependencies found in this round:
adding ['astroid', '>=2.0.0.dev3', '[]']
adding ['atomicwrites', '>=1.0', '[]']
adding ['attrs', '>=17.4.0', '[]']
adding ['isort', '>=4.2.5', '[]']
adding ['mccabe', '', '[]']
adding ['more-itertools', '>=4.0.0', '[]']
adding ['pluggy', '<0.7,>=0.5', '[]']
adding ['py', '>=1.5.0', '[]']
adding ['pytest', '==3.6.3', '[]']
adding ['six', '>=1.10.0', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
Result of round 1: not stable
                      ROUND 2

Current constraints:
astroid>=2.0.0.dev3
atomicwrites>=1.0
attrs>=17.4.0
isort>=4.2.5
mccabe
more-itertools>=4.0.0
pluggy<0.7,>=0.5
py>=1.5.0
pylint (from -r /tmp/pipenv-vl3wqwkc-requirements/pipenv-iugik4vt-constraints.txt (line 2))
pytest==3.6.3 (from -r /tmp/pipenv-vl3wqwkc-requirements/pipenv-iugik4vt-constraints.txt (line 3))
six>=1.10.0
Finding the best candidates:
Using pip: -i https://pypi.python.org/simple
                      ROUND 1

Current constraints:
pylint (from -r /tmp/pipenv-vl3wqwkc-requirements/pipenv-9xrpbekj-constraints.txt (line 2))
pytest (from -r /tmp/pipenv-vl3wqwkc-requirements/pipenv-9xrpbekj-constraints.txt (line 3))
Finding the best candidates:
found candidate pylint==1.9.2 (constraint was )
found candidate pytest==3.6.3 (constraint was )
Finding secondary dependencies:
pytest==3.6.3             requires atomicwrites>=1.0, attrs>=17.4.0, more-itertools>=4.0.0, pluggy<0.7,>=0.5, py>=1.5.0, pytest==3.6.3; python_version != "3.0." and python_version != "3.2." and python_version != "3.1.*" and python_version >= "2.7", setuptools, six>=1.10.0
pylint==1.9.2             requires astroid>=2.0.0.dev3, isort>=4.2.5, mccabe
New dependencies found in this round:
adding ['astroid', '>=2.0.0.dev3', '[]']
adding ['atomicwrites', '>=1.0', '[]']
adding ['attrs', '>=17.4.0', '[]']
adding ['isort', '>=4.2.5', '[]']
adding ['mccabe', '', '[]']
adding ['more-itertools', '>=4.0.0', '[]']
adding ['pluggy', '<0.7,>=0.5', '[]']
adding ['py', '>=1.5.0', '[]']
adding ['pytest', '==3.6.3', '[]']
adding ['six', '>=1.10.0', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
Result of round 1: not stable
                      ROUND 2

Current constraints:
astroid>=2.0.0.dev3
atomicwrites>=1.0
attrs>=17.4.0
isort>=4.2.5
mccabe
more-itertools>=4.0.0
pluggy<0.7,>=0.5
py>=1.5.0
pylint (from -r /tmp/pipenv-vl3wqwkc-requirements/pipenv-9xrpbekj-constraints.txt (line 2))
pytest==3.6.3 (from -r /tmp/pipenv-vl3wqwkc-requirements/pipenv-9xrpbekj-constraints.txt (line 3))
six>=1.10.0
Finding the best candidates:
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches astroid>=2.0.0.dev3
Tried: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.0, 1.3.1, 1.3.1, 1.3.2, 1.3.2, 1.3.3, 1.3.3, 1.3.4, 1.3.4, 1.3.5, 1.3.5, 1.3.6, 1.3.6, 1.3.7, 1.3.7, 1.3.8, 1.3.8, 1.4.0, 1.4.0, 1.4.1, 1.4.1, 1.4.2, 1.4.2, 1.4.3, 1.4.3, 1.4.4, 1.4.4, 1.4.5, 1.4.5, 1.4.6, 1.4.6, 1.4.7, 1.4.7, 1.4.8, 1.4.8, 1.4.9, 1.4.9, 1.5.0, 1.5.0, 1.5.1, 1.5.1, 1.5.2, 1.5.2, 1.5.3, 1.5.3, 1.6.0, 1.6.0, 1.6.1, 1.6.1, 1.6.2, 1.6.2, 1.6.3, 1.6.3, 1.6.4, 1.6.4, 1.6.5, 1.6.5
Skipped pre-versions: 2.0.0.dev0, 2.0.0.dev0, 2.0.0.dev1, 2.0.0.dev1, 2.0.0.dev2, 2.0.0.dev2, 2.0.0.dev3, 2.0.0.dev3, 2.0.0.dev4, 2.0.0.dev4
There are incompatible versions in the resolved dependencies.
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches astroid>=2.0.0.dev3
Tried: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.0, 1.3.1, 1.3.1, 1.3.2, 1.3.2, 1.3.3, 1.3.3, 1.3.4, 1.3.4, 1.3.5, 1.3.5, 1.3.6, 1.3.6, 1.3.7, 1.3.7, 1.3.8, 1.3.8, 1.4.0, 1.4.0, 1.4.1, 1.4.1, 1.4.2, 1.4.2, 1.4.3, 1.4.3, 1.4.4, 1.4.4, 1.4.5, 1.4.5, 1.4.6, 1.4.6, 1.4.7, 1.4.7, 1.4.8, 1.4.8, 1.4.9, 1.4.9, 1.5.0, 1.5.0, 1.5.1, 1.5.1, 1.5.2, 1.5.2, 1.5.3, 1.5.3, 1.6.0, 1.6.0, 1.6.1, 1.6.1, 1.6.2, 1.6.2, 1.6.3, 1.6.3, 1.6.4, 1.6.4, 1.6.5, 1.6.5
Skipped pre-versions: 2.0.0.dev0, 2.0.0.dev0, 2.0.0.dev1, 2.0.0.dev1, 2.0.0.dev2, 2.0.0.dev2, 2.0.0.dev3, 2.0.0.dev3, 2.0.0.dev4, 2.0.0.dev4
There are incompatible versions in the resolved dependencies.

Steps to replicate
pipenv install pylint

with python 3.6.6.

$ pipenv --support
Pipenv version: '2018.7.1'
Pipenv location: '/usr/lib/python3.6/site-packages/pipenv'
Python location: '/usr/bin/python'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

2.7: /bin/python2.7

3.6: /usr/bin/python3.6m

3.6: /usr/bin/python3.6

3.6: /bin/python3.6

3.6.6: /usr/bin/python

3.6.6: /bin/python

2.7.15: /usr/bin/python2

2.7.15: /bin/python2

3.6.6: /usr/bin/python3

3.6.6: /bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.6',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.17.3-1-ARCH',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP PREEMPT Tue Jun 26 04:42:36 UTC 2018',
 'python_full_version': '3.6.6',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

LS_COLORS
LANG
DISPLAY
EDITOR
COLORTERM
MOZ_PLUGIN_PATH
XDG_VTNR
HG
XDG_SESSION_ID
XDG_GREETER_DATA_DIR
USER
DESKTOP_SESSION
GNOME_TERMINAL_SCREEN
PWD
HOME
XDG_SESSION_TYPE
XDG_SESSION_DESKTOP
GTK_MODULES
MAIL
VISUAL
TERM
SHELL
VTE_VERSION
XDG_SEAT_PATH
XDG_CURRENT_DESKTOP
GNOME_TERMINAL_SERVICE
XDG_SEAT
SHLVL
GDMSESSION
LOGNAME
DBUS_SESSION_BUS_ADDRESS
XDG_RUNTIME_DIR
XAUTHORITY
XDG_SESSION_PATH
PATH
LESSOPEN
_
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /opt/google-cloud-sdk/bin:/home/zlatin/bin:/home/zlatin/.gem/ruby/2.5.0/bin:/home/zlatin/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
SHELL: /bin/bash
EDITOR: vim
LANG: en_US.UTF-8
PWD: /home/zlatin

Hi @zlatin, thanks for using pipenv and for filling out the issue template!  In our next release/master branch we have a command pipenv --clear to clear the pip cache.  I believe this will fix the issue.  You could also remove them pip cahces manually if you do not wish to install pipenv from git@master.  Cheers!


inline classes, #to_adoc, consistency renames

#31 added classes for inline elements
#10 added #to_adoc to Coradoc::Document classes based upon reverse_adoc code
renamed numbered/unnumbered to ordered/unordered for consistency with metanorma/asciidoc

Metanorma PR checklist

[ ] Breaking changes (list related PRs)
[ ] Documentation update required (create task for this)
[ ] External dependency introduced (documentation update need)
[ ] Gem with native library introduced

Merging first.


Add parse and parse_encoded to CookieJar

Is there any reason not to have parse and parse_encoded on CookieJar? I'm receiving a request with a cookie string "hello=world; foo=bar" and I'd like to do a CookieJar::parse(cookie_str) and receive a jar with both cookies.

Closing as a duplicate of #137


highlight nice foo

Similarly to #107, which highlights the command after sudo, one could highlight the command after nice.

The problem is options parsing: see 19981ef9eae354ee004cd6b9a54bf07c0a94965c and 3b3a58be9114687d21f03840ebc4c53365d5e604 for an analogous example.
There are many other commands that accept an execve-able argument list; some common ones are env, xargs, and find ... -exec.  Perhaps it would be better, instead of hardcoding N separate option parsers, to hook into completion system (issue #10) and ask compsys to identify command words for us?
compsys already solved the "parse find's command line" problem, and I don't want to have to repeat that exercise. ☺
[ That said... if it's possible to support nice, or env, or any other single utility, in a simple manner without adding lots of twisty codepaths, that might be worthwhile as an interim measure until #10 is fixed ]

Let's add strace to the list of affected commands, too.


Adding VSTS as an option for source control config continuous deployment

@jpricketMSFT,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@derekbekoe - could you please elaborate on your comment? Are you suggesting that the AzureTfs folder be in its own package or that it be part of the Azure SDK? I assume you mean that it should be in it's own Python package. Unfortunately, that means finding or creating a repository for the code to live in. Is this a strict requirement? I will talk with the VSTS RM team to see if they have some suggestions on where the code should live (github, vsts, other).


SearchGuard & Kibana - allow filterring on index-patterns

I am using elasticsearch 1.7 with SG, trying to achieve that certain users of kibana won't be able to view index-patterns/dashboards/visualizations of indices they do not own. I know that if they don't have access to the index they won't be able to view the data, but I also do not want them to view/change their dashboards/etc... while still allowing them full control of their own dashboards.
For example:
If user john has access to index "jelly", but do not have access to index "bean", I do not want john to be able to view/edit any type of kibana-data of index "bean", but he can do whatever he wants with the kibana-data of index "jelly".
Couldn't find anyway of acheiving it since dls filter do not work with kibana, and even with them I couldn't see how to acieve it easily.
Does anyone know how and if it is possible?
here is my filters config:
searchguard.actionrequestfilter.names: ["kibana-server", "kibana-user", "index-user", "deny"]
searchguard.actionrequestfilter.kibana-server.allowed_actions: [
"cluster:monitor/nodes/info*",
"cluster:monitor/health*",
"indices:admin/create*",
"indices:admin/exists*",
"indices:admin/mapping/put*",
"indices:admin/mappings/fields/get*",
"indices:admin/refresh*",
"indices:admin/validate/query*",
"indices:data/read/get*",
"indices:data/read/mget*",
"indices:data/read/search*",
"indices:data/write/delete*",
"indices:data/write/index*",
"indices:data/write/update*"
]
searchguard.actionrequestfilter.kibana-user.allowed_actions: [
"cluster:monitor/nodes/info*",
"cluster:monitor/health*",
"indices:admin/exists*",
"indices:admin/mapping/put*",
"indices:admin/mappings/fields/get*",
"indices:admin/refresh*",
"indices:admin/validate/query*",
"indices:data/read/get*",
"indices:data/read/mget*",
"indices:data/read/search*",
"indices:data/write/delete*",
"indices:data/write/index*",
"indices:data/write/update*",
"indices:admin/create*"
]
searchguard.actionrequestfilter.index-user.allowed_actions: [
"indices:admin/mappings/fields/get*",
"indices:admin/validate/query*",
"indices:data/read/search*",
"indices:data/read/msearch*",
"indices:admin/get*"
]
searchguard.actionrequestfilter.deny.allowed_actions: [
"cluster:monitor/nodes/info*",
"cluster:monitor/health*",
"indices:admin/exists*"
]
ACL:
"acl": [
{
"Comment": "By default no filters are executed and no filters a by-passed. In such a case an exception is thrown and access will be denied.",
"filters_bypass": [],
"filters_execute": []
},
{
"Comment": "For role admin all filters are bypassed (so none will be executed). This means unrestricted access.",
"roles": ["admin"],
"filters_bypass": [""],
"filters_execute": []
},
{
"Comment": "For role kibana executed filter kibana-server.",
"users": ["kibana"],
"indices": [".kibana"],
"filters_bypass": [],
"filters_execute": ["actionrequestfilter.kibana-server"]
},
{
"Comment": "For role user executed filter kibana-user.",
"roles": ["user"],
"indices": [".kibana"],
"filters_bypass": [],
"filters_execute": ["actionrequestfilter.kibana-user"]
},
{
"Comment": "For role user executed filter index-user.",
"roles": ["user"],
"indices": ["fetcher"],
"filters_bypass": [],
"filters_execute": ["actionrequestfilter.index-user"]
}

BTW - if I restric access to a certain kibana type - it does not work...
I tried adding this to my ACL and kibana would not open.
{
"Comment": "For role user executed filter kibana-user.",
"roles": ["user"],
"indices": [".kibana:index-pattern"],
"filters_bypass": [],
"filters_execute": ["actionrequestfilter.deny"]
}
{
"Comment": "For role user executed filter kibana-user.",
"roles": ["user"],
"indices": [".kibana:dashboards", ".kibana:visualizations", ".kibana:search", ".kibana:config"],
"filters_bypass": [],
"filters_execute": ["actionrequestfilter.kibana-user"]
}

I haven't spent any time trying to reproduce the issue, but you suggested that dlsfilters do not work with Kibana. Is this because kibana does not transparently proxy requests that modify .kibana index?
If it doesn't do that, it seems like you could use something like the following:
searchguard.dlsfilter.e: ["user_roles","index", "false"] # if field contains a user role (or not) match
This presumes that the role name is in the index name, but could possibly work.

Thank you for the answer,
But dlsfilters just do not work with kibana (kibana would not open if they exist in the xml)

Auto close this issue because it refers to Search Guard 1 which is decommissioned now. For details pls. see https://github.com/floragunncom/search-guard-attic/wiki . If this issue is still valid for Search Guard 2 (for elasticsearch 2.x) feel free to reopen it (or to file a new one). Pls. do not longer report issues for Search Guard 1 (for elasticsearch 1.x). We sincerely apologize for the inconvenience this may have caused. Thanks for contributing!


senddata.py crashes after a while

Hi, thank you for your nice work.
After running for a while (I did several tries for a little more than an hour), senddata.py crashes and gives me this message:
Error: .get_sensor_data() or heat_stable failed.
Then I have to type the command again and wait for the gas resistance burn-in data.
Does anyone know where this error comes from and if there is a way to avoid it to prevent the crash?
Would it be possible to acknowledge the error but to avoid the crash? Or to automatically start it again when it crashes and maybe avoid the burn-in process again?
Best regards and happy new year.
Romain

Hi, I created a service (systemd) which restart automatically which sort of fix my issue. However it's still stopping every now and then and the restart process creates some fluctuations in the readings of the temperature and humidity and IAQ of course. Let me know how I can help diagnose the issue.
Best regards.
Romain

Hi, I created a service (systemd) which restart automatically which sort of fix my issue. However it's still stopping every now and then and the restart process creates some fluctuations in the readings of the temperature and humidity and IAQ of course. Let me know how I can help diagnose the issue.
Best regards.
Romain

Hey @romton843,
thanks for raising the issue. I did not experience the issue myself.
I let the program fail with this error when sensor.get_sensor_data() returns not true. You could wait some seconds and try to get the sensor data a second time to fix this problem. To do so, just try to get the sensor data - store the result in a variable, and try to get the sensor data a second time if the first time failed. If the result is okay, then proceed with the
analysis.
Feel free to push a pull request when you implemented it. I do not have the setup running, so I cannot test it myself.
Cheers
Lars

Hey @romton843,
thanks for raising the issue. I did not experience the issue myself.
I let the program fail with this error when sensor.get_sensor_data() returns not true. You could wait some seconds and try to get the sensor data a second time to fix this problem. To do so, just try to get the sensor data - store the result in a variable, and try to get the sensor data a second time if the first time failed. If the result is okay, then proceed with the
analysis.
Feel free to push a pull request when you implemented it. I do not have the setup running, so I cannot test it myself.
Cheers
Lars

Hi,
Thank you for your answer.
I added five attempts before breaking in case of an get_sensor_data() failure.
I hope you'll be ok with the way I did it.
So far it's working, I'll let you know if the the problem reappears which shouldn't be the case.
Thanks again for your work.
Best regards.
Romain

Hi,
Thank you for your answer.
I added five attempts before breaking in case of an get_sensor_data() failure.
I hope you'll be ok with the way I did it.
So far it's working, I'll let you know if the the problem reappears which shouldn't be the case.
Thanks again for your work.
Best regards.
Romain


Pythonic Way to implement addVolume

Currently, the addVolume function only accepts 1 argument: the path of the volume. However, as can be seen in the niivue docs, addVolume should accept an NVImage object, which includes multiple attributes. The question is how allow for these multiple attributes in a pythonic way.
There are 2 possible methods that immediately come to mind:

create an NVImage class in python that can be initialized with all these attributes. This solution might look like:

class NVImage:
    def __init__(
        self,
        data_buffer,
        name,
        color_map,
        opacity,
        paired_img_data,
        cal_min,
        cal_max,
        trust_cal_min_max,
        percentile_frac,
        ignore_zero_voxels,
        visible,
        use_qform_not_sform,
        color_map_negative,
        frame_4D,
        on_color_map_change,
        on_opacity_change
    ):
        self.data_buffer = data_buffer
        self.name = name
        self.color_map = color_map
        self.opacity = opacity
        self.paired_img_data = paired_img_data
        self.cal_min = cal_min
        self.cal_max = cal_max
        self.trust_cal_min_max = trust_cal_min_max
        self.percentile_frac = percentile_frac
        self.ignore_zero_voxels = ignore_zero_voxels
        self.visible = visible
        self.use_qform_not_sform = use_qform_not_sform
        self.color_map_negative = color_map_negative
        self.frame_4D = frame_4D
        self.on_color_map_change = on_color_map_change
        self.on_opacity_change = on_opacity_change

class Niivue:
        ...
        def addVolume(self, image):
               #unpack NVImage object or send the object and somehow deserialize

nv = Niivue()
image = NVImage(name='test.nii.gz', data_buffer='[binary data here]')
nv.addVolume(image)

or
2) spread out the attributes of the NVImage class. This solution might look like:
class Niivue:
        ...
        def addVolume(
            self,
            data_buffer,
            name,
            color_map,
            opacity,
            paired_img_data,
            cal_min,
            cal_max,
            trust_cal_min_max,
            percentile_frac,
            ignore_zero_voxels,
            visible,
            use_qform_not_sform,
            color_map_negative,
            frame_4D,
            on_color_map_change,
            on_opacity_change,
        ):
                #send over arguments to niivue

nv = Niivue()
nv.addVolume('[binary data here]', 'test.nii.gz')

setting default values for each of the attributes might also be good to do
@christian-oreilly

Sorry for not following up on that earlier! It flew under my radar! So... I like the idea of a class if there are some additional things we want this class to manage (i.e., some methods that operates on these attributes, some argument validation to be coded, e.g., through the @property decorator for setters and getters). I would not do it as a class if it is nothing more than the equivalent of a "C structure" (i.e., just a list of attributes) as shown in example 1. For such a case, the Python dictionary works already quite well, plus they allow the use of the ** operator that can be nifty in some case. How familiar are you with the use of the * and ** operators to unpack list and dictionaries (when used in the call of a function) or to allow unspecified positional and keyword arguments (when used in the signatures of a function)? Maybe these can be useful? They often are when working with a larger number of arguments.
That is:
args = ['[binary data here]', 'test.nii.gz']
nv.addVolume(*args)

kwargs = {"data_buffer": '[binary data here]', "name": 'test.nii.gz'}
nv.addVolume(**kwargs)

and

        def addVolume(
            self,
            data_buffer,
            name,
            *args,
            **kwarg
        ):
                # some code

                self.some_other_method_that _requires_the_additional_arguments(*args, **kwargs)

               # some other code

This is quite neat in combination with config files (e.g., json or yaml) which are read as dictionaries that can be passed directly into functions. For a concreate example, you can have a look at these line of codes:
https://github.com/lina-usc/pylossless/blob/14075fc2782d9c5afa67afd897be62f1ccf516fa/pylossless/pipeline.py#L1046-L1060
These lines use the following portion of a YAML config:
https://github.com/lina-usc/pylossless/blob/14075fc2782d9c5afa67afd897be62f1ccf516fa/assets/ll_default_config.yaml#L104-L110
Note that since these arguments are passed to the constructor of the ICA (https://mne.tools/stable/generated/mne.preprocessing.ICA.html), any argument that this constructor accept will work, without me having to define them in my code. Further, the signature of the ICA constructor can change and the users of my code would still be able to use the new arguments available to ICA without me having to change a line of code in my own library.
I am not sure if any of this can be useful for your specific use case; I'll have a better idea when I see what the actual code looks like and how efficient/cumbersome it is.

Thank you. I saw your response earlier but I get to implementing these ideas. I'll write a response once I write some implementations.

Sure thing, @AnthonyAndroulakis


Can't update kong custom id

Summary
When trying to update the custom_id field for an existing Oauth consumer, the database gets updated but the upstream service continues to see the old custom_id value.
I'm following the documentation here which is returning a 200 ok on update and checking the postgres Db the custom ID for the consumer in question is updated.
Restarting the service doesn't do anything and the issue continues
Steps To Reproduce

Add Oauth to an upstream service
Add a consumer and set a custom id
change the consumers custom id

Additional Details & Logs

Kong version (0.10.2)
Operating System (centos 7)

Hit by this issue as well. Using part of the custom_id to dispatch in upstream service. Some old custom_id used http. Using PATCH on the consumer does change the value to https but it is apparently saved somewhere else for the actually parsing on.
Investigating a work-around by re-create, and have checked out the source to have a look.
Kong version: 0.14.1
OS: Linux (docker).

I tried to reproduce this on 1.0.0., and I could not. Maybe this got fixed at some point? Can you @andy9775 or @schafdog  try with the 1.0.0 and report back if you could still hit the bug (I'll change the label to pending author feedback because of this)?

Closing this as stale. If you have any more data please let us know and we’ll be happy to take another look. I suspect this was resolved in 1.0. Thanks!


'NoneType' object has no attribute 'shape'

Hi, I was trying to train the model, but it says like this:
AttributeError: Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 138, in _worker_loop
samples = collate_fn([dataset[i] for i in batch_indices])
File "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 138, in
samples = collate_fn([dataset[i] for i in batch_indices])
File "/home/lightweight-human-pose-estimation.pytorch/datasets/coco.py", line 46, in getitem
sample = self._transform(sample)
File "/opt/conda/lib/python3.6/site-packages/torchvision/transforms/transforms.py", line 49, in call
img = t(img)
File "/home/lightweight-human-pose-estimation.pytorch/datasets/transformations.py", line 10, in call
h, w, _ = sample['image'].shape
AttributeError: 'NoneType' object has no attribute 'shape'
What's happening? Can somebody help me? thank u

Hi, I ran into the same problem. Can you tell me how you solved it?


fix(bigquery): core job library fixes for Query and GetQueryResults api

This PR includes the following fixes for the core Job library found during benchmark and end to end testing
of the Query and GetQueryResults api

Added methods to PostQueryRequest() to record json keys that need to be filtered.
Modified Query() rest stub to filter out json keys from the request, in the json payload.
Modified “timeoutMs” field to be integer in GetQueryResultsRequest.
Removed “formatOptions” from GetQueryResultsRequest as the server rejects it even though the documentation mentions it.
Fixed “maximumBytesBilled” to be string in PostQueryRequest
Fixed parsing of QueryResponse and GetQueryResultsResponse fields. This includes 64-bit parsing of integer fields, handling absent fields etc.

The above has been tested with a benchmark program. I'll send the benchmark program changes after the above is merged.

This change is

FYI: Latest push contains a benchmark file benchmark.cc. This file is required to fix the compilation error which was causing the checks to fail.
I have disabled auto-merge incase you want to review this file.
I'll send the rest of the benchmark files in the follow-up OR


[QA] Remove nowrap from a menu anchor/button

This addresses a bug found during QA that was causing a drilldown menu with a long title to not wrap and get cut off.
Having looked over the history of the menu I'm not sure why this was introduced (even though it was me that added it!). I can't see any logical reason for it to be included, but it should probably be tested with the visual tests before merge just in case.

👍


'Puli Factory is not available'

I am getting  'Puli Factory is not available'  error. How to solve it. please help me asap.

Thank you for this issue. Have you read this section of the readme: https://github.com/Happyr/LinkedIn-API-client#finding-the-http-client

Same code work on Ubuntu but not on linux. After successfull execution on linux system, i just copy and paste code on windows system and getting same error.
Ubuntu system PHP Version is 5.5.9
Windows PHP Version is 5.5.2.

So, on your windows environment, have you added the required Puli packages (including "puli/composer-plugin": "^1.0.0-beta9",) and then run composer update?

Will you plz provide me complete source code link to my email address.

Not too sure what you mean by that..

Yes i have added and and getting same error.

Not sure why it does not work on Windows. Try not using auto discovery and and add the client and message factory yourself.

Ok Thanks @Nyholm


[stdlib] Fix a race

Lock-free programming is almost always a bug.
Fixes rdar://25398370 Data Race in StringBuffer.append (found by TSan)

@swift-ci Please smoke test and merge

@swift-ci Please test and merge

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 28c32f04924f212ad1fa8c1c38e64f866643b13a
Test requested by - @airspeedswift

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 28c32f04924f212ad1fa8c1c38e64f866643b13a
Test requested by - @airspeedswift

@swift-ci Please smoke test

Broken debugInfo causing Linux smoke test to fail reported in rdar://30793147

@swift-ci please test

@swift-ci please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit -<PHONE_NUMBER>9b768b4254c01fd2966605c70721a6
Test requested by - @CodaFi

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit -<PHONE_NUMBER>9b768b4254c01fd2966605c70721a6
Test requested by - @CodaFi

@swift-ci Please test and merge


How to set the database task automatic execution of Firebird Database?

I have a period of SQL and wants it to execute it once a day, how to set it.

Hello @bgmxl
You can read more about task scheduling here: https://github.com/dbeaver/dbeaver/wiki/Task-Scheduler.
You can schedule your task only in PRO DBeaver's versions. Or you can investigate your system scheduler as well.


pelican: pelican-quickstart created sites depend on installed bash version

Issue description
The develop-server.sh script created by pelican-quickstart has the full path to bash in the shebang line, e.g.
#!/nix/store/flb9ar1xdd13c606aa4my9miy3iv4vyk-bash-4.4-p12/bin/bash

This is in my opinion undesirable as it binds the project to that installed bash version, and injects 'nixism' into a user project by default.
Steps to reproduce

Install pelican
Create a new site with pelican-quickstart
Look at the created develop-server.sh

Technical details

System: 17.09.git.c64074f (Hummingbird)
Nix version: nix-env (Nix) 1.11.15
Nixpkgs version: 17.09beta1452.c3176eed6f
Sandboxing enabled: yes

cc @prikhi @garbas

there are also some "/nix/store" references in ./publishconf.py. While we can easily change first line of develop-server.sh to #!/usr/bin/env bsh. I have no idea how to fix publishconf.py yet

How about passing dontPatchShebangs to buildPythonPackage and then in the postFixup use patchShebangs on the individual items that do need to be patched.

Is there a way to see what would have been autopatched? One problem is that if upstream adds new scripts they might be overlooked.

Fixed with https://github.com/NixOS/nixpkgs/commit/9304ae04d7d6e24630943ee5312099c6568e1d32.


Addresses #222 - Highlighting all of the Pythia resources from the landing page

Fixed #222 - Highlighting all of the Pythia resources from the landing page
This PR addresses the content aspect of #222, adding descriptions and links for webinars, data sets, and cookbooks.
It does not address the aesthetics issues raised by @brian-rose, namely:
"Get rid of text and present a grid/panels of resources; more graphical and inviting"
I suggest we consider opening a second issue to address the aesthetics.

@brian-rose, comments addressed. Thanks!

LGTM!


Automatically add plugin projects to Windows .sln

Description
Adds utility code for managing list of plugin projects within a solution file, updating them as the plugins change.
This is a prototype of an approach to solution-level portion of Windows plugin tooling; it may not be what the final plugin handling on Windows uses, but it makes things much better in the short term, and gives us a baseline to evaluate other possible solution management systems against.
Related Issues
#32719
Tests
I added the following tests:

unit tests for the new vcxproj property extractor.
unit tests for the solution rewriter.
high-level unit test that injectPlugins does the solution rewriting.

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change.

Could you file a bug "severe: new feature/new contributor project" for a Dart parser for sln files?


Arrow

Related

https://github.com/rstudio/sparklyr/issues/1327
https://github.com/rstudio/sparklyr/issues/1289
https://github.com/rstudio/sparklyr/issues/1457
https://github.com/rstudio/sparklyr/issues/1536 (copy_to with nested data)

Will this work apply both to spark_apply and to an R version of toPandas? My (limited) understanding is that toPandas uses arrow but that the python version of collect does basically the same thing the R version does.

@javierluraschi Is the expectation then that copy_to() would become suitable for bulk data transfer or would be best pattern still be to get the data off in to a disk storage format for Spark?

@russellpierce copy_to() will never be as efficient as dedicated tools for loading data into a cluster; however, currently, copy_to() has narrow application since it can't really handle even "medium" size data, a few megabytes seems to be the limit. So my hope is that among many improvements introduced by a single data representation with Arrow, we can improve performance and support higher loads. I'm planning to spend this week doing some investigation, should be able to open a WIP PR and share progress and take feedback.

@javierluraschi that looks really amazing. will this be shipped with  sparklyr 0.9?

Wanted to check in out timeline for arrow serialization for spark_apply. Glad to help with testing or other open items. My team has a set of workloads (far more groups than executors) where this looks like it will have a very large impact.

@awblocker arrow is already implemented; however, we are waiting for the Arrow 0.12 release to make this a bit more official. For now, you can test this out using the instructions from:
https://github.com/rstudio/sparklyr/pull/1611

After reading the various issues related to this, I'm not quite sure what's the current status : I've installed SparklyR v<IP_ADDRESS>04 along with Arrow v0.13.0 and spark_apply still shows the described slowness.
Is there a version I should upgrade to to solve this issue?
Any help much appreciated!


Unable to use double quotes in mapper

Bug Report
Which version of ShardingSphere did you use?
4.0.0-RC1
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-JDBC
Expected behavior
work
Actual behavior
Appendeded escape character '' before double quotes
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
select * from table1
join table2 on table1.id=table2.id and JSON_CONTAINS_PATH(table2.json_info,\"one\",?)=1

Example codes for reproduce this issue (such as a github link).

Hi, what is the reason for close this issue?

Hi, what is the reason for close this issue?

日志里打印的原因罢了，怪我没看清楚


⚠ Cioos National CKAN has degraded performance

In 5cbd850, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 21536 ms

Resolved: Cioos National CKAN performance has improved in dc12ef1 after 5 minutes.


Afterburn module

Currently based on https://github.com/NixOS/nixpkgs/pull/68680
will rebase once that is merged.
This is also WIP. I probably want to add some tests.
Afterburn will allow us to unify the virtual machine setup code for all our cloud provider images.
It allows us to get metadata in a unified way, set ssh keys in a unified way and generate systemd-networkd network configs on the fly.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

I will close this PR. I don't see a clear way forward how to package things, and no alternatives were given by the reviewers

I actually think it does not matter if we have one buildRustPackage more in nixpkgs. We depend on this and a replacement needs to be implemented before we can abandon buildRustPackage. There is a solution coming up that might work for us soon: https://github.com/kolloch/crate2nix See also this thread: https://github.com/kolloch/crate2nix/issues/102

If you are still interested in having this PR merged, I'd like to help review and merge it. Given that https://github.com/NixOS/nixpkgs/search?q=buildRustPackage has 241 matches, and new buildRustPackage derivations are merged every week, that shouldn't be a blocker, merely something that would be nice to have resolved across the whole Nixpkgs tree one day.

cc @arianvp

Thanks. I will have a look again.

@arianvp can you rebase this to latest master (which includes the afterburn package)?

I rebased this to master, and started dogfooding the openstack image config with it.
It doesn't work yet, and I'm not sure if/how we're gonna use the upstream-provided systemd units.
I added a lot of comments about how this could work, and a bunch of TODOs of stuff that still needs to be investigated.
Also, there's the --network-units parameter, which could drop ephemeral .network/.netdev files for cloud-provider specific network configuration (like on packet.net).
I'm very much in favour of using something like this over our own, semistable and slightly differing-per-provider metadata server fetcher shellscripts - also, it's less bloated than cloud-init, making it more suitable for minimal images.


cr.pl.heatmap does not tell me which genes did not converge

[x] Additional function parameters, change functionality or change defaults?
[ ] New estimator in cr.tl.estimators?
[ ] New kernel in cr.tl.kernels?
[ ] New gene trend model in cr.ul.models?
[ ] New plotting function in cr.pl?
[ ] Other?

I use the following code to plot a heatmap of gene expression trends:
model = cr.ul.models.GAM(adata_raw, n_splines=10)
cr.pl.heatmap(adata_raw, model, genes=delta_corr.head(50).index, lineages=['Delta'], cluster_key='clusters',
              show_absorption_probabilities=False, figsize=(12, 15), show_all_genes=True)

2 genes did not converge, I get
did not converge
did not converge

Would be great to know which genes these were.

Can't, there no such information in pygam, only this print statement:
https://github.com/dswah/pyGAM/blob/2323eb7d1cf88bf27d916e965ffa82bb04ae8bc1/pygam/pygam.py#L774

Or a different answer: I can (by capturing the stdout and checking if this message was passed), but it will get messy. Is this really needed?

you're right, let's not waste time on this if in the future, we may change the underlying model anyhow.


ContentPresenter null Content and DataContext when using binding for Context

Describe the bug
If we have ContentPresenter with string Content defined in XAML all works fine (text displayed via TextBlock):
<ContentPresenter Content="My text"/>

But if we use bindings for Content and bind to a string, but we will not see anything:
<ContentPresenter Name="Presenter" Content="{Binding Greeting}"/>

VM:
public string Greeting => "Welcome to Avalonia!";

A similar situation arises when we try to set Content from code:
this.FindControl<ContentPresenter>("Presenter").Content = "1234";

To Reproduce
Steps to reproduce the behavior:

Create Avalonia app
Add string property to VM
Create ContentPresenter and bind Content to this property
See error

Expected behavior
If i set string to Content via binding or from code i should see TextBlock as i see TextBlock when set string to Content in xaml.
Desktop (please complete the following information):

OS: Any
Version 0.10.6

Additional context
I debugged the code and figured out the cause of this problem.
There are 3 DataContext changes:

Assignment of "normal" DC (ViewModel)
Changing the DataContext triggers the Content change, which is updated and eventually the ContentPresenter.UpdateChild method is called
In which if the content != Control (and we have a string) then the Content (string) is assigned in the DataContext

Assigning a string (which was Content)
So DataContext is now not a VM, but a string, the Content binding not resolved, and Content is now null
Further in ContentPresenter.UpdateChild null is assigned to DataContext
Now DataContext is null and Content is null

I wrote about this in the avalonia ru chat, I was told to open an issue and ping @grokys

I'm on vacation right now but have you tried using ContentControl instead?

@grokys, yes, strange, but ContentControl works.
in fact, I always thought that ContentControl is used as a base class for custom controls, and in my case (displaying arbitrary content), you need to use a ContentPresenter.
So, it's a bug or it's by design?

Old issue but just to note I was bitten by this as well (i.e. binding the Content property of ContentPresenter). Oddly this worked in the 11.0.x previews but when I upgraded to 11.0.5 I had to go with the previously noted work-around of using ContentControl.

@jmkinzer ContentPresenter is only to be used inside ControlTemplates. It will not work as normal control. In that case ContentControl is the right choice.
@SKProCH btw do you face the issue if you use it only inside controlTemplates?

@timunie actually i don't remember something like that.

Closing this as by design


Android Basics: xml-layouts

https://developer.android.com/codelabs/basic-android-kotlin-training-xml-layouts?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-2-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-xml-layouts#3

Build The Layout in XML

The last example of what the code should look like has dropped the 'android:padding="16dp"' from the constraint layouts attributes. It is present in the earlier ones.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@CaptainThunk
Thank you for reaching out to us. The issue is fixed and will be published soon.


"ctr run" parameter parsing error

When I execute the command ctr run as follow, -a is parsed as a paramater of ctr run.
ctr  run  docker.io/library/ubuntu:latest test ls -a
Incorrect Usage: flag provided but not defined: -a

NAME:
   ctr run - run a container

USAGE:
   ctr run [command options] IMAGE ID [COMMAND] [ARG...]

OPTIONS:
   --tty, -t           allocate a TTY for the container
   --runtime value     runtime name (io.containerd.runtime.v1.linux, io.containerd.runtime.v1.windows, io.containerd.runtime.v1.com.vmware.linux) (default: "io.containerd.runtime.v1.linux")
   --readonly          set the containers filesystem as readonly
   --net-host          enable host networking for the container
   --mount value       specify additional container mount (ex: type=bind,src=/tmp,dest=/host,options=rbind:ro)
   --env value         specify additional container environment variables (i.e. FOO=bar)
   --rm                remove the container after running
   --checkpoint value  provide the checkpoint digest to restore the container

ctr: flag provided but not defined: -a

You need ctr run -- docker.io/library/ubuntu:latest test ls -a I think.
The -- tells ctr that everything else is a non-option argument.

@miaoyq Was the help enough?
I am going to close this. If there are still issues, let me know and we can reopen this issue.

I still got some error:
ctr run --rm -- alpine:latest ls -a /bin

ctr: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "-a": executable file not found in $PATH: unknown

ctr --version

ctr containerd.io 1.7.24

cat /etc/os-release

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

the right way is:
ctr run --rm -- alpine:latest mycontainer ls -a /bin


Popup doesn't go away

I think i found a bug and these are the step that consistently gave me the same outcome:

insert open.whitehouse.gov link to download dataset: 6fa91405f280c30cedd461dfcd3b4fffffb27759e26f8135b7cbdfe08870ccb2.

start download

then cancel it pressing 'yes, remove dat'.

while download is still there click again on bin to cancel download.

press again 'yes, remove dat' button.

an error popup appears and even if you click on 'ok' puppy will stay there.

Let me know if you aren't able to reproduce :)

Hey there 👋, thanks for reporting! Quick question:

while download is still there click again on bin to cancel download

By this, do you mean that the element eventually is removed, but not immediately - and if you click it it creates an error?

yes @yoshuawuyts , because of the time taken to remove the user can click again and create this condition.

@piccoloaiutante great, I think I know how to solve it then. Thanks heaps for reporting!

@yoshuawuyts fixed the modal dismissal in https://github.com/datproject/dat-desktop/pull/295/commits/b08cff0665fd0a6736faf304636a8aff4fbc92a9

fixed in master now


Templete project management

We better provide the template project including the STYLY-visionOS-Plugin and the supported plugins.
The benefit of the template is that creator doesn't need to use OpenUPM to install those plugins.
In order to manage the template, using this repository as the template would be a good option.
I'll add a script to

Detect the downloaded project is from a zip at release page or from git clone.
If the project is from the zip, delete the files in the packages directory and add package name to the manifest.json
Check .git directory existence  to determine the files are downloaded via the zip or the git clone method.
The script should be executed only at the first time of the project load.

Information of the latest release can be retrieved as json with this API endpoint without authentication
https://api.github.com/repos/styly-dev/STYLY-visionOS-Plugin/releases/latest
Latest project files can be downloaded with this link
https://api.github.com/repos/styly-dev/STYLY-visionOS-Plugin/zipball/

The branch of this issue
https://github.com/styly-dev/STYLY-visionOS-Plugin/tree/TemplateManagement

The script is managed in
https://github.com/styly-dev/STYLY-visionOS-Plugin/tree/TemplateManagementScript

Pull request
https://github.com/styly-dev/STYLY-visionOS-Plugin/pull/46


initServices never resolves

I'm using

<EMAIL_ADDRESS><EMAIL_ADDRESS>vscode@npm<EMAIL_ADDRESS>
Here is how I'm trying to initialize my LSP client
await initServices({
    enableThemeService: true,
    enableTextmateService: true,
    enableModelService: true,
    enableKeybindingsService: true,
    enableLanguagesService: true,
    enableOutputService: true,
    enableAccessibilityService: true,
    debugLogging: true,
});

const { client } = createLanguageClient(worker);

I found that the promise returned by initServices never resolves, nor rejects.
I've stepped into initServices and found that initializeVscodeExtensions never resolves nor rejects.

found that's because the editor instance is created before initServices. Will close this issue.


Doesn't work for branches with slashes

It tries to GET https://api.github.com/repos/PaperMC/Paper/git/trees/feature?recursive=1 which returns 404 (Not Found), while I initiated the download from his link https://github.com/PaperMC/Paper/tree/feature/mcp/mcp

That’s right, the URL doesn’t tell me whether mcp is still part of the branch or not, so we just guess it’s a folder, because that’s the most common situation.
If you’re a Refined GitHub user however this could be resolved by making download-directory accept a pre-parsed URL:
?user=PaperMC&repository=Paper&path=mcp&ref=feature/mcp

Refined GitHub can parse this information directly from the DOM rather than from the URL


problems with MDL and polyfilled CustomEvent on IE11

MDL version: 1.1.3
Browser: Internet Explorer
Browser version: 11
Operating system: Windows
Operating system version: 10
CodePen: http://codepen.io/anon/pen/ZWrKjX?fork=xGWgXa (use this in IE11 or Edge)
What steps will reproduce the problem:

use a CustomEvent polyfill (for example the one from MDN)
create some content with MDL components :smile:
(optionally) watch your console

What is the expected result?
MDL is initialized on page load "automatically" or by upgrading elements manually.
What happens instead of that?
The CSS is applied but components do not get upgraded. The debug console shows an error: "Object doesn't support this action"

I am using MDL 1.1.3 in an environment which uses a polyfill for CustomEvent. When I run my app with IE11 and using componentHandler.upgradeElement I'm getting the following error:
TypeError: Object doesn't support this action.
  at upgradeElementInternal (Unknown script code:96:13)

I could track it down to this part of componentHandler:
if ('CustomEvent' in window && typeof window.CustomEvent === 'function') {
  ev = new Event('mdl-componentupgraded', {
    'bubbles': true, 'cancelable': false
  });
}

The check for CustomEvent does not fail (basically a false positive) and the componentHandler tries to create an Event by calling the new Event(...) constructor which apparently isn't accessible with IE11. Doing a manual new Event('test', { bubbles: true }); leads to the exact same error mentioned above.
I have read in another issue that new Event() is used to stay compatible with IE10, so this may not be a bug but intentional.
Suggested fix: use CustomEvent to raise events on upgrading components instead of Event which is not usable in IE11/Edge.

@Thanood You could try to use another custom event polyfill. I use the WebModules custom event polyfill i my projects: https://github.com/webmodules/custom-event. Just make shure that the polyfill kicks in before material.js. I have not tested this on IE11 - but it could be a solution.

Thanks, @leifoolsen I have tried this now.
The polyfill also introduces a CustomEvent function on the global namespace. This is the reason why material.js check will be positive.
The actual problem is with using the Event constructor instead of the CustomEvent constructor. The Event constructor seems to be not usable in IE11.
For now I have overwritten componentHandler.upgradeElement to set window.CustomEvent to false (defined but not a function anymore so the test will fail) and set it back afterwards.
But apart from feeling abusive I guess this introduces negative effects on performance (maybe not much, I don't know).

Yes, I can see that. MDL does not even try to polyfill the custom event, which should have been performed at startup. The polyfill i mentioned actually fires an event as a part of the native check, so false positives should not be an issue. But again, that does not help much if the componentHandler misbehaves.

@Thanood
I have done some testing on IE11 (edge), using MDL with and without the  CustomEvent() constructor polyfill provided by MDN here: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent
Without the polyfill, I don't get any errors in console (IE11 edge). But if I add the MDN polyfill, the two methods in material.js (componentHandler.upgradeElementInternal and componentHandler.deconstructComponentInternal) that uses a "hard coded" custom event fails with the following error: "Object doesn't support this action".
As you mention, we can override componentHandler.upgradeElement - but hopefully the MDL team will fix this bug soon.
BTW: The MDL components I build relies on custom events, so hardcoding the custom event like it's done in MDL is not an option for me.

Thank you for testing and confirming this, @leifoolsen.

BTW: If you want the MDL team to respond to this issue, I think you must follow the "Code of Conduct" guidelines here: https://github.com/google/material-design-lite/blob/master/CONTRIBUTING.md#submitting-an-issue

Thanks, I will edit my original post accordingly later.

Thanks! I need this bugfix too!

Post updated. :smile:

Thanks. Found an additional issue (or maybe it is intentional?). In componentHandler.deconstructComponentInternal the created custom event does not call element.dispatchEvent - so no event is actually fired.

I have looked at the corresponding code i v2-components-poc branch. The code in v1.1.3 is replaced with this:
 var ev = document.createEvent('Events');
 ev.initEvent('mdl-componentupgraded', true, true);
 element.dispatchEvent(ev);

According to MDN createEvent should be avoided: "Many methods used with createEvent, such as initCustomEvent, are deprecated. Use event constructors instead.". See: https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent.

Code found in Google dialog-polyfill:
  var supportCustomEvent = window.CustomEvent;
  if (!supportCustomEvent || typeof supportCustomEvent == 'object') {
    supportCustomEvent = function CustomEvent(event, x) {
      x = x || {};
      var ev = document.createEvent('CustomEvent');
      ev.initCustomEvent(event, !!x.bubbles, !!x.cancelable, x.detail || null);
      return ev;
    };
    supportCustomEvent.prototype = window.Event.prototype;
  }

Why not use something similar to that?

I'm having a hard time finding something actionable here for us to do internally. As far as I can tell, nothing is incorrect with our code at all. It is instead a conflict with custom code you are executing that is interfering with our feature detection.
Without a clear way for us to detect if the Event constructor can be called, I'm at a loss for what to do.
Any ideas on that one (without a try/catch)? We won't be implementing a polyfill for this internally as that may cause issues with other developers integrations.
Otherwise this seems to be a support issue which should be handled on StackOverflow or some other support forum.

See #4264
This code in mdlComponentHandler results in a false positive:
      var ev;
      if ('CustomEvent' in window && typeof window.CustomEvent === 'function') {
        ev = new Event('mdl-componentupgraded', {
          'bubbles': true, 'cancelable': false
        });
      } else {
        ev = document.createEvent('Events');
        ev.initEvent('mdl-componentupgraded', true, true);
      }
      element.dispatchEvent(ev);

So we are supposed to build the core to keep every poor polyfill on the internet from conflicting with what we do?

MDL has the incorrect code. This is correct: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent

It isn't "incorrect" as we aren't carrying custom data (which is the point of CustomEvent). However, if changing to CustomEvent instead of Event for the constructor still upholds our full browser support without a polyfill then that change is acceptable.

PR #4348 is open to fix this, just needs lots of device testing.

Well, if the browser doesn't support CustomEventyou do nearly the same as the MDL polyfill but if it does support CustomEvent you don't have any problem at all because it's there anyway, right?
IE11 simply doesn't allow using the Event constructor directly so in a strict sense you could technically say that this isn't compatible, either. :smile:
IE11 without a polyfill doesn't have this problem for the sole fact that createEventis used in that case.

You have been faster, thank you! :+1:

The code from webcomponents.js should be correct. See: https://github.com/webcomponents/webcomponentsjs/blob/v0.7.12/CustomElements.js#L950
Also, IE11 will fail on new CustomEvent(...);, so instead of browser detection as done in webcomponents, one can use code similar to this:
try {
    // Modern browsers
    return new window.CustomEvent('myevent');
  }
  catch(e) {
    // Polyfill IE11
  }

try/catches can't be optimized by engines so we should avoid them internally at all costs.
I have what should be a workable patch in the PR. Waiting on IE VM's to download to confirm.

Thanks 👍

#4348 just landed to fix this by calling new CustomEvent instead.
If that fails still, then there isn't anything else we can feasibly do about it internally.


Add optional way to strip whitespace from templates

It's typically a very minor performance improvement if whitespace is stripped from templates, but it's cumbersome to write html this way. We could expose a strip-whitespace option to templates that would be processed at registration time and would strip all whitespace from templates.

Could this just be the default? You can't look inside a template in the
tools and generated dom will be formatted.
On Wed, Sep 30, 2015, 4:37 PM Steve Orvell<EMAIL_ADDRESS>wrote:

It's typically a very minor performance improvement if whitespace is
stripped from templates, but it's cumbersome to write html this way. We
could expose a strip-whitespace option to templates that would be
processed at registration time and would strip all whitespace from
templates.
—
Reply to this email directly or view it on GitHub
https://github.com/Polymer/polymer/issues/2511.

whitespace sometimes can be really important in templates, I wonder if automatically stripping by default might break what people expect and be quite difficult to debug.

On Wed, Sep 30, 2015, 4:48 PM Sam Saccone<EMAIL_ADDRESS>wrote:

whitespace sometimes can be really important in templates, I wonder if
automatically stripping by default might break what people expect and be
quite difficult to debug.
—
Reply to this email directly or view it on GitHub
https://github.com/Polymer/polymer/issues/2511#issuecomment-144576292.

oh perhaps I am not correctly understanding what

whitespace is stripped from templates

means then :wink:

@samccone it's a blink bug where style recalc takes a large amont of time on textnodes:
https://code.google.com/p/chromium/issues/detail?id=399816

This is fixed from Steve's commit.

The addition of this feature caused a weird bug for me when using paper-toggle-button in an AngularJS app.
When used in a container that repeats using ng-repeat the toggle-button is drawn twice.
I made a plunkr demoing the issue: plunkr
When removing the strip-whitespace attribute, it goes back to normal.
I'm not sure whether to open a new issue or just re-opening this one...


LinkEntry needs Sizes Attribute

It would be nice if the Orchard.UI.Resources LinkEntry had the Sizes attribute.
This would enable the possibility to add favicons using the method described her
https://github.com/audreyr/favicon-cheat-sheet
    public string Sizes
    {
        get
        {
            string value;
            _builder.Attributes.TryGetValue("sizes", out value);
            return value;
        }
        set { SetAttribute("sizes", value); }
    }

Indeed.

What about adding an Attributes indexer on this class? And also add Sizes if it's part of a standard.

It is documented here so I think it should be included:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-sizes

One note in the docs is that:

It must be present only if the rel contains the icon link types value.

Worth coding?


Implemented deleting post UI

Users can now delete posts from both the homepage and the author page. Refactored PostList into a new component, since both the author page and the home page are using them. With this refactor, the create post button and the list are stacked vertically on top of each other (shown in the screenshots below). For now I think this is okay but if time permits I can take a look into making it look better by Wednesday. Deleting a post will automatically update the list as well.

Delete modal

Error msg

Can you make the error message red?


Issue-User avatar image is not working on the admin page

admin page can't find the image of the user avatar. i don't know what is causing this and i don't know how to fix this.

Not only avatar. I have same problem with all files which i uploaded (admin/media) I can't use this media files in project((

I have some problem.

Me too

Please let me know the following informations:

What Laravel version are you guys using? (You can get it calling php artisan --version)
Are the avatar located in storage/app/public/users/?
Are the avatar located in public/storage/users/?

This will help me figure out what to do to help you guys.

You need to create symbolic link from "public/storage" to "storage/app/public"
Try run this command:
php artisan storage:link

Hi
Same problem
Laravel 5.3.23
In public, i don't have storage folder
Thank

@COTIGA: Have you tried what @handiwijoyo said

Try run this command:
php artisan storage:link

It's OK
After change the hosting, the installation path was no longer the same, so I first remove the storage symlink in public.
Then the command:
Php artisan storage: link
has restored everything
Thank you

No problem, just glad it helped.


README.md: add instructions to rust-esp32-example how to produce tabl…

Added instructions into README.md on how to get memory statistics using idf.py size.

@georgik, PTAL

Please add information about size also to our book: https://github.com/esp-rs/book


Update generate files required for testing using ant

Files were generated using ant test from the java/ directory.

Are you not missing the java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_SE file?

Fixed. Thanks. I thought we do not commit these files, should have checked.


Add headphones-toolbox to nixpkgs

Description of changes
This PR adds the headphones-toolbox package, which is a UI for configuring Ploopy Headphones made with Tauri. Note that this doesn't add the required udev rules which must exist to make it work: https://github.com/george-norton/headphones-toolbox#quickstart-guide
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Move pkgs/applications/audio/headphones-toolbox/default.nix to pkgs/by-name/he/headphones-toolbox/package.nix, if you don't want to touch pkgs/top-level/all-packages.nix.

Resolved all of those and moved it.

Please squash the commits into two, in the following order:

maintainers: add knarkzel and nyanbinary
headphones-toolbox: init at 0.0.3

I made a mistake while squashing, so uhh I will close this.

Here's the latest one:
{ lib
, stdenv
, dpkg
, fetchurl
, autoPatchelfHook
, webkitgtk
}:

stdenv.mkDerivation (finalAttrs: {
  name = "headphones-toolbox";
  version = "0.0.3";

  src = fetchurl {
    url = "https://github.com/george-norton/headphones-toolbox/releases/download/headphones-toolbox-beta-v4r2/ploopy-headphones-toolbox_${finalAttrs.version}_amd64.deb";
    hash = "sha256-r+ybcD6koSIJ/6cck3RNXmf758sRnhS1Y4kaYCNbveA=";
  };

  unpackCmd = ''
    dpkg-deb -x $curSrc source
  '';

  nativeBuildInputs = [
    dpkg
    autoPatchelfHook
  ];

  buildInputs = [
    webkitgtk
  ];

  installPhase = ''
    runHook preInstall
    mkdir -p $out/bin
    mv usr/bin $out
    mv usr/lib $out
    mv usr/share $out

    runHook postInstall
  '';

  meta = with lib; {
    description = "A UI for configuring Ploopy Headphones";
    homepage = "https://github.com/george-norton/headphones-toolbox";
    maintainers = with maintainers; [ knarkzel nyanbinary ];
    license = licenses.gpl3Only;
    sourceProvenance = with sourceTypes; [ binaryNativeCode ];
    platforms = [ "x86_64-linux" ];
    mainProgram = "headphones-toolbox";
  };
})

Opened new one here: https://github.com/NixOS/nixpkgs/pull/254611


Optimize exchange operator & Support mpp version

What problem does this PR solve?
Issue Number: close #6620
Problem Summary:

Optimize exchange operator
Support mpp-version in mpp tasks

What is changed and how it works?
Base Modules & Utils

add -march=haswell flag for a few modules
add avx2_byte_count to optimize size_t countBytesInFilter(const UInt8 * filt, size_t sz).
optimize a few implementations for ColumnsCommon.cpp, DataTypeString.cpp,
use std::chrono::steady_clock instead of system_clock in a few modules

Mpp Version Check
TiFlash will check mpp-version in FlashService::EstablishMPPConnection, FlashService::CancelMPPTask, FlashService::EstablishMPPConnection.
if failed to check mpp-version is valid, tiflash will return grpc error grpc::StatusCode::CANCELLED with message like:
ERROR 1105 (HY000): rpc error: code = Canceled desc = Failed to handling mpp dispatch request, reason=`Invalid mpp version -1, TiFlash expects version: min 0, max 1, should upgrade TiDB/planner`

Hash Partition Writer

add new module HashPartitionWriterV1 with new codec pattern

create packet with version MPPDataPacketV1 (1) https://github.com/pingcap/kvproto/blob/7cd28226c2a21e489b077a87e1f5c9ba2c950944/proto/mpp.proto#L76
data packet chunk format

            // compression method flag; NONE = 0x02, LZ4 = 0x82, ZSTD = 0x90
            // ...
            // header meta:
            //     columns count;
            //     total row count (multi parts);
            //     for each column:
            //         column name;
            //         column type;
            // for each part:
            //     row count;
            //     columns data;

HashPartitionWriterV1 supports compression mode:

NONE: no compression

if target tunnel model is TunnelSenderMode::LOCAL, must use method NONE.

FAST: fast compression/decompression speed, use method LZ4.
HIGH_COMPRESSION: high compression (HC) ratio mode, use method ZSTD.

NewMPPExchangeWriter will generate HashPartitionWriterV1 when exchange type is tipb::ExchangeType::Hash and enable_fine_grained_shuffle is NOT enabled and mpp-version of dag context is not 0.
ExchangeReceiverBase<RPCContext>::decodeChunks will check version of mpp::MPPDataPacket

MPPDataPacketV0: use previous way.
MPPDataPacketV1: use new format. check first byte(compression method flag) to determine if data is compressed.

Grafana
Add panel Exchange Bytes/Seconds in Grafana

hash_none_remote, hash_lz4, hash_zstd: hash exchange sends data with different compress methods by not local mpp tunnel.
hash_none_local: hash exchange sends data without compression by local mpp tunnel.
hash_original_all: original data size sent by hash exchange

hash_original_all ≈ hash_none_remote + hash_none_local + hash_lz4 * lz4-compress-rate + hash_zstd * zstd-compress-rate

broadcast_passthrough_original_all
broadcast_passthrough_none_local

Config
[profiles]
[profiles.default]
batch_send_min_limit_compression = -1 # default minimal chunk size of exchanging data among TiFlash when using data compression

If batch_send_min_limit_compression LT 0, HashPartitionWriterV1 will use 8192 * partition_num.
Benchmark

TPCH-100
TiFlash x 3
TIFLASH REPLICA x 3
Base branch:

TiDB: e1a2b5865
TiFash: 6a60796fa3672650b74579618c011cc3d863ca65

Notice: in the master branch, #6463 will cause performance regression, revert it and get benchmark below

Time(s)
NONE
FAST(LZ4)
HC(ZSTD)
Improvement: (Original) / (FAST) - 1.0
Improvement: (Original) / (HC) - 1.0

Q1
3.25
2.92
2.99
11.30%
8.70%

Q2
1.44
1.24
1.51
16.13%
-4.64%

Q3
3.39
3.12
3.05
8.65%
11.15%

Q4
2.65
2.58
2.52
2.71%
5.16%

Q5
8.09
6.88
7.55
17.59%
7.15%

Q6
0.7
0.7
0.7
0.00%
0.00%

Q7
3.39
2.99
3.39
13.38%
0.00%

Q8
6.01
5.27
4.93
14.04%
21.91%

Q9
22.31
19.03
21.71
17.24%
2.76%

Q10
4.6
4.4
4.46
4.55%
3.14%

Q11
1.24
0.91
0.91
36.26%
36.26%

Q12
1.71
1.78
1.71
-3.93%
0.00%

Q13
3.79
3.52
3.72
7.67%
1.88%

Q14
0.84
0.84
0.84
0.00%
0.00%

Q15
1.85
1.85
1.78
0.00%
3.93%

Q16
1.11
1.11
1.17
0.00%
-5.13%

Q17
7.21
6.95
7.28
3.74%
-0.96%

Q18
8.62
7.42
8.42
16.17%
2.38%

Q19
1.85
1.85
1.98
0.00%
-6.57%

Q20
1.44
1.38
1.51
4.35%
-4.64%

Q21
9.76
9.23
9.7
5.74%
0.62%

Q22
0.7
0.7
0.77
0.00%
-9.09%

SUM
95.95
86.67
92.6
10.71%
3.62%

Check List
Tests

[x] Unit test
[x] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-unit-test

I prefer to change MPPTunnelSet::broadcastOrPassThroughWrite(TrackedMppDataPacketPtr && packet) and MPPTunnelSet::partitionWrite(TrackedMppDataPacketPtr && packet, int16_t partition_id) to MPPTunnelSet::broadcastOrPassThroughWrite(Blocks & blocks) and MPPTunnelSet::partitionWrite(Blocks & blocks, int16_t partition_id), and move all logic of encoding mpp packet to MPPTunnelSet.
In this way, we can also move the compression logic to the MPPTunnelSet, and not care whether it is a HashPartition, FineGrainedPartition or broadcast.
It will also be easier for the subsequent modification of the Local Tunnel direct transmission block.

I prefer to change MPPTunnelSet::broadcastOrPassThroughWrite(TrackedMppDataPacketPtr && packet) and MPPTunnelSet::partitionWrite(TrackedMppDataPacketPtr && packet, int16_t partition_id) to MPPTunnelSet::broadcastOrPassThroughWrite(Blocks & blocks) and MPPTunnelSet::partitionWrite(Blocks & blocks, int16_t partition_id), and move all logic of encoding mpp packet to MPPTunnelSet.
In this way, we can also move the compression logic to the MPPTunnelSet, and not care whether it is a HashPartition, FineGrainedPartition or Broadcast.
It will also be easier for the subsequent modification of LocalTunnel direct transmission block.

And the logic of MPPPacketVersion can also be hidden in the MPPTunnelSet.

/run-all-tests

/run-all-tests

The latest master branch will bring regression since #6463

I prefer to change MPPTunnelSet::broadcastOrPassThroughWrite(TrackedMppDataPacketPtr && packet) and MPPTunnelSet::partitionWrite(TrackedMppDataPacketPtr && packet, int16_t partition_id) to MPPTunnelSet::broadcastOrPassThroughWrite(Blocks & blocks) and MPPTunnelSet::partitionWrite(Blocks & blocks, int16_t partition_id), and move all logic of encoding mpp packet to MPPTunnelSet.
In this way, we can also move the compression logic to the MPPTunnelSet, and not care whether it is a HashPartition, FineGrainedPartition or Broadcast.
It will also be easier for the subsequent modification of LocalTunnel direct transmission block.

And the logic of MPPPacketVersion can also be hidden in the MPPTunnelSet.

I think so. Maybe we can implement it after this PR.

I prefer to change MPPTunnelSet::broadcastOrPassThroughWrite(TrackedMppDataPacketPtr && packet) and MPPTunnelSet::partitionWrite(TrackedMppDataPacketPtr && packet, int16_t partition_id) to MPPTunnelSet::broadcastOrPassThroughWrite(Blocks & blocks) and MPPTunnelSet::partitionWrite(Blocks & blocks, int16_t partition_id), and move all logic of encoding mpp packet to MPPTunnelSet.
In this way, we can also move the compression logic to the MPPTunnelSet, and not care whether it is a HashPartition, FineGrainedPartition or Broadcast.
It will also be easier for the subsequent modification of LocalTunnel direct transmission block.

And the logic of MPPPacketVersion can also be hidden in the MPPTunnelSet.

I think so. Maybe we can implement it after this PR.

This is not a big change, and if we merge the refine pr first, it will also help this pr

No need to maintain two sets of compression logic and two writers for hash partition and fine grained shuffle
It would be simpler to write ut in gtest_exchange_writer.cpp, like

for (auto compression, compressions)
{
    enable(compression);
    // testBroadcast
    // test hash partiton
    // test fine grained shuffle
}

If we refine after this pr merge, it will be more difficult to refine.
https://github.com/pingcap/tiflash/pull/6644 PTAL

If we refine after this pr merge, it will be more difficult to refine. #6644 PTAL

The latest pingcap master branch has been merged into this PR.

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/rebuild

Will we consider Storage-Disaggregtion case: https://github.com/pingcap/tiflash/pull/6248

Do we consider Storage-Disaggregtion case: #6248

+1, In Storage-Disaggregation case, the exchange type between storage node and compute node is always passthough, so we need to support compression for passthrough exchange, but it's ok to me to add this support in the next pr.

/run-all-tests

/run-integration-test

/run-all-tests

/merge

/hold

/rebuild

/run-integration-test

/merge

/run-unit-test

/run-all-tests

/unhold


deps: nail down verror dependency to 1.8.1

Well, the title says it all :)
Why did do that? I have the issue that a dependency (jsprim) is using verror in version 1.3.6 in which an access to VError is done with require('verror').VError.

Coverage remained the same at 100.0% when pulling e80b73b4df8122ff2d79c4884e7dbed4a2f03d4d on seasick:nail-verror-dependency into 37447cea7a6b86ef6aaaccb21b2da086ef252e7e on argon:develop.

Could you please change it to ^1.8.1

Coverage remained the same at 100.0% when pulling 673e4848c41ac7efae358a3e61e8ef864e3373af on seasick:nail-verror-dependency into 37447cea7a6b86ef6aaaccb21b2da086ef252e7e on argon:develop.


Panning on a link will be considered as a click thus opening the link

Panning of page should not trigger page clicking.

This problem only happen with mouse. Panning with finger works fine.
I will look into this problem now

I will change the navigation behaviour for both Pages mode and Slides mode.
New expected behaviour

Only touch input will be used for panning
Both mouse and pen input will be used for text selection instead.
Navigation of the page will be done with mousewheel instead for user who have a mouse

This proposal solve these problem in Pages and Slides mode:

unexpected clicking arose from mouse panning
unable to select text using mouse/pen


Add log messages to inform about the reasons why a crawler finished

Tackles https://github.com/apifytech/apify-js/issues/223
All Crawlers are based on BasicCrawler, which will finish when either the underlying AutoscaledPool finishes or when an error is thrown. We already log errors, so that's a non-issue. It can also be aborted, but we already log that too.
The AutoscaledPool finishes when the isFinishedFunction returns true. In BasicCrawler, it can be either the default function or a custom function. Both now have new log messages. Reaching max requests is also handled.
So I reckon that's all. If you have any other ideas, let me know.

The failed test is a random failure of an unrelated function.


Dynamic Import Webpack Chunk

I am using webpack and trying to dynamically import a chunk like the following. This will output plyr.js as its own js chunk in my dist folder, but now I'm trying to initiate new Plyr() but Plyr is undefined. Any direction to accomplish this?
const main = async() => {
    const Plyr = await import(/* webpackChunkName: "plyr" */ 'plyr');
};
// Execute async function
main().then(() => {
});

It could be the same than #2418


[Doc-enhance][add section][1822235]

added section

Docs Build status updates of commit 26c1edf:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/add-outgoing-webhook.md
:warning:Warning
View
Details

msteams-platform/webhooks-and-connectors/how-to/add-outgoing-webhook.md

Line 120, Column 56: [Warning-file-not-found] Invalid file link: '../task-modules-and-cards/cards/cards-format.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit a5e2bf0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/add-outgoing-webhook.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Information required for PR 3580 is similar to PR 3596. Hence, closing PR 3580 and adding information to PR 3596.

Closing this PR as it will be taken care in #3596


Pedestrian model

A new model is needed to represent pedestrians. this will require a .glb and blender .blend file as well as a default physics model file .urdf.
AC:

[x] Model file in glb format
[x] Model file for editing in .blend format
[ ] Physics parameters for model in .urdf format

How were the previous models created? This would be helpful to know for creating new models

closes with #767 , physics urdf file no longer needed


Task is waiting in queue...

Recently the server was resetted to resolve this issue. After 3 weeks of use, the issue arose once more.
Could you please reset the server on the website?

Yes, because the task is still waiting in queue for 24 hours and couldnt get the results.

Same here, Hope the developers can restart the server.

The server has been restarted, sorry for the downtime


Case does unboxing and matching should count as a usage

The following is allowed, but I think it is unsound:
import Bool

foo : Bool |0| -> Bool
foo x =
  case x of
    |False| -> False;
    |True| -> True

This is because we are not counting the pattern match as a usage, which it actually is.
This program should be equivalent to the following which is of course ill-typed:
fooA : Bool |0| -> Bool
fooA |x| =
  case x of
    False -> False;
    True -> True

I think what we need is for the pattern matching to actually modify the type of the guard here.

Isn't this because data constructors are nonlinear? I was actually going to ask you about this because when looking at the linearity lattice today I wondered why the pair constructor is just assumed to be cartesian.
Is this is what you meant?


Update goo.gl links

There is a lot of goo.gl URL links in the readme. Since Google has shut down the URL shorner service the links will become inaccessible by April 2020. Need to update the links, if there is no update on documentation by then.

Thanks for this - I will make a note to update the links.

Google has shut down the URL shorner service the links will become inaccessible by April 2020.

The service is still active today and honouring the old urls. however that being said I have replaced the URL's to their resolved counterparts


Filter incompatible Scala 3 projects in cross switch commands

Fixes #6915.

Review by @eed3si9n.

Closing this in favor of https://github.com/sbt/sbt/pull/6939.


Update aurelia mdc components

Description

the aurelia mdc components have not been updated in a while
the newest Version for Aurelia 1 that is currently available is v9.0.8

the only thing that caused some tests to fail was the mdc-dialog which now requires  tags explicitly

Note:

other than the material design components i looked into other aurelia dependencies that could be updated
the newest version of the aurelia-bootstrapper (2.4.0) caused the following error:

which is why we keep using the current version (2.3.3)

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@selinanatschke-mms Please also update the layout check dialog. Maybe the same change as for the screenshot dialog.


About your Video2Gif API

Can I get a 5 to 10 sec gif from a video and make it a thumbnail like on youtube?
If that is the case, can the file be larger and restrict the output size prior to upload or through api?
I have a website with a bunch of videos, but they all have boring plain video camera icons
Any ideas?
Regards

Can I get a 5 to 10 sec gif from a video and make it a thumbnail like on youtube?

I thought that a thumbnail was a single image although I do not see any problem in using a animated gif as a thumbnail.
You can set => frames 1, start X ,duration 1.  You will get a gif with only one frame in order to use it as a thumbnail

If that is the case, can the file be larger and restrict the output size prior to upload or through api?

Right now API needs the full video uploaded.
I must investigate about a workaround for this

I have a website with a bunch of videos, but they all have boring plain video camera icons
Any ideas?

It depends.
Video formats ? quantity ? average size per video ?
If you are talking about TBs of data i think your better option is running a script to create thumbails from video using ffmpeg
Create a thumbnail image every X seconds of the video
Thanks for your feedback. I had not noticed about thumbnails but now i will work on it.
Regards


Changed PdfEncrypt to file_encrypter and updated documentation.

Changed PdfEncrypt to file_encrypter and updated documentation. The existing encrypter script can be used to encrypt any file, including images. Credit goes to SoumyaRanjanNaik, fa1l, and am401 for creating, fixing, and documenting the initial script.
Pull Request Template
script name - file_encrypter
Encrypt or decrypt any file
Issue no.(must) - #215
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me.
[x] One Change in one Pull Request
[ x My file is in proper folder (Name of folder should be in lowercase with no space in between)
[x] I am following clean code and Documentation and my code is well linted with flake8.
[x] I have added README.md and requirements.txt with my script

If issue was not assigned to you Please don't make a PR. It will marked as invalid.

Sorry, but we won't allow any minor change in docs

Really, Sorry for that @egurnick

@all-contributors add @egurnick for code

That is ok @pawangeek
I am happy to contribute!


Scale Back / Disable Permissions Page

Currently the permissions page seeks to request almost every permission possible. This causes the app’s appxmanifest to have a ton of capabilities, more than seem necessary. Look into reducing the scope of the permissions that the permissions page is trying to seek. Look into temporarily remove the permissions page entirely.

CC: @tritao - @chiaramooney, the purpose of the Permissions module is to enable the app to request almost every permission possible. However, this has the side effect of exploding the appxmanifest such that it looks like the Gallery needs all of these permissions.
I wonder if the permissions page itself should list all of the permissions it can support, but the app itself doesn't actually request any more than needed? What is the minimum set of permissions required?

@stmoy The minimum capabilities for an RNW app is InternetClient and that's it.
Temporary Removal of Permissions Page: https://github.com/microsoft/react-native-gallery/pull/124


AngularJS1.6.2 - IE9 compatibility slow rendering for Translate Provider Static File Loader #1892

Here is the demo link for this issue
https://plnkr.co/edit/RfRnpGrmf95aRn8DCiqs?p=preview
Below code is causing issue in IE9 compatibility mode with IE11 browser . Its taking around 2mins to render in IE9 compatibility mode (with IE11), also getting message about long running query.
In IE11 this code is taking around 40 seconds.
$translateProvider.useStaticFilesLoader({
prefix: ${root}langs/locale-,
suffix: '.json',
})

Hello,
I'm closing this issue due inactivity. We have asked for additional details, but you could not helped us. Therefore we close this issue as not reproducible.
If you still have an issue, please create a new issue because we cannot be sure to track closed issues.


Auto Detect feature overwrites language configuration

VS Code Version: 1.60.0
OS Version: macOS Big Sur 11.5.2

Hey there,
with a new release of vscode an automatic language detection feature was introduced:
https://code.visualstudio.com/updates/v1_60#_automatic-language-detection
In MongoDB extension we have a mongodb language configured in our package.json:
https://github.com/mongodb-js/vscode/blob/main/package.json#L124-L135
Then we open an editor with this mongodb language selected and only for those mongodb playgrounds we enable some specific functionality:
https://github.com/mongodb-js/vscode/blob/main/src/editors/playgroundController.ts#L253-L256
After the recent vscode update we can see that auto-detection happens right after a user types something in a playground, overwrites language setting, and breaks our playgrounds functionality:
https://jira.mongodb.org/browse/VSCODE-295
I would expect that auto-detection should happen only if language is not specified. I tried to explicitly set the language like this after we open an editor:
await vscode.languages.setTextDocumentLanguage(
  document,
  'mongodb'
);

But auto-detection happens anyway and changes language to JavaScript. I also tried set python, assuming that it might be broken, because mongodb is not an officially supported language by vscode, by with python it does the same, auto-detects JavaScript and changes language configuration to it.
Note that it happens with unsaved files, for files saved on disc it does not overwrite the language configuration.

/duplicate of #132431


Fix fast forwarding for SubqueryExecutor

Use the bespoke skipRowsRange in SubqueryExecutor

http://jenkins.arangodb.biz:8080/job/arangodb-matrix-pr/10242/

http://jenkins.arangodb.biz:8080/job/arangodb-matrix-pr/10243/

http://jenkins.arangodb.biz:8080/job/arangodb-matrix-pr/10244/

This fix is entirely broken and needs to be redone tomorrow.

http://jenkins.arangodb.biz:8080/job/arangodb-matrix-pr/10254/

This now includes #11755 because that change is needed to make tests pass properly.

Jenkins blue.


Use filter selection as vocab for variables

Description
Closes #138
Variable constraints currently operation on dataset-wide characteristics of a variable. For example, if a variable has > 8 values, it will not be available in many contexts of a visualization.
This PR makes it so that if the subset is filtered by a categorical variable, then the filter selection is used in place of the dataset-wide variable's vocabulary. This makes it possible to select <= 8 values, and then use the variable in visualizations.
Notes

All inputs are are filter sensitive wrt {min,max}NumValues
Legend labels are constrained to filter selection
Plot ticks are constrained to filter selection
Introduced pattern using useDeepValue to eliminate eslint warnings re vizConfig properties in visualizations.

Testing notes

Check that variable inputs and legends respond to filter changes
Check UX of when a filter is removed and a selected variable is no longer allowed
Check standalone map

@bobular ready for your review! Feel free to add others, as you see fit.

I'll go ahead and merge. A new ticket would be great. We can see who makes it first 🙂.
Thanks for the review! Merging now.


New package: Carlo v0.1.2

Registering package: Carlo
Repository: https://github.com/lukas-weber/Carlo.jl
Created by: @lukas-weber
Version: v0.1.2
Commit: 1a9405b0d41f4475cfc2fdcf19c81d00b1ecc794
Git reference: HEAD

Hm, to me the distance of Carlo to Circo, Cairo, and Taro seems quite striking.
Carlo as a short name for a Monte Carlo package seems pretty idiomatic, and I have a number of internal packages that already depend on this name in many places. Therefore it would be awesome if it could be accepted as is.

Thanks so much!


missing program file

need the arduino program file urgently.

Hi arumoybera, I've just uploaded the code to my GitHub page. Goodluck with
it and send me some pictures of your own clock :-)
Regards,
Leon van den Beukel
2018-02-12 16:50 GMT+01:00 arumoybera<EMAIL_ADDRESS>
need the arduino program file urgently.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/leonvandenbeukel/7-Segment-Digital-Clock/issues/1,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMR1OgeUoLUvm7GOI5hASvTb7vp0bYIoks5tUF2ugaJpZM4SCYWv
.

Uploaded the code.

I found an error in compiling
"3D-7-Segment-Digital-Clock:100:6: error: 'class Timer' has no member named 'every'
t3.every(50, updateHue);"
How can I solve it?

You need to install the correct timer library and then it should work.
Regards,
Leon

will you be kind enough to give the link of the correct library?
Thanx........

I tried different ways to Solve the " "3D-7-Segment-Digital-Clock💯6: error: 'class Timer' has no member named 'every'
t3.every(50, updateHue);" problem but failed. Requested to mail or give the link for correct timer library.
Thank you in advance..

You need to install this library: https://github.com/JChristensen/Timer