AttributeError: 'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'

Trying to fine-tune a Falcon model with the command deepspeed train.py --per_device_train_batch_size 1 --do_train --max_train_samples 500 --num_train_epochs 1
I have 4 [NVIDIA A100-SXM4-80GB]
deepspeed-0.10.2
Python 3.9.12
Pytorch 2.0.1+cu117
Getting the error "AttributeError: 'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'"
Below the whole thing, if anyone cares to read it :)
Loading extension module cpu_adam...
Traceback (most recent call last):
File "/32Tb/train.py", line 23, in
Loading extension module cpu_adam...
main()
File "/32Tb/train.py", line 13, in main
happy_gen.train(train_txt_path, args=train_args, eval_filepath=eval_txt_path)
File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_generation.py", line 92, in train
Traceback (most recent call last):
File "/32Tb/train.py", line 23, in
Loading extension module cpu_adam...
main()
File "/32Tb/train.py", line 13, in main
happy_gen.train(train_txt_path, args=train_args, eval_filepath=eval_txt_path)
File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_generation.py", line 92, in train
super(HappyGeneration, self).train(input_filepath, args, eval_filepath)
super(HappyGeneration, self).train(input_filepath, args, eval_filepath)
File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_transformer.py", line 110, in train
File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_transformer.py", line 110, in train
self._run_train(train_tok_data, eval_tok_data, args,  self._data_collator)self._run_train(train_tok_data, eval_tok_data, args,  self._data_collator)
File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_transformer.py", line 272, in _run_train
File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_transformer.py", line 272, in _run_train
trainer.train()trainer.train()
File "/root/anaconda3/lib/python3.9/site-packages/transformers/trainer.py", line 1555, in train
File "/root/anaconda3/lib/python3.9/site-packages/transformers/trainer.py", line 1555, in train
Traceback (most recent call last):
File "/32Tb/train.py", line 23, in
main()
File "/32Tb/train.py", line 13, in main
happy_gen.train(train_txt_path, args=train_args, eval_filepath=eval_txt_path)
File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_generation.py", line 92, in train
super(HappyGeneration, self).train(input_filepath, args, eval_filepath)
File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_transformer.py", line 110, in train
self._run_train(train_tok_data, eval_tok_data, args,  self._data_collator)
File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_transformer.py", line 272, in _run_train
trainer.train()
File "/root/anaconda3/lib/python3.9/site-packages/transformers/trainer.py", line 1555, in train
return inner_training_loop(return inner_training_loop(return inner_training_loop(
File "/root/anaconda3/lib/python3.9/site-packages/transformers/trainer.py", line 1687, in _inner_training_loop
File "/root/anaconda3/lib/python3.9/site-packages/transformers/trainer.py", line 1687, in _inner_training_loop
File "/root/anaconda3/lib/python3.9/site-packages/transformers/trainer.py", line 1687, in _inner_training_loop
model, self.optimizer, self.lr_scheduler = self.accelerator.prepare(model, self.optimizer, self.lr_scheduler = self.accelerator.prepare(model, self.optimizer, self.lr_scheduler = self.accelerator.prepare(
File "/root/anaconda3/lib/python3.9/site-packages/accelerate/accelerator.py", line 1198, in prepare
File "/root/anaconda3/lib/python3.9/site-packages/accelerate/accelerator.py", line 1198, in prepare
File "/root/anaconda3/lib/python3.9/site-packages/accelerate/accelerator.py", line 1198, in prepare
result = self._prepare_deepspeed(*args)result = self._prepare_deepspeed(*args)result = self._prepare_deepspeed(*args)
File "/root/anaconda3/lib/python3.9/site-packages/accelerate/accelerator.py", line 1531, in _prepare_deepspeed
File "/root/anaconda3/lib/python3.9/site-packages/accelerate/accelerator.py", line 1531, in _prepare_deepspeed
File "/root/anaconda3/lib/python3.9/site-packages/accelerate/accelerator.py", line 1531, in _prepare_deepspeed
optimizer = DeepSpeedCPUAdam(optimizer.param_groups, **defaults)optimizer = DeepSpeedCPUAdam(optimizer.param_groups, **defaults)optimizer = DeepSpeedCPUAdam(optimizer.param_groups, **defaults)
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 94, in init
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 94, in init
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 94, in init
self.ds_opt_adam = CPUAdamBuilder().load()
self.ds_opt_adam = CPUAdamBuilder().load()  File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 446, in load
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 446, in load
self.ds_opt_adam = CPUAdamBuilder().load()
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 446, in load
return self.jit_load(verbose)return self.jit_load(verbose)return self.jit_load(verbose)
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 489, in jit_load
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 489, in jit_load
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 489, in jit_load
op_module = load(name=self.name,op_module = load(name=self.name,op_module = load(name=self.name,
File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1284, in load
File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1284, in load
File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1284, in load
return _jit_compile(return _jit_compile(
  File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1535, in _jit_compile

return _jit_compile(  File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1535, in _jit_compile
File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1535, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
return _import_module_from_library(name, build_directory, is_python_module)  File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1929, in _import_module_from_library
return _import_module_from_library(name, build_directory, is_python_module)
File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1929, in _import_module_from_library
File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1929, in _import_module_from_library
module = importlib.util.module_from_spec(spec)
File "", line 565, in module_from_spec
module = importlib.util.module_from_spec(spec)
module = importlib.util.module_from_spec(spec)
File "", line 565, in module_from_spec
File "", line 565, in module_from_spec
File "", line 1173, in create_module
File "", line 1173, in create_module
File "", line 228, in _call_with_frames_removed
File "", line 228, in _call_with_frames_removed
File "", line 1173, in create_module
ImportError: /root/anaconda3/lib/python3.9/site-packages/snappy/../../.././libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /root/.cache/torch_extensions/py39_cu117/cpu_adam/cpu_adam.so) ImportError: /root/anaconda3/lib/python3.9/site-packages/snappy/../../.././libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /root/.cache/torch_extensions/py39_cu117/cpu_adam/cpu_adam.so)
File "", line 228, in _call_with_frames_removed
ImportError: /root/anaconda3/lib/python3.9/site-packages/snappy/../../.././libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /root/.cache/torch_extensions/py39_cu117/cpu_adam/cpu_adam.so) Loading extension module cpu_adam... Traceback (most recent call last):   File "/32Tb/train.py", line 23, in <module>     main()   File "/32Tb/train.py", line 13, in main     happy_gen.train(train_txt_path, args=train_args, eval_filepath=eval_txt_path)   File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_generation.py", line 92, in train     super(HappyGeneration, self).train(input_filepath, args, eval_filepath)   File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_transformer.py", line 110, in train     self._run_train(train_tok_data, eval_tok_data, args,  self._data_collator)   File "/root/anaconda3/lib/python3.9/site-packages/happytransformer/happy_transformer.py", line 272, in _run_train     trainer.train()   File "/root/anaconda3/lib/python3.9/site-packages/transformers/trainer.py", line 1555, in train     return inner_training_loop(   File "/root/anaconda3/lib/python3.9/site-packages/transformers/trainer.py", line 1687, in _inner_training_loop     model, self.optimizer, self.lr_scheduler = self.accelerator.prepare(   File "/root/anaconda3/lib/python3.9/site-packages/accelerate/accelerator.py", line 1198, in prepare     result = self._prepare_deepspeed(*args)   File "/root/anaconda3/lib/python3.9/site-packages/accelerate/accelerator.py", line 1531, in _prepare_deepspeed     optimizer = DeepSpeedCPUAdam(optimizer.param_groups, **defaults)   File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 94, in __init__     self.ds_opt_adam = CPUAdamBuilder().load()   File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 446, in load     return self.jit_load(verbose)   File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 489, in jit_load     op_module = load(name=self.name,   File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1284, in load     return _jit_compile(   File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1535, in _jit_compile     return _import_module_from_library(name, build_directory, is_python_module)   File "/root/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1929, in _import_module_from_library     module = importlib.util.module_from_spec(spec)   File "<frozen importlib._bootstrap>", line 565, in module_from_spec   File "<frozen importlib._bootstrap_external>", line 1173, in create_module   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed ImportError: /root/anaconda3/lib/python3.9/site-packages/snappy/../../.././libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /root/.cache/torch_extensions/py39_cu117/cpu_adam/cpu_adam.so)
Exception ignored in: <function DeepSpeedCPUAdam.del at 0x7f7b7b8cf430>
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 102, in del
self.ds_opt_adam.destroy_adam(self.opt_id)
AttributeError: 'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'
Exception ignored in: <function DeepSpeedCPUAdam.del at 0x7fa3010cf430>
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 102, in del
self.ds_opt_adam.destroy_adam(self.opt_id)
AttributeError: 'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'
Exception ignored in: <function DeepSpeedCPUAdam.del at 0x7f1dce6cf430>
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 102, in del
self.ds_opt_adam.destroy_adam(self.opt_id)
AttributeError: 'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'
Exception ignored in: <function DeepSpeedCPUAdam.del at 0x7fbf16ccf430>
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 102, in del
self.ds_opt_adam.destroy_adam(self.opt_id)
AttributeError: 'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'

Hi @tekntrash - this looks to be the underlying error:
ImportError: /root/anaconda3/lib/python3.9/site-packages/snappy/../../.././libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /root/.cache/torch_extensions/py39_cu117/cpu_adam/cpu_adam.so)

This is related to the gcc installed on the system.  Can you share if you're using conda or what gcc version you are using?  Alternatively, could you try re-installing or updating gcc/libstdc++?

Hi @tekntrash - any updates on this?

same error after I use sudo apt upgrade

@chenfengshijie - could you apt remove and re-install?  That might help more here.  Also possible worth sudo apt-get upgrade libstdc++6.  This link might help as well, can you try that and let us know if that works?

I just use the previous docker,and I this switching  to another image  is a good choice .This my help

Thanks for the confirmation that you had a workaround.  I'll close this issue for now, but if others hit this in the future and cannot work around it, please either comment on this issue and reopen or open a new issue and link this one, thanks.

For anyone still encountered the same error, please refer to my solution in https://github.com/microsoft/DeepSpeed/issues/1687


Fix: un-pending-ify spec.

Was marked pending in https://github.com/ruby-grape/grape-swagger/commit/55ceec689d5df6506704e6c04481148fbb45e404, but doesn't need to be.

why is green here?

Does it fail for you @LeFnord? Passes on my machine. I don't see why it would either.

yeap, it fails, also on travis, this was the reason for pending …

Well Travis says otherwise in this pull request ;)

Maybe order of execution?

however it works :)


Expand Test Classe Templates

Current form of auto-generated test class works for most objects but doesn't work when complex related data is required. It is possible to substitute the auto-generated test class with a custom class. This gives a lot of freedom but isn't friendly to those that can't code.
Would it be better to expand the list of possible test templates to include some other less-good shims to get the trigger deployed, something like the final recommendation in #603?
We could then have an advanced section that lets them select the test code template along with with recommendations or opinions around see all data = true. No the cleanest code but especially with objects as complex as FinancialForce I don't know another way to quickly get the necessary data model setup. (Unless there are APIs for FF that I'm not aware of that could setup the test data for us)

Love this idea. Make me think of the way MavensMate used to allow contributions to its code templates. Basically, it referenced a GitHub repo! So we could have a GitHub repo for external samples that could be submitted and managed outside of the tools life cycle. Would likely require a Remote Site connection to GitHub of course, but i think for the benefits folks would be ok with that. Nice idea! Feel free to contribute it if your up for that btw. ;-)

See template, https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/490


[BUG] Plugin with id 'kotlin-android' not found.

Hi, I have failed Android build.
It says:
A problem occurred configuring project ':react-native-vision-camera-face-detector'.
> compileSdkVersion is not specified. Please add it to build.gradle

"react-native": "0.71.13",
"react-native-vision-camera": "^4.0.0-beta.12",
"react-native-vision-camera-face-detector": "^1.4.0",
"react-native-worklets-core": "^0.4.0",
 "react-native-reanimated": "3.6.2",

Error logs:
BUILD FAILED in 18s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installUftDebug -PreactNativeDevServerPort=8081
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.

Where:
Build file '/Users/yo/www/driver-app/node_modules/react-native-vision-camera-face-detector/android/build.gradle' line: 2

What went wrong:
A problem occurred evaluating project ':react-native-vision-camera-face-detector'.

Plugin with id 'kotlin-android' not found.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.

What went wrong:
A problem occurred configuring project ':react-native-vision-camera-face-detector'.

compileSdkVersion is not specified. Please add it to build.gradle

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================

Get more help at https://help.gradle.org

BUILD FAILED in 18s
at makeError (/Users/yo/www/driver-app/node_modules/execa/index.js:174:9)
at /Users/yo/www/driver-app/node_modules/execa/index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (/Users/yo/www/driver-app/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:82:7)
at async Command.handleAction (/Users/yo/www/driver-app/node_modules/@react-native-community/cli/build/index.js:108:9)

info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
{
"name": "driverApp",
"version": "4.19.3",
"private": true,
"scripts": {},
"dependencies": {
"@mapbox/polyline": "^1.1.1",
"@onfido/react-native-sdk": "10.7.0",
"@react-native-async-storage/async-storage": "^1.19.3",
"@react-native-community/geolocation": "^2.0.2",
"@react-native-community/hooks": "^2.8.0",
"@react-native-community/image-editor": "^2.3.0",
"@react-native-community/netinfo": "^6.0.4",
"@react-native-community/picker": "^1.8.1",
"@react-native-community/toolbar-android": "^0.2.1",
"@react-native-firebase/analytics": "^14.7.0",
"@react-native-firebase/app": "^14.7.0",
"@react-native-firebase/crashlytics": "^14.7.0",
"@react-native-firebase/messaging": "^14.7.0",
"@react-native-firebase/perf": "^14.7.0",
"@react-native-masked-view/masked-view": "^0.2.9",
"@react-navigation/bottom-tabs": "^6.5.4",
"@react-navigation/compat": "^5.3.20",
"@react-navigation/material-top-tabs": "^6.5.3",
"@react-navigation/native": "^6.1.3",
"@react-navigation/native-stack": "^6.9.9",
"@react-navigation/stack": "^6.3.12",
"@stripe/stripe-react-native": "0.35.1",
"@types/mapbox__polyline": "^1.0.1",
"@types/point-in-polygon": "^1.0.0",
"axios": "^0.27.2",
"clevertap-react-native": "^1.1.0",
"code-push": "4.0.5",
"dayjs": "^1.11.1",
"deprecated-react-native-prop-types": "^4.1.0",
"geolib": "^3.3.1",
"humanize-duration": "^3.24.0",
"i18next": "^19.8.1",
"i18next-async-storage-backend2": "^2.0.3",
"i18next-chained-backend": "^2.0.1",
"i18next-http-backend": "^1.3.1",
"jsc-android": "^241213.1.0",
"libphonenumber-js": "^1.10.14",
"lodash": "^4.17.20",
"mobx": "^5.15.6",
"mobx-persist": "^0.4.1",
"mobx-react": "^6.3.0",
"moment": "^2.29.1",
"moment-range": "^4.0.2",
"moment-timezone": "^0.5.31",
"patch-package": "^8.0.0",
"point-in-polygon": "^1.0.1",
"prop-types": "^15.7.2",
"query-string": "^6.13.7",
"react": "18.2.0",
"react-dom": "^17.0.2",
"react-i18next": "^11.7.3",
"react-lifecycles-compat": "^3.0.4",
"react-native": "0.71.13",
"react-native-alertbox": "^0.2.11",
"react-native-base64": "0.1.0",
"react-native-bluetooth-state-manager": "^1.3.2",
"react-native-bootsplash": "^4.0.2",
"react-native-calendar-events": "^2.2.0",
"react-native-camera": "^4.2.1",
"react-native-check-box": "^2.1.7",
"react-native-circular-progress": "^1.3.6",
"react-native-config": "^1.4.2",
"react-native-country-picker-modal": "^2.0.0",
"react-native-device-info": "^10.6.0",
"react-native-document-picker": "^5.3.0",
"react-native-exception-handler": "^2.10.9",
"react-native-fast-image": "^8.6.3",
"react-native-gesture-handler": "^2.10.1",
"react-native-google-places-autocomplete": "^2.5.1",
"react-native-hyperlink": "0.0.19",
"react-native-image-pan-zoom": "^2.1.12",
"react-native-image-resizer": "^1.4.5",
"react-native-keyboard-aware-scroll-view": "^0.9.3",
"react-native-keyboard-spacer": "^0.4.1",
"react-native-lightbox": "^0.8.1",
"react-native-linear-gradient": "^2.5.6",
"react-native-localize": "^1.4.3",
"react-native-map-link": "^2.7.19",
"react-native-maps": "1.9.0",
"react-native-maps-directions": "^1.9.0",
"react-native-markdown-display": "^6.1.6",
"react-native-modal": "^13.0.1",
"react-native-network-info": "^5.2.1",
"react-native-offline": "^6.0.1",
"react-native-pager-view": "^5.4.15",
"react-native-paper": "^4.10.1",
"react-native-permissions": "^4.0.0",
"react-native-phone-call": "^1.0.9",
"react-native-progress": "^5.0.0",
"react-native-rate": "^1.2.4",
"react-native-ratings": "^8.1.0",
"react-native-reanimated": "3.6.2",
"react-native-safe-area-context": "^3.1.8",
"react-native-screens": "3.29.0",
"react-native-select-contact": "^1.5.0",
"react-native-sensitive-info": "^5.5.8",
"react-native-share": "10.0.2",
"react-native-simple-crypto": "^0.2.15",
"react-native-skeleton-placeholder": "^2.0.11",
"react-native-slider": "^0.11.0",
"react-native-snap-carousel": "^3.9.1",
"react-native-status-bar-height": "^2.5.0",
"react-native-svg": "^13.4.0",
"react-native-swipe-gestures": "^1.0.5",
"react-native-tab-view": "^3.1.1",
"react-native-toast-message": "^2.1.5",
"react-native-touch-id": "^4.4.1",
"react-native-vector-icons": "9.2.0",
"react-native-video": "^5.2.0",
"react-native-view-pdf": "^0.14.0",
"react-native-vision-camera": "^4.0.0-beta.12",
"react-native-vision-camera-face-detector": "^1.4.0",
"react-native-webview": "^11.0.2",
"react-native-worklets-core": "^0.4.0",
"rn-fetch-blob": "^0.12.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/runtime": "^7.20.0",
"@jumpn/react-native-jetifier": "^0.1.4",
"@react-native-community/eslint-config": "^3.2.0",
"@types/enzyme": "^3.10.14",
"@types/humanize-duration": "^3.18.1",
"@types/jest": "^27.5.1",
"@types/lodash": "^4.14.161",
"@types/moment-timezone": "^0.5.30",
"@types/react": "^18.0.24",
"@types/react-lifecycles-compat": "^3.0.1",
"@types/react-native": "0.70.13",
"@types/react-native-keyboard-spacer": "^0.4.3",
"@types/react-native-permissions": "^2.0.0",
"@types/react-native-share": "^3.3.4",
"@types/react-native-tab-view": "^2.3.0",
"@types/react-native-vector-icons": "^6.4.15",
"@types/react-native-video": "^5.0.16",
"@types/react-test-renderer": "^18.0.3",
"@typescript-eslint/eslint-plugin": "5.53.0",
"@typescript-eslint/eslint-plugin-tslint": "5.53.0",
"@typescript-eslint/parser": "5.53.0",
"babel-jest": "^27.5.1",
"babel-plugin-transform-remove-console": "^6.9.4",
"chokidar-cli": "^2.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "^8.19.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-react-native": "^3.11.0",
"eslint-plugin-security": "^1.5.0",
"eslint-plugin-standard": "^5.0.0",
"husky": "^4.3.0",
"jest": "^27.5.1",
"jest-sonar": "^0.2.12",
"license-checker": "^25.0.1",
"lint-staged": "^10.4.0",
"metro-react-native-babel-preset": "^0.76.9",
"postinstall-postinstall": "^2.1.0",
"react-native-clean-project": "^3.6.7",
"react-native-svg-transformer": "^1.0.0",
"react-test-renderer": "18.2.0",
"reactotron-react-native": "5.0.3",
"ts-jest": "^27.1.3",
"tslint": "^6.1.3",
"typescript": "4.9.4",
"yarn-audit-fix": "^7.1.2"
},
"resolutions": {
"@react-native/normalize-colors": "0.73.2",
"react-native": "0.71.13"
},
"husky": {
"hooks": {
"pre-commit": "tsc && lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "eslint --max-warnings=100"
}
}

@YuriOlepir can you please check your app's build.gradle file if they have kotlinVersion and compileSdkVersion props defined?

Here is my build.gradle file, it seems that those defined

buildscript {

    ext {
        kotlinVersion = '1.8.0'
        buildToolsVersion = "33.0.0"
        minSdkVersion = 29
        compileSdkVersion = 34
        targetSdkVersion = 34
        googlePlayServicesVersion = "15+"
        androidMapsUtilsVersion = "0.5+"
        supportLibVersion = "29.0.0"
        // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
        ndkVersion = "23.1.7779620"
    }

    repositories {
        google()
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.4.2'
        classpath 'com.google.gms:google-services:4.3.14'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
        classpath 'com.google.firebase:perf-plugin:1.4.1'
        classpath 'com.facebook.react:react-native-gradle-plugin'
    }
}

def REACT_NATIVE_VERSION = new File(['node', '--print', "JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim())

...

@nonam4 I've just set up the new react-native project from the stretch with only these dependencies and got the same error.

"react-native": "0.71.13",
"react-native-vision-camera": "^4.0.0-beta.12",
"react-native-vision-camera-face-detector": "^1.4.0",
"react-native-worklets-core": "^0.4.0",
 "react-native-reanimated": "3.8.1",

@YuriOlepir can you test new build.gradle version and see if the error is gone?

@YuriOlepir can you test new build.gradle version and tell me if the error is gone?

I checked, there is nothing changed.

Can you create a public repo with a min reproducible example?
So I'll be able to debug and fix this issue.

Same bug, can u update anything new? :(

@namanh6669 does this error happens on example app?

can you guys test new 1.4.1 version? Do it fix this issue?

The issue persists in version 1.4.1

Please test new 1.4.2 version and give me a feedback about it 😁

Please test new 1.4.2 version and give me a feedback about it 😁

Hi, I migrated from v1.3.5 to the latest v1.6.3.
this issue still exists.
I did a patch fix for the node_modules/react-native-vision-camera-face-detector/android/build.gradle, please check, maybe it will be helpful
def safeExtGet(prop, fallback) {
    rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

def kotlinVersion = safeExtGet("VisionCameraFaceDetector_kotlinVersion", "1.9.20")

buildscript {
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath "com.android.tools.build:gradle:7.4.2"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
    }
}

apply plugin: "com.android.library"
apply plugin: "kotlin-android"

android {
    buildToolsVersion = safeExtGet("VisionCameraFaceDetector_buildToolsVersion", "34.0.0")
    ndkVersion safeExtGet("VisionCameraFaceDetector_ndkVersion", "25.1.8937393")

    defaultConfig {
        minSdkVersion safeExtGet("VisionCameraFaceDetector_minSdkVersion", 26)
        compileSdkVersion safeExtGet("VisionCameraFaceDetector_compileSdkVersion", 34)
        targetSdkVersion safeExtGet("VisionCameraFaceDetector_targetSdkVersion", 34)
        versionCode 1
        versionName "1.0"
    }

    buildTypes {
        release {
            minifyEnabled false
        }
    }
    lintOptions {
        disable "GradleCompatible"
    }
}

repositories {
    mavenLocal()
    maven {
        url("$rootDir/../node_modules/react-native/android")
    }

    google()
    mavenCentral()
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${kotlinVersion}"
    implementation "com.facebook.react:react-native:+"
    api project(":react-native-vision-camera")
    implementation "androidx.annotation:annotation:1.7.1"
    implementation "androidx.camera:camera-core:1.3.3"
    implementation "com.google.mlkit:face-detection:16.1.6"
}

@YuriOlepir thanks for your help.
Can you open a PR with this fix?


[Build] Fix debugging for products built by SwiftPM

This implements proper debugging support on both Darwin and Linux. On
Darwin, this means SwiftPM will pass the swiftmodule file to the linker
and on Linux, it'll link the wrapped module obtained using Swift
compiler's modulewrap subtool.
rdar://problem/29228963
rdar://problem/52118932
https://bugs.swift.org/browse/SR-3280

@swift-ci smoke test

Integration tests here: https://github.com/apple/swift-integration-tests/pull/64


Use with mongodb jenssegers API. $thread->participantsString(Auth::id()) results error: "Illegal offset type"

Error Message
ErrorException thrown with message "Illegal offset type (View: /var/www/html/test/offerdell/resources/views/messenger/partials/thread.blade.php) (View: /var/www/html/test/offerdell/resources/views/messenger/partials/thread.blade.php)"

Stacktrace:
#71 ErrorException in /var/www/html/test/offerdell/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:356
#70 ErrorException in /var/www/html/test/offerdell/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:356
#69 ErrorException in /var/www/html/test/offerdell/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:356
#68 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /var/www/html/test/offerdell/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:356
#67 Jenssegers\Mongodb\Query\Builder:getFresh in /var/www/html/test/offerdell/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:209
#66 Jenssegers\Mongodb\Query\Builder:get in /var/www/html/test/offerdell/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:648
#65 Jenssegers\Mongodb\Query\Builder:pluck in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2070
#64 Illuminate\Database\Query\Builder:implode in /var/www/html/test/offerdell/vendor/cmgmyr/messenger/src/Models/Thread.php:333
#63 Cmgmyr\Messenger\Models\Thread:participantsString in /var/www/html/test/offerdell/storage/framework/views/f664577df6fcfab9988515f32361b9a042db2a49.php:1
#62 include in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:43
#61 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:59
#60 Illuminate\View\Engines\CompilerEngine:get in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/View.php:137
#59 Illuminate\View\View:getContents in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/View.php:120
#58 Illuminate\View\View:renderContents in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/View.php:85
#57 Illuminate\View\View:render in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/Factory.php:200
#56 Illuminate\View\Factory:renderEach in /var/www/html/test/offerdell/storage/framework/views/8c338a40b67627dec7a01a686f56132eee6893cc.php:4
#55 include in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:43
#54 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:59
#53 Illuminate\View\Engines\CompilerEngine:get in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/View.php:137
#52 Illuminate\View\View:getContents in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/View.php:120
#51 Illuminate\View\View:renderContents in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/View.php:85
#50 Illuminate\View\View:render in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Http/Response.php:42
#49 Illuminate\Http\Response:setContent in /var/www/html/test/offerdell/vendor/symfony/http-foundation/Response.php:196
#48 Symfony\Component\HttpFoundation\Response:__construct in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Router.php:727
#47 Illuminate\Routing\Router:toResponse in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Router.php:699
#46 Illuminate\Routing\Router:prepareResponse in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Router.php:659
#45 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30
#44 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41
#43 Illuminate\Routing\Middleware\SubstituteBindings:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#42 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#41 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:67
#40 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#39 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#38 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49
#37 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#36 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#35 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63
#34 Illuminate\Session\Middleware\StartSession:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#33 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#32 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37
#31 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#30 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#29 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59
#28 Illuminate\Cookie\Middleware\EncryptCookies:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#27 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#26 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102
#25 Illuminate\Pipeline\Pipeline:then in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Router.php:661
#24 Illuminate\Routing\Router:runRouteWithinStack in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Router.php:636
#23 Illuminate\Routing\Router:runRoute in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Router.php:602
#22 Illuminate\Routing\Router:dispatchToRoute in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Router.php:591
#21 Illuminate\Routing\Router:dispatch in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176
#20 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30
#19 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/fideloper/proxy/src/TrustProxies.php:57
#18 Fideloper\Proxy\TrustProxies:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#16 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30
#15 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#14 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#13 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30
#12 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#10 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27
#9 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#8 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#7 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46
#6 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#4 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102
#3 Illuminate\Pipeline\Pipeline:then in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151
#2 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/html/test/offerdell/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116
#1 Illuminate\Foundation\Http\Kernel:handle in /var/www/html/test/offerdell/public/index.php:55
#0 require_once in /var/www/html/test/offerdell/server.php:21

thread.blade.php
{{ dd( $thread->participantsString(Auth::id()) ) }}

<?php $class = $thread->isUnread(Auth::id()) ? 'alert-info' : ''; ?>

        _id) }}">{{ $thread->subject }}
        ({{ $thread->userUnreadMessagesCount(Auth::id()) }} unread)

        {{ $thread->latestMessage->body }}

        Creator: {{ $thread->creator()->first_name }}

        Participants: {{ $thread->participantsString(Auth::id()) }}

I figured out that this package might not support mongodb driver. I want to know a workaround for Thread class method createSelectString().

I'm sorry, this package doesn't support mongodb. You'd probably be better using this package as a starting point for a mongo version since the data layer could be much different.


VDC: If the chart haven't any ingress applied, break listing releases

In listing releases, there's an unhandled case if no ingress applied in the release

Verified
Etcd chart not using ingress and listed correctly

Verified
Etcd chart not using ingress and listed correctly


Performance Evaluation

We need to compare Homomorphic encryption vs Normal encryption
Some pointers in python are:

[ ] time.time(): To check the total execution time. We can use this in the computation block and compare the results with homomorphic and normal encryption.
Reference: https://pynative.com/python-get-execution-time-of-program/

This has been accomplished using "time.time()" module.


Testing

A few additions to the test setup

Pass env vars thru Makefile (export) and allow overriding log level (LOGLEVEL) whether to keep temp dirs (PERSISTENT) and arbitrary args (TEST_ARGS) and set them in shell script only if unset.
Namespace loggers as cis.* to enable/disable implementation-specific log messages (as opposed to library code)
update install instructions in README to current requirements

Thanks for that


Need help formatting a connection string for Windows Auth

I cannot get a successful connection using Windows Auth and the go-mssqldb library. I can get a Windows Auth login to work through Microsoft SQL Server Management Studio
here are two different formats for the connection string that seem to be the closest to working:
Leave the user out completely and stick with the user id parameter:
(note: the sql server machine's hostname is CB-W12R2-S16-PM)
sqlserver://CB-W12R2-S16-PM?Connection+Timeout=30&Database=DBName&Integrated+Security=SSPI&TrustServerCertificate=true&encrypt=true&log=0&packet+size=2048&user+id=MYDOMAIN%5Cmyfirstname.mylastname
Result:
InitialBytes InitializeSecurityContext failed 8009030c
Put the Windows domain account as a user with no password:
sqlserver://MYDOMAIN%5Cmyfirstname.mylastname:@CB-W12R2-S16-PM?Connection+Timeout=30&Database=DBName&Integrated+Security=SSPI&TrustServerCertificate=true&encrypt=true&log=0&packet+size=2048
Result:
InitialBytes InitializeSecurityContext failed 8009030c

Just having the same trouble with the local SQL Server 2016. Additionally with sqlserver://localhost?app+name=... I get
failed to send SQL Batch: write tcp <IP_ADDRESS>:64433-><IP_ADDRESS>:1433: wsasend: An existing connection was forcibly closed by the remote host.

Connecting with sa plus password is possible. However, I don't want to manage passwords in the app.

I had a debug-look at the code and I'm not at all familiar with Schannel. In my case (I have a slow remote DC) it's item 4b unter "client" in https://docs.microsoft.com/en-us/windows/desktop/secauthn/creating-an-schannel-security-context, i.e. InitializeSecurityContext returns SEC_I_CONTINUE_NEEDED and the driver just returns the buffer. That means I can't find the loop back to call InitializeSecurityContext again near this line: https://github.com/denisenkom/go-mssqldb/blob/master/sspi_windows.go#L195
Quoted from the webpage:
If the function returns SEC_I_CONTINUE_NEEDED, the client must wait
for the server to send it a token. When the client has the token from
the server, it must call the InitializeSecurityContext (General) function
again. (Return to step 2.)

I have no idea how to wait for the server to send it a token so I'm afraid I can't offer a suggestion or even a fix. Maybe the maintainers have a good guess what to do?
However, irtanner, I guess leaving out the user:pass@ phrase completely seems to be the proper way to use integrated security (aka SSO).

@Lercher - Leaving out the user:pass@ prefix and also leaving out the user id parameter worked for me. I was in a tricky spot due to a bad domain/AD setup causing every connection string to seem bad when really my network auth was going to fail no matter what.


defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification

Compile on gcc version 8.3.1. Can the no except = default declaration defined in header only? I can't compile the lib under linux but ok with mingw

I don't fully understand the issue, especially since I have been working exclusively on debian for a good half year now without problems - I am assuming that what you experienced is superseded by the code changes in the past half year. If you could test it & open a new issue should you still have problems, I would appreciate a few steps to reproduce / exact compiler errors.


Add "comparison to may" to readme

As a curious reader, it would be interesting to have a comparison to the other popular coroutine library written in Rust.

May is a high-level framework that uses https://github.com/Xudong-Huang/generator-rs internally for the coroutine implementation. Corosensei only provides the conroutine implementation, and not the full framework that may provides.


fix: properly support A channel-only sensors

Some sensors only have the A channel. I’m assuming these are indoor sensors, as my indoor sensor only has an A channel. Here’s another example (that is not my home sensor): https://www.purpleair.com/map?opt=1/mAQI/a10/cC5&select=72135#14/37.77009/-122.22338. In this case, I presume the right thing to do to get the average is to just use the A channel exclusively.

Sounds good.


enum34 is only required for Python < 3.4

I ran into problems when building TensorFlow 1.4.0 on top of Python 3.6.3 because enum34 is pulled in, but not compatible with Python 3.6, i.e. python -c 'import tensorflow' lead to:
AttributeError: module 'enum' has no attribute 'IntFlag'

See also https://bitbucket.org/stoneleaf/enum34/issues/19.

Can one of the admins verify this patch?

How would this work if we build TF on python 3.5, but it ends up getting installed on a python 3.3 system?

@gunan Good question, I didn't take that into account...
In that case I guess you can keep requiring enum34 for both Python 3.4 and 3.5 too.
But for Python 3.6, it's wrong to install it. The installation works fine, but as soon as you try to use TensorFlow, it will crash hard on top of Python 3.6 with the error I mentioned.

@boegel Interesting finding. @gunan @av8ramit  I think this has to do with the fact that we don't do real testing on python 3.6 (on Linux or Mac) currently.

@caisq we are aware. This is already being worked on.
This is slowed down due to the confusion about multiple python versions supported. A protocol about what python versions are going to be supported is being prepared, and we will clarify our python 3 support story with that going forward.
@boegel one of my concerns is the evaluation time of this file (which I do not fully know).
Is it being evaluated when we are building the pip package? So if we build the pip package on a py 3.6 system,  then if people end up installing this on a py 3.4 system, do they not get py 3.4?
I guess if setup.py gets evaluated during installation, this should be OK.
@yifeif in case she can answer this concern.

Looks like we can also do something like https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-platform-specific-dependencies
I would expect this to be evaluated during installation.

Great, let's go with that instead then.
@boegel, would you like to update your PR? we will also need you to take care of the Google CLA.
or we can make this change on our end.

Closing in favor of #14730 since that one has the CLA taken care of.


[DM-34430] Add test CSC and Kafka producer in sasquatch

This PR adds the Test CSC and the Kafka Producer charts from the T&S charts repository as dependencies. The goal is to have data being produced to test new deployments of sasquatch.
Both charts are deployed in the sasquatch namespace.
It assumes the secret to pulling images from ts-dockerhub.lsst.org is in Vault under the pull-secret key for the deployment environment, and it creates the k8s secret expected by the charts in the sasquatch namespace.

The only problem I have with it is that every time I try to update the pull-secret with a new entry, it turns into a horrendous nightmare.  I don't have a problem with putting it everywhere except for that, but I'd ask Michael Reuter before doing it, anyway; he may have some good reason he doesn't want that credential available at non T&S sites.

@mareuter would you have a look at this PR? Any objections to deploying the Test CSC and Kafka Producer for example in Google?

You'll have to forgive me but I've always been under the impression that cloud providers don't support multicast communication which our CSCs rely on. I'm OK with you using the configuration as long as you're only planning to use this for non T&S sites since we already have those systems running and available for you to use there.

Thanks, @mreuter! my goal is to produce some data to test Sasquatch during development - for example, on our development cluster on Google. I completely forgot about the multicat thing but I'll see what happens in Google. This is still useful for me in the Teststand environments but it is missing the option to enable/disable this since it is not supposed to run in production mode.


Major release nested chunknames

Couldn't open a PR via commitizen because there was no diff against master, ill amend the commit right after the merge so that the reverted changes also show. Just opening it ahead of time so Its ready to go. please dont merge it this branch till I can check it after you merge PR 1
Ive merged the first pr I opened on my branch, then staged the removed changes back into this branch
I only reverted the nested chunknames commit, there was one file that fixed the importCSS bug where it used the chunkname not the file name. So that fix wont be reverted.
Hope it makes sense. Bottom line, I rolled back the breaking change, opened a revert PR, opened a new PR with the breaking change
Have a look at the diff on my branch
https://github.com/zackljackson/babel-plugin-universal-import/compare/master...zackljackson:major-release-nested-chunknames?expand=1

Ready when you are. ...just make sure to specify the "breaking changes" field in commitizen, and that will automatically trigger a major version bump once merged to master.

@faceyspacey
Okay! Sure thing, just check the following commit (the last one)
Should be correct?
https://github.com/faceyspacey/babel-plugin-universal-import/pull/48/commits/7ef72afed68fc5c8810518088e5a696d55ddeae4

Was there a reason you closed this? Your commit looks good re the breaking change.

I’d run a script which rewrote some unintended directories git history. I did a hard reset off the upstream and opened another PR, in hindsight it was probably not necessary.
Sent from my iPhone

On May 4, 2018, at 3:03 PM, James Gillmore<EMAIL_ADDRESS>wrote:
Was there a reason you closed this? Your commit looks good re the breaking change.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

I dont see another PR? What's wrong with this one?
It correctly had the breaking change, so it just had to be merged.

I was just being safe, i saw other commit messages in it (at least on my
side) and didnt want to screw up anything or risk merging a fishy branch.
The merged change was correct and everything looks on master. Again might
have been an unnecessary precaution
On Sun, May 6, 2018 at 4:00 PM, James Gillmore<EMAIL_ADDRESS>wrote:

I dont see another PR? What's wrong with this one?
It correctly had the breaking change, so it just had to be merged.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/faceyspacey/babel-plugin-universal-import/pull/48#issuecomment-386908940,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYGpTEAqD3whTIL2GTBXzxBUjKMZVwheks5tv1Z3gaJpZM4Ttfpy
.


Separate gRPC

Hi,
I was wondering if you can separate "gRPC for unity" part from MagicOnion as standalone github project. There is definitely a need for strong client side gRPC library for unity and yours is the only one that I've found.
I was planning to use only gRPC part so if it was standalone I would be able to contribute pull requests with potential bugfixes or help with upgrading to 1.1 etc
In any way thank you for lots of great high quality libraries around unity and dotnet core 👍

You're right.
I think that the gRPC project should be separeted, too.
However, MagicOnion is not stable and Unity requires library under specify foloder so importing by SubModule makes difficult to development.
I'm sorry, please use it gRPC client from MagicOnion, now.
But, I'll remove reference of MagicOnion from gRPC Client.

I totaly get you with submodules they are huge pain. One option I found for me that works much better than git submodules is git subtree http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/
It feels like you have single repo but you can still quite easy pull/push merges from other repo

Our company was using Subtree for another project for a while,
but it stopped because there are many troubles.
A non-natural workflow brought about a lot of confusion.

I see, yes it does require deep understanding of what git is and that is rare for many developers in gamedev industry.
Main reason for me to use just gRPC bit is as you said MagicOnion is in alpha state. So I am using directly DefaultCallInvoker with Method<byte[], byte[]> . In the long run it would make much more sense to use whole MagicOnion because gRPC without typed client generation is not really gRPC but just an http/2 library and thats what MagicOnion brings ultimately - statically typed clients
P.S The only place that leaks MagicOnion into gRPC is in RpcException atm

Def interested in this as well. Going to be playing around with MagicOnion later and specifically looking at the gRPC aspect. Also going to see what it would take to transform the generated client code into something IL2CPP conforming (maybe a script that runs it through some regex to fix it up - like a codemod).

I would like to get a Unity-grpc plugin work too. Could you provide us more info about your work, like how you compile .a file for iOS, then we can all contribute to this.

+1 for separation of just gRPC client code. Cannot see any alternative for doing gRPC/HTTP2 in Unity (Especially when I need to stick to 4.x for now) 😨
Anyone was actually able to successfully perform some gRPC unary/server-side streaming call from unity using this package against properly "protobuf-generated" gRPC server? Could you guys show some example code, on how to do it? Not much details on that in this repo (: @Rurouni seems you were able to do it.
Thanks in advance, and especially @neuecc for bringing this.

@Bplotka I don't think it will work agains proto generated gRPC server, but you can use it with ServerServiceDefinition and manually adding methods with whatever serialisation and building server (check what code grpc proto plugin does generate). To make stuff easier I am using single bidirectional streaming method with byte[]->byte[] signature and doing my own protobuf serialisation and dispatch into some handler.

So actually I managed to set it up against proto generated gRPC server with complex protobufs in requests and response.. :+1: Both unary and server streaming. I can explain how I did this briefly later.

@Bplotka, I'm starting to look at using this to connect Unity to a gRPC server with proto request and responses already defined.  It seems you are 18 days ahead of me. :)  Any advice on setting it up before I dive in?

Sure, what OS you want to run Unity on? I managed to get Unity working as a gRPC client on Windows (I have gRPC microservices on Linux in separate cloud). I can put more details during weekend.

@Bplotka Thanks! and no rush.  I really appreciate the help and I'll be over people do as well.  Windows works for me. The server is on linux (nodejs).

@hubbaba, All:  I have created this repo https://github.com/Bplotka/unity-grpc with separated gRPC library and Tutorial, to cover all the steps and problems I ran into while chasing Unity + gRPC.
Hope it will be helpful, for all of you, guys (:
Thanks @neuecc for the gRPC lib, I think it unblocked us all...!

@Bplotka Thank you for the gRPC library stand-alone! However I'm having some problems with manual code creation. Can you provide me assistance on that matter?
P.S. - I explained in more detail my problem in the standalone repository.

I responded to your question in the https://github.com/Bplotka/unity-grpc/issues/1

Thanks @Bplotka !!  I'll check it out this weekend and let you know how it goes.   Thank you so much!


Formatting pass 1

Overview
An initial quick auto-formatting pass in VS. It's been a while!
Splitting this up into multiple PRs for ease of review.

/azp run

/azp run

/azp run


LocalCI: Nested Testsuites are handled incorrectly

Describe the bug
JUnit-XMLs support nested test suited. This is for example extensively used by the Haskell template.
Before, if there was a nested test suite like:
<testsuite name="Properties">
    <testsuite name="Checked by QuickCheck">
        <testcase name="Test A against sample solution"/>
    </testsuite>
</testsuite>

the resulting test name was Properties.Checked by QuickCheck.Testing A against sample solution. Currently it is only Test A against sample solution.
The old behaviour should be restored.
To Reproduce

Create a new Haskell exercise.
The exercise description contains test cases like Properties.Checked by QuickCheck.Testing A against sample solution.

However, Artemis only receives test cases with the partial name after the last dot like Testing A against sample solution.
Expected behavior
The full test name including the names of the test suites is retained. The original name as in the exercise template is returned as test case name to Artemis. This restores the old behaviour.
Keeping only the last section of the name and adapting the template is not the preferred solution:

Two different exercise descriptions for setups using LocalCI and Jenkins would have to be defined.
The old behaviour that concatenated the test suite + final test names with a . in between resulted in unique test cases. This can no longer be ensured when using only the last part. Tests in different test suites are allowed to have the same name.
Existing exercises created in Bamboo, before 7.6.1, or in Jenkins setups may depend on the original behaviour.

Screenshots
No response
Which version of Artemis are you seeing the problem on?
7.6.5
What browsers are you seeing the problem on?
Firefox
Additional context
The flattening of Testsuite objects has been implemented already in the Jenkins plugin:
https://github.com/ls1intum/jenkins-server-notification-plugin/blob/798ffccb8d55186e468ffedb552cf12f43e1855e/src/main/java/de/tum/in/www1/jenkins/notifications/model/Testsuite.java#L98
It can potentially be ported over to Artemis to work the same way when parsing results of LocalCI jobs.

Relevant previous PR: #9490
Relevant log output
No response

/cc @magaupp

The Jenkins implementation seems to leave out the name of the top-level testsuite. Is this intentional?

Yes, I think so. This is consistent with how the tests for a non-nested test suite are parsed. In that case the name of the top-level (and only level) test suite is also not part of the test case name.

For reference, an example test suite produced by the standard Haskell template:
<?xml version='1.0' ?>
<testsuites errors="0" failures="0" tests="12" time="0.007">
	<testsuite name="Tests" tests="12">
		<testsuite name="Properties" tests="9">
			<testsuite name="Checked by SmallCheck" tests="6">
				<testcase name="Testing filtering in A" time="0.003" classname="Tests.Properties.Checked by SmallCheck" />
				<testcase name="Testing mapping in A" time="0.000" classname="Tests.Properties.Checked by SmallCheck" />
				<testcase name="Testing filtering in B" time="0.001" classname="Tests.Properties.Checked by SmallCheck" />
				<testcase name="Testing mapping in B" time="0.000" classname="Tests.Properties.Checked by SmallCheck" />
				<testcase name="Testing filtering in C" time="0.000" classname="Tests.Properties.Checked by SmallCheck" />
				<testcase name="Testing mapping in C" time="0.000" classname="Tests.Properties.Checked by SmallCheck" />
			</testsuite>
			<testsuite name="Checked by QuickCheck" tests="3">
				<testcase name="Testing A against sample solution" time="0.000" classname="Tests.Properties.Checked by QuickCheck" />
				<testcase name="Testing B against sample solution" time="0.000" classname="Tests.Properties.Checked by QuickCheck" />
				<testcase name="Testing C against sample solution" time="0.000" classname="Tests.Properties.Checked by QuickCheck" />
			</testsuite>
		</testsuite>
		<testsuite name="Unit Tests" tests="3">
			<testcase name="Testing selectAndReflectA (0,0) []" time="0.000" classname="Tests.Unit Tests" />
			<testcase name="Testing selectAndReflectB (0,1) [(0,0)]" time="0.000" classname="Tests.Unit Tests" />
			<testcase name="Testing selectAndReflectC (0,1) [(-1,-1)]" time="0.000" classname="Tests.Unit Tests" />
		</testsuite>
	</testsuite>
</testsuites>

and after removing the top-level <testsuites>:
<?xml version='1.0' ?>
<testsuite name="Tests" tests="12">
	<testsuite name="Properties" tests="9">
		<testsuite name="Checked by SmallCheck" tests="6">
			<testcase name="Testing filtering in A" time="0.003" classname="Tests.Properties.Checked by SmallCheck" />
			<testcase name="Testing mapping in A" time="0.000" classname="Tests.Properties.Checked by SmallCheck" />
			<testcase name="Testing filtering in B" time="0.001" classname="Tests.Properties.Checked by SmallCheck" />
			<testcase name="Testing mapping in B" time="0.000" classname="Tests.Properties.Checked by SmallCheck" />
			<testcase name="Testing filtering in C" time="0.000" classname="Tests.Properties.Checked by SmallCheck" />
			<testcase name="Testing mapping in C" time="0.000" classname="Tests.Properties.Checked by SmallCheck" />
		</testsuite>
		<testsuite name="Checked by QuickCheck" tests="3">
			<testcase name="Testing A against sample solution" time="0.000" classname="Tests.Properties.Checked by QuickCheck" />
			<testcase name="Testing B against sample solution" time="0.000" classname="Tests.Properties.Checked by QuickCheck" />
			<testcase name="Testing C against sample solution" time="0.000" classname="Tests.Properties.Checked by QuickCheck" />
		</testsuite>
	</testsuite>
	<testsuite name="Unit Tests" tests="3">
		<testcase name="Testing selectAndReflectA (0,0) []" time="0.000" classname="Tests.Unit Tests" />
		<testcase name="Testing selectAndReflectB (0,1) [(0,0)]" time="0.000" classname="Tests.Unit Tests" />
		<testcase name="Testing selectAndReflectC (0,1) [(-1,-1)]" time="0.000" classname="Tests.Unit Tests" />
	</testsuite>
</testsuite>

In this is the case, how should multiple top-level <testsuite> elements in a <testsuites> be handled?

At the moment I think neither the Jenkins plugin nor Artemis LocalCI handle that case, since all CI scripts remove the <testsuites> tag if present using sed -i 's/<testsuites[^>]*>//g ; s/<\\/testsuites>//g'.
I think for now it would be fine to assume only a single top-level test suite exists, like is the case currently.
In the future, we could instead extend the parser to handle <testsuites> elements properly and only if there are multiple <testsuite>s within also add the name of the top-most level <testsuite> as a prefix?
If there is a single <testsuite> within a <testsuites> it would not be required to ensure test case name uniqueness.


draw coordinates wrong when using pgfplots

Hi
I am trying to draw a plot like below. This is working fine in actual tex file

But when I try to use the same in ipython tikzmagic, this is what I get

MWE for tex file:
\documentclass{article}
\usepackage{tikz}
\usepackage{pgfplots}
% \usetikzlibrary{math, decorations.pathreplacing,angles,quotes,bending}
\pgfplotsset{compat=1.15}
\pgfplotstableread{
X Y label
2.2 14 $(x_1,y_1)$
2.7 23 $(x_2,y_2)$
2.4 12 $(x_3,y_3)$
1.5 19 $(x_4,y_4)$
}\datatable

\begin{document}

\section{table using raw data}

% https://tex.stackexchange.com/questions/11251/trend-line-or-line-of-best-fit-in-pgfplots
\begin{tikzpicture}[scale=1.5]

    \begin{axis}[
        % legend pos=outer north east,
        xmin=1,xmax=4,ymin=5,ymax=30,
        ytick=\empty,xtick=\empty,
        xlabel={x},ylabel={y},
        clip=false, axis on top,grid = major,axis lines = middle,
        every node near coord/.append style={anchor=south west},
        ]
        \addplot [nodes near coords, only marks, blue, mark = *, point meta = explicit symbolic, font=\fontsize{5pt}{5pt}\selectfont] table[meta = label] {\datatable};
        \coordinate (XYA) at (2.2, 14);
        \coordinate (XYB) at (2.7, 23);
        \coordinate (XYC) at (2.4, 12);
        \coordinate (XYD) at (1.5, 19);
        \draw [ultra thin, draw=green, fill=green, opacity=0.2]  (XYA) rectangle (XYB);
        \draw [ultra thin, draw=red, fill=red, opacity=0.2]  (XYC) rectangle (XYD);
    \end{axis}

\end{tikzpicture}

\end{document}

MWE for tikzmagic which goes in a ipython cell:
%%tikz -p pgfplots
    \pgfplotstableread{
    X Y label
    2.2 14 $(x_1,y_1)$
    2.7 23 $(x_2,y_2)$
    2.4 12 $(x_3,y_3)$
    1.5 19 $(x_4,y_4)$
    }\datatable
\begin{axis}[
        xmin=1,xmax=4,ymin=5,ymax=30,
        ytick=\empty,xtick=\empty,
        xlabel={x},ylabel={y},
        clip=false, axis on top,grid = major,axis lines = middle,
        every node near coord/.append style={anchor=south west}
        ]
        \addplot [nodes near coords, only marks, blue, mark = *, point meta = explicit symbolic] table[meta = label] {\datatable};
        \coordinate (XYA) at (2.2, 14);
        \coordinate (XYB) at (2.7, 23);
        \coordinate (XYC) at (2.4, 12);
        \coordinate (XYD) at (1.5, 19);
        \draw (0,0) rectangle (10,10);
        \draw [draw=green, fill=green]  (2.2,14) rectangle (2.7,23);
        \draw [ultra thin, draw=red, fill=red, opacity=0.5]  (XYC) rectangle (XYD);
\end{axis}

I initially had tried to push the datatable to preamble, but in that case, I get error as tikzmagic not able to reference that datatable so included in same cell now.
Kindly help with why the draw coordinates mess up? I even tried passing hard coded coordinate value but same issue as see in MWE.

solved. this was a preamble compatability issue. Adding below line solved it.
preamble = '''
    \pgfplotsset{compat=1.15}
'''


git clone clones to wrong directory if names don't match

if the ${${SOURCE_DIR}} doesn't exist and the PROJECT_NAME is not the same as the name of the repo.  the files are cloned to the wrong directory and PROJECT_SOURCE_DIR contains the wrong directory.
The execute process line needs to be
execute_process(
                COMMAND             ${GIT_EXECUTABLE} clone ${PARGS_GIT_URL} --recursive ${${SOURCE_DIR}}
                WORKING_DIRECTORY   ${PARGS_DIRECTORY}
                OUTPUT_VARIABLE     git_output)

to capture the correct source directory

Thanks for reporting this issue. I have applied the change that you suggested.


Icons are too big in headings with ITS Theme

Describe the bug
A clear and concise description of what the bug is.

There is an incompatibility between "ITS Theme" and "Iconize".
If I installed "iconize" and "ITS Theme" at the same time and added an icon in heading, it becomes very big.
I made a clean vault and installed only "ITS Theme" and "iconize"
I guess #316 is a similar problem.

ITS Theme github : https://github.com/SlRvb/Obsidian--ITS-Theme

To Reproduce
Steps to reproduce the behavior:

Make Clean Vault
Install and activate "ITS Theme" and "Iconize"
Add an icon in heading
Icon becomes very big

Expected behavior
A clear and concise description of what you expected to happen.

Icons size in heading should be same both in default and ITS Theme

Screenshots
If applicable, add screenshots to help explain your problem.

I added an mp4 video which describes how to reproduce error.

https://github.com/FlorianWoelki/obsidian-iconize/assets/24635919/0dc98595-0eb8-4bad-9472-ed255adcbb96
Additional context
Add any other context about the problem here.

If you change the theme, the icon size is not changed right after.  You need to select another icon name to see the final size of the icon as soon as possible.

This issue has been resolved since v2.13.0.


Precise in the documentation that one can add the nrdxp cache with sudo if the current user is not trusted

Precise in the documentation that one can add the nrdxp cache with sudo if the current user is not trusted.
This is related to this issue: #287.

That could be a good change for one of the guides in the start section.

here it is!
I didn't resolve #98 with this one, to resolve it I think that a note should probably be made but in another file talking about configuration or an annex with things that do not work as of now if at all necessary


OpenAI module not found/failed to load module in Supabase edge functions

Symptoms
Getting this log output when running my edge functions in Supabase
Failed to load module<EMAIL_ADDRESS>- Import<EMAIL_ADDRESS>failed, not found.
VS Code is throwing an error this when caching dependencies
Module not found<EMAIL_ADDRESS>at https://esm.sh/v133/openai@4.17.4/denonext/openai.mjs:7:13034
Looks like OpenAI isn't supporting esm.sh anymore for edge functions:
https://github.com/openai/openai-node/issues/393#issuecomment-1797936535
Deno 1.38.1
Langchain .186

For now, you can downgrade to 0.0.181, which should work - unfortunately not much we can do until the underlying SDK fixes it.

@jacoblee93 the comment tagged in the issue sounds like they are not publishing to esm anymore

Hopefully fixed by the above ^


Features standard output

Added a new standard output "features" designed for returning last layer features from a model. The output format checks were taken from the Plumed doc.
Contributor (creator of pull-request) checklist

[x] Tests updated (for new features and bugfixes)?
[x] Documentation updated (for new features)?
[ ] Issue referenced (for PRs that solve an issue)?

Reviewer checklist

[ ] CHANGELOG updated with public API or any other important changes?

It looks good to me! Is this always meant to be used without units? Perhaps it would be worth to add this to the docs

It looks good to me! Is this always meant to be used without units? If so, perhaps it would be worth adding it to the docs

Thanks for checking! I added a note regarding the units.

This looks good overall. The only point is about the general name: I'm not sure we want to use "features" for this. A couple of potential alternatives:

"fingerprint"
"representation"
"descriptor"
"ml-"
...

@Luthaf @frostedoyster
Thanks for reviewing!
I’m not sure which name among proposed is better... Unless you have some preferences, we could ask in the metatensor chat, if you wish.

I'll update the main description quickly and then this should be good to merge!


PhotoViewer support link and github.com

Re:  PhotoViewer for Google photos app.
Question1: Why does the PhotoViewer developer's website (www.photoviewapp.com)  "Support"  link send me to github.com   ?
Question2: Can users send issues questions directly to the PhotoViewer developer?  If so, how?    Question3: Are the PhotoViewer issues posted to github.com directed to or read by the PhotoViewer developer?

Yes, i'm the developer.


Organized and Current Readme

Take a looksy 👀

I noticed I was struggling to keep the readme updated with the snapshots and make sure imports/syntax was correct.
In an effort to simplify the process, I stumbled across: https://github.com/zakhenry/embedme
You just put a reference to the file and lines you want to copy and run npx embedme README.md and it will automatically insert/update the code in the block. Super handy! I also refactored the examples so the "test" bits could be omitted from the readme.


Create hex logo

I think the launching of v 1.0 is worth of a hex logo. @peterdesmet: I still remember the draft you made with the velociraptor pushing the button of an old fashion camera. If somebody with such a bad memory as me still remember it, means it is a good catchy hex logo.
I am still open to other ideas if somebody has.

Hi,
Pieter told me that you were looking for a logo for camtraptor. I came up with a few idea's. Don't worry if you don't like them. Let me know what you think.

Lovely! Thanks @NeleMullens to help us with this.
I will come up back to this issue next week, I hope. I am all week in a conference.

Hi again, here is an updated version of the logo (with and without text). Let me know what you think and what I can improve!

There is a little smudge on the upper right corner. Is it possible the whole hexagon is rotated slightly?

I've made some changes to the hexagon border and made the background transparant.

Discussed it in the room, came to this result.

Feedback from the room, the blue is quite strong. Maybe a lighter shade?


Error after installing quill on M1 mac

I'm on an M1 mac and I've downloaded the latest release. After making the binary executable ('sudo chmod +x quill-macos-x86_64'), I get the following error when I try to run quill:
dyld: Library not loaded<EMAIL_ADDRESS>  Referenced from: /Users/[...]/./quill-macos-x86_64
  Reason: image not found
zsh: abort      ./quill-macos-x86_64

I have openssl installed via brew and it's at the following version:
 % openssl
OpenSSL> version
LibreSSL 2.8.3

Could someone help me get quill to run?

Hi Cedric, I remember that it must be the openssl version referenced by the build. Please try to install 1.1:
brew install<EMAIL_ADDRESS>
Also, if I'm not mistaken if you see LibreSSL then this is not the version you installed with homebrew, but the one distributed with macOS. Here's how the path to the binary looks like on my machine:
$ which openssl
<EMAIL_ADDRESS>

Thank you Christian, I've installed version 1.1 and I followed the instructions to make OpenSSL the default version and also expose it to compilers. It seems it's now pointing to the right version of OpenSSL:
% which openssl
<EMAIL_ADDRESS>% openssl version
OpenSSL 1.1.1l  24 Aug 2021

But I still can't execute Quill:
% ./quill-macos-x86_64
dyld: Library not loaded<EMAIL_ADDRESS>  Referenced from: /Users/[...]/./quill-macos-x86_64
  Reason: image not found
zsh: abort      ./quill-macos-x86_64

Any idea what this may be due to?

Is this file actually available on your file system<EMAIL_ADDRESS>?

It's not - in fact, the whole directory @./' doesn't exist.
However, it does exist inside @./lib'.
Do you think I should try to symlink it or is there a way to tell brew to install it in a different place?
On December 6, 2021 at 4:53 PM, Christian Müller @.) wrote:
Is this file actually available on your file system: @./lib/libssl.1.1.dylib ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dfinity/quill/issues/88#issuecomment-986612666, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADBDRQ6HA4J36DGRMZZJF3UPSB2VANCNFSM5JMJ5VZA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Update: I've created a symlink so that what's inside homebrew/opt/ can be found within /usr/local/opt.
However now I'm getting this error:
cedricwaldburger@dubai dfinity % ./quill-macos-x86_64
dyld: Library not loaded<EMAIL_ADDRESS>  Referenced from: /Users/[...]/dfinity/./quill-macos-x86_64
  Reason: no suitable image found.  Did find:
<EMAIL_ADDRESS>mach-o, but wrong architecture
<EMAIL_ADDRESS>mach-o, but wrong architecture
zsh: abort      ./quill-macos-x86_64

I'm doing this on an M1 Mac - is there a workaround to get it running?

Yeah, this is what I suspected: homebrew on M1 is apparently using a different file structure.
Another question: Are you're running the mac build as a normal binary? You actually need to run it in an emulated mode, since it's not compiled for the M1 architecture. I have no further suggestions at that point as I have no M1 machine and no experience in this field. I just know that people get very complex Intel apps running, so it can't be that hard.
I know that @dprats has some experience. Diego, did you get quill running on M1?

Thank you for the insights. I've messaged Diego. Before I go through too much trouble to get quill to work on my M1 - do you know if quill supports identities (as needed to manage ECT neurons)?

Sorry I do not know anything about ECTs. @jwiegley @timohanke are you able to answer this question, guys?

Has there been any progress on this issue? I am facing exactly the same problem when trying to run quill on Mac M1.

I got mine to work by using a Rosetta (emulated) shell. However, I tried installing for a community member as well and kept running into issues there.

I also cannot compile or use released binary on my M1 MacBook.... with Rosetta or normal.
I don't use homebrew, use nix instead... maybe that's an additional factor... but this is the first time some package wouldn't work because it's installed via nix instead of homebrew... this worked flawlessly always.
Maybe I try to install homebrew and see if quill works at all then... if not, then it seems that M1 users (lots!) are out of luck with quill... which I think it's a pretty big issue, only getting bigger.

errors (normal arm64 architecture, no Rosetta):
~/Downloads$ ./quill-macos-x86_64
dyld[85097]: Library not loaded<EMAIL_ADDRESS>  Referenced from: '/Users/david/Downloads/quill-macos-x86_64'
  Reason: tried<EMAIL_ADDRESS>(no such file), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file)
Abort trap: 6

This is kind of expected since I don't have /usr/local/opt, my openssl package is elsewhere (via nix).
When I create a symlink like this:
<EMAIL_ADDRESS>-> /nix/store/11zigh0h3y7ipmd75rv1ywrsm2f68nrm-openssl-1.1.1n

I get
~/Downloads$ ./quill-macos-x86_64
dyld[84412]: Library not loaded<EMAIL_ADDRESS>  Referenced from: '/Users/david/Downloads/quill-macos-x86_64'
  Reason: tried<EMAIL_ADDRESS>(mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file), '/nix/store/11zigh0h3y7ipmd75rv1ywrsm2f68nrm-openssl-1.1.1n/lib/libssl.1.1.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file)
Abort trap: 6

Which is again expected since quill release for macos seems to only be compiled for i386.
When I try to compile myself I get this:
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` did not exit successfully: exit status: 1\nerror: could not find system library 'openssl' required by the 'openssl-sys' crate\n\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `openssl.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'openssl' found\n"

  --- stderr
  thread 'main' panicked at '

  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = aarch64-apple-darwin
  $TARGET = aarch64-apple-darwin
  openssl-sys = 0.9.74

  ', /Users/david/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.74/build/find_normal.rs:191:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [release] Error 101

This could be because it is hardcoded too tightly with homebrew locations or something else is going on, I tried setting OPENSSL_DIR as well but no luck...
Looks like that the only path would be homebrew+rosetta but not sure if I'd screw up my setup by installing homebrew and if it would then be easy to remove .. I don't want it on my system longer than 1 day and also have to be sure it's entirely gone... I also remembered I have another older MacBook where I can probably run quill...
Anyway I hope this report was somewhat useful and that others who do use homebrew can provide info it it's possible to get it running at least within Rosetta... and then maybe in some time developers can make all of this work on M1 independent on how openssl is installed (homebrew, nix etc.).
thank you!

Is this still an issue with latest quill?


Margin between badges

Hello,
is there any possibility to add a margin between multiple badges? For instance that a badge name like "temperature" is not cut to "temperat...?

Could you attach a screenshot?

Here you are:

Are you adding state_card_mode: badges to each sensor, or is it an inner group, where you added state_card_mode: badges to the group?

Indeed - It's like:
sensor.climate_storage_humidity:
  icon: mdi:water-percent
  friendly_name: Luft
  state_card_mode: badges

sensor.climate_storage_temperature:
  icon: mdi:temperature-celsius
  friendly_name: Temperatur
  state_card_mode: badges

This will require upstream changes in HA

HA 0.54 adds two new CSS variables:

ha-label-badge-title-font-size (defaults to 0.9 em)
ha-label-badge-title-width (defaults to 5em)

You can use those to widen the badge or reduce font size.

HA 0.54 has been released.
@tringler could you check if the new variables do what you intended?

@andrey-git - Thanks SO much! It works great!


test PR with Github API

Please pull this in!

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

File
Status
Preview URL
Details
Dependent Files

sdp-test/index.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit cb5a2ae:
:warning: Validation status: warnings

File
Status
Preview URL
Details
Dependent Files

sdp-test/page-model-documents/Tutorial.yml
:warning:Warning

Details

sdp-test/index.md
:white_check_mark:Succeeded

sdp-test/page-model-documents/Tutorial.yml

[Warning] Unable to find uid "challenge-uid".

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

Docs Build status updates of commit 4902ee4:
:warning: Validation status: warnings

File
Status
Preview URL
Details
Dependent Files

sdp-test/page-model-documents/Tutorial.yml
:warning:Warning

Details

sdp-test/index.md
:white_check_mark:Succeeded

sdp-test/page-model-documents/Tutorial.yml

[Warning] Unable to find uid "challenge-uid".

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

Docs Build status updates of commit 589df4f:
:warning: Validation status: warnings

File
Status
Preview URL
Details
Dependent Files

sdp-test/page-model-documents/Tutorial.yml
:warning:Warning

Details

sdp-test/index.md
:white_check_mark:Succeeded

sdp-test/page-model-documents/Tutorial.yml

[Warning] Unable to find uid "challenge-uid".

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


Where's the pid files?

I've specified an alternate location of the pid files, and they are showing up in the commands:
PIDFILE='/var/www/releases/1446826801/tmp/resque/14468555833567'

No file with that path exists, nor does the logs contain any information as to why it doesn't.
When no pid file exists, I cannot stop the workers via the console shell, I have to kill them manually.
On a second note, the LOGHANDLERTARGET is also set:
/var/www/releases/1446826801/tmp/logs/resque.log

This file doesn't exist either.

Are you using capistrano or similar tools for deployment ?

Yes, I'm using DeployBot.

Does deploybot have a shared folder ? Pid files should reside in a shared
folder, so that file persists between deploy.
On Monday, 9 November 2015, David Steinsland<EMAIL_ADDRESS>wrote:

Yes, I'm using DeployBot.
—
Reply to this email directly or view it on GitHub
https://github.com/wa0x6e/Cake-Resque/issues/96#issuecomment-155051177.

Yes, all that is taken care off.

The tmp folder is shared between deployment ?
On Tuesday, 10 November 2015, David Steinsland<EMAIL_ADDRESS>wrote:

Yes, all that is taken care off.
—
Reply to this email directly or view it on GitHub
https://github.com/wa0x6e/Cake-Resque/issues/96#issuecomment-155150131.

Again, yes. Permissions are OK. Problem is not with my setup. As I said initially, the processes are started with the correct environment variables. So any failure should be logged, and it isnt.

Ca you post the full deployment log for DeployBot ?

@davidsteinsland

I've specified an alternate location of the pid files, and they are showing up in the commands:

You didn't mentioned it specifically, but if you mean CakeResque.Resque.tmpdir: I did a analysis recently and found out that these PID files are only very short lived and used to check if the worker properly started and are then removed from the file system:

pidfile createdhttps://github.com/wa0x6e/Cake-Resque/blob/3ea90434e478b24629d55d9aed43a2a5a4004a1d/src/Shell/CakeResqueShell.php#L825
worker spawnedhttps://github.com/wa0x6e/Cake-Resque/blob/3ea90434e478b24629d55d9aed43a2a5a4004a1d/src/Shell/CakeResqueShell.php#L860
pidfile passed to _checkStartedWorkerhttps://github.com/wa0x6e/Cake-Resque/blob/3ea90434e478b24629d55d9aed43a2a5a4004a1d/src/Shell/CakeResqueShell.php#L873
in _checkStartedWorker: pidfile removedhttps://github.com/wa0x6e/Cake-Resque/blob/3ea90434e478b24629d55d9aed43a2a5a4004a1d/src/Shell/CakeResqueShell.php#L1072

Only within redis the PIDs are permanently persisted for the lifetime of a worker.


Linear regression

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x ] Did you read the contributor guideline, Pull Request section?
[x ] Did you make sure to update the docs?
[x ] Did you write any new necessary tests?

What does this PR do?
Adds linear regression model and datamodule for sklearn/numpy datasets.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃
Yes!

Hello @annikabrundyn! Thanks for opening this PR.

In the file pl_bolts/datamodules/__init__.py:

Line 5:88: W292 no newline at end of file

In the file pl_bolts/datamodules/sklearn_dataloaders.py:

Line 54:121: E501 line too long (160 > 120 characters)
Line 153:1: W391 blank line at end of file

In the file pl_bolts/models/__init__.py:

Line 7:56: W292 no newline at end of file

In the file pl_bolts/models/regression/linear_regression.py:

Line 12:80: E231 missing whitespace after ':'
Line 12:99: E231 missing whitespace after ','
Line 96:40: E261 at least two spaces before inline comment
Line 96:41: E262 inline comment should start with '# '
Line 110:107: W292 no newline at end of file

In the file tests/datamodules/test_sklearn_dataloaders.py:

Line 68:1: E303 too many blank lines (3)
Line 68:20: W292 no newline at end of file

Do see the Hitchhiker's guide to code style


Missing complex support for GetArrayFromImage and GetImageFromArray

In python it is not possible to create a SimpleITK image from a complex numpy array, or to extract a complex numpy array from a SimpleITK image with pixel type sitkComplexFloat32 or sitkComplexFloat64.

It looks like the sitk::Image::GetBufferAsComplexFloat32 methods are missing too.

Closed by #771
To get the buffer from an Image of complex pixel the scalar method should be called i.e GetBufferAsDouble or GetBufferAsFloat.


[Doc][Module Name] Financial Report SQL update select limit

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
如何把LIMIT 5去掉

Documentation Links
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

in dbgpts github repo, dbgpts/workflow/financial-robot-app/chat_indicator.py


Fix make install again

For real, the commit 4355ab3c8fa7ad98b8a21267f84ebbaf47e2d2f8 messed up with me here. At least I couldn't build 0.12.0+ for Fedora without harsh patch.
It installed files to somewhere outside first, and then destdir was introduced but abused. Meanwhile the pkgconfig file was broken, the original echo line in makefile didn't escape the dollar sign so the final generated file would ignore the ${includedir} and ${libdir} as they were empty. I know modern compiler is smart but we still need some pedantic styles as they are not matured yet on such style it used.
This patch:

Use $(DESTDIR) only in install stage.
Change pkgconfig file from:

Libs: -L -lhiredis
Cflags: -I -D_FILE_OFFSET_BITS=64
to
Libs: -L${libdir} -lhiredis
Cflags: -I${includedir} -D_FILE_OFFSET_BITS=64

$(PKGCONFNAME) stage is needed for install stage.

So, who's right?  This removes a lot of https://github.com/redis/hiredis/commit/4355ab3c8fa7ad98b8a21267f84ebbaf47e2d2f8 for fixing installs around packaging.
(The build isn't really failing; ubuntu mirrors are just down and travis can't complete the VM install.)

I think mine is better.
The initial way of fixing the make install problem is a harsh way. It added DESTDIR to INSTALL_LIBRARY_PATH and the pkgconfig file would be broken because the actual libdir path is /usr/lib or /usr/lib64, but the fix would pull in the DESTDIR macro. This also applies to the INSTALL_INCLUDE_PATH.
DESTDIR is a good macro as I don't need to insert it manually after 0.12.0, but it should be used in a proper way, the commit needs to fit more system or the troubles will come more.
Do we need to toss a coin?  😁

Do we need to toss a coin? 😁

Look how other Makefiles implement DESTDIR and see if we are right or wrong?  It looks like we are currently doing the right thing.

Mine: Include the DESTDIR explicitly(in INSTALL_*_PATH macros)
Initial: Implicitly(directly in the install line)
To be frank, DESTDIR is not a big problem, I'm concerned about the pkgconfig file.
I don't have too much time arguing on DESTDIR as I'm tired of such kind of minutia. It's not a real problem indeed. No matter how you cope with this finally, I will carry this patch in Fedora package forever and will make sure hiredis could be built without issue and make sure the pkgconfig is correct instead of a broken one included in the RPM.
Thank you in advance.

Couldn't the DESTDIR for pkgconfig fixed by just changing lines 154, 155 to:
 	@echo libdir=$(PREFIX)/$(INCLUDE_PATH) >> $@
 	@echo includedir=$(PREFIX)/$(LIBRARY_PATH) >> $@

Either way, from looking at it nothing changes in regards to where stuff gets installed so LGTM. (Didn't test it yet)
Sorry that 4355ab3c8fa7ad98b8a21267f84ebbaf47e2d2f8 wasted your time and thanks for catching the pkgconfig issues.

Couldn't the DESTDIR for pkgconfig fixed by

Good point.  The previous change prepended DESTDIR to the vars we were using for pkgconf, so we can easily make pkgconf use the previous values directly.
I'll include your fix soon.

Thank you everyone.


New project structure

UPD Apr 12, 2023. Previous issue title was "Permanent key-value store"
Is your feature request related to a problem? Please describe.
There are 2 almost similar problems

YoutubeBridge has following todo in code, which describes problem of using playlist context (I called it as mode)
https://github.com/RSS-Bridge/rss-bridge/blob/1ed7bdcddff0e52c786e1b39747076bb4e7e7340/bridges/YoutubeBridge.php#L360-L364
At the moment bridge in playlist context does fetch all video links from playlist, that make bad perfomance when using playlist of 100 videos.
YandexZen has problems with fetching article creation date
https://feed.eugenemolotov.ru/?action=display&bridge=YandexZenBridge&username=electromozg&limit=20&format=Html
In debug mode following thing appears:

Undefined property: stdClass::$publication_date at bridges/YandexZenBridge.php line 42

In Tiny Tiny RSS, items from YandexZen bridge feed always go to top in "Newest" section (Свежее in Russian) because of empty creation date. In order to fix that bug, you need to fetch article and get creation date from that. Implementing this will lead to problem 1.
Describe the solution you'd like
Permanent key-value database. For example in SQL-like databases it would have table like "YoutubeBridge_videos" and key and value. Key would be videoId, value is serialized pair of creation date and duration.
Describe alternatives you've considered
I do not consider Cache as alternative. One of the reasons, that key is always hash of something readable.

Maybe it's time to introduce new folders?

var/cache
var/log
public (root directory served by web server)

And the main db file could be var/rssbridge.sqlite.
The main downside is that it increases the deployment complexity. And that existing deployments might need manual intervention to preserve the cache folder/file.
One upside is that files in cache no longer are readable via direct url access.
One downside is increased web server complexity  if we want to e.g. store .png files in var/assets and serve them with web server.

I'm totally against creating a new repository.
The public folder should ideally be 700, while having e.g. 777 on the var folder.
It's a clean separation in order to prevent mixing of public files and non-public files that are not supposed to be public.
It enables us to serve var/assets statically which would prevent e.g. .php files from executing.
Example:
location /assets/ {
    alias /var/www/rssbridge/var/assets;
}

We already have an assets folder so a better example is var/storage:
location /storage/ {
    alias /var/www/rssbridge/var/storage;
}

Yes I think that some of rss-bridge users deploy their instance on a classical hosting provider. This is an argument to keep the current directory structure.

Doesn't rss-bridge just grab data which is publicly accessible already?

There can be custom bridges, that can use sensitive data.

Still I think we agree that a new folder is needed which isn't publicly available.

As a workaround how about adding public/index.php that only does "include('.. /index.php')? I mean it will run index from root directory

There can be custom bridges, that can use sensitive data.

How about using .htaccess rules in sensitive directories to block access to web clients? This would still allow RSS-bridge to access the data locally whilst not exposing it to the Internet.
In public_html/sensitive/.htaccess:
Deny from all

How about using .htaccess rules in sensitive directories to block access to web clients?

That option is not available for nginx with its centralized config.

If the change to directory structure is to be made, I suggest that RSS-bridge continues to work when all files are in a publicly accessible directory, for people with no choice e.g. shared hosting.

Yes we should ideally preserve existing installations in shared hosting. No one likes hard breakages.

Or at least let us know ahead of time so that we can update our settings.  Those of us who do an automatic git pull every day would appreciate it.

sure i think we will be able to not break anything

the original problem can be fixed by using the now improved cache api.


When activating the layer 'road-level time map' the results show but not the legend.

The legend issue is fixed after vector point time map modification.


chore: release 0.3.2

:robot: I have created a release *beep* *boop*
0.3.2 (2021-12-29)
Bug Fixes

changelog: added changelog to gemspec. #54 (0164546)
dependencies: add support for no bundler (741aff8)
dependencies: remove lock file (86890fe)
docs: fix incorrect attribute module (cad978b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/WFCD/warframe-ruby/releases/tag/v0.3.2 :sunflower:


Setup Missing File

When I follow the ReadME in the Setup folder and run
pip3 install -r collections/ansible_collections/amazon/aws/requirements.txt
I get this error:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'collections/ansible_collections/amazon/aws/requirements.txt'
Not sure what collections are missing or if I could find them anywhere else.

yes, the files were not there when I cloned the repo

are they there for you now?

Can you run pwd to display your current working directory. For me, I had to cd into setup first for it to work

I am having the same issue. Confirmed that I am in setup, but the folder collections/ansible_collections is empty.

@gardnerapp - Don't know if this is your cause, but I misunderstood the location of the file trying to run. I changed the directory in the command to the directory where my local Ansible collections were stored (run ansible-galaxy collection list to see the location of your collections folder), and then ran against that. So my full command ended up being pip3 install -r /opt/homebrew/lib/python3.11/site-packages/ansible_collections/amazon/aws/requirements.txt.