Add smart battery support

driver and integration

hello andreas,
a created a topic "redundant battery" in the p4users group. could you please explain if your idea of "smart battery" incorporates battery o-ring and  failure detection resulting in a reason for urgent landing (I'm quite new so my 'expressions' might be wrong). currently i use a GPIO of the IO-processor to supervise open drain outputs from all battery o-ring controllers attached and i use a new alarm status bit and a very basic alarm_status.msg for higher layers.
Sure this is not the proper way of doing things and maybe it is even weird to use the 'failsafe-processor' here. what is your suggestion for a solution not waiting for 'smart batteries' that could be everything and nothing in terms of redundant and SPOF avoidance.
Thank you
Tom

@myLens with smart battery I'm referring to the work in #3402 and the integration of the data provided by those batteries.

@AndreasAntener thank you for your clarification. In that case smart batteries are TOO smart for me and even the available smart-battery controllers (from TI at least) are not an appropriate onboard companion for a UAV imo. their main field seems to be charging controllers dedicated for laptops and similar devices, sensing current, .... this makes flying more risky than safer i guess :-(
SM-Bus being the preferred means of communication shows tells the story by itself.
THANK YOU ANYWAYS !


[SNAP-1982] Change batch UUID to be long

Changes proposed in this pull request

changed batchUUID to be long instead of UUID/string
added to toString of putAll if set

Patch testing
precheckin
ReleaseNotes changes
NA
Other PRs
https://github.com/SnappyDataInc/snappydata/pull/812

Merging now. SnappyData side changes which are the more important ones are approved while these are fairly straightforward. Will take care of any review comments subsequently.


refactor: Change return type from nullable to widget type only

Thank you for creating a very nice library
Thanks to this library, the development period was very short.
What I found is very detailed
There was a part that was a nullable type, so I changed it to a widget type.

Thanks! LGTM!


There's a testing "NO" being printed

Delete it and clean out the console output while at it neat and clean

commented out most of the printed out words for testing. For future reference maybe a debug mode that prints to console and when not on that mode all console statements are cancelled.


Documented two additional typedefs

Documented two additional typedefs
//cc @davmason @noahfalk @mjsabby

Looks good to me, thanks @rpetrusha


Website does not load on Safari Version 14.0.3

Problem
Website does not load on Safari version 14.0.3 . Works fine on my Google Chrome install.
Steps To Reproduce
Steps to reproduce the behavior:

Open https://dioxuslabs.com on Safari 14.0.3
Open developer tools

Expected behavior
Page should load.
Screenshots

Environment:

OS info: Mac OS Big Sur

that has to be platform specific issue, even react js has the same isssue on that specific platform (so it's highly recommended to use firefox or chromium based browser): https://stackoverflow.com/questions/72837979/referenceerror-cant-find-variable-biguint64array


[BUG] - conda-bld/work - file not found

I am trying to compile the latest open-ce version and I am getting this error:
conda-bld/work - file not found
`HEAD is now at 8eb554c updated v1.5.8
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/shutil.py", line 791, in move
    os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: '/home/florin/anaconda3/envs/opence/conda-bld/work' -> '/home/florin/anaconda3/envs/opence/conda-bld/fire_1651413312773/work'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/multiprocessing/pool.py", line 51, in starmapstar
    return list(itertools.starmap(args[0], args[1]))
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/open_ce/utils.py", line 384, in _run_helper
    return func(*args, **kwargs)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/open_ce/build_tree.py", line 327, in _create_commands_helper
    retval = _create_commands(repo_dir,
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/open_ce/build_tree.py", line 567, in _create_commands
    packages, version, run_deps, host_deps, build_deps, test_deps, output_files = _get_package_dependencies(
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/open_ce/build_tree.py", line 130, in _get_package_dependencies
    metas = conda_utils.render_yaml(path, variants, variant_config_files)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/open_ce/conda_utils.py", line 53, in render_yaml
    metas = conda_build.api.render(path,
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/conda_build/api.py", line 42, in render
    metadata_tuples = render_recipe(recipe_path, bypass_env_check=bypass_env_check,
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/conda_build/render.py", line 838, in render_recipe
    m.config.compute_build_id(m.name(), m.version(), reset=reset_build_id)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/conda_build/config.py", line 611, in compute_build_id
    shutil.move(old_dir, work_dir)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/shutil.py", line 811, in move
    copy_function(src, real_dst)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/shutil.py", line 435, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/home/florin/anaconda3/envs/opence/conda-bld/work'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/florin/anaconda3/envs/opence/bin/open-ce", line 137, in <module>
    _main()
  File "/home/florin/anaconda3/envs/opence/bin/open-ce", line 133, in _main
    args.func(args)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/open_ce/build_env.py", line 84, in build_env
    build_tree = construct_build_tree(args)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/open_ce/build_tree.py", line 681, in construct_build_tree
    return BuildTree(env_config_files=args.env_config_file,
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/open_ce/build_tree.py", line 202, in __init__
    variant_tree, external_deps, channels = self._create_nodes(variant)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/open_ce/build_tree.py", line 314, in _create_nodes
    commands = utils.run_in_parallel(self._create_commands_helper, create_commands_args)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/site-packages/open_ce/utils.py", line 395, in run_in_parallel
    retval = pool.starmap(_run_helper, new_args)
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/multiprocessing/pool.py", line 372, in starmap
    return self._map_async(func, iterable, starmapstar, chunksize).get()
  File "/home/florin/anaconda3/envs/opence/lib/python3.8/multiprocessing/pool.py", line 771, in get
    raise self._value
FileNotFoundError: [Errno 2] No such file or directory: '/home/florin/anaconda3/envs/opence/conda-bld/work'`

Any advice?
Rgds,
FM

@ticlazau - This is a known bug with conda-build 3.21.8. Please install conda-build 3.21.7 version to get rid of this issue.

@npanpaliya thank you!


Mistake in 1.2.5 events

catalog_product_save_after = runs just before saving product

shouldn't this be after ?

Thanks Darkbelg,
I have updated the documentation after that typo :)


Add last_answer to the Interactive mode

I don't want to type Y or N everytime, so just push Enter for the last answer.

I have added the default answer, but I am not familiar with the syntax of the test file. So I did not change the test file. Sorry about that.

No problem, thanks for your work so far. I'll take it from here. If somebody else is faster, please go ahead.


Website logs.

The website logs don't work.

Make sure the bot is running when trying to view log links. If the logs still don't work, the problem is usually that the log viewer's port needs to be forwarded. If you're running the bot on your own PC, check https://portforward.com/ for instructions on how to do this. If you're running the bot on a VPS, your host can help you get started. The port that needs to be forwarded in Modmail Bot's case (assuming default settings) is TCP 8890.
If you're still running into issues the come find us in the support server.

Make sure the bot is running when trying to view log links. If the logs still don't work, the problem is usually that the log viewer's port needs to be forwarded. If you're running the bot on your own PC, check https://portforward.com/ for instructions on how to do this. If you're running the bot on a VPS, your host can help you get started. The port that needs to be forwarded in Modmail Bot's case (assuming default settings) is TCP 8890.
If you're still running into issues the come find us in the support server.

Closing this. If you're still experiencing this issue, please join the support server and we can try to work it out there!

Closing this. If you're still experiencing this issue, please join the support server and we can try to work it out there!


fix:delete backup validation

-Added fix for following functions
CreateMultipleUsersAndGroups:

Printing username and group name instead of keycloak response

DeleteSharedBackup :

deleted backup validation change

ClusterBackupShareToggle:

Validating cluster share with user

Jenkins link -
https://jenkins.pwx.dev.purestorage.com/job/Users/job/Sumit/job/PX-Backup/job/system-tests/job/px-backup-system-test/86/consoleFull

Use timestamps for user and email strings while creating users. Also append the group name with timestamp.

Jenkins Run -
https://jenkins.pwx.dev.purestorage.com/job/Users/job/Sumit/job/PX-Backup/job/system-tests/job/px-backup-system-test/92/console


[BUG REPORT]

Describe the bug
It Keeps Looping around when i try to use run.bat and
To Reproduce
Steps to reproduce the behavior:

it did the installs
it keeps asking if my pip is up to date
it says no module named bark

Expected behavior
to run the ui
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Successfully installed librosa-0.10.0.post2
[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: python.exe -m pip install --upgrade pip
Installing requirement pytube...
Requirement already satisfied: pytube in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (15.0.0)
[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: python.exe -m pip install --upgrade pip
Installing requirement openai-whisper...
Requirement already satisfied: openai-whisper in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (20230314)
Requirement already satisfied: more-itertools in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from openai-whisper) (9.1.0)
Requirement already satisfied: torch in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from openai-whisper) (2.0.1+cu117)
Requirement already satisfied: numpy in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from openai-whisper) (1.23.5)
Requirement already satisfied: numba in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from openai-whisper) (0.56.4)
Requirement already satisfied: ffmpeg-python==0.2.0 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from openai-whisper) (0.2.0)
Requirement already satisfied: tiktoken==0.3.1 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from openai-whisper) (0.3.1)
Requirement already satisfied: tqdm in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from openai-whisper) (4.65.0)
Requirement already satisfied: future in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from ffmpeg-python==0.2.0->openai-whisper) (0.18.3)
Requirement already satisfied: regex>=2022.1.18 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from tiktoken==0.3.1->openai-whisper) (2023.6.3)
Requirement already satisfied: requests>=2.26.0 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from tiktoken==0.3.1->openai-whisper) (2.28.1)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from numba->openai-whisper) (0.39.1)
Requirement already satisfied: setuptools in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from numba->openai-whisper) (65.5.0)
Requirement already satisfied: sympy in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from torch->openai-whisper) (1.11.1)
Requirement already satisfied: jinja2 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from torch->openai-whisper) (3.1.2)
Requirement already satisfied: networkx in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from torch->openai-whisper) (2.8.8)
Requirement already satisfied: typing-extensions in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from torch->openai-whisper) (4.4.0)
Requirement already satisfied: filelock in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from torch->openai-whisper) (3.9.0)
Requirement already satisfied: colorama in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from tqdm->openai-whisper) (0.4.6)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from requests>=2.26.0->tiktoken==0.3.1->openai-whisper) (2022.12.7)
Requirement already satisfied: charset-normalizer<3,>=2 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from requests>=2.26.0->tiktoken==0.3.1->openai-whisper) (2.1.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from requests>=2.26.0->tiktoken==0.3.1->openai-whisper) (1.26.13)
Requirement already satisfied: idna<4,>=2.5 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from requests>=2.26.0->tiktoken==0.3.1->openai-whisper) (3.4)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from jinja2->torch->openai-whisper) (2.1.2)
Requirement already satisfied: mpmath>=0.19 in c:\users\tomas_000\desktop\audio-webui-master\venv\lib\site-packages (from sympy->torch->openai-whisper) (1.2.1)
[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: python.exe -m pip install --upgrade pip
Installing requirement git+https://github.com/facebookresearch/audiocraft.git...
Collecting git+https://github.com/facebookresearch/audiocraft.git
Cloning https://github.com/facebookresearch/audiocraft.git to c:\users\public\documents\wondershare\creatortemp\pip-req-build-nqhxh4ny
ERROR: Error [WinError 2] The system cannot find the file specified while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: python.exe -m pip install --upgrade pip
Preparing
Traceback (most recent call last):
File "C:\Users\tomas_000\Desktop\audio-webui-master\main.py", line 15, in
from webui.modules.implementations.tts_monkeypatching import patch as patch1
File "C:\Users\tomas_000\Desktop\audio-webui-master\webui\modules\implementations_init_.py", line 1, in
import webui.modules.implementations.ttsmodels as tts
File "C:\Users\tomas_000\Desktop\audio-webui-master\webui\modules\implementations\ttsmodels.py", line 15, in
from webui.modules.implementations.patches.bark_custom_voices import wav_to_semantics, generate_fine_from_wav,
File "C:\Users\tomas_000\Desktop\audio-webui-master\webui\modules\implementations\patches\bark_custom_voices.py", line 4, in
from bark.generation import SAMPLE_RATE, load_codec_model
ModuleNotFoundError: No module named 'bark'
Press any key to continue . . .

https://git-scm.com/downloads

ok it launched also where do i go and train or clone my voice for bark ?

oh i dont want to train RVC i want to clone a voice using bark ? i saw this video this guy is doing bark ? https://youtu.be/hrYhk9Khyho

then select suno/bark on the text to speech tab

nvm i found it


fix: codesmith fs api doc

Description

Related Issue

Types of changes

[x] Docs change / Dependency upgrade
[ ] Bug fix
[ ] New feature / Improvement
[ ] Refactoring
[ ] Breaking change

Checklist

[ ] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

!canary

!canary


Full website

Added pages: Home, Calculator, and Quote to the project which now makes a full website.

Hi @coker2019 👋🏼👋🏼👋🏼,

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights✅✅✅

[x] Project has the technical requirements of this milestone👍🏼.

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.