How to calculate candidate score in % in elastic search

I'm using same code as you did in Elasticsearch. Im also using euclidean distance in query. I want to get score in % so I multiplied candidate_score * 100 but still results are always coming between 6%  to 12%. can you tell me the process to get candidate score between 0 to 100%..
Thanks

did you use facenet or dlib?

did you use facenet or dlib?

im using facenet

im using facenet

could you test with dlib please as well?

could you test with dlib please as well?

okay but i want to use facenet because it has good accuracy of 99.63%..
basically i want confidence score from 0 to 100%

okay but i want to use facenet because it has good accuracy of 99.63%..
basically i want confidence score from 0 to 100%

Error occurs
ModuleNotFoundError: No module named 'dlib'
I Tried
!pip install dlib but again error
`
ERROR: Command errored out with exit status 1:
command: /opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py'"'"'; file='"'"'/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-record-kobehd0u/install-record.txt --single-version-externally-managed --compile --install-headers /opt/anaconda3/include/python3.8/dlib
cwd: /private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/
Complete output (55 lines):
running install
running build
running build_py
package init file 'tools/python/dlib/init.py' not found (or not a regular file)
running build_ext
Traceback (most recent call last):
File "/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py", line 120, in get_cmake_version
out = subprocess.check_output(['cmake', '--version'])
File "/opt/anaconda3/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/opt/anaconda3/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/opt/anaconda3/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/opt/anaconda3/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py", line 223, in <module>
    setup(
  File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/opt/anaconda3/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/opt/anaconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/opt/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/opt/anaconda3/lib/python3.8/distutils/command/install.py", line 545, in run
    self.run_command('build')
  File "/opt/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/opt/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/opt/anaconda3/lib/python3.8/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/opt/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/opt/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py", line 129, in run
    cmake_version = self.get_cmake_version()
  File "/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py", line 122, in get_cmake_version
    raise RuntimeError("\n*******************************************************************\n" +
RuntimeError:
*******************************************************************
 CMake must be installed to build the following extensions: _dlib_pybind11

`

Error occurs
ModuleNotFoundError: No module named 'dlib'
I Tried
!pip install dlib but again error
`
ERROR: Command errored out with exit status 1:
command: /opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py'"'"'; file='"'"'/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-record-kobehd0u/install-record.txt --single-version-externally-managed --compile --install-headers /opt/anaconda3/include/python3.8/dlib
cwd: /private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/
Complete output (55 lines):
running install
running build
running build_py
package init file 'tools/python/dlib/init.py' not found (or not a regular file)
running build_ext
Traceback (most recent call last):
File "/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py", line 120, in get_cmake_version
out = subprocess.check_output(['cmake', '--version'])
File "/opt/anaconda3/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/opt/anaconda3/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/opt/anaconda3/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/opt/anaconda3/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py", line 223, in <module>
    setup(
  File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/opt/anaconda3/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/opt/anaconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/opt/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/opt/anaconda3/lib/python3.8/distutils/command/install.py", line 545, in run
    self.run_command('build')
  File "/opt/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/opt/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/opt/anaconda3/lib/python3.8/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/opt/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/opt/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py", line 129, in run
    cmake_version = self.get_cmake_version()
  File "/private/var/folders/6g/zt2sx56j5r32k8pzbk8c468r0000gn/T/pip-install-19y483uu/dlib_9f5cd7998e0b4ae1b3a594cc672a7d88/setup.py", line 122, in get_cmake_version
    raise RuntimeError("\n*******************************************************************\n" +
RuntimeError:
*******************************************************************
 CMake must be installed to build the following extensions: _dlib_pybind11

`

Those are the max threshold values for facenet
'Facenet':  {'cosine': 0.40, 'euclidean': 10, 'euclidean_l2': 0.80}
You can find the found distance and max threshold value first. If it is equal to 0.40 (distance would be 0 and max threshold is 0.40), then it has a 100% confidence score. If it is equal to 0, then it has a 99.63% confidence score. You can normalize the confidence based on this approach.

Those are the max threshold values for facenet
'Facenet':  {'cosine': 0.40, 'euclidean': 10, 'euclidean_l2': 0.80}
You can find the found distance and max threshold value first. If it is equal to 0.40 (distance would be 0 and max threshold is 0.40), then it has a 100% confidence score. If it is equal to 0, then it has a 99.63% confidence score. You can normalize the confidence based on this approach.

but its not possible in large scale face recognition...

but its not possible in large scale face recognition...

why? elasticsearch returns you the distance value.

why? elasticsearch returns you the distance value.

elasticsearch is returning only max_score: 0.0901235 and with score of single image also

elasticsearch is returning only max_score: 0.0901235 and with score of single image also

can you help me to calculate distance between these result?

can you help me to calculate distance between these result?

0.0901235 -> this is the distance actually. When it closes to 0 then, confidence closes to 100%.

0.0901235 -> this is the distance actually. When it closes to 0 then, confidence closes to 100%.

can you tell me how to convert it in %? should I have to multiply score * 100 or something else.

can you tell me how to convert it in %? should I have to multiply score * 100 or something else.

try this: 100 - max_score

try this: 100 - max_score

by using this 100 - max_score. confidence should be decrease as we go below.. but with this confidence is increasing as we move down below which is incorrect...

by using this 100 - max_score. confidence should be decrease as we go below.. but with this confidence is increasing as we move down below which is incorrect...

100 - max_score. is not providing accurate results

100 - max_score. is not providing accurate results

i tried alot but not able to find %. can you plz help me in this...
Thanks

i tried alot but not able to find %. can you plz help me in this...
Thanks

unfortunately, there is no linear formula to find the confidence. I recommend you to use ensembe (set model_name to Ensemble). It returns a score. That might help you.

unfortunately, there is no linear formula to find the confidence. I recommend you to use ensembe (set model_name to Ensemble). It returns a score. That might help you.


support automatic HTTPs via Caddy with custom domain

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #445

PR #464   👈

This stack of pull requests is managed by Graphite.


Fix F.clipped_relu test for NumPy 1.17

Part of #7741
From NumPy 1.17, x.clip(0, self.z) returns float64 array even if x.dtype is float16.

Jenkins, test this please.

Jenkins CI test (for commit 36d7a9b9e416707fd173ebd212969128e8ba21fe, target branch master) succeeded!


options[:version] missing, changed to route.options[:version].

A small change, because the :version is missing in options, but I've found it in route.options. So better to pass the route to PathString - to have it there for .path and .options

please use the same pattern for version as for the other route methods, see: https://github.com/ruby-grape/grape-swagger/blob/master/lib/grape-swagger/grape/route.rb, thanks

Done.

This most definitely needs a spec, too.

Made a spec, at last :)

Seems to be in good shape now.

👍

It looks good, still needs a CHANGELOG entry and possibly a README update.

Now it is clean, the specs updated, CHANGELOG entry added.

👍

Merged, 👍


"https" not supported or disabled in libcurl

Hi, I tried compiling the packages and ran into the following error -
CMake Error at gflags_src-stamp/download-gflags_src.cmake:27 (message):
error: downloading 'https://github.com/gflags/gflags/archive/v2.1.2.zip'
failed

status_code: 1
status_string: "Unsupported protocol"
log: Protocol "https" not supported or disabled in libcurl

Closing connection -1

Any help is appreciated. Thanks!

Hi @hriapatil you might have an outdated version of curl. Can you please run: $ curl --version
Also this might be useful: https://askubuntu.com/questions/821186/protocol-https-not-supported-or-disabled-in-libcurl/821993

Hi @rdube , please find below the output of $ curl --version :
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP

This is probably not related to curl itself but to libcurl. More specifically to which version cmake is dynamically linked to. The following should shed some light on this question:
ldd $(which cmake) | grep curl
This should yield the effectively linked .so file (=: YOUR_SO_FILE).
After that you would still need to figure out what the library you found supports or even better how to upgrade it.
On dpkg based systems (Debian, Ubuntu, ..) you can do the first with :
dpkg -S <YOUR_SO_FILE>

I do not get any output from ldd $(which cmake) | grep curl

Interesting! But we are getting closer. How did you get your cmake? Could it be that you compiled it from source? Of which distribution is your Linux? Could you maybe post the output of

which cmake
ldd $(which cmake)
dpkg -S bin/cmake (in case your Linux is dpkg based)
uname -a
lsb_release -a

Thank you very much @HannesSommer for your generous support!

Thank you @HannesSommer and @rdube  for your advice! I managed to solve the issue by reinstalling the libraries and ROS.

Good to hear that! Thank you for sharing your solution.

Which were "the libraries" that you reinstalled? ROS should be irrelevant for this issue but reinstalling it might trigger some relevant library upgrade.

I actually reformatted my system. I believe there were many missing/corrupted links to various libraries.

Ah, I see. Thanks for sharing.


Segmentation fault with cpu module

Hello,
I have a segmentation fault that sometimes occur on by bottom bar. The error doesn't occur at the start, but after some time (sometimes almost immediately, sometimes after quite some time)
Here is the trace from gdb:
$ LEMON_PRIMARY_MONITOR=VGA-1 gdb --args lemonbuddy bottom_primary -l info
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from lemonbuddy...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/lemonbuddy bottom_primary -l info
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
warn: Disabling tray manager (reason: disabled in config)
* Starting application
[New Thread 0x7ffff36c8700 (LWP 26549)]
[New Thread 0x7ffff2ec7700 (LWP 26550)]
* Starting event loop
* Starting module/i3
[New Thread 0x7ffff26c6700 (LWP 26551)]
* Starting module/title
[New Thread 0x7ffff1ec5700 (LWP 26552)]
* Starting module/cpu
[New Thread 0x7ffff16c4700 (LWP 26554)]
* Starting module/memory
[New Thread 0x7ffff0ec3700 (LWP 26556)]
* Starting module/packages
[New Thread 0x7fffdbfff700 (LWP 26557)]
* Starting module/diskspace
[New Thread 0x7fffdb7fe700 (LWP 26558)]

Thread 6 "lemonbuddy" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff16c4700 (LWP 26554)]
0x00007ffff5cb5220 in __memcpy_ssse3 () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff5cb5220 in __memcpy_ssse3 () from /usr/lib/libc.so.6
#1  0x00007ffff647db1b in std::char_traits<char>::copy (__n=49, __s2=<optimized out>, __s1=<optimized out>)
    at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/char_traits.h:290
#2  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy (__n=49, __s=<optimized out>, __d=<optimized out>)
    at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:300
#3  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign (this=0x88d760,
    __str=<error reading variable: Cannot create a lazy string with address 0x0, and a non-zero length.>)
    at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:272
#4  0x000000000055138d in lemonbuddy::v2_0_0::drawtypes::progressbar::fill(unsigned int, unsigned int) ()
#5  0x000000000055167d in lemonbuddy::v2_0_0::drawtypes::progressbar::output[abi:cxx11](float) ()
#6  0x00000000004e7e48 in lemonbuddy::v2_0_0::modules::cpu_module::build(lemonbuddy::v2_0_0::builder*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) const ()
#7  0x00000000004c5d2b in lemonbuddy::v2_0_0::modules::timer_module<lemonbuddy::v2_0_0::modules::cpu_module>::runner() ()
#8  0x00007ffff641531f in std::execute_native_thread_routine (__p=0x837dc0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:83
#9  0x00007ffff5f2d454 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007ffff5c707df in clone () from /usr/lib/libc.so.6
(gdb)

Here is the conf (only the part related to the bar that contains the cpu module)
[bar/bottom_primary]
monitor = ${env:LEMON_PRIMARY_MONITOR}
width = 100%
height = 28
bottom = true

padding-left = 1
padding-right = 3

lineheight = 3

background = ${bar/top.background}
foreground = ${bar/top.foreground}

spacing = 4
separator = "  "

font-0 = ${bar/top.font-0}
font-1 = ${bar/top.font-1}

modules-left = i3
modules-center = title
modules-right = cpu memory packages diskspace

[module/memory]
type = internal/memory
format = <label> <bar-used>
label =  %percentage_used%

bar-used-width = 10
bar-used-foreground-0 = #c1cb7f
bar-used-foreground-1 = #d9c37f
bar-used-foreground-2 = #e4a48a
bar-used-foreground-3 = #ed9896
bar-used-indicator = ■
bar-used-indicator-font = 2
bar-used-indicator-foreground = #55fdf6e3
bar-used-fill = ■
bar-used-fill-font = 2
bar-used-empty = □
bar-used-empty-font = 2
bar-used-empty-foreground = #99586e75

[module/cpu]
type = internal/cpu
interval = 0.5
format = <label> <bar-load>
label =  %percentage%

bar-load-width = 10
bar-load-foreground-0 = #c1cb7f
bar-load-foreground-1 = #d9c37f
bar-load-foreground-2 = #e4a48a
bar-load-foreground-3 = #ed9896
bar-load-indicator = ■
bar-load-indicator-font = 0
bar-load-indicator-foreground = #55fdf6e3
bar-load-fill = ■
bar-load-fill-font = 0
bar-load-empty = □
bar-load-empty-font = 0
bar-load-empty-foreground = #99586e75

[module/i3]
type = internal/i3

pin-workspaces=true
index-sort=true

format = <label-state>

ws-icon-default=
ws-icon-0 = 1;
ws-icon-1 = 2;
ws-icon-2 = 3;
ws-icon-3 = 9;
ws-icon-4 = 10;

label-focused = " %icon%%name% "
label-focused-foreground = #1d1f21
label-focused-background = #2d6c95
label-focused-underline = #ee4433
label-focused-padding = 2

label-unfocused = " %icon%%name% "
label-unfocused-padding = 2

label-visible = " %icon%%name% "
label-visible-padding = 2

label-urgent = " %icon%%name% "
label-urgent-foreground = #ee4433
label-urgent-padding = 2

[module/title]
type = custom/script
exec = xtitle -s
tail = true
maxlen = 120

[module/diskspace]
type = custom/script
exec = /home/benoit/.scripts/lemon_diskspace.sh
interval = 60

[module/packages]
type = custom/script
exec = /home/benoit/.scripts/lemon_packages.sh
interval = 60

If it helps, I noticed that the segfault seems to happen when I have a High CPU load. Maybe it occurs when the module tries to display 100% or something ?

Yeah that might be the issue.. I will test the config


Include Genres in metadata

Requested Feature
I would like to be able to see the genre when you get songs from Spotify since it doesn't look nice when it says unknown genre or simply Unknown.
Possible implementation
No response

Yeah is a really good thing to add it, I need it too because im making a script to automatise things and I need genre metadata for enhancing the audio.

Genres are already included, it's possible that either Spotify doesn't have genre information for your songs or your music player can't correctly read the ID3 tag from the file.


UI bug - not possible to change from Shared Network type

Describe the issue
It looks like it's not possible to change  from Shared Network type to any other type (or change the network card).
Is this expected behavior?
If it helps, I was troubleshooting Windows 10/11 network issues and had to manually add the <IP_ADDRESS> / <IP_ADDRESS> DNS servers then internet started working so I didn't even need those options but its strange I could not change them in the first place.
Video here:

Configuration

UTM Version: Version 4.1.6 (75)
macOS Version: 13.2.1
Mac Chip (Intel, M1, ...): m1

I'm unable to replicate this on an M1 Max running 4.1.6 on 13.2.1. You'll need to add some more details about the VM.


Invalid VkImageCreateInfo->sharingMode validation layer error in Release builds of msaa/16bit_arithmetic samples

I see the following validation layer error when running Release builds of the msaa/16bit_arithmetic samples when the samples are built using -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVKB_VALIDATION_LAYERS=ON.
[error] 81114962 - VUID-VkImageCreateInfo-sharingMode-parameter: Validation Error: [ VUID-VkImageCreateInfo-sharingMode-parameter ] | MessageID = 0x4d5b752 | vkCreateImage(): pCreateInfo->sharingMode (23330) does not fall within the begin..end range of the VkSharingMode enumeration tokens and is not an extension added token. The Vulkan spec states: sharingMode must be a valid VkSharingMode value (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkImageCreateInfo-sharingMode-parameter)
This can be fixed by conditionally setting sharingMode in https://github.com/KhronosGroup/Vulkan-Samples/blob/f7e97a19378255e01b51acc211bf6b31c849a34c/framework/core/image.h#L120 i.e. create_info.sharingMode        = create_info.queueFamilyIndexCount != 0 ? VK_SHARING_MODE_CONCURRENT : VK_SHARING_MODE_EXCLUSIVE;. I didn't raise a PR as I'm not particularly familiar with this codebase and I wasn't sure whether there was a reason this wasn't done originally.
Vulkan-Samples built with gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 on Ubuntu 24.04.
Reproduced on:
	driverID           = DRIVER_ID_MESA_LLVMPIPE 	driverName         = llvmpipe 	driverInfo         = Mesa 24.3~git2410240600.c0bcea~oibaf~n (git-c0bceaf 2024-10-24 noble-oibaf-ppa) (LLVM 18.1.8)
Tested on commit f7e97a19378255e01b51acc211bf6b31c849a34c.

This looks indeed like an error in the framework. I can't find the place where the create info is properly zero-initialized. Sadly it's heavily abstracted, so someone with a deeper knowledge of that builder class should take a look. @asuessenbach could you take a look?

I can't reproduce this issue.
And the sharingMode should in fact be initialized to vk::SharingMode::Exclusive (or VK_SHARING_MODE_EXCLUSIVE)
@JamesRumble-IMG Could you please verify, that it has some defined value in the HPPImageBuilder and the ImageBuilder constructors are set (hpp_image.h, line 45, image.h, line 48)?

Hi, odd its readily reproducible for me.
I've included some output from gdb showing the issue below. Re HPPImageBuilder and hpp_image the image being created in this demo is a vkb::core::Image and HPPImageBuilder doesn't seem to be involved in its creation as far as I can tell. Is that expected?
vkb::core::ImageBuilder::ImageBuilder (extent=..., this=0x7fffffffce60) at Vulkan-Samples/framework/core/image.h:48
(gdb) p create_info
$5 = (VkImageCreateInfo &) @0x7fffffffce90: {sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, pNext = 0x0, flags =<PHONE_NUMBER>, imageType = 32767, format =<PHONE_NUMBER>, extent = {width =<PHONE_NUMBER>, height =<PHONE_NUMBER>, depth = 21845}, mipLevels = 1,
arrayLayers = 0, samples =<PHONE_NUMBER>, tiling = 32767, usage =<PHONE_NUMBER>, sharingMode = 32767, queueFamilyIndexCount =<PHONE_NUMBER>, pQueueFamilyIndices = 0x7ffff78ec96d <__GI___clock_gettime+29>, initialLayout = VK_IMAGE_LAYOUT_UNDEFINED}
(gdb)  backtrace
#0  vkb::core::ImageBuilder::ImageBuilder (extent=..., this=0x7fffffffce60) at Vulkan-Samples/framework/core/image.h:48
#1  vkb::core::Image::Image (this=this@entry=0x55555655f680, device=..., extent=..., format=format@entry=VK_FORMAT_R16G16B16A16_SFLOAT, image_usage=image_usage@entry=12, memory_usage=memory_usage@entry=VMA_MEMORY_USAGE_GPU_ONLY,
sample_count=VK_SAMPLE_COUNT_1_BIT, mip_levels=1, array_layers=1, tiling=VK_IMAGE_TILING_OPTIMAL, flags=0, num_queue_families=0, queue_families=0x0) at Vulkan-Samples/framework/core/image_core.cpp:95
#2  0x0000555555dd6cfa in std::make_unique<vkb::core::Image, vkb::Device&, VkExtent3D, VkFormat, int, VmaMemoryUsage> () at /usr/include/c++/13/bits/unique_ptr.h:1070
#3  KHR16BitArithmeticSample::prepare (this=, options=...) at Vulkan-Samples/samples/performance/16bit_arithmetic/16bit_arithmetic.cpp:126
#4  0x00005555558f953e in vkb::Platform::start_app (this=this@entry=0x7fffffffd5b0) at /usr/include/c++/13/bits/unique_ptr.h:199
#5  0x00005555558f9828 in vkb::Platform::main_loop_frame (this=this@entry=0x7fffffffd5b0) at Vulkan-Samples/framework/platform/platform.cpp:129
#6  0x00005555558f98b1 in vkb::Platform::main_loop (this=this@entry=0x7fffffffd5b0) at Vulkan-Samples/framework/platform/platform.cpp:186
#7  0x00005555558f18de in platform_main (context=...) at Vulkan-Samples/app/main.cpp:67
#8  0x00005555558f2093 in main (argc=, argv=) at /usr/include/c++/13/bits/unique_ptr.h:199
And another snippet:
vkb::core::ImageBuilder::with_implicit_sharing_mode (this=0x7fffffffce60) at Vulkan-Samples/framework/core/image.h:118
(gdb) p create_info
$2 = (VkImageCreateInfo &) @0x7fffffffce90: {sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, pNext = 0x0, flags = 0, imageType = VK_IMAGE_TYPE_2D, format = VK_FORMAT_R16G16B16A16_SFLOAT, extent = {width = 1024, height = 1024, depth = 1},
mipLevels = 1, arrayLayers = 1, samples = VK_SAMPLE_COUNT_1_BIT, tiling = VK_IMAGE_TILING_OPTIMAL, usage = 12, sharingMode = 32767, queueFamilyIndexCount = 0, pQueueFamilyIndices = 0x0, initialLayout = VK_IMAGE_LAYOUT_UNDEFINED}

That's strange!
Let's look one level deeper: Could you please verify what you have in the BuilderBase constructor, in framework/builder_base.h, line 75? What values has the constructor argument create_info, and what has this->create_info?
Regarding HPPImageBuilder and hpp_image: those are used by some framework images (3 x depth_image, font_image).

With an optimised build its fairly difficult to get the result of this->create_info on line 75 of framework/builder_base.h
The constructor argument create_info looks fine though I think.
(gdb) p create_info
$6 = (const VkImageCreateInfo &) @0x7fffffffce00: {sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, pNext = 0x0, flags = 0, imageType = VK_IMAGE_TYPE_1D, format = VK_FORMAT_UNDEFINED, extent = {width = 0, height = 0, depth = 0}, mipLevels = 0,
arrayLayers = 0, samples = 0, tiling = VK_IMAGE_TILING_OPTIMAL, usage = 0, sharingMode = VK_SHARING_MODE_EXCLUSIVE, queueFamilyIndexCount = 0, pQueueFamilyIndices = 0x0, initialLayout = VK_IMAGE_LAYOUT_UNDEFINED}

Well, if the constructor argument looks fine either the copy operation of that argument fails, or something else changes some values later on.
That is, maybe you could for example add some output into that function, telling us how this->create_info (or at least this->create_info.sharingMode) looks like.
For example:
	std::cout << __FUNCTION__ << " : this->create_info.sharingMode = " << vk::to_string( this->create_info.sharingMode ) << std::endl;
(would require #include <iostream>)

I ran into the same VVL violation with descriptor_management sample, and the issue is with the implicit sharing mode init. This would fix it:  https://github.com/KhronosGroup/Vulkan-Samples/pull/1211

That is, maybe you could for example add some output into that function, telling us how this->create_info (or at least this->create_info.sharingMode) looks like. For example: std::cout << __FUNCTION__ << " : this->create_info.sharingMode = " << vk::to_string( this->create_info.sharingMode ) << std::endl; (would require #include <iostream>)

Unfortunately the logs look fine ("BuilderBase : this->create_info.sharingMode = Exclusive")

Well, if the constructor argument looks fine either the copy operation of that argument fails, or something else changes some values later on.

I had another look though and the state of create_info and this->create_info look wrong at Vulkan-Samples/framework/core/image.h:48. This is at a point the code is expecting that they are zero-initialised (other than sType a couple of lines above).
vkb::core::ImageBuilder::ImageBuilder (extent=..., this=0x7fffffffcd60) at Vulkan-Samples/framework/core/image.h:48
48                      create_info.extent             = extent;
(gdb) p create_info
$3 = (VkImageCreateInfo &) @0x7fffffffcd90: {sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, pNext = 0x0, flags =<PHONE_NUMBER>, imageType = 32767, format =<PHONE_NUMBER>, extent = {width = 21845, height =<PHONE_NUMBER>, depth = 21845}, mipLevels = 5,
arrayLayers = 21845, samples =<PHONE_NUMBER>, tiling = 21845, usage = 0, sharingMode = VK_SHARING_MODE_CONCURRENT, queueFamilyIndexCount =<PHONE_NUMBER>, pQueueFamilyIndices = 0xffffffff00000000, initialLayout = VK_IMAGE_LAYOUT_UNDEFINED}
(gdb) p this->create_info
$4 = {static allowDuplicate = false, static structureType = vk::StructureType::eImageCreateInfo, sType = vk::StructureType::eImageCreateInfo, pNext = 0x0, flags = {m_mask =<PHONE_NUMBER>},
imageType = (vk::ImageType::e2D | vk::ImageType::e3D | unknown: 0x7ffc), format =<PHONE_NUMBER>, extent = {width = 21845, height =<PHONE_NUMBER>, depth = 21845}, mipLevels = 5, arrayLayers = 21845, samples = (unknown: 0x56523e80), tiling = 21845,
usage = {m_mask = 0}, sharingMode = vk::SharingMode::eConcurrent, queueFamilyIndexCount =<PHONE_NUMBER>, pQueueFamilyIndices = 0xffffffff00000000, initialLayout = vk::ImageLayout::eUndefined}
I hacked in create_info = {VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, nullptr}; on Vulkan-Samples/framework/core/image.h:48 after getting the create_info and the warning goes away.
It seems like there may be some undefined behaviour? If I had to guess, The various reinterpret_casts between types seem dubious to me.
@asuessenbach have you had any luck trying to reproduce this on your end?

have you had any luck trying to reproduce this on your end?

No, I can't reproduce this behaviour.
If the BuilderBase constructor looks fine, that is the Parent's initialization on line 45 in image.h, but on line 47 it looks wrong, where the heck does that come from??
Would you please use -fno-strict-aliasing with your build? Does that change anything?

Would you please use -fno-strict-aliasing with your build? Does that change anything?

The validation layer issue goes away for me after compiling with -fno-strict-aliasing. We've hit these kinds of issues before. They're never fun :(.

Are you ok with this setting?

Sure that's fine with me in that it "fixes" the issue. Are you suggesting using that by default in the samples?
Using -fno-strict-aliasing does however mean forgoing some potential optimisation possibilities and its generally working around a fundamental issue

Yes, I think, at least for now, -fno-strict-aliasing should be used by default here.

I think we should enable it to be on the safe side. Android builds use clang, and I'm not sure what's the default there. Not sure about Apple platforms though.

Since the samples are c++ codes, it'd be safer to memset at the tail of the builder class to ensure zero initialized? correctness is more important than the tiny perf diff for the samples I bet ; )

I'm a fan of doing things explicit. We want people to learn from our samples, and the part of code that causes this issue already kinda hard to follow. So yes, doing anything to make it easier to understand would be a good idea. Maybe not memset, but rather an explicit initialization?

I'm a fan of doing things explicit. We want people to learn from our samples, and the part of code that causes this issue already kinda hard to follow. So yes, doing anything to make it easier to understand would be a good idea. Maybe not memset, but rather an explicit initialization?

Explicit init would be ideal. Someone has to do a deep refactor to clean things up, so we don’t pay extra to zero things inside the builder or rely on potentially platform specific tricks.


Webpage not loading format or responding to light strip interaction

When I boot up the ESP8266 I can connect to the wifi network and open the web page, however, the page appears only as text and small buttons. No color, just a white background and black text. Also, nothing happens when I interact with the buttons in order to control the lights. Any ideas on what the problem could be? (I am using Chrome on a laptop running the latest version of windows)
Thank you.

Sounds like in general the web page is not loading the dependencies correctly.
If you have not rolled back to the ESP core 2.5.2, this is a current issue discussed over at #26.
If you are using the ESP as an access point the web page will not work unless you have cached the page first as it requires Bootstrap and Jquery to work properly. This is an issue with the implementation of this code, as we cannot store and send the data required to make it work from the access point mode.
If it is another issue this may be another bug. Let me know.

Okay, I will give that a try. (Please excuse my ignorance, this is my first arduino base project) I also have a question about the port to use for the board. When I select any port (COM3, COM4) other than COM5 the uploading process always returns an error after/during the connecting process. Is that the correct port to use or have I done something wrong to cause this? Thank you so much for your help!

Actually, I got it to work. I honestly have no idea how, but it works!

Please excuse my ignorance, this is my first Arduino base project

Any and all contributions are welcome. This is a valid issue, and by the sounds of it you managed to solve it. For . Same goes for most repo's.
This is also an issues tracker, and like other repo's on GitHib, they are managed to report issues with the code contained in a project and how it runs on its platform. Your new issue #42 is a fantastic issue to raise as it relates directly to this code. Many thanks.
Standard issues such as the com port issues you mention above are not related to this repo as it is just a generic Arduino IDE error. There is a fair amount of grey area when deciding if an issue is valid for a repo, but for future, have a read through the existing issues that have been raised and you might find your problem explained there. Just a little something to keep in mind when raising issues across GitHub.
For the com port however, as far as I understand these are generated by your computer for different connected devices. So I have com3 as my keyboard and mouse and com16 is the one my ESP pops up on. It also can change between boards. The com number means nothing, but when you find the one that works, it means you found your board.


Verify exp claim/field even if it's not present

Is there a way to enforce the verification of exp or iat claim/field? I checked the implementation and claims/fields are only verified if they are present. In my opinion there should be a way to force the verification and prevent mistakenly not adding these claims. What do you think?

The main focus of this gem is about verifying the validity and correctness of the token itself. The RFC that it follows requires that the token be deemed invalid if those claims are provided and not correct.
What I believe you're looking for is policy enforcement beyond the RFC - i.e. not just "is this token valid?" but "does this token match my application's requirements?". This gem's focus is the first question, because the second is a much, much harder problem to solve generically because of the multitude of ways in which JWTs are used... For example, in some use cases, exp may be required only if the iss claim is provided with a specific value.
I would suggest creating a wrapper that first uses the gem's verify to assert the token's correctness, then to assert any policy you may have such as must include exp and. iat claims

I understand your point but, I'll try to find a nice way to validate the presence of these claims 👍


SQL injection attacks?

The WHERE clause of a SQL query is traditionally the place where SQL injection attacks gain entry. When working with SQL Server, developers counter this through the use of parameterised variables. I see no discussion on this Cosmos DB SQL API page regarding this security issue. Is that because analysis (or design) has determined that no issue exists? Even if that is the case, it would be reassuring to have this stated clearly. If there is a vulnerability here, we need guidance as to how to defend against it.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a641b52c-39cb-fb2d-ed45-ded0ffafdb66
Version Independent ID: a432ca73-d567-ae0b-7fe8-772556c8bdbe
Content: WHERE clause in Azure Cosmos DB
Content Source: articles/cosmos-db/sql-query-where.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @timsander1
Microsoft Alias: tisande

@MichaelBrooks-Informatyx Thank you for feedback. I will be closing this issue as a duplicate of https://github.com/MicrosoftDocs/azure-docs/issues/77300


Support TLS 1.3 kexs and groups with DTLS 1.3

@t8m This is ready for review. Would you please add labels to reflect that? Thanks!

@t8m @mattcaswell Please review this before other DTLS 1.3 PR's as this is needed to pass tests in https://github.com/openssl/openssl/pull/22275. Thanks!

#22366 is now merged. @fwh-dc - can you rebase this?

Done.

Hmmm... what is that CI failure:
libcrypto.a(libcrypto-lib-defltprov.o): in function `deflt_get_params':
defltprov.c:(.text+0x12c): relocation truncated to fit: R_68K_GOT16O against `.LC0'
libcrypto.a(libcrypto-lib-pvkfmt.o): in function `derive_pvk_key.constprop.0':
pvkfmt.c:(.text+0x292): relocation truncated to fit: R_68K_GOT16O against `.LC[5](https://github.com/openssl/openssl/actions/runs/8552374677/job/23433349681?pr=22364#step:9:6)'
libcrypto.a(libcrypto-lib-x509_trust.o): in function `X509_TRUST_cleanup':
x509_trust.c:(.text+0x[6](https://github.com/openssl/openssl/actions/runs/8552374677/job/23433349681?pr=22364#step:9:7)34): relocation truncated to fit: R_68K_GOT16O against `trtable_free'
collect2: error: ld returned 1 exit status

Doesn't look relevant to this PR though.

Not relevant, we would get rid of it if we rebased the feature branch
against fresh master branch.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Squashed and merged to the feature branch. Thank you for your contribution.


Add zoom out/overview/preview option

To make it easier to see the whole pdf. Could be useful for stitching and finding pieces. Need to think of UI for it though.

Fix in #291


Update MD5 digest for testing under Ruby 2.4

Ruby 2.4 deprecated Fixnum & Bignum by unifying them into Integer (see https://www.ruby-lang.org/en/news/2016/12/25/ruby-2-4-0-released/). This means the MD5 digests for the integers in our tests have a class of Integer under 2.4.0 and later instead of Fixnum from earlier releases which means we need to update the digests specifically for Ruby >= 2.4.0.  This PR does just that.
I didn't go the route of modifying Linguist::MD5.hexdigest as any mention of Fixnum or Bignum results in a deprecation warning which gets annoying fast 💨.
/cc @github/data-engineering

Behold... it's a thing of beauty:

We've not had this one green for a very very long time.


Allow trailing commas after arguments/fn-params.

This should definitely have tests of its own.

I saw nothing happened at https://github.com/jquery/esprima/issues/316, we should still pursue getting this done upstream since it's not specific to our esprima.

(though understandably it's not far enough along so we can take it here first and deal later)

For the record, I used http://esprima.org/demo/parse.html to get the structure for the non-trailing-comma version of the code, and then inserted that into the test file. Running npm test then yielded an output like "expected [actual-structure] to match [correct-structure]" which finally provided me with the correct structure, which I copy-pasted into the test file again.
Is there a better way to do create these tests? I don't really like having to do the above (because I'm only testing against future changes, not for my own code; which I guess might be sufficient in this case), but couldn't think of anything else.


Undefined reference errors when compiling shared libraries

OpenSSL version: 3.0.8
Hello,
I am new to compiling stuff on linux, so I apologize in advanced if this is something easily solved
I need to build the shared library of openssl for Python 3.11.2 but when compiling I get these linker errors
/usr/bin/ld/usr/bin/ld: : e_loader_attic.c:digestcommon.c:((.text.text+0x+0x33bc2e)): undefined reference to `: undefined reference to `OSSL_STORE_LOADER_set_errorOSSL_PARAM_set_size_t'
'
/usr/bin/ld/usr/bin/ld: : e_loader_attic.c:digestcommon.c:((.text.text+0x+0x33d745)): undefined reference to `: undefined reference to `OSSL_STORE_LOADER_set_closeOSSL_PARAM_locate'
'
/usr/bin/ld/usr/bin/ld: : e_loader_attic.c:digestcommon.c:((.text.text+0x+0x33ee55)): undefined reference to `: undefined reference to `ENGINE_set_idOSSL_PARAM_set_size_t'
'
/usr/bin/ld/usr/bin/ld: : e_loader_attic.c:digestcommon.c:((.text.text+0x+0x340568)): undefined reference to `: undefined reference to `ENGINE_set_nameOSSL_PARAM_locate'
'
/usr/bin/ld/usr/bin/ld: : e_loader_attic.c:digestcommon.c:((.text.text+0x+0x341c7a)): undefined reference to `: undefined reference to `ENGINE_set_destroy_functionOSSL_PARAM_set_int'
'
/usr/bin/ld/usr/bin/ld: : e_loader_attic.c:digestcommon.c:((.text.text+0x+0x34338d)): undefined reference to `: undefined reference to `ENGINE_set_init_functionOSSL_PARAM_locate'
'
/usr/bin/ld/usr/bin/ld: : e_loader_attic.c:digestcommon.c:((.text.text+0x+0x344aa3)): undefined reference to `: undefined reference to `ENGINE_set_finish_functionOSSL_PARAM_set_int'
'
/usr/bin/ld/usr/bin/ld: : e_loader_attic.c:digestcommon.c:((.text.text+0x+0x345ec1)): undefined reference to `: undefined reference to `OSSL_STORE_register_loaderERR_new'
'
/usr/bin/ld: /usr/bin/lde_loader_attic.c:: (digestcommon.c:.text(+0x.text3481+0x)d9: undefined reference to `)ERR_get_next_error_library: undefined reference to `'
ERR_set_debug/usr/bin/ld'
: /usr/bin/lde_loader_attic.c:: (digestcommon.c:.text(+0x.text3498+0x)ec: undefined reference to `)ERR_load_strings: undefined reference to `'
ERR_set_error'
/usr/bin/ld/usr/bin/ld: : e_loader_attic.c:digestcommon.c:((.text.text+0x+0x34b1101)): undefined reference to `: undefined reference to `ERR_get_next_error_libraryERR_new'
'
/usr/bin/ld/usr/bin/ld: : digestcommon.c:(engines/loader_attic-dso-e_loader_attic.o.text: in function `+0xstore_info_free119':
)e_loader_attic.c:: undefined reference to `(ERR_new.text'
+0x/usr/bin/ld759: )digestcommon.c:: undefined reference to `(OSSL_STORE_INFO_free.text'
+0x/usr/bin/ld131: ): undefined reference to `engines/loader_attic-dso-e_loader_attic.oERR_new: in function `'
ERR_ATTIC_error.constprop.0':
e_loader_attic.c:(.text+0x884): undefined reference to `ERR_set_debug'
/usr/bin/ld: providers/libcommon.a(libcommon-lib-tls_pad.o): in function `ssl3_cbc_remove_padding_and_mac':
tls_pad.c:(.text+0x11c): undefined reference to `RAND_bytes_ex'
/usr/bin/ld: tls_pad.c:(.text+0x154): undefined reference to `CRYPTO_malloc'
/usr/bin/ld: providers/libcommon.a(libcommon-lib-tls_pad.o): in function `tls1_cbc_remove_padding_and_mac':
tls_pad.c:(.text+0x4b6): undefined reference to `RAND_bytes_ex'
/usr/bin/ld: tls_pad.c:(.text+0x505): undefined reference to `CRYPTO_malloc'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:20898: engines/loader_attic.so] Error 1
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:20962: providers/legacy.so] Error 1
make[1]: Leaving directory '/home/dariussg/Documents/Compile-Code/openssl-3.0.8'
make: *** [Makefile:2837: build_sw] Error 2

That goes on for all of the shared libraries, however building static libraries seems fine.
The shared libraries still get generated, but I don't know if they actually will work.
Configure Command
perl ./Configure --prefix=/tools/deps linux-x86_64 no-tests --openssldir=/etc/ssl -fvisibility=hidden shared
Output from perl configdata.pm --dump:

Command line (with current working directory = .):

    /usr/bin/perl ./Configure --prefix=/tools/deps linux-x86_64 no-tests --openssldir=/etc/ssl -fvisibility=hidden shared

Perl information:

    /usr/bin/perl
    5.36.0 for x86_64-linux-thread-multi

Enabled features:

    afalgeng
    aria
    asm
    async
    autoalginit
    autoerrinit
    autoload-config
    bf
    blake2
    bulk
    cached-fetch
    camellia
    capieng
    cast
    chacha
    cmac
    cmp
    cms
    comp
    ct
    deprecated
    des
    dgram
    dh
    dsa
    dso
    dtls
    dynamic-engine
    ec
    ec2m
    ecdh
    ecdsa
    engine
    err
    filenames
    gost
    idea
    legacy
    loadereng
    makedepend
    md4
    mdc2
    module
    multiblock
    nextprotoneg
    ocb
    ocsp
    padlockeng
    pic
    pinshared
    poly1305
    posix-io
    psk
    rc2
    rc4
    rdrand
    rfc3779
    rmd160
    scrypt
    secure-memory
    seed
    shared
    siphash
    siv
    sm2
    sm3
    sm4
    sock
    srp
    srtp
    sse2
    ssl
    ssl-trace
    static-engine
    stdio
    threads
    tls
    ts
    ui-console
    whirlpool
    tls1
    tls1-method
    tls1_1
    tls1_1-method
    tls1_2
    tls1_2-method
    tls1_3
    dtls1
    dtls1-method
    dtls1_2
    dtls1_2-method

Disabled features:

    acvp-tests          [cascade]        OPENSSL_NO_ACVP_TESTS
    asan                [default]        OPENSSL_NO_ASAN
    buildtest-c++       [default]
    crypto-mdebug       [default]        OPENSSL_NO_CRYPTO_MDEBUG
    devcryptoeng        [default]        OPENSSL_NO_DEVCRYPTOENG
    ec_nistp_64_gcc_128 [default]        OPENSSL_NO_EC_NISTP_64_GCC_128
    egd                 [default]        OPENSSL_NO_EGD
    external-tests      [default]        OPENSSL_NO_EXTERNAL_TESTS
    fips                [default]
    fips-securitychecks [cascade]        OPENSSL_NO_FIPS_SECURITYCHECKS
    fuzz-afl            [default]        OPENSSL_NO_FUZZ_AFL
    fuzz-libfuzzer      [default]        OPENSSL_NO_FUZZ_LIBFUZZER
    ktls                [default]        OPENSSL_NO_KTLS
    md2                 [default]        OPENSSL_NO_MD2 (skip crypto/md2)
    msan                [default]        OPENSSL_NO_MSAN
    rc5                 [default]        OPENSSL_NO_RC5 (skip crypto/rc5)
    sctp                [default]        OPENSSL_NO_SCTP
    tests               [option]         OPENSSL_NO_TESTS
    trace               [default]        OPENSSL_NO_TRACE
    ubsan               [default]        OPENSSL_NO_UBSAN
    unit-test           [default]        OPENSSL_NO_UNIT_TEST
    uplink              [no uplink_arch] OPENSSL_NO_UPLINK
    weak-ssl-ciphers    [default]        OPENSSL_NO_WEAK_SSL_CIPHERS
    zlib                [default]
    zlib-dynamic        [default]
    ssl3                [default]        OPENSSL_NO_SSL3
    ssl3-method         [default]        OPENSSL_NO_SSL3_METHOD

Config target attributes:

    AR => "ar",
    ARFLAGS => "qc",
    CC => "gcc",
    CFLAGS => "-Wall -O3",
    CXX => "g++",
    CXXFLAGS => "-Wall -O3",
    HASHBANGPERL => "/usr/bin/env perl",
    RANLIB => "ranlib",
    RC => "windres",
    asm_arch => "x86_64",
    bn_ops => "SIXTY_FOUR_BIT_LONG",
    build_file => "Makefile",
    build_scheme => [ "unified", "unix" ],
    cflags => "-pthread -m64",
    cppflags => "",
    cxxflags => "-std=c++11 -pthread -m64",
    defines => [ "OPENSSL_BUILDING_OPENSSL" ],
    disable => [  ],
    dso_ldflags => "-Wl,-z,defs",
    dso_scheme => "dlfcn",
    enable => [ "afalgeng" ],
    ex_libs => "-ldl -pthread",
    includes => [  ],
    lflags => "",
    lib_cflags => "",
    lib_cppflags => "-DOPENSSL_USE_NODELETE -DL_ENDIAN",
    lib_defines => [  ],
    module_cflags => "-fPIC",
    module_cxxflags => undef,
    module_ldflags => "-Wl,-znodelete -shared -Wl,-Bsymbolic",
    multilib => "64",
    perl_platform => "Unix",
    perlasm_scheme => "elf",
    shared_cflag => "-fPIC",
    shared_defflag => "-Wl,--version-script=",
    shared_defines => [  ],
    shared_ldflag => "-Wl,-znodelete -shared -Wl,-Bsymbolic",
    shared_rcflag => "",
    shared_sonameflag => "-Wl,-soname=",
    shared_target => "linux-shared",
    thread_defines => [  ],
    thread_scheme => "pthreads",
    unistd => "<unistd.h>",

Recorded environment:

    AR =
    BUILDFILE =
    CC =
    CFLAGS =
    CPPFLAGS =
    CROSS_COMPILE =
    CXX =
    CXXFLAGS =
    HASHBANGPERL =
    LDFLAGS =
    LDLIBS =
    OPENSSL_LOCAL_CONFIG_DIR =
    PERL =
    RANLIB =
    RC =
    RCFLAGS =
    WINDRES =
    __CNF_CFLAGS =
    __CNF_CPPDEFINES =
    __CNF_CPPFLAGS =
    __CNF_CPPINCLUDES =
    __CNF_CXXFLAGS =
    __CNF_LDFLAGS =
    __CNF_LDLIBS =

Makevars:

    AR              = ar
    ARFLAGS         = qc
    CC              = gcc
    CFLAGS          = -Wall -O3 -fvisibility=hidden
    CPPDEFINES      =
    CPPFLAGS        =
    CPPINCLUDES     =
    CXX             = g++
    CXXFLAGS        = -Wall -O3 -fvisibility=hidden
    HASHBANGPERL    = /usr/bin/env perl
    LDFLAGS         =
    LDLIBS          =
    PERL            = /usr/bin/perl
    RANLIB          = ranlib
    RC              = windres
    RCFLAGS         =

NOTE: These variables only represent the configuration view.  The build file
template may have processed these variables further, please have a look at the
build file for more exact data:
    Makefile

build file:

    Makefile

build file templates:

    Configurations/common0.tmpl
    Configurations/unix-Makefile.tmpl

Would appreciate help.

Hi @DariusSG
could you please check whether you have exported proper library for openssl?
can you check command below and post here?
--> echo $LD_LIBRARY_PATH

--> echo $LD_LIBRARY_PATH
> echo $LD_LIBRARY_PATH
/usr/local/lib

The make output is a bit chaotic...  did you perchance run a parallel make (with the -j output)?  For demonstration purposes, it's better do run make without the -j output, that will give a less chaotic log.

Output for make
https://pastebin.com/azZkGy0L

Ah, it seems that this configuration bit confuses the build: -fvisibility=hidden.  We do control what's exported in the shared libraries already, through linker scripts, and that visibility setting isn't compatible with it (it expects the exports to happen with the symbol attribution __attribute__((visibility("default"))) or similar, which is a different mechanism).
So, if you remove -fvisibility=hidden, things should be better.

Thanks, It works now


Open Source Server Solution

Concepts & Coordination for a open source server solution can be discussed here

Small update from my end. I was able to get some progress during the course of the holidays with this project:

I enhanced the docs with the topics of firmware patching
I implemented a working prototype of the Nello being integrated into my HomeKit SmartHome system including door opening.

I decided for myself that I would prefer a local solution in my network over an additional internet dependency as I anyhow have HomeKit that allows me to control HomeKit devices from the Internet.
I went with a "bridge" implementation (Nello One MQTT Message <-> HomeKit) on an ESP32 based on HomeSpan. My working prototype can:

Deliver the ring signal to HomeKit resulting in a Push Notification on iOS and a "Ring" sound on the HomePod
The switch can be turned on for triggering the "manual" Door Opener (resets to off after 3 seconds automatically).

Due to time reasons I skipped the following points:

Running the MQTT Broker on the same ESP32 (currently it is running on a internet facing server as a workaround – so it is not yet fully offline compatible)
Implementing the Auto Opening capability as a second HomeKit Switch (would enable Timeframe & GeoZone capabilities with HomeKit automations)
Implementing the pairing / learning sequences

If there is an interest to continue working on a local ESP32 based solution, I can push the code for collaboration. If there is no public interest on this – I would keep further developing it on my own without pushing it to this public repo.
Feel free to indicate via reactions or comments.

I am definitely still very much interested in this. My nello is still mounted to my door bell, however I missed the time window that would have allowed me to capture packets that could be used to replay. I've been silently watching GitHub for any emerging projects that would enable me to make use of this hardware again.

any updates or beta release ? Please keep it up! I also prefer a simple local HomeKit solution

any updates or beta release ? Please keep it up! I also prefer a simple local HomeKit solution

@Karrypto So I have pushed some enhancements to the docs as well as a very simple beta implementation of a HomeKit Bridge between the NelloOne and your local HomeKit. It is by far not complete but may be a good start for collaborating here. I would like to advertise any contributions to this project are more than welcome, as I am currently quite short on time.
You can checkout the ESP32 project in the subfolder open-nello-esp-homekit.
The file Config.h.template can be copied to the gitignored Config.h and enhanced with the configuration values of your needs.
As stated before the project is based on the HomeSpan Framework.
Once the Wifi connection to your network is established, it connects to the specified mqtt broker and subscribes to the nello topics of your client and acts as very simplified nello backend. It exposes the ring signal to homekit and the homekit door opening signal back to the nello.
Now comes the tricky part. You need both your actual nello to connect to the same (& reliable) mqtt broker and the correct AES keys matching the ones from your ESP config. For this, either the fault injection hardware attack needs to be done (complex & time consuming), which allows you to dump your nello device specific firmware + client id + encryption keys.
The other option is to override the nello flash with a patched firmware directly, which is much easier (but still requires opening the device and some cables to connect via Serial interface). Downside is you would loose the original one, so if the service would ever come online again your custom nello would not be able to connect to the original service ever again without a backup of the original firmware.
Both is described in the docs.
I have dumped two firmware versions which in theory could be used to create a custom one with new encryption keys, client id & mqtt hostname.
Let's discuss what could be a good way to provide that to people. I can of course support, as I have flashed multiple nellos over 20 times in the course of this project.

I am a little confused.
I still have my non working nello installed.
Are you going to provide a firmware that could be flashed and make NELLO work through a local MQTT broker?
I am looking for basic functionality

Open door through MQTT
Announce RING through MQTT (optional)
Automatically open door on RING (optional, if 2. is provided this could be done externally through an automation, ie Home Assistant, Node-Red, etc)

@Lovely-Maisonette thanks for your interest.
So I was hesitant so far publishing firmware images due to various reasons, one being the legal stuff, another is that each Firmware would need to be customised with the desired hostname of the MQTT Broker and the encryption keys.
I'm pretty sure we can get yours also running again. Maybe shoot me a mail to<EMAIL_ADDRESS>and we can check offline about this.


When there are no search results, show text: "No items match your search"

Show this text when there are 0 results:

@XPoppyX Thank you for bringing this to our attention. @yaichenbaum added this to #2447 for visibility

This was added with #5842


SQLx type support for enums

Add sqlx feature to support reading/writing enums to/from database

closed because it is out of library scope


Update machine-controller to v1.5.6

What this PR does / why we need it:
Update machine-controller to v1.5.6.
Does this PR introduce a user-facing change?:
Update machine-controller to v1.5.6

/assign @kron4eg

/retest


Create badge option in volunteer table redirects to badge image

If a user does not have a volunteer badge, the volunteer table shows the following (see second data row):

Clicking "create" does indeed create the badge, however this redirects the user to the image's page instead of keeping them on the volunteer table.

Irrelevant as of new system


&play cannot play links wrapped in <>

Describe the bug
Whenever &play is sent with a url that's wrapped in <> symbol (to remove the embed) it will not play the song and says it "cannot find it"
Steps to reproduce

send (as an example) &play https://www.youtube.com/watch?v=Ns3YxbIhTRM

Expected behavior
the bot plays the video normally
Screenshots

Self-hosted instance?
No
Additional context
No response

Fixed in eca5c58, should be out soon


Loses snippets on every edit

I've replicated this in Chrome and Firefox.  No extensions installed.
Every time I try to modify the code, I have to re-enter all of the snippets.  Any that are left unmodified get deleted on save, creating a mess in the version history.
Example:
https://jsperf.com/leaky-arguments

duplicate of #236


Remove whitespace around pipes in templates

antibodies from lymphocyte supernatant assay
Remove whitespace around pipes in templates

@beckyjackson Would it be reasonable to add a check for this? What about making it part of the sort script?


Please avoid the after_crate_root_parsing driver callback

You are calling queries.global_ctxt() from within it, which makes rustc_driver skip some code that should run before you access the TyCtxt. I would like to either remove this function in the future or change it to only allow access to the AST and not to the TyCtxt. Using the after_analysis or (if you need to avoid tcx.analysis()) the after_expansion callbacks should work better.
https://github.com/rust-lang/rust/pull/132410 will mark it as deprecated.

Hay, thanks for the heads up! I was avoiding after_analysis for MIR stealing reasons, I'll just use after_expansion.


Improve init and expose sequences

Fixes #5
Fixes #3
Fetching time (from the point at which the fetching begins, to when the uint16 array is returned) is now ~1.7s.

Codecov Report

Merging #7 (32aea5f) into main (4c78cd1) will increase coverage by 1.0%.
The diff coverage is 89.7%.

@@           Coverage Diff           @@
##            main      #7     +/-   ##
=======================================
+ Coverage   95.5%   96.4%   +1.0%
=======================================
  Files          4       4
  Lines        351     360      +9
  Branches      72      72
=======================================
+ Hits         335     347     +12
+ Misses         6       5      -1
+ Partials      10       8      -2

Impacted Files
Coverage Δ

archon/controller/controller.py
95.1% <89.3%> (+1.5%)
:arrow_up:

archon/controller/command.py
99.0% <100.0%> (ø)

Continue to review full report at Codecov.

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

Codecov Report

Merging #7 (32aea5f) into main (4c78cd1) will increase coverage by 1.0%.
The diff coverage is 89.7%.

@@           Coverage Diff           @@
##            main      #7     +/-   ##
=======================================
+ Coverage   95.5%   96.4%   +1.0%
=======================================
  Files          4       4
  Lines        351     360      +9
  Branches      72      72
=======================================
+ Hits         335     347     +12
+ Misses         6       5      -1
+ Partials      10       8      -2

Impacted Files
Coverage Δ

archon/controller/controller.py
95.1% <89.3%> (+1.5%)
:arrow_up:

archon/controller/command.py
99.0% <100.0%> (ø)

Continue to review full report at Codecov.

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


fix: remove "const" from WorkerStatus enum

This is to allow use of the TypeScript compiler option --isolatedModules.
Fixes #172

The usage of const enum is because enum generated code wouldn't be tree-shakeable. Refer https://github.com/microsoft/TypeScript/issues/27604
I don't think it's a good trade-off for this PR.
Maybe we can simply do this:
export type WorkerStatus = 'PENDING' | 'SUCCESS' | 'RUNNING' | 'ERROR' | 'TIMEOUT_EXPIRED'

WDYT?

export type WorkerStatus sounds good!

Would you mind changes the pr addressing that? Thanks

Done.

Thanks!


Recording that are split into multiple files

Is your feature request related to a problem? Please describe.
It is a common occurence that recorders will split the recordings into multiple audio files. When this happens, previous practice has been to either:

keep all the audio files and record them as different recordings, having their starting time begin when the previous one ends. The problem is that the timeline is broken (this is ok for metrics because we can use session_id, but for sampling periodicly for example, this can't work, a problem for conversation annotations as well)
merge the audio files into one. This approach goes against the principle of storage of original audios as they were collected (which is important so that we always hae the original in case something goes wrong with the converted versions, and conversions and changes won't result in any information loss as we have the originals

Describe the solution you'd like
Maybe it would make sense to have recordings in the metadata that actually can be a bunch of audio files together, or a piece of an audio file (can be useful in some recorders that put multiple days in the same audio), (or even a bunch of pieces from multiple audio files). And then a conversion function would create a converted single audio file from those. The problem is that the 'recording_filename' in recordings.csv is used as a primary key and this way of doing things would cause issues with this
More thinking and experiments needed

I do not think systematically merging is a good option. First, the core issue would no longer be transparent. Having split audios at least makes it explicit that there might be gaps in between. Of course, people are free to decide to merge split recordings into single audios and then reference those in the metadata. But then they are responsible for their own mistakes, if they perform any operation that does not account for the actual gaps. Plus, if you reference merged audio in the metadata: how do you keep track of all the breaks and gaps within the audio? This might become even harder to manage. For instance, then, how do you write the piece of code that samples annotations between certain hours? With the current scheme this is very straightforward (but of course the results are reliable only if recordings are not merged).
To put it briefly: I think that such a limitation in the data (gaps in the audio) should appear very explicitly. This can prevent many mistakes.
Regarding sampling and conversations: am I wrong that these features could also support session_id if necessry (although it should not be the default behavior, probably)? The only obstacle I see is the lack of accuracy of start_time; it's measured at the second level at best. But for more (if not all) case-scenarios this should not matter.

I think you are right, the problem of sampling and deriving metrics from conversations across the same session does not call for that much complexity to be added.
Adding support for session_id for sampling should work fine (despite the start time not always being very precise).
Conversations metrics should work the same, a small limitation is the fact that every jump in recording file will cut the interaction sequence but this has most likely small impact and is better than assuming continuity (without gaps).
More generally, everything the package does across recordings should have the option to be done by session_id


Convert SAM drivers to DT_INST

Moved the commits related to SAM into one PR, so easier to get review that way.

TODO:

[ ] drivers/usb/device/usb_dc_sam.c
[ ] drivers/serial/usart_sam.c
[ ] drivers/pinmux/pinmux_sam0.c
[ ] drivers/gpio/gpio_sam0.c
[ ] drivers/gpio/gpio_sam.c
[ ] drivers/adc/adc_sam_afec.c
[ ] drivers/adc/adc_sam0.c

Looks good, though I believe it is too early to convert all remaining SAM drivers to DT_INST. This family requires pinctrl data to be provided by DTS. For now we could convert watchdog, as this PR proposes, GPIO and counter. Any driver that doesn't require pinctlr.

Going to handle this with a mix of DT_INST and DT_NODELABEL.  Once NODELABEL is in place I'll work up a PR to show the mix of pinctrl + driver.

I haven't done full review before, I was under impression that more drivers will be added to this PR. The two commits converting watchdog and entropy drivers look good.

I was thinking its best to merge and close out the PRs for the easy stuff and than have follow on PRs.  Was thinking this was going to go faster, and thus the previous model that you are thinking about.


Remove iamcco/markdown-preview.nvim

Reverts rockerBOO/awesome-neovim#571

Why this rule exist, doesn't this list should contain the best plugins for nvim?
Currently it's the only plugin that provides an actual markdown preview with easy setup, awesome lists are used as the source of plugins for many users, removing this plugin from the list just makes the user choose a less polished plugin.

This rule exists because there are already plenty of lists in which you can find both, so a list for plugins just for Neovim makes sense. It also makes more sense technically because Neovim-only plugins tend to be written in Lua.

I don't really get the reasoning behind removing markdown-preview either. Following that logic, you should remove copilot.vim but not copilot-cmp. This just makes it harder for Neovim users to find good plugins.

I think discussing this in this PR is not the right place. Please open an issue for it, so more people can chime in.


❓ In example can I trigger andorid plugin from react?

Question
I have the example up and running on my android phone. The frameprocessor is working and logging the stuff from the react-native code, but I am wondering if I can trigger the java in the android ExampleFrameProcessorPlugin? I already have a robust android app that does what I want with an image, so if I can trigger that code by using the frameprocessor that would be amazing. Thanks for any guidance!
What I tried
I have tried logging to the console in java and touching a file on the phone in the ExampleFrameProcessorPlugin but it I cannot find any evidence of the log or the file being updated on my phone.
VisionCamera Version
example project
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

I retract this question. I just did a reclone and setup of the example project and now it all works. I was very meticulous throughout this process, so I guess that I messed something up the first time. Now I am able to trigger things in the Android code.

Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue.


[Event Request] Table 7331 Warehouse Journal Line - OnSetFiltersBeforeFindWhseJnlLine

Hi Team,
In table 7331 we need possibility to add modify record with our own code. Having event at the beginning of procedure SetUpNewLine, would be perfect solution:

    [IntegrationEvent(false, false)]
    local procedure OnSetFiltersBeforeFindWhseJnlLine(var Rec: Record "Warehouse Journal Line"; WhseJnlLine: Record "Warehouse Journal Line"; LastWhseJnlLine: Record "Warehouse Journal Line")

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Then I decided your tool is worth the 5 bucks...bought the exe and that is also no working for me :(

PS C:\WINDOWS\system32> iwr -useb https://christitus.com/win | iex
Get-Content : Cannot find path 'C:\WINDOWS\system32\MainWindow.xaml' because it does not exist.
At line:8 char:13

$inputXML = Get-Content "MainWindow.xaml" #uncomment for development

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : ObjectNotFound: (C:\WINDOWS\system32\MainWindow.xaml:String) [Get-Content], ItemNotFound
Exception
FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

WARNING: We ran into a problem with the XAML code.  Check the syntax for this control...
Exception calling "Load" with "1" argument(s): "Unexpected 'NONE' in parse rule 'Element ::= . EmptyElement | ( StartElement ElementBody ).'."
If you need to reference this display again, run Get-FormVariables
CCCCCCCCCCCCCTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT

CCC::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
CC:::::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
C:::::CCCCCCCC::::CT:::::TT:::::::TT:::::TT:::::TT:::::::TT:::::T
C:::::C       CCCCCCTTTTTT  T:::::T  TTTTTTTTTTTT  T:::::T  TTTTTT
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C       CCCCCC        T:::::T                T:::::T
C:::::CCCCCCCC::::C      TT:::::::TT            TT:::::::TT
CC:::::::::::::::C       T:::::::::T            T:::::::::T
CCC::::::::::::C         T:::::::::T            T:::::::::T
CCCCCCCCCCCCC          TTTTTTTTTTT            TTTTTTTTTTT
====Chris Titus Tech=====
=====Windows Toolbox=====
You cannot call a method on a null-valued expression.
At line:80 char:1

$WPFTab1BT.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:86 char:1

$WPFTab2BT.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:92 char:1

$WPFTab3BT.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:98 char:1

$WPFTab4BT.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:108 char:1

$WPFinstall.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:550 char:1

$WPFInstallUpgrade.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:572 char:1

$WPFdesktop.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:599 char:1

$WPFlaptop.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:626 char:1

$WPFminimal.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:653 char:1

$WPFtweaksbutton.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1239 char:1

$WPFEnableDarkMode.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1247 char:1

$WPFDisableDarkMode.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1257 char:1

$WPFundoall.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1408 char:1

$WPFFeatureInstall.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1460 char:1

$WPFPanelDISM.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1468 char:1

$WPFPanelcontrol.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1471 char:1

$WPFPanelnetwork.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1474 char:1

$WPFPanelpower.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1477 char:1

$WPFPanelsound.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1480 char:1

$WPFPanelsystem.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1483 char:1

$WPFPaneluser.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1490 char:1

$WPFUpdatesdefault.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1530 char:1

$WPFFixesUpdate.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1634 char:1

$WPFUpdatesdisable.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1660 char:1

$WPFUpdatessecurity.Add_Click({

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At line:1701 char:1

$Form.ShowDialog() | out-null

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

Then i decided your tool is worth the 5 bucks...bought the exe and that is also no working for me :(

I'm having the same exact issue, don't know how to fix it, even when PowerShell doesn't show errors, the window doesn't show up

Same here, previous installs went fine. Please advise. Thanks

Sorry about that pushed a big commit and had to switch the xaml out of dev mode.
This is now fixed.

Do we re download the script?

It is still not working

Try again. Github raw files takes 5minutes to update.


Change of type of data.table

IMPORTANT: data.table is now a stringified array!! Consider when using this value!
Please do not change the type of any state inside 1 version.
Many scripts are based on this value and have to be changed.
Better create a new state.
Thank you.

Sorry but before that the adapter was storing invalid data and that e.g. never worked if someone used redis as DB, so it was completely incosistent and in fcat a bug.
On the other hand: IF you use the most current latest "JavaScript" adapter then the adapter will autinatically convert that for you, s maybe your script do not need to be changed ...

ok, i understand.


Python IntelliSense not working

Issue Type: Bug
I have a workspace with separate python projects, all of them have symlinked folder with another python code. After openning 2-3 python files from different folder IntelliSense stops working for previous opened files (stops working for shared/symlinked code).
VS Code version: Code 1.44.0 (2aae1f26c72891c399f860409176fe435a154b13, 2020-04-08T08:23:56.137Z)
OS version: Darwin x64 19.0.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (8 x 3403)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
3, 2, 2

Memory (System)
16.00GB (1.77GB free)

Process Argv
-psn_0_446573

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

gc-excelviewer
Gra
2.1.34

python
ms-
2020.3.71659

Go
ms-
0.13.1

back-n-forth
nic
0.2.1

(1 theme extensions excluded)

@eax32 Can you share what you have for jediEnabled setting?

@karthiknadig  "python.jediEnabled": false, as I right understand now it's using Microsoft Python Language Server

Intellisense is not working for me either, using vscode in windows 10
settings.json
{     "python.autoComplete.extraPaths": [     "c:\\#Work#\\Python\\Django\\Projects\\cloudstacko\\cloudstacko\\cloudstack"     ],     "python.pythonPath": "c:\\cygwin64\\bin\\python3.7m.exe", }

@ivardu Please try using pylance as the language server, to see if that addresses your issue. If not then create a new bug.
Closing this, since this is stale now. We have a new language sever and a lot has changed between when this issue was created and now.


[Inquiry]: Registry virtualisation support

Description
Hello,
I'd like to ask whether registry virtualisation is supposed to be enabled for packages using the appSilo isolation. It seems that I am getting access denied trying to create a new key under HKEY_CURRENT_USER/Software (I am using an extracted package registered using Add-AppxPackage -Register and I get the access denied error both when trying to use the app I'm trying to package, as well as if I manually try to create the key by launching regedit.exe from inside the container).
This would be expected under AppContainer, but from what I understand this project is supposed to virtualise the registry and let the developers avoid having to change the registry paths used by the apps, or is my understanding wrong? The application works if I use the profiler, but I think that just disables isolation altogether.
(Windows version: 10.0.25905)

The manifest that I have used is similar to this (this one launches cmd.exe, you can create a new directory, copy this attached AppxManifest.xml file, copy cmd.exe from C:\Windows\System32 into the directory, then run Add-AppxPackage -Register .\AppxManifest.xml in the directory in order to install it, no more steps are neccessary; then regedit can be launched from the cmd window).
https://gist.github.com/MCMrARM/988b21869a3c748177901c6eaac6248e

Hi, we fixed a registry bug recently but I'm not 100% sure it was related to your issue. After fixing that bug, I can not reproduce this issue - I can create keys/values under HKEY_CURRENT_USER/Software, and it was virtualized (meaning the user regedit can't see it).
Can you show a screenshot of the access deny? When did it happen?

Hi, I will get back to you tomorrow with a video clip if the issue still exists on the last insider build, but from what you have described it sounds like the issue should indeed be fixed. Thanks!

Sorry, it took me a while longer, but I can confirm the issue is resolved.
I noticed that regedit shows an error that it can't rename the key if you try to create a new folder under SOFTWARE, but it's not an issue with the software I am packaging so I am closing the issue.


Moloch can you consider a compatible suricata rule?

I would like to talk about the application of suricata rules to Moloch, is it feasible? Moloch can you consider a compatible suricata rule?

Please ask questions on slack.  There is a suricata plugin for Moloch.


Add README.md

It's definitely a bit threadbare, but it would've answered a lot of the questions I had for Ryan when I started trying to understand metadesk.

Thanks for this. We talked about this on Discord, but for the record, ideas were incorporated into the new dion.systems/metadesk page.


"Is it up to date?" error 1.19.4

I'm running a 1.19.4 version with the latest protocol lib, and it causes this error

The newest version of ProtocolLib had a change in some parts of the API and Message Editor 2.5.1 is still using the old API. In order to fix the startup issue, either downgrade ProtocolLib or use the snapshot version of Message Editor that uses the new API.
You can download said Message Editor version here: https://github.com/jaqobb/message-editor/suites/12425096779/artifacts/661114838

Message Editor 2.5.2 has been released, fixing Paper issue and bumping ProtocolLib API among other things.


Age verification/new

Also a few extra things.
Why are there 4 initial commits? There should only be 1 in a repo.
Our naming convention is a bit different than you used. The last 2 commits were right, but the others use the wrong tense.
You used Added random model loading and it should be Add random model loading.

Also a good tool to discover hidden issues: https://www.sonarsource.com/products/sonarlint


Tag v2.8.0?

I see a release on npm, but no tag in git.

I see one? https://github.com/benmosher/eslint-plugin-import/releases/tag/v2.8.0

Weird. Thanks!

It definitely wasn’t there at the time this was filed :-) must have been created locally and only pushed up later.


SAK-49364 Lessons: Cannot reorder items when some items have null sak…

…aiId

I have fixed some cases changing the sakaiID directly on DB

Hey @jesusmmp , you mention that you fixed the cases, but did you find the culprit of those null sakaiIds? This Jira addresses the consequences but not the root cause!
Thanks for the review guys


AB#8358 Add serialized items to the repo

PR changes also included here https://github.com/Sitecore/Sitecore.Demo.CHONE/pull/5


Update translations

He, I've updated a missing translations.
Preview the messages on https://inlang.com/github.com/felixhaeberle/osmosis-frontend .

Please push changes to stage instead of master


feat!: Bit shift is restricted to u8 right operand

Description
Problem*
Resolves #4841
Summary*
bit shift now requires the number of bits to be u8.
Additional Context
Documentation*
Check one:

[ ] No documentation needed.
[X] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Merge queue roulette

It's likely that github has updated the version in the image so we're pointing at an empty directory.


Implement Doctrine discriminator maps for dynamic entity management

Pull Request
What does this PR do?

Implements Doctrine discriminator maps to enable dynamic entity management. This enhancement addresses the issue where indexing abstract or extended entities was not possible, by allowing efficient management of different entities within the same inheritance hierarchy. This simplifies data model extension and maintenance, making the system more flexible and robust.

PR checklist
Please check if your PR fulfills the following requirements:

[x] Fixes the issue with indexing abstract or extended entities by utilizing Doctrine's discriminator maps, representing a significant architectural improvement.
[x] I have read the contributing guidelines.
[x] The title of the PR is accurate and descriptive of the changes made.

Please add tests :)

@james2001 you should rebase your PR as now your changes basically reverts https://github.com/meilisearch/meilisearch-symfony/pull/323

@norkunas I already rebase

Tests should create then at least 1 article and 1 podcast :)

bors merge

Thank you @james2001 :)


Not identifying Mambo.

Hi All,
I am trying to Run the examples py with Pi. I installed python 3 as per documentation.
I have a Rolling spider verion 1.99.2 / HW_05
Seriel number PIO40320AE 4K160544
It has BLE interface RS_B160544 BLE
The spider works well when i use the FreeFlight Mini App how ever if i
use the code pyparrot It does not work. When i run the findMambo.py
It identify the following BLE addresses .Even if i use all of the BLE address the spider does
not fly, Is is necessary to It should be Mambo 2 or this code will work with Rolling Spider ?
See the bellow error. Any suggesion greatly appriciated.
pi@raspberrypi:~/drone/pyparrot $ sudo python3 findMambo.py
Discovered device e0:14:bc:06:3d:51
Discovered device d0:4f:7e:26:bf:31
Discovered device 68:64:4b:08:36:d2
pi@raspberrypi:~/drone/pyparrot $ python3 demoMamboTricks.py
trying to connect
trying to connect to the mambo at address f4:f5:d8:73:8e:9b
retrying connections
trying to connect to the mambo at address f4:f5:d8:73:8e:9b
retrying connections
connected: False

I do not have a spider to test so I have no idea that it will work on a spider.  All of the documentation discusses mambo and bebop because that is what I have tested.

I have the same issue but with a mambo


[Bug]: Master branch shows no commits, while child Branch shows more commits in modal than the number showing up in the plus sign

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Master branch shows no changes to commit, even when the modal has changes. Child branch shows 2 changes to commit, where as the modal shows up with a total of 5 changes
Steps To Reproduce
https://github.com/appsmithorg/appsmith/assets/101863839/775c791a-a689-4f95-95af-7665dc77f1f9
https://github.com/appsmithorg/appsmith/assets/101863839/0f327806-2bc3-4496-a4bb-ea0c96819686
Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Cloud

This should be resolved with the new git status changes. Also, verified this on app.appsmith.com, seems to work fine. Closing this


Programmatically focusing a touchable works on web, not on Android

Description
When trying to focus a touchable using touchableRef.current?.focus() in a useEffect, it works on the web but not on Android.
React Native version:
{ last version available on snack }
Steps To Reproduce

define a touchable in your render
try to focus it in a useEffect

Expected Results
The pressable should be focused on Android like it is on the Web.
Snack, code example, screenshot, or link to a repository:
https://snack.expo.dev/@jerrybels/frisky-waffle

Have you tried using this setaccessibilityfocus ?
refer - https://reactnative.dev/docs/accessibilityinfo#setaccessibilityfocus

Have you tried using this setaccessibilityfocus ? refer - https://reactnative.dev/docs/accessibilityinfo#setaccessibilityfocus

Already tried it, and here you go with a modified snack using it : https://snack.expo.dev/@jerrybels/vigorous-cereal still doesn't work on Android.


Change alertAfter and lookbackWindow to string type

Resolves #109

After the fact I realized this crosses somewhat into https://github.com/OpenSLO/OpenSLO/pull/93.
Happy for this to be closed in favor of that PR instead

Surpass by #93, the new type duration-shorthand has been introduced. Thanks for your involvement @kenfinnigan!


Add docker file

adds a simple dockerfile to build an image of faunanet-record
depends on #29
goal: make containers as small as possible. This is limited by the portaudio dependency of pyaudio

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

Project coverage is 84.03%. Comparing base (76eeac8) to head (b7b37fd).

Files
Patch %
Lines

src/faunanet_record/set_up.py
50.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   83.78%   84.03%   +0.24%
==========================================
  Files           6        6
  Lines         259      263       +4
  Branches       66       66
==========================================
+ Hits          217      221       +4
  Misses         23       23
  Partials       19       19

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


Unknown SM version 5.0! Problem

Hi, thanks for the source code.
I've compiled without errors but I have a little problem when I'm trying to run demo executable:
~ $ sudo /home/trinidad/kinfu_remake/build/bin/demo
Device 0:  "GeForce GTX 750 Ti"  2047Mb
Can't determine number of cores. Unknown SM version 5.0!
, sm_50, 0 cores, Driver/Runtime ver.7.50/7.50
KinFu2 error: invalid device function	/home/trinidad/kinfu_remake/kfusion/src/cuda/tsdf_volume.cu:38
My kinect 1414 works perfectly fine. I installed Cuda-7.5, Openni from git repository, opencv-2.4.8 (only core, highgui, imgproc and viz modules with shared _libs)
I really don't know what is the problem, if someone can help me a little that would be great!!.
I'm using linux mint mate 17.2 Rafaela mate edition 64 bits
Bye, in advance
José Soto

Just add compilation flag here for Maxwell GPU here:
https://github.com/Nerei/kinfu_remake/blob/master/CMakeLists.txt#L32
Append after semicolon -gencode;arch=compute_50,code=sm_50
PR is appreciated

Thank you so much.
That was the solution, It works amazing.
Thanks again for the source code
Jose Soto

Fixed in https://github.com/Nerei/kinfu_remake/pull/11

I met exactly the same problem using NVIDIA Tesla K80. It tells me as follows:
Device 0:  "Tesla K80"  11520Mb
Can't determine number of cores. Unknown SM version 3.7!
, sm_37, 0 cores, Driver/Runtime ver.7.50/7.50
KinFu2 error: Init failed: Can't create any node of the requested type!

I tried to add compilation flag in CMakeLists.txt as -gencode;arch=compute_30,code=sm_37, but still got the error.
Anyone can give me any advice? Thanks in advance.


Suggestion to replace hyphen with en dash for numeric range

The en dash is used to represent a span or range of numbers, dates, or time. There should be no space between the en dash and the adjacent material.
Source: http://www.thepunctuationguide.com/en-dash.html

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


Refresh elements tree in Windows

Hello!
When I open windows calculator in Inspect, I get elements for showing "calculator mode" (for example, "engeener mode").
After I change mode (to "programmer") in Inspect I still see elements for "engeener mode".
For update elements tree, I need click to button "Refresh". After that I will see elements for "programmer mode"
It is example, I am using some app, which opens user controls for each menu items (like calculator).
So, my question:
How I can "refresh" elements tree in my code for get access to elements after change user control.
I am using Win App Driver 1.2
I have tried this:
_windowDriver.Navigate().Refresh(); //exception

and this
_windowDriver.SwitchTo().Window(_windowDriver.WindowHandles.First()); // no success result

Thank you so much!

There is no refresh API supported WAD, u need to read it again.

There is no refresh API supported WAD, u need to read it again.

Thank you for your answer. Please, tell me what do you mean?
You mean, that I should to kill WebAppDriver server, start it again, attach Appium to new WAD server and get new instance of WindowsDriver?
Can you give me some code example please?

Got the same problem in my app. Inspect.exe sees previous page when I use pagination inside my app. New page tree becomes available only after I perform refresh in Inspector window. It is strange that WinAppDriver doesn't have an option to refresh the application tree and reload elements since it's so widely used thing.

There is no refresh API supported WAD, u need to read it again.

What do you mean by reading it again? To create new driver session?

Discussing of this issue on the page https://github.com/microsoft/WinAppDriver/issues/1161

+1 to this issue!
The whole conversation may be found on the page #1161
In order to reload application panes tree I had to create new driver instance and reswitch it to an existing window. Is there any chance to implement driver.refresh() method which would do the same as "Refresh" button in Inspect.exe?

The Refresh would be extremely helpful.

I also miss a refresh functionality (with condition to keep the element IDs of still known GUI elements).
My tests with a WPF application on Windows often fail, because WinAppDriver often doesn't detect the current application state.
Previously shown elements are still available (but with hidden state). The new shown elements can not be detected immediately. Sometimes they became detectable when changing the window size or clicking around in the GUI. But this not always helps to trigger a refresh of WinAppDriver. In such situations even the tool Inspect fails to detect the new shown elements. After doing some actions, Inspect can detect them again (in most cases, but not always).
In general the elements are detectable by WinAppDriver and Inspect.
Only when WinAppDriver already queried the GUI and then the GUI changes, the detection can fail. So some parts of the visual tree can't be queried.
To restart WinAppDriver during a test is no option for me, because then the element IDs are gone.
(I use it to implement complete user stories, which performs several steps with the GUI.)
It's so annoying and disturbing that this behaviour happens so often.
I would like to have stable tests, which can work without somebody looking to it and restart the failed tests manually.
Unfortunately I didn't find a solution for that until now.
I suppose it's a kind of bug, that changed GUIs aren't detected correctly.
A forced refresh / re-read of the GUI state should solve the problem.
But I don't know if this is a bug of WinAppDriver or of the underlaying Windows Automation interface.