Discover won't find my devices anymore

This is an issue I've been experiencing consistently for 1-2 months after a firmware upgrade.
I have two WeMo devices both running the latest firmware according to the app (WeMo_WW_2.00.11401.PVT-OWRT-SNS), and both can't be discovered anymore neither through the Python API nor wemo list directly.
Example output of wemo -d list (note: my devices are on IP addresses <IP_ADDRESS> and <IP_ADDRESS> but neither of them appears in the output):
DEBUG:ouimeaux.discovery:Binding datagram server to <IP_ADDRESS>:54321
INFO:ouimeaux.environment:Discovering devices
DEBUG:ouimeaux.discovery:Broadcasting M-SEARCH to <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:53503
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:53503
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Broadcasting M-SEARCH to <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:52225
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:58246
DEBUG:ouimeaux.discovery:Broadcasting M-SEARCH to <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:35703
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:57998
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:60120
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:60241
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:57998
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:60241
DEBUG:ouimeaux.discovery:Broadcasting M-SEARCH to <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:39442
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:47434
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:47740
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:39442
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Broadcasting M-SEARCH to <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43546
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:58067
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:59828
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:43970
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:58067
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900
DEBUG:ouimeaux.discovery:Received a response from <IP_ADDRESS>:1900

What I have tried already:

Tested the command above from at least 3 different computers with the latest GitHub version of ouimeaux

Made sure that both my devices and my computer are on the same WiFi network

Switched off my VPN

Explicitly bound ouimeaux to my wlan interface IP address

Increased discovery timeout to up to one minute

None of these options worked, so I guess that something must definitely be broken on ouimeaux/switch sides but I can't figure out what.

Any hints on how to investigate what's not working and why the client doesn't receive M_SEARCH replies from the switches?

Any way to implement a workaround that allows users to skip discovery and directly connect to the devices via IP address? (it would make things lots faster, btw)

i'm getting the same issue, Have you made any progress?

This has to be firmware-related because another third party program I use to control Wemo switches stopped working as well. I hope it's a trivial fix.

Is anyone still maintaining this project, or at least anyone who can fix such a critical issue caused by a firmware upgrade?
For now I've fixed the issue by simply replacing my WeMo plugs with TpLink plugs, as they provide a way better maintained Python library, they provide more functionalities and they're also cheaper.
I can't believe that an expensive smart plug like WeMo offers such scarce features compared to others on the market and such unmainteined development tools. I'd advice everyone to avoid them, there are way better alternatives around nowadays.

I found a bash script that works very reliably from a Windows command line but you have to activate the Linux subsystem in Windows 10 and install Ubuntu which is no biggy. Instructions here: https://itsfoss.com/install-bash-on-windows/ Only caveat is you have to direct commands to a Wemo switch's specific IP address so IP reservation is a must.
Usage is:
./wemo_control IP_ADDRESS ON/OFF/GETSTATE/GETSIGNALSTRENGTH/GETFRIENDLYNAME
My Windows .bat file looks like this:
ubuntu run /mnt/c/Users/Dennis/Documents/wemo_control.sh <IP_ADDRESS> OFF
wemo_control.sh is attached in a zip file. Hope this helps!
wemo_control.zip

@replayreb  Thanks for this script, this was exactly what I was looking for, I don't even need python now!

Anytime!


Waymo Evaluation Error - gt.bin returned non-zero exit status 127.

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help. YES
The bug has not been fixed in the latest version. YES

Describe the bug
I met problems when evaluating model performance on Waymo dataset. It seems that the detection results have been successfully and converted into the right format, but raise error when calling "waymo_format/gt.bin".
The nearby log is
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 202/202, 0.2 task/s, elapsed: 1071s, ETA:     0s

Finished ...
/bin/sh: 1: mmdet3d/core/evaluation/waymo_utils/compute_detection_metrics_main: not found
Traceback (most recent call last):
  File "./tools/test.py", line 250, in <module>
    main()
  File "./tools/test.py", line 246, in main
    print(dataset.evaluate(outputs, **eval_kwargs))
  File "/home/lthpc/codes/PointDistiller-Private/mmdet3d/datasets/waymo_dataset.py", line 302, in evaluate
    shell=True)
  File "/home/lthpc/anaconda3/envs/sg-point-distiller/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/home/lthpc/anaconda3/envs/sg-point-distiller/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'mmdet3d/core/evaluation/waymo_utils/compute_detection_metrics_main results/waymo-car/kitti_results.bin data/waymo/waymo_format/gt.bin' returned non-zero exit status 127.
terminate called after throwing an instance of 'std::runtime_error'
  what():  NCCL error in: /pytorch/torch/lib/c10d/../c10d/NCCLUtils.hpp:158, unhandled cuda error, NCCL version 2.7.8
ncclUnhandledCudaError: Call to CUDA function failed.
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: -6) local_rank: 0 (pid: 28179) of binary: /home/lthpc/anaconda3/envs/sg-point-distiller/bin/python
ERROR:torch.distributed.elastic.agent.server.local_elastic_agent:[default] Worker group failed
INFO:torch.distributed.elastic.agent.server.api:[default] Worker group FAILED. 3/3 attempts left; will restart worker group
INFO:torch.distributed.elastic.agent.server.api:[default] Stopping worker group
INFO:torch.distributed.elastic.agent.server.api:[default] Rendezvous'ing worker group
INFO:torch.distributed.elastic.agent.server.api:[default] Rendezvous complete for workers. Result:
  restart_count=1
  master_addr=<IP_ADDRESS>
  master_port=29500
  group_rank=0
  group_world_size=1
  local_ranks=[0, 1, 2, 3, 4, 5, 6, 7]
  role_ranks=[0, 1, 2, 3, 4, 5, 6, 7]
  global_ranks=[0, 1, 2, 3, 4, 5, 6, 7]
  role_world_sizes=[8, 8, 8, 8, 8, 8, 8, 8]
  global_world_sizes=[8, 8, 8, 8, 8, 8, 8, 8]

INFO:torch.distributed.elastic.agent.server.api:[default] Starting worker group
INFO:torch.distributed.elastic.multiprocessing:Setting worker0 reply file to: /tmp/torchelastic_ceun4kir/none_qy6sngbz/attempt_1/0/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker1 reply file to: /tmp/torchelastic_ceun4kir/none_qy6sngbz/attempt_1/1/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker2 reply file to: /tmp/torchelastic_ceun4kir/none_qy6sngbz/attempt_1/2/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker3 reply file to: /tmp/torchelastic_ceun4kir/none_qy6sngbz/attempt_1/3/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker4 reply file to: /tmp/torchelastic_ceun4kir/none_qy6sngbz/attempt_1/4/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker5 reply file to: /tmp/torchelastic_ceun4kir/none_qy6sngbz/attempt_1/5/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker6 reply file to: /tmp/torchelastic_ceun4kir/none_qy6sngbz/attempt_1/6/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker7 reply file to: /tmp/torchelastic_ceun4kir/none_qy6sngbz/attempt_1/7/error.json

Reproduction

What command or script did you run?

./tools/dist_test.sh configs/pointpillars/hv_pointpillars_secfpn_sbn_2x16_2x_waymoD5-3d-3class.py pretrain/hv_pointpillars_secfpn_sbn_2x16_2x_waymoD5-3d-3class_20200831_204144-d1a706b1.pth 8  --eval waymo --eval-options 'pklfile_prefix=results/waymo-car/kitti_results'     'submission_prefix=results/waymo-car/kitti_results'

Did you make any modifications on the code or config? Did you understand what you have modified?
No change.

What dataset did you use?
Waymo.

Environment

Please run python mmdet3d/utils/collect_env.py to collect necessary environment information and paste it here.

sys.platform: linux
Python: 3.7.6 (default, Jan  8 2020, 19:59:22) [GCC 7.3.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: GeForce RTX 2080 Ti
CUDA_HOME: /usr/local/cuda-11.1
NVCC: Build cuda_11.1.TC455_06.29069683_0
GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
PyTorch: 1.9.0+cu111
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.1.2 (Git Hash 98be7e8afa711dc9b66c8ff3504129cb82013cdb)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 11.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86
CuDNN 8.0.5
Magma 2.5.2
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.1, CUDNN_VERSION=8.0.5, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.9.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.10.0+cu111
OpenCV: 4.5.5
MMCV: 1.4.8
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.1

You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source]
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

PyTorch is installed by pip. Note that experiments on the other datasets such as KITTI and nuScenes can be successfully run. Training on Waymo also has no errors.
Error traceback
If applicable, paste the error trackback here.
Please refer to the attachment.
error_log.txt
Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

Please compile the file compute_detection_metrics_main as presented in the documentation.

Hey everyone :)
actually this link does not exist anymore which is the one given in the docs here to install compute_detection_metrics_main. Any suggestsions?

Hey everyone :) actually this link does not exist anymore which is the one given in the docs here to install compute_detection_metrics_main. Any suggestsions?
EDIT: information now here
In case url changes again:
# download the code and enter the base directory
git clone https://github.com/waymo-research/waymo-open-dataset.git waymo-od
# git clone https://github.com/Abyssaledge/waymo-open-dataset-master waymo-od # if you want to use faster multi-thread version.
cd waymo-od
git checkout remotes/origin/master

# use the Bazel build system
sudo apt-get install --assume-yes pkg-config zip g++ zlib1g-dev unzip python3 python3-pip
BAZEL_VERSION=3.1.0
wget https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
sudo bash bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
sudo apt install build-essential

# configure .bazelrc
./configure.sh
# delete previous bazel outputs and reset internal caches
bazel clean

bazel build waymo_open_dataset/metrics/tools/compute_detection_metrics_main
cp bazel-bin/waymo_open_dataset/metrics/tools/compute_detection_metrics_main ../mmdetection3d/mmdet3d/evaluation/functional/waymo_utils/

Where is the file "configure.sh"?

Ah true sorry! For me it worked without the ./configure.sh, also did not find it...

@ddcrseven  Did you find  the file ./configure.sh  ?


Backticks in database name not supported

An equivalent function to handle_backticks_nodes_relationship_id_type for database names
e.g. handle_backticks_database_name
would be useful.
This is a limitation of langchain-neo4j and a pain given it's not a quick action to rename Neo4j databases
https://github.com/langchain-ai/langchain-neo4j/issues/22

Hi @michela,
We attempted to replicate the problem using a Neo4j database with a hyphen in its name (e.g., major-minor) and tried connecting to it using the langchain-neo4j library with the parameters you mentioned. However, we were unable to reproduce the issue on our end; the connection worked as expected.
Here are a few things to double-check on your side:

Database Name: Is it "major-minor" or any other special character/symbol included?
Library Version: 0.1.1

If the issue persists, could you provide more details such as:
• The langchain-neo4j versions you’re using.
• The full error message (if any) you’re encountering.
• Any additional steps or configurations in your setup.
This will help us investigate further and pinpoint the root cause.
Looking forward to your response.

This seems to work fine now. Might have been operator error. Thanks!


KIE forms jBPM integration:

Adding missing module

This fixes a CDI issue rendering process / tasks forms

+1


🏷 Set Fault type to integer

Closes #21
Also set the latest version in README (1.4).

@ewildgoose Would you able to merge this and create a release ? I am ok to help, but I don't know how.

Hi, merged
Apologies for not going it sooner. There might be something wrong with how I have the alerts setup in github, I get notifications for other repositories, but only "some" for this repo!?
I can create a new release when I return from travelling, however, it might be more than 1 week.

That would be perfect, thanks !

Hi @ewildgoose , thank you for the merge !
Is there a way I may help you for releasing the package to hex ? I can't see a new version here.

Done!
Sorry for the slow update, have been travelling.

Thanks !


Python3 high cpu usage and error

[2024-05-20 10:56:59] [INFO    ] [viseron.components] - Setup of component darknet took 0.2 seconds
[2024-05-20 10:56:59] [INFO    ] [viseron.components] - Setting up domain camera for component ffmpeg with identifier camera_1
[2024-05-20 10:56:59] [INFO    ] [viseron.components] - Setting up domain object_detector for component darknet with identifier camera_1
[2024-05-20 10:56:59] [INFO    ] [viseron.components] - Setting up domain nvr for component nvr with identifier camera_1
[2024-05-20 10:56:59] [INFO    ] [viseron.components] - Setup of domain camera for component ffmpeg with identifier camera_1 took 0.2 seconds
[2024-05-20 10:56:59] [WARNING ] [viseron.components.darknet.object_detector.camera_1] - scan_on_motion_only is enabled but no motion detector is configured. Disabling scan_on_motion_only
[2024-05-20 10:56:59] [INFO    ] [viseron.components] - Setup of domain object_detector for component darknet with identifier camera_1 took 0.0 seconds
[2024-05-20 10:56:59] [INFO    ] [viseron.components.nvr.nvr.camera_1] - Motion detector is disabled
[2024-05-20 10:56:59] [INFO    ] [viseron.components.nvr.nvr.camera_1] - NVR for camera varshpc initialized
[2024-05-20 10:56:59] [INFO    ] [viseron.components] - Setup of domain nvr for component nvr with identifier camera_1 took 0.0 seconds
[2024-05-20 10:56:59] [INFO    ] [viseron.core] - Viseron initialized in 1.0 seconds
[<EMAIL_ADDRESS>global /tmp/opencv/modules/core/src/utils/filesystem.cpp (489) getCacheDirectory Using world accessible cache directory. This may be not secure: /var/tmp/
[2024-05-20 10:57:04] [ERROR   ] [viseron.components.nvr.nvr.camera_1] - Failed to retrieve result for object_detector
[2024-05-20 11:02:19] [INFO    ] [viseron.core] - Initiating shutdown
[2024-05-20 11:02:19] [INFO    ] [viseron.components.nvr.nvr.camera_1] - Stopping NVR thread
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[2024-05-20 11:02:22] [INFO    ] [viseron.core] - Shutdown complete
[viseron-finish] Viseron exit code 0
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...
usermod: no changes
************************ UID/GID *************************
User uid:    2
User gid:    2
************************** Done **************************
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-gid-video-device: executing...
[cont-init.d] 20-gid-video-device: exited 0.
[cont-init.d] 30-edgetpu-permission: executing...
************** Setting EdgeTPU permissions ***************
Coral Vendor IDs:
"1a6e"
"18d1"
No EdgeTPU USB device was found
No EdgeTPU PCI device was found
************************** Done **************************
[cont-init.d] 30-edgetpu-permission: exited 0.
[cont-init.d] 40-set-env-vars: executing...
****** Checking for hardware acceleration platforms ******
OpenCL is available!
VA-API cannot be used
CUDA cannot be used
*********************** Done *****************************
[cont-init.d] 40-set-env-vars: exited 0.
[cont-init.d] 50-check-if-rpi: executing...
********** Checking if we are running on an RPi **********
Not running on any supported RPi
*********************** Done *****************************
[cont-init.d] 50-check-if-rpi: exited 0.
[cont-init.d] 55-check-if-jetson: executing...
****** Checking if we are running on a Jetson Board ******
Not running on any supported Jetson board
*********************** Done *****************************
[cont-init.d] 55-check-if-jetson: exited 0.
[cont-init.d] 60-ffmpeg-path: executing...
****************** Getting FFmpeg path *******************
FFmpeg path: /home/abc/bin/ffmpeg
*********************** Done *****************************
[cont-init.d] 60-ffmpeg-path: exited 0.
[cont-init.d] 70-gstreamer-path: executing...
***************** Getting GStreamer path *****************
GStreamer path: /usr/bin/gst-launch-1.0
*********************** Done *****************************
[cont-init.d] 70-gstreamer-path: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2024-05-20 11:02:27] [INFO    ] [viseron.core] - -------------------------------------------
[2024-05-20 11:02:27] [INFO    ] [viseron.core] - Initializing Viseron
[2024-05-20 11:02:27] [INFO    ] [viseron.components] - Setting up component data_stream
[2024-05-20 11:02:27] [INFO    ] [viseron.components] - Setup of component data_stream took 0.0 seconds
[2024-05-20 11:02:27] [INFO    ] [viseron.components] - Setting up component webserver
[2024-05-20 11:02:27] [INFO    ] [viseron.components] - Setup of component webserver took 0.0 seconds
[2024-05-20 11:02:27] [INFO    ] [viseron.components] - Setting up component darknet
[2024-05-20 11:02:27] [INFO    ] [viseron.components] - Setting up component ffmpeg
[2024-05-20 11:02:27] [INFO    ] [viseron.components] - Setting up component nvr
[2024-05-20 11:02:27] [INFO    ] [viseron.components] - Setup of component nvr took 0.0 seconds
[2024-05-20 11:02:27] [INFO    ] [viseron.components] - Setup of component ffmpeg took 0.0 seconds
[2024-05-20 11:02:28] [INFO    ] [viseron.components] - Setup of component darknet took 0.1 seconds
[2024-05-20 11:02:28] [INFO    ] [viseron.components] - Setting up domain camera for component ffmpeg with identifier camera_1
[2024-05-20 11:02:28] [INFO    ] [viseron.components] - Setting up domain object_detector for component darknet with identifier camera_1
[2024-05-20 11:02:28] [INFO    ] [viseron.components] - Setting up domain nvr for component nvr with identifier camera_1
[2024-05-20 11:02:28] [INFO    ] [viseron.components] - Setup of domain camera for component ffmpeg with identifier camera_1 took 0.2 seconds
[2024-05-20 11:02:28] [WARNING ] [viseron.components.darknet.object_detector.camera_1] - scan_on_motion_only is enabled but no motion detector is configured. Disabling scan_on_motion_only
[2024-05-20 11:02:28] [INFO    ] [viseron.components] - Setup of domain object_detector for component darknet with identifier camera_1 took 0.0 seconds
[2024-05-20 11:02:28] [INFO    ] [viseron.components.nvr.nvr.camera_1] - Motion detector is disabled
[2024-05-20 11:02:28] [INFO    ] [viseron.components.nvr.nvr.camera_1] - NVR for camera varshpc initialized
[2024-05-20 11:02:28] [INFO    ] [viseron.components] - Setup of domain nvr for component nvr with identifier camera_1 took 0.0 seconds
[2024-05-20 11:02:28] [INFO    ] [viseron.core] - Viseron initialized in 0.9 seconds
[<EMAIL_ADDRESS>global /tmp/opencv/modules/core/src/utils/filesystem.cpp (489) getCacheDirectory Using world accessible cache directory. This may be not secure: /var/tmp/
[2024-05-20 11:02:33] [ERROR   ] [viseron.components.nvr.nvr.camera_1] - Failed to retrieve result for object_detector
What is viseron.components.nvr.nvr.camera_1] - Failed to retrieve result for object_detector and how to resolve it?

I've added motion detector, but still have error with object_detector
mog2:
motion_detector:
cameras:
camera_one:
detect_shadows: false
fps: 1
trigger_recorder: false
threshold: 40

When running darknet on the CPU, it can take quite some time for it to initialize the first time.
The "Failed to retrieve result..." error occurs since the initialization is blocking inference.
If you let it sit for a minute or two after restarting Viseron, does it work then?


Add support for typescript

I tried to use this with Typescript, but realized it only watches for **/*..js, and thus, it was not possible to auto-install packages from Typescript (.ts) files. Also, the two variants of detective used do not support typescript.
I added a new argument, --includes, which sets the glob pattern that should be watched. I also added a --typescript argument, which allows us to use detective-typescript to parse the files.
I also added the proper documentation for those new options, and a new segment to the "watchers initialized" informing the path being watched.

I added the WIP: flag 'cause I noticed that we need detective-typescript for this to work.
I'll add a new --typescript argument to use that instead of detective or detective-es6

I'd recommend enabling typescript support by default, you do end up downloading 3 detective libraries but given its installed once (globally), optimising for download size is probably not worth it

I was thinking about that. I don't think we need detective-es6 and detective, since detective-typescript supports both syles because TS itself supports them

How should we handle the installation of @types dependencies?
I was thinking of adding a check to installModule to see if a typings library is exists for that module and, if it does, install it. How does that sound?
Maybe it should require a --install-types flag?

I'm new to typescript, how does the manual process look like?

Usually, you need to manually check if the package you want to use includes types by it's own and, if it doesn't, check if there is a @types/theLibraryYourTryingToUse package.
The way I usually check if a lib includes type data is by looking at the published files and searching for an index.d.ts file there.
If none of the options exist, you have to write types for it, or use it with the any type.
Maybe this is out of the scope of this tool, since @types dependencies will never be directly required on code, and there's no official way of knowing if a package needs / has those typings available through @types

Interesting!
You could automate that where the fallback is to do nothing.

if .d.ts exists, do nothing
if not, attempt to install @types/lib
if it doesn't exist, do nothing

Okay!
I just replaced detective and detective-es6 with detective-typescript.
I also added a new typescript.ts file to the examples folder, and changed the tests so they consider both .js and .ts files. This file imports mongodb, which is only imported there, and that way we can make sure, in the tests, that TS modules are being loaded.
I'll finish some details and push soon.
About the typing libraries, I feel a new PR is a better way to address it, since I'll need to try a few different approaches to decide what's the fastest and cleanest way to do it, and I don't think this PR should wait until I get it right.

Done!
I think it's ready. As I said, there's no support for auto installing @types dependencies, since that'll come in another PR.
This should still be really useful, tho, since a lot of libs pack type definitions now.

Nevermind, I finished it.
I'll push them to this branch

@rjmunhoz what is about standard types and typings? For files may be it's enough to check if there is a .d.ts$ file.
https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

@rjmunhoz what is about standard types and typings? For files may be it's enough to check if there is a .d.ts$ file.
https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

Actually, I'm not really interested in finishing this anymore.
I'll close this PR and let anyone interested take this over


refactored filter method logic to use fhirpath expression instead

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #[issue number]
Checklist

[x] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[x] I have added any strings visible on UI components to the strings.xml file
[x] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

what issue is this linked to?


Is there any source code?

Hi there.
I found your work recently. I'm interested in source counting in speech and choose it for my bachelor project. I'm trying to improve it with better feature engineering with some new stuffs.
Until now i succeed to load CNN.h5 but it has many parameters that i couldn't train it well! Other attractive models like CRNN.h5, have problem in loading that i mention below:
TypeError: ('Keyword argument not understood:', 'input_dtype')
I would be grateful if you would let me to have source code for my work to improve CountNet.
Sincerely.
Email: Ahmad Mahmoodian Darvishani

Hi @ahmadrv. So that we can't provide the training code. I think that implementing the training is straightforward, if you have any questions, let me know here.

Hi @ahmadrv. So that we can't provide the training code. I think that implementing the training is straightforward, if you have any questions, let me know here.

Thanks for reply.


Store User Metrics data in LocalStorage

New Local Storage features:

Passes existing UID testcases and new Metrics testcases

PASS  test/localStorage.test.js
AsyncStorage
storeUID
√ should store the UID successfully (336 ms)
√ should handle the error if storing fails (1 ms)
getUID
√ should return the UID if it exists (1 ms)
√ should handle the error if retrieving fails (1 ms)
storeMetrics
√ should store the metrics successfully (2 ms)
√ should handle the error if storing fails (1 ms)
getMetrics
√ should return the metrics if they exist
√ should handle the error if retrieving fails
Test Suites: 1 passed, 1 total
Tests:       8 passed, 8 total
Snapshots:   0 total
Time:        6.586 s

Regression Testing:

No new issues introduced.
Stable integration with new features.
Additional Notes:

Commit history reviewed; consistent updates and enhancements noted.

Testing Document:

Google Docs Testing Report

Ready for launch 🚀


feat: sync much faster

This is a test PR that's attached to this osmosis PR:

https://github.com/osmosis-labs/osmosis/pull/7611

they'll be undrafted when there's good news.

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments

Closing due to improvement completed upstream, and backporting to our fork. See https://github.com/osmosis-labs/cometbft/pull/16


fix: prevent missing renders

Reverts the render optimization from https://github.com/tannerlinsley/react-query/pull/1487 because it is not guaranteed React will actually commit the render when a hook is called (renders might be discarded). Added a test to cover this behavior.
Fixes https://github.com/tannerlinsley/react-query/issues/1535

:tada: This PR is included in version 3.5.12 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.5.12 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Make it simpler to write custom metrics!

Why is it so complicated to write a simple custom metric? I do not want to deal with tensors, just numpy arrays. Please make it simpler and ability to use only numpy arrays. This request is for Keras.
Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using): 2.1
Are you willing to contribute it (Yes/No):

Describe the feature and the current behavior/state.
Will this change the current api? How?
Who will benefit with this feature?
Any Other info.

@nectario If you have a simple metric that is Mean based then you can write a function that accepts labels, predictions and returns the metric value as shown below.
def mae(y_true, y_pred):
    return tf.keras.backend.mean(tf.math.abs(y_pred - y_true), axis=-1)

For anything else you can subclass the metric class, please see BinaryTruePositives example here:
https://www.tensorflow.org/api_docs/python/tf/keras/metrics/Metric?version=nightly

I need to write a metric that outputs the average number of positive results. I am just amazed how convoluted and complicated it is to write a simple metric like this.

Subclassing Metric class is not clear at all. I think there must be a way to write custom metric code without resorting to low level tensorflow code.

This is what I have so far to calculate the direction accuracy:
`from tensorflow.keras.metrics import Metric
from tensorflow.python.ops import init_ops
from tensorflow.python.ops import math_ops
from tensorflow.python.ops import array_ops
import tensorflow
class DirectionAccuracy(Metric):
def __init__(self, name="direction_accuracy", dtype=None, **kwargs):
    super(Metric, self).__init__(name=name, dtype=dtype, **kwargs)
    self.total = self.add_weight("total", initializer=init_ops.zeros_initializer)
    self.count = self.add_weight("count", initializer=init_ops.zeros_initializer)
    self.direction_matches = self.add_weight("direction_matches", initializer=init_ops.zeros_initializer)

def update_state(self, y_true, y_pred, sample_weight=None):
    self.direction_matches = math_ops.multiply(y_true, y_pred)
    res = math_ops.count_nonzero(tensorflow.greater_equal(self.direction_matches, 0.))
    self.count.assign_add(res)

def result(self):
  return self.count`

Even when I am observing the source code for other custom metrics it's impossible to understand what is going on.

I should not have to spend two days to get this to work and still not working. I am fuming to say the least. Something so simple yet so difficult to do in Tensorflow. This is an example of utmost failure in usability. Convoluted brains coming together and creating a convoluted framework.

Hello @nectario, sorry this has been difficult for you. For avg number of positive results you should just have to write a simple function and pass that to the compile API. Like the categorical accuracy function here:
https://github.com/tensorflow/tensorflow/blob/2b220dae89d64be05276018e171fcfefa95c1bc5/tensorflow/python/keras/metrics.py#L3250
You do not have to subclass metric. Subclassing is required only if it not mean based.

Agree with topic Author, I find the entry level barrier for basic extensions to be much higher than other alternatives. Maybe because I am DS and not Software Dev.
I would like to write F1Score by building on Precision and Recall classes that are already there with support of Sparse y_true. However those are classes, creating their new instances with a set of thresholds via a functional approach seems inefficient.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Added guard against non-int indices

For some reason the i and o parameters in cuts were 'floatsand not 'ints', so I added a cast to correct this. This was causingmatch_audio.sh` to fail.

uh, this is weird, it works here on mac. But yeah, thanks


bazel: remaining BUILD files for all unit/integration tests and envoy…

… binary build.
This patch has the remaining BUILD files to perform a complete build of the Envoy binary and execute
all tests successfully.

@lizan @PiotrSikora @wattli Can you please review?
Apologies for the size of the PR, but it gets us to the end of the bulk BUILD definitions. Most of these are machine generated, the best way to approach review is to spend time on envoy_build_system.bzl, repositories.bzl, hand crafted BUILD in locations other than test/common, include/envoy and source/common and also look at a representative set of BUILD files to make sure the machine generated stuff is sane.


make maxsize a git config

Hey, sorry a bit slow replying here. I specifically made the size a variable at the top so you can change it to whatever (or check git config), but my specific use case for this was on Github Enterprise where it doesn't make sense to be checking any local git config. Given that I expect most people to edit this script at least lightly before using, I don't think it's unreasonable to just leave it as a bash variable.


enablePlugins(var) need import something

we have more project .we need  import play.twirl.sbt._ in porject build file.
someproject.enablePlugins(SbtTwirl) or
someproject.enablePlugins(play.twirl.sbt.SbtTwirl )

I'm not really understanding what you meant. Actually for help you can take a look at the mailing list here: https://groups.google.com/forum/#!forum/play-framework
if you still find an issue try to reopen it if needed.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_eejrfys0w4/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_eejrfys0w4/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_eejrfys0w4/clone/recipe/meta.yaml:38: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_eejrfys0w4/clone/recipe/meta.yaml:38: missing_license_family: The recipe is missing the about/license_family key.
WARNING: /tmp/abs_eejrfys0w4/clone/recipe/meta.yaml:38: missing_description: The recipe is missing a description
Errors were found


Add way to override forced external block inputs

When there are 3+ parameters the block automatically becomes vertical and disables the use of inline blocks even when you specify //% blockExternalInputs="false" in the block definition. Ideally there should be a way to override this.

Actually, it's when there are 4+ (4 or more) parameters.


New CardLink Component

Related Ticket(s)
Closes #504
Description
This pull request creates a new CardLink component for the locale selector, card list, long form patterns, and more.

Note: there is a known bug in this at the moment. Pulling in the CardLink by itself should be fine, but the way/order storybook is pulling in the footer with themed g90 bx--link component it's overriding some of the styling since Carbon added the .bx--link class to the clickable tiles. I'm looking into how we can fix this, and will put in a follow up pull request.
To test with proper styling pull down locally and temporarily comment out this line
...
// @import '~carbon-components/scss/components/link/link';
@import '../../globals/vars.scss';
@import '../../globals/mixins.scss';
...

Changelog
New

CardLink component (behind feature flag)

@photodow visually it seems off in the preview, perhaps an import issue or something?

@jeffchew I'm already aware of that issue, and figured since it's behind a feature flag, and @sannminwin needs it sooner rather then later I'll figure it out in a seperate PR. It appears to be less of an issue with the card itself and more with how storybook is building it, but I'm still looking into it. You can see my comment above in the description.

Note: there is a known bug in this at the moment. Pulling in the CardLink by itself should be fine, but the way/order storybook is pulling in the footer with themed g90 bx--link component it's overriding some of the styling since Carbon added the .bx--link class to the clickable tiles. I'm looking into how we can fix this, and will put in a follow up pull request.
To test with proper styling pull down locally and temporarily comment out this line
...
// @import '~carbon-components/scss/components/link/link';
@import '../../globals/vars.scss';
@import '../../globals/mixins.scss';
...

@jeffchew I'm already aware of that issue, and figured since it's behind a feature flag, and @sannminwin needs it sooner rather then later I'll figure it out in a seperate PR. It appears to be less of an issue with the card itself and more with how storybook is building it, but I'm still looking into it. You can see my comment above in the description.

Issue created to track this: https://github.com/carbon-design-system/ibm-dotcom-library/issues/560

This has been merged. @sannminwin , please incorporate this into your branch.


Navigate to Initializr via updated Quick Start

I WANT to be able to access initializer
SO that I can kickstart a project and see how it works quickly

GIVEN I am on the project overview page,
WHEN I click on "Get Started" on the QuickStart section, THEN I am redirected to initalizr

We've now featured start.spring.io on the quickstart page and many other pages on the website. This is now fixed! Thanks!


KAFKA-16076: Interrupting the currentThread fix

In RestClient class, httpRequest is being called with different threads. An InterruptedException in case of failure is used to handle its specific exceptions, nevertheless it's forgot to call Thread.currentThread().interrupt().
In general, it's a good practice to call this so the rest of code know the thread was interrupted already.
Note:
Some methods that cause a thread to wait or sleep (like Thread.sleep()) will check this flag. If they see it’s set, they’ll stop waiting/sleeping and throw an InterruptedException.
Committer Checklist (excluded from commit message)

[x] Verify design and implementation
[x] Verify test coverage and CI build status
[x] Verify documentation (including upgrade notes)

this is fixed by #16282


Devise Flash Messages

Dear @josevalim,
I notice that if I set the classic options from rails for the i18n.t like the scope for example, them are completely ignored by devise. After further investigation I saw that:
(1) The  set_flash_message(key, kind, options = {}) of devise accept an hash of options, and it pass the options to the method find_message(kind, options)
(2) The method find_message unfortunately has hard coded the options[:scope] :
def find_message(kind, options = {})
    options[:scope] = "devise.#{controller_name}"
    options[:default] = Array(options[:default]).unshift(kind.to_sym)
    options[:resource_name] = resource_name
    options = devise_i18n_options(options)
    I18n.t("#{options[:resource_name]}.#{kind}", options)
end

The fact that options[:scope] is hard coded with the devise, imply that the only place where devise is looking for the translation is the devise locale file. If instead I want organize my locales in different way, and let's say don't use the devise locale, i cannot do it.
What do you think if we modify that line in the following way:
options[:scope] =  "devise.#{controller_name}" unless options[:scope]

This should still keep the devise lookup in the case that a customed scope is not passed as option, but if instead the custom scope is passed, then the find_message method will use it.
This is kind of useful, if i don't want overwrite the devise locale, and use different locale files, but keeping still the fallback of my devise locale.

closed by #3405


corrected the minor mistakes

#251 Readme file was having some minor mistakes in English. I had updated them if you find it correct then do merge it. If there is any issue with this then let me know.
I'll happy to contribute to this great plugin

Thanks for the PR! We're currently working on the new version of the repo on the beta branch, where we split the client into two packages. Each package has its own README.md alongside the README.md in the root of the project.
Could you try to merge this PR against the beta branch?

Beta branch is not having README instruction

@nitishk72 made some minor corrections to your minor corrections - beta's graphql_flutter readme is at/packages/graphql_flutter/README.md, but it's going to be a bit tedious to rebase for this. I'd just manually edit in browser and re-PR

whaaaat the heck. I force pushed master instead of my rebase and it auto closed the PR because there are no changes, so now I can't fix the issue because github revoked my write access

Well, that's a moronic anti-feature. I went ahead and just pushed the commit (f0da96bfce27941141130eeef4ba1406ccd9713e). Sorry about that @nitishk72


Cross-compiling from Windows 10 64-bit to Linux ARM 32-bit fails

Which version of the AzCopy was used?
Trying to build azcopy for Raspberry Pi Linux ARM 32-bit by cross-compiling on Windows 10 64-bit, as of commit 418594894e14b6f800428509b5c876eda7e59221.
Which platform are you using? (ex: Windows, Mac, Linux)
Windows 10 64-bit
What command did you run?
Installed Go from go1.19.2.windows-amd64.msi.
Cloned git@github.com:Azure/azure-storage-azcopy.git.
From PowerShell command line:
E:\Users\stm\Documents\GitHub\azure-storage-azcopy [main ≡]> $env:GOOS = "linux"
E:\Users\stm\Documents\GitHub\azure-storage-azcopy [main ≡]> $env:GOARCH = "arm"
E:\Users\stm\Documents\GitHub\azure-storage-azcopy [main ≡]> go build
...
# github.com/Azure/azure-storage-azcopy/v10/ste
ste\sourceInfoProvider-Local_linux.go:126:9: cannot use s.Nlink (variable of type uint32) as type uint64 in return statement

What problem was encountered?
Cross-compilation for Linux ARM 32-bit failed with above error message.
How can we reproduce the problem in the simplest way?
See above.
Have you found a mitigation/solution?
No.

fixed in branch dev


New blog page

Incorrectly opened against this repo, instead of modmuss fork?

It was intended. But this PR requires https://github.com/FabricMC/fabricmc.net/pull/57 to be merged before.


added a link to the header back to itself

yeah, it might be dumb. But I've gotten used to clicking on the 'logo' in the top left of pages to return to the home.  It's a quick n easy way to clear a composer window that you don't want anymore.

@linkslice It's not a bad idea at all, but unfortunately we already moved away from the text header to a background image with the new logo. If you can come up with a good way to link the logo (e.g. http://stackoverflow.com/a/25422362/2275058) I'd be happy to merge it in. Thanks!


Create *, /, mulmod and muldiv algorithms for u256

TODO

[ ] use better algorithms
[ ] more tests

Hey @MaxGraey, I'd like to get the ball rolling on this one at some point. If you get the chance could you refer me to the desired algorithms to implement?


Website Update: Replace text on About page

Overview
We need to update the About page so that the number of contributors and continents is current.
Action Items

[ ] Replace the following text:

The MERL Center is an interdisciplinary community of MERL practitioners, open source experts, software developers, data scientists, designers, and more. As of May 2022, there are 60+ MERL Center members living and working in five continents. Most MERL Center members are of underrepresented groups in the technology industry, such as women of color.

with

The MERL Center is an interdisciplinary community of MERL practitioners, open source experts, software developers, data scientists, designers, and more. There are 100+ MERL Center members living and working in 6 continents. Most MERL Center members are of underrepresented groups in the technology industry, such as women of color.

Instructions/Resources

The MERL Center About page
in your ide: /about.html
https://github.com/MERLTech/MERL-Center-public/blob/main/about.html

https://github.com/MERLTech/MERL-Center-public/blob/cb18793b7228a1790b744f0f582854c7db1bd4e2/about.html#L42C8-L42C368

Can i take this issue?


Error installing on PHP7

Hi there,
I'm trying to install laravel-mongodb on a new Laravel 5.3 project and I'm getting the following error:
PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mongodb.so' - /usr/lib/php/20151012/mongodb.so: undefined symbol: php_json_serializable_ce in Unknown on line 0
My PHP version is 7.0.9. Could this be related to the mongo-php-library 1.1.0 release from yesterday?
I have used laravel-mongodb in different projects and it was working just fine until today.

I temporarily solved the problem by using an older PECL mongodb version (1.1.9). There was an update to version 1.2.0 on November 29th, which is why the mongo-php-library also got updated.
I did the following:
pecl uninstall mongodb
pecl install mongodb-1.1.9
After this, 'composer update' worked.

I have same problem:
`PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/mongodb.so' - /usr/lib/php5/20121212/mongodb.so: undefined symbol: zval_used_for_init in Unknown on line 0
Using version ^3.1 for jenssegers/mongodb
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- jenssegers/mongodb v3.1.0 requires illuminate/support ^5.1 -> satisfiable by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- jenssegers/mongodb v3.1.1 requires illuminate/support ^5.1 -> satisfiable by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- jenssegers/mongodb v3.1.2 requires illuminate/support ^5.1 -> satisfiable by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- jenssegers/mongodb v3.1.3 requires illuminate/support ^5.1 -> satisfiable by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- illuminate/support v5.3.4 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.3.23 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.3.16 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.3.0 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.7 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.6 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.45 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.43 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.37 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.32 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.31 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.28 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.27 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.26 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.25 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.24 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.21 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.19 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.2.0 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.8 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.6 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.41 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.31 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.30 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.28 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.25 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.22 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.20 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.2 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.16 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.13 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/support v5.1.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- Installation request for jenssegers/mongodb ^3.1 -> satisfiable by jenssegers/mongodb[v3.1.0, v3.1.1, v3.1.2, v3.1.3].
To enable extensions, verify that they are enabled in those .ini files:
- /etc/php/7.1/cli/php.ini
- /etc/php/7.1/cli/conf.d/10-opcache.ini
- /etc/php/7.1/cli/conf.d/10-pdo.ini
- /etc/php/7.1/cli/conf.d/15-xml.ini
- /etc/php/7.1/cli/conf.d/20-calendar.ini
- /etc/php/7.1/cli/conf.d/20-ctype.ini
- /etc/php/7.1/cli/conf.d/20-dom.ini
- /etc/php/7.1/cli/conf.d/20-exif.ini
- /etc/php/7.1/cli/conf.d/20-fileinfo.ini
- /etc/php/7.1/cli/conf.d/20-ftp.ini
- /etc/php/7.1/cli/conf.d/20-gettext.ini
- /etc/php/7.1/cli/conf.d/20-iconv.ini
- /etc/php/7.1/cli/conf.d/20-json.ini
- /etc/php/7.1/cli/conf.d/20-phar.ini
- /etc/php/7.1/cli/conf.d/20-posix.ini
- /etc/php/7.1/cli/conf.d/20-readline.ini
- /etc/php/7.1/cli/conf.d/20-shmop.ini
- /etc/php/7.1/cli/conf.d/20-simplexml.ini
- /etc/php/7.1/cli/conf.d/20-sockets.ini
- /etc/php/7.1/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.1/cli/conf.d/20-sysvsem.ini
- /etc/php/7.1/cli/conf.d/20-sysvshm.ini
- /etc/php/7.1/cli/conf.d/20-tokenizer.ini
- /etc/php/7.1/cli/conf.d/20-wddx.ini
- /etc/php/7.1/cli/conf.d/20-xmlreader.ini
- /etc/php/7.1/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.1/cli/conf.d/20-xsl.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
Installation failed, deleting ./composer.json.
`

These issues aren't really related to Laravel MongoDB specifically.  They're just issues with enabling the PHP MongoDB extension in general.  You might find more info at http://php.net/manual/en/mongo.installation.php.

You are wrong @orrd ,
Laravel MongoDB should update himself for compatibility with latest PHP's MongoDB ext version

The first error is "PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/mongodb.so'".  I believe even just running "php" will generate that warning if that's the case, so that probably is happening long before any Laravel MongoDB even gets touched.
It's because of an issue with the installation of the PHP Mongo extension.


requests.exceptions.SSLError: hostname

When I try to use the instructions from the documentation to  connect to a GKE cluster using the config file it fails with the dreaded: "requests.exceptions.SSLError: hostname."   I expect this to work by not validating the hostname and instead validating the cert.
The workaround is to use kubectl proxy and http://localhost:8001 which is just an extra step for the user. It would be nice if requests could turn host validation off in this case, but there is no such feature in that library.  I filed a feature request with it as well, but it is basically rejected.
It may be worth updating the docs to deal with this.

I am hoping this is fixed with the change in 2f06f601e32825bd1b7e925e3989f2a920090425. If it is not then I am happy to add in more docs.


New Package: JetBrains.dotPeek version 2023.1.4

Resolve #110964
Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/113116&drop=dogfoodAlpha

Automatic Validation ended with:

Please block this PR, I will researchinstallation instructions

Hi @CoolPlayLin,
Any update on the install instructions?


Right prompt dir showing .../~ instead of ~

When POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 is used and you cd back to your home dir using cd .. the right prompt displays …/~ instead of only ~

This behaviour appears not to be reproducible when POWERLEVEL9K_SHORTEN_DIR_LENGTH is higher than 1

@FreddieOliveira - Thanks so much for the bug report! And argh... looks like a bug in the directory truncation stuff.
@onaforeignshore - Any chance you're already touching this?

This is addressed by #776

Yup, @dritter's right! We've got a fix in the pipe from @conradhaupt =)

Fixed by merge of #773!


Timeline UI - Vertical detailed view

💻 Environment
Platform: macOS
📒 Description
Displays scrollable vertical timeline list that shows all the details about tracked info in 15-minute chunks.
Main functionalities:

Show gaps and overlaps.
Allow creating time entries to the empty spaces in the day
Allow solving overlaps. Clicking on overlap shows a context menu with 3 choices:

change first entry stop time
change last entry start time
create a new entry of overlap
(The texts should be improved, they should be shorter)

From what I understand, the Timeline will automatically add the Empty space in the gaps, so the user is able to create new time entry. However, in the design, there is only one Empty Space.
Do it means:

Is there only one Empty Space?
How about others? (Red Rectangle in screenshot)

The empty entry should be added only when there are no entries at all. This screenshot does not show the most common picture of a users day. Usually, there are no overlapping entries and the empty entry is placed in places where no entry has been tracked so that it is easy to fill that empty space.
From this logic, the empty space on this screenshot should be only the top one and it should end before the purple item on the second column starts.

Close by https://github.com/toggl/toggldesktop/pull/3050


Incompatible with TS 2.9

I'm submitting a...

[x] Bug report

Current behavior
Compiling with TS 2.9.2 impossible due to type errors:
node_modules/@datorama/akita/src/api/entity-store.d.ts(84,5): error TS2416: Property 'update' in type 'EntityStore<S, E>' is not assignable to the same property in base type 'Store<S>'.
  Type '{ (newState: Partial<S>): any; (id: string | number | (string | number)[], newStateFn: ((entity: ...' is not assignable to type '{ (newState: Partial<S>): any; (id: string | number | (string | number)[], newState: Partial<S>):...'.
    Types of parameters 'newState' and 'id' are incompatible.
      Type 'string | number | (string | number)[]' is not assignable to type 'Partial<S>'.
        Type 'string' is not assignable to type 'Partial<S>'.

node_modules/@datorama/akita/src/api/entity-store.d.ts(85,5): error TS2416: Property 'update' in type
'EntityStore<S, E>' is not assignable to the same property in base type 'Store<S>'.
  Type '{ (newState: Partial<S>): any; (id: string | number | (string | number)[], newStateFn: ((entity: ...' is not assignable to type '{ (newState: Partial<S>): any; (id: string | number | (string | number)[], newState: Partial<S>):...'.

node_modules/@datorama/akita/src/api/query-entity.d.ts(16,15): error TS2416: Property 'store' in type 'QueryEntity<S, E>' is not assignable to the same property in base type 'Query<S>'.
  Type 'EntityStore<S, E>' is not assignable to type 'Store<S>'.
    Types of property 'update' are incompatible.
      Type '{ (newState: Partial<S>): any; (id: string | number | (string | number)[], newStateFn: ((entity: ...' is not assignable to type '{ (newState: Partial<S>): any; (id: string | number | (string | number)[], newState: Partial<S>):...'.
        Types of parameters 'newState' and 'id' are incompatible.
          Type 'string | number | (string | number)[]' is not assignable to type 'Partial<S>'.
            Type 'string' is not assignable to type 'Partial<S>'.

Expected behavior
Compiling possible ;)
Minimal reproduction of the problem with instructions
Create instances of EntityStore and QueryEntity and try to compile your code with TS 2.9.2 installed
Environment

Angular version: 6.1.0
TS: 2.9.2

I've just upgraded Angular & TS and getting the same error at compile.

Same here.

Please refrain from "me too" like postings, it's just spamming everyone's inboxes

It's a new Angular version. We need to upgrade to Typescript 2.9. Working on it. Thanks.

:tada: This issue has been resolved in version 1.3.2 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

i have simmilar issue after update to angular 9
[0] ERROR in Tried to overwrite<EMAIL_ADDRESS>with an ngcc back up file, which is disallowed.


Update install documentation to avoid commonly encountered errors building from SOURCE

Describe the bug
the instructions to build from source are in the wrong order here
update them to:
# If you would like an out-of-the-box virtual environment to use,
./create_venv.sh
source python_env/bin/activate
./build_metal.sh

tests will fail if metal is built in the current order.
Please complete the following environment information:

OS: [e.g. Ubuntu 20.04]
Version of software (https://github.com/tenstorrent/tt-metal/blob/v0.50.0/INSTALLING.md)

I've asked @dvartaniansTT for examples on how this occurs.
Though environment -> build steps do make more sense, given how our build works, I don't see why this would cause errors.

Closing this as no movement and no complaints from community


add rule (vue-strong): Component in separate files

https://vuejs.org/style-guide/rules-strongly-recommended.html#component-files

Would this rule be just to check for the pattern .component('...', { ... } inside the file right? Or am I missing something?

Yes, that would be the easiest approach. Perhaps all vue files should be checked.

Wouldnt the check apply to all files in the given path? or this pattern should just be check in the entry-point file where you can register components globally?

People can do weird things. So I would suggest check all files.
However checking only main.js/ts will be much quicker. But even in a big project it will save less then a second.
What do you think?

I think checking all files in the given path would be better to avoid missing some really weird component registration (I haven't seen one but there must exists somewhere haha)
However, I'm wondering how you get to that less than a second estimate? If it's that way then I agree it won't be noticeable for the end user

However, I'm wondering how you get to that less than a second estimate? If it's that way then I agree it won't be noticeable for the end user

All our current checks go throught all the files again and again.
I have a middle size project and still it runs quickly.

Got it! Then I support the "check all Vue files" approach for this rule 🤚🏻

Hi @rrd108 I created a PR for this issue #68


Landscape Analysis of Current and Prospective Users

Problem statement
Currently there is not an ongoing system or location (e.g. document or dashboard) that tracks current and prospective users (e.g. basic descriptive statistics and qualitative descriptors e.g. type of institution, how they upload if a sender).
*note that this will help us have an accurate picture of our "sample" for research e.g. helpful for knowing who to reach out to do user research with. e.g. who has gone through onboarding as well as other aspects of RS (to be added by other stakeholder).
What you need to know

What is the existing data on current and prospective users (e.g. spreadsheets); where is it: who are the POCs to compile and synthesis.
Hailey's segmentation mural document https://app.mural.co/t/agilesixapplications0942/m/agilesixapplications0942/1622124091687/721233ef4da1e98f964d1f9a59771f2870af7713?sender=e3ecdce4-bfc0-4d0a-8c4e-79700e0dfa75)) (received need to review)
Other?
Ask team for the people I need to reach out to compile this information

Acceptance criteria

Work with Lori and Rachel to figure out relationship with Metrics ticket
ID the existing data (e.g. census we want to use)
A document and system that clearly summarizes the current and prospective users profiles

To do

Talk with design team as a first step to know who and where I should start
Reach out to others to combine and compile information as well as ask them what features of this analysis will be useful for them.
Create a cadence for updating this
*noting that this might relate to the service map/CRM development process given it is beginning to log user data

For discussion 12/6/21
https://app.zenhub.com/files/304423150/10b387a1-7272-428d-b1d3-fc5146d2fd6b/download

Updated 12/10/21 with team discussion:
https://app.zenhub.com/files/304423150/302e865b-8009-42a3-bc76-cbd77304dc20/download

12/27

current users would be logged in Metabase and by O+O
prospective users also might be logged by Ming/O+O/Product leads? WHO? and this is priming for CRM I would think? @loripusey @rachelhanster
i am working on getting my metabase account.

Add Link to mural here to archive this.

Here is the location that archives the Landscape Analysis Process: https://cdc.sharepoint.com/:w:/r/teams/USDSatCDC/_layouts/15/Doc.aspx?sourcedoc={ED3B94F0-84B5-4590-A850-0DE90D4898B1}&file=User Landscape Analysis_VLB12.6.21_Experience team feedback 12.10.21.docx&action=default&mobileredirect=true
I will be creating a new ticket that will talk about where we are tracking prospective users, which are also important to know the landscape of for research purposes.
This ticket will be for current users.

@loripusey I think we can close this issue since the work is being picked up in the metrics and I will create a new ticket that does not seem like a priority around figuring out where the prospective users are being tracked and how research (and others) can have sight lines into that.


feat: scim

This PR adds SCIM functionality to the project. It allows an organisation to sync their users and groups from their idp.
Allows synchronisation of users and groups from Okta to toolkit. While SCIM is an open standard, this implementation was only tested with Okta. If we want to add more providers we would need to retest, but as long as they are following the spec it should be fine (similar to OIDC).
General Notes

this only works when OIDC is enabled. We match the users from the OIDC request to the users that were synchronised. (via external id)
this feature should only be activated if there were no users created so far, otherwise there could be side effects

Resources

okta reference: https://developer.okta.com/docs/reference/scim/scim-20/#scim-user-operations
flask sample app: https://github.com/oktadev/okta-scim-flask-example/tree/master
original spec: https://www.rfc-editor.org/rfc/rfc7643.html#page-

PR Template
Thank you for contributing to the Cohere Toolkit!

[ ] PR title: "area: description"

Where "area" is whichever of interface, frontend, model, tools, backend, etc. is being modified. Use "docs: ..."  for CI changes.
Example: "deployment: add Azure model option"

[ ] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change

[ ] Add tests and docs: Please include testing and documentation for your changes

[ ] Lint and test: Run make lint and make run-tests

AI Description

This PR introduces the System for Cross-domain Identity Management (SCIM) to the backend. SCIM is a standard for automating the exchange of user identity information between identity domains, such as between an enterprise identity management system and a service provider.
The changes include:

Adding SCIM configuration to the .env-template file.
Creating a new SCIMAuthValidation class in request_validators.py for SCIM authentication.
Adding SCIM-related imports and a new SCIM router in routers.py.
Adding SCIM-related fields to the secrets.template.yaml and settings.py files.
Creating new CRUD operations for groups and users in group.py and user.py, respectively.
Creating new SCIM exception handling and router in scim.py.
Adding SCIM-related imports and classes in schemas/scim.py.
Adding a ScimAuthValidation class in request_validators.py for SCIM authentication.
Updating the get_or_create_user function in utils.py to use the get_user_by_external_id function.
Adding SCIM-related tests in test_scim.py.
Adding SCIM-related configuration to the secrets.yaml file.

Codecov Report
Attention: Patch coverage is 93.28358% with 36 lines in your changes missing coverage. Please review.

Project coverage is 83.50%. Comparing base (4edacee) to head (76eaf7d).
Report is 96 commits behind head on main.

Files
Patch %
Lines

src/backend/routers/scim.py
90.00%
13 Missing :warning:

src/backend/tests/crud/test_group.py
79.48%
8 Missing :warning:

src/backend/services/auth/utils.py
0.00%
6 Missing :warning:

src/backend/alembic/versions/b6a70f628c24_.py
73.68%
5 Missing :warning:

src/backend/services/auth/request_validators.py
91.66%
2 Missing :warning:

src/backend/crud/group.py
97.14%
1 Missing :warning:

src/backend/crud/user.py
83.33%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #566      +/-   ##
==========================================
+ Coverage   81.38%   83.50%   +2.11%
==========================================
  Files         199      243      +44
  Lines        8354    11037    +2683
==========================================
+ Hits         6799     9216    +2417
- Misses       1555     1821     +266

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


Problems Running on Android

Things work great on iOS, but when I try to run after installing the module on Android we seem to get
/Users/bob/projects/test/node_modules/react-native-smooch/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/Users/bob/projects/test/node_modules/react-native-smooch/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

/Users/bob/projects/test/node_modules/react-native-smooch/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/Users/bob/projects/test/node_modules/react-native-smooch/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

These are some of my settings in my Manifest
compileSdkVersion 23
buildToolsVersion '23.0.3'

targetSdkVersion 23

dependencies {
    compile 'com.android.support:appcompat-v7:23.0.2'
    ...
}

We have also tried using compileSdkVersion 24 and 25 as well.

Hi @jnrepo, was happening to me also with version 23.0.1. So, I changed the buildToolsVersion in node_modules/react-native-navigation/android/app/build.gradle, to 25.0.2 and it works. Previously I Installed the 25.0.2 sdk tools and also the android repository.

Hi, I have the same issue after I installed react-native-navigation in android step by step with following this link https://wix.github.io/e#/installation-android
I am not sure which SDK compiler(I am new to android programming) I should use? And I am not sure if this is associated with devices. I mean, if I change a device, should I change the SDK complier manually?

This solved my problem: https://github.com/oblador/react-native-keychain/issues/68#issuecomment-304836725


Fix code scanning alert - if chain can be rewritten with match

Tracking issue for:

[x] https://github.com/ryo-ebata/clpt/security/code-scanning/4

Fixed in branch main
8 minutes ago
@ryo-ebata
Merge pull request https://github.com/ryo-ebata/clpt/pull/14 from ryo-ebata/develop


Having trouble while importing the nugget ABAP2XLSX

Hi team,
I am trying to install ABAP2XLSX in my SAP system, i tried following you instructions in the below mentioned webpage. https://github.com/ivanfemia/abap2xlsx/wiki/Installation-guide
I am able to install the SAP link without any problem, but i am having trouble while importing and activating ABAP2XLSX.nugg.
Attached screenshot for your reference.
Please advise.
Thanks & Regards

As written on the error log, you're missing Data Element plugin for Saplink. Install missing plugin(s) and try again.
Cheers
Łukasz

Hi,
you have 2 prerequisites (check the guide)

SAPlink http://www.saplink.org/ installed in your system.
SAPlink Plugins http://www.saplink.org/ installed in your system:
DDic, Interface (I would suggest to install the complete nugg package in
build/SAPlink-plugins_Daily.nugg)SAP

you are missing the second one
On Sun, Apr 10, 2016 at 12:18 PM, Łukasz Pęgiel<EMAIL_ADDRESS>wrote:

As written on the error log, you're missing Data Element plugin for
Saplink. Install missing plugin(s) and try again.
Cheers
Łukasz
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ivanfemia/abap2xlsx/issues/431#issuecomment-208019969

Hi Ivan,
I couldn't find the complete nugg package in build/SAPlink-plugins_Daily.nugg)SAP. Would request you to kindly provide me a link for the same.
I am able to find a list of plugins in ZSAP links page, not sure which one is appropriate.

Regards,
Sanjay D

Just follow the instructions

To download the latest Version of all plugins collected in this project please navigate in the SVN tab to the folder "build" where you can find SAPlink-plugins_Daily.nugg.zip which is the always latest and greatest.

Thanks Gregor, I found the right file now.

Hi Team,
I am completely lost in here, would request you to help me in installing ABAP2XLSX in SAP.
Thanks & Regards,
Sanjay D

Dear Sanjay,
please do not simply post on a closed issue. Read the documentation, try yourself, and if you run in problems that you can't solve after a day get them described in detail and post as a new issue.
Best regards
Gregor


Implemented parallel::stable_partition

This is related to #1141

@biddisco All review comments have been addressed.

On 10/04/2016 03:40 PM, Hartmut Kaiser wrote:

@hkaiser commented on this pull request.

In hpx/parallel/util/detail/algorithm_result.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2345:

@@ -31,12 +31,14 @@ namespace hpx { namespace parallel { namespace util { namespace detail
return T();
}

   static type get(T && t)

   template <typename T_>

   static type get(T_ && t)

I need to revert this change and see what breaks to answer this question ;)

It looks at least strange since the other get calls expect rvalues ;)


(CSS) Prefixed properties are not highlighted correctly (regression between 10.5.0 and 10.6.0)

Describe the issue
Prefixed properties are not highlighted correctly starting from hljs 10.6.0 (new highlightAll API).
Which language seems to have the issue?
CSS
Are you using highlight or highlightAuto?
highlightAll
Sample Code to Reproduce
Version 11.1.0 (using highlightAll):
https://jsfiddle.net/grbtnsdp/
Version 10.5.0 (using initHighlighting):
https://jsfiddle.net/0kxoqjfv/
Expected behavior

Actual behavior

This was intentional. Prefixes are vendor specific and not part of the official name.


怎么拓展业务信息，如群组标签等等

你好，有个问题想请教一下，如果我的应用中需要用户、群、会话这些对象有一些拓展属性。
是我单独存储再用userId、GroupId、conversationId关联吗？有没有一个extra字段来存储相关信息？
我通过queryUserProfiles获得用户基本信息后还需要请求业务应用接口补全拓展信息？

如果我的应用中需要用户、群、会话这些对象有一些拓展属性。

Could you list the exact "extra" properties you need?
I can add these properties in entities stored in MongoDB and pass them to clients for your cases if they are common.
If some properties you need are not common, please list your use cases for these properties so I can design a workflow for you.

有没有一个extra字段来存储相关信息？

No. We always try not to introduce something like map<string, string> extra to avoid users misusing them.

用户
用户可以拥有多个标签比如：【同事、活跃、可爱】
用户可以有：邮箱、办公地点等属性
群组属性
标记：VIP、欠费、所属公司ID等
会话属性
在会话列表上显示这个会话的相关状态
私人会话：显示标签等
群组会话：显示相关的标记
不确定我是否描述明白

No. We always try not to introduce something like map<string, string> extra to avoid users misusing them.

如果有这3个对象有 map<string, string> extra 这个属性。
我就能在业务系统中通过SDK或者ADMIN API来设置用户、群组、会话的extra，
然后在SDK的用户、群组、会话 查询接口中获取到这些extra

I see your point. These are reasonable business requirements, and I will support them once I finish refactoring the legacy admin APIs (I am working on this currently).
I will also add some properties for you to customize the extra properties (e.g. support restricting the field type, value validation, etc), and the feature will be delivered around 2024/07/14.
Once done, I will @ you, and comment with a brief tutorial on how to use these new properties.

我正在寻找一个能够支持我们应用使用的IM项目。比起其他的IM项目，turms真是一个非常棒项目。
extra这个特性对我是否能选择使用turms来进行我们应用的二开很重要，希望能够尽快支持，非常感谢。
还有一个问题请教，请问ConversationSettings和UserSettings的作用是什么？我没有找到相关的文档说明

我没有找到相关的文档说明

I usually write a doc for new features once they are finished, but the features are supported in servers, I haven't added the APIs in Turms clients to CRUD them so there is no doc for it currently.
I will add the client APIs for it when I finish the features you just requested, and the doc will come later after these APIs are delivered.
btw, if you see a feature in code, but cannot find a doc or client APIs for it, which usually means the feature isn't public for Turms users, you MAY or MAY not use these preview features.

ConversationSettings和UserSettings的作用是什么

They are used for Turms clients to store arbitrary settings for conversations and users. For example, if you want to store the preferred language on the client side, you may store a lang field.
And you can customize turms-service to only allow clients to store specified settings, e.g.:

btw, Turms stores UserSettings from User documents in MongoDB on purpose, which is an efficient storage design for most IM use cases.

如果还有一个GroupSettings的话，似乎能够间接实现我上面的特性，当做extra来用，但这似乎不太符合turms设计。
比如：ConversationSettings增加burnAfter来支持某个会话的阅后即焚效果。
比如：ConversationSettings增加flags标记数组，VIP，关联的公司ID等，让这个会话支持自定义属性？
同时在ConversationService.queryPrivateConversations或者ConversationService.queryGroupConversations中返回这些会话的ConversationSettings。User和Group类似。
让Settings即做配置也做属性


Could not patch game!

1.0.9 is borked, reinstall the previous version.

its either ^ or your version is 3.0.5x because we dont patch metadata in that version

or try running as administrator


Link to taxonomy lists fails with custom permalinks

The links in the samples expects the taxonomy list to be at the default location:
https://gohugo.io/templates/taxonomy-templates/#order-taxonomies
but that will fail with a custom permalink introduced in v0.31 since the page is probably not rendered at /PLURAL/TERM/.
The only workaround I've found is to create a per-term page for the custom link instead of the general _default/terms.html template.

I think this is a documentation issue. It should be possible to do this without "manual URL construction".
@rdwatters are those your examples?
I'll keep this open for now -- in case this isn't currently possible, we should make it.

I am interested in knowing how to support custom permalinks of taxonomy in templates as well. Is it possible to do this now? How?

If PR #4796 is merged, then you won't need to hardcode anymore. You could use
{{% relref "tags" %}}

which would be resolved to whatever url tags is published to. Likewise a call to .GetPage "tags" would return you the page object, from which you could query its actual URL, title or whatever.
I already take advantage of this in my fork of Hugo.

@bep I think this issue should be re-opened.

It looks like we could use:
{{ with $.Site.GetPage "taxonomy" $type $termName }}

Perhaps I should submit a PR to modify the document? Currently it says:

 {{ $value.Name }}  {{ $value.Count }}

, which certainly still fails with custom permalinks


Provide this as a GH Action

This could make sense for (at least) anyone that uses static site generators on GH Pages, as a post-processing step.
That is a huge potential clientele!
Somewhat related to #30.

I have handled it the following way. Might be not the best, but does its job
- name: "Minify"
  run: |
    set -x
    CHECKSUM_EXPECTED="e848a60abfd92441fd8eca99281074c166f6a7ce8e05eea3d8033c49ea66524d"
    wget https://github.com/wilsonzlin/minify-html/releases/download/v0.15.0/minhtml-0.15.0-x86_64-unknown-linux-gnu

    if ! (echo "$CHECKSUM_EXPECTED minhtml-0.15.0-x86_64-unknown-linux-gnu" | sha256sum -c --status); then
      echo "File corrupt!!!"
      exit 1
    fi
    chmod u+x minhtml-0.15.0-x86_64-unknown-linux-gnu
    ./minhtml-0.15.0-x86_64-unknown-linux-gnu --keep-closing-tags --minify-css ./mysite/*.html


Update demo

Merges the current composite_operator_datacontainer into demos

The current PR build correctly on Jenkins.

closes #298

Jenkins is happy
See also #306


Create dependency-review.yml

Configure Dependency Review

Dependency review helps you understand dependency changes and the security impact of these changes at every pull request. It provides an easily understandable visualization of dependency changes with a rich diff on the "Files Changed" tab of a pull request.
The warning for .github/workflows/dependency-review.yml is expected.
https://coveord.atlassian.net/browse/DEF-657
J:DEF-657

@JPLachance lint and go 👍


support difference type for optional

Would you mind adding a test case illustrating what you are fixing?

@ENikS I fix a bug and add case to fix support difference type for optional
request merge  https://github.com/unitycontainer/abstractions/pull/130 and https://github.com/unitycontainer/configuration/pull/28


NatssChannel Dispatcher: prioritize finalizer removal

Proposed Changes

Remove natsschannel finalizer as early as possible

Add simple test to validate that finalizer on natsschannel gets removed even though service is not ready

Add NatssDispatcher interface

removed unreferenced toSubscriberStatus function

add typedef SubscriptionChannelMapping

Release Note

Fix that natsschannel finalizer doesn't get removed

See also https://github.com/kyma-project/kyma/issues/6792

/assign @abd4lla

/ok-to-test


[compact-interactive-list] Initial component setup

Summary
This PR sets up the base terra-compact-interactive-list component to prepare for development.
These changes are based on the following PRs:

Terra File Path changes from https://github.com/cerner/terra-framework/pull/1771.
Terra Folder Tree https://github.com/cerner/terra-framework/pull/1855

Testing

The initial WDIO and Jest test were set up, but they don't have actual tests yet and will be updated with added functionality.
This change was tested using:

[ ] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[x] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[ ] Accessibility review
[ ] Functional review

Additional Details

This PR is a part of:
UXPLATFORM-9557

The terra-table changes are only for fixing broken links to the terra-framework repo in terra-table package.json, and I think they don't need a changelog entry, but correct me if I am wrong


All the holes are not getting displayed when using PolygonOverlay

Scenario
I have created a PolgonOverlay, in which for coordinates I am giving the world coordinates and for holes I am giving small polygons in counterclockwise direction.
What I found is all the holes are not getting displayed for iPhone. Only some of them are getting displayed.
Screenshots
expected -

got -

Also, if I comment the big one on the left, the 2 smaller ones will appear -

Hi.
Please let me know the environment you are working on and this library version.

hello,
naver_maps - 0.10.6,

Please let me know the environment you are working on
can you elaborate please

@akshatjain-beam
Can you test it in 1.0.0-dev.9 version?
and here's the 1.0.0-dev.9 docs

@note11g , please check the holes coordinates again, had modified them....

@akshatjain-beam can you check same on Android?

@note11g , yes.its working fine and all of them are visible

hey @note11g , following up regarding any updates?
for holes, you can try with these 2, only one of them is showing in IOS
holes = [
      [LatLng(37.54357147216797,<PHONE_NUMBER>21875), LatLng(37.54539489746094,<PHONE_NUMBER>9892578), LatLng(37.54866027832031,<PHONE_NUMBER>522461), LatLng(37.500465393066406,<PHONE_NUMBER>3857422), LatLng(37.4418830871582,<PHONE_NUMBER>5166016), LatLng(37.423072814941406,<PHONE_NUMBER>0195312), LatLng(37.423072814941406,<PHONE_NUMBER>227539), LatLng(37.456329345703125,<PHONE_NUMBER>9335938), LatLng(37.47922134399414,<PHONE_NUMBER>2470703), LatLng(37.52334213256836,<PHONE_NUMBER>1552734), LatLng(37.53811264038086,<PHONE_NUMBER>0800781), LatLng(37.545631408691406,<PHONE_NUMBER>0800781), LatLng(37.545631408691406,<PHONE_NUMBER>21875), LatLng(37.54357147216797,<PHONE_NUMBER>21875)],
      [LatLng(37.507957458496094,<PHONE_NUMBER>1611328), LatLng(37.487674713134766,<PHONE_NUMBER>7060547), LatLng(37.50560760498047,<PHONE_NUMBER>0322266), LatLng(37.50663757324219,<PHONE_NUMBER>5742188), LatLng(37.511226654052734,<PHONE_NUMBER>0830078), LatLng(37.51388168334961,<PHONE_NUMBER>0771484), LatLng(37.51108932495117,<PHONE_NUMBER>5986328), LatLng(37.507755279541016,<PHONE_NUMBER>4785156), LatLng(37.50743103027344,<PHONE_NUMBER>3857422), LatLng(37.507957458496094,<PHONE_NUMBER>1611328)],
    ];

@akshatjain-beam I'm sorry. I'm a little busy these days, so I think it'll be processed a little late.

Hey @note11g , closing the issue, as the updated the code to latest version 1.0.1, and there the bug is not there
Thanks!

@akshatjain-beam thank you..!!! I'm so glad it's resolved!! 😍 And I'm sorry that I couldn't support the 0.10 version continuously...


[dv/keymgr] Enable keymgr_hwsw_invalid_input_vseq in stress_all_with_rand_reset

Description
For V3 task, consider enabling keymgr_hwsw_invalid_input_vseq in stress_all_with_rand_reset test.

This is clearly a V3 task, moving to M7.


Message View Redesign: Crypto status icon

Check if some of the icons need to be updated to look nice and be recognizable in the smaller size we display them now
Figure out if we want to align the recipient text baseline to the bottom of the crypto status icon

What we have right now is good enough.


[Bug] pierrebelin profile doesn't show content

Describe the bug
I defined Pierre (@pierrebelin ) as a creator and corrected the creator card's feed type (to dotnet).
I cannot see his content items on his profile: https://www.wearedotnet.io/pierrebelin.

It looks like it works now!

Thanks you @matthiasjost, works perfectly!


Add Keys() and Dump()

Keys() returns a string-slice of all the keys in the tree. It does
a depth-first-search of the tree, but using a stack of pointers
instead of recursively calling a node-walking function. The string
slice of keys is in sorted order, naturally.
Dump() is a helper function which println()'s the entire tree.
This is helpful when debugging, to see what the tree looks like.

thanks!

You're welcome. I'll be sending you a few more soon.
On Thu, Jul 2, 2015 at 1:05 PM, Martin Schnabel<EMAIL_ADDRESS>wrote:

thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/mb0/critbit/pull/1#issuecomment-118112280.


Internal Error Bug Report [Automatically Created via App]

Version: 0.0.1 build 1
Error: GetEpisodeVTTSubtitles: get 'https://vs-tools.mtvnservices.com/caption/convert?mgid=mgid:file:gsp:alias:/mediabus/DTC/southParkStudiosUSen/359745/HDSS1204P2/HDSS1204P2_en-US_v2.dfxp.xml&accountName=intl.mtvi.com': HTTP error: 404 Not Found
this error was shown for all S12 episodes

Duplicate of #10


[Feature request] Integration with equinox

Equinox is a minimalistic jax nn library. Currently, evosax's "parameter_reshaper" doesn't seem to support it, as the returned modules will have an population (batch) dimension in their weights:
Something like
rng = jax.random.PRNGKey(0) network = eqx.nn.GRUCell(16,20,key=rng) param_reshaper = ParameterReshaper(network)
gets:
'GRUCell(
weight_ih=f32[1,60,16],
weight_hh=f32[1,60,20],
bias=f32[1,60],
bias_n=f32[1,20],
input_size=16,
hidden_size=20,
use_bias=True
) For a population of size one, The correct form should be multiple cells like this: GRUCell(
weight_ih=f32[60,16],
weight_hh=f32[60,20],
bias=f32[60],
bias_n=f32[20],
input_size=16,
hidden_size=20,
use_bias=True
)`
It's possible that there was just something I didn't figure out about the reshaper thing. If that's the case, please kindly inform me of the issue.
Evosax is an awesome project, and more integration into the whole ecosystem would make it even better : )

Thank you for raising this @AntonyJia159! I would love to support Equinox -- although I have to say that I never worked with it and as you correctly pointed out evosax so far only support neural network libraries which use weight pytrees more explicitly. ParameterReshaper requires a pytree as input in order to extract the correct shapes to reshape the flat parameter vectors used in ES. So far I couldn't figure out how to elegantly extract these from equinox modules -- but I am sure that this is possible. Furthermore, we might need a smooth way how to plug the proposed ES candidate weights back in for forward passes. Please let me know if this makes sense and if you have a proposal! Cheers, Rob

FYI @RobertTLange  @AntonyJia159  - Equinox works ok out the box! You just need to vmap the evaluation of the networks too:
import jax
import jax.numpy as jnp
from evosax import CMA_ES, ParameterReshaper
import equinox as eqx

def fitness(net, input, target):
    output = net(input)
    return jnp.mean((output - target) ** 2)

if __name__ == "__main__":
    # Set up single equinox network
    rng = jax.random.PRNGKey(0)
    fixed_input = jax.random.uniform(key=rng, shape=(16,))
    fixed_output = 18.0

    network = eqx.nn.Linear(16, 1, key=rng)
    print("Example single random fitness ", fitness(network, fixed_input, fixed_output))

    # Set up for evosax
    reshaper = ParameterReshaper(network)
    # vmap fitness
    fitness_many = jax.vmap(fitness, in_axes=(0, None, None))

    # Instantiate the search strategy
    strategy = CMA_ES(popsize=20, num_dims=reshaper.total_params, elite_ratio=0.5)
    es_params = strategy.default_params
    state = strategy.initialize(rng, es_params)

    # Run ask-eval-tell loop
    for t in range(10):
        rng, rng_gen, rng_eval = jax.random.split(rng, 3)
        candidate_params, state = strategy.ask(rng_gen, state, es_params)
        candidate_networks = reshaper.reshape(candidate_params)
        fitnesses = fitness_many(candidate_networks, fixed_input, fixed_output)
        print(jnp.min(fitnesses))
        state = strategy.tell(candidate_params, fitnesses, state, es_params)

    # Get best overall population member & its fitness
    print("best fitness:", state.best_fitness)
    print("best params:", state.best_member)

Gives:
Example single fitness  311.59064
ParameterReshaper: 17 parameters detected for optimization.
173.77896
34.950092
19.661118
3.1265647
0.10655613
0.3538381
0.049168102
0.32669815
0.00019323104
0.019950658
best fitness: 0.00019323104
best params: [ 2.3055873   2.9635496   5.8396025   4.113425    0.47761774  2.2564042
  2.6945195  -1.506904   -0.23346913 -1.9476291   3.9967122  -1.9457947
 -3.7017791  -1.44961     0.69735444  1.0968039   5.4032116 ]

Hopefully this is helpful to you guys / others!