Change/add Emmet suggestion for

Issue Type: Feature Request
Emmet completes form as form action="".  In this day and age, using Angular and other frameworks I almost never need an action and I always need to delete it.
Can this  be removed from the default suggestion?  Or, at least, have it pre-selected for easy deletion, as in ${1:action="$2"}?
VS Code version: Code - Insiders 1.23.0-insider (c1cd4378c5e5dc434ed959e13556d05240a8ca18, 2018-04-20T05:10:42.823Z)
OS version: Darwin x64 17.5.0

@smlombardi Please log this issue at https://github.com/emmetio/snippets. You can also send a PR for your suggested fix. The file to change would be https://github.com/emmetio/snippets/blob/master/html.json#L57
A workaround is to create your own custom snippet for form such that it overrides the default one

@ramya-rao-a  Thanks.  That repo has no "issues" tab...
Also, I created a snippets.json in my home folder and added  "emmet.extensionsPath": "~/snippets.json" to my user settings, but VSCode complains "no such directory" when I try to use Emmet.
Mu snippets.json so far is
{
  "html": {
    "snippets": {
      "form": "<form${1:[action=${2}]}></form>"
    }
  }
}

Try https://github.com/emmetio/expand-abbreviation/issues for logging the issue
emmet.extensionsPath should point to the directory where the snippets.json file resides not the file itself.


Add some entry level typing for the triggers.create endpoint

Summary
This introduces introductory typing for the triggers.create method and adds some architecture to support custom typing for individual methods.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

Thanks @filmaj! Looks like a last minute rename caused the problem where the type was being registered as never. This has been fixed.
To add a new method with custom typing, you do not need to run the generate script. I added that loop to remove custom typed methods from the set in order to make sure we don't overload if we do have them in both, but I think leaving those methods in the array caused some of this confusion so I removed them. Since we don't need to run the generate script for this process unless you're replacing an existing method that was generated, I don't think there is a space to automate adding the tests.
Responses will come in a follow-up PR.


Add keycloak-cluster-setup blog.

Resent the PR https://github.com/keycloak/keycloak-web/pull/58.
The community suggest me to post a blog for this topic.
http://lists.jboss.org/pipermail/keycloak-user/2019-April/018046.html

The blog looks like


Set AS to uppercase in Dockerfile  to avoid FromAsCasing warning.

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Set AS to uppercase in Dockerfile  to avoid FromAsCasing warning.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

While Dockerfile keywords can be either uppercase or lowercase, mixing case styles is not recommended for readability. This rule reports violations where mixed case style occurs for a FROM instruction with an AS keyword declaring a stage name.

https://docs.docker.com/reference/build-checks/from-as-casing/
Does this PR introduce a user-facing change?

NONE

Good point. Thanks.

/assign @alculquicondor


Barren Falls

If you say no to going down barren falls, then try to go down it again, the game softlocks.

Huh... that's interesting.  I need to just make you jump... and remove the "GotoMap"s Stein was talking about over PM so you can't find yourself in the Doma Fortress.

This will be resolved in the next release.


Friend list and console commands

I'm sure this would take some coordination on the front-end and back-end here, but there is a request for a friend list in Janus which I think also kinda ties in with this request for some console commands.
It would seem that there are some todos in the server codebase for authentication and since there are places that reference the userid in the server, I think it would be a good candidate for saving and tracking this sort of data. Perhaps the commands could be implemented in Node with commander and an api provided for the Janus front-end to execute these commands wither through console or with a UI.
Thoughts?

Some work being done on authentication: http://metaverse.systems/janus-auth/index.php
Reddit thread: http://www.reddit.com/r/janusVR/comments/3b9mmu/plugin_authentication_for_janus_server/


pex cannot resolve dependencies when provided with files (bdists) as inputs

As a learning exercise, I've been trying to hack together basic pex support for Bazel via the rule extensibility framework. In the Bazel world, external dependencies (e.g. an .egg or .whl) are explicitly declared and fetched for you via an http_file() or other similar target analog which are then depended on directly by something like a python_library. As a result of this, the inputs available to pex at the point of invocation consist of bdists (egg/whl) with no capabilities for transitive resolution or fetching.
While trying to make this all work with Flask, I hit a snag with the passing of direct bdist inputs to pex that I think might be a bug.
setup:
[illuminati test_pex]$ pex Flask -v -o /tmp/fl.pex
  Flask 0.10.1
  Jinja2 2.8
  itsdangerous 0.24
  Werkzeug 0.10.4
  MarkupSafe 0.23
Saving PEX file to /tmp/fl.pex

[illuminati test_pex]$ unzip -l /tmp/fl.pex |grep .deps | awk -F/ '{print $2}' | sort | uniq
Flask-0.10.1-py2-none-any.whl
Jinja2-2.8-py2.py3-none-any.whl
MarkupSafe-0.23-cp27-none-macosx_10_4_x86_64.whl
Werkzeug-0.10.4-py2.py3-none-any.whl
itsdangerous-0.24-py2-none-any.whl

[illuminati test_pex]$ pip wheel --no-cache-dir --wheel-dir=. Flask
Collecting Flask
  Downloading Flask-0.10.1.tar.gz (544kB)
    100% |████████████████████████████████| 544kB 7.5MB/s
Collecting Werkzeug>=0.7 (from Flask)
  Downloading Werkzeug-0.10.4-py2.py3-none-any.whl (293kB)
    100% |████████████████████████████████| 294kB 5.4MB/s
  Saved ./Werkzeug-0.10.4-py2.py3-none-any.whl
Collecting Jinja2>=2.4 (from Flask)
  Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
    100% |████████████████████████████████| 266kB 8.4MB/s
  Saved ./Jinja2-2.8-py2.py3-none-any.whl
Collecting itsdangerous>=0.21 (from Flask)
  Downloading itsdangerous-0.24.tar.gz (46kB)
    100% |████████████████████████████████| 49kB 3.9MB/s
Collecting MarkupSafe (from Jinja2>=2.4->Flask)
  Downloading MarkupSafe-0.23.tar.gz
Skipping Werkzeug, due to already being wheel.
Skipping Jinja2, due to already being wheel.
Building wheels for collected packages: Flask, itsdangerous, MarkupSafe
  Running setup.py bdist_wheel for Flask
  Stored in directory: /Users/kw/test_pex
  Running setup.py bdist_wheel for itsdangerous
  Stored in directory: /Users/kw/test_pex
  Running setup.py bdist_wheel for MarkupSafe
  Stored in directory: /Users/kw/test_pex
Successfully built Flask itsdangerous MarkupSafe

[illuminati test_pex]$ ls -1
Flask-0.10.1-py2-none-any.whl
Jinja2-2.8-py2.py3-none-any.whl
MarkupSafe-0.23-cp27-none-macosx_10_4_x86_64.whl
Werkzeug-0.10.4-py2.py3-none-any.whl
itsdangerous-0.24-py2-none-any.whl

this seems to work fine:
[illuminati test_pex]$ pex-1.0.3.pex itsdangerous-0.24-py2-none-any.whl --no-index
Python 2.7.10 (default, Sep  3 2015, 23:25:53)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import itsdangerous; itsdangerous.__file__
'/private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmphZeWy2/.deps/itsdangerous-0.24-py2-none-any.whl/itsdangerous.py'

[illuminati test_pex]$ pex-1.0.3.pex itsdangerous-0.24-py2-none-any.whl Werkzeug-0.10.4-py2.py3-none-any.whl MarkupSafe-0.23-cp27-none-macosx_10_4_x86_64.whl --no-index -v
  MarkupSafe 0.23 :: Resolving distributions
  itsdangerous 0.24
  Werkzeug 0.10.4
pex: Building pex: 52.6ms
pex:   Resolving distributions: 10.6ms
Running PEX file at /var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpZZpSmd with args []
pex: PEX.run invoking /Users/kw/Python/CPython-2.7.10/bin/python2.7 /var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpZZpSmd
Python 2.7.10 (default, Sep  3 2015, 23:25:53)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>

up until either Jinja2 or Flask is introduced:
[illuminati test_pex]$ pex-1.0.3.pex itsdangerous-0.24-py2-none-any.whl Werkzeug-0.10.4-py2.py3-none-any.whl MarkupSafe-0.23-cp27-none-macosx_10_4_x86_64.whl Jinja2-2.8-py2.py3-none-any.whl -v -v -v -v -v --no-pypi --disable-cache
pex: Constructed RequestsContext context <pex.http.RequestsContext object at 0x103519110>
pex: Constructed RequestsContext context <pex.http.RequestsContext object at 0x103519590>
pex: Constructed RequestsContext context <pex.http.RequestsContext object at 0x103519490>
pex: Constructed RequestsContext context <pex.http.RequestsContext object at 0x103519310>
pex: Building pex :: Resolving distributions :: Fetching file:///Users/kw/test_pex/MarkupSafe-0.23-cp27-none-macosx_10_4_x86_64.whlpex: Building pex :: Resolving distributions :: Translating /private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpkR0NLh/MarkupSafpex: Building pex :: Resolving distributions :: Fetching file:///Users/kw/test_pex/itsdangerous-0.24-py2-none-any.whl              pex: Building pex :: Resolving distributions :: Fetching file:///Users/kw/test_pex/itsdangerous-0.24-py2-none-any.whl :: Fetching fpex: Building pex :: Resolving distributions :: Translating /private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpjzaGei/itsdangerpex: Building pex :: Resolving distributions :: Fetching file:///Users/kw/test_pex/Jinja2-2.8-py2.py3-none-any.whl                 pex: Building pex :: Resolving distributions :: Fetching file:///Users/kw/test_pex/Jinja2-2.8-py2.py3-none-any.whl :: Fetching filepex: Building pex :: Resolving distributions :: Translating /private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpntIoBR/Jinja2-2.pex: Building pex :: Resolving distributions :: Fetching file:///Users/kw/test_pex/Werkzeug-0.10.4-py2.py3-none-any.whl            pex: Building pex :: Resolving distributions :: Fetching file:///Users/kw/test_pex/Werkzeug-0.10.4-py2.py3-none-any.whl :: Fetchingpex: Building pex :: Resolving distributions :: Translating /private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpNKixAC/Werkzeug-pex: Constructed RequestsContext context <pex.http.RequestsContext object at 0x103558090>
Could not satisfy all requirements for MarkupSafe:
    MarkupSafe(from: WheelPackage('file:///Users/kw/test_pex/Jinja2-2.8-py2.py3-none-any.whl'))

when pypi is turned back on, it appears to fetch MarkupSafe again even tho its available locally (and translated):
[illuminati test_pex]$ pex-1.0.3.pex itsdangerous-0.24-py2-none-any.whl Werkzeug-0.10.4-py2.py3-none-any.whl MarkupSafe-0.23-cp27-none-macosx_10_4_x86_64.whl Jinja2-2.8-py2.py3-none-any.whl -v -v -v -v -v --disable-cache
pex: Building pex :: Resolving distributions :: Fetching https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz#md5=f5ab3deee4c37cd6a922fb81e730da6e :: Fetching https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz#md5=f5ab3deee4cpex: Validated MarkupSafe-0.23.tar.gz (md5=f5ab3deee4c37cd6a922fb81e730da6e)
pex: Validated MarkupSafe-0.23.tar.gz (md5=f5ab3deee4c37cd6a922fb81e730da6e)
  Werkzeug 0.10.4 :: Resolving distributions :: Translating /private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpH8dchm/MarkupSafe-0.23.tar.gz into distribution :: Packaging MarkupSafe :: Installing /var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpbycBj8
  Jinja2 2.8
  MarkupSafe 0.23
  itsdangerous 0.24
  MarkupSafe 0.23
pex: Building pex: 806.3ms
pex:   Resolving interpreter: 0.6ms
pex:     Setting up interpreter /Users/kw/Python/CPython-2.7.10/bin/python2.7: 0.6ms
pex:   Resolving distributions: 739.7ms
pex:     Fetching file:///Users/kw/test_pex/MarkupSafe-0.23-cp27-none-macosx_10_4_x86_64.whl: 0.6ms
pex:       Fetching file:///Users/kw/test_pex/MarkupSafe-0.23-cp27-none-macosx_10_4_x86_64.whl: 0.3ms
pex:     Translating /private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmp2dPQZK/MarkupSafe-0.23-cp27-none-macosx_10_4_x86_64.whl into distribution: 1.0ms
pex:     Fetching file:///Users/kw/test_pex/itsdangerous-0.24-py2-none-any.whl: 0.6ms
pex:       Fetching file:///Users/kw/test_pex/itsdangerous-0.24-py2-none-any.whl: 0.3ms
pex:     Translating /private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpar4UF3/itsdangerous-0.24-py2-none-any.whl into distribution: 0.8ms
pex:     Fetching file:///Users/kw/test_pex/Jinja2-2.8-py2.py3-none-any.whl: 0.9ms
pex:       Fetching file:///Users/kw/test_pex/Jinja2-2.8-py2.py3-none-any.whl: 0.6ms
pex:     Translating /private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpHtxVtp/Jinja2-2.8-py2.py3-none-any.whl into distribution: 1.0ms
pex:     Fetching file:///Users/kw/test_pex/Werkzeug-0.10.4-py2.py3-none-any.whl: 1.3ms
pex:       Fetching file:///Users/kw/test_pex/Werkzeug-0.10.4-py2.py3-none-any.whl: 1.0ms
pex:     Translating /private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmp7hV_kl/Werkzeug-0.10.4-py2.py3-none-any.whl into distribution: 1.5ms
pex:     Fetching https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz#md5=f5ab3deee4c37cd6a922fb81e730da6e: 10.1ms
pex:       Fetching https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz#md5=f5ab3deee4c37cd6a922fb81e730da6e: 9.6ms
pex:     Translating /private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpH8dchm/MarkupSafe-0.23.tar.gz into distribution: 229.2ms
pex:       Packaging MarkupSafe: 216.7ms
pex:         Installing /var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpbycBj8: 215.2ms
Running PEX file at /var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpqhCILx with args []
pex: PEX.run invoking /Users/kw/Python/CPython-2.7.10/bin/python2.7 /var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpqhCILx
Python 2.7.10 (default, Sep  3 2015, 23:25:53)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>

This now works:
:; python -mvenv wheels.venv
:; wheels.venv/bin/pip wheel --no-cache-dir --wheel-dir=wheels Flask
Collecting Flask
  Downloading flask-3.0.3-py3-none-any.whl.metadata (3.2 kB)
Collecting Werkzeug>=3.0.0 (from Flask)
  Downloading werkzeug-3.0.3-py3-none-any.whl.metadata (3.7 kB)
Collecting Jinja2>=3.1.2 (from Flask)
  Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting itsdangerous>=2.1.2 (from Flask)
  Downloading itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)
Collecting click>=8.1.3 (from Flask)
  Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting blinker>=1.6.2 (from Flask)
  Downloading blinker-1.8.2-py3-none-any.whl.metadata (1.6 kB)
Collecting MarkupSafe>=2.0 (from Jinja2>=3.1.2->Flask)
  Downloading MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Downloading flask-3.0.3-py3-none-any.whl (101 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.7/101.7 kB 3.0 MB/s eta 0:00:00
Downloading blinker-1.8.2-py3-none-any.whl (9.5 kB)
Downloading click-8.1.7-py3-none-any.whl (97 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 102.2 MB/s eta 0:00:00
Downloading itsdangerous-2.2.0-py3-none-any.whl (16 kB)
Downloading jinja2-3.1.4-py3-none-any.whl (133 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 23.9 MB/s eta 0:00:00
Downloading werkzeug-3.0.3-py3-none-any.whl (227 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 227.3/227.3 kB 16.9 MB/s eta 0:00:00
Downloading MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Saved ./wheels/flask-3.0.3-py3-none-any.whl
Saved ./wheels/blinker-1.8.2-py3-none-any.whl
Saved ./wheels/click-8.1.7-py3-none-any.whl
Saved ./wheels/itsdangerous-2.2.0-py3-none-any.whl
Saved ./wheels/jinja2-3.1.4-py3-none-any.whl
Saved ./wheels/werkzeug-3.0.3-py3-none-any.whl
Saved ./wheels/MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: /tmp/project/wheels.venv/bin/python -m pip install --upgrade pip

:; ls -1 wheels
MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
blinker-1.8.2-py3-none-any.whl
click-8.1.7-py3-none-any.whl
flask-3.0.3-py3-none-any.whl
itsdangerous-2.2.0-py3-none-any.whl
jinja2-3.1.4-py3-none-any.whl
werkzeug-3.0.3-py3-none-any.whl
# /tmp/project

:; pex -V
2.16.0

:; pex wheels/*.whl
Pex 2.16.0 ephemeral hermetic environment with 7 requirements and 7 activated distributions.
Python 3.11.9 (main, Apr 26 2024, 19:20:24) [GCC 13.2.0] on linux
Type "help", "pex", "copyright", "credits" or "license" for more information.
>>> pex()
Running from ephemeral loose PEX directory: /tmp/tmptag7o0d7
Requirements:
  Flask==3.0.3
  Jinja2==3.1.4
  MarkupSafe==2.1.5
  Werkzeug==3.0.3
  blinker==1.8.2
  click==8.1.7
  itsdangerous==2.2.0
Activated Distributions:
  flask-3.0.3-py3-none-any.whl
  werkzeug-3.0.3-py3-none-any.whl
  MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  jinja2-3.1.4-py3-none-any.whl
  itsdangerous-2.2.0-py3-none-any.whl
  click-8.1.7-py3-none-any.whl
  blinker-1.8.2-py3-none-any.whl
>>>

And it doesn't work exactly when appropriate:
:; rm wheels/jinja2-3.1.4-py3-none-any.whl
:; pex --disable-cache --no-pypi wheels/*.whl
pid 20802 -> /tmp/tmpt08yw55d/venvs/960deab6b1961767adc5420cc4589b505810b49d/bcd5cfc9f138f1afceeb38adfb3b9b1c5b07dbe9/bin/python -sE /tmp/tmpt08yw55d/venvs/960deab6b1961767adc5420cc4589b505810b49d/bcd5cfc9f138f1afceeb38adfb3b9b1c5b07dbe9/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --use-deprecated legacy-resolver --isolated -q --cache-dir /tmp/tmpt08yw55d/pip/20.3.4-patched/pip_cache --log /tmp/pex-pip-log.wskruelh/pip.log download --dest /tmp/tmpt08yw55d/downloads/resolver_download.e1yl9pyw/home.jsirois..local.bin.tools.venv.bin.python wheels/MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl wheels/blinker-1.8.2-py3-none-any.whl wheels/click-8.1.7-py3-none-any.whl wheels/flask-3.0.3-py3-none-any.whl wheels/itsdangerous-2.2.0-py3-none-any.whl wheels/werkzeug-3.0.3-py3-none-any.whl --no-index --retries 5 --timeout 15 exited with 1 and STDERR:
pip: ERROR: Could not find a version that satisfies the requirement Jinja2>=3.1.2 (from flask==3.0.3) (from versions: none)
pip: ERROR: No matching distribution found for Jinja2>=3.1.2 (from flask==3.0.3)


MM-43881_Creating new channel error persists on name edit

Summary
New channel modal: After facing a 'url exists' error, updating the Name should reset error.
Ticket Link
https://mattermost.atlassian.net/browse/MM-43881
Screenshots
Release Note
NONE

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/190414

/e2e-test

/e2e-test

Note: I was able to create two channels with the same name but different URL - I don't know if that was allowed or not before 🤔

/e2e-test

/e2e-test

/e2e-test

@julmondragon We'll further check the issue with /e2e-test in this PR. For the meantime, I've triggered the test manually - https://automation-dashboard.vercel.app/cycles/1b3217aa-84d2-4809-b8ee-3034893cf220 cc @stevemudie

/e2e-test

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/190983

/cherry-pick cloud


Next alpha release?

Hi,
I have been wondering if and when your next alpha release will be. There is one specific code change in the master branch that would solve a problem:
Newer version of snakeyaml removed support for "Value Key Language-Independent Type" in yaml, see (https://github.com/Thinkofname/snakeyaml/issues/192). Your most recent version still somehow depends on that, meaning that it throws a NoSuchFieldError when working with a newer version of snakeyaml from the container. As I can see in your code, you already removed the reference to the VALUE field from your codebase on the master branch.
Exception details:
ava.lang.NoSuchFieldError: VALUE
at org.jboss.arquillian.persistence.dbunit.dataset.yaml.YamlDataSetProducer$1.addImplicitResolvers(YamlDataSetProducer.java:116)
Thanks

Hi,
Thanks for pointing it out. I think we can push one next week.

That would be great!
Thanks for your quick reply..

I would keep it open though until I take a closer look :)

@bartoszmajsak, any news on this one?

I reserved time for releasing this small update this week. I guess it will be a new Alpha, as for going to Final version I would love to have more features incorporated. I will keep you posted.

that would be great. Also, could you do the alpha release of the core: https://github.com/arquillian/arquillian-extension-persistence
we need the fix for the bridge methods as well...

When will be next week?

:) Very soon! Apologies. Our goal is to release new version by Wed (including new 2.0.0-alpha version0

Good to hear. I came across this project and was really amazed by @UsingDataSet. But apparently its not working as I need to assign a Datasource via @DataSource because i have multiple persistence units. I hope the next release will fix my problems :)

If you can open an issue describing your challenges we will see how we can improve :)

Basically its #48 :)

Busy weekend that is ;)

Are there any news about a new release of this extension?
The last release on maven (Alpha 7) is from May 2014, which is now almost 3 years ago.
It would be really nice if we could get a version update.

If you look closer in the repository you'd notice there is a 2.0.0 branch. We are working very hard on bringing this new, revamped version as well as releasing the final version of 1.0.0 supporting the pre Java EE 7 environments. Stay tuned. It's coming very very soon.

Thanks for the fast answer. Yes I saw the branch ~10 minutes after posting.
Can you give us a short summary about the new features/improvements of the 2.0.0 version, compared to the 1.0.0-Alpha7 one?

Sure, once I come back from Easter break we will make a blog post on arquillian.org. Mobile only till Monday evening :)

Okay, thanks for the feedback and enjoy your Easter break. ;)

We won't do a blog post on http://arquillian.org yet, but we would like to share with all of you our plan for next month to bring you both 1.0.0.Final and brand new 2.0.0 version (we have already released two alphas for the latter).
We would like to keep "Arquillian Persistence Extension" focusing on JPA and DBUnit in 1.x.y version, working on older JVMs (and thus supporting older Java EE containers). We will ship several important features towards this release:

Scriptable data sets
Ability to use multiple data sources in @Using/@ShouldMatchDataset
Major bug fixes reported in JIRA
Standalone support (non in-container tests)

All above will also be available in new version. With 2.0.0 we rebrand our tool and simply call it APE, as we've been internally calling it for years. The reason is that what we are working on goes beyond "persistence" which is primarily associated with JPA in the Java world. We are going to provide unified developer experience for seeding other data storages (including NoSQL and more - we count on your feedback here!). Also, dealing with test data is tedious and boring, so let's have an APE doing it for us! Our 30000 feet master plan boils down to:

Unified programmatic (dsl) and declarative (annotations) way of seeding data
Support for SQL, JPA, NoSQL and more!
Leveraging more of containers than ever using our awesome Arquillian Cube

Having said all of that - please give us a bit more time to make it happen, as it's not a trivial effort. If you have any suggestions we are thrilled to hear them. This will help us shape APE in the way YOU want it!

Excellent !
Support @UsingDataSet before deploy would be nice !

@bartoszmajsak any chance to get the 1.0.0.Final?
How about pushing the 2.0 Alpha releases to maven?

Alpha releases of 2.0.0 are in maven already, under the new name and structure http://search.maven.org/#search|ga|1|arquillian-ape
As for 1.0.0.Final I'm working now on https://issues.jboss.org/browse/ARQ-1645
Once this is done I will release.

Ah sry I didn't see that.
I will take a look at 2.0.0 :)

For anyone interested I briefly described the migration process:
https://github.com/arquillian/arquillian-extension-persistence/blob/2.0.0/README.adoc#2-migration-from-arquillian-persistence-extension-1x-to-2x

hi
@bartoszmajsak Have some queries for you

Any update on https://issues.jboss.org/browse/ARQ-1645 , regarding the support for multiple datasources ?

I have gone through the migration doc , but it has very less info.
https://github.com/arquillian/arquillian-extension-persistence/blob/2.0.0/README.adoc#2-migration-from-arquillian-persistence-extension-1x-to-2x
Does the fix for ARQ-1645 work only with Arquillian ape 2.x version only ?

I see 2.0.0.alpha.x is the latest in maven. Any arquillian-bom available for the same to support ARQ-1645

As described in the migration doc, I was using the dependency "arquillian-ape-sql-container-dbunit" of 2.0.0-alpha.4 version. Given below are the dependencies i hav in our pom.xml for testing the support for multiple datasources. Pls let me know if , this the correct combination of dependencies?

	<dependency>
		<groupId>org.arquillian</groupId>
		<artifactId>arquillian-universe</artifactId>
		<version><IP_ADDRESS></version>
		<type>pom</type>
	</dependency>
	<dependency>
		<groupId>org.jboss.arquillian.junit</groupId>
		<artifactId>arquillian-junit-container</artifactId>
		<version>1.1.13.Final</version>
		<scope>test</scope>
	</dependency>
	<dependency>
		<groupId>org.arquillian.ape</groupId>
		<artifactId>arquillian-ape-sql-container-dbunit</artifactId>
		<version>2.0.0-alpha.4</version>
		<scope>test</scope>
	</dependency>
	<dependency>
		<groupId>org.eu.ingwar.tools</groupId>
		<artifactId>arquillian-suite-extension</artifactId>
		<version>1.1.4</version>
	</dependency>

I am gettting ClassCastException as given below, after changing to "arquillian-ape-sql-container-dbunit" from "arquillian-persistence-dbunit".
java.lang.ClassCastException: org.arquillian.ape.rdbms.core.event.ApplyScriptsBeforeTest cannot be cast to org.arquillian.ape.rdbms.dbunit.event.CompareDBUnitData
at org.arquillian.ape.rdbms.dbunit.DBUnitDataHandler.compare(DBUnitDataHandler.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.arquillian.ape.rdbms.core.lifecycle.CustomScriptsExecutor.executeScriptsBeforeTest(CustomScriptsExecutor.java:65)
at org.arquillian.ape.rdbms.core.lifecycle.CustomScriptsExecutor.executeBeforeTest(CustomScriptsExecutor.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.arquillian.ape.rdbms.dbunit.DBUnitDataStateLogger.beforePersistenceTest(DBUnitDataStateLogger.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.arquillian.ape.rdbms.core.lifecycle.SchemaCreationScriptsExecutor.createSchema(SchemaCreationScriptsExecutor.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.arquillian.ape.rdbms.dbunit.DBUnitPersistenceTestLifecycleHandler.createDatasets(DBUnitPersistenceTestLifecycleHandler.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.arquillian.ape.rdbms.core.lifecycle.ErrorCollectorHandler.createErrorCollector(ErrorCollectorHandler.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.arquillian.ape.rdbms.dbunit.DBUnitPersistenceTestLifecycleHandler.provideDatabaseConnectionAroundBeforePersistenceTest(DBUnitPersistenceTestLifecycleHandler.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
Appreciate your feedback on the above...

Hi @gsomeshrao. Could you help me with following?

reformat your comment as it's a bit hard to follow the stacktrace
provide all relevant info about your environment
if possible - a small reproducer project?

Thanks!

@bartoszmajsak We are working on a project that has multiple datasources.
Can you provide me a test example of configuring and running with multiple datasources?


Replace ffaker with faker

In ffaker's words

ffaker is a fork of faker, and was initially written in an effort to speed up a slow spec suite. Since those days faker has also been rewritten and the "speed" factor is probably irrelevant now.

We at @umts are replacing ffaker with faker ourselves on one of our applications that uses this library since speed is no longer a factor and faker has more dependents/is more actively maintained.
I noticed the usages of ffaker were relatively straightforward here, so I thought I'd offer this up.

Thanks @benmelz!


Why am I getting 'connect ECONNREFUSED <IP_ADDRESS>:80'?

"Error: connect ECONNREFUSED <IP_ADDRESS>:80
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14)"
My JS call is:
await axios.post('libraservice2.kulap.io/createWallet', {});

@danielpadkins you have to added https:// in front of uri.

Thank @suraneti, if you still have problems feel free to ask here.


Error and status pages pattern updates

What is the context of this PR?
Updated content and updated examples in error and status pages pattern, to be more accurate and consistent.
How to review
Check the docs and examples

 Review and update DS error and status pages

Hi @jrbarnes9 few things.
In some of the examples we have links that use the old approach of '#', can we change these to '#0' for consistency and not move the user to the top of the page.
Also, in regards time formatting in 'This service is temporarily unavailable' do we not label time like: '9am' instead of '9:00am' with the exception of say '9:30am'. I know GDS do it this way.
Other than that, nice job!

Sure, will do.  @LauraC119 Can you confirm time formatting?


Add field description to the currency_exchange_retrieve API call

While poking around with the OpenAPI codegen I ended up generating blank response from the currency/exchange endpoint.
I fixed it with a custom serializer with the knowledge recently learned from wolflu05.

@martonmiklos thanks for the fix :)


Can i scroll vertically?

Yes, have a look at #46

Hi,
there is an updated version of the vertical_viewpager branch
You can try it using
implementation 'es.voghdev.pdfviewpager:library:1.1.3'
Let me know if it's useful for you


ARROW-6432: [CI][Crossbow] Remove alpine nightly crossbow jobs

By introducing a nightly group which we expect to pass. The alpine docker-compose build and crossbow task can still be triggered manually.
On ursalabs/crossbow the nightly group gets triggered from now on.

Subtle, clever. Perhaps too subtle and clever. Could you please document this (particularly since the business of which builds are run nightly is apparently not part of apache/arrow)?
Aside: I realized yesterday one reason why I don't understand crossbow despite the existence of docs (cf. https://github.com/apache/arrow/pull/5216): the docs are about the crossbow script in the abstract, how one might use it, but I'm less clear on how it is used in practice to generate these nightly builds/tests. Perhaps those are two separate things, but if we want people to know and care about the nightly builds, we need better documentation for that actual setup IMO.


removing alumni media

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/media/profiles/kris-nova.png
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Domain functional level

Is there any special requirement for the domain functional level?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 48fbcb0b-9e6d-d2e7-5194-5593d35fff63
Version Independent ID: f6d30df6-858b-4d3c-542f-a4d6b45ec3d8
Content: Hardware and software requirements for SharePoint Server 2019
Content Source: SharePoint/SharePointServer/install/hardware-and-software-requirements-2019.md
Product: sharepoint-server-itpro
GitHub Login: @Techwriter40
Microsoft Alias: kirks

@AndreaBarr please assign to me.
@LuigiBruno just 2003 native mode. I will update the article this weekend to reflect that. This is a fairly common question.

@LuigiBruno I have merged the changes from Trevor and the article should be re-published soon. thanks for your feedback.

Thank you @tseward and Techwriter40.


[GE] Adding scene explorer, Black Bar, and White Design

need to condense and review scene explorer files and condense black bar drop down menu file to remove ghost code.


smoothly added a boolean switch between green and red dots

Issue: #4

changing the value of status we could change the dot .  Either we could change the value of status manually directly from the code or we could create a schema in database with name status and fetch the value of status from database . It will be blue or red according to the true or false value of the status.

@Rajveer07 Your code has a build error. Can you fix it?

what is that errror

@Rajveer07 Your code has a build error. Can you fix it?

what is that error

@sarkartanmay393 the build error has been resolved check it out

hello


Error: Porcelain is not a valid hatching potion name.

Hello again! Encountered another bug with new items.
Error: Porcelain is not a valid hatching potion name.

My bad, forgot to apply the new alpha update. Apologies


Deployment of hive on an ipv6 setup fails: Back-off pulling image "registry.svc.ci.openshift.org/openshift/hive-v4.0:hive

Version: 4.4.0-0.nightly-2020-04-04-025830
Deployed setup with ipv6.
Attempted to deploy hive.
[kni@provisionhost-0-0 ~]$ oc get pod -n hive
NAME                             READY   STATUS             RESTARTS   AGE
hive-operator-7b7f6fc44d-cj8h4   0/1     ImagePullBackOff   0          10h
[kni@provisionhost-0-0 ~]$
[kni@provisionhost-0-0 ~]$ oc describe pod hive-operator-7b7f6fc44d-cj8h4 -n hive
Name:         hive-operator-7b7f6fc44d-cj8h4
Namespace:    hive
Priority:     0
Node:         worker-0-1.ocp-edge-cluster-0.qe.lab.redhat.com/fd2e:6f44:5dd8::128
Start Time:   Tue, 07 Apr 2020 03:20:31 +0000
Labels:       control-plane=hive-operator
controller-tools.k8s.io=1.0
pod-template-hash=7b7f6fc44d
Annotations:  k8s.ovn.org/pod-networks:
{"default":{"ip_address":"fd01::5:4497:d6ff:fe00:84/64","mac_address":"46:97:d6:00:00:84","gateway_ip":"fd01:0:0:5::1"}}
k8s.v1.cni.cncf.io/networks-status:
[{
"name": "ovn-kubernetes",
"interface": "eth0",
"ips": [
"fd01::5:4497:d6ff:fe00:84"
],
"mac": "46:97:d6:00:00:84",
"dns": {}
}]
openshift.io/scc: restricted
Status:       Pending
IP:           fd01::5:4497:d6ff:fe00:84
IPs:
IP:           fd01::5:4497:d6ff:fe00:84
Controlled By:  ReplicaSet/hive-operator-7b7f6fc44d
Containers:
hive-operator:
Container ID:
Image:         registry.svc.ci.openshift.org/openshift/hive-v4.0:hive
Image ID:
Port:
Host Port:
Command:
/opt/services/hive-operator
--log-level
info
State:          Waiting
Reason:       ImagePullBackOff
Ready:          False
Restart Count:  0
Requests:
cpu:     100m
memory:  256Mi
Liveness:  http-get http://:8080/debug/health delay=10s timeout=1s period=10s #success=1 #failure=1
Environment:
CLI_CACHE_DIR:  /var/cache/kubectl
Mounts:
/var/cache/kubectl from kubectl-cache (rw)
/var/run/secrets/kubernetes.io/serviceaccount from hive-operator-token-dqq7h (ro)
Conditions:
Type              Status
Initialized       True
Ready             False
ContainersReady   False
PodScheduled      True
Volumes:
kubectl-cache:
Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit:
hive-operator-token-dqq7h:
Type:        Secret (a volume populated by a Secret)
SecretName:  hive-operator-token-dqq7h
Optional:    false
QoS Class:       Burstable
Node-Selectors:
Tolerations:     node.kubernetes.io/memory-pressure:NoSchedule
node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type     Reason   Age                     From                                                      Message

Normal   BackOff  9m17s (x2789 over 10h)  kubelet, worker-0-1.ocp-edge-cluster-0.qe.lab.redhat.com  Back-off pulling image "registry.svc.ci.openshift.org/openshift/hive-v4.0:hive"
Warning  Failed   4m17s (x2812 over 10h)  kubelet, worker-0-1.ocp-edge-cluster-0.qe.lab.redhat.com  Error: ImagePullBackOff
[kni@provisionhost-0-0 ~]$ oc get pod -n hive
NAME                             READY   STATUS             RESTARTS   AGE
hive-operator-7b7f6fc44d-cj8h4   0/1     ImagePullBackOff   0          10h
[kni@provisionhost-0-0 ~]$

This should be fixed with https://github.com/openshift/hive/pull/896.

I did not read the issue carefully enough. It is not related to #908.
The cause of this issue is that the default Hive image being used is not accessible from the cluster. In this case, there is another registry housing the Hive image that is accessible. The replacement image can be specified by setting the DEPLOY_IMAGE environment variable when running make deploy.
/close


[NSE-872] implement replace function

What changes were proposed in this pull request?
implement spark replace function.
https://spark.apache.org/docs/latest/api/sql/index.html#replace
How was this patch tested?
Unit tests

All required tests passed. The patch looks good to me.


Discuss behavior of kernel selection and remote server URI interaction (plan changes)

Kernel spec changes should take this into account.
If you change the remote server URI, we don't reconnect the active server. We'll have to do this for the kernel spec support anyway (might already be an issue for it).
Prompt user to switch when they click the Run button.

We didn't end up implementing this. We need this for February

Not sure what we want to do here. Seems like it's already working.
User picks new server URI

We could reconnect all active notebooks (probably not a good idea)
We could use it for new notebooks only (this is what it does already)

Or we could put up a 'reload' dialog like the language server does.

like the language server does.

Feels verymuch like, reboot pc..
For LS, this must be done, as theres no way in VSC to change LS engines after VSC loads.
I.d prefer to prevent having to ask users to re-load VSC.

Reloading of the window is fine. Theres only about ~500 users that connected to a remote server in the past month

Validated


Imports Aren't Mocked; Using Mocha, Sinon, Assert

Versions:

node: v16.7.0
esmock: v0.3.9
mocha: v9.0.3
sinon: v11.1.2
c8: v7.8.0

After running npm i, run: npm run test to get the error.
I'm attempting to mock an import, but it doesn't seem to be doing anything. I've tried everything, including just setting the default mock to return class {}, and it still throws the same error.
Here's a repo that can consistently reproduce the issue: https://github.com/Swivelgames/_esmock_issues_13
The error tells me that it's actually doing something (unlike most of the other mock libraries I've come across that claim ESM support), which is great! And if I can get passed this issue, I should be home free!
><EMAIL_ADDRESS>test
> npx mocha --loader=esmock --config ./.mocharc.jsonc

(node:1137639) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

  MyClassWrapper
    constructor()
      1) should mock imports

  0 passing (15ms)
  1 failing

  1) MyClassWrapper
       constructor()
         should mock imports:
     TypeError: MyClass is not a constructor
      at new MyClassWrapper (file:///******/src/index.js?key=1?esmockGlobals=null#esmockModuleKeys=file:///******/src/class.js?esmockKey=1&esmockModuleKey=./class.js&isesm=true&exportNames=default:5:20)
      at Context.<anonymous> (file:///******/src/index.test.js:23:16)

This is probably more like a support post than an actual issue. But, any thoughts?

Here's a direct link to my test file: https://github.com/Swivelgames/_esmock_issues_13/blob/master/src/index.test.js
import esmock from "esmock";
import assert from "assert";
import sinon from "sinon";

import MyClass from "./class.js";

import { createMockClassImport } from "../test-utils.js"

const {
	mockClass,
	mockConstructor
} = createMockClassImport(MyClass);

describe("MyClassWrapper", () => {
	describe("constructor()", () => {
		it("should mock imports", async () => {
			const MyClassWrapper = await esmock("./index.js", {
				"./class.js": {
					default: () => mockClass
				}
			});

			const api = new MyClassWrapper();
			assert.ok(!!mockConstructor.lastCall);
		});
	});
});

HAH. Figured out the issue.
Instead of:
"./class.js": {
    default: () => mockClass
}

I needed to do:
"./class.js": {
    default: mockClass
}

@Swivelgames I'm glad its working


dotnet nuget add source Error

Description
"dotnet nuget add source" Unable to execute successfully
Configuration
.NET 7.0 RC2
Windows 11
Regression?

Other information

@nkolev92 can you help with this?

cc @kartheekp-ms is our hot seat this week.
I tried quickly replroing it, but no luck: dotnet nuget add source https://api.nuget.org/v3/index.json --name MyGithub --username wf-soft --password stuff --store-password-in-clear-text

Package source with Name: MyGithub added successfully.

A few questions that'll @kartheekp-ms make progress.

Does this repro all the time?
Have you tried tweaking the command? Does that change it?
Anyone else running into this issue? Any other machines etc?

@nkolev92 Then maybe there are other reasons for my failure, maybe it's my local problem, thank you for your answer.


Missing Purpose of Evaluation Company

It would be nice, if the purpose of the evaluation company switch could be explained in more detail or reference another link, which explains the purpose of evaluation companies.
After a quick search I was not able to find out what it does explicitly.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e55b7ded-5f97-ebcf-5c2d-90d4fc8a3eda
Version Independent ID: f0d2c4b2-75ef-ace2-7d14-c945e5ccb08e
Content: New-NAVCompany (Microsoft.Dynamics.Nav.Management)
Content Source: businesscentral-ps/Microsoft.Dynamics.Nav.Management/New-NAVCompany.md

Hello, and thank you for your feedback! The -EvaluationCompany parameter is used in connection with Microsoft Dynamics 365 Business Central online deployments and has no impact on on-premises deployments of Dynamics NAV or Dynamics 365 Business Central. I'll see what we can do to mark the parameter as irrelevant for your use.

The -EvaluationCompany parameter help has been updated to indicate that it for online deployments only. The updated content will be available soon.


method fails to be captured if imported after experiment starts

full code to re-produce issue found here:
https://github.com/sjTaylor/sacred-capture-error
Basically, if a captured method is imported after the experiment starts, then the capturing breaks.
some (very) simplified code to give example
this code works
# this code works, and throws no errors
from ingredient_module import the_ingredient
# other imports
from some_module import captured_method

ex = Experiment(ingredients=[the_ingredient]

@ex.automain
def main():
  captured_method()

but this code doesn't
# this code throws errors
# sacred.utils.MissingConfigError: captured_method is missing value(s): [...]
from ingredient_module import the_ingredient
# other imports

ex = Experiment(ingredients=[the_ingredient]

@ex.automain
def main():
  from some_module import captured_method
  captured_method()

This is a consequence of the way captured functions are implemented. When an experiment is started, Sacred gathers all captured functions and initializes them with information about the current run and config. In your failure case, the captured function is not yet known at startup, and so it doesn't get initialized.
I am not sure how to best fix this problem. Is there a reason why you cannot import the method before startup?

Currently, there is nothing preventing me from importing the method before startup.
I made the bug report mostly because I lost a good chunk of time to it, and having it documented here might be helpful to others.

I just encountered the same thing and was about to create an issue. It's not a huge problem, as there are certainly ways around this, but it also seems like there might be ways to handle this.
For example, could we just add a check before a captured function is called and if it hasn't been initialized, do the initialization then?


Fix repeated dbResets so tests run faster

The Cypress tests currently spend a lot of time resetting the database between each spec. Currently the database is reset 3x per spec (except for the specs that don't affect the database).
Part of this is down to Cypress bug 2777, which makes the before hook run twice if a baseUrl hasn't been set. This is fixed by setting the appropriate baseUrl in test/e2e/plugins/index.js and changing visitPage to use relative URLs (test/e2e/support/commands.js).
Also, the eight specs that call cy.dbReset() do so before and after they are run. One spec resets the database after it finishes, and the next immediately resets again before running. The recommendation from the Cypress team is to clean up state before tests rather than after. This PR removes the after(() => {cy.dbReset}) hooks from all tests.
On Travis CI these changes cut about 50 seconds off each Cypress run.

Thanks for the PR @rcowsill 👍

Thanks for the PR @rcowsill 👍


Fix: Don't allow lowering of operators with different element types.

Can we instead insert the proper casts to support this?

Can we instead insert the proper casts to support this?

It seems that this should never trigger anyways because ONNX doesn't allow type promotion, see end of https://onnx.ai/onnx/intro/concepts.html#element-type.


Release v0.2.1

Fix an outdated signature in rbi/sorbet-coerce.rbi.

Do you have any spec that run srb tc against the test cases?
On Sat, Feb 22, 2020 at 8:18 PM Donald Dong<EMAIL_ADDRESS>wrote:

Fix an outdated signature in rbi/sorbet-coerce.rbi.

You can view, comment on, or merge this pull request online at:
https://github.com/chanzuckerberg/sorbet-coerce/pull/30
Commit Summary

Release v0.2.1

File Changes

M sorbet-coerce.gemspec
https://github.com/chanzuckerberg/sorbet-coerce/pull/30/files#diff-0
(2)

Patch Links:

https://github.com/chanzuckerberg/sorbet-coerce/pull/30.patch
https://github.com/chanzuckerberg/sorbet-coerce/pull/30.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chanzuckerberg/sorbet-coerce/pull/30?email_source=notifications&email_token=AAFH4ANO7TXDXJ6UPGO2NP3REH2KPA5CNFSM4KZXJ6Q2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPQ4LHQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFH4ALJY7FXMDDB2X7JHGLREH2KPANCNFSM4KZXJ6QQ
.

Yes. The overall srb tc checks this file (since it's # typed: true).


Autorest Regen Preview to 3.0.0-alpha.20230921.3 by Chun Yu from refs/pull/3737/head

Triggered from https://github.com/Azure/autorest.csharp/pull/3737

API change check
API changes are not detected in this pull request.


Blockade in touch mode

If the map is rotated and drawn by hand (freehand drawing) with several touch points/fingers, then something really wrong is drawn on the map.

The problem exists inside the open layer library. Their demo shows the same behavior: https://openlayers.org/en/latest/examples/draw-freehand.html. I think we should put that issue back for the moment.


Run clippy

I meant to open this on my repo... will open here when this is ready

I meant to open this on my repo... will open here when this is ready


Can Middleware Authentication Exception

In gitlab by @A-Lawrence on Aug 24, 2016, 12:28
The can middleware will now throw an instance of Illuminate\Auth\AuthenticationException if the user is not authenticated. If you were manually catching a different exception type, you should update your application to catch this exception. In most cases, this change will not affect your application.

In gitlab by @NFarrington on Sep 3, 2016, 00:08
Completed by 6dac7f01c786c8047226612acdf2098cae0c6666


⚠ Bofrost.be has degraded performance

In 17891da, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1595 ms

Resolved: Bofrost.be performance has improved in c8c0416 after 32 minutes.


Error 403 and 401

Version 1.11.1 for plugin
Most recent Obsidian
When I try create a new task I get "Failed to create task: 'Request failed, status 401'" and everywhere where I have my ```todoist I receive "Error: Request failed, status 403".
Any help appreciated

For anyone getting the 403 you might have:

Not restarted obsidian after pasting the API key
Not pasted the right key: It's in your Todoist Settings under Integrations -> Developer -> API Token

(Like me I first pasted Calender Subscription URL and then after pasting the correct API Key forgot to restart obsidian)

Same here
Obsidian 1.3.4 Plugin Ver 1.11.1
I'm also getting  "Failed to create task: 'Request failed, status 401"
but I'm getting "Error: Request failed, status 400" at todoist code blocks.
I did pass the correct key and restarted obsidian afterwards but still got the same errors.

@Kettenotter is correct, 403 and 401 status codes indicate that the API token is incorrect in some way.
@PhocaMachina - getting a 400 response back is more interesting though, would you mind sharing the code block that produces that response? (Is it all code blocks?)

As PhocaMachina seems to have missed out on your last question: I am receiving the Code 400 response as well. This is how my code looks like. I did try it with the least amount of code as well though and am still getting this error.
todoist  { "name": "Aufgaben", "filter": "(überfällig | (fällig vor: 2023-06-13 & fällig nach: 2023-06-05))", "sorting" :  ["date"], "group" : true }

On the off chance this helps someone: I started getting this error a couple of weeks ago and ignored it assuming it was temporary or user error. Today, I got tired of it and went to Todoist.
Guess what: The API key on my account had changed. With no notice.
Updating the API key in Obsidian, of course, fixed it.
Hope this helps.

Still receiving "Error: Request failed, status 401" after
1- Updating API key
2- Issuing a new API key and entering the new key
3- Manually checking it's the correct key
I'm running v1.3.7 of obsidian on a Mac.

Still receiving "Error: Request failed, status 401" [...]
Are you on version 1.11.1 of the plugin?

Asking because I haven't seen that issue in a long time...

Yep, running 1.11.1.
If it's any help I'm on todoist version 8.4.3 (12238)

I can see this is fairly old now, but for what it's worth, I'm getting the same 401 error with my setup. No amount of double checking, re-issuing the API key, restarting obsidian etc. is solving it.
plugin version: 1.11.1
Todoist Version: 5145(beta)
Obsidian version: 1.5.3


ValueError: tzinfo.utcoffset() returned 1440 on certain badly parsed datetimes

I get this error when trying to compute the activity frame for a handful of the IETF mailing lists. It appears that what happens is some datetime is parsed incorrectly (since emails often have incorrectly formatted date strings) and one of the datetimes is getting parsed in such a way as to have a large UTC offset, more than a day. Then later, when pandas is using a hashtable to calculate duplicates, or alternatively when pandas is serializing some data to write out to CSV, a datetime library throws this ValueError.
Traceback (most recent call last):
  File "bin/mail_to_activity.py", line 42, in main
    activity = bigbang.archive.Archive(archives).get_activity()
  File "/Users/nick/code/mailing-list-analysis/bigbang/bigbang/archive.py", line 64, in __init__
    self.data.drop_duplicates(inplace=True)
  File "/usr/local/lib/python2.7/site-packages/pandas/core/frame.py", line 3535, in drop_duplicates
    duplicated = self.duplicated(subset, keep=keep)
  File "/usr/local/lib/python2.7/site-packages/pandas/core/frame.py", line 3582, in duplicated
    labels, shape = map(list, zip(*map(f, vals)))
  File "/usr/local/lib/python2.7/site-packages/pandas/core/frame.py", line 3570, in f
    vals, size_hint=min(len(self), _SIZE_HINT_LIMIT))
  File "/usr/local/lib/python2.7/site-packages/pandas/core/algorithms.py", line 471, in factorize
    labels = table.get_labels(values, uniques, 0, na_sentinel, check_nulls)
  File "pandas/_libs/hashtable_class_helper.pxi", line 1367, in pandas._libs.hashtable.PyObjectHashTable.get_labels
ValueError: tzinfo.utcoffset() returned 1440; must be in -1439 .. 1439

Another project running into this error diagnoses some cases where this can happen, specifically with too long subsecond strings. But I think the more cogent issue is just that we shouldn't have a hard crash in a hard to track down way, but instead force the timezones to a correct format at some point while parsing.

It's also thrown in sort_values(I wrapped the de-dup in try/catch):
Traceback (most recent call last):
  File "bin/mail_to_activity.py", line 42, in main
    activity = bigbang.archive.Archive(archives).get_activity()
  File "/Users/nick/code/mailing-list-analysis/bigbang/bigbang/archive.py", line 87, in __init__
    self.data.sort_values(by='Date', inplace=True)
  File "/usr/local/lib/python2.7/site-packages/pandas/core/frame.py", line 3634, in sort_values
    na_position=na_position)
  File "/usr/local/lib/python2.7/site-packages/pandas/core/sorting.py", line 250, in nargsort
    indexer = non_nan_idx[non_nans.argsort(kind=kind)]
ValueError: tzinfo.utcoffset() returned 1440; must be in -1439 .. 1439

Have a proposed fix for this here: https://github.com/npdoty/bigbang/commit/885e4f4428085a5669f38c3501b1954f6836294d
I specifically try to trigger the error, and drop all the rows that have it.

Fixed by Nicks commit! \o/


Added ConvexHull and LabeledPolygram

Overview: What does this pull request change?
This PR introduces four additional features and two utilities.

manim.mobject.geometry.polygram.ConvexHull which constructs a ConvexHull through a set of points.
manim.mobject.three\_d.polyhedra.ConvexHull3D which constructs a ConvexHull through a set of points.
manim.mobject.geometry.labeled.Label which constructs a boxed label.
manim.mobject.geometry.labeled.LabeledPolygram which constructs a polygram containing a label box at its pole of inaccessibility. This is the point inside a polygon that is farthest from its edges.
manim.utilities.qhull which constructs a ConvexHull through a set of points. It extends to arbitrary dimensions.
manim.utilities.polylabel which computes the pole of inaccessibility for any complex polygon to a given precision.

Notably, none of these introduce breaking changes nor require additional dependencies.
Motivation and Explanation: Why and how do your changes improve the library?
The first two are useful in scenarios where the user has a collection of points but does not know what order they should be plotted. In 2D this reduces to sorting by angle bit in 3D the task is more complex and can be handled automagically. The fourth is useful for labeling polygons.
Links to added or changed documentation pages

I am not sure how to format this, but here is what the doc pages look like locally:

manim/docs/build/html/reference/manim.mobject.geometry.labeled.LabeledPolygram.html
manim/docs/build/html/reference/manim.mobject.geometry.labeled.Label.html
manim/docs/build/html/reference/manim.mobject.geometry.polygram.ConvexHull.html
manim/docs/build/html/reference/manim.mobject.three_d.polyhedra.ConvexHull3D.html

Further Information and Comments

Reviewer Checklist

[x] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[x] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[x] If applicable: newly added functions and classes are tested

Hello there! I just added the PointND and PointND_Array type aliases.

Hello there! Apologies for the delay here. Do let me know if any additional changes are needed. Also, not sure how to handle the pre-commit typing issue with self.color in shape_matchers.py since I didn't make that change.


Handle SIGINT When Reading User Input

This closes issue #729.
There are several issues with the interaction between the terminal, SIGINT, and signal handling:

Signaller actually does not restore the previous signal handler in its finally block; it reinstalls the current handler (unless someone modifies Signaller.handlers directly). This seems to be simply a bug.
Users cannot send SIGINT to Ammonite while the input line is being read in, including during auto completion. Instead, Ammonite interprets the control character literally. However, this behavior is still in place during autocompletion, so users cannot Ctrl-C to cancel autocompletion, as this doesn't send SIGINT.
Even if users could send SIGINT to Ammonite when typing, the Signaller is only invoked after having read in the users' input.

This PR addresses all three issues: we correct the behavior of Signaller, modify the TTY configuration so Ctrl-C results in SIGINT during autocomplete, and move the Signaller invocation before the frontend call so that the SIGINT handler is registered during autocomplete.
A screenshot of the new behavior:

(This was made by typing tab then Ctrl-C in quick succession.)

@kevinkyyro can you try building Ammonite from this branch and play around with it to see if it does what you expect?


ho setup it

its can scrap member from closed group? and how run this script?

it can scrap a closed but you have to member of it and the screapper can be run normally like any other python file


be less strict with version requirement

I am proposing this pull request as I wish to use this package with python3.4.
The package appears to work well with python3.4 as-is but due to the current version requirement it can't be installed from pypi.

Thanks for your interest.  We have dependence on f-strings (3.6) and spatial math has dependence on the @ operator (3.5). So I think it I'll be hard to go back to 3.4.

Done, and pushed to PyPI as 0.9.5.  Not sure if it'll go to earlier Python than 3.4.


AT:  S-1.1 - As a user, I want to be able to see my location on campus.

This acceptance test is in reference to issues #19, #16
Acceptance Criteria
Given

that the map is open

When

I click the campus I’m currently in

Then

I should be able to see my current location marked by a single dot on campus.

Steps

Open the app, the app should launch and Google maps opens with my current location marked by a single dot on campus.

Example

ACCEPTED.


Updates to GPCR Tutorial

Commands edited for Linux, additional instructions added for installing dssp, links to tutorial files added, some file names corrected.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

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

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
1551

Relevant Lines:
1841

💛  - Coveralls


🛠 Repo: Enable eslint-plugin-import in ESLint config

Tooling Suggestion Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest master branch of the repository.
[X] I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
[X] I have searched for related issues and issues with the faq label, but none matched my issue.
[X] I want to provide a PR to resolve this

Overview
eslint-plugin-import is a devDependency in package.json: https://github.com/mochajs/mocha/blob/645469e1920e2e86458ff068e74eef2e2915083e/package.json#L94
...but not used in the ESLint config.
The plugin is actually useful though. Let's enable from its recommended preset config?
Additional Info
The devDependency is being removed in #5060, but that's just because it's unused. This issue is suggesting adding it back.

I never got this plugin to a useful state. If you get it done, I am ok,


bug

Extension Name: debug-auto-launch
Extension Version: 1.0.0
OS Version: Darwin x64 17.7.0
VSCode version: 1.28.0-insider

We have written the needed data into your clipboard. Please paste:

Please follow https://github.com/Microsoft/vscode/blob/master/CONTRIBUTING.md#reporting-issues for issues. Thanks!


Explicit pattern match on all ledger certificates constructors. Remove redundant module

Changelog
- description: |
    Explicit pattern match on all ledger certificates constructors.
    Remove `getIsCardanoEraConstraint`. Use `cardanoEraConstraints` instead.

# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
   - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
   - improvement    # QoL changes e.g. refactoring
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context
https://github.com/input-output-hk/cardano-api/pull/268/files#r1337354463
Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] The change log section in the PR description has been filled in
[ ] New tests are added if needed and existing tests are updated.  These may include:

golden tests
property tests
round trip tests
integration tests
See Running tests for more details

[ ] The version bounds in .cabal files are updated
[ ] CI passes. See note on CI.  The following CI checks are required:

[ ] Code is linted with hlint.  See .github/workflows/check-hlint.yml to get the hlint version
[ ] Code is formatted with stylish-haskell.  See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
[ ] Code builds on Linux, MacOS and Windows for ghc-8.10.7 and ghc-9.2.7

[ ] The changelog section in the PR is updated to describe the change
[ ] Self-reviewed the diff

@smelc yes, that is the point of this PR. I was addressing a remark from a different PR.


Support unlimited args for min, max default funcs.

Default functions max and min were requiring 2 arguments strictly. Now they supoort unlimited args, same as php's min, max funcs.

Thanks for this.  Good idea.
Seems to be some unit tests failing.  You should be able to run locally with vendor/bin/phpunit  Can you take a look and see if you can fix them up.
Also we should add additional tests for this to prove it works.

This looks much better!  Things are not always as easy as they look.  Linux tests are failing because of code style.  We don't check code style in Windows tests, and those are passing, so just run:
vendor/bin/php-cs-fixer fix -vv --allow-risky=yes
And check in the changes.  I should automate this actually.  But project for another day.

Looks good.  Thanks for the contribution.  I will update the readme and publish tonight.
And thanks for the @todo for PHP 8.0 and 8.1.  As you know, this library just supported supported versions of PHP, so this is very helpful when we drop 7.4 support next year. I personally can't stand coding in any version below the most recent version, but this is a library, so we have to wait.


feature: allow custom placeholder values for expiry month and year

Primarily closes #6
Also:

add: run-time validation for checking the undefined state of required props which was lost with the removal of the prop-types package.
refactor: the formulation of the displayed card-number which was not easy to read.

I feel like you might want to check out this comment https://github.com/felquis/react-credit-cards-2/issues/7#issuecomment-1496775340 @SeanCassiere

I feel like you might want to check out this comment #7 (comment) @SeanCassiere

I looked into it, and I couldn't recreate the bug locally, where it was returning the issuer as unknown using the Visa test card number example.
For recreating, I tried typing in the numbers individually and also tried directly copy-pasting the test Visa card number (4242 4242 4242 4242).
Please see below.

Typing in the numbers individually for the card number<PHONE_NUMBER>424242.

Direct copy-pasting the number (4242 4242 4242 4242 and without spaces<PHONE_NUMBER>424242)

NOTE: The unknowns being shown in the console were onRender and onFocus, once the typing began, it showed the issuer as visa.

Testing was done on the current release version 1.0.1.
It's entirely possible that I'm missing something here, but I didn't touch the logic used for the callback function, just changed the file-extension to .ts.

I'm going to review this PR this week, anyone else is welcomed to review too.


How to build/use on Linux?

Could do with details on how this can be built on Linux, and what the dependencies would be.

Dependancies are said in the project description at the end. Idk about building it on linux.

Written in C++ using Visual Studio 2019. No external dependencies other than the WIC API and Direct3D 11. Image file formats are handled using the Windows Imaging Component (WIC) framework. Shaders are compiled to H files (with a little help from the Fx Batch Compiler tool) and bundled with the source code to build the executable.

I am sorry but this project is Windows only. It heavily depends on the system API, including WIC for image loading/saving, as well as Direct3D 11 for launching shaders. An equivalent application for Linux would have to be a completely new project.

Seems to be working through wine w/ DXVK.


Java 16.8 : Deadlock, and getting thread status

Description
Add audio, documentation, and video regarding the Deadlock, and getting thread status
Location of File to be added The files should be added inside the Deadlock, and getting thread status which will be inside Multithreaded Programming folder which will be inside of Java folder. If the folder is not present, create the folder with this exact name.

The documentation file can be in the .md/.py/.ipynb format.
Audio should be in .mp3 format and to be submitted through a Google drive link.
Video can be in any format and should be submitted through a Google Drive link.

Note:
You are required to comment with \assign CONTENT_TYPE, so that other content types can be created at the same time. Failing to comment in the above manner will lead to the removal of assignment from the issue even if the bot assigns. You are required to do a PR within 7 days otherwise you will be unassigned and others will be assigned. Issues will be assigned on a first come first serve basis.
Domain
Java_Domain
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[x]    I follow Contributing Guidelines & Code of conduct of this project.

\assign document

/assign Documentation Audio Video

/assign Documentation Audio Video

@krups2306 aren't you aware of the rules set by supervisors? You can just take one issue at a time and in one format

@garvitraj please look into this

/assign Documentation

/assign Documentation

/assign Documentation Audio Video

@krups2306 aren't you aware of the rules set by supervisors? You can just take one issue at a time and in one format

Sorry for the mishap @nandini7637

Deadlock means a  situation where two or more threads are blocked forever

/assign


Add /rest instead of dropping it from the URL

improve consistency with other clients.
historical note:  /rest used to be NOT included in the URL from the GP broker.
(this was in the Experimental version- so a very old change.)
this affects internal URL usage, and the INTERNAL _getUrl() function.

Fixes: https://github.com/IBM-Bluemix/gp-js-client/issues/56

Coverage increased (+0.1%) to 91.003% when pulling 1148f44b2d37c4565cf73e5eba9cdd60fdbc3b29 on srl295:fix-url into d57e0214e7f60bb945218ea56c93bc970e61c9e3 on IBM-Bluemix:master.


Several service tests broken by 'Revert "[vm/aot/tfa] Tree shake write-only fields"'

Broken tests:
service/contexts_test
service/get_retaining_path_rpc_test
service/instance_field_order_rpc_test
service/object_graph_vm_test
service/regexp_function_test/0
service/regexp_function_test/1

I've approved the results.

These tests were failing on obfuscation bot before ff34fd81106dbd4c2a341f5545e5f900b591ebfa. ff34fd81106dbd4c2a341f5545e5f900b591ebfa fixed those tests, and reverting that change in 8ac7f6bce7d0619bf2404d58428508e79d9ce90b broke them again.

These tests were fixed once again in 12c8b02c848aeb5fe5731533649319ba43a2e9b4.


feat: add --wait-no-receipt transaction option

Related to DOJ-215, https://github.com/dojoengine/dojo/issues/1627.
Add a --wait-no-receipt transaction option to be able to wait for the transaction execution without displaying the whole receipt but only a status Transaction OK or Transaction REVERTED.

hmmm i don't quite like having --wait-no-receipt flag to handle this case... much prefer if we have a --receipt flag and choose whether to print out the receipt based on that instead.
@glihm any idea?

Yes, good idea 👍
But that means the --wait flag won't show the receipt anymore. I think it's not a big deal except if an user uses the actual output to do something :)

hmmm i don't quite like having --wait-no-receipt flag to handle this case... much prefer if we have a --receipt flag and choose whether to print out the receipt based on that instead.

--receipt => :100:

But that means the --wait flag won't show the receipt anymore. I think it's not a big deal except if an user uses the actual output to do something :)

Yup, this is I think the intention of Val, not having too much information by default. Somehow, when polling explicitly a transaction with sozo, it's good to have details. But as the TransactionOptions may be used in a command that already generates several prints, having a short representation by default is better.

hmmm i don't quite like having --wait-no-receipt flag to handle this case... much prefer if we have a --receipt flag and choose whether to print out the receipt based on that instead.

--receipt => 💯

But that means the --wait flag won't show the receipt anymore. I think it's not a big deal except if an user uses the actual output to do something :)

Yup, this is I think the intention of Val, not having too much information by default. Somehow, when polling explicitly a transaction with sozo, it's good to have details. But as the TransactionOptions may be used in a command that already generates several prints, having a short representation by default is better.

Ok, thanks !
For you @glihm and @kariy, to wait and see the receipt we just pass --receipt or we have to pass --wait also ? I mean, is --receipt means "wait and show the receipt" or is it just a flag for the --wait option to show the receipt instead of a short status and hash ?

For you @glihm and @kariy, to wait and see the receipt we just pass --receipt or we have to pass --wait also ? I mean, is --receipt means "wait and show the receipt" or is it just a flag for the --wait option to show the receipt instead of a short status and hash ?

In the current proposal, I would say:

User has to pass --wait to explicitly wait the transaction.
If --receipt is passed along with --wait, then the receipt is printed.
--receipt without --wait will have no effect, at least for now.

In the current proposal, I would say:

User has to pass --wait to explicitly wait the transaction.
If --receipt is passed along with --wait, then the receipt is printed.
--receipt without --wait will have no effect, at least for now.

Yes, this is good.

Hi @glihm and @kariy !
I tried to test with a reverted transaction to see how the log looks like but I was not able to get a reverted transaction 😅
I changed the grant_writer function in world.cairo to call panic! but the error is directly catched there, with the error "Failed to send transaction" ...  https://github.com/dojoengine/dojo/blob/916ee300d1e2848c89fd3d4e8242b3e671190444/bin/sozo/src/ops/auth.rs#L27-L31
I also tried to add a loop before the call to panic! to have a function which takes some times but it does not work.
Any idea ?

Hi @glihm and @kariy !
I tried to test with a reverted transaction to see how the log looks like but I was not able to get a reverted transaction 😅
I changed the grant_writer function in world.cairo to call panic! but the error is directly catched there, with the error "Failed to send transaction" ...
https://github.com/dojoengine/dojo/blob/916ee300d1e2848c89fd3d4e8242b3e671190444/bin/sozo/src/ops/auth.rs#L27-L31
I also tried to add a loop before the call to panic! to have a function which takes some times but it does not work.
Any idea ?

Ah yes.. this is because of the fee estimation.
When we don't give a fix max_fee, starknet-rs is attempting to estimate the fee first. And doing so, the execution fails, and we got an error instead of the transaction hash.
If you want to see the output as expected, you can do that for instance:
  let res = account
      .execute(vec![Call {
          calldata,
          to: contract_address,
          selector: get_selector_from_name(&entrypoint)?,
}])
.max_fee(starknet::core::types::FieldElement::from_hex_be("0xfffffffffffffffffffffff").unwrap())
.send()
.await?;

And here you'll have the expected output.
@kariy should we add to the TransactionOptions a max_fee, or what can be the best strategy here?

After some tests, I think the following format is more convenient for all the possible cases. What do you think ?
Without flags:
Transaction hash: 0x5ef861cc4b1e451febb614b0792c5ba81d94931df99e1d4ba2841d51e2d1f1f

With --wait:
Transaction hash: 0x5ef861cc4b1e451febb614b0792c5ba81d94931df99e1d4ba2841d51e2d1f1f
Status: OK

Transaction hash: 0x5ef861cc4b1e451febb614b0792c5ba81d94931df99e1d4ba2841d51e2d1f1f
Status: REVERTED
Reason:
Error in the called contract (0x06162896d1d7ab204c7ccac6dd5f8e9e7c25ecd5ae4fcb4ad32e57786bb46e03):
Error at pc=0:4573:
Got an exception while executing a hint: Hint Error: Requested contract address ContractAddress(PatriciaKey(StarkFelt("0x01385f25d20a724edc9c7b3bd9636c59af64cbaf9fcd12f33b3af96b2452f295"))) is not deployed.

With --wait --receipt:
Transaction hash: 0x5ef861cc4b1e451febb614b0792c5ba81d94931df99e1d4ba2841d51e2d1f1f
Receipt:
{
...
}

After some tests, I think the following format is more convenient for all the possible cases. What do you think ?
Without flags:
Transaction hash: 0x5ef861cc4b1e451febb614b0792c5ba81d94931df99e1d4ba2841d51e2d1f1f

With --wait:
Transaction hash: 0x5ef861cc4b1e451febb614b0792c5ba81d94931df99e1d4ba2841d51e2d1f1f
Status: OK

Transaction hash: 0x5ef861cc4b1e451febb614b0792c5ba81d94931df99e1d4ba2841d51e2d1f1f
Status: REVERTED
Reason:
Error in the called contract (0x06162896d1d7ab204c7ccac6dd5f8e9e7c25ecd5ae4fcb4ad32e57786bb46e03):
Error at pc=0:4573:
Got an exception while executing a hint: Hint Error: Requested contract address ContractAddress(PatriciaKey(StarkFelt("0x01385f25d20a724edc9c7b3bd9636c59af64cbaf9fcd12f33b3af96b2452f295"))) is not deployed.

i like this formats, these look good.

With --wait --receipt:
Transaction hash: 0x5ef861cc4b1e451febb614b0792c5ba81d94931df99e1d4ba2841d51e2d1f1f
Receipt:
{
...
}

maybe we don't need to show the tx hash because the receipt already includes it

@remybar there's a conflict now that #1576 is merged

maybe we don't need to show the tx hash because the receipt already includes it

I would keep the same format for all the cases, even if the tx hash is already in the receipt. If you want to get the tx hash, you can copy/paste it really quickly whatever the given flags. What do you think ? If you strongly want to remove it when we display the full receipt, I do it :)

Another argument is that when you provide --wait --receipt you immediately see the tx hash and, if the tx takes time, you will see the full receipt some seconds/minutes after.

Ah I agree, this does seems nice...

@remybar there's conflicts now due to #1576 🙏


Add memsql integration smoke tests

These tests require https://hub.docker.com/r/memsql/cluster-in-a-box, which requires memsql license. A free license is available at https://portal.memsql.com/licenses/. I'm not sure however, what does the agreement says about using this license in integration tests.

LGTM - modulo quite arbitrary selection of tests :)

This is mostly for Bootstrapping memsql tests.

ac

ac

rebased


Ban function

Carries out all the functions required to ban a user:

Ban user from /r/pokemontrades and /r/SVExchange
Add "BANNED USER" to user's flair on /r/pokemontrades and /r/SVExchange
Adds user's friend codes to AutoModerator config on both subs
Removes all of the user's TSV threads on /r/SVExchange
Adds user's info to the public banlist
Locally bans the user from FlairHQ

The form to ban a user can be found in the Moderation dropdown.
I would recommend some testing (or creating a test branch and having people beta-test it) before deploying.

Ok, I have left you a barrage of comments. It may seem like I'm making you program better than me, but I'm trying to make sure that we don't let the same problems keep coming up with the code quality. I'm very guilty of just rushing this stuff in, so I'm going to start making pull requests so that you can do the same to my code before it goes in.
Finally, can you haev a look at the travis notification and do everything it tells you to change. Linting is highly important, and very useful.
Sorry, it is quite a bit of work I've asked you to do to this PR, but it's in general pretty good.

I fixed the things you suggested. Javascript actually has native promises now, so I used those rather than Q promises.
For the permissions issue, we could also just get rid of the mod-only permissions by default, and then have each mod authenticate the app manually.

I rebased, hopefully nothing broke. :\

Ok, I've added a few small things. When they are done, I'm happy to merge.

Everything is fixed and ready to merge, as long as you're okay with the slightly-awkward mod authentication.

Yeah, I think I'm going to merge just now. I'll take a look about how to make the mod login a little better.
I won't deploy to live quite yet, I'll test it on my beta server first. But I'm happy to merge in.


Fix TLS connection

fixes #12

[x] Revert #10 to fix tls connection
[x] Added 'debug' option to silence logs

cc @nkuba


Is possible to pass a hidden field in the SearchTextFieldItem like an user ID?

Whats is the best way to pass a user id to a variable as people use SearchTextField, since SearchTextFieldItem has only 3 param, how can I pass a hidden param of find the user id comparing the SearchTextFieldItem to a User List = Users or user the users list as a SearchTextFieldItem with hidden params.

I had the same requirement. I extended SearchTextFieldItem and added an id attribute

Is that extension shared in github or just in your project? I'm curious :)
I used array filter passing a unique atribute from the SearchTextFieldItem, in the complete Users like a user email
let filteredUser = userArray.filter{ $0.userEmail == item.subtitle }

`class MySearchTextFieldItem: SearchTextFieldItem {
public var id: Int?
public init(title: String, subtitle: String?, id: Int?) {
    super.init(title: title)
    self.title = title
    self.subtitle = subtitle
    self.id = id
}

}`
then use MySearchTextFieldItem in your code where you would have used SearchTextFieldItem

Thanks!
Filipe Veloso
Diretor de Tecnologia e Operações
Tel. 55 11 2386-2001
Cel. 55 11 99195-3155
www.umanni.com.br
Responda a nossa pesquisa de satisfação:
https://goo.gl/forms/kYP9pK0mShvDgW7F2
2017-11-22 16:15 GMT-02:00 Alejandro Pasccon<EMAIL_ADDRESS>
Closed #80 https://github.com/apasccon/SearchTextField/issues/80.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apasccon/SearchTextField/issues/80#event-1354618735,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWufG730UAbLo7sNl48oyngtSTMlpn1ks5s5GTfgaJpZM4Pz3DN
.

@kamerc Thanks for the solution but how can I access the ID in selection call back. itemSelectionHandler returns me the custom models but it is not returning the ID in that


[WIP] FSharpLint integration improvements

Prefixes warnings from FSharpLint with "Lint: " - partly addresses one problem mentioned in #148
No longer run FSharpLint when it's disabled via the configuration - addresses #150

Thanks for handling this.
It looks good for me, what are further plans?

I haven't yet managed to test this PR, so will give it a few runs on a few projects to make sure it's not introducing any bugs. I have plans to improve the config API in FSharpLint with the end goal of being able to toggle rules off via the intellisense bubble (or right click context menu), but I think that'll be another PR in the future until the work on the FSharpLint side is done

Given it a run and it seems to be functioning as expected :)

Great, thanks

Released in 2.5.3


Add a way to enumerate edges connected to GraphVertex

This allows to traverse edges over of vertices:
for edge in v.get_edges():
    print(edge.a, " ", edge.b)

for edge in v.get_inward_edges():
    # `b` is predecessor of `a`
    print(edge.a, " ", edge.b)

for edge in v.get_outward_edges():
    # `b` is successor of `a`
    print(edge.a, " ", edge.b)

@sairam4123 https://github.com/goostengine/goost/pull/172#issuecomment-1044409628

Thanks! That's helpful!


AMD GPU support over Mesa + Clover

Just opening a issue so people can find the information later on. I just got my AMD RX 570 GPU (on my ARM server) working along with OpenCL support via Clover (aka GalliumCompute). Clover aims to build OpenCL support over the open source Mesa/Gallium GPU framework.
Anyway, Etaler works and passes all tests on Clover. Yay!!

Note for my self:
The performance is like, very bad. But it works never the less. Looks like a mix of driver latency, compiler capability and GPU performance issues.
Benchmarking TemporalMemory algorithm on backend: OpenCL on Radeon RX 570 Series (POLARIS10, DRM 3.35.0, 5.4.3-00006-gf671e064721e, LLVM 10.0.1)

64 bits per SDR, 1.49374ms per forward
128 bits per SDR, 2.48617ms per forward
512 bits per SDR, 7.16544ms per forward
1024 bits per SDR, 13.2979ms per forward
8192 bits per SDR, 106.193ms per forward

Comparing to the CPU (LX2160A, 16 core ARM)
Benchmarking TemporalMemory algorithm on backend: CPU

64 bits per SDR, 0.563107ms per forward
128 bits per SDR, 1.21684ms per forward
512 bits per SDR, 2.91978ms per forward
1024 bits per SDR, 6.09122ms per forward
8192 bits per SDR, 45.3838ms per forward

To be fair, this is the first time Etaler running on a AMD GPU. I never optimized the code for it. And the performance drop from 1024 to 8192 bits indicates AMD GPUs heavily rely on good local memory access to gain performance. That's going to be a issue down the line.


fix: make changes to conform with CodeQL alerts

more details oever here.
https://github.com/puneeth072003/CODESOURCERER/security/code-scanning

As of now, there are no security issues from CodeQL


Improve data transfer button icons

The new GUI buttons could use a visual overhaul to better convey functionality. Since we are talking about importing/exporting data to/from ImageJ2, we can maybe use classic import/export icons.
The main barrier here is getting SVGs that display correctly. @elevans tried this quickly, but they rendered strangely on my machine.

We also want them to recolor correctly. @tlambert03 do you have any suggestions here? How were the napari icons made?

If you peek into the source code of the SVGs (it's just XML), you can probably figure out what's different.

If you peek into the source code of the SVGs (it's just XML), you can probably figure out what's different.

:+1:
Yes, things look just fine using a stock napari icon.
Here's a preview of the gif I'm adding to the README documenting this:


Add CSS var fallback values

Changes to be committed:
modified:   src/style-button.scss
modified:   src/style.scss
Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: #93
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Awkward pinned tab interaction with window closing

When I use pinned tabs in my projects, then I am no longer able to use the Ctrl/Cmd + W hotkey to close my VSCode windows.
I tried clicking the window close button. But that sometimes results in a blank window., requiring a second window close action. Weird.
I would like Ctrl/Cmd + W to trigger window close, as long as none of the open tabs are unpinned.
I'm used to using Ctrl/Cmd + W to close all my tabs and then the window, before learning to use pinned tabs in my text editor. As a workaround, I can use Ctrl/Cmd + Shift + W.
Is there a snippet known to work well, that I can insert in the when condition of my Ctrl/Cmd + W hotkey configuration, that behaves more like Ctrl/Cmd + Shift W?

@mcandre  There is a activeEditorIsPinned condition which is set to true if the active editor is pinned. So you can negate it in your when clause.


Fix spelling in whoami exception

https://en.wiktionary.org/wiki/authentification "Misspelling of authentication"

Thanks!


Pubsub create under wrong namespace

According to XEP-0060 node creation should happen in the http://jabber.org/protocol/pubsub namespace not the http://jabber.org/protocol/pubsub#owner namespace

Agh, that's not confusing at all. Looks like there needs to also be a configure element in the pubsub namespace to go with the create.
Update to this and stanza.io on the way.

Thank you


Color picker from ccc.nvim does not show colors with UFO loaded

Neovim version (nvim -v | head -n1)
NVIM v0.9.0-dev-721+g2093e574c6
Operating system/version
Linux 6.1.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 14 Jan 2023 13:09:35 +0000
How to reproduce the issue
cat ~/ccc-repro.vim
set termguicolors

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/autoload/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'uga-rosa/ccc.nvim'
Plug 'kevinhwang91/promise-async'
Plug 'kevinhwang91/nvim-ufo'
call plug#end()
PlugInstall | quit

lua <<EOF
vim.o.foldcolumn = '1'
vim.o.foldlevel = 99
vim.o.foldlevelstart = -1
vim.o.foldenable = true

require("ccc").setup({})
require("ufo").setup({})
EOF

nmap <space> :CccPick<CR>

nvim -u ~/ccc-repro.vim

Let it install plugins. Restart nvim with the same command.
Now, press Space to open the color picker.
Expected behavior
The color picker should display colored bars. Moving left, right, up, down using hjkl should change the bar colors and the preview below.

Actual behavior
The colored bars are not colored, and the resulting preview at the bottom is not highlighted either.

While popup is open, run :UfoDetach, and close the popup with q. Then open it again with Space and the colors now work.

Look like nvim_win_set_hl_ns issue caused by setl winhl-=CursorLine:UfoCursorFoldedLine

That was fast! Thank you.
I can confirm that it's all working for me now. :heart:


delete service resource - [closed]

In GitLab by @sokril on Mar 21, 2018, 08:19
Merges delete -> dev

In GitLab by @wknet123 on Nov 13, 2019, 10:42
The test coverage for backend is  %   and for frontend is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:42
the it is failed check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:42
The test coverage for backend is  56.55%   and for frontend is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:42
closed


Log when contract creation runs out of gas

Or errback

@vasuman I was just looking to merge this - is there a reason you closed?

Return value is empty when contract creation fails for reasons other than out-of-gas also

In the develop branch of the TestRPC, all transactions will log when there's a failure. I've even included a test for it. This will be released when develop is merged into master and a new version of the TestRPC is released. Thanks!


Inconsistent list of tutorials

A different list of tutorials is included in the left navigation panel depending on which tutorial page one is looking at.  Our updated website is here: https://turinglang.org, You can have these tutorials here https://turinglang.org/docs/tutorials/09-variational-inference/ and https://turinglang.org/docs/tutorials/10-bayesian-differential-equations/
We tried all possible things to remove turing.ml, but I think we have to wait until domain expiries, we also have an issue regarding this, see https://github.com/TuringLang/turinglang.github.io/issues/59

My bad!


Fix elements order

I also fixed the name of the output file when generating spin=0  (open-shell like) representations

Thanks!

I think we should keep it consistent! Inside the function (and not in the main) seems better I think.
In the function is better I guess if it's possible to rewrite for the bond one
Should I include it in this issue ? or create a new one ?
It should be a new one, this is a different problem

do we always sort elements for spahm-b?

okay I think for spahm-b doesn't matter since we sort atom pairs anyway https://github.com/lcmd-epfl/Q-stack/blob/master/qstack/spahm/rho/dmb_rep_bond.py#L73-L74


Add License To Project

I'd love to use this for a quick reference project at work, but unfortunately we have to make sure we're only using approved licensed material. Since there's no license listed in the project, I can't use it.
Please add one or more of the following:

A LICENSE.md file with the appropriate license
A section in the README.md with the appropriate license
Something on the project's page with the appropriate license

Thanks for pointing this out! I hope you are satisfied with this change.

Thanks! One of those things that's easy to overlook, and also easy to fix.


CMake Tools status bar buttons are visible when non-cmake projects are open

Brief Issue Summary
When i open up a python project, or a C++ project that has no cmakelists.txt file, or any other non-cmake based project, the cmake tools buttons still appear in the status bar. Can we have it so that the buttons appear selectively, based on whether or not there is a cmakelists.txt file in the root of a workspace/directory?
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

That is supposed to be the default behavior.  Can you run the "Developer: Startup Performance" command and share what you see in the "Extension Activation Stats" table for vscode-cmake-tools?  It will tell us why the extension is being activated.

| ms-vscode.cmake-tools                   | true  | 21        | 0             | 2166            | workspaceContains:*/CMakeLists.txt,*/*/CMakeLists.txt,*/*/*/CMakeLists.txt | ms-vscode.cmake-tools                   |
1 of the projects, i have found to have a dummy cmakelists.txt deep down in its directory structure, but the others, i cannot find anything for at all.

What does the table say for the other projects?

What should be happening for your project with the CMakeLists.txt in it is that the extension will activate and ask you to select a CMakeLists.txt that contains your project.  If you select one of the ones we found, then we update the cmake.sourceDirectory setting for you and the status bar should light up.  If you dismiss the prompt, the extension should disable most of its functionality, including the status bar.  I just tried this out on a new folder and it works the way I expect.  If the status bar is visible, then check to see if the cmake.sourceDirectory setting is set by accident and clear it.

| ms-vscode.cmake-tools | true | 21 | 0 | 2166 | workspaceContains:*/CMakeLists.txt,*/*/CMakeLists.txt,*/*/*/CMakeLists.txt | ms-vscode.cmake-tools |
1 of the projects, i have found to have a dummy cmakelists.txt deep down in its directory structure, but the others, i cannot find anything for at all.

This is happening for me as well, my project is not CMake based, but a library that is within the source directory as a submodule has a nested CMakeLists.txt somewhere in its directory tree, and this activates the ms-vscode.cmake-tools extension (*/*/*/CMakeLists.txt matches).
It would be great if there were a setting to only load the extension if CMakeLists.txt was chosen, or a setting in e. g. C_cpp_properties.json to disable it - setting "configurationProvider": "none" or "configurationProvider": "" does not disable loading of ms-vscode.cmake-tools.


feat: changing the minimum version of node.js to v16

BREAKING CHANGE: The minimum requirement of node.js is changed to version 16

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix code scanning alert - Information exposure through an exception

Tracking issue for:

[ ] https://github.com/MythicalLTD/KosmaPanel-Daemon/security/code-scanning/2

Rewrite in C#