HADOOP-16938. Make non-HA proxy providers pluggable

Adds the following improvements:
https://issues.apache.org/jira/browse/HADOOP-16938

This is the refactor needed for HADOOP-16543.
That was already reviewed.
I'll wait for the Yetus results and merge once that's +1.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
24m 32s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
1m 10s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
19m 26s
trunk passed

+1 :green_heart:
compile
8m  1s
trunk passed

+1 :green_heart:
checkstyle
1m 35s
trunk passed

+1 :green_heart:
mvnsite
2m 28s
trunk passed

+1 :green_heart:
shadedclient
18m 43s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
2m 14s
trunk passed

+0 :ok:
spotbugs
0m 34s
Used deprecated FindBugs config; considering switching to SpotBugs.

+0 :ok:
findbugs
0m 33s
branch/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site no findbugs output file (findbugsXml.xml)

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 25s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 31s
the patch passed

+1 :green_heart:
compile
7m 27s
the patch passed

+1 :green_heart:
javac
7m 27s
the patch passed

-0 :warning:
checkstyle
1m 32s
hadoop-yarn-project/hadoop-yarn: The patch generated 4 new + 208 unchanged - 0 fixed = 212 total (was 208)

+1 :green_heart:
mvnsite
2m 16s
the patch passed

-1 :x:
whitespace
0m  0s
The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
xml
0m  2s
The patch has no ill-formed XML file.

+1 :green_heart:
shadedclient
14m 24s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
2m 13s
the patch passed

+0 :ok:
findbugs
0m 30s
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site has no data from findbugs

_ Other Tests _

+1 :green_heart:
unit
1m 12s
hadoop-yarn-api in the patch passed.

+1 :green_heart:
unit
1m 48s
hadoop-yarn-common in the patch passed.

+1 :green_heart:
unit
0m 27s
hadoop-yarn-site in the patch passed.

-1 :x:
asflicense
0m 53s
The patch generated 1 ASF License warnings.

121m 39s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1913

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml markdownlint

uname
Linux 079fbb0b2611 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / d353b30

Default Java
1.8.0_242

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/1/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt

whitespace
https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/1/artifact/out/whitespace-eol.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/1/testReport/

asflicense
https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/1/artifact/out/patch-asflicense-problems.txt

Max. process+thread count
422 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/1/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 59s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
1m 18s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
20m 51s
trunk passed

-1 :x:
compile
1m 38s
hadoop-yarn in trunk failed.

+1 :green_heart:
checkstyle
1m 23s
trunk passed

+1 :green_heart:
mvnsite
1m 57s
trunk passed

+1 :green_heart:
shadedclient
19m  8s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 41s
trunk passed

+0 :ok:
spotbugs
0m 20s
Used deprecated FindBugs config; considering switching to SpotBugs.

+0 :ok:
findbugs
0m 20s
branch/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site no findbugs output file (findbugsXml.xml)

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 27s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 35s
the patch passed

+1 :green_heart:
compile
8m 32s
the patch passed

-1 :x:
javac
8m 32s
hadoop-yarn-project_hadoop-yarn generated 99 new + 233 unchanged - 0 fixed = 332 total (was 233)

-0 :warning:
checkstyle
1m 28s
hadoop-yarn-project/hadoop-yarn: The patch generated 4 new + 208 unchanged - 0 fixed = 212 total (was 208)

+1 :green_heart:
mvnsite
2m 16s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

+1 :green_heart:
shadedclient
14m 48s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
2m  8s
the patch passed

+0 :ok:
findbugs
0m 27s
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site has no data from findbugs

_ Other Tests _

+1 :green_heart:
unit
0m 59s
hadoop-yarn-api in the patch passed.

+1 :green_heart:
unit
4m  3s
hadoop-yarn-common in the patch passed.

+1 :green_heart:
unit
0m 21s
hadoop-yarn-site in the patch passed.

+1 :green_heart:
asflicense
0m 41s
The patch does not generate ASF License warnings.

95m 47s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1913

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml markdownlint

uname
Linux 7b727ea62350 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / d353b30

Default Java
1.8.0_242

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/2/artifact/out/branch-compile-hadoop-yarn-project_hadoop-yarn.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/2/artifact/out/diff-compile-javac-hadoop-yarn-project_hadoop-yarn.txt

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/2/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/2/testReport/

Max. process+thread count
94 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1913/2/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

I'll ignore the 4 left checkstyle issues as they are the same as in ConfiguredRMFailoverProxyProvider, so let's keep it as is for consistency.


Remove cache entry if configuration for token is not found

This fixes #249

cc @zenitraM please review it :-)

:+1:

Thx! :smile:


Investigate why chat messages don't disappear in ReplayObserver

The messages dissapear when using python-sc2, so I would guess it's a difference in how the games are started or how the coordinator works


Installation error with pip3 install -e .

I've followed the instructions for the installation, and this is what I get when I run the command.
C:\Users\ausca\gym-retro>pip3 install -e .
Obtaining file:///C:/Users/ausca/gym-retro
Collecting gym (from gym-retro==0.7.0.dev57+g71124f0)
Using cached https://files.pythonhosted.org/packages/c7/98/fad8b85827d9aca922eec6a8747dd696aac281ebdc4b1225acf51f8f612f/gym-0.12.0.tar.gz
Collecting scipy (from gym->gym-retro==0.7.0.dev57+g71124f0)
Using cached https://files.pythonhosted.org/packages/a9/b4/5598a706697d1e2929eaf7fe68898ef4bea76e4950b9efbe1ef396b8813a/scipy-1.2.1.tar.gz
Complete output from command python setup.py egg_info:
Could not locate executable g77
Could not locate executable f77
Could not locate executable ifort
Could not locate executable ifl
Could not locate executable f90
/usr/bin/DF: /what: No such file or directory
Could not locate executable efl
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable g95
Could not locate executable efort
Could not locate executable efc
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
'svnversion' is not recognized as an internal or external command,
operable program or batch file.
non-existing path in 'numpy\distutils': 'site.cfg'
Running from numpy source directory.
C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\setup.py:390: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\misc_util.py:476: SyntaxWarning: "is" with a literal. Did you mean "=="?
return is_string(s) and ('*' in s or '?' is s)
C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\system_info.py:638: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
self.calc_info()
C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\system_info.py:638: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\system_info.py:638: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\system_info.py:638: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
self.calc_info()
C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\system_info.py:638: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
self.calc_info()
c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\msvc.py", line 489, in _find_latest_available_vc_ver
return self.find_available_vc_vers()[-1]
IndexError: list index out of range
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\bdist_egg.py", line 163, in run
    self.run_command("egg_info")
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\command\egg_info.py", line 26, in run
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\command\build_src.py", line 148, in run
  File "C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\command\build_src.py", line 159, in build_sources
  File "C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\command\build_src.py", line 292, in build_library_sources
  File "C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\command\build_src.py", line 375, in generate_sources
  File "numpy\core\setup.py", line 665, in get_mathlib_info
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\command\config.py", line 241, in try_link
    self._check_compiler()
  File "C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\command\config.py", line 52, in _check_compiler
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\_msvccompiler.py", line 239, in initialize
    vc_env = _get_vc_env(plat_spec)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\msvc.py", line 185, in msvc14_get_vc_env
    return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\msvc.py", line 843, in __init__
    self.si = SystemInfo(self.ri, vc_ver)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\msvc.py", line 485, in __init__
    self.vc_ver = vc_ver or self._find_latest_available_vc_ver()
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\msvc.py", line 492, in _find_latest_available_vc_ver
    raise distutils.errors.DistutilsPlatformError(err)
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
    yield saved
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\setup.py", line 415, in <module>
    cmdclass = {'sdist': sdist_checked}
  File "C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\setup.py", line 407, in setup_package

  File "C:\Users\ausca\AppData\Local\Temp\easy_install-ov3kp1a6\numpy-1.16.2\numpy\distutils\core.py", line 171, in setup
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\distutils\core.py", line 163, in setup
    raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required.  Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ausca\AppData\Local\Temp\pip-install-sa88ecin\scipy\setup.py", line 492, in <module>
    setup_package()
  File "C:\Users\ausca\AppData\Local\Temp\pip-install-sa88ecin\scipy\setup.py", line 488, in setup_package
    setup(**metadata)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 144, in setup
    _install_setup_requires(attrs)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 139, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 721, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 780, in resolve
    dist = best[req.key] = env.best_match(
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 1077, in obtain
    return installer(requirement)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 791, in fetch_build_egg
    return cmd.easy_install(req)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 679, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 705, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 890, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 1158, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "c:\users\ausca\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 1146, in run_setup
    raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\ausca\AppData\Local\Temp\pip-install-sa88ecin\scipy\
I've tried installing scipy but that isn't working.  I updated the setuptools and tried everything I can to get it to work.
I appreciate the help!
System information

Windows 10
3.7.1
0.6.0

Can I ask why you are installing from source?

I tried after just running the normal installation to see if it would be different, but there were errors.  I tried again just now, and it gave what appears to be the same error.

This is an error compiling numpy, a dependency being pulled in, not gym-retro.


fail to use ollama[BUG]

Describe the bug
when i use ollama to build a chatflow, it cannot run.
the error show here:
[server]: Error: Ollama call failed with status code 400: stat /home/.ollama/models/manifests/registry.ollama.ai/library/latest: no such file or directory.
i go to look at the directory, the directory is wrong. because there is an extra /llama2 in the actual directory.
/home/.ollama/models/manifests/registry.ollama.ai/library/llama2/latest

Have you tested and see if using Ollama API does it work? Might be related to your Ollama setup


Add $MATE

Hi! What is your PR about?

[x] Add or edit a skin
[ ] Add a custom domain for your space
[ ] Add an alias to migrate your space

To create your skin will also need to list your skin on this file: https://github.com/snapshot-labs/snapshot-spaces/blob/master/skins/index.js

@gokaiorg fixed


Add the ability to hide command from "usage" output

Hello
Proposal: https://discourse.dry-rb.org/t/dry-cli-option-to-hide-command/1823
I wanted to be able to hide command when registering. Sometimes there are commands that should be accessible but hidden. For example completion, or beta commands.
$ ./foo
Commands:
  foo assets [SUBCOMMAND]
  foo callbacks DIR                                          # Command with callbacks
  foo console                                                # Starts Foo console
  foo db [SUBCOMMAND]
  foo destroy [SUBCOMMAND]
  foo exec TASK [DIRS]                                       # Execute a task
  foo generate [SUBCOMMAND]
  foo greeting [RESPONSE]
  foo hello                                                  # Print a greeting
  foo new PROJECT                                            # Generate a new Foo project
  foo root-command [ARGUMENT|SUBCOMMAND]                     # Root command with arguments and subcommands
  foo routes                                                 # Print routes
  foo server                                                 # Start Foo server (only for development)
  foo sub [SUBCOMMAND]
  foo variadic [SUBCOMMAND]
  foo version                                                # Print Foo version

$ ./foo --help
Commands:
  foo assets [SUBCOMMAND]
  foo callbacks DIR                                          # Command with callbacks
  foo console                                                # Starts Foo console
  foo db [SUBCOMMAND]
  foo destroy [SUBCOMMAND]
  foo exec TASK [DIRS]                                       # Execute a task
  foo generate [SUBCOMMAND]
  foo greeting [RESPONSE]
  foo hello                                                  # Print a greeting
  foo new PROJECT                                            # Generate a new Foo project
  foo root-command [ARGUMENT|SUBCOMMAND]                     # Root command with arguments and subcommands
  foo routes                                                 # Print routes
  foo server                                                 # Start Foo server (only for development)
  foo sub [SUBCOMMAND]
  foo variadic [SUBCOMMAND]
  foo version                                                # Print Foo version

$ ./foo completion --help
Command:
  foo completion

Usage:
  foo completion

Description:
  Generate completion script

Options:
  --shell=VALUE                     # Shell to generate completion script for, default: "bash"
  --help, -h                        # Print this help

🌮

This is wonderful, thank you @benoittgt! (And I'm honestly really sorry about the delay. I'll reply to you on Mastodon later today)

No problem @timriley. Thanks for the merge.


spring-boot-demo-2 to 0.0.2

Promote spring-boot-demo-2 to version 0.0.2

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fix errors on support interface R4R search page

Context
Errors occurred on the support interface R4R search page because we didn't have a key for other_advice_or_feedback_y_n in the hash of top-level reasons. This change fills in the missing key and adds tests and defensive code to prevent similar issues that happen due to data that doesn't match our assumptions.
https://sentry.io/organizations/dfe-bat/issues/2208115277/?environment=qa&project=1765973&query=is%3Aunresolved#grouping-info
Changes proposed in this pull request

Add the missing metadata for other_advice_or_feedback_y_n
Handle any unknown R4R attributes/values that may exist in the database or be used as params to this page.

Guidance to review

Is it reasonable to ignore attributes and values that we don't know about? (rather than crash)

Link to Trello card
n/a - see https://sentry.io/organizations/dfe-bat/issues/2208115277/?environment=qa&project=1765973&query=is%3Aunresolved#grouping-info
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

Interesting. Do we know how the data got into this state? I think this fine, but it's something to bear in mind going forward. I was under the assumption that this was a fairly rigid structure.
We might need to rethink this is the structured rejection reasons design changes at some point too.

The crash happened because I just hadn't added other_advice_or_feedback_y_n to the hash of top-level reasons, so we couldn't find the i18n title. So it was valid data (and an oversight on my part) that triggered it. I added the defensive code because (a) the search params are just on the query string so could be invalid (b) we might add keys to the structure in future and I just wanted to make sure it doesn't break if we don't update the support interface.


Support for modded wood types

can you add support to any woods from mods as biomes of plenty, RegionsUnexplored etc?

I will add support for modded wood types in a future update or as a separate compatibility mod.

I have released two Energized Power Add-ons (One for Biomes O' Plenty and one for Region Unexplored):

Energized Power - Biomes O' Plenty
Energized Power - Region Unexplored


Refactor the code with dart linter and analysis_options.yaml file

In this PR, I updated the analysis_options.yaml file and added some new rules to it. after that, I refactored the code and resolved the warnings that appeared in the code.

Thanks @payam-zahedi


Sodium related issue when attempting to start Chipper

Hello, I seem to be running into an issue when starting chipper on my RPI 3b 4.19.66-v7+. When running sudo ./chipper/start.sh console responds with this error and closes.
# github.com/jamesruan/sodium
/root/go/pkg/mod/github.com/jamesruan/sodium@v1.0.14/aead_chacha20poly1305.go:36:2: could not determine kind of name for C.crypto_aead_chacha20poly1305_ietf_keygen

I have followed steps up to this point and selected picovoice as the provider (was told by console to do so due to platform)

Closing because I have removed sodium from wire-pod


Keyword arguments

I noticed that the tested Rubies (https://github.com/Absolventa/emarsys-rb/blob/master/.travis.yml) all support keyword arguments, but they don't seem to be used.
While implementing https://github.com/Absolventa/emarsys-rb/pull/23, I thought it would be very handy to use as the list of required parameters for Emarsys::Email.export_responses is really long and the order is difficult to remember.
What do you think?

I don't have any objections to this, but since i'm relatively new to the project, i'll let @carpodaster weigh in?

If we do go down this route, the whole codebase could probably do with a review with regards support for kwargs.

Hey @michaelsauter and @mungler – my first reaction was "let's not drop support for old Rubies" but my immediate follow-up reaction was: "hell yeah, let's drop support for old Rubies!" ;)  👍 for kwargs

@carpodaster I tend to agree... kwargs are the future. With respect to semver, switching to kwargs will be a non-backward compatible change, so where do we go with versioning? 1.0.0?

@mungler ah, good point. I would still only do a 0.x.0 increase since the lib is not yet 1.0, meaning that it's still considered unstable and APIs can change at any time. That's what I meant in my other comment with "it's all < 1.0 so nothing really counts".
I don't know if there are any key features missing wrapping the Emarsys API. If there aren't, one might as well consider a move to the Grand v1.0

@carpodaster yeah, its the one weakness in the semver argument, really.  I agree, I think we're better to stick to 0.x.y to indicate instability, unless we're confident the API wont change. A review of the API coverage is likely in order before moving to 1.0.0 :)

@michaelsauter thoughts? :)

Great to hear you're open towards keyword arguments! I've found them to be very helpful. Also, they're not that new anymore (2.0.), even though I'd probably raise the min. Ruby version to 2.1 to be able to use required keyword arguments.
In regards to semver .... I don't think you're strictly following semver :) If you would, this should be 1.0 already I think - see the semver FAQ:

If your software is being used in production, it should probably already be 1.0.0. If you have a stable API on which users have come to depend, you should be 1.0.0. If you’re worrying a lot about backwards compatibility, you should probably already be 1.0.0.

However, I think it is totally OK to not strictly follow semver. I do think that people assign "1.0" some special meaning - it sort of communicates "this thing won't change much". As such, just incrementing the MINOR number seems fine by me if you're pre 1.0 and introduce a backwards-incompatible change. That seems to be a pretty common approach.

@michaelsauter @carpodaster I do agree, actually. I think for now i'll stick with updating the 'z' of x.y.z until we agree we're at 1.0.0
With regards kwargs, feel free to submit a PR for review 👍


ContactList returns nothing

I followed your example, but when I do $listEndPoint = new \PHPFUI\ConstantContact\V3\ContactLists($client);
Nothing is returned, yet I have lots of lists.
Any idea why?
Thank you.
Michel

This is a more complete example.
try
				{
				$contactListsAPI = new \PHPFUI\ConstantContact\V3\ContactLists($client);
				$response = $contactListsAPI->get();

				if (! $contactListsAPI->success())
					{
					WriteDebug($contactListsAPI->getStatusCode(), $contactListsAPI->getLastError());
					}

				foreach ($response['lists'] ?? [] as $row)
					{
					// Do something with $row
					}
				}
			catch (\Throwable $e)
				{
				WriteDebug($e);
				}

Thank you. This works!


[osg-qt] protobuf denpendency is redundant

Is your feature request related to a problem? Please describe.
osg-qt DOES NOT depends on protobuf at all.
Proposed solution
Simply remove protobuf from Build-Depends session in CONTROL file, then everything works well as before.
Describe alternatives you've considered
N/A
Additional context
./vcpkg x-add-version --all changed nothing because osg-qt is a simple wrapper around osg with Qt API,
there's no  tag and version in this repo.
Previous version of this port use Qt5 as version name.

fix: Add Port-Version field, ./vcpkg x-add-version --all changed version baseline correctly now


FileContentUpdater for updating /sys files

My particular problem can be solved with LineEditor, will use that instead.


Convert { min: , max: } => Range

@samreid and I noticed that many places use a range object literal instead of the Range type, and RangeIO currently only supports the Range type. Instead of loosening restrictions on RangeIO, we would prefer if Range was used from now on. Alternatively, we could add support for the object literal range in RangeIO.
We discovered this while working on https://github.com/phetsims/graphing-quadratics/issues/14, and the problem was introduced from changes to Range.js in https://github.com/phetsims/dot/issues/77

This seems like a reasonable short-term workaround as I'm expecting our clients usages of options.range aren't doing anything crazy.  For instance, here's a "crazy" case that could lead to unexpected behavior.
var range = {min:6,max:8};
var options = {range:range};
var p = new NumberProperty(7,options);
if (options.range!==range){
 console.log('something happened!');
}

Also, we should make a note to remove this workaround and replace it with an assertion once we've converted all sites.

Beast of a change! Assigning to @samreid and @zepumph for review however you see fit, whoever gets to it first.

Marking for dev meeting 10/25/18 to notify devs that we should use Range instead of object literal ranges from now on.

To review I searched for many versions of { min: .*, max:, in different orders, different spacing, etc. I couldn't find any more usages.
I then looked into the about 10 of the above commits, and they all looked thorough and complete to me.

I see an issue from CT in optics lab that may have to do with this:
optics-lab : xss-fuzz : load
Uncaught Error: Assertion failed: max must be >= min. min: -100, max: -800
Error: Assertion failed: max must be >= min. min: -100, max: -800
    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/assert/js/assert.js:22:13)
    at new Range (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/dot/js/Range.js?bust=1540496699429:22:15)
    at new ControlPanel (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/optics-lab/js/optics-lab/view/ControlPanel.js?bust=1540496699429:159:70)
    at new ControlPanelManager (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/optics-lab/js/optics-lab/view/ControlPanelManager.js?bust=1540496699429:68:29)
    at new OpticsLabScreenView (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/optics-lab/js/optics-lab/view/OpticsLabScreenView.js?bust=1540496699429:42:32)
    at OpticsLabScreen.Screen.call.backgroundColorProperty [as createView] (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/optics-lab/js/optics-lab/OpticsLabScreen.js?bust=1540496699429:26:34)
    at OpticsLabScreen.initializeView (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/joist/js/Screen.js?bust=1540496699429:251:25)
    at Array.<anonymous> (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/joist/js/Sim.js?bust=1540496699429:783:18)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/joist/js/Sim.js?bust=1540496699429:791:27
id: Bayes Chrome
Approximately 10/25/2018, 10:41:04 AM
optics-lab : xss-fuzz : run
Uncaught Error: Assertion failed: max must be >= min. min: -100, max: -800
Error: Assertion failed: max must be >= min. min: -100, max: -800
    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/assert/js/assert.js:22:13)
    at new Range (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/dot/js/Range.js?bust=1540496699429:22:15)
    at new ControlPanel (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/optics-lab/js/optics-lab/view/ControlPanel.js?bust=1540496699429:159:70)
    at new ControlPanelManager (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/optics-lab/js/optics-lab/view/ControlPanelManager.js?bust=1540496699429:68:29)
    at new OpticsLabScreenView (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/optics-lab/js/optics-lab/view/OpticsLabScreenView.js?bust=1540496699429:42:32)
    at OpticsLabScreen.Screen.call.backgroundColorProperty [as createView] (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/optics-lab/js/optics-lab/OpticsLabScreen.js?bust=1540496699429:26:34)
    at OpticsLabScreen.initializeView (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/joist/js/Screen.js?bust=1540496699429:251:25)
    at Array.<anonymous> (https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/joist/js/Sim.js?bust=1540496699429:783:18)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1540492864689/joist/js/Sim.js?bust=1540496699429:791:27
id: Bayes Chrome
Approximately 10/25/2018, 10:41:04 AM

@zepumph that was the one invalid range I found, see https://github.com/phetsims/optics-lab/issues/22. Do you think anything else needs to be addressed for this issue?

I just saw another issue. There were some Range imports that made their way into the ifphetio block instead of into the normal module blocks. For example in NodeIO.

Ahh shoot, I was trying to be wary of that once I noticed ifphetio blocks, but not soon enough apparently. Should I verify them all or merge the effort with your approach in https://github.com/phetsims/phet-io/issues/1396#issuecomment-432834556.

I think that is likely best.

Please note also that https://github.com/phetsims/tasks/issues/963 is a work in progress.

I think that is likely best.

Cool, thanks. I'd be surprised if there were more than one or two other cases of this, if any.

Since it was easy to scan through of the // ifphetio blocks, I quickly verified that no other Range imports wound up there. Closing.

Regarding https://github.com/phetsims/dot/issues/80#issuecomment-432912643, we ended up having this discussion during 11/1/18 dev meeting, so devs are on board with using Range instead of the object literal range. We also clarified that this only applies to object literals with only min and max. For example, { min: , max: , color: } is still valid.


Resolve compilation issue with Resolving TypeHash.h include when usin…

Description
Changed the #include to "Templates/TypeHash.h"
See: https://buildkite.com/improbable/unrealgdkexampleproject-nightly/builds/770#c523092b-039c-4de4-8664-72c3b738d9f6
Tests
I compiled this with UnrealGDK as an Engine plugin and ran the editor.
I did not test this with UnrealGDK as a Project plugin ...
Primary reviewers
Feel free to merge this, as it's 1:30am China time. @samiwh @joshuahuburn @jessicafalk

Already fixed in master. Closing.


chore/deps: updates to be compatible with Node v10

Coverage remained the same at 95.936% when pulling 28c521f04982a453055458c91b7dc35a5615cbc3 on hunterlester:305 into dcb950fcef0dc054247b98ec96b7b0654f234e74 on maidsafe:master.


Outputing results to a journal

I am very new to Foundry and I have basic understanding of JS. Is it possible to capture output from this module and send it to a journal instead of chat or the evaluation window. I have found a macro, which I have not tested yet, that will create a new journal and add a string so, hopefully, all I need is a push in the right direction.

To clarify my intent. I intend to have scripts that will generate significant information such as town data, npc/pc backgrounds, etc. If allowed, the option for each script output being a potentially new journal (ie new journal is created by something like {NewJournal~foldername,journalname} ) or adding the output to the end of an existing journal (ie {JournalEntry~journalname,output}.

It is a feature on my todo list. Basically the whole plugin is rough on all edges, as Tablesmith Functions are missing and the GUI not thought out. What would you envision, a Button in the form  'To Journal' with a Journal preconfigured via the settings. Or should it be a selectable Journal for each table roll?
The question is, are you using the GUI to generate the output? I have planed to add buttons to the GUI with a 'To Chat' and 'To Journal' funtionality, to have the option to preserve the results after the table was rolled.
As of now I would not start to extend the Tablesmith Functions to keep basic functionality.

Ideally, both a button to output to a new or existing journal as well as a command. Some scripts may always output to a journal (ie due to size or are best suited as an individual journal) while a button can be used on other scripts, after being executed, to determine whether the output should go to either a new journal, an existing journal (at the bottom?), or to chat.

Also being able to take advantage of the HTML markup of the journals would be nice. such as
:Start
1,<h2>[townname]</h2>
_[towndetails]
or perhaps
1, {h2~[townname]}

Please do not mix issues, as is it gets complicated to sort them out. The scond thing I do not understand html markup is working fine for me. If I add the feature to export to Journal, the export would be with full markup, as in the Chat Texts.

Version 1.5.0 has a basic Journal appending function, via API or the Form. The Journal that is appended to via the form is configured by Module settings. The Journal used by the API is more flexible, as it can be configured via options (see the extended Macro in the compendium).


Hard to use code.

Hard to use code as variables and functions don't use English naming.
It would help if you use English naming convention so that everyone can use this for their projects.

I'll translate it at some point.

English naming was used in the code. https://github.com/JahnStar/Hey-Area-Object-Spawner/commit/69ef5f160db8888c820f50e4556a70d47b4e89fe
Language toolbar option added to Inspactor.


How to  debug worker.js on server side in socketcluster API?

In the chat application I am trying to debug worker.js on server side. I am not able to hit debugging point on worker.js code.
I am running #h1 node-debug worker.js # in one window and other window #h1node server --debug-workers#.
Please let me know how to debug worker.js on server side.
  socket.on('disconnect', function () {
      debugger;
      console.log(socket.remoteAddress);
      console.log('User disconnected');
    });

Its printing user disconnected message on the server but its not hitting debugger statement.

@kaviproject You should try to follow all the steps here exactly: http://socketcluster.io/#!/docs/debugging
You need to run the node-inspector command in a separate console window or in the background. It needs to stay running throughout the entire debugging session.

Reopen if this is a legitimate issue (using node-inspector can be tricky).


Add support for admin endpoints

Hey there,
it would be great to have support for the /v1/admin endpoints as they are very useful for automated moderation :)

Sort of fuzzily related, I'm missing support for oauth/revoke too.
@mattn I'd be willing to work on this issue and provide a PR, if you are ok with it.


0.4.1-alpha tweaks

0.4.0-alpha feels incomplete, so here comes 0.4.1-alpha

Added short selection animation to Colt SAA, forgot to add that
Tweaked firearm interaction in event
Updated mods.toml and build.gradle to new version
Updated TODO

Fixed Colt SAA animation issue where bullets would not be hidden during reload animation
Added "stop nearby formations" button for removing formation leaders that cannot be stopped (e.g. their whistle has been destroyed somehow)
Column formation and its segments do a slightly better job at moving around; improvements still needed
Updated TODO

Feel like it's high time to write about some updates here so why not

Added fishtail matchlock musket (FirearmInit#FISHTAIL_MATCHLOCK, industrialwarfare:fishtail_matchlock), match cord (ItemInit#MATCH_CORD, industrialwarfare:match_cord), and paper cartridge (ItemInit#PAPER_CARTRIDGE, industrialwarfare:paper_cartridge) (match cord and paper cartridge have cheat variants that do not burn out and are not consumed by the reloading process, respectively)
Column formation now properly bends when on the move, this has improved column movement bigly
Formation spot finding now checks if you can actually stand on the position with no collision, toyed around with ADS animations for a bit (only on the Vetterli).
Can now move entities out of formation with the whistle


Resolved Bug 690 : Design System > Datatable action component updated

Description
design systems datatable action component Updated
Fixes # (issue)
New Story added
Type of change
4 files  updated
How Has This Been Tested?
For Testing Go to Data Table-> Hide Icon , Action button can be visible

@hemalatagaikwad : The rds-comp-data-table.tsx file numerous conflicts so far. While accepting incoming changes will make errors. So it taking time to fix the errors.

Create New PR against task https://github.com/Wai-Technologies/raaghu-react/pull/940


Add a scroll functionality in the Scroll text in the Events Page

Description

Expected Behavior

Screenshots

Enviroment:

OS: Mac Linux Windows
Browser: Chrome Safari Firefox
Version:
Device: Desktop Mobile

Hey @sabeenaviklar , it's already there. Are you specifying the same or anything else?
Can u tell us more about the issue?

When you see the scroll text on the event page, You have to scroll by yourself. But instead of that it should scroll down automatically when you click on that text.

When we click on scroll text, it will scroll to the next section automatically. Please check this...


fix: adds passage-version header to all api calls

Description

Adds a missing header to requests for tracking the package version.
It looks like OpenAPITools/openapi-generator doesn't expose setting custom headers in the configuration https://github.com/OpenAPITools/openapi-generator/pull/11431, so added a code mod function in the generator to set the additional header code.
Not bumping the version since we have a few more things coming down the pipe we can bundle.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation
[ ] Infrastructure

Testing

Checklist before approving (including SDK updates)

[x] I have performed a review of the code.
[ ] Docs have been updated. Docs in the docs/Passage folder should be edited with any changes to the api. We manually edit these docs to account for the wrapping layer of the generated code.
[ ] The version has been updated in the composer.json file.
[ ] The CHANGELOG.md has been updated.

Checklist after merging

[ ] Github repo is tagged.

Sorry, I take back the approval. Can you also add the changes to the CHANGELOG?
I know we are waiting to release, but we should still make it easy on ourselves and make a note of the unreleased changes so we don't have to look back to see what has changed.

Would writing unreleased changes to our changelog be preferable to using the conventional commit messages to aggregate the changes when were ready to release?
I wasn't sure if writing unreleased changes to the log could be confusing to anyone reading it

Sorry, I take back the approval. Can you also add the changes to the CHANGELOG?
I know we are waiting to release, but we should still make it easy on ourselves and make a note of the unreleased changes so we don't have to look back to see what has changed.

Would writing unreleased changes to our changelog be preferable to using the conventional commit messages to aggregate the changes when were ready to release?
I wasn't sure if writing unreleased changes to the log could be confusing to anyone reading it

I typically lean more towards an Unreleased section. Us not having a reliable, agreed upon commit message standard, also supports this.
Having an Unreleased section is a fairly common practice. You can see an example here. Unreleased sections can help devs know what is coming and make updates to CHANGELOGS easier when we aren't using something like beachball.


ENH: update package version

Hi! This is the friendly automated conda-forge-webservice.
I've started a version update as instructed in #80.
I'm currently searching for new versions and will update this PR shortly if I find one! Thank you for waiting!
Fixes #80

No dependency changes
> git diff 8.3.1 8.3.2 setup.cfg


Fitting 35000 parameters causes cmdstan to fail

Summary:
I noticed that when I run a large imputation program in cmdstan, the program fails. There seem to be problems for both ADVI and MCMC.
Description:
When running imputation within brms each missing data point is a parameter, so it's easy to get quite high parameter counts. When I run one of these models with ADVI or MCMC I get errors, though at different points.
The output of both is below. ADVI seems to be failing with status -9 somewhere in the compiled stan program. MCMC seems to get all the way through sampling, then aborts with a core dump.
I think this is a problem with cmdstan, rather than cmdstanr or brms, but let me know if I should file this issue somewhere else.
Reproducible Steps:
library(brms)
options(mc.cores=4) # edit
set.seed(1)
N <- 40000
frac_miss <- 0.9
df <- data.frame(
  y = ifelse(rbinom(N, prob=frac_miss, size=1), NA_real_, rnorm(N)),
  x = rnorm(N)
)
# Both of these fail:
fit1 <- brm(bf(y | mi() ~ x), data=df, algorithm="fullrank", backend="cmdstan")
fit2 <- brm(bf(y | mi() ~ x), data=df, algorithm="sampling", backend="cmdstan")

Edit: fixed typo in example.
Current Output:

ADVI (algorithm fullrank) output

Start sampling
method = variational
  variational
    algorithm = fullrank
      fullrank
    iter = 2000
    grad_samples = 1 (Default)
    elbo_samples = 100 (Default)
    eta = 1 (Default)
    adapt
      engaged = 1 (Default)
      iter = 50 (Default)
    tol_rel_obj = 0.01 (Default)
    eval_elbo = 100 (Default)
    output_samples = 1000 (Default)
id = 1
data
  file = /tmp/Rtmp7WnXCF/standata-44a17a27862e.json
init = 2 (Default)
random
  seed = 203757686
output
  file = /tmp/Rtmp7WnXCF/file44a11d525f03-202006131129-1-c273b6.csv
  diagnostic_file =  (Default)
  refresh = 100 (Default)

------------------------------------------------------------
EXPERIMENTAL ALGORITHM:
  This procedure has not been thoroughly tested and may be unstable
  or buggy. The interface is subject to change.
------------------------------------------------------------

Gradient evaluation took 0.005164 seconds
1000 transitions using 10 leapfrog steps per transition would take 51.64 seconds.
Adjust your expectations accordingly!

Begin eta adaptation.
Error in processx::run(command = self$command(), args = self$command_args()[[1]],  :
  System command 'file44a11d525f03' failed, exit status: -9, stdout & stderr were printed

MCMC output

Start sampling
Running MCMC with 4 chain(s) on 4 core(s)...

All 4 chains finished successfully.
Mean chain execution time: 1828.2 seconds.
Total execution time: 1878.7 seconds.
terminate called recursively
terminate called after throwing an instance of 'std::bad_alloc'
terminate called recursively
Aborted (core dumped)

Expected Output:
I expected the models to run.
Additional information

MCMC runs without error (but with divergent transitions) if I set iter=10.
The ADVI example also fails with backend="rstan"; I haven't tested the MCMC example with backend="rstan"
The stan csvs are created (316 MB per chain) and I'm able to read all of them back in with rstan::read_stan_csv
35000 isn't a magic number. I haven't experimented with different parameter counts.

  BRMS + CmdStanR?   or running the BRMS-generated Stan program directly via CmdStan with your data?  or?
what interface worked if you set iter=10?
have you checked the amount of free disk space on your machine?
if you've got 35000 parameters, the output csv file will be fairly large if you go for the usual 1000 iterations - once the disk is full, things start to fail silently because there's no space
to write an error message.

I'm using brms + cmdstanr. I've also tried running the brms-generated stan code with cmdstanr (demo below).
When I tried iter=10, I used brms with backend=cmdstan like this:
fit1 <- brm(bf(y | mi() ~ x), data=df, iter=10, algorithm="sampling", backend="cmdstan")

This is how I've run the models directly with cmdstanr:
# df is same data as my original post
fm <- bf(y | mi() ~ x)
x <- brm(fm, data=df, save_model="my_stan_model.stan", empty=TRUE)

mod <- cmdstan_model("my_stan_model.stan")
sdata <- make_standata(fm, data=df)
class(sdata) <- "list"

fit <- mod$sample(data=sdata) # fails
fit <- mod$sample(data=sdata, iter_warmup=5, iter_sampling=5) # runs

I have quite a bit of free disk space. /tmp/, where these files are stored, has 378 GB free.
I noticed that algorithm="fullrank" fails, but algorithm="meanfield" runs.
# df, fm, mod, and sdata are defined in previous code.

 I'm able to read them in with rstan::read_stan_csv, but cmdstanr::read_sample_csv kills the R process.
d <- "temp dir from previous failed cmdstanr run"
f <- list.files(d, "*.csv", full.names=TRUE)
# This is fine:
x <- posterior::as_draws_df(rstan::read_stan_csv(f))
dim(x)
# [1]  4000 35985
x <- cmdstanr::read_sample_csv(f)
# terminate called after throwing an instance of 'std::bad_alloc'
# terminate called recursively
# terminate called recursively
#   what():  std::bad_allocAborted (core dumped)

# Same result if I call cmdstanr::read_sample_csv(f, variables="")

Given these issues, it seems like I'm hitting two problems:

algorithm="fullrank" is having trouble allocating memory with so many parameters.
cmdstanr is having trouble reading the CSVs.

I'm not sure there's much to be fixed with (1). (Maybe a clearer error message?)
For (2), it would be nice if cmdstanr could read CSVs without error. (By default, this reading also happens in the mod$sample call because validate_csv defaults to TRUE.)
It's also worth mentioning that I don't actually want the imputed values of y, but I can't figure out how to ask stan not to write the parameter values. (For example, https://github.com/stan-dev/cmdstanr/issues/173 and https://discourse.mc-stan.org/t/understanding-sampling-of-parameters-local-or-model-block-variables/844/3)

@jgabry and @paul-buerkner - some combination of problems here - any thoughts?

@rok-cesnovar any idea why cmdstanr::read_sample_csv() would fail when rstan::read_stan_csv() works ok?

Not really, but I would definitely like to know.
The best option would be to get an example csv that fails.
Will try some large files in the meantime. I did try previously with up to 1GB CSV files and that worked fine.

@rok-cesnovar, the brms model above creates CSVs that fail, but if it's more convenient, I uploaded one here: https://berkeley.box.com/s/fgkbmga5raoshr5h2e4jr59u7vcfo65l (link is active until June 30)


Performance Issues with CDatePicker Component when using timepicker Prop

In our React application, we have integrated multiple instances of the CDatePicker component from the CoreUI library. When we enable the timepicker prop to allow users to select both date and time, and have 20 or more instances of the component on a single page, we observe significant performance degradation. This issue manifests as:
Delayed Click Handlers: Interactions such as button clicks and other event handlers experience noticeable delays.
UI Lag: The responsiveness of the entire user interface is compromised, making it sluggish and unresponsive at times.
Steps to Reproduce:
Integrate 20 or more instances of the CDatePicker component in a CoreUI React project.
Enable the timepicker prop for each instance.
Observe the overall performance of the application, particularly focusing on click handlers and general UI responsiveness.
Expected Behavior:
The CDatePicker component with the timepicker prop enabled should function smoothly without causing any performance issues. Click handlers and other interactions should remain responsive, even with multiple instances on a single page.
Actual Behavior:
Enabling the timepicker prop with 20 or more instances of the CDatePicker component results in delayed click handlers and a sluggish user interface.
Environment:
@coreui/react-pro : "^4.1.4",
@coreui/coreui-pro : "^4.1.2",
react : "^17.0.2",
Browser: Chrome , Firefox (latest)
Operating System: Windows10
Additional Information:
We have tried several troubleshooting steps, including:
Profiling the application to identify performance bottlenecks.
Testing on different browsers and devices.
Ensuring there are no additional heavy processes running concurrently.
Despite these efforts, the issue persists. Any guidance or fixes would be highly appreciated.

Hi, can you update @coreui/react-pro to the latest version and check if this issue still exists. Version 4.1.4 is outdated. Please update also react to the latest version


⚠ Fox Sports has degraded performance

In 65a7b40, Fox Sports (https://foxsports.com) experienced degraded performance:

HTTP code: 200
Response time: 2364 ms

Resolved: Fox Sports performance has improved in ed335c9.


run rustfmt on core/source.rs

Looks like some of these lines were extended beyond 80 characters, but that's the prevailing style in Cargo. Can you revert back where that happened?

Should the style check file be updated? It says 100 characters.
https://github.com/rust-lang/cargo/blob/master/tests/check-style.sh

Ah perhaps, yeah, although we've tended to have an 80 "soft" limit with a 100 'hard' limit, but I'd be fine making 80 the hard limit.

all but line 414 limited to 80 chars

fixed

@bors: r+ 76fb87e2bab025acaff2d6dd919dde0e328267da

:hourglass: Testing commit 76fb87e with merge ece4e96...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


是不是优化的问题，导致样式丢失

Version
2.5.16
Reproduction link
https://jsfiddle.net/niceguy01/db9pfgxy/
Steps to reproduce
直接run
What is expected?
有样式background-position: center;
What is actually happening?
没有background-position: center;

This has nothing to deal with Vue.

Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂

why to closed this

请查一下 background 属性的含义。


Move data transformation to django ninja schemas

###Description of the Tech Debt###
In the operations form (and possibly other forms), we transform the data received from django into a format rjsf can display. This transformation has caused a couple bugs (e.g. https://github.com/bcgov/cas-registration/pull/729#issuecomment-1912852671), so this ticket it about moving the transformation into a django schema instead (unnest, use resolvers to change type if needed, etc.. Then, we can put the data directly into rjsf without any manipulation on the front end.
Once django ninja is update there may be more options: https://django-ninja.dev/whatsnew_v1/
###Tech Debt Triage#
The purpose of our technical debt triage process is to analyze technical debt to determine risk level of the technical debt and the value in tackling that technical debt.
Risk Value Scoring:

Level
Value

High
3

Medium
2

Low
1

Technical Debt - Risk Types
Level
Value

Business Area Risk - Risk of business area visibility / damage to user experience

Developer Fault Risk - How likely will this tech debt cause a future error related to coding on top of it

System Fault Risk - Risk of system errors or application downtime

Time Scale Risk - Compound risk effect if left alone. How much more difficult to fix or dangerous will this become over time?

Time Sink Risk - How much will this tech debt slow the development process down

TOTAL SCORE:

@BCerki do you think we still need this ticket?

@BCerki do you think we still need this ticket?

Yes, I think so--we still have frontend formData conversion happening in client/app/components/routes/operations/form/Operation.tsx and this strategy caused a bug in the past

@BCerki  to add to this ticket list of schemas that are involved in this work

I've left this as a single ticket instead of creating separate tickets per file because the first bullet is just renaming a variable

This ticket may no longer be relevant if the registration part 2 form is so different it doesn't use the same schemas.


Bug - Data Table Styling

This PR is for some tables styling fixes that @mtlynch identified in https://github.com/m-lab/m-lab.github.io/issues/85.  You can see the fixes in action on my fork here.
I think the fixes that can be applied to fix the styling on the data pages should both be more global fixes, however, there is a table in a blog page that is requiring the min-width attribute to be applied to one of its headers to ensure the formatting stays nice on that page too.  That's why I added the big-query class to that table in the blog post.

This change is

@shredtechular LGTM
@mtlynch Do you want to take a quick look to confirm this solves the issue as you submitted?

Looks much better. LGTM.


X_clone  estimation

X_clone is required in advance, can it not be calculated by its own estimate?

There is one function that estimates the transition map based on transcripome alone. It will also estimate the X_clone there.
Sent from my iPhone

On Jul 1, 2021, at 10:29 PM, windHat @.***> wrote:

X_clone is required in advance, can it not be calculated by its own estimate?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

But,If I only have ordinary scRNA-seq data and no relevant cell clone information, can I not do this? COSPAR can't estimate by itself, can it?

I don’t understand your question...
Sent from my iPhone

On Jul 1, 2021, at 11:13 PM, windHat @.***> wrote:

But,If I only have ordinary scRNA-seq data and no relevant cell clone information, can I not do this? COSPAR can't estimate by itself, can it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


Player does not start

Hi!
I am doing my first installation of the phoniebox (and also my first steps on Linux command line - over SSH).
The "one line install script" did a great job. I could access the web frontend and I was also able to scan RFID-Cards and see their ID-Number on the registration page. After I had created the "audio folders" folder manually I was also able to see the audio folders and the audio titles on the Frontend (I am not sure if this folder should be created by the install script)
But now I am not able to start the Player. I tried following:

Register a Card with a ".mp3" Stream
Register a Card with a ".m3u" Stream
Register a Card with a YouTube Stream
Register a Card to an audio folder
Start an audio folder over the web Frontend

Nothing worked for me. After swiping the card or pressing a button on the web page, the player visualization doesn’t chang and the speakers remain silent.

Have you set the audio interface name in /etc/mpd.conf?
What is the output of:
mpc status

I have used all default settings of the installation script. I will check the mpd.conf this evening.

I had the same experience yesterday evening but wasn't able to provide useful feedback here yet. I used the script and I run into some permission problems with the folders. You have to create some folders manually and also enter the contents to the files as the web frontend won't do that (it just saves the shortcut with the id). The web site however tells you that everything was successful.
Once you create the correct folder and manually add a correct text file within, everything works. I suspect this not to be the desired way of adding streams and/or files.
I hope to have time to add more details on this later.

I found several things with rc-1 (I ran the one line install script yesterday evening):

The script does not create the folder called "audiofolder" within the shared folder. There is also a permission problem that makes the web frontend fail in doing its job to add streams to files like podcast.txt or livestream.txt within the subfolders. I created the folder and ran chmod 777 just to make it work somehow for now. This is the problem mentioned in this issue thread.

Resume doesn't work with folders containing empty spaces (some sed command does not run with the spaces escaped, the web frontend has no problem here). I think related features (shuffle) won't work, too for the same reason. I tailed /var/log/auth.log to see the sudo command. Once I renamed the folder it worked as expected.

The samba shares are listed on the network but aren't accessible. I'm not sure right now if its a macOS 10.14 beta problem or a configuration thing. The error message is "The original object could not be found", which is a mac os generic for "something went wrong somewhere for some reason".

Enhancement: the script could reorder the sound cards when there is a usb card. https://raspberrypi.stackexchange.com/questions/40831/how-do-i-configure-my-sound-for-jasper-on-raspbian-jessie worked for me. This makes things a lot easier.

Hi,
Thanks for the feedback. Please don‘t close this thread, I am on holidays and will work this into the script an web app in the coming days
All the best, micz

After a restart I can see the Web-Stream folders in the web app. I can start the Web-Stream but there is no sound and the timer is remaining at 00:00

@ComicSans: I have comparable issues with SAMBA. For that I opened an own Ticket.
See: #159

Hi @Franzformator @ComicSans
thanks for the input. The "audiofolders" issue must have crept in at some point. It was part of the github repo and only if  you wanted to move the audio files somewhere else, you can specify so in the install script. You can see that in the install script where I state:
# delete placeholder files so moving the folder content back later will not create git pull conflicts
rm BACKUP/shared/audiofolders/placeholder
rm BACKUP/shared/shortcuts/placeholder

Still: the folder would not be created but just "set". I need to add that to the install script as info.

"But it is still not possible to register streams or Youtube over the web app" - what do you mean by register? The process has changed, the YouTube files are now downloaded over the web app. Did I miss that in the docs?
"Resume doesn't work with folders containing empty spaces" - can you recheck, it should work now.

With "register" I mean to assign a Youtube- or Radio-Stream to a RFID Card. Both haven’t worked for me.

Hi @Franzformator
there are some sample folders / playlists that I use for testing. Could you give them a try?
You need to cd to scripts/helperscripts and then run
./CreateSampleAudiofoldersStreams.sh

Quick update: folders with spaces seem to work now. Also the samba errors mentioned above are solved (a macOS glitch and a user problem obviously).
What are the correct permissions for the audio folder? I used 777 above but I don't like this approach.
Also even when specifying a custom folder, the default folder will get used instead.
And I found something new during install (I most likely didn't notice previously, I ran the install script over an existing installation):
fatal: Zielpfad 'RPi-Jukebox-RFID' existiert bereits und ist kein leeres Verzeichnis.
cp: der Aufruf von stat für '/home/pi/RPi-Jukebox-RFID/misc/sampleconfigs/php.ini.stretch-default.sample' ist nicht möglich: Datei oder Verzeichnis nicht gefunden

or translated:
fatal: target path 'RPi-Jukebox-RFID' alreaday exists and is not empty.
cp: executing stat for '/home/pi/RPi-Jukebox-RFID/misc/sampleconfigs/php.ini.stretch-default.sample' not possible: file or directory not found

Hi @ComicSans can you describe me how you solved your SAMBA issue?

Hi @ComicSans

Yes, please share with us how that samba problem got solved?
The php.ini - my bad, forgot to commit that file. Here it is: https://github.com/MiczFlor/RPi-Jukebox-RFID/commit/92e86429706affae82109432fb7344a902c6281d
The 'folder exists' issue, can you tell me how you upgraded, updated the code? Did you run the install script? Or did you do this manually?

Hi,
I'm sorry I was vague here, but as I said: it was more a user fault. macOS saved the wrong credentials to the keychain and you only have a second to click a button "change user" in the Finder app before it disappears. I just didn't notice and the error message of macOS wasn't really helpful either.
Upgrading: I ran the one line installer twice as I played around with the audio folder options. It may not be surprising that there is a folder already existing but it may be better to hide such messages. And talking of audio folder places: the web interface currently isn't able to see a different audio folder. It always falls back using the default folder. Can you reproduce this behavior?
For access rights I tend to agree: it is dedicated hardware and I wanted to be sure that access rights aren't the reason, the player didn't work properly (the missing folder and the web interface thing I just described). But I wouldn't be sure, that the web interface escapes everything correctly. Maybe I should add a stream URL like this:
";sudo rm -rf /;
and see what happens once it is pasted to the player command line. I plan to move all relevant files to a network share and have the player run in read only mode anyway. But it may be a problem for some. :)


Nitrospoof quality

Is there a way to increase quality? I see that the link has "loseless" so surely there's a way to get better quality?

The on;y thing that's possible is increasing the size of emotes


Game UI options

Hi I did the following tasks:
I Added a validation loop in the Game class constructor (initialize method) to ensure the last_played_at date is in the correct YYYY-MM-DD format.
I Introduced the valid_date_format? method to check if the provided date string can be successfully parsed by the Date class.
The program now prompts the user to re-enter the date in the correct format if the initial input is invalid.
I Added a decorator to the add_game method for improved user experience and to provide better feedback on input formats.
Run linters

Status : Aproved!
Hello @CarlosZ96 . Your code looks great! There's nothing else to say other than... it's time to merge!
Highlights
✅Good use of the decorator item
✅Nice addition of a prompt for verify_publish_date method.
✅Games list is working
✅Add games working
✅Linters pass


Updating ganache-cli

Issue link

#324
Auto-close the issue?

Closes #324
Types of changes

Technical debt (a code change that doesn't fix a bug or add a feature but makes something clearer for devs)

package-lock.json is unchanged in this version of the PR, but we can always update that later

package-lock.json is unchanged in this version of the PR, but we can always update that later

Seems we are using ganache 6.4.1 seems March 5th (https://github.com/tasitlabs/TasitSDK/commit/902778f31dd1451ea8df3956988c05e906a9bea7#diff-32607347f8126e6534ebc7ebaec4853d)

You’re looking package-lock.json, right? In that case, maybe it was due to updating truffle and it’s a peer dep

Are you sure? The tasit-contracts has it owns package-lock.json. I think that when I've updated the package,json with ganache-cli 6.4.0 the ganache-cli 6.4.1 was already released (03/02) and it is the one installed when I've run npm install (since the version on package.json is "^6.4.0". Make sense?

Are you sure? The tasit-contracts has it owns package-lock.json. I think that when I've updated the package,json with ganache-cli 6.4.0 the ganache-cli 6.4.1 was already released (03/02) and it is the one installed when I've run npm install (since the version on package.json is "^6.4.0". Make sense?

Yeah that makes sense - you're probably right about this.


How to build Detox 8.0 on Android

Error
What went wrong:
Could not determine the dependencies of task ':app:compileDebugAndroidTestJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugAndroidTestCompileClasspath'.
Could not resolve project :detox.
Required by:
project :app
Project :app declares a dependency from configuration 'androidTestCompile' to configuration 'newOkhttpDebug' which is not declared in the descriptor for project :detox.

Detox, Node, Device, Xcode and macOS Versions

Detox: 8.0.0
React Native: 0.55.4
Node: v10.6.0
Device: emulator
Xcode: 9.4.1
macOS: 10.13.5

Not enough information to start talking about this issue.
Looks like somethings wrong in your Gradle configuration, not Detox itself.

My build.gradle
androidTestCompile(project(path: ":detox", configuration: "newOkhttpDebug"), {
exclude group: 'com.android.support', module: 'support-annotations'
})

Are you sure you have Gradle 3 and followed this article?
https://github.com/wix/detox/blob/master/docs/Introduction.Android.md

Yeah ! I have upgraded gradle plugin 3.0.1, but I have not reinstalled detox yet.
I will try now!
Thanks @noomorph

Run success ! thank @noomorph 🐳


Updates to use sidekiq v3 error handling

Ensures that an error handler is correctly assigned in newer versions of sidekiq.
While it has very basic sidekiq integration tests already, this is a prime candidate for the new integrations test runner, which I will be working with this week.
Manually tested in:

[x] Sidekiq 2
[x] Sidekiq 3

I would like to see integration tests for this, rather than just unit. Can we add some maze tests?

Will this address #417 too or is that being done in another PR?

That will be in a separate PR, as decisions about that change still have to be made.

I have reworked the approach here to give us the sidekiq queue information in all versions. I ran the maze tests and they all passed.


Validate self-registration using function library

Is your feature request related to a problem? Please describe.
More customizable logic during the self-registration validation using the functional libraries.
In CIAM, there can be many rules to create an account. Like age must be greater than 21. Should be from a specific country.
Describe the solution you would prefer
We can make this easily customizable by invoking a functional library in the self-registration flow exposing all the claims to the script. Then the script can validate those and allow or fail the registration flow

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Drag and drop files between directory preview blocks

Is your feature request related to a problem? Please describe.
i can view files from remote server and also from my local machine side by side if it just had an option drag file from 1 window to another. then it would become a proper sftp client for me.

we've been discussing this internally on how best to integrate drag&drop file support across the board.


onChangeText callback called one time too much when switching focus in TextInput on iOS simulator

Description
On iOS simulator,  onChangeText callback is called one time too much, when focus changes from current text input to another. Please take a look at video below -- onChangeText called is logged three times, even though text only changes twice.
This issue does not occur on physical Android (Android 13) and iPhone (iOS 16.4), and I was not able to test Android emulator
React Native Version
0.71.11
Output of npx react-native info
System:
    OS: macOS 13.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 3.28 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.1 - /opt/homebrew/opt/node@16/bin/node
    Yarn: 1.22.18 - ~/projects/chime/project-otter/node_modules/.bin/yarn
    npm: 8.19.4 - /opt/homebrew/opt/node@16/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /Users/wladyslawraczek/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    Android SDK:
      API Levels: 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33
      Build Tools: 29.0.2, 30.0.2, 30.0.3, 32.0.0, 32.1.0, 33.0.0
      System Images: android-29 | Google APIs ARM 64 v8a, android-31 | Google Play ARM 64 v8a, android-32 | Google APIs ARM 64 v8a, android-33 | Google APIs ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: 2022.2 AI-222.4459.24.2221.10121639
    Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
  Languages:
    Java: <IP_ADDRESS> - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.71.11 => 0.71.11
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce
I provide a simple class component together with explanation and repro steps below:
/**
 * This is a reproduction for issue in React-Native v0.71.11
 * Occurs on: iOS simulator (iOS 16.4),
 * Does not occur on: physical Android (Pixel 7 Pro, Android 13), physical iPhone (iOS 16.3.1)
 * was not able to test: Android simulator
 *
 * Repro steps (pay attention to console.log):
 * 1. We have text inputs A and B.
 * 2. Add one character to input A
 * 3. Change focus from A to B
 * 4. Notice that onChangeText() callback is being called on A, even though text in A has not changed ❌
 *
 *
 * Observations:
 *  * It seems that in step (2), adding characters is essential, if we only remove characters, onChangeText behaves normally
 *  * It seems like having another TextInput is crucial, just dismissing keyboard does not trigger the issue
 */
import React from 'react';
import { TextInput, View } from 'react-native';

interface State {
	value1: string;
}

export default class TestScreen extends React.Component<{}, State> {
	state: State = {
		value1: 'initial value',
	};

	updateValue1 = (value1: string) => {
		console.log('onChangeText called');
		this.setState({ value1 });
	};

	inputStyle = {
		backgroundColor: 'grey',
		borderColor: 'black',
		borderWidth: 1,
		padding: 20,
	};

	render() {
		return (
			<View style={{ flex: 1 }}>
				<TextInput
					style={this.inputStyle}
					value={this.state.value1}
					onChangeText={this.updateValue1}
				/>
				<TextInput style={this.inputStyle} value={'Constant value'} />
			</View>
		);
	}
}

Snack, screenshot, or link to a repository
⚠ I was not able to reproduce it on Snack (copy-paste code above). However, it is reproducible when building on simulator using XCode as on screen recording below
https://github.com/facebook/react-native/assets/36896640/092cb67e-acda-4c2f-b555-474c64539430

Could you share a repro?

Yeah, the repro is just in the "Steps to reproduce" section in the description, did you miss it or is it not enough? 🤔

The repro should be one of the two thing that the bot requested here:
https://github.com/facebook/react-native/issues/39038#issuecomment-1680446721

Can confirm this issue is still prevalent. We have a useCallback that always fires twice in simulator no matter what.

Can confirm this happens on simulator

Hi, I faced this issue today with RN 0.70.6 on iOS simulator, device seems fine


⚠ ClamAV has degraded performance

In 2bf403c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 50 ms

Resolved: ClamAV performance has improved in 969e787.


Load a chunk and analyze it

Load a chunk of 50kB / 1MB or whatever makes sense, get metadata with ffmpeg and create a checksum for the duplicate-recognition. This could give us interesting data for the search, especially when searching for music.
However, because this feature is really network-sucking and load-generating, we should do this as last thing as the filename and path should give us enough for a good search most times.

I implemented this feature in my FTP crawler written in Ruby. It might help you:
https://github.com/digineo/media_crawler/blob/v1/app/models/resource/chunk.rb
https://github.com/digineo/media_crawler/blob/v1/app/models/resource/metadata.rb


AuthMethodPickerActivity Leaks

Step 1: Describe your environment

Android device: Nexus 6
Android OS version: 7.0
Google Play Services version: 10.0.84
Firebase/Play Services SDK version:  9.8.0
FirebaseUI version: 1.0.0

Step 2: Describe the problem:
After logging in with Google LeakCanary reports a leak in AuthMethodPickerActivity https://goo.gl/photos/6WdtNQCU158zeJAT9
Steps to reproduce:

Create SignIn intent using AuthUI
Select Google to sign in

Observed Results:
Leak detected
Expected Results:
Should not leak memory
Relevant Code:
activity.startActivityForResult(AuthUI.getInstance()
      .createSignInIntentBuilder()
      .setProviders(Arrays.asList(new Builder(AuthUI.EMAIL_PROVIDER).build(),
          new Builder(AuthUI.GOOGLE_PROVIDER).build(),
          new Builder(AuthUI.FACEBOOK_PROVIDER).build(),
          new Builder(AuthUI.TWITTER_PROVIDER).build()))
      .build(), RC_SIGN_IN);

Also after the smart lock is enabled and I click sign in I get another leak but now I don't have to pick a provider (as it is remembered) but it automatically logs in with google and leak canary reports again on ChooseAccountActivity https://goo.gl/photos/hFMoq7tiK9C2U5Pt7

#396 fixes this issue

Great. When are you guys planning on releaseing the next version?

That would be a question for @samtstern.

@GaborPeto no fixed timelines, we have to get enough bugs fixed that it's worth releasing.
If you want to use the absolute newest code, you can always install from master locally.

#396 has been merged so the fix for this is available if building from master.

@samtstern Since Firebase 10.0 is out I think it would be nice to release a version of firebase-ui that targets firebase 10.0

@GaborPeto see https://github.com/firebase/FirebaseUI-Android/issues/414#issuecomment-262283040. There is actually no need for @samtstern to update the library though it would help prevent confusion.

The fix for this issue has been released in version 1.0.1.


Does not work in XCode 7.1

After upgrading and attempting to reinstall, XVim does not work in XCode 7.1. I'm really bummed I upgraded!

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27602221-does-not-work-in-xcode-7-1?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).

Just add this in the info.plist in the list of keys and re-compile:
7265231C-39B4-402C-89E1-16167C4CC990
eric

On Oct 21, 2015, at 11:28 PM, Sam Bender<EMAIL_ADDRESS>wrote:
After upgrading and attempting to reinstall, XVim does not work in XCode 7.1. I'm really bummed I upgraded!
—
Reply to this email directly or view it on GitHub https://github.com/XVimProject/XVim/issues/853.

Thanks!

Thanx!

+1

Me too, it works fine! Thank you!

I'm sorry, I believe I'm missing something. I updated XVim/Info.plist to this and re-ran "make". Opening Xcode did not prompt me to install the plugin nor was XVim functional.
Would appreciate some advice.

Hi, where you want to add the ID is incorrect.
You need add the id to array under "DVTPlugInCompatibilityUUIDs".

Hi, where you want to add the ID is incorrect.
You need add the id to array under "DVTPlugInCompatibilityUUIDs".

@hidez Thanks for the clarification! It works now.


Pass parent filter to inner query in nested query

Description
Lucene introduced a new feature of joining child and parent document in knn search. https://github.com/apache/lucene/pull/12434
To utilize the feature, we need to pass parent filter to inner query so that inner query can dedupe child document per parent document.
Once this change is made, we can use the parent filter data to call appropriate query in kNN repo. https://github.com/opensearch-project/k-NN/issues/1065
Related Issues
N/A

Check List

[X] New functionality includes testing.

[X] All tests pass

[X] New functionality has been documented.

[X] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff
[X] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Looks good to me.
We'll should think about whether other queries may also benefit from specific knowledge of the parent filter.
Right now, I think most normal DocIdSetIterator-based queries get all the benefit from the existing ToParentBlockJoinQuery logic. Correct me if I'm wrong, but kNN only needs this special behavior because it's not iterating through a monotonically-increasing doc ID set, right?

That is correct. Only KNN needs this as of now.

@msfroh Could you back port it to 2.x as well?


v3.10.2

Comment out Sockets for now

Pull Request Test Coverage Report for Build 2313

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 70.305%

Totals

Change from base Build 2308:
0.0%

Covered Lines:
2061

Relevant Lines:
2741

💛  - Coveralls


[CWS] add missing bind config for network.raw_packet.enabled

What does this PR do?
The config was used since https://github.com/DataDog/datadog-agent/pull/29871, but never defined/bound. This PR fixes this.
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Capturing with Windows 11 (ARM) on M2 platforms

Description
I'm filing this as a feature request as I suspect this is probably not currently a supported use case (thus, not strictly a bug/issue)..
I'm trying to use RenderDoc on M2 hardware running Windows 11 (ARM) in a VM (Parallels)
I've had some limited success with x86 and x64 binaries (supported on Windows 11 ARM via built-in emulation). The captures appear to work, RenderDoc warns about degraded support due to software emulation fallback.

I'm unable to capture against ARM64 binaries. RenderDoc is unable to perform DLL injection, very probably because RenderDoc itself is an x64 application trying to inject to an arm64 binary.. It has every right to complain.

Perhaps this would be solved with a native arm64 build of RenderDoc.. though I suspect it's not quite so straight forward as that.
To summarise, these are the scenarios:

Capture an x86 application running on Windows 11 (ARM) on Apple M2 hardware  (OpenGL capture works via software mode)
Capture an x64 application running on Windows 11 (ARM) on Apple M2 hardware  (OpenGL capture works via software mode)
Capture an ARM64 application running on Windows 11 (ARM) on Apple M2 hardware

Environment

RenderDoc version: 1.27
Operating System: Windows 11 (ARM) running under Parallels 18 on an M2 Macbook Pro
Graphics API: OpenGL

Indeed as you suspected this is not a supported use case, ARM is only supported on Android and it is not supported on any other platforms. I have no plans to add support for it.


Embedder createTerminal API doesn't work for Codespaces anymore

https://github.com/microsoft/vscode/pull/159666 changed TerminalMainContribution to move to LifecyclePhase.Restored but this caused a feature for Codespaces to stop working where the terminal will start streaming in the init logs before the workbench has fully loaded. Ideally we would start it up on Starting only on remote, if we can't do that we need to move it back to Starting in the meantime.
cc @bpasero @osortega

We know if we are connected to a remote from the environment service via probing for remoteAuthority.

We don't have access to services at workbench contrib registration do we?
https://github.com/microsoft/vscode/blob/f933441a9e17555bb06fa98a29c199e559b4bf9b/src/vs/workbench/contrib/terminal/browser/terminal.contribution.ts#L83

@Tyriar no, but you could have 1 eager workbench contrib that depends on the environment service to decide if a second thing should get instantiated or not.

Marked verified, only @osortega can properly verify it

@Tyriar this seems to still be failing, the terminal does not show up until the codespace is fully created and the workbench initialized

Verified by @osortega 🎉


Typos in Readme and Roadmap

Provide a description of requested docs changes
Readme:
Please use the appropriate the PowerToys installer

If these are your preferred install solutions, this will have the install instructions.

Roadmap:
If you feels strongly on taking on work we haven't started yet, please lets have a discussion and kick off the workflows.

This pull request will fix the issues in the Readme. However, I cannot edit the wiki.

Fixed now! Thanks!

Thanks too.


Check if Spawn Fails

References #218
Currently the AISpawnerController does not consider if a spawn fails (From AISpawner). Though, this is limited to if a spawn point is configured to only spawn once or if spawn is enabled at that specific spawn point. I will work on addressing this to try spawning at a new point if spawn fails at a point which will be useful in debugging and potentially in future game modes.

This may be simpler than I'm thinking it is, but all that I'm doing is removing a spawn point from the available spawn points if an actor cannot spawn (and this would only happen if a spawn point is explicitly disabled or only configured to spawn once)


ResultBar's images need an alt tag

Right now it just defaults to "Donald Trump"

not going to have images anymore


Sikay

Fix style mismatch.
Add Logo Rank to "Logo Design".
Add XMind Zen to "User Flow Tools".

@sikaychung thanks for your improvements and submission!


Netcdf load & save Vs dask mp

🐛 Bug Report
The dask multiprocessing scheduler seemingly doesn't work with iris.
It raises TypeError: cannot pickle '_thread.lock' object.
How To Reproduce
import warnings
from pathlib import Path

import dask
import iris

def load_save(in_fpath, out_folder, scheduler):
    print(scheduler)
    out_folder.mkdir(parents=True, exist_ok=True)

    cubes = iris.load(in_fpath)
    results = []
    for cube in cubes:
        results.append(
            iris.save(cube, out_folder / f'{scheduler}_{len(results)}.nc', compute=False))

    dask.compute(results, scheduler=scheduler)

if __name__ == '__main__':
    warnings.filterwarnings(action='ignore', message='Ignoring a datum in netCDF load')

    in_fpath = Path('omitted.nc')
    out_folder = Path('out')

    # This works.
    load_save(in_fpath, out_folder, scheduler='threads')

    # This doesn't work: cannot pickle '_thread.lock' object
    # Forcing the cube to load its data before saving seems to make it work for smaller files.
    load_save(in_fpath, out_folder, scheduler='processes')

Environment

OS & Version: scitools/default on internal VDI
Iris Version: 3.7.0

Well it's great to see someone using the lazy saving !
But I think this never worked with a process-based scheduler, and that  is a known problem.
I'm a bit puzzled at the error though, this is supposed to raise an internally managed error
"The configured dask array scheduler type is ... not supported by the Iris netcdf saver"
: here
So maybe this code now is hitting another problem, which maybe didn't even occur when we originally wrote it.
( It's not immediately clear from your request where the problem actually occurs, since you didn't include a traceback )
Since we introduced the lazy saving mechanism (which also added distributed support), we found that we cannot do saves with the old-style process scheduler.
In the end we decided not to pursue this, and excluded it from our testing.
The decision not to support this seemed appropriate, largely because dask themselves now recommend that it may often be better to use distributed instead -- and I indeed I have seen this more strongly suggested in less official communications !
In my experience there is a bit of a startup debt to using distributed, but it seems more actively developed now, and it is certainly where all the rich debugging tools are.
So, for the reasons just given, we are reluctant to revisit this and make processes 'work'.  But if there is a good reason, it presumably could be fixed.
I believe there is an awkward obstacle to this, in that we need a mutex solution which multiple processes can use to ensure that only one at a time may open the output file.  dask.distributed provides this in the distributed.Lock class (presumably it uses some IPC).  However there is otherwise no obvious available solution, except maybe "filelock".
Also unfortunately, afaict we have failed to add a note about this into our Iris dask documentation, which has now replaced our on-prem "Dask Best Practices" webpages.  I have just made an issue to improve on this.
So..
Would distributed be a feasible solution in your case, and if not why not ?


pushState and multiple roots

I have an existing Backbone app with multiple routers. I want to turn on pushState, but this only allows for a single, global root. I really need independent roots for each router.
For example, let's say we have SearchRouter with a route ":query" that without pushState you would access like: "/search/#foo". We also have CategoriesRouter with a route ":categoryId" that you would access like "/categories/#1234". With pushState enabled these would become "/search/foo" and "/categories/1234".
I initially tried setting the root to "/search/" and SearchRouter worked fine, but CategoriesRouter obviously did not.
It looks like the only other knob I can turn is to make "search/" and "categories/" part of their respective routes. This is fairly drastic though because it changes the semantics of our fragments and will break existing bookmarks.
What's the best solution for this? Would it make sense to add an optional prefix to router? This would be concatenated between root and frag in Backbone.history.navigate().

BTW, if I'm reading the code right, per-router roots seems to be exactly what Y.App is doing:
https://github.com/yui/yui3/blob/7dfbbf759aae9856f6ecc64a3f6e886385843627/src/app/js/router.js#L994

It looks like the only other knob I can turn is to make
"search/" and "categories/" part of their respective routes.

... that's definitely the right thing to do. We can't have "multiple roots" on a single page, because it's an inherent contradiction. A user visits a URL, the URL needs to be resolved in terms of the root ... which root do you pick?
Since a page only has one URL at a time, it can only have one URL root at a time.


Return empty list when pack not found in index

Fixes https://github.com/StackStorm/st2/issues/3377

LGTM - the API result is indeed more consistent this way.
Please just document it in changelog and if you feel the need also upgrade notes entry since it's in theory a breaking change, yet a very small and non-significant one.

@Mierdin Also please re-run the failed test to make sure we're all green.

@armab Re-ran the u16 execution and it succeeded - not sure why Github isn't showing the full 8 checks though.

@Mierdin Thanks! Seems it's green now :+1:


Support playing with mods

Agent cannot connect to a modded minecraft LAN server because of an issue that's hard to define. Keeps saying ECONNREFUSED errorno. -4078

I can still play with the AI in vanilla minecraft but so far still unable to play with the bot with mods installed.

I guess I will just have to do it myself and implement node-minecraft-protocol-forge.


Publish v1.28.0 release

The latest version has not been published to npm and therefore not picked up by the latest MetaMask extension releases.

😀

Released - https://www.npmjs.com/package/@metamask/contract-metadata


Rollup menu icon/functionality

Add a "hamburger" option to rollup menu items in the right side toolbar.

@jpechmann Where's the hamburger icon supposed to go? In the "Current Location" box?

Aaron says upper left. Directly from him-
it should only appear when less than say 600-650 pixels (mobile devices.  the entire menu gets rolled up to the top.  resize the window on this site and you'll see what i am talking about.
http://lonepeak.utah.gov/

@jpechmann This has also been pushed to the test server. Check it out and let me know if there are changes that need to be made or if I can push these changes as v1.1.0 to production.


APT source whitelist request for libmpc-dev >=1.0.0

e.g. this ppa
https://launchpad.net/~sergey-dryabzhinsky/+archive/ubuntu/toolchain
deb http://ppa.launchpad.net/sergey-dryabzhinsky/toolchain/ubuntu precise main
deb-src http://ppa.launchpad.net/sergey-dryabzhinsky/toolchain/ubuntu precise main

I don't use precise images anymore.


preventing null values from crashing the app

JIRA
https://tretton37.atlassian.net/secure/RapidBoard.jspa?rapidView=33&projectKey=QPE&modal=detail&selectedIssue=QPE-595

@ahmed-Bazzara Does this need to be merged prior to the version fixing?


Using Lambda Layer Causes AttributeError

When making a Lambda layer using keras backend functions, it throws AttributeError.
Below is my code:
RGB_IMAGE_SHAPE = (224, 224, 3)

def build_lambda_layer():
    import keras.backend as K
    from keras.layers import Lambda

    def f(rgb):
        rgb -= K.mean(rgb, axis=1, keepdims=True)

    def out_shape(in_shape):
        return in_shape

    return Lambda(f, output_shape=out_shape)

if __name__ == '__main__':
    from keras import Model
    from keras.layers import Input

    l = build_lambda_layer()

    rgb = Input(RGB_IMAGE_SHAPE)

    processed = l(rgb)

    m = Model(rgb, processed)
    print(m.summary())

And here is the stacktrace:
Traceback (most recent call last):
  File "test.py", line 24, in <module>
    processed = l(rgb)
  File "/usr/lib/python3.7/site-packages/keras/engine/base_layer.py", line 497, in __call__
    arguments=user_kwargs)
  File "/usr/lib/python3.7/site-packages/keras/engine/base_layer.py", line 565, in _add_inbound_node
    output_tensors[i]._keras_shape = output_shapes[i]
AttributeError: 'NoneType' object has no attribute '_keras_shape'

[X] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[X] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps
(Not using Theano)

[X] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Sorry! I just noticed that I didn't return the tensor!
I'm closing the issue.