Build fails on Arch Linux

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Arch Linux, LSB version 1.4, Linux 5.10.23-1-lts, x86-64
TensorFlow installed from (source or binary): source
TensorFlow version: 2.4.1
Python version: 3.9
Installed using virtualenv? pip? conda?: virtualenv, pip
Bazel version (if compiling from source): 4.0.0
GCC/Compiler version (if compiling from source): 10.2.0
CUDA/cuDNN version: CUDA 11.2.0-3, cuDNN <IP_ADDRESS>-1
GPU model and memory: Nvidia GeForce RTX 280 Ti 11016MiB

Describe the problem
I have two problems. These problems are related to two different types of situations. However, I have opened just one issue because, even if the problems could not be related themselves, they are probably related to building/installation problems.

Manual compilation of TensorFlow (2.4.1 version) using the instruction related to Arch Linux (see the PKGBUILD file here) fails. The error is the following (I'll log the entire output, error at the end). Note: The compilation has been started outside any virtualenv.

patching file tensorflow/tools/ci_build/install/install_centos_pip_packages.sh
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tensorflow/tools/ci_build/install/install_centos_pip_packages.sh.rej
patching file tensorflow/tools/ci_build/install/install_pip_packages.sh
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tensorflow/tools/ci_build/install/install_pip_packages.sh.rej
patching file tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh.rej
patching file tensorflow/tools/ci_build/install/install_python3.6_pip_packages.sh
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tensorflow/tools/ci_build/install/install_python3.6_pip_packages.sh.rej
patching file tensorflow/tools/ci_build/release/common_win.bat
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file tensorflow/tools/ci_build/release/common_win.bat.rej
patching file tensorflow/tools/pip_package/setup.py
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tensorflow/tools/pip_package/setup.py.rej
patching file tensorflow/python/keras/saving/hdf5_format.py
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tensorflow/python/keras/saving/hdf5_format.py.rej
patching file tensorflow/python/keras/saving/hdf5_format.py
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file tensorflow/python/keras/saving/hdf5_format.py.rej
patching file tensorflow/python/keras/saving/hdf5_format.py
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file tensorflow/python/keras/saving/hdf5_format.py.rej
patching file tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py
Hunk #2 FAILED at 80.
1 out of 2 hunks FAILED -- saving rejects to file tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py.rej
patching file tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py
Hunk #2 FAILED at 79.
1 out of 2 hunks FAILED -- saving rejects to file tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py.rej
patching file tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py
patching file tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py
patching file tensorflow/python/pywrap_mlir.py
Hunk #1 succeeded at 38 (offset 1 line).
patching file tensorflow/python/pywrap_mlir.py
Hunk #1 succeeded at 38 (offset 1 line).
You have bazel 4.0.0 installed.
Found CUDA 11.2 in:
    /opt/cuda/targets/x86_64-linux/lib
    /opt/cuda/targets/x86_64-linux/include
Found cuDNN 8 in:
    /usr/lib
    /usr/include
Found NCCL 2 in:
    /usr/lib
    /usr/include

Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .bazelrc for more details.
        --config=mkl            # Build with MKL support.
        --config=mkl_aarch64    # Build with oneDNN support for Aarch64.
        --config=monolithic     # Config for mostly static monolithic build.
        --config=ngraph         # Build with Intel nGraph support.
        --config=numa           # Build with NUMA support.
        --config=dynamic_kernels        # (Experimental) Build kernels into separate shared objects.
        --config=v2             # Build TensorFlow 2.x instead of 1.x.
Preconfigured Bazel build configs to DISABLE default on features:
        --config=noaws          # Disable AWS S3 filesystem support.
        --config=nogcp          # Disable GCP support.
        --config=nohdfs         # Disable HDFS support.
        --config=nonccl         # Disable NVIDIA NCCL support.
Configuration finished
Starting local Bazel server and connecting to it...
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=198
INFO: Reading rc options for 'build' from /run/media/federico/XData/tensorflow/.bazelrc:
  Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /run/media/federico/XData/tensorflow/.bazelrc:
  'build' options: --apple_platform_type=macos --define framework_shared_object=true --define open_source_build=true --java_toolchain=//third_party/toolchains/java:tf_java_toolchain --host_java_toolchain=//third_party/toolchains/java:tf_java_toolchain --define=tensorflow_enable_mlir_generated_gpu_kernels=0 --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --noincompatible_prohibit_aapt1 --enable_platform_specific_config --config=short_logs --config=v2
INFO: Reading rc options for 'build' from /run/media/federico/XData/tensorflow/.tf_configure.bazelrc:
  'build' options: --action_env PYTHON_BIN_PATH=/usr/bin/python --action_env PYTHON_LIB_PATH=/usr/lib/python3.9/site-packages --python_path=/usr/bin/python --config=xla --action_env TF_CUDA_VERSION=11.2 --action_env TF_CUDNN_VERSION=8 --action_env TF_NCCL_VERSION=2.8 --action_env TF_CUDA_PATHS=/opt/cuda,/usr/lib,/usr,/usr/include,/usr/local/lib --action_env CUDA_TOOLKIT_PATH=/opt/cuda --action_env NCCL_INSTALL_PATH=/usr --action_env TF_CUDA_COMPUTE_CAPABILITIES=6.1,7.5 --action_env LD_LIBRARY_PATH=/opt/cuda/extras/CUPTI/lib64: --action_env GCC_HOST_COMPILER_PATH=/usr/bin/gcc --config=cuda --action_env TF_SYSTEM_LIBS=boringssl,curl,cython,gif,icu,libjpeg_turbo,lmdb,nasm,pcre,png,pybind11,zlib --action_env TF_CONFIGURE_IOS=0
INFO: Found applicable config definition build:short_logs in file /run/media/federico/XData/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /run/media/federico/XData/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:xla in file /run/media/federico/XData/tensorflow/.bazelrc: --define=with_xla_support=true
INFO: Found applicable config definition build:cuda in file /run/media/federico/XData/tensorflow/.bazelrc: --config=using_cuda --define=using_cuda_nvcc=true
INFO: Found applicable config definition build:using_cuda in file /run/media/federico/XData/tensorflow/.bazelrc: --define=using_cuda=true --action_env TF_NEED_CUDA=1 --crosstool_top=@local_config_cuda//crosstool:toolchain --define=tensorflow_enable_mlir_generated_gpu_kernels=1
INFO: Found applicable config definition build:avx2_linux in file /run/media/federico/XData/tensorflow/.bazelrc: --copt=-mavx2
INFO: Found applicable config definition build:mkl in file /run/media/federico/XData/tensorflow/.bazelrc: --define=build_with_mkl=true --define=enable_mkl=true --define=tensorflow_mkldnn_contraction_kernel=0 --define=build_with_openmp=true -c opt
INFO: Found applicable config definition build:linux in file /run/media/federico/XData/tensorflow/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --config=dynamic_kernels
INFO: Found applicable config definition build:dynamic_kernels in file /run/media/federico/XData/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS
DEBUG: Rule 'io_bazel_rules_go' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1557349968 -0400"
DEBUG: Repository io_bazel_rules_go instantiated at:
  /run/media/federico/XData/tensorflow/WORKSPACE:37:30: in <toplevel>
  /home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/external/bazel_toolchains/repositories/repositories.bzl:55:23: in repositories
Repository rule git_repository defined at:
  /home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
DEBUG: /home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:118:10:
Auto-Configuration Warning: 'TMP' environment variable is not set, using 'C:\Windows\Temp' as default
DEBUG: Rule 'io_bazel_rules_docker' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1556410077 -0400"
DEBUG: Repository io_bazel_rules_docker instantiated at:
  /run/media/federico/XData/tensorflow/WORKSPACE:37:30: in <toplevel>
  /home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/external/bazel_toolchains/repositories/repositories.bzl:37:23: in repositories
Repository rule git_repository defined at:
  /home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
INFO: Analyzed 4 targets (418 packages loaded, 31513 targets configured).
INFO: Found 4 targets...
INFO: Deleting stale sandbox base /home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/sandbox
ERROR: /run/media/federico/XData/tensorflow/tensorflow/python/keras/api/BUILD:111:19: Executing genrule //tensorflow/python/keras/api:keras_python_api_gen failed: (Exit 1): bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)
2021-03-18 20:25:35.715885: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
  File "/home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/tools/api/generator/create_python_api.py", line 26, in <module>
    from tensorflow.python.tools.api.generator import doc_srcs
  File "/home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/__init__.py", line 48, in <module>
    from tensorflow.python import keras
  File "/home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/keras/__init__.py", line 27, in <module>
    from tensorflow.python.keras import models
  File "/home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/keras/models.py", line 26, in <module>
    from tensorflow.python.keras.engine import functional
  File "/home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/keras/engine/functional.py", line 38, in <module>
    from tensorflow.python.keras.engine import training as training_lib
  File "/home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/keras/engine/training.py", line 52, in <module>
    from tensorflow.python.keras.engine import data_adapter
  File "/home/federico/.cache/bazel/_bazel_federico/9ebe032d906e33a6e519d86fafa71920/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/keras/engine/data_adapter.py", line 65, in <module>
    import pandas as pd  # pylint: disable=g-import-not-at-top
  File "/usr/lib/python3.9/site-packages/pandas/__init__.py", line 29, in <module>
    from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
  File "/usr/lib/python3.9/site-packages/pandas/_libs/__init__.py", line 13, in <module>
    from pandas._libs.interval import Interval
  File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
ERROR: /run/media/federico/XData/tensorflow/tensorflow/python/tools/BUILD:282:10 Middleman _middlemen/tensorflow_Spython_Stools_Sprint_Uselective_Uregistration_Uheader-runfiles failed: (Exit 1): bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)
INFO: Elapsed time: 7946.935s, Critical Path: 567.22s
INFO: 28075 processes: 5830 internal, 22245 local.
FAILED: Build did NOT complete successfully

Manual compilation of TensorFlow (git cloned and checked out at r2.4/v2.4.1) following the instruction here seems to work. The pip install of the wheel produced correctly works too. However, trying to create a new CustoOps, in particular a basic one zero_out.cc as proposed here, after having compiled with bazel, when I try to test it as described here I receive this error (demangled):
tensorflow::OpKernel::TraceString(tensorflow::OpKernelContext const&, bool) const

Provide the exact sequence of commands / steps that you executed before running into the problem

Regarding the first problem, I have tried to compile TensorFlow following a subset of the instruction in this PKGBUILD file (see below for the exact subset of commands I have used). In particular:

I've used the tensorflow-2.4.1-cuda-opt extracted from the source indicated in the PKGBUILD (source=("$pkgname-$pkgver.tar.gz::https://github.com/tensorflow/tensorflow/archive/v${_pkgver}.tar.gz")
Renamed the folder into tensorflow
Put the fix-h5py3.0.patch into the above tensorflow folder
From the mentioned PKGBUILD file, I've used this subset of instructions:

#!/bin/bash

# Set the bazel version
echo "4.0.0" > .bazelversion

# Patch the h5py
patch -Np1 -d . -i fix-h5py3.0.patch

# Get rid of hardcoded versions. Not like we ever cared about what upstream
# thinks about which versions should be used anyway. ;) (FS#68772)
sed -i -E "s/'([0-9a-z_-]+) .= [0-9].+[0-9]'/'\1'/" tensorflow/tools/pip_package/setup.py

# Set the variables
export PYTHON_BIN_PATH=/usr/bin/python
export USE_DEFAULT_PYTHON_LIB_PATH=1
export TF_NEED_JEMALLOC=1
export TF_NEED_KAFKA=1
export TF_NEED_OPENCL_SYCL=0
export TF_NEED_AWS=1
export TF_NEED_GCP=1
export TF_NEED_HDFS=1
export TF_NEED_S3=1
export TF_ENABLE_XLA=1
export TF_NEED_GDR=0
export TF_NEED_VERBS=0
export TF_NEED_OPENCL=0
export TF_NEED_MPI=0
export TF_NEED_TENSORRT=0
export TF_NEED_NGRAPH=0
export TF_NEED_IGNITE=0
export TF_NEED_ROCM=0
# See https://github.com/tensorflow/tensorflow/blob/master/third_party/systemlibs/syslibs_configure.bzl
export TF_SYSTEM_LIBS="boringssl,curl,cython,gif,icu,libjpeg_turbo,lmdb,nasm,pcre,png,pybind11,zlib"
export TF_SET_ANDROID_WORKSPACE=0
export TF_DOWNLOAD_CLANG=0
export TF_NCCL_VERSION=2.8
export TF_IGNORE_MAX_BAZEL_VERSION=1
export TF_MKL_ROOT=/opt/intel/mkl
export NCCL_INSTALL_PATH=/usr
export GCC_HOST_COMPILER_PATH=/usr/bin/gcc
export HOST_C_COMPILER=/usr/bin/gcc
export HOST_CXX_COMPILER=/usr/bin/g++
export TF_CUDA_CLANG=0  # Clang currently disabled because it's not compatible at the moment.
export CLANG_CUDA_COMPILER_PATH=/usr/bin/clang
export TF_CUDA_PATHS=/opt/cuda,/usr/lib,/usr,/usr/include,/usr/local/lib
export TF_CUDA_VERSION=$(/opt/cuda/bin/nvcc --version | sed -n 's/^.*release \(.*\),.*/\1/p')
export TF_CUDNN_VERSION=$(sed -n 's/^#define CUDNN_MAJOR\s*\(.*\).*/\1/p' /usr/include/cudnn_version.h)
export TF_CUDA_COMPUTE_CAPABILITIES=6.1,7.5
export CC=gcc
export CXX=g++
export BAZEL_ARGS="--config=mkl -c opt --copt=-I/usr/include/openssl-1.0 --host_copt=-I/usr/include/openssl-1.0 --linkopt=-l:libssl.so.1.0.0 --linkopt=-l:libcrypto.so.1.0.0 --host_linkopt=-l:libssl.so.1.0.0 --host_linkopt=-l:libcrypto.so.1.0.0"
export BAZEL_ARGS="$BAZEL_ARGS --host_copt=-Wno-stringop-truncation"

echo "Building with cuda and with non-x86-64 optimizations"
export CC_OPT_FLAGS="-march=haswell -O3"
export TF_NEED_CUDA=1
./configure
bazel build --config=avx2_linux ${BAZEL_ARGS[@]} //tensorflow:libtensorflow.so //tensorflow:libtensorflow_cc.so //tensorflow:install_headers //tensorflow/tools/pip_package:build_pip_package

For the second problem, related to the successful build and installation, I reproduced the steps indicated in the official build guide here, and then I have installed the wheel inside a virtualenv with python 3.9. The only thing I had to do to succeed in the installation process has been to downgrade the  hdf5 library installed on my system from the 1.12.0-2 to the 1.10.5-1.

Any hint will be appreciated. Thank you.

@iLeW
We see that you have cuda 11.2 which is compatible with tf nightly 2.5, can you downgrade to cuda 11.0 and let us know.

@iLeW We see that you have cuda 11.2 which is compatible with tf nightly 2.5, can you downgrade to cuda 11.0 and let us know. you may refer to this link and let us know.

Ok, some time has passed since the last reply. I'm replying just for completeness. Finally, we moved to another version and into a new solution. The problem was probably tied to the CUDA version. We can keep this closed.


-limited doesn't work for last elite

https://imgur.com/a/pqsSqgD

@linaz2009 Do you have a replay or something for this? Can't figure out where the issue is. Could be the command or it could be that the Paladin limit is broken somehow.

@linaz2009 Do you have a replay or something for this? Can't figure out where the issue is. Could be the command or it could be that the Paladin limit is broken somehow.

How to replicate https://imgur.com/a/RewjsDf

solved in ed89c1f3a8784bb01af300141e6164f77ee36592


Connect Ansible with DO

I've worked through most of the issues, however, I still need to work out some settings for the root user stuff.

remote_user = root


Removes blacklist.

Getting away from this stuff is a big part of the entire point of Ethereum and censorship resistant finance.  For starters, banning these addresses does absolutely nothing to stop them from being used.  Secondly, even if it did, the whole point of censorship resistance is that we should be moving toward a brighter future free from government censorship of financial freedom.
This blacklist goes against the entire ethos of Ethereum and is an anathema on the project and should be removed promptly.

great initiative! Small suggestion, I would get rid of the const completely, so there is no temptation to add any address under any circumstance

That would require me to actually go through the code and make sure I delete all references.  😬   Just emptying the array was super easy for me to do safely, which is why I picked that route.  Philosophically, I agree that removing the blacklist entirely would be the best solution.

Getting away from this stuff is a big part of the entire point of Ethereum and censorship resistant finance. For starters, banning these addresses does absolutely nothing to stop them from being used.

@MicahZoltu with mev boost implemented with the merge, it will be indeed no longer possible to withdraw money from Tornado Cash as all blocks produced will be Ofac compliant with this kind of code.

@MicahZoltu with mev boost implemented with the merge, it will be indeed no longer possible to withdraw money from Tornado Cash as all blocks produced will be Ofac compliant with this kind of code.

MEV Boost is an optional side car that doesn't censor, and can be connected up to any relay.  Some people will not run MEV Boost at all, and some people will connect to a non-censoring relay, so Tornado transactions will still get through eventually.


Pomodoro mode doesn't work

I can't get p Pomodoro mode to work. It doesn't do anything.
Other keys work, such as q.

Node Version: 7.9.0
tiny-core-terminal version: 1.1.1
Shell: zsh
Terminal Program: Terminal
Operating System: MacOS Sierra

Thank you!

The Pomodoro isn't in 1.1.1. That feature was merged a few days ago and the 1.1.1 version was pushed to NPM about 2 weeks ago.

Just stumbled over this too - and pressed the P-Key a lot
The easiest way to get around this is intalling it directly from github:
npm install -g https://github.com/notwaldorf/tiny-care-terminal.git

But a new release on NPM would also do it :)
Have a great day :)

Thanks all!
On 9 May 2017, 12:49 +0100, Bastian Widmer<EMAIL_ADDRESS>wrote:

Just stumbled over this too - and pressed the P-Key a lot
The easiest way to get around this is intalling it directly from github:
npm install -g https://github.com/notwaldorf/tiny-care-terminal.git
But a new release on NPM would also do it :)
Have a great day :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (https://github.com/notwaldorf/tiny-care-terminal/issues/82#issuecomment-300139910), or mute the thread (https://github.com/notifications/unsubscribe-auth/AACYBLo5vii0C77C8Go5mRikd6pqVak1ks5r4FLhgaJpZM4NVFWU).

1.2.0 has been released, so this should work now!


Support Insertion/Integration of Third Party/Bridge Libraries

Missions/Projects may have the need/requirement to use specific implementations of functions provided by third party libraries i.e. ARINC 653 does not include a printf function.
Third party libraries cannot legally be included within an official release of the OSAL.  The OSAL currently does not provide a generic means of integrating third party libraries into the OSAL.
See ticket #34 for more details

Trac comment by jphickey on 2015-12-02 12:23:35:
I took a closer look .... turns out you can already do this very easily in the CMake build.  Both POSIX and RTEMS builds already use it.

RTEMS has all cpu-specific routines in an rtemscpu library that needs to be explicitly specified on the link line
POSIX puts dynamic loader functions in dl, thread functions in pthread.  Linux also puts real-time functions in a separate library called rt - none of these are in the standard C library, so they need to be explicitly specified as well

This is accomplished by setting the OSAL_LINK_LIBS variable to be a list of libraries to add to the final link.  It can be specified in the OSAL (per OS) and/or in the BSP (per board) or even in the external toolchain file.
Someone could put any 3rd party library in here; it is not limited to those supplied by the vendor/toolchain, so I believe this should work to support what is needed here.
Of course, one would have to use the CMake build system to get this feature.
If using the classic makefiles, then this is a matter of editing makefiles.  I don't think the CCB can provide a function for this, since classic makefiles are cloned and owned by the mission - maybe just note it in the README/docs where one would have to add 3rd party libraries in the provided sample makefile?

Imported from trac issue 120.  Created by sstrege on 2015-11-23T18:28:47, last modified: 2019-08-14T14:11:46

Trac comment by jphickey on 2015-12-02 12:39:19:
To summarize - I don't think anything extra needs to be added here, there are plenty of hooks already there.
This probably is just a documentation issue.

Trac comment by jphickey on 2015-12-02 12:38:09:
The OSAL_LINK_LIBS list applies to //binary// libraries (i.e. built separately, prior to building CFE).
If someone has a //source// library that they would like to actually build and link in as part of a single CFE build, turns out we can do this too, via the PSP static module inclusion facility added by [cfs_psp:#3]
All that needs to be done is to include the 3rd party library as a PSP module.  It can even be an external source tree outside of the CFE mission tree (build scripts support this too).


utils: force users to implement functions

closes #90

@BadrAly Take account this pr for your overlay(although I think you have already implemented your logic :) )


Reload PATH in install script so that pio command works without reloading terminal

Double check on OS X

Can you describe a little more? Is this a bug in install.sh?

No response so closing


Tmodloader had another arbitrary update.

Tmodloader is saying it's on 6.96.4. Don't know what arbitrary change they did this time, and I'm guessing you're already working on it, but this is more for the people trying to figure out if the problem is on their end or not.

Now a I have the same Issue. The log:
[22:35:46.230] [.NET ThreadPool Worker/ERROR] [tML]: An error occurred while loading Fargowiltas v2.8.2
It has been detected that this mod was built for tModLoader v2<IP_ADDRESS>
However, you are using tModLoader v2<IP_ADDRESS>
The mod will need to be updated to match the current tModLoader version, or may be incompatible with the version of some of your other mods. Click the 'Open Web Help' button to learn more.
The mod(s) have been automatically disabled.
Terraria.ModLoader.Exceptions.JITException:
In Fargowiltas.FargoGlobalRecipe.RecipeAvailable, Method not found: 'Boolean Terraria.ModLoader.GlobalRecipe.RecipeAvailable(Terraria.Recipe)'.
at Terraria.ModLoader.Core.AssemblyManager.JITAssemblies(IEnumerable1 assemblies, PreJITFilter filter) in tModLoader\Terraria\ModLoader\Core\AssemblyManager.cs:line 378    at Terraria.ModLoader.Core.AssemblyManager.JITMod(Mod mod) in tModLoader\Terraria\ModLoader\Core\AssemblyManager.cs:line 336    at Terraria.ModLoader.ModContent.<>c.<Load>b__42_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 311    at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 382
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 310
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 124
[22:35:46.231] [.NET ThreadPool Worker/INFO] [tML]: Disabling Mod: Fargowiltas


#107 Playback progress save.

Fixes #107

Playback state persistance handled by DefaultAudioPlayer only.
Playback state saved on every navigation event (so it works when playback is paused too)
Playback state saved on playback progress tick.

Hi @Chralu,
It is frustrating when Anytime does not save an episode's current position, but I don't believe increasing the update frequency is the solution. Sembast is an in-memory NoSQL store which appends to a file on every write. Writing on every action, especially every 500ms tick, would generate a lot of I/O. A 1 hour show, for example, would generate 7,200 writes.
I would like to better understand how Anytime is failing. When Anytime is playing, it should be less likely to be killed by the OS. When paused, it should have already saved its current position, and when the app is suspended it also saves the current position. What I am not sure about is what happens when Anytime is interrupted by something like a call.
The best solution is one where Anytime correctly handles situations where it needs to save, thus ensuring it does not forget its position whilst minimising the about of I/O.

Hi @amugofjava ,
I agree with you. My solution is a (pretty inefficient) workaround to application brutal stops.
For the story : A few weeks ago, I used to experience application unexpected stops while playing in background (on iOS).
I had no time to investigate, so I have clue of the root issue (maybe is it fixed by now)...
Anyway, would it be pertinent to save playback progress on rewind/fastfoward/seek actions when playback is paused ?

Hi @Chralu,
When you say it randomly stops on iOS during playback, is the playback just stopping or is the application crashing?

Hi @amugofjava ,
the application was stopped (either crashing or nicely disposed by OS).
So when I re-started it, playback state had not been saved.

Hi @amugofjava
I don't know if application crashed or stopped 🤔
Maybe AppStore crash logs existence could help to determine this.

I have identified a way to reproduce the behavior. And I think system just stops the application.

Start a podcast playback
Go on iPhone home page
Lock the iPhone

After 15min application is killed by the OS.
If step 2 is omitted (application is in foreground, and phone is locked), then application is not killed by OS.

Related Issue seems fixed.


Understand and standardize adjustUnbalancedTx.

I believe there is a bug in adjustUnbalancedTx. It shouldn't filter the outputs that contain zero value, otherwise, when running a transaction generated by:
PaysToScript scriptAddr (someDatum, mzero)

the output that actually pays to the script will be silently filtered out, the transaction will be send and it might actually succeed; even though the transaction that was send DOES NOT satisfy the constraints it was generated from.
Another aspect to keep in mind is the fee and keep track of this issue: https://github.com/input-output-hk/plutus-apps/issues/143

This has been closed. adjustUnbalancedTx is not called by default and the function has been fixed.


Move model name resolution to Amplify core

As noted in this code snippet
https://github.com/aws-amplify/amplify-ios/blob/4cb4423a6eb3d46dc0caf4bf55392384b0e4acc8/Amplify/Categories/DataStore/Model/Collection/List+LazyLoad.swift#L40-L46
model name resolution is currently relegated to individual plugins. We should evaluate whether this is something we want to bring into Amplify core for consistency between plugin implementations.

this was addressed in https://github.com/aws-amplify/amplify-ios/pull/1009/files#diff-67755fffc75706a5336f5f05454d47dbdec5fdf6e5bd6a2e3450746d65685359R74
the code was migrated to DataStore plugin DataStoreListProvider, and creates the predicate with just the model name. When the name to SQL column name translation happens within the DataStore.Query call, it will do the translation to the "[modelName+associatedFieldName+Id]"


WIP initial stick_mapper

TODO

VTOL publishing
cleanly handle FW, MC, and VTOL (FW <- MC) params
FW flaps (manual + via fw_att_ctrl)
rattitude mode
mc_pos_ctrl
throttle_curve

Closing as stale, but keeping the branch. We need to discuss how the stickmapper fits in with flighttasks.


Add missing cpuinfo support for armv6l

Dear maintainer,
PR #257 added basic multiplatform support for cpuinfo.
Due to this change, this project does not compile on 32-bit ARM CPUs, e.g. the armv7l in a Raspberry Pi 3b. I think this PR should solve this problem.

Hi @mfraioli, @discordianfish, @SuperQ – you approved #257 and the follow-up #288. Could you have a look at this one?

I'm wondering if we should add a default cpuinfo flag which just returns an error about being an unsupported platform.  That way at least the library would compile on the unknown platforms instead of failing to compile.

Good question. I actually prefer a failure to compile to finding out the library won't work at runtime, if I can. In this case, would love it if the error message could be somehow made clearer than just "cpuInfo? Never 'heard of it".

Yeah not sure what is better. Let's discuss that in an issue or future PR though, this LGTM


[REQ] Component Request: PMSA0031

What's the full name of the component you'd like to see in Adafruit.io WipperSnapper?
The full name of the specific component. PMSA0031 Air Quality Breakout
What type of component is this (i.e.: Pin, I2C)? It has an I2C interface
Add any other context about the component request here.
Product URL or Datasheet
Add a link to the product's URL or datasheet here. https://www.adafruit.com/product/4632
Additional context
Add any other context about the component request here. Because this device includes a small fan to drive air through the measuring chamber, it requires a support board that will provide the necessary power (a little less than 100 mA for the fan?) The fan is 5V but the cited board has a step-up circuit for use with 3.3V boards.

Hi! We've added support for the PMSA003i Air Quality Breakout in WipperSnapper Beta 44.
https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/releases/tag/1.0.0-beta.44


Investgate Python API bug

Codecov Report

Merging #11936 (09f2c87) into main (3c58033) will decrease coverage by 0%.
The diff coverage is n/a.

:exclamation: Current head 09f2c87 differs from pull request most recent head dd6cbf7. Consider uploading reports for the commit dd6cbf7 to get more accurate results

@@           Coverage Diff           @@
##            main   #11936    +/-   ##
=======================================
- Coverage     62%      62%    -1%
=======================================
  Files        490      490
  Lines      34602    34602
  Branches    5616     5616
=======================================
- Hits       21710    21596   -114
- Misses     10862    10941    +79
- Partials    2030     2065    +35

Impacted Files
Coverage Δ

src/kernels/execution/executionHelpers.ts
33% <0%> (-34%)
:arrow_down:

src/platform/common/net/httpClient.ts
55% <0%> (-23%)
:arrow_down:

...c/kernels/execution/cellExecutionMessageHandler.ts
56% <0%> (-22%)
:arrow_down:

src/platform/common/utils/serializers.ts
8% <0%> (-21%)
:arrow_down:

src/platform/common/platform/fileSystem.node.ts
67% <0%> (-3%)
:arrow_down:

src/kernels/raw/session/rawKernel.node.ts
62% <0%> (-3%)
:arrow_down:

src/kernels/common/baseJupyterSession.ts
77% <0%> (-3%)
:arrow_down:

src/kernels/raw/session/rawSocket.node.ts
73% <0%> (-3%)
:arrow_down:

...c/platform/common/process/pythonDaemonPool.node.ts
78% <0%> (-2%)
:arrow_down:

src/platform/common/platform/fileSystem.ts
41% <0%> (-2%)
:arrow_down:

... and 22 more


graphql-request plugin supporting custom headers per each request method.

A new feature is being supported by graphql-request library: Support passing custom headers per each request method.
This issue is to support that in the generation of the extra parameter than can be passed to the generated code in the plugin
graphql-request: PR: https://github.com/prisma-labs/graphql-request/pull/228
Note: I will do a PR here to resolve this issue once the graphql-request is merged to master

Thank you, @moeHaydar . I'm closing this since we can track this on the PR you created, and since this feature is not merged yet in graphql-request.


Logging information to runserver console?

Is there an option to log debug toolbar information to runserver console?

No, not at this time.

@ChillarAnand If what you need is the sql queries, I made a lib exactly to fill this gap that the debug toolbar has.
https://github.com/mscansian/django-sql-debug


Cleaning proton metrics

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@olaaun @freva or @gjoranv Is there something here that should be carried on, or should it just be closed ?


Don't set _IS_INIT = true before initializing _ALGO_INSTANCE

I hope I don't miss any subtle detail, but it looks wrong to set _IS_INIT before _ALGO_INSTANCE gets initialized. In case new returns Err, _ALGO_INSTANCE will stay uninitialized, but a later call to UnInit will still try to drop it.
As there is already a _IS_INIT = true immediately after setting _ALGO_INSTANCE, I think this line can just be removed.

Rebased on main


Two or more successive rows of side-by-side images don't stack correctly

Fixed to handle successive floated images now. I checked on Chrome, FF, Safari, and tablet/mobile. There may be some cases that we haven't thought about to test, but we decided we would handle those as they come up or live with the limitations rather than testing further at this time.


TS2345: Argument of type '{ buildModules: string[]; x: { url: string; }; }' is not assignable to parameter of type 'NuxtConfig'

Environment
Nuxt CLI v3.0.0-27338323.1e98259                                                                              05:12:56
RootDir: C:\Projects\astolfo                                                                                05:12:58
Nuxt project info:                                                                                05:12:58

Operating System: Windows_NT
Node Version:     v16.12.0
Nuxt Version:     3.0.0-27338323.1e98259
Package Manager<EMAIL_ADDRESS>Bundler:          Vite
User Config:      buildModules, strapi
Runtime Modules:  -
Build Modules<EMAIL_ADDRESS>

Reproduction
completely empty and new nuxt3 project
Describe the bug
Hey, as soon as I want to set up a new nuxt3 project with strapi I get the following error:
TS2345: Argument of type '{ buildModules: string[]; strapi: { url: string; }; }' is not assignable to parameter of type 'NuxtConfig'.   Object literal may only specify known properties, and 'strapi' does not exist in type 'NuxtConfig'.
I actually did it the same way as in the "example", except that I specified "'@nuxtjs/strapi'" instead of "module", as it also says in the doc.
My nuxt.config.ts:

Additional context
No response
Logs
No response

For anyone else coming across this or similar issues. I learned that Nuxt comes shipped with a nuxt prepare command.
This command generates types based on the Nuxt configuration. These added definitions should fix issues like this.
When creating a new Nuxt project a postinstall script will be added to package.json that should run this command after every install. (npm i)
You can also run the command manually.
See here for more details.
https://nuxt.com/docs/api/commands/prepare


Combine controller reactors

For lifecycles you're create two reactors which are visible in captureDereferences. In this PR I just merged from lifecycle into reactor governor. Is it ok, @ds300 ?

Also we can call lifecycle functions in a single derivation to reduce tree. What do you think?

Looks good to me


Improvement support access s3 via temporary security credentials

when creating s3 repo or loading from s3.
Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[x] No
[ ] No Need

Has document been added or modified:

[x] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.74 seconds
load time: 628 seconds
storage size:<PHONE_NUMBER>2 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221225054926_clickbench_pr_68299.html


Groovy Facade Utility Commands

Ports the facade utility commands from gradle wrapper to groovy.
Ex.)
groovy facade - For help
groovyw facade get Server
groovyw facade create FacadeOtherthing

Hooray Jenkins reported success with all tests good!

Other than the imports it looks good. I'm gonna approve the task but wait for Cervator before merging because he knows groovy much better than I do and could point out any problems I've missed

@jellysnake Those unused imports are for the omitted auto-adding remotes to newly cloned facades. The module.groovy uses it but I didn't port over that part because it wasn't exactly part of the task. I left [bracketed] messages in the file showing where the auto-add remotes should go. I'm pretty sure all that needs to be done is copy the addRemote() from module.groovy to facade.groovy and then look at how retrieveModule() uses it and do the same for retrieveFacade(). Could be another simple coding task.

Superseded / merged via #3263 - thanks! :-)


Add support Windows

Hello,
Are you planning to add support for Windows?
Thank you!

Hello, it's impossible at this stage because this project supports ArKit and ArCore which work on Android and iOS.


Support Jakarta package names

Support both the javax.transaction and jakarta.transaction package
names for exception mapping.

Superseded by re-worked changes in PR #59


Rusty Key on PMC on Ground Zero

I was playing Ground Zero killed a PMC and started to loot him and he had a rusty key, the only spawn to my knowlege is on Streets not Ground zero.
Maybe the PMC loot tables have a small chance of having it so would need removed or altered

Attachments

rust key.png (2177 KiB)

Originally written by Bamba

You can find it on Scavs very rarely just like the dorm marked room key. Idk if it has to be specifically on Streets though in order for one to spawn in their inventory.

Originally written by TheRagingRyan

Bot loot in SPT isn't map specific, its one large pool of items.

Originally written by chomp


Permission Issue with M1 Mac OS and Colima

I'm seeing permission issues with the images running on the M1 Mac, I've setup my Colima configuration to have write permission to the folder where I'm persisting the oracle data files.  This also leads to issues setting the password for the SYS and SYSTEM accounts.  If I don't use a persistence volume the container will be created, the passwords set, and start correctly.

location: "/Users/fname.lname/database-files/oracle"
writable: true

Colima startup command -> colima start --arch x86_64 --cpu 4 --memory 6 --kubernetes
Docker run command -> docker run -d --name ORACLE_XE -p 1521:1521 -p 5500:5500 -e ORACLE_PASSWORD=password123! -v /Users/fname.lname/database-files/oracle/startup:/opt/oracle/scripts/startup -v /Users/fname.lname/database-files/oracle:/opt/oracle/oradata gvenzl/oracle-xe:full
mv: failed to preserve ownership for '/opt/oracle/oradata/dbconfig/XE/spfileXE.ora': Permission denied
2022-12-03T15:15:14.618683000Z mv: failed to preserve ownership for '/opt/oracle/oradata/dbconfig/XE/orapwXE': Permission denied
2022-12-03T15:15:14.671194000Z mv: failed to preserve ownership for '/opt/oracle/oradata/dbconfig/XE/listener.ora': Permission denied
2022-12-03T15:15:14.722341000Z mv: failed to preserve ownership for '/opt/oracle/oradata/dbconfig/XE/tnsnames.ora': Permission denied
2022-12-03T15:15:14.777883000Z mv: failed to preserve ownership for '/opt/oracle/oradata/dbconfig/XE/sqlnet.ora': Permission denied
CONTAINER: Resetting SYS and SYSTEM passwords.
2022-12-03T15:16:06.286419000Z    ALTER USER SYS    IDENTIFIED BY "password123!"
2022-12-03T15:16:06.290912000Z *
2022-12-03T15:16:06.291040000Z ERROR at line 1:
2022-12-03T15:16:06.291075000Z ORA-01990: error opening password file ''

Were you able to install it on Mac M1?

Were you able to install it on Mac M1?

It works just fine without shared volumes between the container and the host.
Another alternative I have found is using Windows 11 Pro arm64 running in (the free for personal use) VMware Fusion.
Windows 11 arm64 has an emulation layer for x86_64 to arm64 which is fas superior to qemu which is used by colima.
I am running Oracle 19c EE on Windows with acceptable performance.

@altitudedashboard I found an answer here https://stackoverflow.com/a/72537954/15384651. I followed the steps till the penultimate one. But, not sure which Oracle DB image I should install. We have been asked to install the Oracle 21c Express Edition for our Lab classes on Database systems. Should which of the images should I use for this?
Or just running
docker run -e ORACLE_RANDOM_PASSWORD=yes -p 1521:1521 -d gvenzl/oracle-xe
works?
Also, do you know if the Oracle Cloud DB would work? Does it provide the same functionalities, and is the interface close enough to the offline installation?

docker run -d -p 1521:1521 -p 5500:5500 -e ORACLE_PASSWORD=PutAPasswordHere -v oradata:/opt/oracle/oradata:rw --name oraxe gvenzl/oracle-xe -full
should do the job

@altitudedashboard I tried the above instruction to check if it worked.

After running, it showed as above. Do you think the installation worked? Could you suggest any method with which I can check that? I have SQL Developer on my Machine. Can you suggest anything to confirm if the installation worked? I am really new to Docker, and the Database stuffs, so not sure if I am doing things right.

Yes. Try:
docker logs -f <the long id, ideally you should have used a name>

I have the following output. I guess the installation worked? Also, whenever I want to use this (Oracle XE), should I use some command?

Yes, it worked. You may connect using
docker exec -ti <the long id> bash
and you are inside the container. Next try:
sqlplus / as sysdba
And then you need to do some reading, this is not the place...
To log out use Ctrl+D

@altitudedashboard Thanks a ton 🙏. I never thought I would have installed it this easily.

This is the purpose of this image, to help developers get quickly an Oracle XE docker container

It works just fine without shared volumes between the container and the host.

@altitudedashboard Also, one last thing. You mentioned this at the start of your answer. Could you clarify how much of an issue, or loss of functionality it will cause, as opposed to a standard installation (for users on an x86-64 Machine)?

As it seems you are only now starting it will not impact you at all as you don't need this feature


Garbled character when launching tmux

Environment
Windows build number: 10.0.18363.0
Windows Terminal version (if applicable): 1.0.1811.0
tmux version: 2.1
SSH target machine: 4.15.0-46-generic # 49~16.04.1-Ubuntu SMP x86_64 GNU/Linux

Steps to reproduce

ssh to a Linux host
open a tmux session

Expected behavior
Characters should be rendered normally.

Actual behavior
There are some garbled characters, as shown in this picture:

I tried to copy the garbled characters to clipboard, and displayed in hex editor. It showed that the ascii code of abnormal character is 0x0f.
BTW, this problem only exists in this PC. I don't know if I have some improper configuration with this PC. And the garbled characters disappear if I run tmux in the native terminal in Linux. Also, I tried to use Mobaxterm, which is also normal.

I believe this was fixed in 1.1; can you try the Preview channel?
FWIW: #3487, original report at #176 which had similar symptoms ("only happens on one computer, we can't reproduce it")

Actually, because this is 0x0f (thank you !!!) it is definitely a /duplicate of #3487


why this conv layer's kernel size is set to 1?

https://github.com/DIAGNijmegen/neural-odes-segmentation/blob/6dd0505c1f456e733b63a80a62bcd578d7769340/models.py#L31

Good question, that is a bug! I never used the non-time-dependent version though, but it's definitely wrong.


Fix first build experience

If msbuild isn't on the path, we need to guess at a path to a newer
msbuild--the old one won't compile C# 7 code now in use.

If there are no packages, do a package restore. Perhaps something
should be done to restore packages on any build, but at least this is
a step in the right direction.

@jazzdelightsme,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot


[0.8-preview] Boolean attribute change handlers are called before localDom or lightDom are available.

Considering the following contrived element built on 0.8-preview branch:
<script>
Polymer({
  is: 'simple-element',
  published: {
    awesome: Boolean
  },
  bind: {
    awesome: 'awesomeChanged'
  },
  ready: {
    console.log('I am ready.');
  },
  awesomeChanged: function () {
    if (this.lightDom && this.localDom) {
      console.log('I has a DOM');
    } else {
      console.log('I do not has DOM');
    }
  }
});
</script>

The first time awesomeChanged is called will happen before this.lightDom and this.localDom have been initialized on the element. It will also be called before the ready lifecycle handler has been called, which may or may not be intentional, but seems undesirable on the surface.

@sorvell Related to your configure implementation: the above described behavior is a little awkward because *Changed handlers will get called as defaults are assigned from the set of values yielded by configure. In order to work around this, one would have to measure the initialization state of other self-properties before taking action in a *Changed handler that references those properties (particularly if those properties are Object or Array types).

Could we just suppress change notifications that occur before ready? I know
on 0.5 people get confused by multiple change events, or values that get
bound before they're assigned (not sure if that's one issue or two).
On Jan 30, 2015 9:31 PM, "Christopher Joel"<EMAIL_ADDRESS>wrote:

@sorvell https://github.com/sorvell Related to your configure
implementation: the above described behavior is a little awkward because
*Changed handlers will get called as defaults are assigned from the set
of values yielded by configure. In order to work around this, one would
have to measure the initialization state of other self-properties before
taking action in a *Changed handler that references those properties
(particularly if those properties are Object or Array types).
—
Reply to this email directly or view it on GitHub
https://github.com/Polymer/polymer/issues/1131#issuecomment-72305626.

The first time awesomeChanged is called will happen before this.lightDom and this.localDom have been initialized on the element. It will also be called before the ready lifecycle handler has been called, which may or may not be intentional, but seems undesirable on the surface.

Would a scheduler that queued up change notifications fired prior to the lightDOM, localDOM and ready methods be desirable here? I'd personally find notification suppression a little hard to debug.

Since configure is intended to specify defaults (to my understanding), setting properties with the "configured" default should never trigger a *Changed handler. To me, "changed" implies that there has been a change from the initialized state. If that is the intended meaning, it may be the case that these handlers are bound too early in the lifecycle.

lightDom and localDom have been removed via https://github.com/Polymer/polymer/commit/7c7e426c8fdd5a326525bb1953b8ee59ad83e448.

Configure is functioning according to the current design. Let's open a separate issue to discuss that if necessary. Closing this one.


feat: Add enable_tunnel_lifecycle_control arguments

Description

This PR adds the tunnel1_enable_tunnel_lifecycle_control and tunnel2_enable_tunnel_lifecycle_control arguments.
Motivation and Context

This aligns this module with the changes in upstream provider (https://github.com/hashicorp/terraform-provider-aws/issues/30706).

Breaking Changes

No

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

Looks good. Could you also update the minimum version of Terraform AWS provider to be 4.66 in all versions.tf, since the feature you're adding in this PR is pretty recent?

This PR is included in version 3.4.0 :tada:


Create a Yoga and Wellness Platform

Pull Request Details:

Title: Create a Yoga and Wellness Platform
PR Link: #19
Issue: #18

Next Steps:
I'm ready for feedback and any necessary revisions. Please review at your earliest convenience, and feel free to provide comments or suggest improvements.

Hi Paras,
Thank you for your pull request. I appreciate your contribution to our project.
I have reviewed your changes and everything looks good. Please be patient, and I'll get back to you as soon as possible.
If you have any questions or need further assistance, don't hesitate to ask.
Best regards,
Jayesh


no output

i dont get any output when i use any of the  functions , and i dont get an error either
i don t know what i am doing wrong, please help if u can

@A-Gad Hi, could you please give an example of how your code uses one of the functions?

@johndoknjas  thanks for answering here is my code :
from stockfish import Stockfish
stockfish = Stockfish(path='stockfish_14.1_win_x64_avx2.exe')
stockfish.set_fen_position("rnbqkbnr/pppp1ppp/4p3/8/4P3/8/PPPP1PPP/RNBQKBNR w KQkq - 0 2")
stockfish.get_best_move()

@A-Gad Thanks for the code. The get_best_move function doesn't print anything, but will instead return the best move as a string (or if there are no legal moves in the position, the None object is returned).
Something like this should do what you want:
best_move = stockfish.get_best_move()
print(best_move)

@johndoknjas  thank you so much for your help


missing event-properties fields when logging to network with JsonLayout

There seems to be an issue when logging to the network target, with JsonLayout. The fields obtained from the event-properties are missing.
Type: Bug
NLog version: 4.4.12
Platform: .Net 4.5
Current NLog config (xml or C#, if relevant)
<?xml version="1.0" encoding="utf-8" ?>
<!-- Logging works, but dbResponseTime & messagesSentTotal fields are missing-->
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
      autoReload="true"
      throwExceptions="false"
      internalLogLevel="Trace" internalLogFile="NLogTrace.json">
  <targets>
    <target xsi:type="Network" address="tcp://<IP_ADDRESS>:1314" name="networkTarget" newLine="true">
      <layout xsi:type="JsonLayout" includeAllProperties="true">
        <attribute name="application" layout="${literal:text=NLogConsole}" />
        <attribute name="timestamp" layout="${date:universalTime=true:format=o}" />
        <attribute name="machineName" layout="${machinename}" />
        <attribute name="environment" layout="${literal:text=DEV}" />
        <attribute name="dbResponseTime" layout="${event-properties:item=dbResponseTime}" encode="false"/>
        <attribute name="messagesSentTotal" layout="${event-properties:item=messagesSentTotal}" encode="false"/>
        <attribute name="module" layout="${literal:text=core}" />
      </layout>
    </target>
  </targets>
  <rules>
    <logger name="*" minlevel="Info" writeTo="networkTarget"/>
  </rules>
</nlog>

In case of a BUG:

What is the current result? The logged result is:

{ application: 'NLogConsole', timestamp: '2018-02-12T09:13:06.8305696Z', machineName: 'LAB-01', environment: 'DEV', module: 'core' }

What is the expected result? The result should also contain the fields from the event properties (in this case, dbResponseTime and messagesSentTotal):

{ application: 'NLogConsole', timestamp: '2018-02-12T09:12:42.7514494Z', machineName: 'LAB-01', environment: 'DEV', dbResponseTime: 50, messagesSentTotal: 100, module: 'core' }

Are there any work arounds? Yes, add also a file target with exactly the same layout, and log to both the file target and network target. In this case, the network target message will contain the missing fields:

<?xml version="1.0" encoding="utf-8" ?>
<!-- With this setup, the full message is logged to both file and network-->
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
      autoReload="true"
      throwExceptions="false"
      internalLogLevel="Trace" internalLogFile="NLogTrace.json">
  <targets>
    <target xsi:type="File" name="fileTarget"
     fileName="Info.${shortdate}.json"
     archiveFileName="Info.{#}.json"
     archiveNumbering="DateAndSequence"
     archiveAboveSize="33554432"
     archiveDateFormat="yyyy-MM-dd">
      <layout xsi:type="JsonLayout" includeAllProperties="true">
        <attribute name="application" layout="${literal:text=NLogConsole}" />
        <attribute name="timestamp" layout="${date:universalTime=true:format=o}" />
        <attribute name="machineName" layout="${machinename}" />
        <attribute name="environment" layout="${literal:text=DEV}" />
        <attribute name="dbResponseTime" layout="${event-properties:item=dbResponseTime}" encode="false"/>
        <attribute name="messagesSentTotal" layout="${event-properties:item=messagesSentTotal}" encode="false"/>
        <attribute name="module" layout="${literal:text=core}" />
      </layout>
    </target>

    <target xsi:type="Network" address="tcp://<IP_ADDRESS>:1314" name="networkTarget" newLine="true">
      <layout xsi:type="JsonLayout" includeAllProperties="true">
        <attribute name="application" layout="${literal:text=NLogConsole}" />
        <attribute name="timestamp" layout="${date:universalTime=true:format=o}" />
        <attribute name="machineName" layout="${machinename}" />
        <attribute name="environment" layout="${literal:text=DEV}" />
        <attribute name="dbResponseTime" layout="${event-properties:item=dbResponseTime}" encode="false"/>
        <attribute name="messagesSentTotal" layout="${event-properties:item=messagesSentTotal}" encode="false"/>
        <attribute name="module" layout="${literal:text=core}" />
      </layout>
    </target>

  </targets>

  <rules>
    <logger name="*" minlevel="Info" writeTo="fileTarget,networkTarget"/>
  </rules>
</nlog>

Is there a version in which it did worked? I don't know
Can you help us by writing an unit test? Added this repo for tests: https://github.com/adrianpetcu/nlog-networktarget-issue

Thanks for the report. Any change to test it with nlog 4.5 rc?

I tested with 4.5.0-rc05, the issue still exists.

OK thanks, if you have time to create an unit test, that would really boost the fix

snakefoot commented 6 days ago
...
Regarding the issue with missing LogEvent Properties when using NetworkTarget alone, then I think there is missing a call to Target.MergeLogEventProperties in NetworkTarget. My pending PR for logger callsite makes MergeLogEventProperties obsolete…
--

https://github.com/NLog/NLog/issues/2557#issuecomment-365224646

The problem only occurs when using Info/Debug/Error methods of the Logger, when using the Log method everything works fine.
      LogEventInfo eventInfo = new LogEventInfo(LogLevel.Error, "InfoLogger", "Test");
        eventInfo.Properties.Add("dbResponseTime", 50);
        eventInfo.Properties.Add("messagesSentTotal", 100);
        logger.Log(eventInfo);  //all properties present
        logger.Info(eventInfo); //dbResponseTime &&  messagesSentTotal missing

@adrianpetcu Yes calling Log() will also work. Also think wrapping the network-target within an AsyncWrapper will also fix the problem. Have created a PR #2586 that will resolve the issue.

@adrianpetcu NLog 4.5.4 has been released that fixes the issue: https://www.nuget.org/packages/NLog/ (includes the fix mentioned about)

Thanks, works perfectly now!


Solaris x86_64 native library are missing

Hello,
I have the same problem than one related in issue #42 when running a jvm with -d64 flag on a solaris x86 host.
Native library for architecture reported as amd64 are not present in the snappy distribution. I tried to add this architecture .so files after compiling snappy
in 64 bits mode but encounter another error that I wasn't able to solve at this time.
[P]zen:/tmp# java -d64 -cp ".:./snappy-java-1.0.5-patch-amd64.jar" Main
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.xerial.snappy.SnappyNative.maxCompressedLength(I)I
at org.xerial.snappy.SnappyNative.maxCompressedLength(Native Method)
at org.xerial.snappy.Snappy.maxCompressedLength(Snappy.java:320)
at org.xerial.snappy.Snappy.rawCompress(Snappy.java:333)
at org.xerial.snappy.Snappy.compress(Snappy.java:92)
at Main.main(Main.java:10)

I can make time to build both 64-bit and 32-bit libraries for AIX, would you be able to add support for it as well?

@thirumal
Great. Please send a pull request that includes native libraries (.so) for AIX.

I've moved out of IBM, I no longer have access to any AIX machines. Sorry I cannot contribute in this regard.

how to build org/xerial/snappy/native/SunOS/sparcv9/libsnappyjava.so ?

I have similar error while running Apache Spark on Solaris 11 sparc server, error caused by :
org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=SunOS and os.arch=sparcv9


Organize imports should not move bare imports / side effect imports

🔎 Search Terms
"organize imports", "bare import", "side effect import"
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________

⏯ Playground Link
No response
💻 Code
import './instrument';
import {a} from  'a';
a()

🙁 Actual behavior
Organize imports moves the bare import:
import { a } from 'a';
import './instrument';
a()

🙂 Expected behavior
Organize imports should not move import './instrument';
Rationale:
This order is important because the ./instrument contains codes that must be executed before any other codes.
It is safe to assume that bare imports contains side effects, and side effects often requires an specific order of execution, so there is a good chance moving bare imports break people's code.
Additional information about the issue
No response

If you use groups, organize imports will not reorder them.
import './instrument';

import {a} from  'a';
a()

(I would also suggest using a linter with group support to enforce this sort of thing, like eslint-plugin-simple-import-sort or similar.)

Thanks, adding a comment below also prevents reordering:
import './instrument';
// ./instrument must be imported first
import {a} from  'a';
a()


How to watch multiple subreddits?

You can use the + syntax provided by the raw reddit API. Like so:
 var commentStream = client.CommentStream({
  "subreddit": "AskReddit+IAmA",
  "results": 15,
})
// [...]


restrictTo in second DOMTagger not working?

Hi,
I've written a quite complicated crawler which shows a strange behaviour. I've tried to reduce its size to make it more readable. You'll find its code attached.
The problem is the following:

If I de-activate the <restrictTo> in the 2nd DOMTagger, this Tagger enters in action and works (extracts the wanted fields), but the crawler/tagger runs on too many pages, including the non-splitted pages, which is not wanted.
If I activate the <restrictTo> in the 2nd DOMTagger, this Tagger is never run and only the common fields are extracted for each split.

I've checked the <restrictTo>'s regex millions of times, this is not the problem. But where could I be mistaken?
I would be very thankful of any help since I've been stuck on this for 2 days and I'm now convinced it's a small mistake I cannot see by myself.
ResearchPerspectives.xml.txt

You are not going crazy, that's a tricky one for sure.  It is a known problem with the library used to do this (JSoup).  When dealing with HTML, it normalizes it first.  In doing so, it sometimes does some "cleanup" on bad HTML. When dealing with fragments containing a portion of a table only, that fragment is ignored (i.e., invalid HTML).   One way around it is to tell JSoup to use an XML parser in such case.  Unfortunately, the DOMTagger does not presently support that.
There should be a new snapshot release soon with the ability to specify the parser to use.  That should fix your problem.  Stay tuned.

Try this new snapshot release which should have a solution for you.  You can add parser="xml" to your second DOMTagger (with the <restrictTo> in place):
<tagger class="com.norconex.importer.handler.tagger.impl.DOMTagger" parser="xml">
   ...

Let me know if that fixes it.

Indeed, that's a tricky one.
Woaw, what a fast answer! Thanks a lot I'll give it a try right now

That works like a charm, thanks a million times again!

Np!  Thanks for confirming.


Assertion failed is logged for all assertions

For each and every assertion I make (e.g. console.assert(foobar === true, 'foobar is not true')), I'm seeing a log message that my assertion failed even when the assertion did not fail.
You can see a perfect example of this in the screenshot where it says that true failed the assertion.

This also seems to be causing some major slowness for me. Maybe it's the large amount of logging that happening because of this (though IMHO it isn't that much logging).
Anyway, for now to get around this weird failing assertion business, I have set the assert function to an empty function console.assert = function(){};.

Fixed in 0.10.2.
Feel free to reopen this issue, if I'm wrong here.

Okay thanks! Do you think that your fix addresses the slowness issue? I haven't tested the fix yet.

Do you think that your fix addresses the slowness issue?

No, there is no fixes for slowness issue. (I need more info about this issue, if it is critical for you)

Looks like it was fixed. It was probably only due to the failing-ish-ness of the assertions.


fix(aws): Region column source

product_region_code and product_region in legacy AWS format have same meaning, but one or other is filled depending on AWS service.
Also, in CUR 2.0, just product_region_code is sent.
This PR is meant to fix those two conditions

Thanks for the fix @stoiev , could you please fix the DCO on your commit please.


[CI] Enhance CI to reduce duplicate code

changes in this PR:

make validation image use same base image file as kepler itself.
make image build support validation image.
make image daily build CI with input tag as parameter.
remove latest tag from release as it already used in daily job.
enhance release CI to reuse same action with daily job.
update SBOM file logic in release process accordingly.
enhance rpm daily build with same parameter as release build, enhance rpm build in release process will in another PR.
CI check for image and base image in PR steps.

@rootfs could you please help with PR review?


FIX: Achieve full code coverage

Description
Add changes to achieve 100% code coverage.
Type of change
Please remove options that are irrelevant.

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

[x] Check that the code has 100% coverage.

Checklist

[x] I have read the contributing guidelines
[x] I have updated the HISTORY.rst and AUTHORS.rst files
[x] Linting passes successfully : make lint
[x] Typing passes successfully : make type-check
[x] Unit tests pass successfully : make tests
[x] Coverage is 100% : make coverage
[x] Documentation builds successfully : make doc

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

Comparison is base (6d0cad4) 99.91% compared to head (f2325d2) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master      #299      +/-   ##
===========================================
+ Coverage   99.91%   100.00%   +0.08%
===========================================
  Files          28        27       -1
  Lines        3430      3408      -22
  Branches      357       355       -2
===========================================
- Hits         3427      3408      -19
+ Misses          3         0       -3

Impacted Files
Coverage Δ

mapie/tests/test_multi_label_classification.py
100.00% <100.00%> (+1.25%)
:arrow_up:

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


[10.x] Use correct format of date

Dates are formatted like YYYY-MM-DD, this PR fixes the format of 2023-1-1 to 2023-01-01.

Sure, thanks 👍


Show collateral for current market

Story
As a user
I want to see my collateral for a given market more prominently
So that I can monitor my position and make decisions around trading
Acceptance Criteria

[ ] I can see my available collateral in the deal ticket or somewhere else not hidden by default
[ ] The value subscribes to any changes

Tasks

[ ] Explore and sketch
[ ] Team and stakeholder review
[ ] Visual Design
[ ] Dev
[ ] Test

Sketch
Additional details / background info
https://vegaprotocol.slack.com/archives/C037STCKMGC/p1675181550764529?thread_ts=1675181200.687929&cid=C037STCKMGC

What about showing it in the trade header?

@neildawson @MadalinaRaicu
I'd prefer to go with the pinned row option, even if that means (for now) the row is duplicated below.
This allows the asset for the market to always at the top and super visible and you can still filter and sort and see how it compares to other assets.
In future we can iterate to enhance this by adding logic to set/unset the pinned row when filters are applied, or allow the user to manually unpin it
@barnabee chime in if you have strong opinions on this


need efficient access to taxon associated with go-cam models

I think..  what we want to do is add a taxon annotation at the model level.  This may be handled automatically based on what genes are in the model or through some other process.
This is a blocking issue for pipelining the shex validation #254 into reporting and search e.g. #228

[ ] Implement a batch update across all existing models
[ ] Add manual/automatic mechanism for adding this to new models.

Unless we want to add taxon information as model metadata, this is issue is currently resolved for Minerva using a cache populated at startup and maintained while running.


Add Global Outback (2020+) fpv2 to values.py

I cant accept this PR, as it removes existing code for other car models


Grype shows up under content analyzers column in UI under application resources view

What happened:
Grype shows up under content analyzers
What you expected to happen:
Grype is a scanner and not an SBOM/Content analyzer, therefore shouldn't be listed as an analyzer in the UI.
How to reproduce it (as minimally and precisely as possible):

Enable Trivy as a content analyzer in values.yaml, but don't add trivy as the scanner.
Install KubeClarity on EKS under kubeclarity name space
Install SockShop in the same cluster under sock-shop name space
Start runtime scan on sockshop name space
Notice that Grype appears under content analyzer/SBOM Analyzer column in Application Resources page.
This seems to be an intermittent issue that is not always observed.
We didn't observe this issue When we enabled Trivy as the content analyzer and a scanner.  Perhaps the bug involves adding trivy as the content analyzer but not a scanner. This needs to be investigated

Are there any error messages in KubeClarity logs?
(e.g. kubectl logs -n kubeclarity --selector=app=kubeclarity)
backend_pod.log
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version --short):
Helm version (use helm version):
KubeClarity version (use kubectl -n kubeclarity exec deploy/kubeclarity -- ./backend version)
KubeClarity Helm Chart version (use helm -n kubeclarity list)
Cloud provider or hardware configuration:
Others:

Screenshot of UI showing grype under content analyzers attached

Environment:

Kubernetes Version: 1.27.2
Helm version: 3.12.0
KubeClarity Helm Chat Version: 2.18.1
Cloud provider: AWS

values.yaml file:
values.txt

Solved by https://github.com/openclarity/kubeclarity/pull/455

Solved by https://github.com/openclarity/kubeclarity/pull/455


[Bug] Query TVF failed

Search before asking

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

Version
commit ce12cf404c3af67253115dd065aab1b30ec64cd8 (doris-master/master)
Author: Kang<EMAIL_ADDRESS>Date:   Wed May 17 17:18:07 2023 +0800
[bugfix](inverted index) Fix mv inheriting unexpectedly inverted index of base table (#197

What's Wrong?
sql [(none)]>select * from resource_groups();
ERROR 1105 (HY000): errCode = 2, detailMessage = [CANCELLED][THRIFT_RPC_ERROR]failed to call frontend service, reason: Internal error processing fetchSchemaTableData

What You Expected?
query succes
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Bug fixing


Error during configuration - generator didn't stop after athrow

Version of the custom_component

I can't tell as I wasn't able to set it up through integrations. I got as far as adding it via HACS but when I got to Configuration > Add > Govee and then input the api key, I got an "Unknown error".
Configuration
None. Set up via Integrations per instructions.
Add your logs here.

Describe the bug
A clear and concise description of what the bug is.
I get an "Unknown Error" when I attempt to add my API key in the configuration. I'm using Docker on ubuntu 18.04 with HA .118.5.
Debug log

Add your logs here.
Logger: custom_components.govee.config_flow
Source: custom_components/govee/config_flow.py:25
Integration: Govee LED strips (documentation, issues)
First occurred: 8:59:21 PM (1 occurrences)
Last logged: 8:59:21 PM

Unexpected exception: generator didn't stop after athrow()
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 168, in _api_request_internal
    yield response
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 151, in _api_get
    yield response
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 355, in get_devices
    for item in result["data"]["devices"]:
KeyError: 'devices'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/govee/config_flow.py", line 45, in async_step_user
    info = await validate_input(self.hass, user_input)
  File "/config/custom_components/govee/config_flow.py", line 25, in validate_input
    _, error = await hub.get_devices()
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 409, in get_devices
    err = f"API-Error {response.status}: {result}"
  File "/usr/local/lib/python3.8/contextlib.py", line 189, in __aexit__
    await self.gen.athrow(typ, value, traceback)
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 151, in _api_get
    yield response
  File "/usr/local/lib/python3.8/contextlib.py", line 190, in __aexit__
    raise RuntimeError("generator didn't stop after athrow()")
RuntimeError: generator didn't stop after athrow()

Hi, are you sure your API Key is correct?

@LaggAt I copied and pasted it directly from the email sent to me by Govee. I tried it a couple of times as well.

I got this same thing. I'm going to try a different version

I got this same thing. I'm going to try a different version

Same thing happened when I used v0.1.5.
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 169, in _api_request_internal
    yield response
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 152, in _api_get
    yield response
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 356, in get_devices
    for item in result["data"]["devices"]:
KeyError: 'devices'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/govee/config_flow.py", line 44, in async_step_user
    info = await validate_input(self.hass, user_input)
  File "/config/custom_components/govee/config_flow.py", line 24, in validate_input
    _, error = await hub.get_devices()
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 410, in get_devices
    err = f"API-Error {response.status}: {result}"
  File "/usr/local/lib/python3.8/contextlib.py", line 189, in __aexit__
    await self.gen.athrow(typ, value, traceback)
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 152, in _api_get
    yield response
  File "/usr/local/lib/python3.8/contextlib.py", line 190, in __aexit__
    raise RuntimeError("generator didn't stop after athrow()")
RuntimeError: generator didn't stop after athrow()

Same thing happened when I used v0.1.5.
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 169, in _api_request_internal
    yield response
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 152, in _api_get
    yield response
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 356, in get_devices
    for item in result["data"]["devices"]:
KeyError: 'devices'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/govee/config_flow.py", line 44, in async_step_user
    info = await validate_input(self.hass, user_input)
  File "/config/custom_components/govee/config_flow.py", line 24, in validate_input
    _, error = await hub.get_devices()
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 410, in get_devices
    err = f"API-Error {response.status}: {result}"
  File "/usr/local/lib/python3.8/contextlib.py", line 189, in __aexit__
    await self.gen.athrow(typ, value, traceback)
  File "/usr/local/lib/python3.8/site-packages/govee_api_laggat/govee_api_laggat.py", line 152, in _api_get
    yield response
  File "/usr/local/lib/python3.8/contextlib.py", line 190, in __aexit__
    raise RuntimeError("generator didn't stop after athrow()")
RuntimeError: generator didn't stop after athrow()

I'm getting the exact same error. Running in a docker home-assistant docker container on a rapsberry pi 4.

I'm getting the exact same error. Running in a docker home-assistant docker container on a rapsberry pi 4.

I'm getting the exact same "unknown error" with the same Log  as above.
Trying to connect a configured and working Govee Strip H6181

i am getting this error too

I think it's the Govee api key, something that Govee will have to fix possibly

think the library hides the correct error, which is addressed here:
https://github.com/LaggAt/python-govee-api/tree/bug/%237_eror_during_configuration
I expect that to be an useful information now, maybe some api stuff, so I'll close here.
Please await the release of the integration before reopening :) Thanks.


logo - update logo.dialogware.com, upload files, config template

https://logo.dialogware.com/ updated


Not working properly

Describe the bug
Again and again i am writing the issue and showing me same results...damm sick of it...is this the way to forcefully upgrade your plan? my all tokens are expired.

*
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-lttvar
Steps to reproduce

look at my screenshots
you will find the error

Expected behavior
not solving the problem...damm i am sick of it,  all tokens are expired what am i suppose to do.
Screen Recording / Screenshot

Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 126
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS>
performance.memory = {
  "totalJSHeapSize": 53667860,
  "usedJSHeapSize": 49376204,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = abhixx69
Chat ID = 8d99a6670bb7

Additional context
fix this...or give me a free plan

Please checkout the tips in #678


Getting a "deceptive site ahead" error when trying to download zip release

As a chrome user i get the following error message when clicking on the download link:

Chrome reports these details: "Google Safe Browsing recently detected phishing on github-production-release-asset-2e65be.s3.amazonaws.com. Phishing sites pretend to be other websites to trick you."

Apparently, this a problem with GitHub. I can't do anything. :/
Thanks for letting me know about that.

I already contacted github and they resolved the issue.


Example RMarkdown/Shiny/Flexdashboard notebook

This is the code for a quick example showing some basic interactivity in a notebook style. Things to note:

The live version is at https://stats.eng.ansible.com/apps/SanDiego/
This is still a notebook - it has mixed text and code blocks. I have chosen to hide the code from the compiled report, but that is optional.
The language is RMarkdown, and my code is in R. However, it is possible to use Python in an RMarkdown notebook.
The interactivity is handled by shiny and thus requires some form of hosting - for now this is on my Ansible stats server
The db query isn't super fast, so be patient with it - it didn't seem worth the effort of adding spinners for a demo :)

I will do a second example in pure Shiny soon - the tradeoff is more UI flexibility, but it's not a notebook format anymore then.

@GregSutcliffe How long do you need to wait for it load? Ive been waiting for 5ish minutes and have not gotten it to work


Sc-6406: implement BFF login endpoint

Scope of changes
Sc-6406: implement BFF login endpoint
Type of change

[ ] bug fix
[x] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria
After user login, POST to the BFF login endpoint as described in the story sc-6406
Author checklist

[ ] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[ ]  I have recompiled and included new protocol buffers to reflect changes I made
[ ]  I have added new test fixtures as needed to support added tests
[x]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[x]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

Codecov Report

Merging #592 (58d1165) into main (b377917) will decrease coverage by 7.93%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #592      +/-   ##
==========================================
- Coverage   45.92%   37.98%   -7.94%
==========================================
  Files         510      154     -356
  Lines       14675     2427   -12248
  Branches     1171      614     -557
==========================================
- Hits         6740      922    -5818
+ Misses       6913     1329    -5584
+ Partials     1022      176     -846

Impacted Files
Coverage Δ

...eb/gds-user-ui/src/components/StatusCard/index.tsx

...eb/gds-user-ui/src/modules/auth/callback/index.tsx

web/gds-user-ui/src/modules/auth/login/index.tsx

...s-user-ui/src/modules/dashboard/overview/index.tsx

web/gds-user-ui/src/utils/axios.ts

...ds-user-ui/src/components/Icon/TrisaNetworkSvg.tsx

...-user-ui/src/components/ContentLoader/Overview.tsx

...user-ui/src/components/Section/AboutUs.stories.tsx

...i/src/modules/auth/register/register.validation.ts

...ui/src/components/TrixoQuestionnaireForm/index.tsx

... and 346 more

Continue to review full report at Codecov.

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


HLS-LL: Identify where low latency can be reduced from HLS pipeline (internal processes)

Description
A near real time HLS product from SNWG Cycle 4 solution recently passed budget appropriations. This involves producing HLS data at a much lower latency (4-6 hr) compared to existing HLS products (2-4 days). A critical step in HLS processing that prevents faster data production is the atmospheric correction step which depends on ancillary data from external sources. However, it may be possible to reduce latency from internal HLS processing, therefore, we need to investigate ways to reduce latency internally (e.g., SPOT market interruptions).
Acceptance Criteria

[ ]

I'm probably missing some existing tickets or new opportunities for lowering our internal processing latency, but some that come to mind,

Reduce latency by switching from a scheduled to an event driven method for fetching Sentinel-2 scenes (once per 24 hours to ~2-5 minutes after imagery is released)

Original ticket, https://github.com/NASA-IMPACT/hls_development/issues/291
Design review ticket, https://github.com/NASA-IMPACT/hls_development/issues/300

Reduce latency for granules that fail processing because of EC2 SPOT market interruptions

https://github.com/NASA-IMPACT/hls-orchestration/issues/212

[Research phase] Reduce latency by eliminating atmospheric ancillary data requirement by switching to a machine learning based atmospheric correction

https://github.com/NASA-IMPACT/hls_development/issues/188
https://github.com/NASA-IMPACT/hls_development/issues/311

I can't edit the original ticket description but feel free to incorporate this, edit it, or add to this in new comments!


No module named "osc_ingest_trino" error

Describe the bug
ModuleNotFoundError: No module named 'osc_ingest_trino'
To Reproduce
Run the notebook, create_table
Expected behavior
Run without error
Screenshots

If you haven't sorted this yet, the fix is to pip install osc-ingest-tools.  Then you can load the library.  How you manage your requirements.txt to provide for this (or other mechanisms for doing so) is up to you!
https://pypi.org/project/osc-ingest-tools/


macro_rules in Impl Block do not resolved correctly

The _hello in the following code do not work:
fn main() {
    macro_rules! inner {
        () => {"hello"}
    }

    let _hello = inner!();  // _hello not resolved
}

I think we didn't handle macro_rules in impl block yet ?
Related code:
https://github.com/rust-analyzer/rust-analyzer/blob/38f2bd21fbecf1c997a4ab9a8913e8b5487088e3/crates/ra_hir/src/impl_block.rs#L251-L280

Oh, seem like we didn't handle simple struct def in impl_block too :

fn main() {
    struct A {}

    let _a = A{};  // a => {unknown}
}

We don't resolve function local defs yet. If you pull the definitions out of main it should with better.


HDDS-2799. beyond/DockerCheatSheet.md translation

What changes were proposed in this pull request?
doc
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2799
How was this patch tested?
hugo server -D

/retest

Thanks @iamabug the translation and @smengcl the review. I am merging it to the master.


Cannot manage the Obsidian.md app

For over a week, the app Obsidian cannot be tilled with yabai. I was able to change its opacity and other properties, but was unable to tile it. I also tried to explicitly add a rule to manage it, with no luck.
yabai -m rule --add app="^Obsidian$" sticky=off opacity=1 manage=on
# manage=tile did not work
#sticky=off neither

I cannot perform any actions related to tilling as well: throw focused window to space, etc.
The app is a dock application. App is on version 1.5.3

Output of yabai -m query --windows ?

Ok so based on the output, the reason why it won't tile is 1: "is-native-fullscreen":true.
Second observation is "can-move":false which means in practice that the window is not allowed to be moved through the macOS accessibility API. If you make sure that the window is not in native fullscreen (macOS fullscreen mode), the folling rule will force it to bypass the can-move verification check, but the API can still freely decline the request to move the window.
yabai -m rule --add app="^Obsidian$" manage=on

I don't know what happened, but I will say for future readers: There were certain apps that had this issue smometimes, but this seems to have been fixed in one of the recent updates.


Global configuration

Would like to disable TUI for all commands.
Not sure if process-compose supports it, maybe it's worth to implement special tool as a replacement to process-compose.

This PR added an option to disable TUI for all services, using process-compose.tui = false;

This PR added an option to disable TUI for all services, using process-compose.tui = false;

This is per-group property, I meant global

There is an env var for that
https://github.com/F1bonacc1/process-compose/commit/757937fbda54c41281b6d7737f9b84f342fc0f09#diff-27b7e7ca994735ab05cd957631bb724f0145e54090994a56f13b47f6d07b7b30R56


Windows 10 doesn't recognize commands to launch CTT

Describe the bug
I have the same issue on two windows, one pc and one laptop, both are updated
To Reproduce
I tried to use on powershell as a user and  admin, both has same response
iwr -useb https://christitus.com/win | iex
Expected behavior
Should launch CTT application
Additional context
"iwr" is not recognized as an internal or external command, executable program or batch file.
Also tried with curl command but needs an authentication data

Might be a really old version of powershell or are using the powershell app and not the system powershell.
Are you launching from right clicking start button and launch powershell with admin?

iwr -useb https://christitus.com/win | iex

Dear Chris please accept my apologies, I didn't know that windows has another terminal called powershell, thanks for your valuable work.

No worries! Microsoft logic is completely ridiculous sometimes...
Not the first time they named something the exact same with two different use cases lol.


Unable to Get Local issuer Certificate

VSCode Version: 1.5.1
OS Version: Windows 7

Steps to Reproduce:

Set up Team Foundation Server with Git
Manage repos using Git in VSCode

This has always worked, but today whenever I open VSCode I get this message:

Error:  unable to get local issuer certificate

And when I try syncing any of my repos:

Error: Authentication failed on the git remote.

I tried running git config --global credential.helper wincred but this does nothing.
My config file:
[credential]
	helper = store

I am still able to use git perfectly with Visual Studio 2015 (with the same TFS server)

What steps can I take to find the problem?

Code just spawns git as if from the command line. So, make sure you can run git fetch from the command line and it works. If it doesn't please reach out to the TFS support.


Fixed padding of 12

Hi
There is fixed padding for CustomerToggleButton of 12 on all sides. In my cases, this is making a problem for my design. It would be great if this padding can be removed, or can be set through constructor. It will add great options for design.

Hi,
Thanks for putting this forth. I'll put this in the list of changes to make.


Get oracle prices from the graph

Resolves https://sovryn.monday.com/boards/2218344956/pulses/3108103076 and https://sovryn.atlassian.net/browse/SOV-429

Should be merged only after we hide perps.

This will be deployed in https://sovryn.atlassian.net/browse/SOV-476 so I am closing the PR.


[DO NOT MERGE]Feature/workspace parameters ci

Description

Issues Resolved

Screenshot

Testing the changes

Check List

[ ] All tests pass

[ ] yarn test:jest
[ ] yarn test:jest_integration

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[ ] Update CHANGELOG.md
[ ] Commits are signed per the DCO using --signoff

Codecov Report
Attention: Patch coverage is 53.84615% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 55.75%. Comparing base (766b876) to head (9a1a690).

Files
Patch %
Lines

src/core/server/saved_objects/routes/import.ts
0.00%
3 Missing :warning:

...rver/saved_objects/routes/resolve_import_errors.ts
0.00%
3 Missing :warning:

...rc/core/server/saved_objects/routes/bulk_create.ts
0.00%
2 Missing :warning:

src/core/server/saved_objects/routes/create.ts
0.00%
2 Missing :warning:

...ore/server/saved_objects/service/lib/repository.ts
71.42%
0 Missing and 2 partials :warning:

...ved_objects/service/lib/search_dsl/query_params.ts
66.66%
1 Missing and 1 partial :warning:

...ed_objects/export/get_sorted_objects_for_export.ts
0.00%
0 Missing and 1 partial :warning:

...erver/saved_objects/import/import_saved_objects.ts
0.00%
0 Missing and 1 partial :warning:

src/core/server/saved_objects/routes/export.ts
0.00%
1 Missing :warning:

src/core/server/saved_objects/routes/find.ts
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##           main-ci     #270       +/-   ##
============================================
- Coverage    66.92%   55.75%   -11.17%
============================================
  Files         2599     2249      -350
  Lines        48930    41914     -7016
  Branches      8799     7397     -1402
============================================
- Hits         32744    23370     -9374
- Misses       14041    17139     +3098
+ Partials      2145     1405      -740

Flag
Coverage Δ

Linux_2
55.07% <53.84%> (-0.01%)
:arrow_down:

Linux_3
?

Linux_4
35.17% <0.00%> (-0.03%)
:arrow_down:

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

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


Type mismatch for FnDefStruct

Running Kani on harnesses in the s2n-quic-transport crate in this branch of s2n-quic results in a CBMC error:
: function call: parameter "_RINvNtCshBEb14mhtvp_4core3cmp6max_byjNvYjNtB2_3Ord3cmpECsPu7NGxNZ36_5tokio::1::var_3::compare" type mismatch:
got struct_tag
  * identifier: tag-_RNvXsR_NtNtCshBEb14mhtvp_4core3cmp5implsjNtB7_3Ord3cmpCs3J42wHhXxpW_18s2n_quic_transport::FnDefStruct
expected struct_tag
  * identifier: tag-_RNvXsR_NtNtCshBEb14mhtvp_4core3cmp5implsjNtB7_3Ord3cmpCsPu7NGxNZ36_5tokio::FnDefStruct

Trying to come up with a minimal reproducer to attach to this issue.

I believe I'm hitting the same issue when trying to run the tokio tests in Kani.

Strangely, demangling the two names using rustfilt -h, I get tag-<usize as core[cd150e9e29982b29]::cmp::Ord>::cmp::FnDefStruct for both.

They might be the same underlying type, but it seems their struct tags (the names of the symbols that have the actual type information in the symbol table) are different.

The error can be reproduced on the attached tarball with the following steps:

tar xvzf foo.tar.gz
cd foo
cargo kani --harness main

Checking harness main...
CBMC 5.63.0 (cbmc-5.63.0)
CBMC version 5.63.0 (cbmc-5.63.0) 64-bit x86_64 linux
Reading GOTO program from file /home/ubuntu/tmp/foo/target/x86_64-unknown-linux-gnu/debug/deps/cbmc-for-main.out
Generating GOTO Program
Adding CPROVER library (x86_64)
Removal of function pointers and virtual functions
Generic Property Instrumentation
Running with 16 object bits, 48 offset bits (user-specified)
Starting Bounded Model Checking
: function call: parameter "_RINvNtCshBEb14mhtvp_4core3cmp6max_byjNvYjNtB2_3Ord3cmpECs4oZXxRZAdit_5bytes::1::var_3::compare" type mismatch:
got struct_tag
  * identifier: tag-_RNvXsR_NtNtCshBEb14mhtvp_4core3cmp5implsjNtB7_3Ord3cmpCs64sXxVJzpr7_3foo::FnDefStruct
expected struct_tag
  * identifier: tag-_RNvXsR_NtNtCshBEb14mhtvp_4core3cmp5implsjNtB7_3Ord3cmpCs4oZXxRZAdit_5bytes::FnDefStruct
Verification Time: 2.3077645s

with b0aeb2bcd53
foo.tar.gz

The error can be reproduced with 131c07348f360de2a2ac8157923dc2ddbb77dfb7, but not with the next commit: 632fda645364790ada91b5e9980731638c7fc8b7, so looks like something in that commit fixed the issue. @celinval any idea what may have fixed this error in that commit?

Have you compared the MIR that is generated in each commit? My first guess is that something has changed in the compiler but it could also be some obscure issue with our trait handling. Don't know.

This can no longer be reproduced since 632fda645364790ada91b5e9980731638c7fc8b7. Closing.

Reopening: this issue can again be reproduced with af6c93eb745 using the following steps:

git clone https://github.com/aws/s2n-quic
cd s2n-quic/quic/s2n-quic-core
git checkout ae29a32660741b4926d557920fa852a313aa4f86
cargo kani --tests --harness eight_byte_sequence_test

This produces:
Unwinding loop _RNvMs3_NtCshwRV6iS787W_4core3fmtNtB5_9Arguments6as_strCscMpydEzG0lq_13s2n_quic_core.0 iteration 1 file /home/ubuntu/.rustup/toolchains/nightly-2022-09-13-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/fmt/mod.rs line 519 column 19 function std::fmt::Arguments::as_str thread 0
: function call: parameter "_RINvMNtCshwRV6iS787W_4core6optionINtB3_6OptionReE11map_or_elseNtNtCsbTLSx9MNYye_5alloc6string6StringNCNvNtB12_3fmt6format0NvYeNtNtB12_6borrow7ToOwned8to_ownedECs3ViRrCGVxbG_9yaml_rust::1::var_3::f" type mismatch:
got struct_tag
  * identifier: tag-_RNvXs2_NtCsbTLSx9MNYye_5alloc3streNtNtB7_6borrow7ToOwned8to_ownedCscMpydEzG0lq_13s2n_quic_core::FnDefStruct
expected struct_tag
  * identifier: tag-_RNvXs2_NtCsbTLSx9MNYye_5alloc3streNtNtB7_6borrow7ToOwned8to_ownedCs3ViRrCGVxbG_9yaml_rust::FnDefStruct

CBMC failed with status 6
VERIFICATION:- FAILED

Related? #1257


Minimap modifiable dots

This plugin will allow you to modify the following minimap dots:

Item
NPC
Player
Friend
Team
Clan

Changed to create new SpritePixels rather than modifying loaded ones.
Depends on #588 to pick the right constructor