TS-4811: gcc warning missing-field-initializers

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/624/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/728/ for details.

@bryancall can you please add the warning to the default set so we get consistent results?

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/732/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/628/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/629/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/733/ for details.

👍


Pyharm Terminal pip install face_recognition problem

i have anaconda3 and going to run the pip install face_recognition  but have an error "ERROR: Failed building wheel for dlib" on OpenCv Environment
(opencv-env) (venv) C:\Users\Abrar Haider Rajput\PycharmProjects\FirstProject>pip install face_recognition
Requirement already satisfied: face_recognition in c:\fyp\envs\opencv-env\lib\site-packages (1.2.3)
Collecting Click>=6.0 (from face_recognition)
Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Requirement already satisfied: Pillow in c:\fyp\envs\opencv-env\lib\site-packages (from face_recognition) (6.1.0)
Requirement already satisfied: face-recognition-models>=0.3.0 in c:\fyp\envs\opencv-env\lib\site-packages (from face_recognition) (0.3.0)
Collecting dlib>=19.7 (from face_recognition)
Using cached https://files.pythonhosted.org/packages/1e/62/aacb236d21fbd08148b1d517d58a9d80ea31bdcd386d26f21f8b23b1eb28/dlib-19.18.0.tar.gz
Requirement already satisfied: numpy in c:\fyp\envs\opencv-env\lib\site-packages (from face_recognition) (1.17.2)
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\FYP\envs\opencv-env\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py'"
'"'; file='"'"'C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"
'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ABRARH~1\AppData\Local\Temp\pip-wheel-jo6rezw2' --python-tag cp37
cwd: C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib
Complete output (97 lines):
running bdist_wheel
running build
running build_py
package init file 'dlib_init_.py' not found (or not a regular file)
running build_ext
Building extension for Python 3.7.4 (default, Aug  9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-
s0nfc6se\dlib\build\lib.win-amd64-3.7 -DPYTHON_EXECUTABLE=C:\FYP\envs\opencv-env\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6s
e\dlib\build\lib.win-amd64-3.7 -A x64'
-- Building for: Visual Studio 14 2015
-- Selecting Windows SDK version  to target Windows 10.0.17134.
-- The C compiler identification is MSVC 19.0.23026.0
-- The CXX compiler identification is MSVC 19.0.23026.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/FYP/envs/opencv-env/python.exe (found version "3.7.4")
-- Found PythonLibs: C:/FYP/envs/opencv-env/libs/Python37.lib
-- pybind11 v2.2.2
-- Using CMake version: 3.15.3
-- Compiling dlib version: 19.18.0
-- SSE4 instructions can be executed by the host processor.
-- AVX instructions can be executed by the host processor.
-- NOTE: Visual Studio didn't have good enough C++11 support until Visual Studio 2015 update 3 (v19.0.24210.0)
-- So we aren't enabling things that require full C++11 support (e.g. the deep learning tools).
-- Also, be aware that Visual Studio's version naming is confusing, in particular, there are multiple versions of 'update 3'
-- So if you are getting this message you need to update to the newer version of Visual Studio to use full C++11.
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Enabling AVX instructions
-- Searching for BLAS and LAPACK
-- Searching for BLAS and LAPACK
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.5")
-- *** Dlib CUDA support requires C++11 but your compiler doesn't support it. ***
-- DID NOT FIND CUDA
-- Disabling CUDA support for dlib.  DLIB WILL NOT USE CUDA
-- C++11 activated.
CMake Error at CMakeLists.txt:31 (message):
You have to use a version of Visual Studio that supports C++11.  As of
December 2017, the only versions that have good enough C++11 support to
compile the dlib Python API is a fully updated Visual Studio 2015 or a
fully updated Visual Studio 2017.  Older versions of either of these
compilers have bad C++11 support and will fail to compile the Python
extension.
See also "C:/Users/Abrar Haider Rajput/AppData/Local/Temp/pip-install-s0nfc6se/dlib/build/temp.win-amd64-3.7/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Abrar Haider Rajput/AppData/Local/Temp/pip-install-s0nfc6se/dlib/build/temp.win-amd64-3.7/Release/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py", line 261, in
'Topic :: Software Development',
File "C:\FYP\envs\opencv-env\lib\site-packages\setuptools_init_.py", line 145, in setup
return distutils.core.setup(**attrs)
File "C:\FYP\envs\opencv-env\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\FYP\envs\opencv-env\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\FYP\envs\opencv-env\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\FYP\envs\opencv-env\lib\site-packages\wheel\bdist_wheel.py", line 192, in run
self.run_command('build')
File "C:\FYP\envs\opencv-env\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\FYP\envs\opencv-env\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\FYP\envs\opencv-env\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\FYP\envs\opencv-env\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\FYP\envs\opencv-env\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py", line 135, in run
self.build_extension(ext)
File "C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py", line 172, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "C:\FYP\envs\opencv-env\lib\subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\tools\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\ABRA
RH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\build\lib.win-amd64-3.7', '-DPYTHON_EXECUTABLE=C:\FYP\envs\opencv-env\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:
\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\build\lib.win-amd64-3.7', '-A', 'x64']' returned non-zero exit status 1.
ERROR: Failed building wheel for dlib
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: Click, dlib
Running setup.py install for dlib ... error
ERROR: Command errored out with exit status 1:
command: 'C:\FYP\envs\opencv-env\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py
'"'"'; file='"'"'C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n
'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ABRARH~1\AppData\Local\Temp\pip-record-fln5tr1l\install-record.txt' --single-version
-externally-managed --compile
cwd: C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib
Complete output (99 lines):
running install
running build
running build_py
package init file 'dlib_init_.py' not found (or not a regular file)
running build_ext
Building extension for Python 3.7.4 (default, Aug  9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\ABRARH~1\AppData\Local\Temp\pip-instal
l-s0nfc6se\dlib\build\lib.win-amd64-3.7 -DPYTHON_EXECUTABLE=C:\FYP\envs\opencv-env\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc
6se\dlib\build\lib.win-amd64-3.7 -A x64'
-- Building for: Visual Studio 14 2015
-- Selecting Windows SDK version  to target Windows 10.0.17134.
-- The C compiler identification is MSVC 19.0.23026.0
-- The CXX compiler identification is MSVC 19.0.23026.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/FYP/envs/opencv-env/python.exe (found version "3.7.4")
-- Found PythonLibs: C:/FYP/envs/opencv-env/libs/Python37.lib
-- pybind11 v2.2.2
-- Using CMake version: 3.15.3
-- Compiling dlib version: 19.18.0
-- SSE4 instructions can be executed by the host processor.
-- AVX instructions can be executed by the host processor.
-- NOTE: Visual Studio didn't have good enough C++11 support until Visual Studio 2015 update 3 (v19.0.24210.0)
-- So we aren't enabling things that require full C++11 support (e.g. the deep learning tools).
-- Also, be aware that Visual Studio's version naming is confusing, in particular, there are multiple versions of 'update 3'
-- So if you are getting this message you need to update to the newer version of Visual Studio to use full C++11.
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Enabling AVX instructions
-- Searching for BLAS and LAPACK
-- Searching for BLAS and LAPACK
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.5")
-- *** Dlib CUDA support requires C++11 but your compiler doesn't support it. ***
-- DID NOT FIND CUDA
-- Disabling CUDA support for dlib.  DLIB WILL NOT USE CUDA
-- C++11 activated.
CMake Error at CMakeLists.txt:31 (message):
You have to use a version of Visual Studio that supports C++11.  As of
December 2017, the only versions that have good enough C++11 support to
compile the dlib Python API is a fully updated Visual Studio 2015 or a
fully updated Visual Studio 2017.  Older versions of either of these
compilers have bad C++11 support and will fail to compile the Python
extension.
See also "C:/Users/Abrar Haider Rajput/AppData/Local/Temp/pip-install-s0nfc6se/dlib/build/temp.win-amd64-3.7/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Abrar Haider Rajput/AppData/Local/Temp/pip-install-s0nfc6se/dlib/build/temp.win-amd64-3.7/Release/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py", line 261, in <module>
    'Topic :: Software Development',
  File "C:\FYP\envs\opencv-env\lib\site-packages\setuptools\__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "C:\FYP\envs\opencv-env\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\FYP\envs\opencv-env\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\FYP\envs\opencv-env\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\FYP\envs\opencv-env\lib\site-packages\setuptools\command\install.py", line 61, in run
    return orig.install.run(self)
  File "C:\FYP\envs\opencv-env\lib\distutils\command\install.py", line 545, in run
    self.run_command('build')
  File "C:\FYP\envs\opencv-env\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\FYP\envs\opencv-env\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\FYP\envs\opencv-env\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "C:\FYP\envs\opencv-env\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\FYP\envs\opencv-env\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py", line 135, in run
    self.build_extension(ext)
  File "C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py", line 172, in build_extension
    subprocess.check_call(cmake_setup, cwd=build_folder)
  File "C:\FYP\envs\opencv-env\lib\subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\ABRARH~1\\AppData\\Local\\Temp\\pip-install-s0nfc6se\\dlib\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\AB

RARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\build\lib.win-amd64-3.7', '-DPYTHON_EXECUTABLE=C:\FYP\envs\opencv-env\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C
:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\build\lib.win-amd64-3.7', '-A', 'x64']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\FYP\envs\opencv-env\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ABRARH~1\AppData\Local\Temp\pip
-install-s0nfc6se\dlib\setup.py'"'"'; file='"'"'C:\Users\ABRARH~1\AppData\Local\Temp\pip-install-s0nfc6se\dlib\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file
);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ABRARH~1\AppData\Local\Temp\pip-record-fln5tr1l\ins
tall-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

Same problem for me too


Support for vehicle trailers

Looking at the source, there's no support for vehicles with trailers attached.
Would it be possible to also prevent collisions for attached trailers?

I forgot that trailers and hooked vehicles do not inherit the properties of the parent vehicle.

I just pushed 9c8538d5a4579e4463e22228cb86d932d5535f23 that should support trailers and vehicles hooked by cargobobs and towtrucks. I have not tested it yet, but if you have the time you can download the build from https://ci.appveyor.com/project/justalemon/simplepassive/builds/33168473/artifacts and see if it works.

Thank you, I will run some tests and come back with the results.

So, from a bit of testing (using a semi-cab and a trailer):
While a semi-cab has a trailer attached:
The driver of the semi-cab will still see the semi-cab hitting player's vehicles, while the trailer itself works as intended. Other players simply pass right through the semi-cab and trailer.
Detaching the trailer has the semi-cab working as normal again.
Simply, the semi-cab appears to not have proper no-collision for the driver of the semi-cab while a trailer is attached.
The same is true for the Cargobob hook and the Towtruck (Cargobob is solid on the drivers screen while something is attached, Towtruck is solid on the drivers screen while something is attached)
Hopefully those can be fixed <3

So, when you hook onto something the main vehicle that you are using becomes solid. Did I get this right?

So, when you hook onto something the main vehicle that you are using becomes solid.
Correct, but only for yourself.
Other players have zero collision with your main vehicle or the attached one.

https://github.com/justalemon/SimplePassive/blob/9c8538d5a4579e4463e22228cb86d932d5535f23/SimplePassive.Client/Passive.cs#L152-L153
https://github.com/justalemon/SimplePassive/blob/9c8538d5a4579e4463e22228cb86d932d5535f23/SimplePassive.Client/Extensions.cs#L63-L65
Hmm...

I changed a bit the way collisions are changed in 4b13d4cd21d1e5fe476fb4e0f94da76e2421607f. The automated build can be found in https://ci.appveyor.com/project/justalemon/simplepassive/builds/33185435/artifacts.
I can't test it because I don't have anyone to test it with right now and I can't run 2 FiveM copies at the same time.

I managed to test it with someone and appears to be fully working.
@glitchdetector if you find any problems, let me know.

Thank you!

I still experience the issue, the build should be updated as the changes for #17 are present
Here's a video of the issue, the same occurs in all 3 combinations of enabled passive mode.
https://youtu.be/ZN5jUqVPpTE

the build should be updated as the changes for #17 are present

You want an up to date build with the changes on #17?

I tried again and it works on my side (you can see that there is a trailer hooked behind).

Would you be able to upload an updated release of the built resource then?
Not sure how the AppVeyor building works, but given that the most recent artifact there has the fixes introduced in #17 (which were part of a more recent commit), I'd assume that the fixes in this issue are also in that build.
The video was recorded while using the <IP_ADDRESS> build on AppVeyor, which is the most recent available.

I'm actually using <IP_ADDRESS>, but built locally (that should theoretically not change anything).

I forgot to check my FiveM projects.
I remember that we talked about this in Discord where the it didn't worked on the server where it was being tested but it worked perfectly in a clean FiveM Server.
Because of this, I will be closing this issue as implemented.


operator kubeturbo-certified (8.13.50-beta.1)

kubeturbo-certified-8.13.50 bundle

/pipeline restart operator-hosted-pipeline

/pipeline restart operator-release-pipeline


Add inline function to retrieve nrm types out of vectors

Please check the FIXME in src/control/europar21.c line 156 before merging.

Please use the feature branch model and always branch from the current master branch, otherwise when the other PR is squashed and merged this one will end up a mess.


cant run ./build.sh

when i try to run ./build.sh it shows this error
(error) unhandled error at line 77!
(error) THIS IS MOST LIKELY A BUG

Hey sorry, not a dev here but I have put together a more detailed readme ( that I just happened to be working on right now ), could you have a look at that and see if it helps
https://github.com/hmcneill46/celeste-ios/tree/in-depth-README-instructions

Let me know if that helps :)

starting from scratch? strange, is everything up to date, macOS, Xcode etc? but again I'm not a dev, just commenting because doing everything in that readme works for me (and someone else I was chatting to)

oh i figured it out use
brew install coreutils
so you can use realpath command

also @hmcneill46 does this guide work with pirated versions? its not working for me
(error) your game install seems to be invalid (no Celeste.exe was found)
please make sure you pointed to the correct directory.

Just buy the game, it's from a small developer and it's a great game. After that follow my README to download the correct files that you'll need

@hmcneill46 I already bought it before on ps so I will not buy it again and I think i found a way to make it work with pirated copies but it shows a "failed to apply patch error" is this related to it being pirated?

@Ibraheemraad1 just buy the game again, if you must you can grab it from somewhere like this for really cheap https://www.cdkeys.com/celeste-pc-steam, You'll need to then download the linux game files, which I detailed how to do in the readme I liked

this repo does not and will never support pirated celeste versions. please also don't link to unauthorized sellers or sites where you can buy Celeste for cheaper (or get it for free), as that causes the devs to not get money - if you want to get it for cheaper, wait for a Steam sale.
that being said, pirated versions are often modified/had their code altered, and therefore can't be supported by this project anyways, as it expects a fully original Celeste install.

@RoootTheFox ok thx


Upload documents

Will it be possible to upload documents as well?

Hello @pamelafox, yes exactly the PR 478 looks like exactly what we need :)

@carlaelisa I built an upload feature referencing this PR, but instead it uses a Redis message / job queue that fires the prepdocs script to process and index the files. It then uses a websocket to tell the client when the async script processing is done.
I can link you my repo should you be interested.

Hi @charlie-hssrr  Thank you very much for your message. I would be very interested in your repo. Have you been successful integrating it in this repo as well?

Hi @charlie-hssrr thank you for your message.
I would be very interested in your repo.

@carlaelisa sent you an invite
Let me know once you've grabbed a copy

ou my repo should you be interested.

@charlie-hssrr I'm also interested in

@charlie-hssrr
I was able to clone the code and i am running it locally.
At the moment i'm having the following error:
api.ts:57
POST http://<IP_ADDRESS>:50505/upload 500 (Internal Server Error)
UploadFiles.tsx:60 Upload error: Error: Uploading files failed:
at dt (api.ts:63:15)
at async j (UploadFiles.tsx:57:46)
__
i am trying to find out where the problem can be. Would you have an idea?
Also, does this work when deploying to azure?

@carlaelisa ya there's a few prerequisites to get it working.
I had to convert my storage to data lake gen2. Make sure not to enable ACL or auth.
Also ensure that you have Owner rights on the blob container (your Entra user).
Make sure you're signed in with azd, the prepdocs script will use the auth'd user.
Make sure to have your packages correctly installed in your .venv (or backend_env for the backend).
Hope this helps.

Add this to your .azure .env file:
REDIS_COMPLETION_CHANNEL="script_completion_channel"
REDIS_QUEUE_NAME="script_queue"
REDIS_URL="redis://localhost"

thanks @charlie-hssrr
the issue with redis doesnt seem to be resolved by this:
redis.exceptions.ConnectionError: Error 22 connecting to localhost:6379. 22.

@carlaelisa the redis server is running locally so you should be able run and hit it.
FYI I removed the data directory in the project due to IP in there. You should make sure your data directory exist in the project root.
I'm happy to help you get this running - you can reach out to me directly via a dm

thanks @charlie-hssrr

@charlie-hssrr would also be interesting in trying this.

@beouk @carlaelisa @superpoussin22 I use this pattern for file uploads with Redis queues and then firing prepdocs.sh for the processing to Azure storage.
You can run the project standalone and it will allow for uploads. For firing prepdocs.sh, you need to either retrofit this code  into the azure demo app, or figure out how to access the scripts directory from this project:
https://github.com/charlie-hssrr/az-search-file-upload


TypeError: 'NoneType' object is not iterable

Hi
Just tried tg-archive with a random group and stumbled upon the following error:
2021-05-27 11:49:19,763: error downloading avatar: #123456789: cannot identify image file <_io.BytesIO object at 0x6af3b1758900>
Traceback (most recent call last):
  File "/usr/local/bin/tg-archive", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/tgarchive/__init__.py", line 112, in main
    Sync(cfg, args.session, db.DB(args.data)).sync(args.id)
  File "/usr/local/lib/python3.9/site-packages/tgarchive/sync.py", line 60, in sync
    for m in self._get_messages(group_id,
  File "/usr/local/lib/python3.9/site-packages/tgarchive/sync.py", line 121, in _get_messages
    med = self._make_poll(m)
  File "/usr/local/lib/python3.9/site-packages/tgarchive/sync.py", line 182, in _make_poll
    for i, r in enumerate(msg.media.results.results):
TypeError: 'NoneType' object is not iterable

Any idea what's going on?

Looks like it's failing on checking poll results. The API is quite cryptic and hard to test on all these edge cases. I've added a check for this particular error. Can you upgrade to v0.3.6 and retry?

Thanks, it works now.
Any chance to push it to PyPi?

v0.3.6 is already on PyPi. Thanks.

Sorry did not see that. Thanks!


fix(service): return empty string when found in fallback

Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[ ] Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your master!
[x] Make sure you are making a pull request against the canary branch (left side). Also you should start your branch off our canary.
[x] Check the commit's or even all commits' message styles matches our requested structure.
[x] Check your code additions will fail neither code linting checks nor unit test.

Description
For some strings I'd like the default to be an empty string. Omitting the key/value pair {} and having a empty string value { EMPTY_DEFAULT: '' } are treated the same - returning the KEY surrounded by not found indicators.
This change makes the behaviour of finding the fallback translation match that of finding a normal translation. See https://github.com/angular-translate/angular-translate/blob/master/src/service/translate.js#L2175
I've not looked in the angular-translate codebase before but I think this is a breaking change when the users have multiple fallback languages and an earlier one has an empty string (look at unit test - existing behaviour is returning bare)
💔Thank you!

I've not looked in the angular-translate codebase before but I think this is a breaking change when the users have multiple fallback languages

Yeah, well. I'm seeing this from this point: If a translation is available explicitly (even an empty string), it should be used and not skipped nor ignored.
The improvement fixes also a buggy situation.

@knalli Any news on this one?

Ongoing. Stay tuned.

In general LGTM. But from a readability view, I'd write it differently or just put this check in a function named "isDefinedOrEmpty" or similar.

@tspaeth
tbh, given the state of the codebase and that we have a decent coverage of this use case, I don't think this will add much value. Although I definitely agree that it is useful to create code composed of small functions because it can be self-documented.
I would suggest to add this issue as a comment to the test and create a function !isValidFallback(fallbackValue) (as you see, also renaming result to a more meaningful name since we are still working on this line).

It's okay so far. Picked as d76227e

Thank you for contribution.


Kill gen

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

noauth_installer
fee189bdc11c5dc86d24c5d2f83a9fbc03047653
link
/test noauth_installer

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

noauth_installer
fee189bdc11c5dc86d24c5d2f83a9fbc03047653
link
/test noauth_installer

demo_installer
fee189bdc11c5dc86d24c5d2f83a9fbc03047653
link
/test demo_installer

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

noauth_installer
fee189bdc11c5dc86d24c5d2f83a9fbc03047653
link
/test noauth_installer

demo_installer
fee189bdc11c5dc86d24c5d2f83a9fbc03047653
link
/test demo_installer

base_installer
fee189bdc11c5dc86d24c5d2f83a9fbc03047653
link
/test base_installer

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

demo_installer
fee189bdc11c5dc86d24c5d2f83a9fbc03047653
link
/test demo_installer

base_installer
fee189bdc11c5dc86d24c5d2f83a9fbc03047653
link
/test base_installer

noauth_installer
b625cabe6236fdbde0bc61ba85e0465d1e28b4ca
link
/test noauth_installer

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

base_installer
fee189bdc11c5dc86d24c5d2f83a9fbc03047653
link
/test base_installer

noauth_installer
cfdca54c21850cc5c43c60c7a0651218bf1abfb2
link
/test noauth_installer

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

noauth_installer
c4163eefea5fe8b6998b1da1f9e96e596770c884
link
/test noauth_installer

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

noauth_installer
93f99531fd8f64f8e6027eba6235d85a1ce4024d
link
/test noauth_installer

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

noauth_installer
93f99531fd8f64f8e6027eba6235d85a1ce4024d
link
/test noauth_installer

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

noauth_installer
88d3e91b60ccec56a6fbaaebf9683853a335e8e0
link
/test noauth_installer

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

noauth_installer
88d3e91b60ccec56a6fbaaebf9683853a335e8e0
link
/test noauth_installer

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@richardwxn yes they are generate at test time

Maybe not long term

@howardjohn you can also remove the whole run-build-default target

Not very happy with this - kubectl apply -k without downloads was very convenient and is what K8S recommends for installs.
I will continue to maintain kustomize templates in a private repo for now.
Keep in mind people use CI/CD and other ways to install istio - and we want to move away from helm dependency ( operator is just using helm with same complex templates ).


POC: add peribolos configuration

This is a POC to see how the
peribolos config could work for us.
The idea would be that anybody can submit a PR to change the NixOS org
configuration, making the changes more transparent and available.
The peribolos/config.yaml contains a dump of the NixOS and NixCon orgs
and needs to be cleaned up a bit. Notably, the list of org members and
nixpkgs committers needs to be removed as it is handled by a separate
tool.
My first impression so far:

The config file is too large. It would be good if it could be split
up.
It doesn't handle Projects (requested by Raito).

Otherwise it looks pretty good so far.
I haven't tested the application of changes yet, this needs to be tested
on another org first.
The question of who or what would be applying the changes is also up in
the air (given that the token has so much power).

The privacy option on teams makes me think we should not make this kind of data public, but likely only available to org members.

YAML may cause various issues due to its classical caveats if it's edited by humans and that there's improper validation on the tool side (e.g. type homogeneity enforcement).

If we use this syncing teams between nixpkgs and github should be relatively trivial. If it's not too hacky we can probably just have our own wrapper that fetches the current nixpkgs master with a depth of one and does something like:
nix-instantiate --expr 'let pkgs = import ./. { }; lib = pkgs.lib; in lib.teams' --eval --json --strict

Then we have all the team names and github handles of people in the teams.

Name idea: infra-peribolos

I think going with nixos/github-config would make it much simpler to find.

This idea looks oddly familiar (though not quite the same as) something I just happen to be drafting out right now! I'd like to first discuss this a bit with @zimbatm in PMs (messaged you).

Making the proposal more public now: https://github.com/nix-rfc-org/rfcs/blob/nix-rfc-org/rfcs/0000-open-org.md
Chatted with @zimbatm today, and we agreed on the direction this is going, and that both this PR and the proposal work towards the same goal, the PR from the implementation side, with the RFC from the social/community side.


save/unsave molecule in molli

Created a new table saved_molecule in the database to store saved molecule records
API endpoints for get/post/delete saved molecules
It's not allowed to save molecules when the user is on the example page and not logged in.

Thank you! Looks like I forgot to update the save_id in the frontend after saving, I will fix it soon.


Widget layout improvements

Pull Request Test Coverage Report for Build 40

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.0%

Totals

Change from base Build 38:
0.0%

Covered Lines:
18

Relevant Lines:
24

💛  - Coveralls


Would be good to have a copy button for the resources on the Istio Add Deployments page

https://rancher.com/docs/rancher/v2.x/en/cluster-admin/tools/istio/setup/deploy-workloads/#resource-yaml
This page features a large text block with many YAML manifests the user must copy and paste into their cluster.  It would benefit usability to have a "Copy to Clipboard" button at the top and bottom of this manifest (it's long...)

https://rancher.com/docs/rancher/v2.x/en/cluster-admin/tools/istio/setup/gateway/
This one too

this is the same as https://github.com/rancher/docs/issues/488
@StrongMonkey Are you still working on this?

I would like to. Can find a time to contribute :)

Ok. If you could work on it, I would appreciate it. That would be really awesome. But if you don't have time, no worries.

Closing a duplicate of https://github.com/rancher/docs/issues/488


too many errors

having protocol on go install break it.
go install https://github.com/remogatto/egl-examples

undocumented and broken dependences (lots)
git.tideland.biz/goas/loop  gone away!
github.com/remogatto/opengles2   wont compile due to errors.
github.com/mortdeus/mathgl  doesn't exist!
github.com/BurntSushi/xgbutil

please remove repository while nothing works!

Sorry, the project is not longer maintained but PR are welcome! Thanks.

sorry to be that blunt, i did see it wasn’t recently updated, but i did waste some time.
i am trying to find ways to get at opengl as simply as possible. so i wanted to test out to see if what i wanted was even possible, by just seeing EGL working, but not having much luck. if you know where/if i might do that, it would be appreciated.
i have coded against glfw, but trying now for raspberry-pi type devices, linux kernel, and bypassing any display/window serve.
PR are welcome!

what i'm looking at might just basically be this project, but things are always changing, and i'm starting by trying to be really ruthless about KISS.  (my idea is to try to run as much as possible through shaders.)


INT8 KV cache + per-channel weight-only quantization leading to wired result

I followed the step in this issue https://github.com/triton-inference-server/tensorrtllm_backend/issues/211 to build INT8 KV cache + per-channel weight-only quantization engine.
However the result is wired. I used the prompt from human-eval
"from typing import List\n\n\ndef has_close_elements(numbers: List[float], threshold: float) -> bool:\n    \"\"\" Check if in given list of numbers, are any two numbers closer to each other than\n    given threshold.\n    >>> has_close_elements([1.0, 2.0, 3.0], 0.5)\n    False\n    >>> has_close_elements([1.0, 2.8, 3.0, 4.0, 5.0, 2.0], 0.3)\n    True\n    \"\"\"\n"
But getting all \ns
"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"

Hi, please let me know your model type, your branch can your building instructions. Thanks!

Hi, please let me know your model type, your branch can your building instructions. Thanks!

@Tracin Sure. I build and run the model with the following steps:
First I build the backend using main branch
git clone -b main  https://github.com/triton-inference-server/tensorrtllm_backend.git
# Update the submodules
cd tensorrtllm_backend
git lfs install
git submodule update --init --recursive
# Use the Dockerfile to build the backend in a container
# For x86_64
DOCKER_BUILDKIT=1 docker build -t triton_trt_llm -f dockerfile/Dockerfile.trt_llm_backend .

 Please use tag v0.6.1 to build the engine, we do found bad accuracy with main branch before.

@wjueyao Thanks! Please use tag v0.6.1 to build the engine, we do find bad accuracy with main branch before.

@Tracin ok got it. I'll try to build the engine on v0.6.1. and see if it works

@Tracin I use v0.6.1 to run the above steps, and got the following error when I run hf_llama_convert.py
Traceback (most recent call last):
  File "/tensorrtllm_backend/tensorrt_llm/examples/llama/hf_llama_convert.py", line 359, in <module>
    hf_gpt_converter(args)
  File "/tensorrtllm_backend/tensorrt_llm/examples/llama/hf_llama_convert.py", line 253, in hf_gpt_converter
    param = param.detach().cpu().numpy().astype(storage_type)
TypeError: Got unsupported ScalarType BFloat16

@wjueyao Sorry, this will be fixed in 0.7.0 in recent days.
please delete this line for now.

@wjueyao Sorry, this will be fixed in 0.7.0 in recent days. please delete this line for now.

@Tracin I delete the line and build the engine successfully.
However, the result I got is still all\n s with the same prompt I post abover

@wjueyao I think you forget to add this option --rotary_base 1000000 for codellama. This can be found in Readme.

@wjueyao I think you forget to add this option --rotary_base 1000000 for codellama. This can be found in Readme.

@Tracin Thanks! The result looks much better now! I'll run through the whole human-eval test suites, and post the result later

Great job! I will close this issue, if there is any further problem please @ me.


sql: remove protobuf output from show zone configurations

PR: https://github.com/cockroachdb/cockroach/pull/30985
From release notes:

The output of SHOW ZONE CONFIGURATIONS now only shows the zone name and the SQL representation of the config. [#30985][#30985] {% comment %}doc{% endcomment %}

This seems to be updated already.


UX Improvement: Temp Toggle Should Be Flipped

For a better user experience, one should show the currently selected unit as the toggle.
What is currently being displayed:

See Weather Channel and Wunderground for example of what I think would be a better ux for users:

I would like to work on this improvement implementation


Add support for Mutual TLS auth

Environment Details

Helidon Version: 1.0.3
Helidon SE or Helidon MP: both
JDK version: 11.0.2
OS: macOS & Linux
Docker version (if applicable):

Problem Description
Configuring TLS is relatively straight forward using the SSLContextBuilder and this will get you 1-way SSL. For applications that require mutual TLS, the process of configuring the server to request or require client certificates is either missing or simply not documented. Thus it's unclear if additional features need to be added or additional documentation is required.

Configuring the ssl context for the client is not supported currently.
I'm adding this feature request to our backlog.

Hi @romain-grecourt. I'm not looking just for the client support. I was just following up on this and realized I did no spell out my use case very well.
What I am looking to do is to be able to have greater control around the SSLContext that the Server uses. We use Yahoo's Athenz for service authentication. In our environment, the the server will use the Athenz ZTS apis to fetch server certs and rotate them every few hours. It does this by refreshing the SSLContext directly. We have been using Undertow, but it's a bit low-level for some.
Customizing the SSLContext of Undertow is only one part of the set up. I also want to ensure that that the server can demand MTLS at the transport level rather than at the application level. With Undertow, we must specify different socket option to support this and we do end up hitting some of Undertow's XNIO settings to do this. Exposing Netty details to the Helidon Server API probably isn't ideal, but having the ability to express the server intent would be helpful. I might have a few cycle this week to look into this further.

Fixed by #1992


feat(bb): load proving key

Followup to write proving key work
Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

closing as stale


LLDB library not found

Error message
BoAAAA :: ~ » ipa-medit -bin="./Payload/Stockbit.app/Stockbit" -id="stockbit.com.stockbit"
Target device's UDID: 00008020-001640820230003A
Start to proxy a debugserver connection from a device for remote debugging...
Target app: /private/var/containers/Bundle/Application/3C76BDF3-755B-4E15-938B-F96E4B9108BE/Stockbit.app
Target local bin: ./Payload/Stockbit.app/Stockbit
Target platform: remote-ios
LLDB library not found... Please install Xcode.

System Information
BoAAAA :: ~ » sw_vers
ProductName:	macOS
ProductVersion:	11.5.2
BuildVersion:	20G95

Xcode Version
BoAAAA :: ~ » xcode-select -v                                                                                1 ↵
xcode-select version 2384.
BoAAAA :: ~ »

The lldb python library inside xcode is used by ipa-medit.
Does /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python3/lldb exist?
If it does not exist, run the following command:
$ xcode-select --install

i have same problem
my lldb path only "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python/lldb"
i don't have "Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python3/lldb"

Hmm, the contents of the directory are different from my environment.
$ ls /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/
Clang/          Info.plist      Python/         Python3/        darwin-debug*   debugserver*    lldb-argdumper* repl_swift*     version.plist

What version of Xcode do you have?
I'm thinking of changing the implementation to look at the Python/lldb if there is no Python3/lldb.

It's now fixed in v0.2.2, so you can use it.
Release v0.2.2 · aktsk/ipa-medit

It's now fixed in v0.2.2, so you can use it.
Release v0.2.2 · aktsk/ipa-medit

Thanks for updates.
ipa-medit still can't find LLDB Library path on latest version anyway
BoAAAA :: ~/Pentest/STOCKBIT » ipa-medit -bin Payload/Stockbit.app/stockBit -id stockbit.com.stockbit

Target device's UDID: 7a26f86d2d9750407ca4990d2c5cfb6f86feeaf8
Start to proxy a debugserver connection from a device for remote debugging...
Target app: /private/var/containers/Bundle/Application/EDF8B097-49BD-4860-90F6-DE8C86102228/Stockbit.app
Target local bin: Payload/Stockbit.app/stockBit
Target platform: remote-ios
LLDB library not found... Please install Xcode.

In my environment, the lldb folder exists in /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python3 and can be imported from python.
$ cd /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python3
lldb/
$ xcrun python3
Python 3.8.2 (default, Sep 24 2020, 19:37:08)
[Clang 12.0.0 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import lldb
>>> exit()

How about in /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python of yours?
What version of Xcode do you have? The version of xcode-select is not the version of Xcode.

update binary run same error.
i'm xcrun python3

and "xcode-select --install" command execute

@nikotidar
In my environment, the lldb folder exists in /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python3 and can be imported from python.
$ cd /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python3
lldb/
$ xcrun python3
Python 3.8.2 (default, Sep 24 2020, 19:37:08)
[Clang 12.0.0 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import lldb
>>> exit()

How about in /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python of yours?
What version of Xcode do you have? The version of xcode-select is not the version of Xcode.

@tkmru It's a slight difference between your environment and mine.
BoAAAA :: Resources/Python/lldb » cd /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources
BoAAAA :: SharedFrameworks/LLDB.framework/Resources » ls
Clang  Info.plist  Python  Python2  darwin-debug  debugserver  lldb-argdumper  repl_swift  version.plist
BoAAAA :: SharedFrameworks/LLDB.framework/Resources » xcrun python3
Python 3.8.2 (default, Jun  8 2021, 11:59:35)
[Clang 12.0.5 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append('/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python')
>>> import lldb
>>>

Probably the local lldb-driver.py has not been updated. Please delete lldb-driver.py.
$ rm ~/go/bin/lldb-driver.py

And run ipa-medit again.

My comment got a reaction, so it seems to have worked in your environment.
I've also created a pull request to fix this issue, so I'm going to close this issue.

fix it
thanks you


Any plan for "Parent-Child" search on sql4es?

Hi,
I think I share the same preference with you guys, I think use SQL to search for result is much more convenient than use JSON or java client to query from Elasticsearch.
However, the question I have here is that does sql4es plan to support "Parent-Child" search on Elasticsearch? I think the "Parent-Child" search is quite a major feature for Elasticsearch. Hopefully sql4es can added this to the future milestone.
Sincerely,
Feiran

Hi Feiran,
I remember looking into the parent-child relation a while ago but unfortunately im not planning on adding it any time soon due to lack of time. It would be great if someone else would add it ... :)
Cheers,
Corné

@corneversloot Alright, cheers!


0.0.17 codes.forEach is not a function

just upgraded from 0.0.16 to 0.0.17 and statred receiving the error....
TypeError: codes.forEach is not a function
at LanguageUtil.getBestMatchFromCodes (file:///Users/imac27/Repos/ems-fly-rr7/node_modules/i18next/dist/esm/i18next.js:923:11)
I tried to upgrade i18next and the error is still there.
Looking further into it now..

I get the following when I put a console in the i18next.js ChangeLanguage function..

Like I said I have no issues rolling back to 0.0.16? very weird. Its like the translation function is being sent in as a string, and changeLanguage is treating it as a string, until it pases the value to the setLng, which checks for a string, then if not defaults to thinking its an array.

OK const locale = i18next.getLocale(c) is returning the function string, and I am using this in the entry.server.tsx
const lng = appContext.lang
**console.log("lng", lng) //this is the function string [Function: fixedT] { lng: 'en', ns: undefined, keyPrefix: undefined }**
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
const ns = i18nextOpts.getRouteNamespaces(context as any)

await instance
	.use(initReactI18next) // Tell our instance to use react-i18next
	.init({
		...i18n, // spread the configuration
		lng, // The locale we detected above
		ns, // The namespaces the routes about to render wants to use

		resources,
	})

And I just rolled back to confirm, with changing nothing, and it works correctly with 0.0.16

In the i18next.js of remix-hono the createMiddleware function is returning the correct value...
export function i18next(options) {
return createMiddleware(async (c, next) => {
let i18n = options instanceof RemixI18Next ? options : new RemixI18Next(options);
let locale = await i18n.getLocale(c.req.raw);
console.log('i18n.getLocale(c.req.raw)', await i18n.getLocale(c.req.raw))
let t = await i18n.getFixedT(locale);
c.set(i18nSymbol, i18n);
c.set(LocaleSymbol, locale);
c.set(TSymbol, t);
await next();
});
}
this returns the string 'en'
however
i18next.getLocale = function getLocale(c) {
let locale = c.get(LocaleSymbol);
console.log("getLocale", locale);
if (!locale) {
throw new Error("The i18next middleware must run before calling i18next.getLocale()");
}
return locale;
};
is returning the string '[Function: fixedT] { lng: 'en', ns: undefined, keyPrefix: undefined }'

Ok this fixes the issue... at the top the Symbol declarations..
const i18nSymbol = Symbol('i18nSymbol').toString();
const LocaleSymbol = Symbol('LocaleSymbol').toString();
const TSymbol = Symbol('TSymbol').toString();
Changing to this fixes the issue, I don't fully understand how Symbols work, but the Symbol().String() just returns 'Symbol()' in the string, so the c.set() were basically overwriting themselves, so c.get(LocaleSymbol) was actually getting what was set in c.set(TSymbol, t), the last of the set statements in the createMiddleware function

It happened in Commit bc12d09 by @rphlmr by the looks of it?
I think i did something when I first started playing with Symbols, ts was complaining about them, can't remember now exactly what the issue was

@JasonColeyNZ oh 👀 it’s possible I forgot to rollback this change.
Will look at it during the day.

@JasonColeyNZ I've made a PR. I'm not sure how you can test it, but maybe you can edit the JS file in your node_modules to remove the .toString() (this is what this PR does).


Remove PHPUnit 5.x

Remove unnecessary dependency on PHPUnit 5.x (for php5.6) and remove travis test with --prefer-lowest

Do we need a --prefer-lowest for 7.1 and 7.2?

I don't think we need --prefer-lowest, we've used it for 5.6 only.


Variable Explorer copy/paste

There is no way to copy variable name or value from VE and paste it elsewhere. Ideally, it should provide means to do both, probably in a context menu (like Locals does in debugger), with value being the default for Ctrl+C.

I had code in Cordova Tools  that constructed proper VS context menu in WPF controls, will try and find it.

https://github.com/Microsoft/RTVS/commit/828b4e3919cbed507a4d0f51b621b00a7fc8c25b


Implement CI and merge control

Are there options? Travis perhaps. I forked to make some changes and have a build that needs changes to get working.
"github.com/kabukky/journey/date" cant find this for example

Vendor control could help too. Sush as Glide


CURL not updating properly in POST

In the swagger console, when using POST, the "Payload" and "string" is fixed and does not update with the proper values within the curl as shown in the screenshot below. The curl should be updated properly with the user entered values. This is the scenario when using GraphQL.

This issue is reproducible in APIM 3.1.0-Beta for a normally created API.


[jjo] enable pubsub integration tests

integration-tests.bats: enable pubsub

harden kafka-0 readiness checks to (more) deterministically run
make -C examples pubsub pubsub-verify

add livenessProbe to kafka-0:
added tcp port 9092 probing, specially needed when testing (i.e. full
minikube/dind cluster being brought up), kafka startup have been
observed to fail from e.g. zookeeper.kubeless failed resolution
(kube-dns may have not completely settled), and its containers'
/run.sh does a single shot run w/o retry
enhance related functions:
 _wait_for_kubeless_kafka_{server,topic}_ready
tail the whole log, to avoid races

misc:

add TRAVIS_DUMP_LOGS for force log dumping even if successful
only delete func if not present

Lgtm. Thanks @jjo 🥇I am landing it


⚠ Bofrost.es has degraded performance

In 1c91257, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1761 ms

Resolved: Bofrost.es performance has improved in d5ab9ea.


Unable to start OZWCP on RPi AiO clean install .38.2

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version): 0.38.2
Python release (python3 --version): Python 3.4.3
Component/platform: OZWCP
Description of problem: Unable to start OZWCP.
$ cd /srv/homeassistant/src/open-zwave-control-panel/
$ sudo ./ozwcp -p 8888
sudo: ./ozwcp: command not found
Expected:
OZWCP starts
Steps to reproduce:
Clean install latest raspian Jessie lite
Clean install Home Assistant .38.2 AiO

Move to the issue tracker for the installer -> https://github.com/home-assistant/fabric-home-assistant/issues/46

Thank You!!!

On Feb 13, 2017, at 3:42 PM, Fabian Affolter<EMAIL_ADDRESS>wrote:
Move to the issue tracker https://github.com/home-assistant/fabric-home-assistant/issues for the installer -> home-assistant/fabric-home-assistant#46 https://github.com/home-assistant/fabric-home-assistant/issues/46
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/home-assistant/home-assistant/issues/5968#issuecomment-279531795, or mute the thread https://github.com/notifications/unsubscribe-auth/ANJsrf5Z211uMNTWoqtTJiK6jRtqAq5Mks5rcM5DgaJpZM4L_uYj.


Implement terms & conditions & privacy policy for web users

store the general agreement in localstorage
speak with legal to actually get a Terms & Conditions doc ready for the web

As important is the Privacy Policy, updated the title to suit.
There was someone on the slack that expressed interest in doing this?

@sabind @puzzledbytheweb we are currently storing the timestamp and version for both the privacy policy and terms and conditions. However, the version is set to be 1 by default for now.
can we close this now?

Yes. When we release new policies we can updated the version in the front end and it will organically track the correct version. The only thing we may want to to before closing this out is to reference and ENV_VAR for this version so that we don't have to change source code when we release new terms/policies.


add-category pourquoi-faut-il-lutter-contre-l-ambroisie.md

:tada: This PR is included in version 1.4.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


switch to python qrcode

python-qrencode is not in great shape. it hasn't seen a release in 3 years and just crashes in python 3.10 because of a cython api change (https://github.com/Arachnid/pyqrencode/pull/14).
python-qrcode is much better maintained and doesn't suffer from those problems. it's used successfully by the qr-backup project, see https://github.com/lincolnloop/python-qrcode

This issue breaks paperbackup completely for Ubuntu 22.04 (python-3.10) and most other modern OS versions.
... SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

My Dockerfile pull req works around it by forcing python-3.9 but addressing the root problem should be a high priority, IMHO.


Ansible: Adding kube-apiserver basic auth

This enables use of the UI for Kubernetes through the apiserver basic auth.

@eparis

hmmmm, this is the first time we are hard coding the same security for everyone across all clusters...  And the place to change it is buried deep in a defaults/ file no one will ever find...
I guess I like the idea, but not the default user....

Didn't think about the security around it. Ill think on this on how to maybe have dynamic values but without prompts hopefully.

@jeffbean I'm going to close. I liked it (other than the default password).  If you want to resubmit, it'll have to be in contrib...


fixbug: Restore support for custom OpenAI API URL

#101
The custom OpenAI API URL feature was removed during the update, causing inconvenience. Efforts are underway to reinstate this feature.

Thank you!


Full screen support

I added a full screen feature. It can be activated by pressing 'F'. Now, there is an issue with snake`s velocity. It moves faster in full screen, but I suggest to fix this in a separate commit.

@Karansemwal sorry I don't fully understand what you've asked me to do.
git status command says that "everything is up -to-date"

The changes made in your Pull request have removed the score and game-over feature which was recently added in #4 @alh45011

Hi @alh45011, I reviewed all of the changes made in your branch. There are a lot of unnecessary changes made. And it is introducing new bugs into the game as you can see in the video clip linked below. So for now it won't be merged into the main branch. You can work on this issue on a separate branch so it could be merged later into the main branch when it will be ready.
Also, make sure to keep your branch up to date.
https://www.dropbox.com/s/xxvp7fvyvn4mvcn/2023-05-15 10-55-20.mkv?dl=0


Rise max_wait_secs in startNodeManager.sh

15 seconds may be ta  too tight timeout. In some cases we saw the pod restarting several times until it can starts the nodemanager in the expected interval. We propose an arbitrary value of 60 seconds.

@tbarnes-us, what do you think?  Is it reasonable to just bump the arbitrary value from 15 to 60 seconds or should we find a way to make this value configurable?

@rjeberhard 60 seconds - or even a bit higher - is fine by me.   It'd be nice to make it configurable - maybe simply as an undocumented env var (eg just use ${NODE_MANAGER_TIMEOUT_SECS:-60} in the script).

We put in a version similar to what Tom suggested with the updated default and the ability to override with an environment variable.


Chairperson December 2024 - March 2025

I am looking for volunteers for the next chair person. Anyone? :)
Maybe someone that hasn't chaired yet? :) But no must, of course.

happy to volunteer if others are unavailable!

Awesome! Thanks. I will add you as a chair person 😀

Thanks @yang-ruoxi ! I'll also remind everyone that although I am currently listed for Aug-Nov, I'd be happy to defer to someone else who has not chaired before. (In fact, I have some personal reasons why it would be nice not to chair at that time). Would you be interested in swapping positions, Ruoxi?

sure @rkingsbury  I can swap with you!

Okay, great. I will switch the order then.

sure @rkingsbury I can swap with you!

Thanks Ruoxi!


catch missing delimiters when building connection strings

Description
Handle cases where a user-provided connection string does not end with the delimiter and other settings are appended
Addresses #1076 in release/3.2 - A similar fix needs to happen for 4.0 but for that release we can choose to only prepend the delimiter instead of appending
Quality checklist

[ ] Your code complies with our Coding Style.
[ ] You've updated unit and/or integration tests for your change, where applicable.
[ ] You've updated documentation for your change, where applicable.
If your change affects other repositories, such as Documentation, Samples and/or MainSite, add linked PRs here.
[ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.
[ ] You've added required license files and/or file headers (explaining where the code came from with proper attribution), where code is copied from StackOverflow, a blog, or OSS.

/azp run Steeltoe.All


Keeper notification.

Personal Device sending a F&F notification. This should be Keeper notification: Keeper request accepted by Personal Device 1. This should apply to all Keeper notifications, not just from a personal device.

Verified this issue on dev app v2.0.1(373)


Add support for reading and writing avro files

Add support for reading and writing avro files
Closes #840

See comment here:
https://github.com/alteryx/woodwork/issues/840#issuecomment-856230462


Better log level granularity

Overview / Motivation
Some log prints are crucial for some tests while spam other tests
The Task
We need to be able to set the log level per test unit (module? package?)
Implementation Notes
TODO: Add links to relevant resources, specs, related issues, etc...
Contribution Guidelines
Important: Issue assignment to developers will be by the order of their application and proficiency level according to the tasks complexity. We will not assign tasks to developers who have'nt introduced themselves on our Gitter dev channel

Introduce yourself on go-spacemesh dev chat channel - ask our team any question you may have about this task
Fork branch develop to your own repo and work in your repo
You must document all methods, enums and types with godoc comments
You must write go unit tests for all types and methods when submitting a component, and integration tests if you submit a feature
When ready for code review, submit a PR from your repo back to branch develop
Attach relevant issue to PR

@zalmen do you still want the event level or are we waiting with that to ?

#1432


Uncaught Error: spawn puppet-lint ENOENT

Uncaught Error: spawn puppet-lint ENOENT
Atom Version: 0.154.0
System: Mac OS X 10.10.2
Thrown From: Atom Core
Steps To Reproduce

...
...

Stack Trace
At events.js:85

Error: spawn puppet-lint ENOENT
  at exports._errnoException (util.js:742:11)
  at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
  at child_process.js:1142:20
  at process._tickCallback (node.js:378:11)

Looks like you're running an older version of Atom. The latest one is 177, have you tried upgrading Atom and then all your plugins, and seeing if the problem persists?

In addition, upgrading Atom will produce a better error message for this.


Error

Please describe what you were doing when this error happened.
Specifications

OS: win32
IPFS Desktop Version: 0.11.2
Electron Version: 8.2.4
Chrome Version: 80.0.3987.165

Error
TypeError: Object has been destroyed
    at updateMenu (D:\IPFS Desktop\resources\app.asar\src\tray.js:306:12)
    at IpcMainImpl.<anonymous> (D:\IPFS Desktop\resources\app.asar\src\tray.js:323:5)
    at IpcMainImpl.emit (events.js:215:7)
    at updateStatus (D:\IPFS Desktop\resources\app.asar\src\daemon\index.js:17:13)
    at startIpfs (D:\IPFS Desktop\resources\app.asar\src\daemon\index.js:69:7)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Please upgrade to v0.13.2

Same problem.
Marcin Rataj<EMAIL_ADDRESS>于2020年10月13日周二 上午2:14写道：

Please upgrade to v0.13.2
https://github.com/ipfs-shipyard/ipfs-desktop/releases/tag/v0.13.2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ipfs-shipyard/ipfs-desktop/issues/1486#issuecomment-707272495,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKH75EFB3GQDKG6UKOMIY6TSKNBORANCNFSM4MYMFENA
.

I and was unable to reproduce. I thought this could be related to custom path and installed IPFS Desktop to c:\IPFS Desktop, but it works fine.
@JoeyTWhite are you able to provide us with steps how to reproduce this error?
Sharing contents of combined.log from Advanced → Open Logs Directory would also help.


Error saving component

In theme startup, you can not save the footer component. Export the component json, edit with vscode and in the "content" object there is an extraneous "favicon" key at the same level with "en" language. Removing that key and uploading the modified component makes the footer component work again.

Thanks

Thanks! Should be fixed now


Mounted folder is empty

Technical data
WinSshFS

[ ] stable
[x] prerelease
[ ] custom build
Version: <IP_ADDRESS> devel RC5

Dokan driver

[x] stable
[ ] prerelease
[ ] custom build
Version: Dokany 1.0.2

Enviroment

Windows version: 8.1
Architecture: x64
Related software: Windows Explorer

Support

Usage: personal - testing
Your personal priority to solve this issue: do not care
Support ability: try and error

Hey there,
I have some issues with win-sshfs (yeah, obviously).
Anyway. The connection seems to be stable, but the mounted folder is totally empty.
From my auth.log
Mar 14 08:02:12 s2 systemd-logind[769]: New session 42 of user rt.
Mar 14 08:02:13 s2 sshd[12311]: Accepted password for rt from xx.xx.xx.xx port 43140 ssh2
Mar 14 08:02:13 s2 sshd[12311]: pam_unix(sshd:session): session opened for user rt by (uid=0)
Mar 14 08:02:13 s2 systemd-logind[769]: New session 43 of user rt.

This is how my settings look like

As stated above using this configuration the mount folder C:\test is totally empty after establishing the connection.
Let's dig a bit further.
What I have also noticed is when I try to mount the connection to a drive instead of a folder the connection gets interrupted seconds after after connecting. Also using a virtual drive seem not to work well. Closing and reopening the sshfs manager with admin privileges fixes this issue. Maybe a warning should be added that this feature will work with admin privileges only for now.
So I ran as administrator and I tried remounting the sshfs to a drive letter (no virtual) and it worked.
Though trying to mount to the folder instead of the drive letter again not so much: empty again.
So on the bottom line there might be an issue with mounting sshfs' to folders as I am not sure if I may have malconfigured something.
Anyway. Thanks for reading.
Olaf

C:\test seems to me like a directory to which only admin has access (I think this is usually what Windows set to folders in system drive root). Have you tried mounting it to a folder under your user profile, like C:\Users\rt\test?

No, I did not test that.
However as written above I tried the same with admin privileges which did not work.

Same issue here, but the folder is C:\Devices\d_devel
(I'm local admin and started the software in my own context. Win7 x64 system)


Failed to decrypt commands sent in a row

with Tot(cfc35951be66a664a6efdadea56d1b8ea6e63e96), running chip-tool on raspi and running all-cluster-app on raspi, when same cmds sent in a row, first cmd throws the below error, while the 2nd CMD succeeds.
[1651177351.070468][17194:17200] CHIP:-: ../../src/crypto/CHIPCryptoPALOpenSSL.cpp:336: CHIP Error 0x000000AC: Internal error at ../../examples/chip-tool/commands/clusters/ModelCommand.cpp:53
log.txt

@cjandhyala Is this still happening?  This looks like an issue around CASE resumption....


How to get DeviceCountry?

Hi there, since version3.0 removed is24Hour, getTimezone, isAutoTimeZone and isAutoDateAndTime, getDeviceLocale, getDeviceCountry, getPreferredLocales. How am i suppose to get device country as well? Thank You.

Hey, you can check the CHANGELOG:
BREAKING CHANGE: remove is24Hour, getTimezone, isAutoTimeZone and isAutoDateAndTime, getDeviceLocale, getDeviceCountry, getPreferredLocales
This was the result of a survey. It removes API duplication in the react-native-community modules its part of react-native-localize.

Thank You. I miss out that.


operator-sdk run bundle --use-http is not able to pull image from http server

What did you do?
I ran operator-sdk run bundle --use-http xx.xx.xx.xx:/abc/operator-bundle:v1.0.0
This is a bug reported from this thread: https://github.com/operator-framework/operator-sdk/issues/6432
What did you expect to see?
The bundle to be pulled and operator to be installed
What did you see instead? Under which circumstances?
I saw this error:
 error="failed to do request: Head "[https://xx.xx.xx.xx:5000/v2/abc/operator-bundle/manifests/v1.0.0\](https://xx.xx.xx.xx:5000/v2/abc/operator-bundle/manifests/v1.0.0%5C)": http: server gave HTTP response to HTTPS client" host="xx.xx.xx.xx:5000" FATA[0000] Failed to run bundle: pull bundle image: error pulling image xx.xx.xx.xx:5000/abc/operator-bundle:v1.0.0: error resolving name for image ref xx.xx.xx.xx:5000/abc/operator-bundle:v1.0.0: failed to do request: Head "https://xx.xx.xx.xx:5000/v2/abc/operator-bundle/manifests/v1.0.0": http: server gave HTTP response to HTTPS client
Environment

operator-lifecycle-manager version:

Kubernetes version information:

operator-sdk version: "v1.28.0-5-gaf140625", commit: "af14062577914e4c79c77d8a31d2cf808e5ed76b", kubernetes version: "v1.26.0", go version: "go1.19", GOOS: "linux", GOARCH: "amd64"

Kubernetes cluster kind: *
Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.0", GitCommit:"4ce5a8954017644c5420bae81d72b09b735c21f0", GitTreeState:"clean", BuildDate:"2022-05-03T13:46:05Z", GoVersion:"go1.18.1", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.6", GitCommit:"b39bf148cd654599a52e867485c02c4f9d28b312", GitTreeState:"clean", BuildDate:"2022-09-21T13:12:04Z", GoVersion:"go1.18.6", Compiler:"gc", Platform:"linux/amd64"}

Just to add additional clarity to this, the error is from the unpack job. The main question here is - how does OLM determine when to pass the --use-http flag to the unpack job?
for more info, see https://github.com/operator-framework/operator-sdk/issues/6432#issuecomment-1579230502


primitive in post response returns empty string

I am calling a restful service that return true or false in the response body. When I receive this response, it is an empty string. I can call String(resp.raw), but I feel like a primitive that is not enclosed in an JSON object should be accepted as it works with JSON.parse. I'm using 0.7.10.

What content type is the endpoint returning?

@tomas application/json

So the raw response is a single "true" or "false" string?

yes, the response is a single "true" or "false" string.

That's odd. By default needle parses the output stream, so it should be doing a JSON.parse("true") that should return true. Any other pointers?

@tomas I'm just guessing here:
It look like https://github.com/tomas/needle/blob/master/lib/needle.js#L334 evaluates to false, so https://github.com/tomas/needle/blob/master/lib/needle.js#L339 never happens.

Hmm, I don't think so. Those chunks should be buffers so no this.read() should never be "false" nor falsy.
Let me try a quick test and I'll get back to you.

Ok, quick test works. Something else is going on.
var http   = require('http'),
    needle = require('./');

http.createServer(function(req, res) {
  res.writeHead(200, {'Content-Type': 'application/json' });
  res.end('true');
}).listen(function() {
  var port = this.address().port;
  needle.get('localhost:' + port, function(err, resp) {
    if (resp.body === true) {
      console.log('Got boolean!');
    } else {
      console.log('Invalid type: ' + resp.body.constructor);
    }
  })
});

In my case, chunk = this.read() did evaluate to false. Any idea why?

AFAIR this.read() returns false when there's no more data to read.

@tomas try your example with 'false' instead of 'true'.
var http   = require('http'),
needle = require('./');
http.createServer(function(req, res) {
res.writeHead(200, {'Content-Type': 'application/json' });
res.end('false');
}).listen(function() {
var port = this.address().port;
needle.get('localhost:' + port, function(err, resp) {
console.log('resp.body: ' + resp.body);
if (resp.body === false) {
console.log('Got boolean!');
} else {
console.log('Invalid type: ' + resp.body.constructor);
}
})
});

Holy shmoly, looks like you're right. This is a scenario that the while(chunk = this.read()) strategy doesn't seem to cover. But even the official documentation says do it that way!

@tomas I'm thinking a simple null check is all that's needed. If you agree, I'll issue the PR.

Sure, send it over.

(Be sure to add a test for it!)

I pulled down the repo and ran the tests as is and got a few errors. Is that expected?

@tomas I issued PR #96
It works, but I noticed the body was 'false' and not false. Is that expected?

Nice work there @futurechan.
Body should be false, not 'false'. Does that happen on the example above too?

In the above example (resp.body === true) worked. Perhaps there's another truthy/falsey check that's failing.

Apparently. But with your null check does the example work with === false?

No, it looks like 'false' is returned. I'm working on two other things ATM. I'll try to circle back ASAP.

@tomas
Line 357 is evaulating to true, so we are calling .toString(), which is why 'false' is returned instead of false. Any pointers?

I'm thinking that resp.body[0] in line 350 is false which means that the evaluation returns false when in fact it should evaluate to true.
What happens if we change if (resp.body[0] && !Buffer.isBuffer(resp.body[0])) { to if (resp.body[0] !== null && !Buffer.isBuffer(resp.body[0])) {?

Of course! I'll touch up the PR in just a sec.

@tomas all fixed up! I may be wrong, but iit looks like null is a valid response that also does not work.

Then I guess we should go all the way with resp.body[0] !== undefined.

@tomas I'm not sure what you mean, but the false condition is covered now.

Slick. Just merged, releasing in a few minutes.


Fixing the bugs of my code

Hello peers,
I need to find out the bugs inside my code. I can't track where it is changing . Could you please give me a suggestion?

Hello Ali, I think using "console.log()" at the area you think might course the error will fetch out the bug issues. 🤝


Format long ERB lines

Hey, thanks for this gem!
The readme says "attempts to limit length (configurable)". How can I configure that?
I tried running the following case in the command line
https://github.com/nebulab/erb-formatter/blob/a710ec2d26bdac49f6e63030fe893f103e3c7961/test/erb/test_formatter.rb#L126-L136
with
echo "<div> <%=render MyComponent.new(foo:barbarbarbarbarbarbarbar,bar:bazbazbazbazbazbazbazbaz, baz:bahbahbahbahbahbahbahbabahbahbahbah, bah: fozfozfozfozfozfozfozfofzofzofzofozfozfozofz)%> </div>" | erb-format --stdin

and the result was
<div>
  <%= render MyComponent.new(foo:barbarbarbarbarbarbarbar,bar:bazbazbazbazbazbazbazbaz, baz:bahbahbahbahbahbahbahbabahbahbahbah, bah: fozfozfozfozfozfozfozfofzofzofzofozfozfozofz) %>
</div>

Is there anything I need to do in order to format long embedded ruby lines?

For now it can only be passed when used directly in Ruby (see below), but ideally there should be a CLI flag to set that number.
Happy to review a PR if you want to take up the challenge 🙌
https://github.com/nebulab/erb-formatter/blob/main/lib/erb/formatter.rb#L77

@elia I seem to be having an issue with 0.4.1 and long lines. I am doing the following bundle exec era-formatter % --print-width 120 and the result is:

I would have expected the result to be:

As the line length of the longest line is only 99.

@cj just released v0.4.2, let me know if it doesn't work and we'll reopen 👍

@elia works perfectly, thank you so much!


Async Tracker Store Support

This is an effort to make tracker stores asynchronous, based off of the work initially done in this PR and it should address [this issue] (https://github.com/RasaHQ/rasa/issues/8774). I've tried to account for the comments made in the original PR and reduce the surface area/object wrapping from the original implementation, but that comes at a trade-off - specifically making the other tracker store methods async.
Also, should we convert some of the tracker store implementations to use async APIs (i.e; AIORedis for AioRedis, Motor for Mongo)?
. First PR, so entirely open to feedback!
Status (please check what you already did):

[X] added some tests for the functionality
[X] updated the documentation
[X] updated the changelog (please check changelog for instructions)
[X] reformat files using black (please check Readme for instructions)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Could we have a changlog entry too please?

Done!

@jupyterjazz @joejuzl @wochinge just wanted to re-request a review at your earliest convenience!

Sorry for the delay - this looks great! Once all CI checks pass this should be good to go 🚀

Thank you! Just noticed the CI was failing Python 3.7 tests because I forgot AsyncMock wasn't added to unittests until 3.8 (which also explained why there was an AsyncMock class in the conftest.py module!). Just made the import changes and pushed again - let's see if this passes everything.

Hi @joejuzl , I corrected the linting failure. It also looks like I'm getting failures on:
AttributeError: 'Sanic' object has no attribute 'agent'

for Ubuntu Python 3.7-3.9:

https://github.com/RasaHQ/rasa/runs/5511967887?check_suite_focus=true
https://github.com/RasaHQ/rasa/actions/runs/1969150725
https://github.com/RasaHQ/rasa/runs/5511967815?check_suite_focus=true

Did I miss something in my changes?

Hey @wochinge @joejuzl could someone possibly retrigger the CI at earliest convenience? Sorry to be a bother, just really excited to get this in :)

Hey @wochinge @joejuzl could someone possibly retrigger the CI at earliest convenience? Sorry to be a bother, just really excited to get this in :)

Hey @danielenricocahall sorry I was on holiday :) - have re-run it now.
Also, in-case you weren't aware, you can use make to run the various checks locally, e.g. make lint (check the Makefile for the full list). This may make it easier to get all issues fixed locally.

When I navigate to these lines, they are methods which have not had any docstring modifications in this PR - only the signatures have changed (to add async). Should I still make changes to those docstrings?

The check uses rather broad strokes to determine what needs to be checked, and since it has not been around since the start it often requires small changes to existing docstrings. Let me know if you need a hand with any of them (it should be fine to keep them fairly succinct and simple.)

When I navigate to these lines, they are methods which have not had any docstring modifications in this PR - only the signatures have changed (to add async). Should I still make changes to those docstrings?

The check uses rather broad strokes to determine what needs to be checked, and since it has not been around since the start it often requires small changes to existing docstrings. Let me know if you need a hand with any of them (it should be fine to keep them fairly succinct and simple.)

Done! :)

When I navigate to these lines, they are methods which have not had any docstring modifications in this PR - only the signatures have changed (to add async). Should I still make changes to those docstrings?

The check uses rather broad strokes to determine what needs to be checked, and since it has not been around since the start it often requires small changes to existing docstrings. Let me know if you need a hand with any of them (it should be fine to keep them fairly succinct and simple.)

Done! :)

Oof, then those changes caused Flake8 to complain about line length errors :dizzy_face: . Just addressed and pushed up.

Just corrected the typing errors. With the two AwaitableTrackerStore methods (retrieve and keys), I added ignore[return-value] since the alternative would be to change the type signature for those methods all TrackerStore subclasses, which I thought was less clean (especially if the idea is that AwaitableTrackerStore would be removed in 4.0 since all tracker store implementations should be asynchronous by then and there would be no need for the wrapper).

Hey @joejuzl it looks like all but one test are passing :partying_face: - test_train_status_is_not_blocked_by_training in test-other-unit-tests. Do you have any suggestions on mitigating that issue?

💯 Fantastic job! Thanks for this 🚀 🚀 🚀

My pleasure! 😄 Look forward to seeing it merged in! In the near f

Hey @joejuzl it looks like all but one test are passing 🥳 - test_train_status_is_not_blocked_by_training in test-other-unit-tests when doing multi-process tests. Do you have any suggestions on mitigating that issue?

Looks like it's a random failure - re-running it now.

Thank you!

Hey @joejuzl it looks like all but one test are passing 🥳 - test_train_status_is_not_blocked_by_training in test-other-unit-tests when doing multi-process tests. Do you have any suggestions on mitigating that issue?

Looks like it's a random failure - re-running it now.

Thank you!

Looks like everything passed now but the codeclimate report update failed.

Looks like everything passed now but the codeclimate report update failed.

Don't worry about that job.
Do you have the privileges to merge?
If so make sure to squash, you can then either keep the default squashed message or write something more succinct.
If not, I can merge for you.

Looks like everything passed now but the codeclimate report update failed.

Don't worry about that job. Do you have the privileges to merge? If so make sure to squash, you can then either keep the default squashed message or write something more succinct. If not, I can merge for you.

Okay great! Unfortunately, I do not have privileges to merge.

Hey @joejuzl would the next step be to migrate some of the existing tracker stores to using async lib equivalents e.g; MongoTrackerStore -> motor, etc.? I wouldn't mind doing that in the future.


[Bug]: jackson-databind version upgrade to remediate security vulnerabilities #9528 Fix

I changed the Jackon version from 2.8.8 -> 2.8.9

Hi, how moving to patch version is going to fix security vulnerabilities? Can you elaborate?

A deserialization flaw was discovered in the jackson-databind, versions before <IP_ADDRESS>, <IP_ADDRESS> and 2.8.9, which could allow an unauthenticated user to perform code execution by sending the maliciously crafted input to the readValue method of the ObjectMapper. This is critical vulnerability, and was patched in jackson 2.8.9 version and up. Jackson is only used in the core
The only change was in the above mentioned modules as these are the only ones that jackson.


Improve context by providing a repo map; Add Vertex AI integration; Add Greedy action parser for more robust code block action syntax

I've been experimenting with the SWE-Agent and made some improvements on the go that I thought would be worth considering adding to the project
What does this implement?

Repo map implementation from Aider
Google Vertex AI integration
A greedy thought-action parser to handle files that contain triple backticks (```)

Repo map
When using the agent on an existing codebase I encountered the issue where the agent starts to reimplement existing code, to give the LLM context for avoiding this I have added the repo map code from Aider
The Repo map feature adds a snippet like this to the first user message
Here is a map of your working directory's latest state, showing files and signatures in code files:

.gitignore

readme.md

requirements.txt

sonoff_diy_api/smart_socket_mock.py:
│class SmartSocketMock:
│    def __init__(self):
│        # Initialize device state and attributes
│        self.switch_state = "off"  # Initial state of the switch
│        self.startup_state = "stay"  # Power on state
│        self.signal_strength = -70  # WiFi signal strength
│        self.pulse_state = "off"  # Inching state
│        self.pulse_width = 500  # Inching pulse width
│        self.ssid = "sonoffDiy"  # WiFi SSID
│        self.password = "20170618sn"  # WiFi password
⋮...
│    def switch(self, switch_state):
⋮...
│    def startup(self, startup_state):
⋮...
│    def signal_strength(self):
⋮...
│    def pulse(self, pulse_state, pulse_width=None):
⋮...
│    def wifi(self, ssid, password):
⋮...
│    def ota_unlock(self):
⋮...
│    def ota_flash(self, download_url, sha256sum):
⋮...
│    def info(self):
⋮...

Google Vertex AI integration
Added a Vertex AI integration for access to 1M context window models
Greedy parser
When the agent tried to write documentation in markdown files I encountered the issue of the action parser failing to read file with triple backtick (```) blocks. To fix this I added the ThoughtActionGreedyParser class that parses the string between the outer backticks as the only action, as multiple action outputs seem to be unsupported. I know that a workaround would be using an xml-agent, but that might be too complex syntax for smaller LLMs
Any other comments?
I hope any of these features would be of use. Let me know if you would like me to cherry-pick and polish any of them to a separate PR
I have not had the time to write tests and make sure these features smoothly integrate with everything else
🧡 Thanks for contributing!

Hi!
Thanks for making a PR. Have you run any of these 3 new features on SWE-bench to see if they improve the accuracy?

Eje dot probé de sensed Edith aporías Thiago yogur Thiagos are Vero atravesar

La meses dome Thiago LG se sea 6 escena e

Repo map was since independently added. Closing this, because we didn't end up moving in this direction.


[DOCS] attempt to minimise docstring warnings

adds some spaces and full stops to _base.py in a first attempt to reduce the scale of doctest warnings, which may be failing CI intermittently

Seems to be an issue with the HC1 docstring currently which it does not like
Extension error (numpydoc.numpydoc):
Handler <function mangle_signature at 0x7f113c7af790> for event 'autodoc-process-signature' threw an exception (exception: Error parsing See Also entry 'For the Java version, see' in the docstring of HIVECOTEV1 in /home/docs/checkouts/readthedocs.org/user_builds/aeon-toolkit/envs/572/lib/python3.9/site-packages/aeon/classification/hybrid/_hivecote_v1.py.)

yes I was doing this on my old laptop which does not have git/pre-commit installed and no bandwidth to get it.

which was a mistake because it has cocked up all the indenting!