error: subprocess-exited-with-error

I download the new package for itergp, and execute the command pip install.
Then, it shows the error "error: subprocess-exited-with-error".
The complete execution show below:
Processing /Users/suyunkuan/Desktop/ML_Numerics for Machine Learning/Exercise/Ex2/itergp
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting probnum@ git+https://github.com/marvinpfoertner/probnum.git@ad-prototype
Cloning https://github.com/marvinpfoertner/probnum.git (to revision ad-prototype) to /private/var/folders/vw/0wr8h_mx7t754p2l19b2mc_r0000gn/T/pip-install-ibzys1gc/probnum_ba67848f910146c89ae6e3683faa4cbe
Running command git clone --filter=blob:none --quiet https://github.com/marvinpfoertner/probnum.git /private/var/folders/vw/0wr8h_mx7t754p2l19b2mc_r0000gn/T/pip-install-ibzys1gc/probnum_ba67848f910146c89ae6e3683faa4cbe
Running command git checkout -b ad-prototype --track origin/ad-prototype
Switched to a new branch 'ad-prototype'
branch 'ad-prototype' set up to track 'origin/ad-prototype'.
Resolved https://github.com/marvinpfoertner/probnum.git to commit bff243f58f2a7f5aa9060a973559b3b4e6ef6db1
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [47 lines of output]
Error in sitecustomize; set PYTHONVERBOSE for traceback:
AssertionError:
/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for [tool.setuptools] in pyproject.toml is still beta.
warnings.warn(msg, _BetaConfiguration)
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in
main()
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "", line 33, in
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 159, in setup
dist.parse_config_files()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/dist.py", line 868, in parse_config_files
pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 62, in apply_configuration
config = read_configuration(filepath, True, ignore_option_errors, dist)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 140, in read_configuration
return expand_configuration(asdict, root_dir, ignore_option_errors, dist)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 195, in expand_configuration
return _ConfigExpander(config, root_dir, ignore_option_errors, dist).expand()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 242, in expand
self._expand_all_dynamic(dist, package_dir)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 286, in _expand_all_dynamic
version=self._obtain_version(dist, package_dir),
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 332, in _obtain_version
return _expand.version(self._obtain(dist, "version", package_dir))
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 321, in _obtain
return self._expand_directive(
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 315, in _expand_directive
return _expand.read_attr(directive["attr"], package_dir, root_dir)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/expand.py", line 187, in read_attr
spec = _find_spec(module_name, path)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/expand.py", line 199, in _find_spec
spec = spec or importlib.util.find_spec(module_name)
File<EMAIL_ADDRESS>line 94, in find_spec
parent = import(parent_name, fromlist=['path'])
ModuleNotFoundError: No module named 'probnum'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

What's the output of the command:
pip install git+https://github.com/marvinpfoertner/probnum.git@ad-prototype

After executing "pip install git+https://github.com/marvinpfoertner/probnum.git@ad-prototype
"
There error remains:
Collecting git+https://github.com/marvinpfoertner/probnum.git@ad-prototype
Cloning https://github.com/marvinpfoertner/probnum.git (to revision ad-prototype) to /private/var/folders/vw/0wr8h_mx7t754p2l19b2mc_r0000gn/T/pip-req-build-am0w8jy4
Running command git clone --filter=blob:none --quiet https://github.com/marvinpfoertner/probnum.git /private/var/folders/vw/0wr8h_mx7t754p2l19b2mc_r0000gn/T/pip-req-build-am0w8jy4
Running command git checkout -b ad-prototype --track origin/ad-prototype
Switched to a new branch 'ad-prototype'
branch 'ad-prototype' set up to track 'origin/ad-prototype'.
Resolved https://github.com/marvinpfoertner/probnum.git to commit bff243f58f2a7f5aa9060a973559b3b4e6ef6db1
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [47 lines of output]
Error in sitecustomize; set PYTHONVERBOSE for traceback:
AssertionError:
/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for [tool.setuptools] in pyproject.toml is still beta.
warnings.warn(msg, _BetaConfiguration)
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in
main()
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "", line 33, in
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 159, in setup
dist.parse_config_files()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/dist.py", line 868, in parse_config_files
pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 62, in apply_configuration
config = read_configuration(filepath, True, ignore_option_errors, dist)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 140, in read_configuration
return expand_configuration(asdict, root_dir, ignore_option_errors, dist)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 195, in expand_configuration
return _ConfigExpander(config, root_dir, ignore_option_errors, dist).expand()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 242, in expand
self._expand_all_dynamic(dist, package_dir)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 286, in _expand_all_dynamic
version=self._obtain_version(dist, package_dir),
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 332, in _obtain_version
return _expand.version(self._obtain(dist, "version", package_dir))
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 321, in _obtain
return self._expand_directive(
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 315, in _expand_directive
return _expand.read_attr(directive["attr"], package_dir, root_dir)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/expand.py", line 187, in read_attr
spec = _find_spec(module_name, path)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/expand.py", line 199, in _find_spec
spec = spec or importlib.util.find_spec(module_name)
File<EMAIL_ADDRESS>line 94, in find_spec
parent = import(parent_name, fromlist=['path'])
ModuleNotFoundError: No module named 'probnum'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

What's your setuptools version, i.e. the output of the command
pip show setuptools

pip show setuptools
Name: setuptools
Version: 65.4.1
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email<EMAIL_ADDRESS>License:
Location: /opt/homebrew/lib/python3.10/site-packages
Requires:
Required-by:

I'm trying reproduce the error locally, but can't yet.

pip show wheel
Name: wheel
Version: 0.37.1
Summary: A built-package format for Python
Home-page: https://github.com/pypa/wheel
Author: Daniel Holth
Author-email<EMAIL_ADDRESS>License: MIT
Location: /opt/homebrew/lib/python3.10/site-packages
Requires:
Required-by:

Try downgrading setuptools and reinstalling probnum:
pip uninstall setuptools
pip install setuptools==64.0
pip install git+https://github.com/marvinpfoertner/probnum.git@ad-prototype

any better? I assume you are on mac?

yes, I'm working on Mac

Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [47 lines of output]
Error in sitecustomize; set PYTHONVERBOSE for traceback:
AssertionError:
/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for [tool.setuptools] in pyproject.toml is still beta.
warnings.warn(msg, _BetaConfiguration)
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in
main()
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 337, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 319, in _get_build_requires
self.run_setup()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 334, in run_setup
exec(code, locals())
File "", line 33, in
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 159, in setup
dist.parse_config_files()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/dist.py", line 868, in parse_config_files
pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 62, in apply_configuration
config = read_configuration(filepath, True, ignore_option_errors, dist)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 140, in read_configuration
return expand_configuration(asdict, root_dir, ignore_option_errors, dist)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 195, in expand_configuration
return _ConfigExpander(config, root_dir, ignore_option_errors, dist).expand()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 242, in expand
self._expand_all_dynamic(dist, package_dir)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 286, in _expand_all_dynamic
version=self._obtain_version(dist, package_dir),
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 332, in _obtain_version
return _expand.version(self._obtain(dist, "version", package_dir))
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 321, in _obtain
return self._expand_directive(
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 315, in _expand_directive
return _expand.read_attr(directive["attr"], package_dir, root_dir)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/expand.py", line 188, in read_attr
spec = _find_spec(module_name, path)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/expand.py", line 200, in _find_spec
spec = spec or importlib.util.find_spec(module_name)
File<EMAIL_ADDRESS>line 94, in find_spec
parent = import(parent_name, fromlist=['path'])
ModuleNotFoundError: No module named 'probnum'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

Did you create an isolated new environment for itergp? If yes, could you post the result of
pip freeze

pip freeze
anyio==3.6.2
appdirs==1.4.4
appnope==0.1.3
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
asttokens==2.1.0
attrs==22.1.0
backcall==0.2.0
backend==<IP_ADDRESS>
beautifulsoup4==4.11.1
bleach==5.0.1
certifi==2022.9.24
cffi==1.15.1
contourpy==1.0.5
cycler==0.11.0
debugpy==1.6.3
decorator==5.1.1
defusedxml==0.7.1
entrypoints==0.4
executing==1.2.0
fastjsonschema==2.16.2
fonttools==4.38.0
functions==0.7.0
idna==3.4
imageio==2.22.3
importlib-metadata==5.0.0
ipykernel==6.17.0
ipython==8.6.0
ipython-genutils==0.2.0
jedi==0.18.1
Jinja2==3.1.2
joblib==1.2.0
jsonschema==4.16.0
jupyter-server==1.21.0
jupyter_client==7.4.4
jupyter_core==4.11.2
jupyterlab-pygments==0.2.2
kiwisolver==1.4.4
MarkupSafe==2.1.1
matplotlib==3.6.1
matplotlib-inline==0.1.6
mistune==2.0.4
nbclassic==0.4.7
nbclient==0.7.0
nbconvert==7.2.3
nbformat==5.7.0
nest-asyncio==1.5.6
networkx==2.8.8
notebook==6.5.2
notebook_shim==0.2.0
numpy==1.23.4
packaging==21.3
pandas==1.5.1
pandocfilters==1.5.0
parso==0.8.3
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.3.0
prometheus-client==0.15.0
prompt-toolkit==3.0.31
psutil==5.9.3
ptyprocess==0.7.0
pure-eval==0.2.2
pycparser==2.21
pyee==8.2.2
Pygments==2.13.0
pyparsing==3.0.9
pyppeteer==1.0.2
pyrsistent==0.19.1
python-dateutil==2.8.2
pytz==2022.5
PyWavelets==1.4.1
pyzmq==24.0.1
randvars==0.0.17
scikit-image==0.19.3
scikit-learn==1.1.3
scipy==1.9.3
Send2Trash==1.8.0
six==1.16.0
sklearn==0.0
sniffio==1.3.0
soupsieve==2.3.2.post1
stack-data==0.6.0
terminado==0.17.0
threadpoolctl==3.1.0
tifffile==2022.10.10
tinycss2==1.2.1
tornado==6.2
tqdm==4.64.1
traitlets==5.5.0
tueplots==0.0.5
urllib3==1.26.12
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.4.1
websockets==10.4
zipp==3.10.0

I can't even install itergp by pip

I cloning the package the my notebook, then execute pip install .
but there is error

I understand, but are you trying to install into a fresh Python environment or into your system environment? There might be package clashes that are not possible for me to debug since I don't have access to your machine.

ok very thanks for help, or may I find you in person next week to solve it?

Sure, no problem. E-mail me and I can try to help.


Parser Exception

Hi shimaore,
Would you help me on this:
Best,
Afshin
/opt/opxi2/node_modules/esl/lib/parser.js:47
header_end = this.buffer.indexOf('\n\n');
^
TypeError: Object Content-Type: auth/request
has no method 'indexOf'
at FreeSwitchParser.module.exports.FreeSwitchParser.capture_headers (/opt/opxi2/node_modules/esl/lib/parser.js:47:32)
at FreeSwitchParser.module.exports.FreeSwitchParser.on_data (/opt/opxi2/node_modules/esl/lib/parser.js:69:21)
at FreeSwitchClient. (/opt/opxi2/node_modules/esl/lib/parser.js:17:24)
at FreeSwitchClient.emit (events.js:95:17)
at FreeSwitchClient. (stream_readable.js:765:14)
at FreeSwitchClient.emit (events.js:92:17)
at emitReadable (_stream_readable.js:427:10)
at emitReadable (_stream_readable.js:423:5)
at readableAddChunk (_stream_readable.js:166:9)
at FreeSwitchClient.Readable.push (_stream_readable.js:128:10)
at TCP.onread (net.js:529:21)

@afshin2003 this was introduced in Node.js 1.5.0, you probably need to upgrade Node.js.
(And I probably need to document this in package.json as well.)

Hi,
Since what version it requires Nodejs 1.5.0 ? And How can I build your project from the source? :)
npm install
???
Afshin

The reference to indexOf was introduced in 44b45e20ba9a0a69b4d8ae8acc65b4ac13d63f56 so it's recent (esl 4.1.0).
Yes, npm install should work, npm run-script prepublish is actually what builds.

Well actually, what happened in 44b45e20ba9a0a69b4d8ae8acc65b4ac13d63f56 is that the parser's buffer was changed from a string to an actual Buffer object. So the dependency was introduced because of that change (esl has always been using indexOf but it was on a string, which is standard JS). I missed the fact that Buffer::indexOf was only introduced recently.

Many thanks
On Tue, 3 Nov 2015 at 21:36, Stéphane Alnet<EMAIL_ADDRESS>wrote:

The reference to indexOf was introduced in 44b45e2
https://github.com/shimaore/esl/commit/44b45e20ba9a0a69b4d8ae8acc65b4ac13d63f56
so it's recent (esl 4.1.0).
Yes, npm install should work, npm run-script prepublish is actually what
builds.
—
Reply to this email directly or view it on GitHub
https://github.com/shimaore/esl/issues/30#issuecomment-153438991.

I understand. It would be nice if you could somehow remove this dependency.
On Tue, 3 Nov 2015 at 21:50, Stéphane Alnet<EMAIL_ADDRESS>wrote:

Well actually, what happened in 44b45e2
https://github.com/shimaore/esl/commit/44b45e20ba9a0a69b4d8ae8acc65b4ac13d63f56
is that the parser's buffer was changed from a string to an actual Buffer
object. So the dependency was introduced because of that change (esl has
always been using indexOf but it was on a string, which is standard JS).
I missed the fact that Buffer::indexOf was only introduced recently.
—
Reply to this email directly or view it on GitHub
https://github.com/shimaore/esl/issues/30#issuecomment-153442970.


Beautification and updates

Changed ANS/AntShares to Neo
In image too
Made 'NOTE' bold because beauty wow

Am I doing this right?

@jhepkema I haven't reviewed your changes (since you closed the PR), but you did submit it correctly. I would encourage you to submit again when you are ready.

Allright, thank you, I submitted it again.


Add --version option

@touilleMan Thank you for this, I've merged these changes onto a new branch with the conflicts resolved. This will be merged via https://github.com/gabrieldemarmiesse/python-autopxd2/pull/21


[Task] Improve docker image

[x] I'm sure this issue is not a duplicate.

As mentioned in #1431 the docker image needs improvements in order to suit our needs.

@vscode-icons/development I have a proposition branch @ https://github.com/JimiC/vscode-icons/tree/docker/docker
I would like your review and suggestions before I submit a PR.

I do not have any experiences with docker unfortunately :/

I didn't have any also, until last Friday. It's not hard or too late to get started. As an added motivator let me tell you that all cloud service apps are moving to containerization. It saves tremendous machine resources.

As an added motivator let me tell you that all cloud service apps are moving to containerization. It saves tremendous machine resources.

my cpu does not support virtualization :c

Then you should ask "dad" to invest in you if you are serious about becoming a prof dev.

ha, lol.

@dderevjanik May this interests you too. I'ld really like your input on this.

If anyone needs more info on the proposed changes please feel free to ask.

@dderevjanik I'm trying to determine what kind of vsi docker images we will need to build via CI.
I have currently setup the pipelines for building vsi:latest.
Will your extension project benefit from a tagged image every time we do a release, (like vsi:7.19.0)?
/cc @robertohuertasm

I can show you also how we can automate your release whenever we do one.

That would be really great to include it into travis :)
Otherwise, I have a weird feeling about building image first... you know, you're compiling and building extension every release, so why not just upload icons.json somewhere ?
My point is, building Image on my own (which includes pull-ing whole repo, doing npm i and other stuff) sounds like a little bit overhead. Everything I need to update icons (icons.json), you already did.

We just don't prefer that kind of solution. I can show you through how you can automate the entire procedure with travis. Just wait till we merge the restructuring PR.

Ok, thank you very much :)

@JimiC I created library vscode-icons-js (inspired by file-icons-js), which generates dictionaries of filenames and their representative icons. It would be great to automate that one.
That means, I'm going to refactor github-vscode-icons to fully depends on vscode-icons-js.

@dderevjanik Great! Will try to have a look at it tomorrow. Otherwise, I'll try to do so on the weekend.

@dderevjanik I took a peek at vscode-icons-js. I figure you still need a way to get our icons.json in the data/generated folder, right?


Rename "Connection Profiles"

Is your feature request related to a problem? Please describe.
IMHO the wording Connection Profiles may not be the best choice. It makes me think of the IBM i connection, but this is more about environments inside the connection - the library list, object/member filters, IFS filters and custom variables.
Describe the solution you'd like
Connection Profiles could be reduced to just Profiles or changed to Environments. Since the settings in the profile are not about the connection to the server but about what is shown from the server, at least Connection should be removed from the title.

You are very right. I think we'll go with 'Profiles' to keep the familiarity for existing users.
This will be part of PR #761.


events/event_object.py AttributeError: type object 'Qt' has no attribute 'Alignment'

change
Qt.Alignment.AlignTop
to
Qt.AlignmentFlag.AlignTop

What version of PyQt6 are you using? I have 6.0.3. We have to figure out which one is more recent.

PyQt6 == 6.1.0
python 3.7, Debian 10.

Corrected.


Electron fuse support for disabling bad flags (--disable-sandbox, --remote-debugging-port, etc.)

Hi Team,
We are working on an project as base. on the electron to build the application for Windows.
I see the in the electron version 12.x.x we merged fuses to support the option "Run as Node" but I see in the ticket here:
https://github.com/electron/electron/pull/24241
This PR implements one use case (disabling ELECTRON_RUN_AS_NODE), other potential use cases which could be implemented in the future using this system.

Disabling bad flags (--disable-sandbox, --remote-debugging-port, etc.)
Disabling the node debugger
Disable the app, app.asar, default_app.asar load path search and enforce only one of those is ever searched
Enforce certain webPrefs (E.g. all webContents must have sandbox, contextIsolation, etc.)
Other wild stuff that depends on other crazy ideas

Could we have the planing for next options support( f.e: - Disabling bad flags (--disable-sandbox, --remote-debugging-port, etc.). What electron version We can support this option?
Thank you very much for support!
Jason

Since there's a ticket about removing these flags, I'll add a couple more options that I'd like to be able to disable:

--inspect-brk
--inspect-brk-node
--inspect-port
--inspect
--inspect-publish-uid
--remote-debugging-pipe
--remote-debugging-port
--js-flags
SIGUSR1

Actually, I made a package that disables all of them by patching the Electron binary in different crazy ways, however I don't like this solution, it's fragile and it's very likely to break. I would love to see support for this in Electron fuses!


Deprecate max_iteration_stop_cryterion

Describe your changes
Closes #1378
Describe any testing you have performed
Please add any demo scripts to CIL-Demos/misc/
Link relevant issues
Closes #1378
Checklist when you are ready to request a review

[x] I have performed a self-review of my code
[x] I have added docstrings in line with the guidance in the developer guide
[x] I have implemented unit tests that cover any new or modified functionality
[x] CHANGELOG.md has been updated with any functionality change
[x] Request review from all relevant developers
[x] Change pull request label to 'Waiting for review'

Contribution Notes
Please read and adhere to the developer guide and local patterns and conventions.

[x] The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License.
[x] I confirm that the contribution does not violate any intellectual property rights of third parties

Ok, I have updated to rename instead of deprecate


Sorting in sessions preview

Columns Elapsed time, Seconds in wait and Client PID should be formatted as numbers, because they are useless for sorting.

Agreed about Elapsed time. Second in wait is already numeric.
Client PID is questionable. I see that in some cases it might be a string..


:sparkles: feat: add antdPrefixCls

Add antdPrefixCls to the return value of useStyles
Add antdPrefixCls to CreateStylesUtils

close #135

please add unit test for this code change

Sure, I have added the requested tests. Please review the updated PR. Thank you!

@arvinxx

Sorry, I will review it tomorrow.


User Management Interface

Adding expanded User Management Interface with following features:

Option to change Account's password
Option to delete Account

Contains changes to Navigation bar

could you please resolve the confict


#1331-part1

Hi @AlmasB ,
I've completed the implementation to allow retrieving diagonal neighbours in the Grid.
Thanks,

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9504e79) 59.69% compared to head (a5039d3) 59.63%.
Report is 9 commits behind head on dev.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #1337      +/-   ##
============================================
- Coverage     59.69%   59.63%   -0.07%
- Complexity     2961     2975      +14
============================================
  Files           308      310       +2
  Lines         15261    15310      +49
  Branches       1560     1562       +2
============================================
+ Hits           9110     9130      +20
- Misses         5628     5657      +29
  Partials        523      523

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@AlmasB I'm facing a codecov bug. I gently added more test coverage in my previous PR attempt and doing this PR made it loose coverage even though this PR contains 100% coverage of what I changed.
This is starting to making me loose considerable professional time and none of my other PRs were merged.
I'm starting to reconsider my initiative to contribute to this engine :(

@AlmasB I'm facing a codecov bug. I gently added more test coverage in my previous PR attempt and doing this PR made it loose coverage even though this PR contains 100% coverage of what I changed.

You can ignore codecov for now, the PR looks fine, happy to merge, but the branch seems to be deleted.

This is starting to making me loose considerable professional time and none of my other PRs were merged. I'm starting to reconsider my initiative to contribute to this engine :(

I'm very sorry this is affecting your professional time. Please do not feel forced to spend time on these changes, as any contribution is meant to be voluntary. If you prefer, I'm happy to edit the PR and then ask for your review before merging.

@AlmasB I'm facing a codecov bug. I gently added more test coverage in my previous PR attempt and doing this PR made it loose coverage even though this PR contains 100% coverage of what I changed.

You can ignore codecov for now, the PR looks fine, happy to merge, but the branch seems to be deleted.

This is starting to making me loose considerable professional time and none of my other PRs were merged. I'm starting to reconsider my initiative to contribute to this engine :(

I'm very sorry this is affecting your professional time. Please do not feel forced to spend time on these changes, as any contribution is meant to be voluntary. If you prefer, I'm happy to edit the PR and then ask for your review before merging.

I've submitted #1338 (cleaner Commit history). It contains only what's requested.


Can we make this more portable pls (node rollup dep)

Node deps don't compile on BSD because of non-portable deps.
To Reproduce
Steps to reproduce the behavior:

gmake host
See error

The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
/root/cata/node_modules/rollup/dist/native.js:84
        throw new Error(
              ^

Error: Your current platform "freebsd" and architecture "x64" combination is not yet supported by the native Rollup build. Please use the WASM build "@rollup/wasm-node" instead.

The following platform-architecture combinations are supported:
android-arm
android-arm64
darwin-arm64
darwin-x64
linux-arm
linux-arm (musl)
linux-arm64
linux-arm64 (musl)
linux-ppc64
linux-riscv64
linux-s390x
linux-x64
linux-x64 (musl)
win32-arm64
win32-ia32
win32-x64

If this is important to you, please consider supporting Rollup to make a native build for your platform and architecture available.

Use WASM build "@rollup/wasm-node" instead perhaps, or not use deprecated APIs?
Desktop (please complete the following information):

OS: [FreeBSD 14, node v20.14.0]

I don't think the deprecation warning has anything to do with this.
Have you tried substituting @rollup/wasm-node? If this works then we can just conditionally enable that for the BSDs I guess.

@MikeJakubik For development purposes I would suggest overriding the dependency in the package.json by adding the following:
"overrides": {
	"vite": {
		"rollup": "npm<EMAIL_ADDRESS>	}
}

Make sure to revert that + the package-lock.json update when comitting any changes.

Closing this as my previous comment should be sufficient to make this work.

"overrides": {
"vite": {
"rollup": "npm<EMAIL_ADDRESS>}
}

Yes, I have tried this, and it works! Is here any way to conditionally add that to package.json if OS == BSD?
[root@fbsd14 /tmp/cata]# uname -a
FreeBSD fbsd14 14.1-STABLE FreeBSD 14.1-STABLE stable/14-9d7622367a GENERIC amd64
[root@fbsd14 /tmp/cata]# go version
go version go1.21.11 freebsd/amd64
[root@fbsd14 /tmp/cata]# node -v
v20.14.0
"overrides": {
	"vite": {
		"rollup": "npm<EMAIL_ADDRESS>	}
}
}
"package.json" 77 lines, 2218 characters
[root@fbsd14 /tmp/cata]# npm install
npm warn deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported

added 462 packages, and audited 463 packages in 31s

145 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

[root@fbsd14 /tmp/cata]# gmake wowsimcata
protoc -I=./proto --go_out=./sim/core ./proto/*.proto
Starting webassembly compile now...
WASM compile successful.
...
✓ built in 27.53s
touch dist/cata/bundle/.dirstamp
touch dist/cata/.dirstamp
rm -rf binary_dist
mkdir -p binary_dist
cp -r dist/cata binary_dist/
rm binary_dist/cata/lib.wasm
rm -rf binary_dist/cata/assets/db_inputs
rm binary_dist/cata/assets/database/db.bin
rm binary_dist/cata/assets/database/leftover_db.bin
mkdir -p binary_dist/cata
touch binary_dist/cata/embedded
cp sim/web/dist.go.tmpl binary_dist/dist.go
Starting server compile now...
Build Completed Successfully

@1337LutZ

"overrides": {
"vite": {
"rollup": "npm<EMAIL_ADDRESS>}
}

Yes, I have tried this, and it works! Is here any way to conditionally add that to package.json if OS == BSD?
[root@fbsd14 /tmp/cata]# uname -a FreeBSD fbsd14 14.1-STABLE FreeBSD 14.1-STABLE stable/14-9d7622367a GENERIC amd64 [root@fbsd14 /tmp/cata]# go version go version go1.21.11 freebsd/amd64 [root@fbsd14 /tmp/cata]# node -v v20.14.0
"overrides": {
	"vite": {
		"rollup": "npm<EMAIL_ADDRESS>	}
}
}
"package.json" 77 lines, 2218 characters
[root@fbsd14 /tmp/cata]# npm install
npm warn deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported

added 462 packages, and audited 463 packages in 31s

145 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

[root@fbsd14 /tmp/cata]# gmake wowsimcata
protoc -I=./proto --go_out=./sim/core ./proto/*.proto
Starting webassembly compile now...
WASM compile successful.
...
✓ built in 27.53s
touch dist/cata/bundle/.dirstamp
touch dist/cata/.dirstamp
rm -rf binary_dist
mkdir -p binary_dist
cp -r dist/cata binary_dist/
rm binary_dist/cata/lib.wasm
rm -rf binary_dist/cata/assets/db_inputs
rm binary_dist/cata/assets/database/db.bin
rm binary_dist/cata/assets/database/leftover_db.bin
mkdir -p binary_dist/cata
touch binary_dist/cata/embedded
cp sim/web/dist.go.tmpl binary_dist/dist.go
Starting server compile now...
Build Completed Successfully

Unfortunately not. NPM doesn't support this kind of logic :(

I was wondering if pnpm or yarn can do conditional patching (which is a terrible idea anyway), but yeah it's such a massive edge case.
One awful approach, but better than manually doing it, is below how I think it might work out.  Forgive my jq query skills.
#!/bin/bash

git restore package.json package-lock.json

git pull

# Check if the overrides section exists, if not create it
if ! grep -q '"overrides"' package.json; then

    # Add the overrides section
    jq --argjson vite '{ "vite": { "rollup": "npm<EMAIL_ADDRESS>} }' '. + { "overrides": $vite }' package.json > temp.json && mv temp.json package.json
else

    # Append to the overrides section because it might exist already for some reason
    jq --argjson vite '{ "vite": { "rollup": "npm<EMAIL_ADDRESS>} }' '.overrides += $vite' package.json > temp.json && mv temp.json package.json
fi

npm install

I don't think any package managers have these kind of overrides supported.
But the Makefile script can work indeed

I don't think any package managers have these kind of overrides supported. But the Makefile script can work indeed

Something like this pseudo code, with echo or sed?
build:

OS := $(shell uname -s)
 ifeq ($(OS),FreeBSD)
  echo "new code" >> package.json

PR submitted for this. You can force it by running make package.json if it doesn't trigger by itself for whatever reason. First time doing anything with a makefile, but according to my tests it works


Add chapter 11 of Rethinking 2

Ready for review.
There are two main points of attention:

The scientific model of the number of tools for the Pacific Islands (page 356 in book, cell Code 11.49 in notebook) runs smoothly but makes terrible predictions, especially for high-contact islands. I suspect it's because the b coefficient for high contact societies is unidentifiable at high population ranges (because there are no samples), but I tried a bunch of different Exponential and HalfNormal priors for this parameter and nothing seems to work. The weird thing is that I think I used the same parametrization as the book.

The first multinomial model behaves weirdly and doesn't replicate the book's results -- possible bug? I added more comments in the notebook.

Thanks a lot for the reviews ✌ I'll re-run the whole NB once we've fixed all the issues.

@aloctavodia and @canyon289 I found a way to improve the scientific model of Oceanic tools 🎉
I used a different trick to scale the population data, and it seems to work -- although I'm not sure why the difference is so big compared to the previous method 🤷
I would very much appreciate @junpenglao's opinion on this, to make sure we didn't miss something -- see the PR's description for more details or tell me if you have questions. And a big thank you in advance!

Blackified the code and adressed @aloctavodia's and @canyon289's comments -- about the ArviZ warning, I chose not to add one dimension, as it clutters the code and it probably comes from a bug. Once this bug is resolved I can rerun the NB.

I solved the problem with the first Multinomial model by taking the first category as pivot instead of the last one (as the last one is very probable compared to the others, it switches the sign of the slope when taken as the pivot). However, this is still a mystery to me why this works in the book -- is it a typo in the book or a bug on PyMC3? 🤷♂ I think we can merge, but maybe we'll have to revisit that.

If all this is good for you, I think this is ready to merge 🎉

It will be a good idea to open issues so we do not forget about this stuff.

True, but I don't know if these are still open issues: maybe what I did solved the problems 🤷♂ I'm counting on the community's peer-reviewing to find out 😅


block specific methods

Can this extension block specific methods for URLs? Sometimes we may want to block POST requests but allow GET ones.

At the moment this is not implemented, but it should be possible to add this filter. I'll look into it when I have the time.

The filter API seems not possible to support this. I have written an extension to support this in another way: https://chrome.google.com/webstore/detail/request-blocker/cblonkdlnemhdeefhmaoiijjaedcphbf

OK, glad you solved it.


Error message in console exposes internal call stack  and not helpful

Bicep version
bicep --version : Bicep CLI version 0.4.1008 (223b8d227a)
Upd: using bicep via az so previous version provided is incorrect.
Correct az bicep version output is Bicep CLI version 0.4.1124 (66c84c8ee5)
Describe the bug
Running deployment which creates 2 TXT records for apex entry in AzureDns produces this error (formatted already:
{
    "status": "Failed",
    "error":
    {
        "code": "DeploymentFailed",
        "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
        "details":
        [
            {
                "code": "Conflict",
                "message": "{\r\n  \"status\": \"Failed\",\r\n  \"error\":
                {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\":
                [\r\n      {\r\n        \"code\": \"DeploymentFailed\",\r\n        \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.\",\r\n        \"details\": [\r\n          {\r\n            \"code\": \"Conflict\",\r\n            \"message\": \"{\\r\\n  \\\"status\\\": \\\"Failed\\\",\\r\\n  \\\"error\\\": {\\r\\n    \\\"code\\\": \\\"ResourceDeploymentFailure\\\",\\r\\n    \\\"message\\\": \\\"The resource operation completed with terminal provisioning state 'Failed'.\\\",\\r\\n    \\\"details\\\": [\\r\\n      {\\r\\n        \\\"code\\\": \\\"DeploymentFailed\\\",\\r\\n        \\\"message\\\": \\\"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.\\\",\\r\\n        \\\"details\\\": [\\r\\n          {\\r\\n            \\\"code\\\": \\\"BadRequest\\\",\\r\\n            \\\"message\\\": \\\"{\\\\r\\\\n  \\\\\\\"error\\\\\\\": {\\\\r\\\\n    \\\\\\\"code\\\\\\\": \\\\\\\"BadRequest\\\\\\\",\\\\r\\\\n    \\\\\\\"message\\\\\\\": \\\\\\\"<?xml version=\\\\\\\\\\\\\\\"1.0\\\\\\\\\\\\\\\" encoding=\\\\\\\\\\\\\\\"utf-8\\\\\\\\\\\\\\\"?>\\\\\\\\r\\\\\\\\n<!DOCTYPE html PUBLIC \\\\\\\\\\\\\\\"-//W3C//DTD XHTML 1.0 Transitional//EN\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\\\\\\\\\\\\\\">\\\\\\\\r\\\\\\\\n\\\\\\\\r\\\\\\\\n  \\\\\\\\r\\\\\\\\n    <title>Request Error</title>\\\\\\\\r\\\\\\\\n    \\\\\\\\r\\\\\\\\n  \\\\\\\\r\\\\\\\\n  \\\\\\\\r\\\\\\\\n
\\\\\\\\r\\\\\\\\n
Request Error
\\\\\\\\r\\\\\\\\n
The server encountered an error processing the request. The exception message is 'There was an error deserializing the object of type Microsoft.WindowsAzure.Dns.Frontend.Common.DataStructures.API.Dns.CsmResourceRecordsPackageBody. Encountered unexpected character '/'.'. See server logs for more details. The exception stack trace is:
\\\\\\\\r\\\\\\\\n
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)\\\\\\\\r\\\\\\\\n   at System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader, Boolean verifyObjectName)\\\\\\\\r\\\\\\\\n   at System.ServiceModel.Dispatcher.SingleBodyParameterDataContractMessageFormatter.ReadObject(Message message)\\\\\\\\r\\\\\\\\n   at System.ServiceModel.Dispatcher.SingleBodyParameterMessageFormatter.DeserializeRequest(Message message, Object[] parameters)\\\\\\\\r\\\\\\\\n   at System.ServiceModel.Dispatcher.DemultiplexingDispatchMessageFormatter.DeserializeRequest(Message message, Object[] parameters)\\\\\\\\r\\\\\\\\n   at System.ServiceModel.Dispatcher.UriTemplateDispatchFormatter.DeserializeRequest(Message message, Object[] parameters)\\\\\\\\r\\\\\\\\n   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.DeserializeInputs(MessageRpc& rpc)\\\\\\\\r\\\\\\\\n   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)\\\\\\\\r\\\\\\\\n   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)\\\\\\\\r\\\\\\\\n   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)\\\\\\\\r\\\\\\\\n   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
\\\\\\\\r\\\\\\\\n
\\\\\\\\r\\\\\\\\n  \\\\\\\\r\\\\\\\\n\\\\\\\"\\\\r\\\\n  }\\\\r\\\\n}\\\"\\r\\n          }\\r\\n        ]\\r\\n      }\\r\\n    ]\\r\\n  }\\r\\n}\"\r\n          }\r\n        ]\r\n      }\r\n    ]\r\n  }\r\n}"
            }
        ]
    }
}

This error is not helpful and exposes inner workings of one of the sides: There was an error deserializing the object of type Microsoft.WindowsAzure.Dns.Frontend.Common.DataStructures.API.Dns.CsmResourceRecordsPackageBody. Encountered unexpected character '/'.'. See server logs for more details.
To Reproduce
Steps to reproduce the behavior: unsure at this point, suspect it's related to the way I'm trying to create TXT record with multiple values for apex entry in dns zone. Will try to create a simple repro steps. So far primary suspect is this code:
resource txtRecords 'Microsoft.Network/dnsZones/TXT@2018-05-01' = [for row in array(dnsRecords.TXT): {
    name: '${dnsZone.name}/${row.name}'
    properties: {
        TTL: row.ttl
        TXTRecords: [
            {
                value: array(row.val)
            }
        ]
    }
}]

where dnsRecords are constructed by reading json file like this
param domainName string

var allZoneRecords = json(loadTextContent('../config/all-dns-records.jsonc'))
var dnsRecords = allZoneRecords[domainName]

all-dns-records.jsonc is:
{
    "example.com": {
        "TXT": [
            {
                "name": "@",
                "val": [
                    "foo",
                    "bar"
                ],
                "ttl": 3600
            }
        ]
    }
}

Additional context

Update: managed to find the culpit - in my full all-dns-records.jsonc file I had a commented out section (for convenience I'm using json with comments) and it's actually embedded an entire content in arm template, thus when arm is generated that comment ended up being embedded into arm itself which makes it an invalid json:
...
 "allZoneRecords": "[json('/*comment here*/{\n\  "valid\":\"json\" \n}')]",
...

Would be great if json() function can generate a meaningful error if json is not valid and fail bicep validation..


Be able to filter by issues that have a "willing to mentor"

Essentially we should be able to filter and surface issues from community members who are willing to put in EXTRA mentoring time. This should be some type of label "mentoravailable"

Done! You can find the labels we are using at the moment here. If you'd like to add more or replace it please let us know 🙂

The next screenshot is not real as no issue is using yet the mentor available label. It was just to illustrate how it would look like.


Add C++ Stack implementation and remove useless Queue header

Closes https://github.com/NITSkmOS/Algorithms/issues/41

@radusqrt rebase your local repo and add code comments so that maintainer can read your code
https://github.com/NITSkmOS/Algorithms/blob/master/GIT_BASICS.md#follow-up


Multiple persons

Is it possible to train a model containing two persons?

I would like to know the answer to this too.
I currently have 8 different 2GB model files, which all work really nicely. I wonder if it's possible to combine them and not risk losing data for any of them.

I think, if you don't prune the new ckpt files, you can just train with one of those as your next  --actual_resume path, since the unpruned one contains all of the master weight ckpt files data.
Gonna do some tests and see!

I tried that but the people became increasingly distorted with each new training/person added.
I'm trying this approach now https://github.com/XavierXiao/Dreambooth-Stable-Diffusion/issues/12 but that so far still ends up with just one person in the model.

Hmm, yeah, I venture they each need to be in different classes, and not over trained? I'm still experimenting too.

Hmm, yeah, I venture they each need to be in different classes, and not over trained? I'm still experimenting too, but noticing some distortions to the classes over time

Eventually, do us the favour of telling the results of your experiments, pls 🙌

Seems like diverse enough classes seem to be okay, but man/woman bleed into each other, perhaps all that are close to each other will bleed into nearby classes?
I'd love a list of the noun classes, or a tree of their structure really, to better understand what it might be doing.

I actually tried this for two subjects with one class name describing two people in a set of images (eg: a photo of persons xx_yy) . After training the model is able to separate 'xx' and 'yy' as separate entities. Eg 'Male Person xx' and 'female person yy' will produce the proper outputs while still retaining the couple aspect. I didn't observe class bleeding but it could be just my experience.

See this discord channel for more discussion on multiple subjects: https://discord.com/channels/1023277529424986162/1034634875782823997


MASSIVE performance improvements

I've noticed a lot of areas in the engine which are badly written / optimized. This PR should help fix most of the issues with performance. A lot of touch ups have been added and code has become easier to read, but the workflow for both source and LUA users should remain the same.

This has been in the works for a while now, so any comments or suggestions would be appreciated!

bro ur coding master

Dude it compiles so fast now you're a coding master.

Thank you! I've been super hard at work on this.

Bro has not heard of long comments

he didnt do all that manually, theres a command in vsc allowing you to comment multiple lines like that with no effort lmfao

Bro has not heard of long comments

couldn't really be assed to do /* */ around the entire class, and it's funnier this way I think

Bro has not heard of long comments

couldn't really be assed to do /* */ around the entire class, and it's funnier this way I think

Also commenting out random stuff doesn't make things run better

well in fact he commented just about everything (excluding imports ofc)
at least he didnt comment the project.xml lolololol-

Also commenting out random stuff doesn't make things run better

well in fact he commented just about everything (excluding imports & project.xml ofc)
at least he didnt comment the project.xml lolololol-

bet (please)

wait this entire pr is just // ?

wait this entire pr is just // ?

Yes

wait this entire pr is just // ?

gunpoint always have been

The joke gets funnier and funnier when you repeat it a hundred times


Consider upgrade maven-site-plugin to 4.0.0-M7

I'd like to contribute zh_TW translation to this repo. I already done here: https://github.com/doggy8088/mybatis-3/tree/zh-tw
It because maven-site-plugin 3.x doesn't support both zh_CN and zh_TW locale, only support zh language. As I know, maven-site-plugin 4.0.0-M7 already solved this problem. I do tried to build site docs using maven-site-plugin 4.0.0-M7 but failed. I don't know how to make it right. So I need someone help to solve this issue.

I'd like to wait until maven finishes milestone madness with the site.  IMO there is too little value to jump to 4 which is really for maven 4 until they are done as it's changing too rapidly with little to no value in between fir users.
In meantime contribute your updates and note on PR for us to apply on site 4 final.
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Will 保哥 @.>
Sent: Friday, April 28, 2023 2:42:48 AM
To: mybatis/mybatis-3 @.>
Cc: Subscribed @.***>
Subject: [mybatis/mybatis-3] Consider upgrade maven-site-plugin to 4.0.0-M7 (Issue #2873)
I'd like to contribute zh_TW translation to this repo. I already done here: https://github.com/doggy8088/mybatis-3/tree/zh-tw
It because maven-site-plugin 3.x doesn't support both zh_CN and zh_TW locale, only support zh language. As I know, maven-site-plugin 4.0.0-M7 already solved this problem. I do tried to build site docs using maven-site-plugin 4.0.0-M7 but failed. I don't know how to make it right. So I need someone help to solve this issue.
—
Reply to this email directly, view it on GitHubhttps://github.com/mybatis/mybatis-3/issues/2873, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHODIZFLWSRJISJV6PYLCLXDNRGRANCNFSM6AAAAAAXOZ6WAU.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Revert "Update SpaceXLegs.netkan"

Reverts KSP-CKAN/NetKAN#6757
Suggests is supports. My fall  ¯\_(ツ)_/¯

We don't need to revert the previous change, we can just change suggests to supports in a new change.

Replaced by #6760.


Experimental Menu/Toolbar handling API

I came up with an idea for declarative handling of Menus and Toolbars. The cool thing is that it's completely user space by using hooks, yet provides a very declarative API.
let make = (...) => component(hooks => {
  // Menu would be global menu but similarly we could pass/access a global menu object
  // if there are cases for multiple menus in apps
  let hooks = Menu.render(~menu=SharedMenus.file, [
      Item.make("Export", ~handler=saveHandler),
      Item.make("Export as...", ~handler=saveAsHandler),
    ], ~priority=100 /* arbitrary integer, we might provide some built ins too */,  hooks);
  ...
})

Behind the scenes it would be an effect that adds/updates the items in a useEffect handler on render and call imperative add/remove there.
Two unanswered questions

[ ] There's a more complex case when we want to have some greyed out elements, how do we model that?
[ ] What's the negotiation model if we have some kind of global identity for common elements like File -> Save

Cool idea @wokalski ! I'm glad you're thinking about this.
What would happen if multiple components call Menu.render - would it be OK for them to call different ~menu's? I guess this is related to your second bullet point.
For Revery - we might want to render this natively in some platforms (ie, OSX), but have custom rendering for others (Windows) - I guess we would need some sort of pluggable back-end for this.
An alternate model I was thinking about this is a JSX-like approach, like:
App.setApplicationMenu(app, (...some sort of state / context) => {
            <Menu>
                 <Submenu label="Edit">
                      <MenuItem role="undo" onClick={doUndo()} />
                      <MenuItem role="redo" onClick={doRedo()} />
                      <Submenu label="Clipboard">
                        <MenuItem role="copy" />
                        <MenuItem role="paste" enabled=false />
                      </Submenu>
                  </Submenu>
             </Menu>
});

I think I would prefer a functional-style API like this after working with Electron's model (which is clunky! https://electronjs.org/docs/api/menu#new-menu).
We could potentially use a separate reconciler for this - and it could dispatch imperative menu update commands to the backing native API.

@bryphe yes, consider rendering an additive operation not a setter. (something else would probably unmount or maybe we could also put some of the menu items behind a reactive condition, i.e. an If effect.
I'd like to avoid setters. Whether we use JSX or not is secondary, I could've used JSX in my first example but kinda went with normal functions 😄
Menu.render would be kind of like returning from render but whatever it "renders" would escape the view hierarchy.


How to create Navigator pop animation?

I made a new class that extends MaterialPageRoute and override buildTransitions to customize transition.

What @najeira describes is correct.
@zskpaco if there's anywhere we should document that better please don't hesitate to file a bug to let us know.


After upgrading from 2.19.0 to 2.21.0, pulumi preview(or up) throws error

Diagnostics:
  pulumi:providers:vultr (default_2_21_0_github_/api.github.com/dirien/pulumi-vultr):
    error: could not read plugin [$HOME/.pulumi/plugins/resource-vultr-v2.21.0/pulumi-resource-vultr] stdout: EOF

  pulumi:pulumi:Stack (theysends-infra-prod):
    error: fatal: failed to Init GRPC to register RPC handlers: failed to create resource provider: info.P must be constructed with ShimProvider or ShimProviderWithContext: found non-conforming type *muxer.ProviderShim

Downgrading from 2.21.0 to 2.19.0 fixed the issue.
Is there anything that I could be a help to fix the issue?

Hey @johnwook,
thanks for letting me know. There must have been a little bug. I fixed it in version v2.21.1. Please upgrade and try again!

Thanks for your quick response :) It's working with verison of v2.21.1


Play sound after deployment?

Hi,
is there an option to run a command on the client after a deployment?
I want to play a sound via afplay /System/Library/Sounds/Glass.aiff.
Thx

@bavarianbytes
Yes, use can run a command via a target operation:
{
    "deploy": {
        "targets": [
            {
                "type": "test",
                "name": "This is a test",

                "deployed": [
                    {
                        "type": "open",
                        "target": "afplay", arguments: [ "/System/Library/Sounds/Glass.aiff" ],
                        "wait": false
                    }
                ]
            }
        ]
    }
}

Another way to do this is, is to use a script:
{
    "deploy": {
        "targets": [
            {
                // ...

                "deployed": [
                    {
                        "type": "script",
                        "script": "./play-sound.js",
                        "options": "/System/Library/Sounds/Glass.aiff"
                    }
                ]
            }
        ]
    }
}

The script (./play-sound.js) can look like that:
exports.execute = function(args) {
    require('child_process').execFileSync(
        "afplay",
        [ args.options ]  // "/System/Library/Sounds/Glass.aiff"
    );
}

If you use relative paths, those paths are mapped relative to your workspace.

Thx for the extensive answer!


Update scalatest to 3.2.4

Updates org.scalatest:scalatest from 3.2.3 to 3.2.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

labels: library-update, semver-patch

Codecov Report

Merging #301 (d0354df) into master (f771f19) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #301   +/-   ##
=======================================
  Coverage   91.35%   91.35%
=======================================
  Files           9        9
  Lines         162      162
  Branches        3        3
=======================================
  Hits          148      148
  Misses         14       14

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 f771f19...d0354df. Read the comment docs.


Kitsu broken on sy stable, requesting stable update with fix if possible

Steps to reproduce

login to kitsu
open manga
try to track

Expected behavior
should track
Actual behavior
Toast error appears saying 'Could not find manga'
Crash logs
No response
Tachiyomi version
1.8.5
Android version
12
Device
galaxy a72
Other details
tried logging in and out on fresh install, still same
kitsu works as expected on Stable 0.13.6
sy preview still unstable, so requesting stable update with fix
Acknowledgements

[X] This is a TachiyomiSY specific issue that does not happen in Tachiyomi Preview.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.8.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Next stable will probably be based on the latest preview anyway. Closing since this issue is uneeded.


Add Minzu University of China

Official website URL: https://www.muc.edu.cn/
Email domain<EMAIL_ADDRESS>Official website URL of long-term IT related course: https://www.muc.edu.cn/info/1037/7170.htm

@smy1999 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


add connection information to resource handler

this gives a resource the ability to get the connection information. This includes the local and remote endpoint (fixes #16)
this is also important when doing transport layer security with authentication where you could add info of the authenticated user to the connection info.

Hey, thank you for the PR! It's nice to see people still using it


Add CircleCI step to generate Docker image and push to Docker hub

Overview
This allows go-pilosa and other client integration tests to run against Pilosa master.
Pull request checklist

[ ] I have read the contributing guide.
[ ] I have agreed to the Contributor License Agreement.
[ ] I have updated the documentation.
[ ] I have resolved any merge conflicts.
[ ] I have included tests that cover my changes.
[ ] All new and existing tests pass.

Code review checklist
This is the checklist that the reviewer will follow while reviewing your pull request. You do not need to do anything with this checklist, but be aware of what the reviewer will be looking for.

[ ] Ensure that any changes to external docs have been included in this pull request.
[ ] If the changes require that minor/major versions need to be updated, tag the PR appropriately.
[ ] Ensure the new code is properly commented and follows Idiomatic Go.
[ ] Check that tests have been written and that they cover the new functionality.
[ ] Run tests and ensure they pass.
[ ] Build and run the code, performing any applicable integration testing.

Since this change isn't truly tested until it hits master, I temporarily pushed a commit that removes the "skip job is this is a PR" step, waited for CI to finish, and then removed the commit and force-pushed. The results are here: https://circleci.com/gh/pilosa/pilosa/1274
The only step that is not tested is the docker login and docker push steps, which I have tested independently, and the credentials are stored in our private CircleCI environment.
I am fairly confident this will work as-is currently.


Sentences: Use variable length sequences

Use variable length sequences so that during prediction entire sequence can be processed. This will require re-training.
Update tensorflow code to be compatible with 2.0.

This was resolved by the work done for #30


Fixed content property value of Twitter card meta tag

[Short description explaining the high-level reason for the pull request]
According to the Reference at https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/summary-card-with-large-image.html, the content value must be set to:
summary_large_image
This should fix the error the Twitter Card validator (https://cards-dev.twitter.com/validator) brings up for http://ccsearch.creativecommons.com.
INFO:  Page fetched successfully
INFO:  10 metatags were found
INFO:  twitter:card = Latest News,Announcements,Images,Videos and features of Creative Commons tag found
ERROR: Invalid card name (Card error)

[Link to existing Issue #]
[If this Pull Request contains any UI changes, provide an image or GIF displaying the changes]

I tested this and it still does not pick up the image.

Please test locally using ngrok (see documentation in https://github.com/creativecommons/cccatalog-frontend/pulls/252) and post a screenshot of what it looks like before re-requesting review.
https://metatags.io/ is a good place to generate meta tags based on how you want the card to look. Based on the tags I generated, the current approach of including the meta tags in the base template will not work, they need to be dynamically injected in once the image details are fetched from the API. We already use the HTML Webpack plugin, it can be used to inject these tags. See: Stack Overflow: How to inject custom meta tags in html-webpack-plugin?.
cc @brenoferreira

@kgodey Thanks for making non-https work locally, I ended up making too much work for myself! Initially I had submitted the pull request just to see if I could fix the errors and get it working for just one page (since I wasn't aware of ngrok at the time). I ended up doing a bit of searching myself and ended up using ngrok to test the meta tags for Twitter, but getting it to work with https took me a while to figure out. The solution at https://github.com/inconshreveable/ngrok/issues/448#issuecomment-468329794 worked for me.
I have a lot on my plate, but I’ll try to figure out a  dynamic solution using the StackOverflow link you posted. If anyone else wants to take a stab at this, feel free!
This code should not generate any images for now, since there is no og:image property in there currently.

@sgrepos thanks! I think it's important to show the image since the image is the point of the page but I'll defer to @brenoferreira if he thinks otherwise.

@kgodey oh yes, I agree image is very important. I did get it working locally using the following sample code:
<meta property="og:image" content="http://graphics8.nytimes.com/images/2011/12/08/technology/bits-newtwitter/bits-newtwitter-tmagArticle.jpg" />
But as you said, it will need to be implemented so that the URL is generated automatically.

Ok. I will make changes on meta tags

It's been over a week since the last update so I'm marking this issue "help wanted" again.

I've used a package vue-head in #260 to dynamically add <link> tags inside <head>. I've started working on a PR that solves this as well as adds meta tags to show images for all major social media platforms as pointed out in #269, #270 and long back in #165.

@dhruvkb are you still working on this?

I tried but I do not have any solution to this, atleast not on the frontend side. There might be a backend-based solution
.

I don't think currently we can display a dynamic image in those meta tags. All the html is static. We can display a CC logo or any other static image, but not anything dynamic @kgodey

has anyone investigated https://prerender.io/ or similar tools? I'm not sure how else we can show the image in the FB/Twitter preview without loading it dynamically.

We would have to add some kind of server side rendering in order to render the images on social media cards. I'm not sure if that prerender service would be required for that

yeah, we wouldn't need the service if we were rendering that part of the page server-side but that's a pretty big change. let's talk about it in our next sprint planning meeting to see how doable this is before 1.0.


Update Angular template so that FetchDataComponent emulates what AngularCLI generates

Can you please update the Angular template so that by default the FetchDataComponent emulates what the AngularCLI generates when you add a new component via ng g c MyComponent?
More specifically:

IMPORTANT: Implement OnInit and make your service call within the ngOnInit() method.

Consider injecting in a service class and wrapping your weatherforecast logic in that service. This demonstrates dependency injection and is more unit test friendly.

2B) If that's to much - maybe just a code comment that states that this is a simple example with 'http.get' and that the more recommended approach is to pass in a service class to trigger in ngOnInit, ideally using observables (via .subscribe).
Great work guys! keep it up!
-Chris

Would you consider submitting a PR for item 1 on your list?
For item 2, this is something we're specifically avoiding to minimise concept count like you suggested, but yes we could add a comment linking to some Angular docs about service classes.


[Do not merge] New Batch API version 2018-03-01.6.1

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

@anuchandy Could you review this? We plan release this feature within 1 week.

@xingwu1 looks good, is it ready to merge? noted that you have "don't merge" in the title.

@anuchandy Thank you for the review. Just try to get bless from SDK team to prevent any wrong doing. Please do not merge until my notification.

Automation for azure-sdk-for-node

Automation for azure-libraries-for-java

@AutorestCI rebuild azure-sdk-for-go

@anuchandy The server is ready. You can merge this spec.
Thanks

@anuchandy Ping...

@AutorestCI @anuchandy Anyone help me to merge it?

I didn't understand your command:
@anuchandy Anyone help me to merge it?

in this context, sorry :(
This is what I can do:

rebuild
help : this help message

I didn't understand your command:
@anuchandy Anyone help me to merge it?

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
@anuchandy Anyone help me to merge it?

in this context, sorry :(
This is what I can do:

rebuild
help : this help message

@anuchandy I know it was assigned to you, but since you approved and we have context with @annatisch on the Python side and it's fine, we decided to merge it. Please tell us @annatisch and me if you have concerns. Thanks!


make search form for courses, with instant selection of classes

updated, now with some course index changes, and better searching for professors and semesters

:+1:


Epsagon trace split with DynamoDB SDK V3 ?

Hi team,
We just started using Epsagon to monitor our new project build on AWS, with Lambda, DynamoDB and Event Bridge.
We monitor our Lambdas using the SDK and it works well ! (We write code in Typescript fwiw)
We have only one issue :
A lambda (firstLambda) is triggered by an HTTP Event and pushes an item to Dynamo (using SDK V3)
Another lambda (fanout) listens to DynamoDB Stream and forwards the event to EventBridge.
The trace of the execution is split in two and in the first Lambda trace, we don't even see the push to Dynamo.
Following this article that was great, I added a custom label originalRequestId to try to help getting the trace back together. It is correctly applied and we see it in Epsagon, so we can use it to manually follow our flow execution, but it doesn't help for the trace integrity.

(lambda and app names were edited)

Found another issue with ConditionalCheckFailedException.
Using epsagon.stepLambdaWrapper will somehow overwrite ConditionalCheckFailedException from the SDK, returning undefined but still reporting the trace correctly. Removing epsagon.stepLambdaWrapper will work as expected
import { ClientDefaults, DynamoDB } from "@aws-sdk/client-dynamodb";
import { TestQuery } from "./testQuery";
import epsagon from "epsagon";

epsagon.init({
  token: process.env.EPSAGON_TOKEN,
  appName: `test`,
  metadataOnly: false,
});

const clientDefaults: ClientDefaults = {
  region: "eu-central-1",
};
const dynamoClient = new DynamoDB(clientDefaults);

export const handler = epsagon.stepLambdaWrapper(async() => {
  const testQuery = new TestQuery(dynamoClient);
  await testQuery.execute();
  console.log("Done!");

  const response = {
      statusCode: 200,
      body: JSON.stringify('Hello from Lambda!'),
  };
  return response;
});
-------

import { DynamoDB, PutItemCommand, PutItemCommandInput } from "@aws-sdk/client-dynamodb";

export class TestQuery {
    constructor(private readonly dynamoClient: DynamoDB) {}

    public async execute(): Promise<void> {
        const version = "1";
        const putItemParams: PutItemCommandInput = {
            Item: {
                productId: {
                    S: "p-123",
                },
                title: {
                    S: "Some Title",
                },
                version: {
                    S: version,
                },
            },
            ExpressionAttributeValues: {
                ":version": {
                    S: version,
                },
            },
            ConditionExpression: "version <> :version",
            TableName: "product",
        };

        // ACT
        const request1 = new PutItemCommand(putItemParams);
        const request2 = new PutItemCommand(putItemParams);

        await Promise.all(
            [
                this.processQuery(this.dynamoClient, request1),
                this.processQuery(this.dynamoClient, request2),
            ]);
    }

    private async processQuery(dynamoClient: DynamoDB, command: PutItemCommand): Promise<void> {
        try {
            const result = await dynamoClient.send(command);
            console.log("Send command executed!");
            console.log(result);
        }
        catch (error) {
            console.log("Error!");
        if (error.name === "ConditionalCheckFailedException") {
                console.log("ConditionalCheckFailedException");
            }
            else {
                console.log("Other error");
                console.log(error);
            }
        }
    }
}


[R24.08] Quality Gate Checklist

QG checks
Please open and fill in this issue in your product repository to document the compliance with our Tractus-X Release Guideline (TRGs)
Show compliance with TRGs by referencing to a tagged link in the respective repository where possible, example: TRG 1.01 (see github.com/eclipse-tractusx/example-repo/tree/1.0.0/README.md)
Close this issue once the compliance with the TRGs has been documented
Committer(s): @tom-rm-meyer-ISST
Helm Chart Version: 2.7.0
App Version: 2.1.0
Release Management Reference Issue: https://github.com/eclipse-tractusx/sig-release/issues/795
Check of Tractus-X Release Guidelines

Currently implemented automatic checks can be found under your product on our Release Guidelines Checks Board
This QG Check is depending on the mandatory information from our current Release Guidelines

TRG 1 Documentation

[x] TRG 1.01 appropriate README.md (see here)
[x] TRG 1.02 appropriate install instructions either INSTALL.md or in README.md (see INSTALL.md and Chart README.md)
[x] TRG 1.03 appropriate CHANGELOG.md (see here)
[x] TRG 1.04 editable static files (see here)
[x] TRG 1.05 architecture documentation (see here)
[x] TRG 1.06 administrator's guide (see here)
[x] TRG 1.07 user guide available (see README.md and userGuide)
[x] TRG 1.08 open api documentation available (see README.md)

TRG 2 Git

[x] TRG 2.01 default branch is named main (see here)
[x] TRG 2.03 repository structure (see quality gate action run)
[x] TRG 2.04 leading product repository (see here but only this repo)
[x] TRG 2.05 .tractusx metafile in a proper format (see here)
[x] TRG 2.06 Dependabot (see here)

TRG 3 Kubernetes

[x] TRG 3.02 persistent volume and persistent volume claim or database dependency (subchart) are in place when needed (see chart of dependency postgresql)

TRG 4 Container

[x] TRG 4.01 semantic versioning and tagging  (see frontend, backend)
[x] TRG 4.02 base image is agreed   (see frontend, backend)
[x] TRG 4.03 image has USER command and Non Root Container (see frontend, backend)
[x] TRG 4.05 released image must be placed in DockerHub, remove GHCR references  (see frontend, backend)
[x] TRG 4.06 separate notice file for DockerHub has all necessary information (see frontend, backend)
[x] TRG 4.07 root file system is set to read access by default, but can be overwritten by the user (see frontend, backend)
[x] TRG 4.08 multi platform builds (see frontend, backend)

TRG 5 Helm

[x] TRG 5.01 Helm chart requirements (see here)
[x] TRG 5.02 Helm chart location in /charts directory and correct structure (see quality gate action run)
[x] TRG 5.03 proper version strategy  (see here)
[x] TRG 5.04 CPU / MEM resource requests and limits and are properly set (see frontend, backend)
[x] TRG 5.06 Application must be configurable through the Helm chart  (see here)
[x] TRG 5.07 Dependencies are present and properly configured in the Chart.yaml (see dependency, config)
[x] TRG 5.08 Product has a single deployable helm chart that contains all components  (see here)
[x] TRG 5.09 Helm Test running properly (see here)
[x] TRG 5.10 Products need to support 3 versions at a time (see v1.28.9, v1.29.4, v1.30.0)
[x] TRG 5.11 Upgradeability (see here)

TRG 6 Released Helm Chart

[x] TRG 6.01 Released Helm Chart  (see here)

TRG 7 Open Source Governance

[x] TRG 7.01 Legal Documentation (see here)
[x] TRG 7.02 License and copyright header  (see updated)
[x] TRG 7.03 IP checks for project content  (see here)
[x] TRG 7.04 IP checks for 3rd party content (see DEPENDENCIES_BACKEND, DEPENDENCIES_FRONTEND)
[x] TRG 7.05 Legal information for distributions (see frontend, backend)
[x] TRG 7.06 Legal information for end user content (see here)
[x] TRG 7.07 Legal notice for documentation (see here, here, all docs)
[x] TRG 7.08 Legal notice for KIT documentation (see as above / not a kit but non_code parts)

TRG 8 Security

[x] TRG 8.01 Mitigate high and above findings in CodeQL (see here)
[x] TRG 8.02 Mitigate high and above findings in KICS (see here)
[x] TRG 8.04 Mitigate high and above findings in Trivy (see here)
[x] TRG 8.03 No secret findings by GitGuardian or TruffleHog (see here)

TRG UX/UI Styleguide

[x] TRG 9.01 UX consistency / Styleguide for UI (see Changelog with Known Knowns)

Hints
Information Sharing

Done


chore(ci): fix repo references

Description of your changes

This PR fixes two more issues with the CI workflows: one related to origin checks, and the other with a broken link.
For some workflows that have access to privileged environments we use if statements to check that the workflow is running in the correct repository. The workflow used to publish the docs was doing this check but incorrectly using the Python repo name, this was the result of a wrong copy/paste.
Additionally, the URL for the acknowledgement section in the pull request template was incorrect. This PR updates the URL to the correct location.
Related issues, RFCs

Issue number: #1799
Checklist

[x] My changes meet the tenets criteria
[x] I have performed a self-review of my own code
[ ] I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my change is effective and works
[x] The PR title follows the conventional commit semantics

Breaking change checklist
Is it a breaking change?: NO

[ ] I have documented the migration process
[ ] I have added, implemented necessary warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

This should hopefully be the last PR related to docs workflow configs for a while.


Backend errors not being surfaced for "zapi query"

Repro is with Zed commit 6255197.
I start a Zed Lake service in a directory that I'll later also access directly at the filesystem layer via the $ZED_LAKE_ROOT variable.
$ zed -version
Version: v0.29.0-384-g62551977

$ rm -rf $ZED_LAKE_ROOT
$ mkdir $ZED_LAKE_ROOT
$ cd $ZED_LAKE_ROOT

$ zed lake serve
{"level":"info","ts":1623708448.510771,"msg":"Open files limit raised","limit":24576}
{"level":"info","ts":1623708448.513107,"logger":"core","msg":"Started"}
{"level":"info","ts":1623708448.5133781,"logger":"httpd","msg":"Listening","addr":"[::]:9867"}
...

From another window using zapi to hit the service, I load some data and query it successfully at a specific commit.
$ zapi create -p logs
pool created: logs

$ zapi load -p logs ~/work/zed-sample-data/zeek-default/weird.log.gz
1txR49feukNIjY5vXH1f6fTvXFP committed

$ zapi query -z 'from logs at 1txR49feukNIjY5vXH1f6fTvXFP | count()'
{count:24048 (uint64)} (=0)

However, if I enter garbage as the commit ID, it silently returns nothing.
$ zapi query -z 'from logs at TotalGarbage | count()'
[no output]

$ echo $?
0

If I perform the equivalent operation at the filesystem layer via zed lake, I do see the expected error.
$ zed lake query -z 'from logs at TotalGarbage | count()'
TotalGarbage: invalid commit ID

$ echo $?
1

Revisiting the zapi one, if I sniff the traffic in Wireshark, I can see the error is returned, but it looks like it's wrapped in an HTTP 200 OK.
Request:
POST /query HTTP/1.1
Host: localhost:9867
User-Agent: zqd-client-golang
Content-Length: 47
Accept: application/x-zng
Content-Type: application/json
Accept-Encoding: gzip

{"query":"from logs at TotalGarbage | count()"}

Response:
HTTP/1.1 200 OK
Content-Type: application/x-zng
X-Request-Id: 1txRPvDLsqLtpXP7Rh3ilPrKpaM
Date: Mon, 14 Jun 2021 22:12:12 GMT
Content-Length: 59

..8{error:"TotalGarbage: invalid commit ID"} (=QueryError)

Without trying to replicate at the zapi layer everything that could fail at the zed lake level, I'm now a little nervous that there might be other mishandling-of-errors lurking in there. If feasible, as this one is being fixed, it might be worth a thorough audit to save us from having to find these one at a time.

I've confirmed this is not isolated to that one particular error. While running a test with Zed commit ae69cac I confirmed the error message associated with #2736 similarly is not surfaced.
In one window:
$ zed -version
Version: v0.29.0-387-gae69cacc

$ rm -rf $ZED_LAKE_ROOT
$ mkdir $ZED_LAKE_ROOT
$ cd $ZED_LAKE_ROOT

$ zed lake serve
{"level":"info","ts":1624212980.1013582,"msg":"Open files limit raised","limit":24576}
...

In another:
$ zapi create -p logs
pool created: logs

$ zapi load -p logs ~/work/zed-sample-data/zeek-default/weird.log.gz
1uDvV2skPdGnjJkHjiFzIWLS4Lg committed

$ zapi query -z 'from NonExistentPool | count()'
[no output]

$ echo $?
0

Sniffed in Wireshark, the request:
POST /query HTTP/1.1
Host: localhost:9867
User-Agent: zqd-client-golang
Content-Length: 42
Accept: application/x-zng
Content-Type: application/json
Accept-Encoding: gzip

{"query":"from NonExistentPool | count()"}

Response:
HTTP/1.1 200 OK
Content-Type: application/x-zng
X-Request-Id: 1uDvao4BAhEvk1wzcoKuO039bXO
Date: Sun, 20 Jun 2021 18:17:19 GMT
Content-Length: 66

..?{error:"Valid encoded KSUIDs are 27 characters"} (=QueryError)

Verified in Zed commit 96be300.
Repeating the repro steps, now zapi surfaces the expected error messages that were not showing up before.
$ zapi query -z 'from logs at TotalGarbage | count()'
TotalGarbage: invalid commit ID

$ zapi query -z 'from NonExistentPool | count()'
NonExistentPool: pool not found

Thanks @mattnibs!


Style problem

Hi, good work your gallery app but in version 1.0.5 the card2 style is the same as card style. In version 1.0.4 it was correct. This problem exists in Google Play and Izzy repo.

They should be the same. But they look pretty similar. It is easier to see in the light theme, that the cards style has rounded corners and the cards are elevated.

Ok, i understand what you mean but for me the old variant with no gap (style2) was better. But no problem. It's not the end of the world. I close this issue.


UI Improvements

Manga order by title in library
New chapter list item design
Chapter item popup
Color normalisation to Material Design pallete
Theme and style fixes
Catalog grid auto column num

Looks fine. Thanks :)


Add Custom AWB Gain

Is your feature request related to a problem? Please describe.
After successfully maintaining a stable stream on a pi4 w/HQ camera combo I started testing pi3B+ w/different camera modules I had on hand. Eventually I tested with a Lintest HD-1 hat and found that I could get a stable and performative stream but colors were unusable as in raspivid the HD-1 uses awb off, red Gain set to 1.0, and blue Gain set to 1.0, but gain control is not exposed in this project.
Describe the solution you'd like
MMAL_PARAMETER_CUSTOM_AWB_GAINS available (preferably modifiable with the config file)
Describe alternatives you've considered
I'm still trying to figure this out myself but I'm not having much luck, so the only other alternative I have is that I am going to explore some other HDMI -> CS-2 modules as well but that's more avoid the problem then an alternative solution.

Sounds like a good idea. I'll have a look at this hopefully this weekend.

Ok, so it might be nearly a year on, but I have finally now implemented this in code! (sorry for the delay - life happened)

Thanks! Even a year out still beat my availability to work through it. I'm going to test the latest revision on my HQ sensor equipped Pi4 this weekend and I should be able to test the AWB settings on the hat I requested the change for in 2 weeks (I'm traveling and that particular unit doesn't travel well). If I see any notable oddities I'll open a new issue and let you know.


Replace nOperatingMode of MceManualMotionIO by a boolean

nOperatingMode input expects a machine operating mode input that was specific for a certain application.
We should make it a boolean and rename it like bJogMode or bManualMode.

It would not be just one bit. With operating mode, we wanted to cover also semi-auto.
So if you want to create bits, it would need at least three:
  nOperatingMode:
    description: |
      Machine operating mode.
      This signal is produced by [`MceOperatingMode`](../../functions/mceoperatingmode).
    type: USINT
    default_value: "0"
    comment: "input: machine operating mode [0=none, 1=manual, 2=semi-auto, 3=auto]"
    legend:
      "0": none
      "1": manual mode
      "2": semi-automatic mode (step by step)
      "3": automatic mode

And these mode bits would need to be passed to lower level functions.
The original idea was to use one operating mode (usint) and pass that, so that lower level functions have all information.

I proposed this modification because the operating mode is not standard for every user.
So it may not be convenient to switch from the user own "operating mode" definition to the operating mode used by MceManualMotion.
More over, MceManualMotion only checks for nOperatingMode = 1.
All other modes are not considered (at least for now).
And finally, no other Mce's FB uses this operating mode definition.
It was used by upper-level function in the first version of Mce, but never passed to low-level functions such as McePosTable.
However, as a counter argument, it could be interesting to pass nOperatingMode to McePosTable so it can be disabled when the operating mode is none or manual mode.
Note that this information is already present as MLX.JoggingMode.

Let's further discuss this in a Teams call tomorrow.


example csv file for running score.py

Hi,
Could you provide some examples for this column value?
<feature> : Scalar label of the feature for optimization

Following up on this, I wonder if the authors can also provide some example files for running scoring? I am trying to reproduce the results reported in the paper but not sure how I should pre-process the S669 dataset. Thank you!

Hi @TangYiChing an example for this value is the experimental ddG of each mutation to compare with the models predictions.
@tonytu16 I've added the fireprot_homologue_free.csv as an example

Hi @TangYiChing an example for this value is the experimental ddG of each mutation to compare with the models predictions.
@tonytu16 I've added the fireprot_homologue_free.csv as an example

Thank you, Talla, for clarification.


more-dropdown-links broken on mobile only

For the longest time, more-dropdown-links was being displayed on top of the regular navigation. I always thought it was somehow breaking the overflow navigation, but I just found out that GitHub simply does not enable the overflow dropdown on mobile, for good reason.

I think in this case we should add the dropdown links directly to the nav bar. This situation is detectable via exists('.js-responsive-underlinenav')
We could also partially disable clean-repo-tabs in this case since it partially relies on the dropdown.

Feature disable. This suggestion is still valid:

think in this case we should add the dropdown links directly to the nav bar

we should add the dropdown links directly to the nav bar

Meh, not worth it

The problem is the amount of coded needed for links that are rarely useful on an extension target that has relatively very few users.


Implement the optimization for the Spring application as custom rule(s)

Details
Normalizer should optimize Factorial calculation via custom rules.
Questions

Which optimization should be used for the application?

Subtasks

[ ] Implement the optimization as a custom rule.

@maxonfjvipon @volodya-lombrozo, which optimization should be used for the Spring application?

I think this must be closed now, in favor of #470. Feel free to reopen if necessary.


[CHORE] improve codebase and refactoring

Description

improve code structure
Improve code if there is a requirement
Optimise logics
Remove any unused package (If any)
Optimise images etc.

Should i do it

@leewan-09 sure 👍


panic: runtime error: invalid memory address or nil pointer dereference

The imagor service has been crashing periodically with the following error message:
panic: runtime error: invalid memory address or nil pointer dereference
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x64
golang.org/x/sync/singleflight.newPanicError({0xe45820?, 0x1a42860})
        /go/pkg/mod/golang.org/x/sync@v0.3.0/singleflight/singleflight.go:35 +0x28
golang.org/x/sync/singleflight.(*Group).doCall.func2.1()
        /go/pkg/mod/golang.org/x/sync@v0.3.0/singleflight/singleflight.go:184 +0x40
panic({0xe45820, 0x1a42860})
        /usr/local/go/src/runtime/panic.go:884 +0x1f4
cloud.google.com/go/storage.(*Reader).Read(0x0, {0x400289ec00, 0x4002505288?, 0x200})
        /go/pkg/mod/cloud.google.com/go/storage@v1.31.0/reader.go:215 +0x24
io.ReadAtLeast({0xfb7a562c4520, 0x0}, {0x400289ec00, 0x200, 0x200}, 0x200)
        /usr/local/go/src/io/io.go:332 +0xa0
github.com/cshum/imagor.(*Blob).doInit(0x4000a90090)
        /go/src/github.com/cshum/imagor/blob.go:286 +0x388
sync.(*Once).doSlow(0x0?, 0x0?)
        /usr/local/go/src/sync/once.go:74 +0x100
sync.(*Once).Do(...)
        /usr/local/go/src/sync/once.go:65
github.com/cshum/imagor.(*Blob).init(...)
        /go/src/github.com/cshum/imagor/blob.go:232
github.com/cshum/imagor.(*Blob).Err(0x4000a90090?)
        /go/src/github.com/cshum/imagor/blob.go:507 +0x54
github.com/cshum/imagor.checkBlob(...)
        /go/src/github.com/cshum/imagor/blob.go:517
github.com/cshum/imagor.(*Imagor).fromStoragesAndLoaders(0x0?, 0x4002871a00, {0x40003eb5b0, 0x1, 0x1}, {0x40003eb610, 0x1, 0x0?}, {0x400286e050, 0x43})
        /go/src/github.com/cshum/imagor/imagor.go:514 +0x254
github.com/cshum/imagor.(*Imagor).loadStorage(0x4000323d40, 0x44655c?, {0x400286e050, 0x43})
        /go/src/github.com/cshum/imagor/imagor.go:483 +0x70
github.com/cshum/imagor.(*Imagor).Do.func2({0x1312268, 0x4001d9f4d0}, 0x4002c7fb10)
        /go/src/github.com/cshum/imagor/imagor.go:359 +0x5b8
github.com/cshum/imagor.(*Imagor).suppress.func2()
        /go/src/github.com/cshum/imagor/imagor.go:613 +0xa8
golang.org/x/sync/singleflight.(*Group).doCall.func2(0x4002505f46, 0x4003b4f8b0, 0x400286a000?)
        /go/pkg/mod/golang.org/x/sync@v0.3.0/singleflight/singleflight.go:189 +0x60
golang.org/x/sync/singleflight.(*Group).doCall(0x0?, 0x4002948f58?, {0x40026aac30?, 0x46f0f4?}, 0x400233b9e0?)
        /go/pkg/mod/golang.org/x/sync@v0.3.0/singleflight/singleflight.go:191 +0x84
created by golang.org/x/sync/singleflight.(*Group).DoChan
        /go/pkg/mod/golang.org/x/sync@v0.3.0/singleflight/singleflight.go:129 +0x388
goroutine 332790 [running]:
golang.org/x/sync/singleflight.(*Group).doCall.func1.2()
        /go/pkg/mod/golang.org/x/sync@v0.3.0/singleflight/singleflight.go:158 +0x2c
created by golang.org/x/sync/singleflight.(*Group).doCall.func1
        /go/pkg/mod/golang.org/x/sync@v0.3.0/singleflight/singleflight.go:158 +0x2ac

A couple of relevant notes:

The crash came at a surge in traffic, which peaked at 41 req/s to this single-core instance (significantly in excess of the 2 * n_cpu advice I've seen given in other issues). The reason for the concurrency is that I am currently scaling based on target CPU utilization rather than number of connections (and CPU utilization maxed out at < 40% during this surge). Let me know if you think this is unwise / could be the cause. If it is, I wonder if you have any advice on how I can run imagor in such a way that allows for higher CPU utilization?
As an experiment, I am running on Ampere Altra-based ARM VMs (which required me to build the imagor Docker container for the linux/arm64 platform). While things generally appear to be working as expected, I'm noting it here in case it raises any red flags.

Fixed in v1.4.16


address_expr_collector: ability to find a set of address expressions used in the source code.

We need to implement a visitor that will scan through an AST and gather all address expressions that are there. It should handle us back a set of unique expressions.
Copy-pasting the first-draft definitions:
An address variable is any variable x that occurs (within the program) in

the left-hand side of any memory allocation x := cons(...)
the left-hand side of any store statement [x] := ...
the right-hand side of any dereferencing ... := [x]
any memory deallocation operator dispose(x)
any address expression

The address expressions (within the program) are

all address variables
all subexpressions of any address expression
all expressions t, constructed from C and V using addition and
subtraction, that occur in the right-hand side of any assignment to
any address variable x := t
all expressions x +1, ..., x +k such that the program has the memory
allocation x := cons(c_0 , ..., c_k)

Hm... what about the complexity of expressions? Should load or store accept address expressions?
var x := cons(1, 2, 3)
var y := cons(1, 2, 3)
[x] := -1
[x + 1] := -2   // store
[x + 2] := -[x] // ???
x := [y + 1]    // load

I think like this?
[address expr] := expr
var := [address expr]

The subexpression rule seems bogus, forgive me please....

Also, if we assign to an integer variable a value involving a pointer -> this variable becomes entangled with the pointer. If lose the original pointer, we still have access to the memory via this second variable...
Second, it seems to be a borderline case to have several pointers in the same expression, after all a variable should be linked to a single allocation. If we have several pointers in an expression, the variable's value becomes trash, no matter if overflow happens or not. Though, even with this monster variable, if we lose any pointer from that expression, the memory it pointer to can still be inferred from this monster and freed, so this should not be considered a leak... yet...

About inferring address expressions... what should be the address expressions for this snippet?
x := alloc(2)
y := alloc(3)
z := 0
if ...
    z := x
else
    z := y
end

dispose(x)
dispose(y)
dispose(z) // <- warning 100%


did:webs draft

Leaving this draft specification here, I believe this will be moved to ToIP soon:
https://dhh1128.github.io/did-method-webs/index.html
Looks promising!

It was just moved to TOIP
https://trustoverip.github.io/tswg-did-method-webs-specification/index.html
I can propose a pr this week


Added 'Data Analyst, Data Engineer and DNA of Amazon, Apple, Facebook…

…, and Google'
Just added some Tech related Job and BEST Book of all times that sharpens the brain for great eXploits!!
" The Four: The Hidden DNA of Amazon, Apple, Facebook, and Google"

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Reason:  We no longer accept PRs adding book references.  We suggest you visit https://www.freecodecamp.org/forum/c/reviews and give a review of the book instead.
Thank you and happy coding.