Strange error while executing the Randomized Benchmarking example

Information

Qiskit Terra version: 0.14.2
Python version: 3.8.3
Operating system: macOS Catalina 10.15.5

What is the current behavior?
I run the code of the Randomized Benchmarking of the qiskit-textbook in shell, not as Jupyter Notebook.
In the
for rb_seed, rb_circ_seed in enumerate(rb_circs):
loop, the execution seems to get stuck on the transpile function, with the following error messages:
Micheles-MacBook-Pro:randomized-benchmarking micheleamoretti$ python3 --version
Python 3.8.3
Micheles-MacBook-Pro:randomized-benchmarking micheleamoretti$ python3 RB.py
Compiling seed 0
Compiling seed 0
Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 125, in _main
prepare(preparation_data)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 265, in run_path
Compiling seed 0
return _run_module_code(code, init_globals, run_name,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/micheleamoretti/Documents/SVILUPPO/qiskit-examples/randomized-benchmarking/RB.py", line 56, in
new_rb_circ_seed = transpile(rb_circ_seed, basis_gates=basis_gates)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/compiler/transpile.py", line 210, in transpile
circuits = parallel_map(_transpile_circuit, list(zip(circuits, transpile_args)))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/tools/parallel.py", line 134, in parallel_map
Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main
Compiling seed 0
exitcode = _main(fd, parent_sentinel)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 125, in _main
prepare(preparation_data)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
raise error
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/tools/parallel.py", line 122, in parallel_map
main_content = runpy.run_path(main_path,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 265, in run_path
future = executor.map(_task_wrapper, param)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 674, in map
return _run_module_code(code, init_globals, run_name,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/micheleamoretti/Documents/SVILUPPO/qiskit-examples/randomized-benchmarking/RB.py", line 56, in
new_rb_circ_seed = transpile(rb_circ_seed, basis_gates=basis_gates)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/compiler/transpile.py", line 210, in transpile
circuits = parallel_map(_transpile_circuit, list(zip(circuits, transpile_args)))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/tools/parallel.py", line 134, in parallel_map
raise error
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/tools/parallel.py", line 122, in parallel_map
Traceback (most recent call last):
File "", line 1, in
results = super().map(partial(_process_chunk, fn),
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 600, in map
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main
future = executor.map(_task_wrapper, param)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 674, in map
Compiling seed 0
exitcode = _main(fd, parent_sentinel)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 125, in _main
prepare(preparation_data)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 236, in prepare
results = super().map(partial(_process_chunk, fn),
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 600, in map
_fixup_main_from_path(data['init_main_from_path'])
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 265, in run_path
fs = [self.submit(fn, *args) for args in zip(*iterables)]
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 600, in
fs = [self.submit(fn, *args) for args in zip(*iterables)]
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 600, in
return _run_module_code(code, init_globals, run_name,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 97, in _run_module_code
fs = [self.submit(fn, *args) for args in zip(*iterables)]
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 645, in submit
_run_code(code, mod_globals, init_globals,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
fs = [self.submit(fn, *args) for args in zip(*iterables)]
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 645, in submit
exec(code, run_globals)
File "/Users/micheleamoretti/Documents/SVILUPPO/qiskit-examples/randomized-benchmarking/RB.py", line 56, in
self._start_queue_management_thread()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 584, in _start_queue_management_thread
new_rb_circ_seed = transpile(rb_circ_seed, basis_gates=basis_gates)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/compiler/transpile.py", line 210, in transpile
circuits = parallel_map(_transpile_circuit, list(zip(circuits, transpile_args)))
self._adjust_process_count()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/tools/parallel.py", line 134, in parallel_map
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 608, in _adjust_process_count
self._start_queue_management_thread()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 584, in _start_queue_management_thread
raise error
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/tools/parallel.py", line 122, in parallel_map
p.start()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 121, in start
future = executor.map(_task_wrapper, param)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 674, in map
self._adjust_process_count()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 608, in _adjust_process_count
Traceback (most recent call last):
File "", line 1, in
results = super().map(partial(_process_chunk, fn),
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 600, in map
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main
p.start()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 121, in start
fs = [self.submit(fn, *args) for args in zip(*iterables)]
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 600, in
self._popen = self._Popen(self)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 283, in _Popen
self._popen = self._Popen(self)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 283, in _Popen
exitcode = _main(fd, parent_sentinel)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 125, in _main
fs = [self.submit(fn, *args) for args in zip(*iterables)]
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 645, in submit
prepare(preparation_data)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
self._start_queue_management_thread()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 584, in _start_queue_management_thread
main_content = runpy.run_path(main_path,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 265, in run_path
return Popen(process_obj)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in init
return Popen(process_obj)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in init
return _run_module_code(code, init_globals, run_name,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 97, in _run_module_code
super().init(process_obj)
self._adjust_process_count()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_fork.py", line 19, in init
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 608, in _adjust_process_count
super().init(process_obj)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_fork.py", line 19, in init
_run_code(code, mod_globals, init_globals,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
self._launch(process_obj)
exec(code, run_globals)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 42, in _launch
File "/Users/micheleamoretti/Documents/SVILUPPO/qiskit-examples/randomized-benchmarking/RB.py", line 56, in
self._launch(process_obj)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 42, in _launch
prep_data = spawn.get_preparation_data(process_obj._name)
new_rb_circ_seed = transpile(rb_circ_seed, basis_gates=basis_gates)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 154, in get_preparation_data
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/compiler/transpile.py", line 210, in transpile
prep_data = spawn.get_preparation_data(process_obj._name)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 154, in get_preparation_data
p.start()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 121, in start
_check_not_importing_main()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 134, in _check_not_importing_main
circuits = parallel_map(_transpile_circuit, list(zip(circuits, transpile_args)))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/tools/parallel.py", line 134, in parallel_map
_check_not_importing_main()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 134, in _check_not_importing_main
self._popen = self._Popen(self)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 283, in _Popen
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.
raise error

File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/tools/parallel.py", line 122, in parallel_map
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.
return Popen(process_obj)

File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in init
future = executor.map(_task_wrapper, param)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 674, in map
super().init(process_obj)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_fork.py", line 19, in init
self._launch(process_obj)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 42, in _launch
prep_data = spawn.get_preparation_data(process_obj._name)
results = super().map(partial(_process_chunk, fn),
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 154, in get_preparation_data
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 600, in map
_check_not_importing_main()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 134, in _check_not_importing_main
fs = [self.submit(fn, *args) for args in zip(*iterables)]
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 600, in
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.
fs = [self.submit(fn, *args) for args in zip(*iterables)]

File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 645, in submit
self._start_queue_management_thread()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 584, in _start_queue_management_thread
self._adjust_process_count()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 608, in _adjust_process_count
p.start()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 283, in _Popen
return Popen(process_obj)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in init
super().init(process_obj)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_fork.py", line 19, in init
self._launch(process_obj)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 42, in _launch
prep_data = spawn.get_preparation_data(process_obj._name)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 154, in get_preparation_data
_check_not_importing_main()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 134, in _check_not_importing_main
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.

Traceback (most recent call last):
File "RB.py", line 56, in
new_rb_circ_seed = transpile(rb_circ_seed, basis_gates=basis_gates)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/compiler/transpile.py", line 210, in transpile
circuits = parallel_map(_transpile_circuit, list(zip(circuits, transpile_args)))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/tools/parallel.py", line 134, in parallel_map
raise error
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/qiskit/tools/parallel.py", line 124, in parallel_map
results = list(future)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 484, in _chain_from_iterable_of_lists
for element in iterable:
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 611, in result_iterator
yield fs.pop().result()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 432, in result
return self.__get_result()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
raise self._exception
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
Micheles-MacBook-Pro:randomized-benchmarking micheleamoretti$
Steps to reproduce the problem
Unzip the attached RB.zip, you will get a RB.py file. Run it with python3.
RB.zip
What is the expected behavior?
Something like:
Compiling seed 0
Simulating seed 0
After seed 0, alpha: 0.977929, EPC: 0.016553
Compiling seed 1
Simulating seed 1
After seed 1, alpha: 0.975457, EPC: 0.018407
Compiling seed 2
Simulating seed 2
After seed 2, alpha: 0.978145, EPC: 0.016391
Compiling seed 3
Simulating seed 3
After seed 3, alpha: 0.979548, EPC: 0.015339
Compiling seed 4
Simulating seed 4
After seed 4, alpha: 0.978294, EPC: 0.016280
(see https://qiskit.org/textbook/ch-quantum-hardware/randomized-benchmarking.html)
Suggested solutions

Encountered a similar bug when running chemistry simulation.

It may be related to this https://github.com/Qiskit/qiskit-ignis/issues/419#issuecomment-640771606

It is fixed by #4404.

I just updated qiskit to 0.20.0 and now the randomized benchmarking worrks like a charm. Thanks!

👍


sink(ticdc): limit the maximum number of cached txns in mysql worker

What problem does this PR solve?

Issue Number: close #xxx
What is changed and how it works?
Check List
Tests

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

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/test all

/test all


Sint at et optio et

Browser
No response
Package version
Ad pariatur Et dolo
React version
Pariatur Nobis aliq
Description
Elit cupiditate cul
Source code
Dolore aut deleniti
Reproduction
Delectus magni expe
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems

🤷


Dropdown Title and Description Changes

Please always provide the Jira Issue your PR is for, as well as test URLs where your change can be observed (before and after):
Jira ID:
Test URLs:

Before: https://main--exlm--adobe-experience-league.hlx.live/en/browse
After: https://feature-exlm-1086-dropdown--exlm--adobe-experience-league.hlx.page/en/browse

LHS is less due to the /page extension and launch script. Merging this PR. as functionalities are good to proceed.


freecad plugin

To model FEM heater efficiency we could add an FEM plugin to gdsfactory
https://wiki.freecad.org/FEM_Workbench
what do you think?
@basnijholt
@simbilod

For both FEM and TCAD, the first step would be to have suitable meshing of the components (3D), or components cross-sections (2D)
I know we already have Trimesh for visualization, but having the option for adaptive meshing would be very helpful. Gmsh (used in the Freecad pipeline linked above) does this, see http://web4.cs.ucl.ac.uk/research/vis/toast/demo_meshgen3/demo_meshgen3.html
Once we have a mesh in one format we can easily convert to any other format with meshio
Then any finite element solver would be good. Examples:

DEVSIM (can implement arbitrary models, not just semiconductor)
Freecad (above)
MOOSE
FeNics
etc.

fixed by #739


docu: document how to use ZSTOR by command line

how to upload/download by using metadata which is given to cmdline and returned (not on tfchain)
how to verify a namespace is good data, walk over all objects and remote check health (don't download data)
repair namespace if needed
check healthy
...

@LeeSmet @maxux im not too sure who we could assign this to

closing in favor of https://github.com/threefoldtech/home/issues/1345


WebGPU Update

LGTM!
What a mess we have to do because they removed @stride...

Yes, this is insane... and what they now do in tint.


Full reload

After changing the background script extension says "The following couldn't be hot updated: (They would need a full reload!)". Wouldn't it be more convenient to run chrome.runtime.reload(); in such cases? Or at least have an option that would allow full reload.

I'm using this chromereload.js to make it working with livereload:
'use strict';

// Reload client for Chrome Apps & Extensions.
// The reload client has a compatibility with livereload.
// WARNING: only supports reload command.

var LIVERELOAD_HOST = 'localhost:';
var LIVERELOAD_PORT = 35729;
var connection = new WebSocket('ws://' + LIVERELOAD_HOST + LIVERELOAD_PORT + '/livereload');

connection.onerror = function (error) {
  console.log('reload connection got error:', error);
};

connection.onmessage = function (e) {
  if (e.data) {
    var data = JSON.parse(e.data);
    if (data && data.command === 'reload') {
      chrome.runtime.reload();
    }
  }
};

Then in manifest.json:
"background": {
    "scripts": [
      "chromereload.js",
      ...
    ]
  },

I am busy till next week, but i will look at it. I can try to "hack" webpack to refresh whole extension if hot reload is not available.

Include full reload directly into webpack when hot not available. Not best solution, but works fine for now.
https://github.com/schovi/webpack-chrome-extension/commit/f5de65af61814d0e96fa0a7c17f35d61293645a0

Is there a reason why chrome.runtime.reload might be undefined?


ARROW-10885: [Rust][DataFusion] Optimize hash join build vs probe order based on number of rows

This PR uses the num_rows statistics to implement a common optimization to use the smallest table for the build phase.
This is a good heuristic, as to have the smallest table used in the build phase leads to less items to be inserted to the hash table, in particular if the size of tables is very imbalanced.
Some notes:

The optimization works on the LogicalPlan by swapping left and right, the join type and the key order. This seems currently the easiest place to add it, as there is no cost based optimizer and/or optimizers on the physical plan yet. The optimization rule assumes that the left part of the join will be used for the build phase and the right part for the probe phase.
It requires the number of rows to be exactly known, so it will not work whenever there is a transformation changing the number of rows, except for limit. The idea here is that in other cases, it is very hard to estimate the number of resulting rows.
The impact currently is negative, as the hash join implementation seems to currently be slower when the right side of the join is bigger. That seems to strange and unexpected, but it seems better to disable this optimization until that is "fixed".

FYI @andygrove @jorgecarleitao

Codecov Report

Merging #8961 (7b7e1b8) into master (d65ba4e) will decrease coverage by 0.02%.
The diff coverage is 53.52%.

@@            Coverage Diff             @@
##           master    #8961      +/-   ##
==========================================
- Coverage   83.25%   83.23%   -0.03%
==========================================
  Files         196      197       +1
  Lines       48116    48201      +85
==========================================
+ Hits        40059    40119      +60
- Misses       8057     8082      +25

Impacted Files
Coverage Δ

rust/datafusion/src/logical_plan/plan.rs
87.93% <ø> (ø)

rust/datafusion/src/physical_plan/planner.rs
80.54% <ø> (ø)

rust/datafusion/src/sql/parser.rs
86.87% <ø> (ø)

...datafusion/src/optimizer/hash_build_probe_order.rs
52.17% <52.17%> (ø)

rust/datafusion/src/execution/context.rs
89.97% <100.00%> (+0.01%)
:arrow_up:

rust/datafusion/src/sql/planner.rs
81.72% <100.00%> (ø)

rust/parquet/src/encodings/encoding.rs
95.24% <0.00%> (-0.20%)
:arrow_down:

rust/parquet/src/file/statistics.rs
93.80% <0.00%> (ø)

rust/parquet/src/arrow/arrow_reader.rs
90.69% <0.00%> (+0.10%)
:arrow_up:

... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d65ba4e...7b7e1b8. Read the comment docs.

Thanks @Dandandan this is looking great :rocket:

I do think that we should start looking at optimizations on the physical plan and eventually move this optimization there. I also do think that an adaptive execution approach makes sense, especially in a distributed context. I think it might not work so well for the current single node / in-process execution approach though.

This is awesome work @Dandandan 👍

Also related to https://github.com/apache/arrow/pull/8965 which stops generating/using an index for the probe side.

I checked merging this https://github.com/apache/arrow/pull/8965
Besides being ~20-50x faster regardless of this PR, reordering gives a further ~15% reduction in time when reordering the following query (6001214 vs 1499999 rows)
select
                l_shipmode,
                sum(case
                    when o_orderpriority = '1-URGENT'
                        or o_orderpriority = '2-HIGH'
                        then 1
                    else 0
                end) as high_line_count,
                sum(case
                    when o_orderpriority <> '1-URGENT'
                        and o_orderpriority <> '2-HIGH'
                        then 1
                    else 0
                end) as low_line_count
            from
                lineitem
            join
                orders
            on
                l_orderkey = o_orderkey
            group by
                l_shipmode
            order by
                l_shipmode;"

I wrote some details of the PRs for a planned blog post.
https://docs.google.com/document/d/1Urxm34rl8DZ5D0vyhlrrBoZK6IHW7WFRN3hsaTfPujg/edit?usp=drivesdk

@Dandandan This needs rebasing - I tried merging into master locally before merging this and got some compilation errors.
error[E0050]: method `scan` has 3 parameters but the declaration in trait `datasource::datasource::TableProvider::scan` has 4
   --> datafusion/src/optimizer/hash_build_probe_order.rs:179:13
    |
179 | /             &self,
180 | |             _projection: &Option<Vec<usize>>,
181 | |             _batch_size: usize,
    | |______________________________^ expected 4 parameters, found 3
    |
   ::: datafusion/src/datasource/datasource.rs:66:9
    |
66  | /         &self,
67  | |         projection: &Option<Vec<usize>>,
68  | |         batch_size: usize,
69  | |         filters: &[Expr],
    | |________________________- trait requires 4 parameters

error: cannot construct `plan::LogicalPlan` with struct literal syntax due to inaccessible fields
   --> datafusion/src/optimizer/hash_build_probe_order.rs:204:23
    |
204 |         let lp_left = LogicalPlan::TableScan {
    |                       ^^^^^^^^^^^^^^^^^^^^^^

error: cannot construct `plan::LogicalPlan` with struct literal syntax due to inaccessible fields
   --> datafusion/src/optimizer/hash_build_probe_order.rs:211:24
    |
211 |         let lp_right = LogicalPlan::TableScan {
    |                        ^^^^^^^^^^^^^^^^^^^^^^

@andygrove thanks, will do. Will also enable it now that #8965 is merged.

@andygrove updated & enabled the optimization now.

I merged with master locally and tested it and see a speedup. I will merge when CI is green. Thanks @Dandandan


Fix inifinite loop in the visualizer in Edge

Edge doesn't decrement attributes.length when node.removeAttribute(node.attributes[0].name) is called, so the while loop would go indefinitely.

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

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


Push 1.11.0 to Pypi

Would it be possible to push 1.11.0 to pypi? It seems to fix a few bugs and we would like to ship it to our users. Additionally, the docs recommend to use at least 1.11 ;-).

Yeah - I wait until there are enough enhancements to warrant a new release.  Feels like we're there again.
I'd like to look at your recent issues first, though.  Probably looking ata couple of weeks right now.

Done!

Thanks! We will start shipping it soon.

  It was about time I did it again, so the nudge was appreciated.


Dart -> Engine roll stopped on new analyzer lints

First noticed on the Engine -> Framework roll attempt at https://github.com/flutter/flutter/pull/131050
Which contained the Dart roll https://dart.googlesource.com/sdk.git/+log/8662af7d9aa3..6e79151ce988
New errors were reported like:
bin/cache/pkg/sky_engine/lib/ui/painting.dart:10:44: A value for optional parameter '__' isn't ever given (statement) (unused_element_parameter)
bin/cache/pkg/sky_engine/lib/ui/painting.dart:10:44: A value for optional parameter '__' isn't ever given (top-level declaration) (unused_element_parameter)
bin/cache/pkg/sky_engine/lib/ui/painting.dart:11:43: A value for optional parameter '__' isn't ever given (statement) (unused_element_parameter)
bin/cache/pkg/sky_engine/lib/ui/painting.dart:11:43: A value for optional parameter '__' isn't ever given (top-level declaration) (unused_element_parameter)
Found 4 snippet code errors.

Full logs at:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8774963950915593761/+/u/Analyze/analyze/test_stdout
There were also failures in customer_testing:
09:24 +35 -61: loading /b/s/w/ir/x/t/flutter_customer_testing.super_editor.AUSBKQ/tests/super_editor/test/super_editor/text_entry/paragraph_conversions_test.dart [E]
|   Exception: the Dart compiler exited unexpectedly.
|   package:flutter_tools/src/base/common.dart 10:3  throwToolExit
|   package:flutter_tools/src/compile.dart 842:9     DefaultResidentCompiler._compile.<fn>
|   dart:async/zone.dart 1407:47                     _rootRunUnary
|   dart:async/zone.dart 1308:19                     _CustomZone.runUnary
|   dart:async/future_impl.dart 843:45               Future._propagateToListeners.handleValueCallback
|   dart:async/future_impl.dart 872:13               Future._propagateToListeners
|   dart:async/future_impl.dart 768:9                Future._propagateToListeners
|   dart:async/future_impl.dart 644:5                Future._completeWithValue
|   dart:async/future_impl.dart 718:7                Future._asyncCompleteWithValue.<fn>
|   dart:async/zone.dart 1399:13                     _rootRun
|   dart:async/zone.dart 1301:19                     _CustomZone.run
|   dart:async/zone.dart 1209:7                      _CustomZone.runGuarded
|   dart:async/zone.dart 1249:23                     _CustomZone.bindCallbackGuarded.<fn>
|   dart:async/schedule_microtask.dart 40:21         _microtaskLoop
|   dart:async/schedule_microtask.dart 49:5          _startMicrotaskLoop
|   dart:isolate-patch/isolate_patch.dart 118:13     _runPendingImmediateCallback
|   dart:isolate-patch/isolate_patch.dart 185:5      _RawReceivePort._handleMessage
|
| lib/src/default_editor/layout_single_column/_layout.dart:909:14: Error: Final field 'showDebugPaint' is not initialized.
| Try to initialize the field in the declaration or in every constructor.
|   final bool showDebugPaint;

Possibly due to dart fix removing code differently following the Dart roll.
Full logs at:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8774963950908179857/+/u/Customer_testing/customer_testing/test_stdout
cc @a-siva @rmacnak-google @srawlins

use lints package in pubspec and give false i hope your problem will solve

I believe the revert should have been rolled into flutter engine. this issue can be closed.


Allow adding annotations to the kube-enforcer Validating and Mutating Webhook so CertManager can inject the CA Bundle

We are using Cert Manager and most of the time use it to automatically rotate and inject certs for the kubernetes webhook configurations. https://cert-manager.io/docs/concepts/ca-injector/
This requires you to provide annotations to the webhook resources that way it knows what cert to inject. In the values it does call out using cert manager but I don't think it is possible to use it without annotations.
Can this be added to the templates?
https://github.com/aquasecurity/aqua-helm/blob/6.5/kube-enforcer/templates/mutating-webhook.yaml
https://github.com/aquasecurity/aqua-helm/blob/6.5/kube-enforcer/templates/validating-webhook.yaml

@mitchellmaler
We've added the annotations section to our kube-enforcer chart and new versions released
Thank you


Preview render doesn't match page size

Browser Type/Version: Google Chrome Version 51.0.2704.84 m
Operating System: Windows 7 64x
Issue Description: The preview on the right pane seems to have some code telling it to hide or display each page as it comes into view when scrolling up and down.  When using an irregular page size (e.g., landscape dimensions), this hide/render code seems to still be using the old dimensions; now that the page is much shorter vertically, the pages toward the bottom don't render until scrolled off the top of the screen.  Kind of hard to explain.  Maybe just look at my project and watch what happens when you scroll down the preview on the right.
Brew code to reproduce:
Here's my brew: http://homebrewery.naturalcrit.com/edit/HJxJgrVMN  I changed the dimensions as below:
<style>
.phb{
    width : 297mm;
    height : 230mm;
    padding : 6mm;
}
</style>

Image not rendering

Ah!  There it finally rendered as I scrolled up farther.  Pages lower down get worse.

Hope this made sense.  It looks like something in your brewRenderer.jsx file where you determine viewablePageNumber.  My guess is its because you use
Line 33 --- viewablePageNumber : Math.floor(e.target.scrollTop / PAGE_HEIGHT)
which relies on a static PAGE_HEIGHT.  If the actual page height is different than this (as is my case) then the page that renders isn't necessarily the page in view.

This was fixed with 2.6.0.


Added ! in front of screenshot

It wasn't rendering properly because was missing a !

@jureid : Thanks for your contribution! The author, @genlin, has been notified to review your proposed change.

#sign-off

@jureid: I'm sorry - only the author of this article, @genlin, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@juried Thanks for the feedback.
#sign-off


Feature request: respect skip_path when returning backtraces

Your proposal
The documentation for skip_path says:

Skip showing/entering frames for given paths

However, it only works for entering frames while doing step-by-step debugging and displaying the backtrace through backtrace (as implemented here). However, it does not work when requesting the stacktrace through DAP here.

#749 fixed it? Please reopen if I misunderstood.


time: AddDate with negative day changed behavior

Go version
tip
Output of go env in your module/workspace:
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/iant/.cache/go-build'
GOENV='/home/iant/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/iant/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/iant/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org'
GOROOT='/home/iant/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/iant/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='devel go1.24-8659ad972f Wed Jul 24 00:40:06 2024 +0000'
GODEBUG=''
GOTELEMETRY='on'
GOTELEMETRYDIR='/home/iant/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3145192880=/tmp/go-build -gno-record-gcc-switches'

What did you do?
package main

import (
	"fmt"
	"time"
)

const secondsPerDay = 24 * 60 * 60

func main() {
	date := time.Date(1899, time.December, 31, 0, 0, 0, 0, time.UTC)
	uday := int(date.Unix() / secondsPerDay)
	t := time.Unix(0, 0).AddDate(0, 0, uday)
	fmt.Println(t)
}

What did you see happen?
This is the output from Go tip following https://go.dev/cl/586257.
11761121-01-20 00:00:00 +0000 UTC

What did you expect to see?
This is the output from Go 1.23:
1899-12-31 00:00:00 +0000 UTC

Related Issues and Documentation

golang `time.AddDate` operation incorrect #65397 (closed)
affected/package: time #63843 (closed)
time.AddDate() can't get Feb #31130 (closed)
time: Time.AddDate(0,0,0) can change underlying instant #50445 (closed)
time: i find some problems when using addDate to do date calculation #66374 (closed)
time: Wrong `time.AddDate` calculation if months' last date is 31 #57139 (closed)
time AddDate(0, -1, 0) does not work for March. #31145 (closed)
time: Date -1 day no support leap year #66087 (closed)
time.Time{}.Add() behaviour has changed in 1.17 #48608 (closed)
time.Date return wrong when get Weekday for 12 December 2019 #33120 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Testing a patch.


See all button broken after latest commit

Describe the bug
After this commit the button See all redirects to the root page, instead of the archive page, when the URL path of posts has been changed.
To Reproduce
Steps to reproduce the behavior:

Change the URL path of posts from post/ to blog/ according to this.
The button MORE POSTS will redirect to the homepage instead of the blog archive page.
You can see the problem live here, clicking on SEE ALL POSTS.

Expected behavior
To redirect to the corresponding archive page.
Technical details:

Academic Version: latest master.
Hugo Version: 0.74.3
Browser/OS: macOS 10.15.6

I also have two different languages, in case that is affecting, as per this line:
{{ $archive_link := ($st.Params.content.archive.link | relLangURL) | default $archive_page.RelPermalink }}

Thanks for reporting this. Just commited 05bfd7c and it should be fixed now.


Contact us Page

I can design a similar Contact Us page according to the theme of this project.

Please assign it to me. @namansharma3007

Please assign it to me. @namansharma3007

Please don't add telephone 📞😂

Please assign it to me. @namansharma3007

Please don't add telephone 📞😂

Then should i add any other image or just a contact form in the middle of the page?

Please assign it to me. @namansharma3007

Please don't add telephone 📞😂

Then should i add any other image or just a contact form in the middle of the page?

Only contact form


How to use markersPlugin methods?

As official doc says, first need to get markPlugin, but useRef.current can't getPlugin
const markersPlugin = viewer.getPlugin(PhotoSphereViewer.MarkersPlugin);
how to getPlugin and use methods in react-photo-sphere-viewer?

Thank you for the issue! I'm gonna find a solution! Feel free to contribute

It should be fixed! New release 2.1.2 is now in uploading


Change BQ authentication to use supported behavior similar to Telescope

Piecewise v1 uses a static project number from a user's developer console which is not supported behavior for BigQuery API calls. It works, but @mtlynch indicated that this is not supported and we should refactor using a supported behavior.
**Piecewise is currently using a static project #: **
https://github.com/opentechinstitute/piecewise/blob/master/piecewise/piecewise/bigquery.py#L
Revise to use the method Telescope implements:
https://github.com/m-lab/telescope/blob/master/telescope/external.py#L18
Since Piecewise imports Telescope already, we could start with just calling the functions Telescope implements.

@nkinkade Would you be able to investigate this? If it's easy enough to implement we might push it out for Seattle in the coming weeks, but definitely want to do for future work.

Duplicate of #91


Clean up about page

With the addition of initiatives the about page is getting a little long.
I propose the following changes (as their own issues)

[x] #305
[ ] #306
[ ] #307
[x] #308
[x] #309
[x] #310

@kjaymiller i can make the changes, assign me to the task.

@Brijeshthummar02  - Take the individual issues in stead of this massive one please.


remove the change profile picture option in settings

we had decided not to implement this the other day

on it

set visibility to gone, can be re-implemented or completely removed with very little effort


Towards publicizing the Package Managers Working Group

In last weeks Package Management call we discussed, making the work of the Package Managers Working Group public would be a good way to draw people for discussion as well as providing useful documentation for others to reference as well as cementing that Package Management is a key goal for IPFS this year.
I'd also like to get some of the things I've been writing public so that pm maintainers can discuss and contribute async (some of them are in very different timezones and difficult to pin down for calls)
So, what steps should we take to prepare for going public?
Should we announce the working group on the IPFS blog? If so, should it be before or alongside @achingbrain's npm-on-ipfs post?
Do we need a separate section on https://discuss.ipfs.io or should we keep discussion within a GitHub repository issue tracker?

🚢 Ship list

[x] Choose a WG captain (and TPM if different)

[ ] Add intro and call to action to readme

[x] Either publicize or remove two private google docs links from readme

[x] close+delete issues that shouldn't be public

[ ] announcement blog post on https://github.com/ipfs/blog/

[x] Transfer repo to ipfs org

[x] Make this repo public

[x] Add links to package-managers repo and working group in relevant other repositories

This repo is now public in the ipfs org: https://github.com/ipfs/package-managers


Rename target iree_translate_library to iree_translate_main

The target iree_translate_library includes a main function. Hence, renaming.

Seems that access granted to me by @stellaraccident allows to request reviews again and it is further sufficient to automatically trigger kokoro builds :tada: :smiley:

Seems that the access granted to me by @stellaraccident allows to request reviews again and it is further sufficient to automatically trigger kokoro builds

Nice! I wasn't sure what the policy was there, but yeah this certainly makes everyone's life easier. Just don't go on a wild triaging spree :-P

Just don't go on a wild triaging spree :-P

No, I'm saving that fun for the local machines ;-) Would you mind to add a ready to pull label on this PR (no rebasing required)?
Technically, it seems that I could do so myself, but I don't know if this is intended or desired even though you approved my changes.

Would you mind to add a ready to pull label on this PR (no rebasing required)? Technically, it seems that I could do so myself, but I don't know if this is intended or desired even though you approved my changes.

Done. Sorry I should've done that when I approved. But yeah there are some idiosyncrasies, so maybe hold off on adding "ready to pull" on things


Tetris always brings up the same block

Hy we used gameboy.js for a little demo and wanted to run Tetris. But Tetris always gives the square Block. ^^

Hi,
I am aware of this bug but was never able to track it down. Probably due to an error of implementation of one of the instructions or hardware (maybe the timer), but I don't know what.
Would be happy to merge a fix if someone finds the error

I didn't spent time understanding what is going on. But my first idea was that this could be some kind of Copy Protection. I remember on the NES they tried to write on a memory location where they know that it didn't exist (ROM and RAM are located inside the Game Cartridge), and read it back. If the Value was equal to the written Value they knew some thing isn't right.


GL: Fix non-standard call to glEnableVertexAttribArray

When setting up vertex arrays, glEnableVertexAttribArray should use the location parameter instead of the externally passed index parameter, to be consistent with the above glVertexAttribPointer.

Hi @zhouweihui, based on your pull request proposal we made some changes in this file, including this particular line. I will close this one. These new changes will likely be included in the next release.
Thank you for your contribution.


Name change: Heptio Ark->Velero

Appears Heptio Ark has had a named change to Velero.

@SteveBurkettNZ : Thanks for your contribution! The author, @iainfoulds, has been notified to review your proposed change.

Thanks, @SteveBurkettNZ
#sign-off


Fixing issue where Array.includes() is not supported by RN for iOS8. …

…


Add simple test for State History Plugin

Add an integration test that sets up a nodeos with a state history plugin and runs this simple javascript example:
https://github.com/EOSIO/eos/blob/state-history-docs/docs/state-history-plugin/js-example.md

Resolved by #8198


Update Zowe logo on zowe.org to the new OMP logo

###Problem###
The zowe.og web site has the old logo in the header and footer

###Expected Behavior###
Use the new logos from https://github.com/openmainframeproject/artwork/blob/master/examples/active.md#zowe-logos

This has been done - thank you @jmertic


Explicitly look up language (requires warframe-worldstate-data change)

Idea:

Allow the consumer to specify a language (eg. english, spanish, etc) to look up a string for

Implementation arch:

Default to what is currently returned if there is no language provided in whatever release the consumer is dependent on, but if data['${language}'] exists, use that instead.

@nspacestd any thoughts?

We could add a 'language' parameter to the translation functions or maybe move them in a 'Translator' class and pass the language to its constructor

i think either way would work great.

i think passing it in the function would let us not need new Worldstate objects for each language.

Either works for me. Passing it to the function might be better here, yeah


duke_mask_info_gallery.csv is missing from DukeV dataset

Is It possible to ask you provide a link for updated DukeV dataset or just for duke_mask_info_gallery.csv file only?
Thank you in advance

Hi
We forgot that we didn't use DL on DukeV dataset because the bounding boxes are ground truth annotations.
You can use the original DukeV dataset.


Breaking other libraries with exports object

Initial lines of this library define a global exports property on window:
if (typeof module === 'undefined' || typeof module.exports === 'undefined') {
  exports = window;
} else {
  var window = null;
}

This results in breaking all other libraries that are loaded in the same webpage that does checks for Node environment by the use of exports object: typeof exports === 'object'. Therefore I think that modifying window by adding exports object to it is a bad idea and should be fixed and released as fast as possible.
One solution would be to wrap everything in self invoking function and define local variables, instead of global ones, since this exports object isn't used anywhere other than defining initLayoutContainer on it, and in turn on window.
How would you like it handled?

Good point, global exports is nasty. How about changing it to something like:
var initLayoutContainer =
/// ...
if (typeof module === 'undefined' || typeof module.exports === 'undefined') {
  window.initLayoutContainer = initLayoutContainer;
} else {
  module.exports.initLayoutContainer = initLayoutContainer;
}

Damn, I was trying to find out which of the 30+ libs we use is setting a global variable exports .

Will https://github.com/aullman/OpenTok-Angular be updated to use the most recent version? I can't change the dependency version it relies on in bower as far as I know. @aullman

@LoganLehman I just pushed an update.
@xeroxoid sorry for the hassle!


🚧Create org level bug template

Add bug template at the organization level

Closed PR due to being in the incorrect repo.


Task/5.3.x/pup 8505/re add some server tests back to agent pipeline

Updated 7 tests to enable them to run in the agent pipeline
I updated the test style and in 3 cases, made serious updates to the tests
commit (Make major test updates...)
I changed the test to actually do a pluginsync (which it wasn't before)
4847_pluginfacts_should_be_resolvable_from_applications.rb
Your best off reviewing the separate commits, as I was careful what I put in each one.

Tested on arista4-32a, centos5-32a, centos5-64a, centos6-32a, centos6-64a, centos7-64a, cumulus25-64a, debian7-64a, debian7-32a, debian8-64a, debian8-32a, fedora25-64a, fedora25-32a, fedora26-64a, fedora26-32a, oracle5-32a, oracle5-64a, oracle6-32a, oracle6-64a, oracle7-64a, osx1010-64a, osx1011-64a, osx1012-64a, redhat5-32a, redhat5-64a, redhat6-64a, redhat6-32a, redhat7-64a, scientific5-32a, scientific5-64a, scientific6-32a, scientific6-64a, scientific7-64a, sles11-64a, sles11-32a, sles12-64a, solaris10-64a, solaris11-64a, ubuntu1404-64a, ubuntu1404-32a, ubuntu1604-64a, ubuntu1604-32a, windows7-64a, windows81-64a, windows10ent-64a, windows10ent-32a, windows2012r2_ja-64a%7Blocale=ja%7D, windows2008r2-64a, windows2012r2-64a, windows2016-64a, aix61-POWERfa%7Bhypervisor=none%2Cvmhostname=aix61-3.delivery.puppetlabs.net%2Cplatform=aix-6.1-power%7D, aix71-POWERfa%7Bhypervisor=none%2Cvmhostname=aix71-9.delivery.puppetlabs.net%2Cplatform=aix-7.1-power%7D, aix72-POWERfa%7Bhypervisor=none%2Cvmhostname=aix72-3.delivery.puppetlabs.net%2Cplatform=aix-7.2-power%7D, redhat7-AARCH64a%7Bhypervisor=none%2Cvmhostname=arm64-centos7-8.ops.puppetlabs.net%2Cplatform=el-7-aarch64%7D, redhat7-POWERa%7Bhypervisor=none%2Cvmhostname=power8-rhel73-4.ops.puppetlabs.net%2Cplatform=el-7-ppc64le%7D, sles12-POWERa%7Bhypervisor=none%2Cvmhostname=power8-sles12-5.ops.puppetlabs.net%2Cplatform=sles-12-ppc64le%7D, solaris10-SPARCa%7Bhypervisor=none%2Cvmhostname=sol10-3.delivery.puppetlabs.net%2Cplatform=solaris-10-sparc%7D, solaris11-SPARCa%7Bhypervisor=none%2Cvmhostname=sol11-6.delivery.puppetlabs.net%2Cplatform=solaris-11-sparc%7D, ubuntu1604-POWERa%7Bhypervisor=none%2Cvmhostname=power8-ubuntu1604-9.ops.puppetlabs.net%2Cplatform=ubuntu-16.04-ppc64el%7D

CLA signed by all contributors.

jenkins please test this

FYI @justinstoller, @Magisus, @branan, @McdonaldSeanp, @caseywilliams We discovered that some agent functionality, e.g. binary data in catalogs, pluginsynced external facts, i18n, was being skipped in agent pipelines due to the server beaker tag. Since puppetserver pipelines only test on a few different agent platforms, it meant we weren't testing that functionality on most agent platforms. Adding these tests back will increase agent CI by ~3 mins, but that seems worth it to me.


[Feature] Support custom headers for useSanctumClient instance

Hi, I would like to know if it is possible to inherit the client from useSanctumClient to add a permanent header like X-Localization
const { $i18n, $sanctumClient } = useNuxtApp()

export const client = $sanctumClient?.create({
  headers: {
    'X-Localization': $i18n.locale.value,
  },
})

However, $sanctumClient is sometimes undefined, which causes the requests to fail. Is there a cleaner way to handle this situation and ensure that the client is always properly initialized? Thank you!

Hey @npldevfr 👋 useSanctumClient already returns an instance of fetch.create and I'm not sure that it is possible to globally assign headers like in your example. Right now, there is no common way of redefining headers in the module.
I'll be back from vacation in a week and I can check what other options we can do about it.
Maybe I will be able to implement a custom set of headers as a module config or user function that returns header collection or something like this.

I also want that, i need to add multi language but i cannot because i need to add manually to all calls.
"Accept-Language": useNuxtApp().$i18n.localeProperties.value.code

After a quick look, I think I found a possible way of extending functionality by defining custom interceptors in app.config.ts which will be used in the module, it will be something like this
export default defineAppConfig({
    sanctum: {
        interceptors: {
            onRequest: async (nuxtApp: NuxtApp, context: FetchContext) => {
                // Here you can add your own headers or add custom callbacks for each request like telemetry and etc
                console.log('onRequest interceptor');
            },
            onResponse: async (nuxtApp: NuxtApp, context: FetchContext, response: FetchResponse<T>) => {
                // Here you can add your own headers or add custom callbacks for each response like telemetry and etc
                console.log('onResponse interceptor');
            },
        },
    },
});

I will try to implement it this week and open a PR, stay tuned 😄

I made the composable around useSanctumClient and it works well.  Here's an example of how I use it.
Composable:
export function useApiClient() {
  const  { locale }  = useNuxtApp().$i18n;
  const client = useSanctumClient();

  return client.create({
    headers: {
      locale: locale.value
    }
  });
}

export function useApiCall(key, url, body, handlerOptions, useAsyncDataOptions, globalError = false) {
    const client = useApiClient();
    const response = useAsyncData(key, () => client(url, { body: body?.value, ...handlerOptions}), useAsyncDataOptions);

    if(globalError) {
      watch(response.error, () => {
        if(response.error) {
          throw createError(response.error.value);
        }
      })
    }
    return response;
}

Usage:
<script setup>
const { error, execute, status } = await useApiCall('login', '/login', requestFields, {
        method: 'POST',
    }, {
        lazy: true,
        immediate: false,
        watch: false
});
</script>

The feature has been merged and will be published soon as well as documentation. I'll write here once it is ready.

New version 0.3.7 has been published, check this documentation section - Interceptors

New version 0.3.7 has been published, check this documentation section - Interceptors

Great! Thanks for your reactivity 😄


TestApp generation should add necessary imports

Function TestApp does make use of os, ioutil, noarch and testing packages. We should make sure that those imports are always included.
import "io/ioutil"
import "os"
import "testing"
import "github.com/elliotchance/c2go/noarch"

func TestApp(t *testing.T) {
   os.Chdir("../../..")
   ioutil.WriteFile("build/stdin", []byte{'7'}, 0777)
   stdin, _ := os.Open("build/stdin")
   noarch.Stdin = noarch.NewFile(stdin)
   main()
}

It is possible to create trivial programs where the main function do not refer to those imports.
int main() {
    return 97;
}

=> ./main.go:21:2: undefined: noarch
Low priority since any non-trivial C program will import "os" and "noarch".

TestApp should only be generated under go test. Are you seeing this output from c2go transpile? If you are then this is a bug and OutputAsTest is not false (the default mode): https://github.com/elliotchance/c2go/blob/master/program/program.go#L76

@elliotchance Yes I am seeing this with go transpile. I will look into this later.

I confirm that p.OutputAsTest = true // args.outputAsTest in main.c
https://github.com/elliotchance/c2go/blame/master/main.go#L227

That was a bug introduced by myself... You can even see the original code commented out. 😢
If you have time please change that line back to:
p.OutputAsTest = args.outputAsTest

That will also fix this ticket.

TODO: Verify that this is fixed by 1a2f0890b3e2dd1727b498ca3d6c5e9169ec4bab

I can confirm that it was not fixed in that PR (already merged).


refactor(ui): simplifies the ui tsup config

This PR aims to do the following:

Simplify the tsup config in the ui package by utilising globs in the exports field of the package.json file instead of verbose per file export.
Removes the need for pkg-types utilisation.
Removes unused & unnecessary functions from the utils package.

We still use pkg-types in the utils and update-workspace.ts file. I think we previously used the hoisted package, so we should install it as devDep in the root package.json I reckon.

@imCorfitz good catch, fixed.


[FromRoute] doesn't work inside objects

Version 3.0.0
This works fine:
-> GET api/user/someid
[HttpGet("api/user/{id}"]
public IActionResult Foo([FromRoute] string id) {
    //id == "someid"
}

SwaggerUI -> GET api/user/someid
This doesn't:
public class SomeModel {
    [FromRoute]
    public string NumeroDeSerie { get;set;}
}

[HttpGet("api/user/{id}"]
public IActionResult Foo(SomeModel model) {
    //model.NumeroDeSerie == "{id}"
}

SwaggerUI -> GET api/user/{id}
The SwaggerUI generates the path parameter correctly and put it as required, but the actual request to the API is made with the name of the parameter instead of its value.

Workaround:
When you use an object with part "FromRoute" and part "FromQuery", the properties with "FromQuery" will work just fine as they will be camelCased.
The ones with "FromRoute" won't, so you need to force the conversion:
public class SomeModel {
    [FromRoute("numeroDeSerie")]
    public string NumeroDeSerie { get;set;}
}

Also, specify the object on controller as FromQuery:
[HttpGet("api/user/{id}"]
public IActionResult Foo([FromQuery] SomeModel model) {
//model.NumeroDeSerie == "someid";  \o/
}

Yes, got the same error too.
I'm furious.

Yes, i got he same error too.
Swashbuckle.AspNetCore: 4.0.1
Microsoft.AspNetCore: 2.2.1

Same error
Swashbuckle.AspNetCore: 4.0.1

Found solution
          services.AddSwaggerGen(o =>
           {
               o.SwaggerDoc("v1", new Info { Title = "api", Version = "v1" });
               o.DescribeAllParametersInCamelCase();
           });

Support for models with different [From*] annotations is sorely lacking in Swashbuckle, even though ASP.NET has no problem binding to such models.

@IanKemp wonderful contribution to a free OSS project!!! Thanks for that 👎
This is an edge case. Swashbuckle generates the parameter name in PascalCase but the swagger-ui does not reconcile it with a path parameter of the same name but in CamelCase. The name is produced in PascalCase because that's what ApiExplorer, the meta-layer that ships with ASP .NET Core and is heavily depended on by Swashbuckle, surfaces. So, there's also an argument that the root cause is actually in ASP.NET Core despite your comments above.
Regardless, for this case there's an extremely simple and affective workaround using the suggestion posted by @ziilok. If there's other places where Swashbuckle does not handle [From*] attributes correctly please create an issue with concise repro steps as I'm not aware of them at present.


Prerequisite Entra Id role not correct

In terms of the prerequisite Entra Id Administrative role needed for changing the Dynamic membership rules: I think the documentation does not describe reality.
Cf. https://learn.microsoft.com/en-us/azure/active-directory/roles/admin-units-members-dynamic?source=docs#prerequisites
It does work with Global Administrator activated.
It seems that Privileged Role Administrator is not sufficient to change the Dynamic membership rules.  I get the error statement mentioned below in the right pane in the portal, whether I have Privileged Role Administrator activated or not.
Also, with Global Reader activated I would expect to at least be able to view the Dynamic Membership rules, but that too gives me the error message mentioned below.
Summary
Session ID
14ac9e1e092c408aaa4e845afd97fddb
Resource ID
Not available
Extension
Microsoft_AAD_IAM
Content
DynamicAdminUnitBlade
Error code
403

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

ID: 72bf3d35-e81f-adae-e9ae-c0dfa5dc4848
Version Independent ID: 499bd02d-e05c-1ada-1541-efa0075ae205
Content: Manage users or devices for an administrative unit with dynamic membership rules (Preview) - Microsoft Entra
Content Source: articles/active-directory/roles/admin-units-members-dynamic.md
Service: active-directory
Sub-service: roles
GitHub Login: @rolyon
Microsoft Alias: rolyon

@vlijmenfileer
Thanks for your feedback! We will investigate and update as appropriate.

@rolyon
Can you please check and add your comments on this doc update request as applicable.

@vlijmenfileer
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

Hi @vlijmenfileer
Thanks for your feedback. We tested steps to update dynamic rules for an administrative unit while assigned the Privileged Role Administrator role and it appears to work.
Can you confirm that you are still experiencing this issue?
thanks

Hi @vlijmenfileer
Thanks for your feedback. Let us know if you have any additional feedback.
thanks

#please-close


Rainfall data update - URGENT

When you do a drill on the cover for a time series, rainfall is also reported.
Rainfall data is only up to 21/4/22.  See https://map.geo-rapp.org/#share=s-bXzEFxxX1Qdi0Es90I9gILzxa8x
Can we get the updated data by Friday included, please

Hi John, These rainfall data are from CHIRPS and are prepared on the NCI. Its a piece of code I've avoided updating as a lower priority versus the all the other upgrades we've done. I've looked at the code and its probably straight forward to update.
CHIRPS source: https://data.chc.ucsb.edu/products/CHIRPS-2.0/global_dekad/netcdf/

The CHIRPS data have been updated. It needs to be indexed by the GSKY service; I don't know how or the frequency of its updates. I'll check after the weekend and chase it up if need be.


remove upper casing first character on headers in socker class

This PR Fixes #160 which causes headers being upper cased for their first character in key which causes a fail request to a non HTTP 1.1 compliant API.
HTTP 1.1 defines that the headers should be case insensitive. This means there is also no reason for upper casing the first character.

[x] Are you fixing a bug?

[x] Detail the original, incorrect behavior.
The first character in a headers "name"/"key" was being upper cased in default for Socket and Test adapter.
[x] Detail the new, expected behavior.
The headers using the Socket and Test adapter should not be be upper cased for the first character any more.

May be make this feature optional, like property in class by default use ucfirst and if you need you could change that behaviour?)

May be make this feature optional, like property in class by default use ucfirst and if you need you could change that behaviour?)

I can't tell if it would make sense to have a property to configure whatever it should be upper cased or not. The only thing I can say is that its already not being modified for the Curl and Proxy adapter.
So I would assume that either this (the Socket and Test adapter) or the behaviour of Curl and Proxy adapter is not the desired one.

That make sense i think, i was just thinking about back compatibility, but that make no sense in that case)
also some test are not successful after your changes, i think you need investigate test report)


Remove "Uncomitted Changes" in timeline

Testing #145461

Open a GH/Azure Repos repository on https://insiders.vscode.dev
Open and file, and open the timeline view
Ensure that both Git and Local History entries are shown
Make a change to the file and save

Local History entry is added to the top of the list
Local History entry is then moved under "Uncommitted Changes" entry

I think this works as designed: the "Uncommitted Changes" from Git is probably always updating when you save and is more recent than the actual save event.
@JacksonKearl would you agree this works as intended?

Roughly as designed, but could be smoother.

I agree, I don't think "uncommitted changes" should be a history entry at all. It's not a historical event. You might have uncommitted changes, but itself is not a change like everything else the timeline shows.

I really like the idea to not have "Uncommitted Changes" at all. It seems to originate from the git extension:
https://github.com/microsoft/vscode/blob/2626c7f17ce7536722054cbaf70bb2da5c93c372/extensions/git/src/timelineProvider.ts#L228
Especially now that we have local history enabled, there will always be an entry for local history above the last committ, so the information is redundant.
Lets do this.

@joyceerhl not sure whether we want to remove those for remotehub extension as well:
https://github.dev/microsoft/vscode-remotehub/blob/68fa1962af31c0d1b84044735feff2d98af32a4b/extensions/remotehub/src/timelineProvider.ts#L126-L128

@bpasero Removed the Uncommitted Changes timeline entries for RemoteHub. I kept the Staged Changes timeline entry though, since that is a historical event and it looks like we also kept those for the git extension.

Thanks!

This change has actually caught me off guard. While I like the idea for the "Local History" in general, It's sometimes too granular and I'd like to view all the changes since the last commit. Imho, the "Uncommited Changes" entry should be shown when "local history" is disabled, or it should be configurable by settings.

Can you report a new feature request for this?


nixos/installer-tools: Fix missing extraBuildFlags reference

Installations that need special build options or includes did not evaluateduring calling nixos-install due to a missing reference to the extraBuildFlags variable.
Motivation for this change

Be able to use the installer to install arbitrary system configurations that are based on non-<nixpkgs> channels.

Things done

Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Fits CONTRIBUTING.md.

Looks like this PR has been deprecated by nix 2.0.


#5: Fixed an issue that caused the plugin to possibly send an unne…

…cessary request if the $.mobile.hideUrlBar JQM setting was set to true.

Fixed incorrect url to the plugin within the sample.html.

Pull Request Test Coverage Report for Build 74

3 of 4 (75.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.3%) to 92.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/lazyloader.js
3
4
75.0%

Totals

Change from base Build 70:
-1.3%

Covered Lines:
83

Relevant Lines:
86

💛  - Coveralls

Solution causes issue if the scrollstart event is fired before it can be caught. Request should probably be ignored if another is underway.


Unable to untar release

I've faced with the following behaviour on alpine linux:
$ curl -O https://github.com/icing/mod_md/releases/download/v2.0.8/mod_md-2.0.8.tar.gz
$ tar -zxf mod_md-2.0.8.tar.gz
tar: invalid magic
tar: short read

Is it archive or alpine bug?

My wrong.


Update dev doc

Codecov Report

Merging #439 (9f87559) into main (5a0e6b3) will increase coverage by 0.70%.
Report is 91 commits behind head on main.
The diff coverage is 27.92%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #439      +/-   ##
==========================================
+ Coverage   36.81%   37.52%   +0.70%
==========================================
  Files          61       61
  Lines        5421     5537     +116
==========================================
+ Hits         1996     2078      +82
- Misses       3425     3459      +34

Files Changed
Coverage Δ

siibra/configuration/configuration.py
42.35% <ø> (ø)

siibra/configuration/factory.py
22.22% <0.00%> (+0.24%)
:arrow_up:

siibra/core/atlas.py
85.71% <ø> (+1.23%)
:arrow_up:

...a/features/connectivity/functional_connectivity.py
55.55% <0.00%> (ø)

siibra/livequeries/ebrains.py
25.35% <0.00%> (+0.35%)
:arrow_up:

siibra/locations/boundingbox.py
19.88% <ø> (ø)

siibra/volumes/neuroglancer.py
21.42% <0.00%> (ø)

siibra/volumes/volume.py
50.29% <0.00%> (ø)

siibra/features/tabular/cortical_profile.py
26.43% <3.70%> (-4.23%)
:arrow_down:

siibra/features/tabular/tabular.py
23.68% <3.70%> (-6.32%)
:arrow_down:

... and 23 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[Feature Request] Ability to hide past names

Explain in detail what your suggested feature would be used for.
Opting out from past stored names would be beneficial for privacy & safety.
Describe how it would look if it requires a UI.
Toggle opt out for past display names
Explain why people would want to use it.
privacy mainly

not really a possibility, VRCX just stores what the API returns, it would also require a way to track who doesn't want to be logged, that would require a server of some sort and a way to verify peoples requests to make sure they are the owner of the account that don't want to be logged, and that's completely out of scope for VRCX.


Minor: clean up old ToC for block proposer page

Minor cleanup of old auto-generated ToC.

This has no impact on https://docs.lazyledger.io/ ?

This has no impact on ~https://docs.lazyledger.io/~ https://docs.lazyledger.io/lazyledger-specs/ ?

Nope, shouldn't.


Update Module-1-Setting-up-the-environment.md

Fixing a typo in exercise 2 link
Fixes #
Proposed Changes

@javiersoriano - please resolve the conflicts and @ashishsyal / @v-jayakal once conflicts are resolved, please review/approve and update the solution package + publish changes. Thanks.

Conflict resolved

@javiersoriano ,please just correct the typo "Trainig" ,thanks.

Where do you see that typo @v-sabiraj ? Can't find it..

In line 52 , In this exercise you will deploy the Trainig Lab solution into your existing workspace. ,thanks.

Thanks @v-sabiraj . Done!


add feature, led on when vintage_net_wizard is running

@takasehideki Would you please review the feature you suggested?

@pojiro Works well on my environment. LATM!
I have a proposal for you. Would you like to turn off the LED at the proper timing?
The simple way is to turn LED on, wait a moment (e.g., Process.sleep(10000)), and then turn it off. I think this is enough to achieve.
The way that seems to be good is to use "Stop callback". But it's a bit complicated and may not be worth the cost.
https://hexdocs.pm/vintage_net_wizard/readme.html#stop-callback

Stop callback sounds nice. Ok, I'm gonna implement that.

Now stop callback is implemented and tested. Would you please review this?

@pojiro I could not observe LED turned off, and log message "stop vintage net wizard" on RingLogger,,,

We investigated why "complete" button doesn't display.
At least, vintage_net_wizard's WiFi daialog on iOS and Mac OS's seems that the transition is not as intended by the developers.
So I decided to disable captive portal feature as work around.


Any plan to support batch API?

I am using message update API (UpdateMessage), and find that js-client does not support batch request.
Batch API need to request server with multipart body and header. But I can not set headers by call putRaw:
this._client.account().extension().messageStore(ids).putRaw(body);

So I need to call client.service.platform().put function, and also change body to multipart.
Can js-client support batch request that I can set headers and help to format multipart body.
Thanks.

Please use FormData to send multipart request.

https://github.com/ringcentral/ringcentral-js#fax

I can use FormData with SDK api to support batch api, but it will be more user-friendly if client support it.
thanks


Batch file for easy merging maps

To make life easier for merging maps together
User would be prompted to put in a filename for the merged bsp and then the list of bsps they wish to merge
There is an additional prompt to set a merge command which is optional
This would be run in the same dir as bspguy + to-be-merged bsps
Included a batch file that I have created before for this purpose
bspguy_merge.zip

The whole editor was planned to be designed around map merging, so you could place them how you want in 3D. I think the latest code or unreal's fork has a widget for merging.

@wootguy yes, in latest version possible to add multiple maps, via merge widget, paths can be entered via clipboard or using filebrowser.
But I thin it cause crashes while merging  ;) Possible I can fix it in next commits.


Remove Godeps and vendor

Vendoring works well for commands, but for libraries such as this one it just
causes problems. Eliminate it.

Can someone please sign off on this? @jhowardmsft ?

LGTM


Fix Readme about Binary Release Target

From #812 #853, binary release targets(aarch64-apple-darwin, x86_64-unknown-linux-gnu) have been added. And according to #738, the arm-unknown-linux-gnueabihf binary is not provided on GitHub Release.
But binary releases section on Readme is outdated. So I fixed the binary release target.

thanks a lot. will merge soon

@Azuki-bar thanks for this, merged.


Fix squiggle in a user's settings json file

I looked at: https://code.visualstudio.com/api/references/contribution-points#contributes.configuration and found the reason for the error squiggle was simply fixed. All you needed to do is allow for the type to be null here. I've already tested it on my computer by changing it on the extension (in %USERPROFILE%.vscode\extensions\redvanworkshop.explorer-exclude-vscode-extension-1.2.0 since I'm currently using Windows) and the error squiggle immediately disappeared. No need to make it an empty object or anything.
What's this PR do?
Fixes the error squiggle in a user's settings file (workspace.code-workspace or settings.json) by allowing the type to be null.
Where should the reviewer start?
(https://code.visualstudio.com/api/references/contribution-points#contributes.configuration)
How should this be manually tested?
Change it in the extension (which I found here): https://code.visualstudio.com/docs/editor/extension-marketplace#_where-are-extensions-installed
Any background context you want to provide?
I was really annoyed at that squiggle and after trying to mess with JSON schemas for a while, decided to see if I could fix it here. I eventually searched for something like "vscode settings null" and found several configuration options have null as a default. I then searched "vscode extension configuration" and figured out the issue.
What are the relevant github issue?
While it was closed, I found a quick fix for the issue. (https://github.com/redvanworkshop/explorer-exclude-vscode-extension/issues/24)
What gif best describes this PR or how it makes you feel?

(I was messing with schemas for hours, on and off, and was having some OCD-like tendencies about the squiggle).
Definition of Done:

[x] You have actually run this locally and can verify it works
[ ] You have verified that npm test passes without issue (have no idea where this is, couldn't find it after seeing it's supposed to be in, I think, the package.json under the "script" section)

Sorry, wasn't sure that renaming the branch would mess up the pull request or not. Also, my bad on changing the title unnecessarily.


New Schematron rule: Rend attribute values

Warn people if a value they have used in a @rend is not in a predefined list, telling them to raise a GitHub issue to request if they want it transformed into some new HTML/CSS.
See bodleian/medieval-mss#130

This was done in the previous release.


react-scrollspy is a dependancy

react-scrollspy is a dependency which is needed for an initial installation of the repository.  docker-compose up --build will fail because the dependency has not been added.  The user needs to manually add react-scrollspy.  Please update either the README document to indicated this needs to be manually added or update the package to automatically bring in this package.

@derekeder - do you know anything about this? I added the dependency using the directions in the README but I also encountered issues with Docker not handling things.

we discussed and it may be because package-lock.json, which should not be necessary anymore. I'll try removing this file to see if this resolves the issue


[0.9.2] cannot query measurement starting with a double-quote character

My guess is the initial backslash \ is not being interpreted as an escape character in this context.
> insert "test",foo=bar value=12
> show measurements
name: measurements
------------------
name
"test"

> select * from test
ERR: measurement not found: "test"."default".test
> select * from "test"
ERR: measurement not found: "test"."default".test
> select * from \"test\"
ERR: error parsing query: found \, expected identifier at line 1, char 15
> select * from ""test""
ERR: error parsing query: found IDENT, expected SELECT, DELETE, SHOW, CREATE, DROP, GRANT, REVOKE, ALTER, SET at line 1, char 17
> select value from test
> select value from "test"
> select value from \"test\"
ERR: error parsing query: found \, expected identifier at line 1, char 19
> select value from ""test""
ERR: error parsing query: found IDENT, expected SELECT, DELETE, SHOW, CREATE, DROP, GRANT, REVOKE, ALTER, SET at line 1, char 21

Still present in 0.9.3 nightly.

Should be like this: select value from "\"test\""

Confirmed that works:
> select * from "\"test\""
name: "test"
------------
time				foo	value
2015-08-25T22:03:43.944567009Z	bar	12


Add finding point by category, creating new point and deleting point to API

Adds the ability to call the following on the API

Finding a list of points by filtering out the category they are under
Sending a POST method with a request body to create a new point
Find and delete a point by its ID

1 and 3 can be tested locally under http://localhost:8080/swagger-ui/index.html#/
2 can be tested with RESTer as shown

New commit features:

Added a button to the front page to create a new point, this allows the /add/ POST method to be tested without the need of extra tools
Added an endpoint to the API to delete all existing points held in the point list
Added two endpoints to search between a number range for both longitude and latitude


account for context when doing backoff retries for backups

Fixes an issue where context errors were ignored when polling backup status.
Fixes: SA-19896

E2E: https://got-testrail.agi.appgate.com/index.php?/plans/view/1048731

There's a discussion though if we should just remove the timeout for backups instead. What about it @thomascellerier @danijeel ?

I'll remove the timeout instead

Update PR title and re-run e2e

E2E: https://got-testrail.agi.appgate.com/index.php?/plans/view/1049087


Both java nad kotlin Android app templates depend on Kotlin Gradle Plugin

I noticed some time ago that both android-java.tmpl nad android-kotlin.tmpl templates depend on Kotlin Gradle Plugin:
https://github.com/flutter/flutter/blob/9aea02b7d5a8f5bfd987bc85543d13eae6fe1c53/packages/flutter_tools/templates/app_shared/android.tmpl/settings.gradle.tmpl#L22
https://github.com/flutter/flutter/blob/9aea02b7d5a8f5bfd987bc85543d13eae6fe1c53/packages/flutter_tools/templates/app_shared/android-java.tmpl/app/build.gradle.tmpl#L5
https://github.com/flutter/flutter/blob/9aea02b7d5a8f5bfd987bc85543d13eae6fe1c53/packages/flutter_tools/templates/app_shared/android-kotlin.tmpl/app/build.gradle.tmpl#L5
furthermore the app/build.gradle.tmpl file is exactly the same in both Java and Kotlin template.
My aim with this issue is to learn why it's like that. I remember being confused some time ago when I selected "java" during flutter create but my project still depended on KGP.
cc @reidbaker

I was also wondering this recently, looks like it was intentional and added in https://github.com/flutter/flutter/pull/95225, which apparently fixed an issue (here https://github.com/flutter/flutter/issues/95141), though I haven't looked in to how.


Error when trying to parse comments starting with //

Despite the copious signage, I was brave (foolish?) enough to try out hcl-edit.
I'm happy to report that it did exactly what I wanted it to and would have been easier than the alternatives. So, thank you!
I did find one issue where hcl-edit doesn't correctly parse comments starting with //:
Error:    --> HCL parse error in line 112, column 51
    |
112 |   ami                  = "ami-5f6495430e7781fe5" // Ubuntu 20.04 LTS
    |                                                   ^---
    |
    = invalid expression; expected `"`, `[`, `{`, `-`, `!`, `(`, `_`, `<`, letter or digit

I was able to work around this for my use case by just using # for the comments.

Thanks for reporting this!
I overlooked an ambiguity in the grammar there. The parser treats the first / as a binary division operator and expects a RHS expression after it, but fails when it encounters the second / because it does not match any of the characters it expects for starting an expression.
I'll see if I can get this fixed later today as it should be fairly easy.

Thanks so much for the quick turnaround!


feat: support merge cmd env with image extension

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.06 :tada:

Comparison is base (220a1ca) 20.01% compared to head (086b41d) 20.08%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2207      +/-   ##
==========================================
+ Coverage   20.01%   20.08%   +0.06%
==========================================
  Files          98       98
  Lines        9182     9236      +54
==========================================
+ Hits         1838     1855      +17
- Misses       7090     7127      +37
  Partials      254      254

Flag
Coverage Δ

unit-tests
20.08% <100.00%> (+0.06%)
:arrow_up:

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

Impacted Files
Coverage Δ

cmd/sealer/cmd/utils/application.go
70.37% <100.00%> (+10.37%)
:arrow_up:

cmd/sealer/cmd/utils/cluster.go
36.31% <100.00%> (+2.59%)
:arrow_up:

pkg/application/v2app.go
42.76% <100.00%> (+1.15%)
:arrow_up:

... and 3 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Do not cache expressions containing method calls

#5655
also make ExpressionTextCache more robust for defence-in-depth

nits:

two null expression nodes are equal
declare data properties as TheoryData<T>

8ee3d45 in rel/1.1.2
fc40985 merged that into dev
4bddb5f is a small follow up in dev


markers that stay the same size at the zoom level you put them in

Hey there I didn't see anything in the issues or anywhere in docs (I could just be blind) but I was wondering if there was any way for me to make it so that when I am zoomed in and place a marker, it scales along with the map as I zoom out. this might not even be some that the geoman plugin would deal with at all, either way please let me know if I should look else where or if there is a way for me to make it happen.

Saddly there is no Marker in Leaflet which scales with the zoom (and then Geoman can not support this type). But you can try to use a ImageOverlay

I actually found a way to do it, with the regular markers, thank you for the quick reply though I very much appreciate it.


Add Polish translation

We're not ready to manage translations yet. This is wanted but we need to put together translation teams for each language we intend to do this for so that it gets reviewed properly, maintained and updated whenever the strings change. It's not something we can accept as is.


[UNDERTOW-2425] At ServletOutputStreamImpl synchronized workflow (lis…

…tener = null), prevent the buffer.flip() from not being cleared after an error during attempts to write. Also, at ServletPrintWriter, verify if no progress is being made when attempting to encode returns overflow after flushing, and mark error even if there are remaining bytes in the buffer.
Issue: https://issues.redhat.com/browse/UNDERTOW-2425
Main: https://github.com/undertow-io/undertow/pull/1646

I will be closing this PR as it is faster to create a bulk backport


Fix typo

P.S. I'm not into Fable or Elmish, but interested in reading your code, which looks nice! Just started a similar project for creating bindings of Bulma in PureScript. Long story short - that's why I've found this tiny typo :)

Thanks you :)
And happy to inspire you ^^


TypeScript helper package source code

Hello @evantahler,
It's great that there is a TypeScript helper package at /protocol-models/typescript and it even seems to be published at NPM. However, the NPM version seems to be well ahead of the source code in the repository and I couldn't find another version on the other branches. Would it be possible to keep the code in sync?
Thanks a lot for your work here!

Whoa! Can you share more about what you mean by 'way ahead'?  The types should be modeled from the latest protocol version.  For example, we recently added AirbyteStateStats, which can be seen on row 331
The version published seem to match up properly as well (we are on 0.5.3)

Oh now I see!
I got confused about the non-matching version numbers of the repository package.json (0.3.2) but I just discovered the generate-typescript-classes.sh script which adjust it before building.
Thanks a lot for your help. I think this issue can be closed.


featEnsure forced failure handling for tasks from previous master node during failover or restart

What problem does this PR solve?
When the Master node restarts or switches to a new primary, the new Master must take over task scheduling. In this scenario, tasks running on the previous Master may remain in an uncertain state (e.g., suspended or incomplete). To ensure system consistency and accurate task states, the new Master should enforce failure handling for these tasks after its initialization to clean up any residual task states.
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[x] Manual test (add detailed scripts or steps below)

mysql>  create job restart_test_one_time ON SCHEDULE at current_timestamp   do INSERT INTO orders.image values ('2023-03-18','1','12213');

mysql> select * from tasks("type"="insert") where jobName='restart_test_one_time';
+---------------+---------------+-----------------------+-----------------------------+---------+----------+---------------------+---------------------+------------+-------------+---------------+------+
| TaskId        | JobId         | JobName               | Label                       | Status  | ErrorMsg | CreateTime          | StartTime           | FinishTime | TrackingUrl | LoadStatistic | User |
+---------------+---------------+-----------------------+-----------------------------+---------+----------+---------------------+---------------------+------------+-------------+---------------+------+
|<PHONE_NUMBER>960 |<PHONE_NUMBER>123 | restart_test_one_time |<PHONE_NUMBER>123_3519142268960 | RUNNING |          | 2024-12-16 11:15:22 | 2024-12-16 11:15:22 |            |             |               | root |
+---------------+---------------+-----------------------+-----------------------------+---------+----------+---------------------+---------------------+------------+-------------+---------------+------+
1 row in set (1.14 sec)

mysql> select * from tasks("type"="insert") where jobName='restart_test_one_time';
No connection. Trying to reconnect...
Connection id:    0
Current database: orders

+---------------+---------------+-----------------------+-----------------------------+--------+--------------------------------+---------------------+-----------+---------------------+-------------+---------------+------+
| TaskId        | JobId         | JobName               | Label                       | Status | ErrorMsg                       | CreateTime          | StartTime | FinishTime          | TrackingUrl | LoadStatistic | User |
+---------------+---------------+-----------------------+-----------------------------+--------+--------------------------------+---------------------+-----------+---------------------+-------------+---------------+------+
|<PHONE_NUMBER>960 |<PHONE_NUMBER>123 | restart_test_one_time |<PHONE_NUMBER>123_3519142268960 | FAILED | task failed because of restart | 2024-12-16 11:15:22 |           | 2024-12-16 11:15:48 |             |               | root |
+---------------+---------------+-----------------------+-----------------------------+--------+--------------------------------+---------------------+-----------+---------------------+-------------+---------------+------+
1 row in set (1.11 sec)

mysql> select * from jobs("type"="insert") where Name='restart_test_one_time';
+---------------+-----------------------+---------+-------------+------------------------+----------+------------------------------------------------------------+---------------------+------------------+-----------------+-------------------+---------+
| Id            | Name                  | Definer | ExecuteType | RecurringStrategy      | Status   | ExecuteSql                                                 | CreateTime          | SucceedTaskCount | FailedTaskCount | CanceledTaskCount | Comment |
+---------------+-----------------------+---------+-------------+------------------------+----------+------------------------------------------------------------+---------------------+------------------+-----------------+-------------------+---------+
|<PHONE_NUMBER>123 | restart_test_one_time | root    | ONE_TIME    | AT 2024-12-16 11:15:22 | FINISHED | INSERT INTO orders.image values ('2023-03-18','1','12213') | 2024-12-16 11:15:22 | 0                | 1               | 0                 |         |
+---------------+-----------------------+---------+-------------+------------------------+----------+------------------------------------------------------------+---------------------+------------------+-----------------+-------------------+---------+
1 row in set (0.07 sec)

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall

run po
run external
run cloud_p0

run buildall


Issue with Bartender and companion

thank you! one thing to note--when i was troubleshooting the cache issue, i saw the menubar icon in bartender as a new item which bartender sandboxes until you move it into the items it actively manages. but when i moved it, i could never get it to actually show up. and now it's gone completely.
/guy
Originally posted by @gteague in https://github.com/JohnCoates/Aerial/issues/1210#issuecomment-1015871964

i stopped companion and reran it and confirmed that the menubar item shows up if bartender is quit and it works. also, it shows up when you show the bartender 'hidden items' (although i've dragged it to the 'active items' shelf), but clicking it doesn't yield any action. i'm running bartender v4.1.27 and i even did a hard reset (power toggle), so it would seem to be something changed in the way bartender 'sees' the app now. good luck! /guy

sorry to spam the thread, but since i posted the above the companion menubar icon suddenly showed up and is working. i had already tried resets and a power reset and bouncing the systemui daemon and none of those had any effect. and bartender didn't update.
the only thing i did was try a feature of bartender which lets it display items when they're updated and indeed i did get it to show up using that feature by telling it i wanted it to show if the icon image stayed static instead of changing. but although i could see it, the dropdown didn't work. but now it's working and i removed that update function. one anomaly left is that i can't move the position on the menubar using the drag method in bartender, but i was able to move it using the command+drag apple method although i don't know if it'll survive a restart.
so whatever the problem is or was, things are very nearly working now.
/guy

sorry to be back once again (!) but i've discovered that 4 more of my menubar items managed with bartender have stopped working as well. i conclude that his latest public beta of monterey i installed about 3 days ago has broken something in bartender--i don't think it's your problem at all.
hope this saves you some troubleshooting time. :)
/gu6y

Ha good to know, thanks for the heads up !

ok, hopefully last comment needed. bartender 4 updated to 4.1.29 today and it has resolved all my issues since i installed the latest public beta several days ago. hopefully it will resolve any issues with ariel menubar icon not showing up or functioning for everyone else as well. /guy

Great to hear it was on their side. Thanks for letting me know, take care


replace nproc limit with pids-limit to limit number of forks

nproc ulimit does not work with docker containers. with docker 1.12 we can leverage the pid limit on cgroups using the --pids-limit flag.

related to #898

Originally the value 512 was set high because the limits were global across containers.  If this new --pids-limit option is specific to the container, we should choose a much lower value.

@perryibm yes it is per container. what would be a reasonable value? assuming we have about 16 actions per invoker on average would be 512 / 16 = 32. we could also calculate dynamically based on coreshare * numcore.

LGTM - run test?

@xin-cai please merge this with your new fb test

We are currently encountering the travis build problem, the couchdb image from travis doesn't exist any more:
TASK [couchdb : (re)start CouchDB] *********************************************

Wednesday 30 November 2016  13:44:18 +0000 (0:00:00.077)       0:00:01.288 ****

fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "failed": true, "msg": "Error pulling couchdb - code: None message: Get http://: http: no Host in request URL"}

blue PG2 644

couch startup fixed by https://github.com/openwhisk/openwhisk/pull/1571

@perryibm we have to move the test to blue because the kernel in travis is too old to support the --pids-limit flag. need at least 4.3 for the flag to work which is currently unsupported in travis.

PG3 21

PG1 961 approved