show SSLError in docker

Describe the bug
when I run docker-compose up --build eval
and write down some prompts and send the request.
It shows some error on terminal
eval        | urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/engines/gpt-3.5-turbo (Caused by SSLError(SSLError(1, '[SSL] unknown error (_ssl.c:1007)')))

I change the docker file to
RUN \
  apt-get update && \
  apt-get install -y software-properties-common && \
  # add-apt-repository ppa:deadsnakes/ppa && \
  apt-get install -y python3.10 python3-pip curl && \
  curl -sSL https://install.python-poetry.org | python3 - && \
  apt-get install -y nodejs npm

Is this the reason?
To Reproduce
Steps to reproduce the behavior:

run docker-compose up --build eval
send message
show error

Expected behavior
received message
Desktop (please complete the following information):

OS: MacOS
Browser chrome

Could you please show your prompt to me?

maybe it's not the problem of prompt. I use GPT4, and it said, I need to apt-get install -y openssl.
But it still failed after I install openssl in docker.

And I use postman to test the api, the request is ok.
Thank you. I'll find the solution with @hanchchch

EOF occurred in violation of protocol

There might be a problem with the ssl library you have on that container. I saw this error when there was a mismatch of TLS version between the server and client.
But still it's strange bc you must built the image with same Dockerfile we have and we haven't faced the same issue.

Can you try running poetry install pyopenssl locally so it can add pyopenssl in pyproject.toml, then build the image again?

or just execute this on repo root (it's a bit long so I recommend you to copy and paste it on shell script and execute it)
in case you don't have poetry locally.
cat <<- EOF > diff.patch
diff --git a/poetry.lock b/poetry.lock
index 2c84efb..fc784af 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1,4 +1,4 @@
-# This file is automatically @generated by Poetry 1.4.1 and should not be changed by hand.
+# This file is automatically @generated by Poetry 1.4.0 and should not be changed by hand.

 [[package]]
 name = "accelerate"
@@ -419,6 +419,83 @@ files = [
     {file = "certifi-2022.12.7.tar.gz", hash = "sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3"},
 ]

+[[package]]
+name = "cffi"
+version = "1.15.1"
+description = "Foreign Function Interface for Python calling C code."
+category = "main"
+optional = false
+python-versions = "*"
+files = [
+    {file = "cffi-1.15.1-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:a66d3508133af6e8548451b25058d5812812ec3798c886bf38ed24a98216fab2"},
+    {file = "cffi-1.15.1-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:470c103ae716238bbe698d67ad020e1db9d9dba34fa5a899b5e21577e6d52ed2"},
+    {file = "cffi-1.15.1-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:9ad5db27f9cabae298d151c85cf2bad1d359a1b9c686a275df03385758e2f914"},
+    {file = "cffi-1.15.1-cp27-cp27m-win32.whl", hash = "sha256:b3bbeb01c2b273cca1e1e0c5df57f12dce9a4dd331b4fa1635b8bec26350bde3"},
+    {file = "cffi-1.15.1-cp27-cp27m-win_amd64.whl", hash = "sha256:e00b098126fd45523dd056d2efba6c5a63b71ffe9f2bbe1a4fe1716e1d0c331e"},
+    {file = "cffi-1.15.1-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:d61f4695e6c866a23a21acab0509af1cdfd2c013cf256bbf5b6b5e2695827162"},
+    {file = "cffi-1.15.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b"},
+    {file = "cffi-1.15.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:39d39875251ca8f612b6f33e6b1195af86d1b3e60086068be9cc053aa4376e21"},
+    {file = "cffi-1.15.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:285d29981935eb726a4399badae8f0ffdff4f5050eaa6d0cfc3f64b857b77185"},
+    {file = "cffi-1.15.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3eb6971dcff08619f8d91607cfc726518b6fa2a9eba42856be181c6d0d9515fd"},
+    {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:21157295583fe8943475029ed5abdcf71eb3911894724e360acff1d61c1d54bc"},
+    {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5635bd9cb9731e6d4a1132a498dd34f764034a8ce60cef4f5319c0541159392f"},
+    {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2012c72d854c2d03e45d06ae57f40d78e5770d252f195b93f581acf3ba44496e"},
+    {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd86c085fae2efd48ac91dd7ccffcfc0571387fe1193d33b6394db7ef31fe2a4"},
+    {file = "cffi-1.15.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01"},
+    {file = "cffi-1.15.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:59c0b02d0a6c384d453fece7566d1c7e6b7bae4fc5874ef2ef46d56776d61c9e"},
+    {file = "cffi-1.15.1-cp310-cp310-win32.whl", hash = "sha256:cba9d6b9a7d64d4bd46167096fc9d2f835e25d7e4c121fb2ddfc6528fb0413b2"},
+    {file = "cffi-1.15.1-cp310-cp310-win_amd64.whl", hash = "sha256:ce4bcc037df4fc5e3d184794f27bdaab018943698f4ca31630bc7f84a7b69c6d"},
+    {file = "cffi-1.15.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3d08afd128ddaa624a48cf2b859afef385b720bb4b43df214f85616922e6a5ac"},
+    {file = "cffi-1.15.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3799aecf2e17cf585d977b780ce79ff0dc9b78d799fc694221ce814c2c19db83"},
+    {file = "cffi-1.15.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a591fe9e525846e4d154205572a029f653ada1a78b93697f3b5a8f1f2bc055b9"},
+    {file = "cffi-1.15.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c"},
+    {file = "cffi-1.15.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325"},
+    {file = "cffi-1.15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c"},
+    {file = "cffi-1.15.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef"},
+    {file = "cffi-1.15.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8"},
+    {file = "cffi-1.15.1-cp311-cp311-win32.whl", hash = "sha256:a0f100c8912c114ff53e1202d0078b425bee3649ae34d7b070e9697f93c5d52d"},
+    {file = "cffi-1.15.1-cp311-cp311-win_amd64.whl", hash = "sha256:04ed324bda3cda42b9b695d51bb7d54b680b9719cfab04227cdd1e04e5de3104"},
+    {file = "cffi-1.15.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50a74364d85fd319352182ef59c5c790484a336f6db772c1a9231f1c3ed0cbd7"},
+    {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e263d77ee3dd201c3a142934a086a4450861778baaeeb45db4591ef65550b0a6"},
+    {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cec7d9412a9102bdc577382c3929b337320c4c4c4849f2c5cdd14d7368c5562d"},
+    {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4289fc34b2f5316fbb762d75362931e351941fa95fa18789191b33fc4cf9504a"},
+    {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:173379135477dc8cac4bc58f45db08ab45d228b3363adb7af79436135d028405"},
+    {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:6975a3fac6bc83c4a65c9f9fcab9e47019a11d3d2cf7f3c0d03431bf145a941e"},
+    {file = "cffi-1.15.1-cp36-cp36m-win32.whl", hash = "sha256:2470043b93ff09bf8fb1d46d1cb756ce6132c54826661a32d4e4d132e1977adf"},
+    {file = "cffi-1.15.1-cp36-cp36m-win_amd64.whl", hash = "sha256:30d78fbc8ebf9c92c9b7823ee18eb92f2e6ef79b45ac84db507f52fbe3ec4497"},
+    {file = "cffi-1.15.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:198caafb44239b60e252492445da556afafc7d1e3ab7a1fb3f0584ef6d742375"},
+    {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5ef34d190326c3b1f822a5b7a45f6c4535e2f47ed06fec77d3d799c450b2651e"},
+    {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8102eaf27e1e448db915d08afa8b41d6c7ca7a04b7d73af6514df10a3e74bd82"},
+    {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5df2768244d19ab7f60546d0c7c63ce1581f7af8b5de3eb3004b9b6fc8a9f84b"},
+    {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a8c4917bd7ad33e8eb21e9a5bbba979b49d9a97acb3a803092cbc1133e20343c"},
+    {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0e2642fe3142e4cc4af0799748233ad6da94c62a8bec3a6648bf8ee68b1c7426"},
+    {file = "cffi-1.15.1-cp37-cp37m-win32.whl", hash = "sha256:e229a521186c75c8ad9490854fd8bbdd9a0c9aa3a524326b55be83b54d4e0ad9"},
+    {file = "cffi-1.15.1-cp37-cp37m-win_amd64.whl", hash = "sha256:a0b71b1b8fbf2b96e41c4d990244165e2c9be83d54962a9a1d118fd8657d2045"},
+    {file = "cffi-1.15.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:320dab6e7cb2eacdf0e658569d2575c4dad258c0fcc794f46215e1e39f90f2c3"},
+    {file = "cffi-1.15.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e74c6b51a9ed6589199c787bf5f9875612ca4a8a0785fb2d4a84429badaf22a"},
+    {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a5c84c68147988265e60416b57fc83425a78058853509c1b0629c180094904a5"},
+    {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3b926aa83d1edb5aa5b427b4053dc420ec295a08e40911296b9eb1b6170f6cca"},
+    {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:87c450779d0914f2861b8526e035c5e6da0a3199d8f1add1a665e1cbc6fc6d02"},
+    {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f2c9f67e9821cad2e5f480bc8d83b8742896f1242dba247911072d4fa94c192"},
+    {file = "cffi-1.15.1-cp38-cp38-win32.whl", hash = "sha256:8b7ee99e510d7b66cdb6c593f21c043c248537a32e0bedf02e01e9553a172314"},
+    {file = "cffi-1.15.1-cp38-cp38-win_amd64.whl", hash = "sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5"},
+    {file = "cffi-1.15.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:54a2db7b78338edd780e7ef7f9f6c442500fb0d41a5a4ea24fff1c929d5af585"},
+    {file = "cffi-1.15.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0"},
+    {file = "cffi-1.15.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7473e861101c9e72452f9bf8acb984947aa1661a7704553a9f6e4baa5ba64415"},
+    {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6c9a799e985904922a4d207a94eae35c78ebae90e128f0c4e521ce339396be9d"},
+    {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3bcde07039e586f91b45c88f8583ea7cf7a0770df3a1649627bf598332cb6984"},
+    {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:33ab79603146aace82c2427da5ca6e58f2b3f2fb5da893ceac0c42218a40be35"},
+    {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5d598b938678ebf3c67377cdd45e09d431369c3b1a5b331058c338e201f12b27"},
+    {file = "cffi-1.15.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:db0fbb9c62743ce59a9ff687eb5f4afbe77e5e8403d6697f7446e5f609976f76"},
+    {file = "cffi-1.15.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:98d85c6a2bef81588d9227dde12db8a7f47f639f4a17c9ae08e773aa9c697bf3"},
+    {file = "cffi-1.15.1-cp39-cp39-win32.whl", hash = "sha256:40f4774f5a9d4f5e344f31a32b5096977b5d48560c5592e2f3d2c4374bd543ee"},
+    {file = "cffi-1.15.1-cp39-cp39-win_amd64.whl", hash = "sha256:70df4e3b545a17496c9b3f41f5115e69a4f2e77e94e1d2a8e1070bc0c38c8a3c"},
+    {file = "cffi-1.15.1.tar.gz", hash = "sha256:d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9"},
+]
+
+[package.dependencies]
+pycparser = "*"
+
 [[package]]
 name = "charset-normalizer"
 version = "3.1.0"
@@ -611,6 +688,48 @@ files = [
     {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
 ]

+[[package]]
+name = "cryptography"
+version = "40.0.1"
+description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers."
+category = "main"
+optional = false
+python-versions = ">=3.6"
+files = [
+    {file = "cryptography-40.0.1-cp36-abi3-macosx_10_12_universal2.whl", hash = "sha256:918cb89086c7d98b1b86b9fdb70c712e5a9325ba6f7d7cfb509e784e0cfc6917"},
+    {file = "cryptography-40.0.1-cp36-abi3-macosx_10_12_x86_64.whl", hash = "sha256:9618a87212cb5200500e304e43691111570e1f10ec3f35569fdfcd17e28fd797"},
+    {file = "cryptography-40.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3a4805a4ca729d65570a1b7cac84eac1e431085d40387b7d3bbaa47e39890b88"},
+    {file = "cryptography-40.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:63dac2d25c47f12a7b8aa60e528bfb3c51c5a6c5a9f7c86987909c6c79765554"},
+    {file = "cryptography-40.0.1-cp36-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:0a4e3406cfed6b1f6d6e87ed243363652b2586b2d917b0609ca4f97072994405"},
+    {file = "cryptography-40.0.1-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1e0af458515d5e4028aad75f3bb3fe7a31e46ad920648cd59b64d3da842e4356"},
+    {file = "cryptography-40.0.1-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:d8aa3609d337ad85e4eb9bb0f8bcf6e4409bfb86e706efa9a027912169e89122"},
+    {file = "cryptography-40.0.1-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:cf91e428c51ef692b82ce786583e214f58392399cf65c341bc7301d096fa3ba2"},
+    {file = "cryptography-40.0.1-cp36-abi3-win32.whl", hash = "sha256:650883cc064297ef3676b1db1b7b1df6081794c4ada96fa457253c4cc40f97db"},
+    {file = "cryptography-40.0.1-cp36-abi3-win_amd64.whl", hash = "sha256:a805a7bce4a77d51696410005b3e85ae2839bad9aa38894afc0aa99d8e0c3160"},
+    {file = "cryptography-40.0.1-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:cd033d74067d8928ef00a6b1327c8ea0452523967ca4463666eeba65ca350d4c"},
+    {file = "cryptography-40.0.1-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:d36bbeb99704aabefdca5aee4eba04455d7a27ceabd16f3b3ba9bdcc31da86c4"},
+    {file = "cryptography-40.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:32057d3d0ab7d4453778367ca43e99ddb711770477c4f072a51b3ca69602780a"},
+    {file = "cryptography-40.0.1-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:f5d7b79fa56bc29580faafc2ff736ce05ba31feaa9d4735048b0de7d9ceb2b94"},
+    {file = "cryptography-40.0.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:7c872413353c70e0263a9368c4993710070e70ab3e5318d85510cc91cce77e7c"},
+    {file = "cryptography-40.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:28d63d75bf7ae4045b10de5413fb1d6338616e79015999ad9cf6fc538f772d41"},
+    {file = "cryptography-40.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:6f2bbd72f717ce33100e6467572abaedc61f1acb87b8d546001328d7f466b778"},
+    {file = "cryptography-40.0.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:cc3a621076d824d75ab1e1e530e66e7e8564e357dd723f2533225d40fe35c60c"},
+    {file = "cryptography-40.0.1.tar.gz", hash = "sha256:2803f2f8b1e95f614419926c7e6f55d828afc614ca5ed61543877ae668cc3472"},
+]
+
+[package.dependencies]
+cffi = ">=1.12"
+
+[package.extras]
+docs = ["sphinx (>=5.3.0)", "sphinx-rtd-theme (>=1.1.1)"]
+docstest = ["pyenchant (>=1.6.11)", "sphinxcontrib-spelling (>=4.0.1)", "twine (>=1.12.0)"]
+pep8test = ["black", "check-manifest", "mypy", "ruff"]
+sdist = ["setuptools-rust (>=0.11.4)"]
+ssh = ["bcrypt (>=3.1.5)"]
+test = ["iso8601", "pretend", "pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-shard (>=0.1.2)", "pytest-subtests", "pytest-xdist"]
+test-randomorder = ["pytest-randomly"]
+tox = ["tox"]
+
 [[package]]
 name = "dataclasses-json"
 version = "0.5.7"
@@ -1815,6 +1934,18 @@ files = [
     {file = "psycopg2_binary-2.9.5-cp39-cp39-win_amd64.whl", hash = "sha256:484405b883630f3e74ed32041a87456c5e0e63a8e3429aa93e8714c366d62bd1"},
 ]

+[[package]]
+name = "pycparser"
+version = "2.21"
+description = "C parser in Python"
+category = "main"
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
+files = [
+    {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"},
+    {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"},
+]
+
 [[package]]
 name = "pydantic"
 version = "1.10.7"
@@ -1868,6 +1999,25 @@ typing-extensions = ">=4.2.0"
 dotenv = ["python-dotenv (>=0.10.4)"]
 email = ["email-validator (>=1.0.3)"]

+[[package]]
+name = "pyopenssl"
+version = "23.1.1"
+description = "Python wrapper module around the OpenSSL library"
+category = "main"
+optional = false
+python-versions = ">=3.6"
+files = [
+    {file = "pyOpenSSL-23.1.1-py3-none-any.whl", hash = "sha256:9e0c526404a210df9d2b18cd33364beadb0dc858a739b885677bc65e105d4a4c"},
+    {file = "pyOpenSSL-23.1.1.tar.gz", hash = "sha256:841498b9bec61623b1b6c47ebbc02367c07d60e0e195f19790817f10cc8db0b7"},
+]
+
+[package.dependencies]
+cryptography = ">=38.0.0,<41"
+
+[package.extras]
+docs = ["sphinx (!=5.2.0,!=5.2.0.post0)", "sphinx-rtd-theme"]
+test = ["flaky", "pretend", "pytest (>=3.0.1)"]
+
 [[package]]
 name = "python-dateutil"
 version = "2.8.2"
@@ -2609,15 +2759,6 @@ category = "dev"
 optional = false
 python-versions = "*"
 files = [
-    {file = "triton-2.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:38806ee9663f4b0f7cd64790e96c579374089e58f49aac4a6608121aa55e2505"},
-    {file = "triton-2.0.0-1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:226941c7b8595219ddef59a1fdb821e8c744289a132415ddd584facedeb475b1"},
-    {file = "triton-2.0.0-1-cp36-cp36m-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4c9fc8c89874bc48eb7e7b2107a9b8d2c0bf139778637be5bfccb09191685cfd"},
-    {file = "triton-2.0.0-1-cp37-cp37m-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d2684b6a60b9f174f447f36f933e9a45f31db96cb723723ecd2dcfd1c57b778b"},
-    {file = "triton-2.0.0-1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9d4978298b74fcf59a75fe71e535c092b023088933b2f1df933ec32615e4beef"},
-    {file = "triton-2.0.0-1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:74f118c12b437fb2ca25e1a04759173b517582fcf4c7be11913316c764213656"},
-    {file = "triton-2.0.0-1-pp37-pypy37_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9618815a8da1d9157514f08f855d9e9ff92e329cd81c0305003eb9ec25cc5add"},
-    {file = "triton-2.0.0-1-pp38-pypy38_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1aca3303629cd3136375b82cb9921727f804e47ebee27b2677fef23005c3851a"},
-    {file = "triton-2.0.0-1-pp39-pypy39_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e3e13aa8b527c9b642e3a9defcc0fbd8ffbe1c80d8ac8c15a01692478dc64d8a"},
     {file = "triton-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f05a7e64e4ca0565535e3d5d3405d7e49f9d308505bb7773d21fb26a4c008c2"},
     {file = "triton-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bb4b99ca3c6844066e516658541d876c28a5f6e3a852286bbc97ad57134827fd"},
     {file = "triton-2.0.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47b4d70dc92fb40af553b4460492c31dc7d3a114a979ffb7a5cdedb7eb546c08"},
@@ -2864,4 +3005,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more
 [metadata]
 lock-version = "2.0"
 python-versions = "^3.10"
-content-hash = "3a7cbc62858401d620de4eeab75906ea8caa97d780632e58e1d6316681228d13"
+content-hash = "56e59cc9cb57444e404412476b0a417f297edecbead84c6093c3a83ca974ca76"
diff --git a/pyproject.toml b/pyproject.toml
index f964cc6..0af9dde 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -26,6 +26,7 @@ jinja2 = "^3.1.2"
 python-multipart = "^0.0.6"
 celery = "^5.2.7"
 redis = "^4.5.4"
+pyopenssl = "^23.1.1"

 [tool.poetry.group.gpu]
 optional = true
EOF
git apply diff
rm diff.patch

let me try. Please wait a moment.

It still failed. I have the same diff as you provide.

I try to create a new docker with alpine:latest and in this docker container. the curl for https://api.openai.com still failed.
I think maybe it's the problem of my computer? I will try to proxy my docker to fix this problem.

I asked gpt and solved this problem with local proxy.
  eval:
    container_name: eval
    image: eval
    build:
      dockerfile: build/Dockerfile.cpu
      context: .
    volumes:
      - ./static/:/app/static/
      - ./playground/:/app/playground/
    ports:
      - "4500:4500"
      - "7777:7777"
      - "8000:8000" # eval port
    env_file:
      - .env
    environment:
      - CELERY_BROKER_URL=redis://redis:6379
      - https_proxy=http://host.docker.internal:7890
      - http_proxy=http://host.docker.internal:7890
      - all_proxy=socks5://host.docker.internal:7890
    depends_on:
      - redis

And I run the project with docker successfully.

what a exciting things.

Is there any discord or telegram group to chat？

I asked gpt and solved this problem with local proxy.

That is awesome! Wish this conversation helps someone else struggling with similar issue.
Do you think we should do something about this issue on the repo? Not sure about if it's really relavant with the source code or README guide.

Is there any discord or telegram group to chat？ @adldotori @hanchchch

I'm afraid there isn't. This project is in early form and many things are missing 😂 We can make one if you want someday

I asked gpt and solved this problem with local proxy.

That is awesome! Wish this conversation helps someone else struggling with similar issue.
Do you think we should do something about this issue on the repo? Not sure if it's really relavant with the source code or README guide.

Maybe create a wiki to show some unusual problem solution is more convenient, and we can create link to wiki in readme file.


Add canary traffic changing

Add canary traffic changing
Add helper method for apig name -> apig id
Update plumbing to use values from the ApiGateway struct

#41  👈 (View in Graphite)
trunk

This stack of pull requests is managed by Graphite. Learn more about stacking.


Workflow for auto commenting an issue creation

This feature aims to address the problem of delayed and inconsistent communication following the creation of issues. By automatically commenting on issues as soon as they are created, it ensures that contributors receive immediate feedback and acknowledgment for their efforts. This fosters a positive and supportive environment for collaboration, encouraging continued participation and engagement from contributors.

@ashitaprasad please assign me this issue under gssoc'24

Please read the contributing guide and create a valid issue.


Suggestion for more debug symbol folder file layouts (remotely-mounted system ones, debuginfod…)

Hi! The DEVELOPMENT.md file states:

The symbols file must named in one of three ways. The same fname as the binary (game.elf), the same name plus the .debug extension (game.elf.debug) or the same name but the .debug extension instead of the original one (game.debug). To make sure the binary and symbols file have been produced in the same build, Orbit checks that they have a matching build id.

This is very limiting, especially when using OrbitService on one computer and Orbit on another. For some reasons Orbit finds the symbols provided by Ubuntu Linux on /usr/lib/debug if the client is running on the same computer the profiled program runs, but if I run the profiled program with OrbitService running on another computer and I share the /usr/lib/debug folder of the remote computer over the network to be mounted on the local computer running Orbit, and add that mount point to the list of folder to look debug symboles for, it doesn't work.
The file layout is the same as /usr/lib/debug, so here is how it is on the remote computer:
/usr/lib/debug/.build-id/04/6a33a6ce5fcf079cda4518fc4709613aeb2529.debug
/usr/lib/debug/.build-id/04/91a649034f20c664c5ae69b5f48b4d20eed60b.debug
/usr/lib/debug/.build-id/11/2149accfe72667572e7821ace517b326f6ff90.debug
/usr/lib/debug/.build-id/11/a8acf3e985b29604eb782fde22b57fb6167068.debug
/usr/lib/debug/.build-id/1a/e0cb77020c59b410aa4719a7a23651221635b3.debug

Here is how it is if machine:/usr/lib/debug is mounted as /data/machine/debug:
/data/machine/debug/.build-id/04/6a33a6ce5fcf079cda4518fc4709613aeb2529.debug
/data/machine/debug/.build-id/04/91a649034f20c664c5ae69b5f48b4d20eed60b.debug
/data/machine/debug/.build-id/11/2149accfe72667572e7821ace517b326f6ff90.debug
/data/machine/debug/.build-id/11/a8acf3e985b29604eb782fde22b57fb6167068.debug
/data/machine/debug/.build-id/1a/e0cb77020c59b410aa4719a7a23651221635b3.debug

When the build id is 1ae0cb77020c59b410aa4719a7a23651221635b3 the filename is <symbol_folder>/.build-id/1a/e0cb77020c59b410aa4719a7a23651221635b3.debug, not <symbol_folder>/<exe_name>.debug, and there is probably no way to guess back the original executable name to please Orbit.
The second need is that such system's debug folder also provide debug symbol files with such file layout:
/usr/lib/debug/.dwz/x86_64-linux-gnu/libglib2.0-0.debug
/usr/lib/debug/.dwz/x86_64-linux-gnu/libxslt1.1.debug
/usr/lib/debug/.dwz/x86_64-linux-gnu/libxvmc1.debug
/usr/lib/debug/.dwz/x86_64-linux-gnu/libyelp0.debug
/usr/lib/debug/.dwz/x86_64-linux-gnu/libzvbi0.debug

So a mounted folder from a remote computer may be:
/data/machine/debug/.dwz/x86_64-linux-gnu/libglib2.0-0.debug
/data/machine/debug/.dwz/x86_64-linux-gnu/libxslt1.1.debug
/data/machine/debug/.dwz/x86_64-linux-gnu/libxvmc1.debug
/data/machine/debug/.dwz/x86_64-linux-gnu/libyelp0.debug
/data/machine/debug/.dwz/x86_64-linux-gnu/libzvbi0.debug

When the executable name is libglib2.0-0 the filename is <symbol_folder>/.dwz/<arch-triple>/libglib2.0-0.debug, not <symbol_folder>/<exe_name>.debug, this one may be easy to workaround.
The third need, is the need for the debuginfod layout, this is a service provided by some distros like Ubuntu, when running a program on GDB, GDB automatically download the symbols for the third-party loaded libraries from a debuginfod server, this is very convenient.
Here is an example of the debuginfod file layout:
/home/illwieckz/.cache/debuginfod_client/1d72a8007f763be42a9a7c5d63be49d19b51488e/debuginfo
/home/illwieckz/.cache/debuginfod_client/69639d0edb485049e48a8257da67e1724823c52d/debuginfo
/home/illwieckz/.cache/debuginfod_client/7bd8992ae8f799489b7cd5c47395348f14d4fde1/debuginfo
/home/illwieckz/.cache/debuginfod_client/dceee56a30bfe4dbbd373093772ecc4b3e09ae03/debuginfo
/home/illwieckz/.cache/debuginfod_client/ffe88b55e233eb6eff03586e0818d55e769e79b2/debuginfo

With /home/illwieckz/.cache being XDG_CACHE_HOME as defined by the XDG specification, more precisely ${XDG_CACHE_HOME:-${HOME}/.cache.
When the build-id is ffe88b55e233eb6eff03586e0818d55e769e79b2 the file name is <symbol_folder>/ffe88b55e233eb6eff03586e0818d55e769e79b2/debuginfo, , not <exe_name>.debug, and there is probably no way to guess back the original executable name to please Orbit.
So I suggest to add the support for <symbol_folder>/.build-id/<bu/ild_id>.debug, <symbol_folder>/.dwz/<arch-triple>/<exe_name>.debug  and <symbol_folder>/<build_id>/debugino file names in Orbit debug symbol folders.
An extra option would be to also look for <symbol_folder>/<build_id>/debugino, this way a single /data/machine/debug folder exposing a remote computer filesystem would be able to provide both (according to the fact the remote filesystem would be configured to store everything in a single parent folder):
/data/machine/debug/.build-id/04/6a33a6ce5fcf079cda4518fc4709613aeb2529.debug
/data/machine/debug/.dwz/x86_64-linux-gnu/libglib2.0-0.debug
/data/machine/debug/debuginfod_client/ffe88b55e233eb6eff03586e0818d55e769e79b2/debuginfo

Thank you for this tool which is awesome and it would become much more awesome this way! 😍

I notice this other issue for a similar problem on Gentoo:

https://github.com/google/orbit/issues/4832

On that system the path is:
/usr/lib/debug/lib64/libc.so.6.debug
/usr/lib/debug/lib/libc.so.6.debug

So an additional debug folder look-up should also look for <symbol_folder>/lib*/<exe_name>.debug files.

Note that for debuginfod model of usage, the profiler can spawn a call to debuginfod-find(1) (or make the equivalent http GET itself) to attempt to fetch debuginfo on the fly.  It is not stuck looking only for previously received content.


The sharepoint folder is not excluded from the source control

The sharepoint folder is not excluded from the source control. Given that its contents are generated during the build process, it should be excluded from the source control similarly to lib, dist and temp.

VSO #244294

The sharepoint folder also contains the custom feature XML, which is why we haven't excluded it.
However, we did add sharepoint/solution and *.spapp to the gitignore. You should be seeing this in drop 2.


Won't be compatible with new editor

Does not work on live preview or source mode from live preview update.

same issue here :(

Facing same issue!

I apologize for not maintaining this project but I took a break since I bought a remarkable to take notes. I started to use it again and I'm in the way of rebasing this project with the new obsidian API and considering to add feature requests.

this gives me hope! thank you so much for your hard work

Hopefully this great project will continue.

This is an amazing project. Looking fwd to the update fix so we can start using it again! thank you for your hard work <3

So it actually does not work with the latest version of obsidian? Might be a good idea to put that in the readme because I was confused for like an hour thinking I was missing something.


Async query deduplication and cancellation support

SIP-39 - Global Async Query Support mentions a future effort around deduplicating and cancelling asynchronous queries. I'm opening this issue to document our implementation plans for visibility + feedback.
While we explored a few options for implementation, this is our current preferred approach.
cc active participants in SIP-39: @robdiciuccio @etr2460 @DiggidyDave @willbarrett @williaster
Overview
Deduplication will require the current flow, a 1:1 mapping of query to client, to move to a 1:N mapping of query to N clients.
State
Existing state
The application currently performs four writes to Redis to support both sync/async queries:

[sync/async] Write the query results (and some other metadata) to cache
[async] Write the query context (for validating user access when later requesting cached values)
[async] Write to global event stream (for WebSocket server)
[async] Write to user-specific event stream (for WebSocket server)

New state requirements
All of the above values are currently written after the background worker has executed the query. Deduplication and cancellation features will need some state before the query has executed. To track requests, we'll need additional state:

All job ids that are waiting for the results of a given query
Some job metadata such as the query key, channel id, and user id

Architecture

Each request generates a key unique to that particular request using the generated SQL and any other relevant parameters (e.g., impersonating user). Referring to this as the query key.
A set of job ids are associated with the query key. These are waiting on query completion.
Each job id has its own JSON blob in Redis, containing job metadata.
Deduplication occurs when a query request generates a query key that maps to an existing key in Redis with a non-empty set of job ids. In this case, a new job is created and added to the set of jobs waiting on that query to complete. No new celery tasks are enqueued.
When the Celery task running the query completes, it looks up all job ids waiting completion of the query. For each one, it grabs its job metadata and adds events to the Redis streams which will be consumed by the WebSocket server and forwarded to connected clients.
If a request comes in for a query whose results are already cached, the server should return the cached results.
Cancellation for a particular client can occur via removing its job id from the set. If the set of job ids awaiting query completion is empty, the query can be safely cancelled.

Pros

Existing state in Redis does not need to be modified
All Redis operations are atomic, no read-modify-write race conditions to consider

Cons

Some cognitive overhead given the number of k/v pairs in Redis needed

Does the query key you discuss here differ from the chart cache_key? Can we reuse the cache key logic here?

@etr2460 I agree that consistency here is desired. I think we wanted to leave the existing cache values as they are, but as for the logic that generates the cache key, the idea is for it to be the same hashing logic, but with a different key prefix.
Does that make sense, or are you thinking something different?

Nope, that makes sense to me! Simply wanted to make sure that you knew we already had logic to generate this key that could be reused for this use case

Hey all, has there been any progress made on this?

Looking forward to this feature

Love the proposal, but I'm closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please open a new Issue or a PR to address the problem.
CC @craig-rueda in case there's any interest to carry more of this forward in PRs or SIPs


Update the Issue template for this repo to be more relevant

Update the Issue template for this repo to be more relevant
The current template is as below has example steps based on SQL connection issues.
/cc @justcla @jodavis

Here's a suggestion... simply copy the files from https://github.com/aspnet/Universe/tree/master/.github.  There are templates for both a bug report and a feature request.
There is also a pull request template in there that matches the format mentioned in https://github.com/aspnet/LibraryManager/blob/main/.github/CONTRIBUTING.md
Let me know and I can create a PR.


Dataflow standard template regional launch request failure

Launching a standard template with regional endpoint europe-west3 is failing with error:
Grpc.Core.RpcException: Status(StatusCode="FailedPrecondition", Detail="(d5c84d5dd719994a): The workflow could not be created, since it was sent to an invalid regional endpoint (europe-west3) or the wrong API endpoint was used. Please resubmit to a valid Cloud Dataflow regional endpoint and ensure you are using dataflow.projects.locations.templates.launch API endpoint. The list of Cloud Dataflow regional endpoints is at https://cloud.google.com/dataflow/docs/concepts/regional-endpoints. ")
Here's how I'm trying to launch the job:
var r = await _templateClient.LaunchTemplateAsync(new GoogleDataflow.LaunchTemplateRequest()
            {
                GcsPath = launchRequest.TemplatePath,
                Location = launchRequest.Region, //"europe-west3"
                ProjectId = _googleOptions.ProjectId,
                LaunchParameters = launchParams
            });

It seems as if I need to change the endpoint using the client builder, but I'm not quite sure how to go about passing the resource name.
Edit: I'm using Dataflow Prime.

See the Client Configuration documentation for an example of how to change the endpoint using the client builder.
The example is for the AI Platforma API, but the same principle will apply to Dataflow API using its default endoint dataflow.googleapis.com.
After creating the client, you still need to specify the region when creating resources (same as you are doing in your sample code), etc, and this region needs to match the one used for the client's endpoint.

Ok I had a chance to run some code according to the way you described. here's code I've run.
          var region = "europe-west3";
          var client = new GoogleDataflow.TemplatesServiceClientBuilder()
          {
              Endpoint = $"{region}-dataflow.googleapis.com"
          }.Build();

          var r = await client.LaunchTemplateAsync(new GoogleDataflow.LaunchTemplateRequest()
          {

              GcsPath = launchRequest.TemplatePath,
              Location = region,
              ProjectId = _googleOptions.ProjectId,
              LaunchParameters = launchParams
          });

This results in the following error.
rpc.Core.RpcException: Status(StatusCode="Unimplemented", Detail="Bad gRPC response. HTTP status code: 404")    at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass0_02.<b__0>d.MoveNext()`
Any ideas?

I'll try to reproduce and bring this to the attention of the Dataflow team. I would have expect your code to work.

@nick-fenton I've reproduced your issues and I've raised it with the API team.
@meredithslota assigning to you for visibility: Although this doesn't seem exactly like a recurrence #7038, it is possibly related.

@amanda-tarafa Thanks. Yep, I saw #7038 and I suspect it could be related.

@amanda-tarafa Can you include me on the internal bug if there is one?

Note: Dataflow currently does not support regional endpoints like $"{region}-dataflow.googleapis.com".

@bhisevishal
Ok. Thanks for the response. How should I specify a regional endpoint? Setting the location prop on LaunchTemplateRequest doesn’t route to the correct regional resource. See my the first post in this thread for details on this.

We are investigating bug internally once we able to root cause issue then someone from google client library team or dataflow team will update this thread.

There seems to be an issue with the library or with the Grpc.Net.Client dependencies, but we haven't found what the problem is yet. For the time beeing, I can offer a workaround and that is to use Grpc.Core, for that, you need to:

Build the client as follows

var client = new TemplatesServiceClientBuilder
{
    GrpcAdapter = GrpcCoreAdapter.Instance,
}.Build();

Add a dependency to https://www.nuget.org/packages/Grpc.Core to your project.

The rest of your code should be the same as it is now.
We are actively looking into this and I'll come back here with updates when I know more.

Thank you for the workaround!

OK, we've found what the issue is, we'll now have to make a decision on how to fix it, there are several options with different pros and cons, etc.
I'll downgrade the priority of this issue to P2, given that there's a workaround and that we have found the root cause. But we continue to actively work on it. Again, I'll come back here when we know what we'll do and the ETA for that.

@meredithslota assigning to you to figure out next steps. We can discuss on the internal document. Thanks.

@nick-fenton We've added a workaround in Google.Api.Gax.Grpc so you don't have to force the use of Grpc.Core. Once that's been released, you can add the new version of Google.Api.Gax.Grpc explicitly to your project, or wait until we have released a new version of Google.Cloud.Dataflow.V1Beta3 that should depend on the newest Google.Api.Gax.Grpc.

@nick-fenton We've released Google.Cloud.Dataflow.V1Beta3 v2.0.0-beta04 containing the library side fix. If you upgrade to that your original code should work as expected. Do let us know if you run into any other issues.

@amanda-tarafa thank you!

@amanda-tarafa thank you for quick fix!


Page view approach for economic recovery subgraph

Summary
A PR related to the page view approach for the economic recovery subgraph.
Before running this notebook, please make sure you have created the subgraph by running:

step_one_identify_seed_pages.ipynb
step_two_extract_seed_sessions.sql
step_three_extract_nodes_and_edges.sql
step_four_create_networkx_graph.ipynb

There are two notebooks to review:

page_view_approach_economic_recovery - filters the subgraph to a final list of pages related to the economic recovery whole user journey
page_view_approach_economic_recovery_visualisation - plots a bokeh graph and defines seed0 and seed1 pages to explore their neighbours

Checklists

This pull/merge request meets the following requirements:

[X] code runs
[X] developments are ethical and secure
[X] you have made proportionate checks that the code works correctly
[ ] test suite passes
[X] developments adhere to AQA plan (see docs/aqa/aqa_plan.md)
[ ] data log updated (see docs/aqa/data_log.md), if necessary
[X] assumptions, and caveats log updated (see docs/aqa/assumptions_caveats.md), if
necessary
[X] minimum usable documentation written in the docs folder

Comments have been added below around the incomplete checks.

Thanks @JakeMSc for your thorough and handy review as always. I have addressed the comment, and refactored the code where indicated. Also, many thanks for passing on the standard style guide - really useful resource!


Issue with Material Transparency

Hi,
I have been having trouble with getting glass material to appear transparent. I am attaching the files before and after rendering. The material that I've used is below and the material does become transparent when raytracing. However, the items behind this glass material aren't visible. Any solution to this?
new THREE.MeshStandardMaterial({transparent: true});

You must use
material.transparent = true; material.solid = true;
with a RayTracingMaterial
https://github.com/hoverinc/ray-tracing-renderer/wiki/RayTracingMaterial

You must use
material.transparent = true; material.solid = true;
with a RayTracingMaterial
https://github.com/hoverinc/ray-tracing-renderer/wiki/RayTracingMaterial

Thanks for the reply @nicolab28 . However, I've tried doing that and it didn't work out either.
This is what I used.
const material1 = new THREE.RayTracingMaterial();
material1.transparent=true;
material1.solid=true;
And this is the result. Any help is welcome. I've been stuck here for quite some time now..

have you tested with another shape like a flattened sphere, or slightly spherized your plan?

Or pass me your piece of code that generates these objects

I have so far tried this with 2 geometries - BoxBufferGeometry and ExtrudeGeometry. Neither worked. My actual project is quite big. But that involves a transparent glass material and hence I made a testing app on Flask. I am writing the code below. You can replace the static resources with your own. I am attaching the testing code file in txt and also trying to replicate the code here.
`

Testing App

Click

`
testing_app.txt

try
renderer.bounces = 6;

I think you have an initialization problem, remove all your part of webglrenderer, and with the bounce at 6 it works.
What is the purpose of changerenderer ()?

Thanks for the help. The purpose of changerenderer() was to basically display the raytraced image in the same browser window. I figured that would be a good way to quickly switch between my editing environment (WebGL Renderer) and the image output (RayTracingRenderer).

Really appreciate your help @nicolab28 .
I'll close this thread now and go back to working on my project.


The shell script task cannot be executed, there is no log, but SQL can.

The shell script task cannot be executed, there is no log, but SQL can.
the log as fallows:

Which version of DolphinScheduler:
-[1.3.2-preview]

You can check the worker log ,whether is error

thanks,I reinstalled and no problems.


Use UUIDs to refer to listings and other key objects

As we start having interdependencies between services that don't share the same database, it's going to be important to have stable, universal, readable IDs for any object in the system that will be persistently referenced outside of 1 backend service.
Some implementation options include:

https://github.com/ai/nanoid (my preference)
https://github.com/dylang/shortid
https://github.com/kelektiv/node-uuid

Closed as part of #49


Force list paths: use patterns instead of full paths

Hello!
I have the XML file where there are nodes containing the nodes of the same type. and sometimes there is 1 element, sometimes there are several of them.
Example:
<catalog>
  <categories>
    <category/>
    <category>
      <categories>
        <category/>
      </categories>
    </category>
  </categories>
</catalog>

In Obj presentation it will be simple:
class Category {
    @Nullable
    Categories categories;
    // ... other meaningful fields
}

class Categories {
    // at least 1 item
    List<Category> list;
}

So, I need to force all these lists to be a lists instead of 1 item property.
.forceList("/catalog/categories/category")
.forceList("/catalog/categories/category/categories/category")
.forceList("/catalog/categories/category/categories/category/categories/category")

But my source XML can have infinite complexity. I need to have something like that:
.forceList("./categories/category")
or
.forceList("*/categories/category")
Can you improve the check of the tags so it will not search for an exact path, but will search for the pattern, or any other kind of regex-like structure?
Probably, it should be the method called forceListPattern(String pattern)

Hello Dmitri
I have started to look into this request and have probably a solution for this, but I need some time as I don't master regex. For example * does not compile, but I can use "category$". Probably I'll ask you to check / validate the changes I'm about to make before I publish for everyone.
Arnaud.

@smart-fun Hello!
I made a mistake with *. Correct would be .forceList(".*/categories/category")
Let me make a PR maybe you will like the solution I suggest. There are 1 additional method, tests for it.

<catalog>
  <categories>
    <category/>
    <category>
      <categories>
        <category/>
      </categories>
    </category>
  </categories>
</catalog>

May be converted to json:
{
  "catalog": {
    "categories": {
      "category": [
        {
          "-self-closing": "true"
        },
        {
          "categories": {
            "category": {
              "-self-closing": "true"
            }
          }
        }
      ]
    }
  },
  "#omit-xml-declaration": "yes"
}

Hello @relaxedSoul and @javadev
sorry for the delay. I did add a method long ago for regex but didn't push.
I just tried a little as I'm not comfortable with regex. Could you please give a try to the 1.5.0 pre-release?
the new method in the builder is: forceListPattern(String pattern)
thanks!


Update gflags to 2.1.2-p1

Includes hotfix for VS2015

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1179
https://travis-ci.org/ingenue/hunter/builds/176092439

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1180
https://travis-ci.org/ingenue/hunter/builds/176200901

Released https://github.com/ruslo/hunter/releases/tag/v0.16.30


Show task-collection API error in the right place

(note: this is not related to a failure in the background process, but to a failure of the API call)
When we have an API response like:
INFO:     <IP_ADDRESS>:39374 - "POST /api/v1/task/collect/pip/ HTTP/1.1" 422 Unprocessable Entity

the error message should appear in the first block of the page (that is, under "task collection"), while it now shows up at a lower position (as if it were an error of the second section, i.e. the one where you add tasks by hand)

This was made obsolete by other updates

This is fixed with layout updates


Help increase our collection of bitcoin Penguins

meta.zip
inscriptions.zip
please follow up soon, thank you

close pr. @bitpinguin, please submit your pull request by branching the main and adding in your jsons in the correct file /collections/bitcoin-penguins within your fork, then opening a pull request. thank you.


test: add test for the issue of exporting nothing in ESModule

Summary

Test Plan

Require Documentation?

[ ] No
[ ] Yes, the corresponding rspack-website PR is __

It seems like this PR can be closed, as newTreeshaking: false will be removed in Rspack v0.7.0.
If it is still needed, feel free to reopen it~


Support Unicode

Support all Unicode text and emojis

Will be using this for Unicode Support

It now supports all Unicode text and emojis but not characters like Japanese and Chinese. I will make a separate issue about this!

Done in https://github.com/Delta456/box-cli-maker/commit/ce80ac1ff851f14ea31ca04d8b73b8027c76a26b


Add content recommendation endpoints based on L2 Distance of the existing embeddings

Maybe we could add an endpoint that enables users to fetch similar content based on their inquiry. This could possibly add more options for answers on the front-end.

We changed our algorithm right now to use cosine similarity, but we still need to add this endpoint, so we can let people, based on a certain content, get the K contents and return them into a JSON response.

We changed our algorithm right now to use cosine similarity, but we still need to add this endpoint, so we can let people, based on a certain content, get the K contents and return them into a JSON response.

We changed our algorithm right now to use cosine similarity, but we still need to add this endpoint, so we can let people, based on a certain content, get the K contents and return them into a JSON response.


chore: tidy use of bpfSupportedMetrics for NewStats()

Tidy up the universal passing around of bpfSupportedMetrics for NewStats()

[x] Introduce a reasonable default set of bpfSupportedMetrics in the stats package so that these can be used for NewStats() whenever it's invoked.
[x] Remove the InitAvailableParamAndMetrics() function and simply initialise the variables in the package at declaration.
[x] Remove dependency between bpf and stats packages entirely

Hola @dave-tucker @sthaha @rootfs
Would really appreciate a review if you get the chance.
Thanks in advance
Maryam

I've moved the stats globals cleanup to https://github.com/sustainable-computing-io/kepler/pull/1659

@maryamtahhan can you rebase to pick the e2e test diagnostics? thanks

@maryamtahhan can you rebase to pick the e2e test diagnostics? thanks

Hi @dave-tucker
I think this is ready for review again. Please let me know if there are any other issues
Thanks in advance

I will rebase this again

This is rebase now :) \o/ yay!


how to use my trained model

use
model_dict=torch.load(PATH)
can load model  but  data which will input model need deal to fit model format，that  is not very convenient ,beacause this need redo dataio_prep. there is any method can input data directly?

Hi, so it actually depends. What do you want to do exactly? If it simply is loading the model to do something else, then torch.load() on anything saved with the checkpointer will work. If it's something more complex (fine-tuning, inference within SpeechBrain or whatever) then we should discuss it a bit here :)

ok thank you


Memory leak of table (table=(pyarrow.Table.from_pandas(df)).combine_chunks() and record_batch

Describe the bug, including details regarding any error messages, version, and platform.
I'm trying to put dataframes of different types in multiprocessing shared memory. When I'm using dataframes that contain python types I've no problem, but when I use pyarrow types I've problems closing the Shared Memories. I've a function to put a dataframe to the Shared Memory and another to receive this dataframe. I have two problems when I'm using Arrow types like string[pyarrow] inside a dataframe:
When I call the close on the sm_put and after receiving the dataframe I call the close on the sm_get I get instantly an error, that causes the code to stop executing: sm_get.close() -> self.close() -> self._buf.release() -> BufferError: memoryview has 1 exported buffer.
When I call the close on the sm_put, and I don't call the close on the sm_get, I've no problem instantly, but I get a warning after a while (that surprises me because I don't call any function self.close()): self.close() -> self._buf.release() -> BufferError: memoryview has 1 exported buffer.
My functions to put the dataframe to the shared memory and to receive the dataframe from shared memory are these:
def put_df(data, logTime, logSize, usingArrow=False):
    if(usingArrow):
        table = (pyarrow.Table.from_pandas(data)).combine_chunks()
        record_batch = table.to_batches(max_chunksize = sys.maxsize)[0]
    else:
        record_batch = pa.RecordBatch.from_pandas(data)
    # Determine the size of buffer to request from the shared memory
    mock_sink = pa.MockOutputStream()
    stream_writer = pa.RecordBatchStreamWriter(mock_sink, record_batch.schema)
    stream_writer.write_batch(record_batch)
    stream_writer.close()
    data_size = mock_sink.size()

    sm_put = SharedMemory(create=True, size=data_size)
    buffer = pa.py_buffer(sm_put.buf)

    # Write the PyArrow RecordBatch to SharedMemory
    stream = pa.FixedSizeBufferWriter(buffer)
    stream_writer = pa.RecordBatchStreamWriter(stream, record_batch.schema)
    stream_writer.write_batch(record_batch)
    stream_writer.close()

    del stream_writer
    del stream
    del buffer
    if(usingArrow):
        del table
    del record_batch

    sm_put.close()
    return sm_put.name

def get_df(sm_get_name, logTime, logSize, usingArrow=False):
    sm_get = SharedMemory(name = sm_get_name, create = False)
    buffer = pa.BufferReader(sm_get.buf)

    # Convert object back into an Arrow RecordBatch
    reader = pa.RecordBatchStreamReader(buffer)
    record_batch = reader.read_next_batch()

    # Convert back into Pandas
    if(usingArrow):
        data = record_batch.to_pandas(types_mapper = pd.ArrowDtype)
    else:
        data = record_batch.to_pandas()

    del buffer
    del reader
    del record_batch

    sm_get.close()
    sm_get.unlink()

    return data

if __name__ == '__main__':
    names = [ "0", "1"]
    types = { "0": "string[pyarrow]", "1": "string[pyarrow]" }
    df = pd.read_csv(open(file, "r"), index_col=False, header=None, names=names, dtype=types, engine="c")
    sm_get_name = put_df(df)
    data = get_df(sm_get_name=sm_get_name)]

As you can see in the next images the del table in the put_df has no effect. Also in the put_df I think the del on the record_batch should have to decrement the memory used. That causes problems when I try to close the shared memories getting the error -> BufferError: memoryview has 1 exported buffer.

Component(s)
Python

This looks very similar to #36101 .  Do you want to close one of these as a duplicate of the other?  Or can you explain perhaps how the two issues are different?

I would like to close this one because it's pretty similar. I would appreciate If you can answer the question that I have left in https://github.com/apache/arrow/issues/36101 about why It's not instantly released the memory when I call del table in put_df and how I can solve that? Thank you!


One image in perspective merged with other image

Hi, how are you?
I have a big trouble, I'm using this component and I need to change one image to perspective and apply this to other one, how should i do?
This is the example:
http://jsfiddle.net/gustavosapienza/b3mt48gv/
Thanks a lot!

Hello,
You can use 2 canvas or play with the global composite operations like this:

http://jsfiddle.net/b3mt48gv/6/

Regards,

Woooowwww
Great! You saved my life!
Thanks a lot!


[ZEPPELIN-5612] Upgrade junit 4 to 5

What is this PR for?

Upgrade junit 4 to 5, then we can write junit 5 tests and migrate junit 4 tests to 5.
Run the existing junit 4 tests on Junit 5 engine.

What type of PR is it?
[Improvement]
Todos

[ ] - Task

What is the Jira issue?

Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN-5612

How should this be tested?
CI pass
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

I think it's good. Is there any pain point I should check?

When I upgrade junit 4 to junit 5 #4279 , Frontend CI job would block at downloading dependency when  mvn install the module k8s-standard, but it is ok to mvn package this module.
It 's really weird that both mvn install and mvn package is OK in my local environment, this problem only happens in Github CI jobs .
It has costed me very much time, but hard to find the real reason.I would really appreciate if someone tell me the reason.

Not sure what is the root cause, maybe you can try upgrade surefire plugin to 3.x @huage1994

I suspect the checkstyle plugin. This plugin produces a lot of the Maven warnings at the beginning.
I've been wanting to fix this for a long time, but haven't gotten around to it yet.

@zjffdu @Reamer @jongyoul , really thanks for  helping out~
I'm going to test your guesses and continue to address this issue

I suspect the checkstyle plugin. This plugin produces a lot of the Maven warnings at the beginning.
I've been wanting to fix this for a long time, but haven't gotten around to it yet.

Agreed. We should have better idea to enforce to keep it. I'll think of it. :-)

PR #4466 should improve the CheckStyle integration.

Thank you. I'm checking the PR now

@huage1994
My checkstyle pull request https://github.com/apache/zeppelin/pull/4466 was merged with the master. Can you please check if you still get the error when you run mvn install.

@huage1994 My checkstyle pull request #4466 was merged with the master. Can you please check if you still get the error when you run mvn install.

Thanks @Reamer !  I'll try that.

Hi @jongyoul  @zjffdu  @Reamer .
I tried your suggestion but the problem still exists.
I think there are some dependencies in launcher-k8s-standard conflict with junit 5, because Frontend CI runs well if I skip this module here.
It's really weird that Frontend CI job would block at downloading dependency only when mvn install the module launcher-k8s-standard, but it is ok to mvn package this module launcher-k8s-standard. And there is no special plugin goals bound to install phrase.
Now I'm trying to verify the dependencies in launcher-k8s-standard one by one.

I think it looks good overall. Just a few minor issues.

Hi @Reamer, really thanks for your useful advice.
I've update my code and waiting for the CI  result.


compile contrib/hvx failed.

Please go to Stack Overflow for help and support:
http://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
No

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux Ubuntu 14.04

TensorFlow installed from (source or binary):
source

TensorFlow version (use command below):
1.2.0-rc0

Bazel version (if compiling from source):

CUDA/cuDNN version:
not used

GPU model and memory:
not used

Exact command to reproduce:
I follow the commands in https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/hvx
to build tensorflow that running hvx.

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
I have tryed ndk-r13b,r10d,r14d. All of them produce the errors as follows:
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking target system type... arm-unknown-linux-androideabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for arm-linux-androideabi-gcc...  arm-linux-androideabi-gcc --sysroot ../Qualcomm/Hexagon_SDK/3.0/tools/android-ndk-r10d/platforms/android-21/arch-arm
checking whether the C compiler works... no
configure: error: in /home/zhouzhan/tensorflow/tensorflow/contrib/makefile/downloads/protobuf': configure: error: C compiler cannot create executables See config.log' for more details
Config.log is:
config_log.txt
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

@skye  Could you take a look at this please? Thanks.

@satok16 is listed as the maintainer of contrib/hvx, perhaps he can comment

Hi, sorry for the delay.
I'm going to refactor this part (change has been already created, I'm cleaning up it now.)  Will be checked in a week.

It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Closing since it's been a while, hopefully the refactoring works out for you.


Something went wrong dialog displays in various contexts

Describe the bug
If I leave version 1.0.0 of Composer running on my Mac overnight, in the morning a "Something went wrong!" dialog is displayed.  Clicking Ok closes the dialog, and best I can tell, the product has no adverse behavior that I can detect.
Version
1.0.0
Browser
For this repro, I'm running the Electron distribution on macOS
OS

[x ] macOS
[ ] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Launch Composer
Perform authoring activities. (unclear if this has any impact on the issue or not)
Leave Composer running overnight.  May also require more than 24 hours to reproduce.  0.0.3 reproduced it overnight.  1.0.0 seems a little more resilient and requires more idle time to repro.
See error

Expected behavior

Screenshots

Additional context
I've gotten this regardless of which authoring activity page I'm on.  I've gotten it when I'm on the main authoring canvas.  I've also gotten it when I was on the Publish page.

@zhixzhan @boydc2014 be aware of this .
Re-pro similar issues before.

@cwhitten ok, duplicate. Although in my experience, this does not only happen after a period of time. It happens live during clicking or typing in Composer and actually blocks me from making basic changes.

Hi @bartbilliet. I understand. The class of bug is very likely the same. When the team looks at this we will make sure it addresses all scenarios where it manifests.

This may due to LSP connection break after a long time, @zhixzhan is looking at ignoring this specific issue and reconnect after a certain period.

Sure, will fix soon

Hi, I'm getting this a lot. It makes the composer unusable. Is a fix forthcoming?

Hi, I'm getting this a lot. It makes the composer unusable. Is a fix forthcoming?

This was fixed months ago.  what version are you running?

This was fixed months ago.  what version are you running?

@salvo-uk please open up a new github issue with what you are seeing and reproduction steps and the team will engage and investigate. it is likely unrelated to this particular issue.

@salvo-uk please open up a new github issue with what you are seeing and reproduction steps and the team will engage and investigate. it is likely unrelated to this particular issue.


Failing test for #189

This test show the problem identified on issue #189:
  1) patch/apply #applyPatch should create a file:

      AssertionError: expected 'line2\nline3\nline4\nline1\n' to equal 'line1\nline2\nline3\nline4\n'
      + expected - actual

      +line1
       line2
       line3
       line4
      -line1

      at Context.<anonymous> (test/patch/apply.js:474:13)

Merged via #192


feat: Add code lint, formatting check in CI

Resolves: #126
I have added the CI used by other Rust projects. Now can always check the code in the CI stage.
In addition, the formatting was modified in the existing code (by rust 1.81.0)

Thanks!


make utils.decode_track support custom fields

Summary
utils.decode_track does not decode custom lavaplayer fields
The Problem
utils.decode_track does not decode custom fields like what the http source provides.
The Ideal Solution
Custom decoders can be provided to decode_tracks to decode these custom fields, #8 may need to be done first to support this.
The Current Solution
No response
Additional Context
https://github.com/disgoorg/disgolink/blob/1ec8fc65d6d173cfab5e13eff14f901f88d7f493/lavalink/audio_track_decode.go#L74

This function no longer exists.


obs-studio: 29.1.3 -> 30.0.0

Description of changes
Update obs-studio to 30.0.0
Will close https://github.com/NixOS/nixpkgs/issues/267977
Things done
Obs have new dependencies which are not in nixpkgs, I added them only for obs currently not in nixpkgs:

Added qrcodegencpp, probably should be output to current qrcodegen but not sure about structure @AndersonTorres
Added onevpl, I don't have intel GPU so I can't really check if it works. Probably should be added as package in nixpkgs but as I don't own Intel card I'm not willing to maintain it for more than obs build needs. Alternative to onevpl is disabling QSV in obs

Change to libcef: added output for ANGLE libEGL and libGLESv2 to fix https://github.com/NixOS/nixpkgs/issues/226468#issuecomment-1751793235 @puffnfresh

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 269008 run on x86_64-linux 1

1 package marked as broken and skipped:

obs-studio-plugins.obs-hyperion

5 packages failed to build:

obs-studio-plugins.obs-ndi
obs-studio-plugins.obs-pipewire-audio-capture
obs-studio-plugins.obs-replay-source
obs-studio-plugins.obs-tuna
obs-studio-plugins.obs-vertical-canvas

32 packages built:

libcef
obs-studio
obs-studio-plugins.advanced-scene-switcher
obs-studio-plugins.droidcam-obs
obs-studio-plugins.input-overlay
obs-studio-plugins.looking-glass-obs
obs-studio-plugins.obs-3d-effect
obs-studio-plugins.obs-backgroundremoval
obs-studio-plugins.obs-command-source
obs-studio-plugins.obs-freeze-filter
obs-studio-plugins.obs-gradient-source
obs-studio-plugins.obs-gstreamer
obs-studio-plugins.obs-livesplit-one
obs-studio-plugins.obs-move-transition
obs-studio-plugins.obs-multi-rtmp
obs-studio-plugins.obs-mute-filter
obs-studio-plugins.obs-nvfbc
obs-studio-plugins.obs-rgb-levels-filter
obs-studio-plugins.obs-scale-to-sound
obs-studio-plugins.obs-shaderfilter
obs-studio-plugins.obs-source-clone
obs-studio-plugins.obs-source-record
obs-studio-plugins.obs-source-switcher
obs-studio-plugins.obs-teleport
obs-studio-plugins.obs-text-pthread
obs-studio-plugins.obs-transition-table
obs-studio-plugins.obs-vaapi
obs-studio-plugins.obs-vintage-filter
obs-studio-plugins.obs-vkcapture
obs-studio-plugins.obs-websocket
obs-studio-plugins.waveform
obs-studio-plugins.wlrobs

hiya! thank you for working on this! is there anything i can do to help move this along?

If you have intel gpu it would be great to test if onevpl works okay.
Other than that, I would like to get details about what to do with onevpl and qrcodegencpp.
OneVPL probably should be made package in nixos but as I don't own intel gpu I don't really have a way to test it, just made it to get obs to build without disabling QSV.
qrcodegencpp not sure if it should be output of qrcodegen or another package.
Obs  works fine for me  with current changes.

Fix the failure.

30.0.2 is out

I just opened https://github.com/NixOS/nixpkgs/pull/275544 which builds on this PR and includes commits for 30.0.0, 30.0.1, and 30.0.2. I have no preference on which PR gets merged/closed, I just wanted to help out by making available the handful of changes I just made, especially since this PR hasn't gotten any commits for about a month.

Didn't notice anybody was working on this. We'll continue in #275544. Thanks for the work @materusPL!


RuntimeError: torch._scaled_mm is only supported on devices with compute capability >= 9.0)

Possible to add support for the NVIDIA Ada Lovelace cards, which have a compute capability of 8.9?
NVIDIA's TransformerEngine works, so the feature is supported in the hardware.
Thanks!

Would you mind creating an issue on the main PyTorch repo and tagging me?

Done
https://github.com/pytorch/pytorch/issues/118703

PR should land in nightly by tomorrow :)

Thank you @drisspg


[BREAKING] Require Node.js >= 10

BREAKING CHANGE:
Support for older Node.js releases has been dropped.
Only Node.js v10 or higher is supported.

CI is failing since https://github.com/SAP/grunt-openui5/commit/60422928f904a7c426ade64afae5d7c8240fd785. ESLint v7 requires Node.js >= 10, but the initial release seems to still work with Node.js v8.


nixos/systemd-confinement: Allow shipped unit file

In issue #157787 @martined wrote:

Trying to use confinement on packages providing their systemd units with systemd.packages, for example mpd, fails with the following error:
system-units> ln: failed to create symbolic link '/nix/store/...-system-units/mpd.service': File exists

This is because systemd-confinement and mpd both provide a mpd.service file through systemd.packages. (mpd got updated that way recently to use upstream's service file)

To address this, we now place the unit file containing the bind-mounted paths of the Nix closure into a drop-in directory instead of using the name of a unit file directly.
This does come with the implication that the options set in the drop-in directory won't apply if the main unit file is missing. In practice however this should not happen for two reasons:

The systemd-confinement module already sets additional options via systemd.services and thus we should get a main unit file
In the unlikely event that we don't get a main unit file regardless of the previous point, the unit would be a no-op even if the options of the drop-in directory would apply

Another thing to consider is the order in which those options are merged, since systemd loads the files from the drop-in directory in alphabetical order. So given that we have confinement.conf and overrides.conf, the confinement options are loaded before the NixOS overrides.
Since we're only setting the BindReadOnlyPaths option, the order isn't that important since all those paths are merged anyway and we still don't lose the ability to reset the option since overrides.conf comes afterwards.
Fixes: https://github.com/NixOS/nixpkgs/issues/157787

@ofborg test systemd-confinement

LGTM, and nixosTests.systemd-confinement succeeds.
Thanks to the both of you for fixing this :)

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/441

hi @aszlig -- would you be able to merge this or are you waiting on something else? This incompatibility with mpd is a bit annoying for me so I'd love to have this in :)
Thanks!

Thanks!


ResNet56 default num_classes argument

🚀 Feature Request
The num_classes argument for ResNet56_cifar10 should have a default value num_classes=10.
Motivation
It felt silly when writing a demo notebook to have to specify num_classes=10 when calling composer.models.CIFAR10_ResNet56(num_classes=10). The model has "cifar10" in its name, and even if it didn't, it's most common use is for cifar10.
Implementation
Does it require any changes beyond the __init__() signature?

Soliciting @A-Jacobson @hanlint @coryMosaicML for thoughts

Yeah, this should be an easy one-liner.


python 2.7 with tensorflow

I am getting some errors . Just the heads up ,

I think so code is not updated to python 3 .
Because of that , am getting some errors related to tensorflow .
Code is in python 2.7 version . In python 2.7 version , tensorflow is not supported. What can be done ?
Please check .. and Thank you :)

Hey @Sivaaaa - I think this means we need to install an older version of TF.  It lists tensorflow 0.12, which must be really old!  Have you tried with this?

@jdesouza-ai  yeah i tried this,but not working


Unexpected default values for parameters are missing in kernel

Parameters of typedefs and redirecting constructors cannot have default values.
But users might write them anyway.
In this case the corresponding VariableDeclaration.initializer is still null.
This is a problem for Analyzer element model, because we have AST initializer (we parse using Analyzer's parser at the moment), and we need to build local elements (e.g. closures) in the context of the variable initializer element. But we used to create this initializer element only when VariableDeclaration.initializer != null. So, this breaks.
A more serious problem is that Fasta does not parse, and so does not resolve these initializers. So, no navigation or semantic highlighting for them. Don't know if this is important, it is almost correct code, so we could make it resolvable.
typedef F([x = 0]);

@bwilkerson

We should be able to extend what Paul has already added to prepare initializer inference to also compile these guys.


Application entry file "index.js" in the app.asar does not exist. Seems like a wrong configuration.

I can build locally on both windows and ubuntu, but am getting this error in CI.
Building and releasing the Electron app…
  • electron-builder  version=22.14.5 os=5.13.0-1022-azure
  • packaging       platform=linux arch=x64 electron=16.0.6 appOutDir=dist/linux-unpacked
  ⨯ Application entry file "index.js" in the "/home/runner/work/bar-lobby/bar-lobby/dist/linux-unpacked/resources/app.asar" does not exist. Seems like a wrong configuration.  failedTask=build stackTrace=Error: Application entry file "index.js" in the "/home/runner/work/bar-lobby/bar-lobby/dist/linux-unpacked/resources/app.asar" does not exist. Seems like a wrong configuration.
    at error (/home/runner/work/bar-lobby/bar-lobby/node_modules/app-builder-lib/src/asar/asarFileChecker.ts:7:12)
    at Object.checkFileInArchive (/home/runner/work/bar-lobby/bar-lobby/node_modules/app-builder-lib/src/asar/asarFileChecker.ts:31:11)
    at LinuxPackager.checkFileInPackage (/home/runner/work/bar-lobby/bar-lobby/node_modules/app-builder-lib/src/platformPackager.ts:501:7)
    at LinuxPackager.sanityCheckPackage (/home/runner/work/bar-lobby/bar-lobby/node_modules/app-builder-lib/src/platformPackager.ts:549:5)
    at LinuxPackager.doPack (/home/runner/work/bar-lobby/bar-lobby/node_modules/app-builder-lib/src/platformPackager.ts:310:5)
    at LinuxPackager.pack (/home/runner/work/bar-lobby/bar-lobby/node_modules/app-builder-lib/src/platformPackager.ts:[136](https://github.com/Jazcash/bar-lobby/runs/6263025656?check_suite_focus=true#step:4:136):5)
    at Packager.doBuild (/home/runner/work/bar-lobby/bar-lobby/node_modules/app-builder-lib/src/packager.ts:441:9)
    at Object.executeFinally (/home/runner/work/bar-lobby/bar-lobby/node_modules/builder-util/src/promise.ts:12:14)
    at Packager._build (/home/runner/work/bar-lobby/bar-lobby/node_modules/app-builder-lib/src/packager.ts:376:31)
    at Packager.build (/home/runner/work/bar-lobby/bar-lobby/node_modules/app-builder-lib/src/packager.ts:337:12)
    at Object.executeFinally (/home/runner/work/bar-lobby/bar-lobby/node_modules/builder-util/src/promise.ts:12:14)
/home/runner/work/_actions/samuelmeuli/action-electron-builder/v1.6.0/index.js:144
				throw err;

After building on Ubuntu, I've unpacked the asar to confirm that index.js is there:

My electronBuilder config in vue.config.js:
electronBuilder: {
    mainProcessFile: "src/main.ts",
    mainProcessWatch: ["src/main.ts", "src/main-window.ts"],
    rendererProcessFile: "src/render.ts",
    customFileProtocol: "bar://./",
    nodeIntegration: true,
    builderOptions: {
        productName: "BAR Lobby",
        directories: {
            buildResources: "build"
        },
        extraResources: [
            {
                "from": "resources",
                "to": ".",
                "filter": "**/*"
            }
        ],
        win: {
            target: ["nsis", "portable"],
        },
        nsis: {
            oneClick: false,
            perMachine: true,
            allowToChangeInstallationDirectory: true
        },
        linux: {
            target: ["AppImage"],
            category: "Game"
        },
        //publish: ["github"],
    },
    chainWebpackRendererProcess: config => {
        config.target("electron-renderer");
    }
},

Any ideas?

Nvm, was missing use_vue_cli: true

I have the same issue. I'm not sure how to fix it.


crashes when i press save or save and play and also crashes randomly

Geode Issue

[X] I confirm that this crash is NOT related to a mod but directly to Geode Loader itself.

Platform
Windows
Geode Version
v.2.0.0 beta 23
Mods Installed
No response
Steps to Reproduce
i press save and play or save or when i play a level
Crash Report
No response
Additional Information
No response

And also when i open the editor of most high object levels and when i also play those high object levels

Also when i try to play any level it randomly crashes


docs: Add user guide for Change the topic of a message feature

Automated message from Dropbox CLA bot
@synicalsyntax, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks, @synicalsyntax!


Move pinned Microsoft.Netcore.App down

Move the pinned dependency on Microsoft.Netcore.App to the bottom of versions.details.xml to prevent it being picked for CoherentParentDependencies
CC @mmitche @dougbu - we think this will fix https://github.com/aspnet/EntityFrameworkCore/pull/18207/

I think the CoherentParent algo made need a tweak to make sense in these cases (follow "newest" path I think), but this may fix it for now.


packages: add Optimism L2 and Farcaster as install options

Once the server upgrade to ponkila-ephemeral-beta comes, we want to evaluate running an L2 network with some apps, such as Farcaster, locally.
See: https://www.thehubble.xyz/intro/install.html

Closing this issue as stale: the requirements to run an L2 node seem vastly dependent on the use-case, and require geth to be run. This is probably out of scope of the computational capacity of a single homestaker.


Weird error 8 object prototype may only be an object or null

I was trying out webtorrent and I got stuck on this error which I can't figure out.
util.js:555
  ctor.prototype = Object.create(superCtor.prototype, {
                          ^
TypeError: Object prototype may only be an Object or null
    at Function.create (native)
    at exports.inherits (util.js:555:27)
    at Object.<anonymous> (/home/frank/Projects/WebTor/Backend/node_modules/webtorrent/node_modules/render-media/node_modules/videostream/mp4-remuxer.js:20:1)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/frank/Projects/WebTor/Backend/node_modules/webtorrent/node_modules/render-media/node_modules/videostream/videostream.js:4:18)
npm ERR! weird error 8
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

Installing nodejs-legacy doesn't change this error.
Running the following code:
'use strict';

var webTorrent = require('webtorrent');
var fs = require('fs');

var client = new webTorrent();
var magnet = '';

client.add(magnet,function(torrent)
{
    client.on('torrent',function(torrent)
    {
        console.log(torrent.infoHash);
    });

    torrent.on('done',function()
    {
        console.log('done downloading');
        torrent.files.forEach(function(file)
        {
            file.getBuffer(function(err,buffer)
            {
                if(err) throw err;

                fs.appendFile('./downloads/'+file.name,buffer,function(err)
                {
                    if(err) return console.log(err);
                    console.log('appending');
                })
            });
        });
    });

    torrent.on('download', function(chunkSize)
    {
      console.log('chunk size: ' + chunkSize);
      console.log('total downloaded: ' + torrent.downloaded);
      console.log('download speed: ' + torrent.downloadSpeed);
      console.log('progress: ' + torrent.progress);
      console.log('======');
    });

});

This was caused by one of the packages that WebTorrent depends on writing this:
var EventEmitter = require('events')

instead of
var EventEmitter = require('events').EventEmitter

The former only works in very recent versions of node. It's fixed now.
You can fix the issue by updating node, or just reinstalling webtorrent. Cheers!

Also, it's worth noting that WebTorrent only officially supports node v4 and v5. Since you're probably running 0.10 or 0.12, you should really update!
https://nodejs.org/en/

Node 0.10 will be completely unsupported on October 2016. Node 0.12 will be on December 2016. This also means no security updates! :skull:


Identify personnel and resources necessary to land pilot and plan sequence of steps necessary

@BAevermann @maniarathi - can this be closed? I really don't see the point of these "epics" to be frank. They don't seem to have schedules or any comment updates.


DeviceContextGLImpl::ClearDepthStencil should set glStencilMask

OpenGL apparently considers stencil mask when clearing the stencil. Which sucks, but it is what it is.
https://stackoverflow.com/questions/27414593/opengl-clear-the-stencil-buffer-except-for-certain-bits

Usage warning: glClear() called with GL_STENCIL_BUFFER_BIT, but stencil write mask is 0x00. Operation will have no effect.

I can make PR but I am not sure how to approach this issue. Would it be enough to just set stencil mask thru GLContextState::SetStencilWriteMask in DeviceContextGLImpl::ClearDepthStencil, or it may cause unexpected side effects?
I have no visible issues after doing that.

This is probably not as simple as this. DeviceContextGLImpl::SetPipelineState sets the stencil mask defined by the PSO, so this way you will override the mask that may have been set by the SetPipelineState

Looks like it is necessary to store current stencil mask and then restore it similarly to how depth writes and scissor are handled.


UTM randomly freezes when using Android 4.4 image

I am having issue with the pre-made Android 4.4 image. At random intervals (could be 5 minutes after boot, or 50) the whole UTM freezes and iPad has to be rebooted. I’ve seen this both on rc5 and rc6. No other VM does this.
debug.log
Debug log attached. It’s quite large as in this instance it took longer than usual to freeze.

Can't find anything obvious in the log. It may be an QEMU issue.

I have also observed this, and it seemed to correlate with network usage – if I disabled the network adapter, my VM could run for over an hour, yet with it enabled and downloading updates from the play store, it crashes within 5-10 minutes

Interesting find. Could be related to #376 and #301
I think the slirp driver should be looked into.

I have observed this freeze after network usage across all OS's, in Windows for example downloading a file always failed at around 100 MB. Maybe it happens more often in Android because it does more background networking, especially when signed into the Play Store

I see many lines of
qemu: info: GSpice: channel-inputs.c:375 inputs-3:0: over SPICE_INPUT_MOTION_ACK_BUNCH * 2, dropping

Maybe there's something wrong causing SPICE to send a lot of motion events even though there hasn't been any input and as a result it DoS attacks QEMU.

I didn‘t, while doing the file download test (in Windows 7) I didn‘t touch the device at all, apart from starting the download

@MingL196 please open a new issue and provide all the relevant details in the issue template.

Hmmm… this may be  a bug on older versions of UTM. Use the latest version of UTM

Has anyone found a fix to this issue?

@derriana17 switch the network adapter to e1000

Hi,
Thank you for the reply, I don’t have that option
[A screenshot of a computer  Description automatically generated]
From: greybaron @.>
Date: Friday, June 23, 2023 at 05:50
To: utmapp/UTM @.>
Cc: Derrian Allen @.>, Mention @.>
Subject: Re: [utmapp/UTM] UTM randomly freezes when using Android 4.4 image (#378)
@derriana17https://github.com/derriana17 switch the network adapter to e1000
—
Reply to this email directly, view it on GitHubhttps://github.com/utmapp/UTM/issues/378#issuecomment-1604027541, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGDI4X5WOOTN3XALI2DIMMTXMVRGFANCNFSM4N45ILQQ.
You are receiving this because you were mentioned.Message ID: @.***>


[WIP] Use Decimal types in MultiParquetTpchTest

Code inside external/duckdb is autogenerated. You cannot modify it directly.
See https://github.com/facebookincubator/velox/tree/main/velox/duckdb

This is work in progress, I am trying to find an alternative solution to https://github.com/facebookincubator/velox/pull/4388, this PR explores fixing DuckDB functions to extend support for Decimal types.


Reverts overwritten description.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsTeamsInteropPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

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.


nbNewCode + Generate javascript from Nim

As the scope of this grew beyond just nbFile it might as well get its own issue. Continuation on discussion in #34.
ping @ajusa saw you had an interest in something like this in the #28. Feel free to weigh in. If we could use client-side karax using this as well it would be really cool as we would be able to create interactive elements without having to leave Nim-land.
This is the API suggestion thus far:
script = nbNewCode:
  var myVar = 0

script.addCode:
  inc myVar

script.addToDocAsJs

But there are still things lacking like being able to capture variables from the compiled to the javascript version. We will essentially have to inline the values in the code and my current best idea is something like:
var nimVar = 1
script.addCode(captures=[nimVar]):
	echo nimVar

# Turns above into:

var nimVar = 1
let serialized_nimVar = nimVar.toJson()
let code = fmt"echo fromJson({serialized_nimVar})"

We serialize the variable on the C-side and do some sort of string interpolation to replace all occurrences of the variable by fromJson("json value of the variable").
And for this, I think we will eventually need a preprocessing macro to for example normalize all variable names and check that the user doesn't do anything like var nimVar = nimVar in which case we shouldn't replace it with the serialized variable anymore. But this can be added at the very end so let's not focus on it right now.

can you expand a little bit more the example you give? I am still not sure what the use case would be and what the code is supposed to do.

Let's say you want a block that is a counter (button + label) that increases every time you press it. In psuedo-HTML it would be:

0

<button id="btn">Click me</button>

Now if we want to implement this kind of block in nimib we would first use nbRawOutput to generate the
 and <button> tags and then nbJsCode to generate the


Implement healthchecks

The client often has some health check but it would be neat to have it on the runner-backend side too to close the client connection early when it disconnects (network issue most of the time, database restart etc).
Guess by default it can use connection.isValid(someTimeout) for the healthcheck.
Not 100% sure if the "while idle", "on borrow" or "on return" strategy must be configurable - I know I use the first two for the apps I work with to either secure the connection reliability or to optimize the perfs with a good compromise but never the last one.

@rmannibucau if you wanna give a try: https://github.com/kendarorg/the-protocol-master/tree/13-implement-healthchecks


Better handling when URL is wrong

When using Lizzy we pass the LIZZY_URL to the lizzy-client command line. If we put the wrong url, like https://lizzy-instance.example.com/ instead of https://lizzy-instance.example.com/api we get a "504 Gateway Timeout" error from the load balancer.
There should be a more user-friendly way to handle better that case.

Moved to lizzy-client repo.


Allow custom parameters in the template url of an UrlTemplateImageryP…

…rovider.
This is a proposal to add flexibility in the UrlTemplateImageryProvider.
This PR allows to add a custom tags in the template url.
For example with  a {Time} tag in the template:
var positron = new Cesium.UrlTemplateImageryProvider({
    url : 'http://mywmt/{Time}/{x}/{y}/{z}.{format}`',
    customTags : {
        Time: function() {
            return '19381231';
        }
    }
});

Thanks @oterral!  This is a great idea.  Can you add unit tests?
@ggetz do you want to review this?

@oterral You also have some eslint errors that need fixing.

Thx for the review. I'm on it.

Should be good now.

Conventionally in templating engines, the curly braces are not specified as part of the variable name.  This might be easier to use if it were like:
new Cesium.UrlTemplateImageryProvider({
    url : 'http://mywmt/{Time}/{x}/{y}/{z}.{format}`',
    customTags : {
        'Time': function() {
            return '19381231';
        }
    }
});

I agree with @shunter.
Also, this needs to be carefully documented because unless the result of the supplied function is constant in regards to the rest of url, users might receive unexpected results.  For example, if the result of Time changes, none of the previously fetched tiles will get automatically refreshed.  Of course this might be able to tie in with @tfili's recent changes regarding dynamic images, perhaps he could chime in here.

@shunter good idea .
@mramato of course it will be better if the layer could refresh itself on each change. If someone can give me guidance. I can do it in another PR.

@oterral there is a merge conflict, please merge in master when you have a chance.  Thanks!
@mramato @shunter are there other chances that need to be made in this PR?

@mramato of course it will be better if the layer could refresh itself on each change. If someone can give me guidance. I can do it in another PR.

I don't think this is easily possible with the current implementation because there's no way for us to know when a property has changed.  We would need some sort of higher level construct that notifies us when a function would have a different value for the same input.  @tfili might have some ideas here, but I think they could be added in a backwards compatible way in the future.  So I have no objections to this PR going in largely as is if @hpinkos is happy with it.

@mramato use of defined() added

@oterral is this ready?  Next time make a comment after you make a commit.  Otherwise we don't get notified that a pull request is ready for another look

Thanks for all the work you put into this @oterral!  It looks good to me.

Thx for the rebase @hpinkos


Add anchor at bottom right of canvas.

Close #57.

In M2GripMorph>>updatePosition, we currently have
updatePosition
	self position: self target position
		+ self target extent
		- self extent

We could use
updatePosition
	self position: self target position
		+ self target extent
		- self extent
		+ 4 asPoint

instead. With this, the blue bracket would be outside of the canvas. We can also use 5 asPoint, which would result in a small gap between the canvas and the bracket, but would also make it more difficult to move the grip morph of the window. What do you think?

Personally, I think that it should not be possible to drag the anchor out of the application window.

By changing the position in mouseMove: to self position: ((evt position + self cursorOffset) min: (self target position + self target maximumSize)). it's only possible to drag the anchor a little bit out of the window.

Personally, I think that it should not be possible to drag the anchor out of the application window.

By changing the position in mouseMove: to self position: ((evt position + self cursorOffset) min: (self target position + self target maximumSize)). it's only possible to drag the anchor a little bit out of the window.

Maybe we could hide the anchor when moving? Then you have the rectangle showing the new size of the canvas.

Edit: I just noticed that this sometimes causes the cursor to not change back to default, which is weird. I don't know why that is, though.

@maximilian-franz I think this is a Squeak bug when you move the cursor to somewhere where the object you were dragging can't follow you due to restrictions like we used here. This goes as far as to affect system windows like the browser. I don't think we should care about this.

Currently, the minimum size of the canvas is the size of the blue handle. I'm not sure if we should ask the customer about this change compared to the current version we showed her.

I don't know what is was like before, but I think it's pretty intuitive to set a canvas minimum size depending on the grip extent.  Otherwise there would be a floating handle. In MS Paint it's handled even worse: The minimum canvas size is 1px which leads to the grip becoming too small to grab.

Currently, the minimum size of the canvas is the size of the blue handle. I'm not sure if we should ask the customer about this change compared to the current version we showed her.

I don't know what is was like before, but I think it's pretty intuitive to set a canvas minimum size depending on the grip extent. Otherwise there would be a floating handle. In MS Paint it's handled even worse: The minimum canvas size is 1px which leads to the grip becoming too small to grab.

In the current dev implementation, you can minimize the canvas to effectively 0x0 pixels. You are then still able to drag it again, making the canvas not useless when it's so small. I think it would be good to describe the situation to her and ask her if she would be happy with the changes this PR makes.


missing \n in info block

During tests of qemu/sbsa-ref I got this weird output:
 GIC_INFO: Number of ITS              :    0

 GTDT don't have el2 virt timer info
 using bsa recommended value 28 TIMER_INFO: Number of system timers  :    0
 WATCHDOG_INFO: Number of Watchdogs   :    1

Looks like forgotten "\n" in some message.

Hi @hrw,
This seems to be a duplicate of #94.
If that's the case, can you please close this issue.
The required changes will be made with #94 fix PR.
Thanks,
ACS team