[spdlog] build+link failure

Host Environment

OS: win10
Compiler: msvc from vs 2019

To Reproduce
Steps to reproduce the behavior (I made vcpkg global and run on VS Developer Prompt):
vcpkg install spdlog
cmake .
nmake
Failure logs

Loaded 'D:...\C++\cpp\build\main.exe'. Symbols loaded.
Loaded 'C:\Windows\SysWOW64\ntdll.dll'.
Loaded 'C:\Windows\SysWOW64\kernel32.dll'.
Loaded 'C:\Windows\SysWOW64\KernelBase.dll'.
Loaded 'C:\Windows\SysWOW64\apphelp.dll'.
Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'.
Loaded 'C:\Windows\SysWOW64\msvcp140d.dll'.
2
Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'.
Unloaded 'C:\Windows\SysWOW64\ucrtbased.dll'.
The program '[8656] main.exe' has exited with code -1073741515 (0xc0000135).
Build seems fine but run .exe nor debugging is bugged.

Additional context
main.cpp
#include <iostream>
#include "spdlog/spdlog.h"

using std::cout, std::endl;

int main()
{
    spdlog::info("Welcome to spdlog!");
    spdlog::error("Some error message with arg: {}", 1);

    spdlog::warn("Easy padding in numbers like {:08d}", 12);
    spdlog::critical("Support for int: {0:d};  hex: {0:x};  oct: {0:o}; bin: {0:b}", 42);
    spdlog::info("Support for floats {:03.2f}", 1.23456);
    spdlog::info("Positional args are {1} {0}..", "too", "supported");
    spdlog::info("{:<30}", "left aligned");

    spdlog::set_level(spdlog::level::debug); // Set global log level to debug
    spdlog::debug("This message should be displayed..");

    // change log pattern
    spdlog::set_pattern("[%H:%M:%S %z] [%n] [%^---%L---%$] [thread %t] %v");

    // Compile time log levels
    // define SPDLOG_ACTIVE_LEVEL to desired level
    SPDLOG_TRACE("Some trace message with param {}", 42);
    SPDLOG_DEBUG("Some debug message");
}

CMakeLists.txt (Such file works in linking other vcpkg-installed packages such as Matplot++)
cmake_minimum_required(VERSION 3.22)
project(main)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_PREFIX_PATH "C:/Program Files/vcpkg/installed/x86-windows/share")

include_directories("C:/Program Files/vcpkg/installed/x86-windows/include")
link_directories("C:/Program Files/vcpkg/installed/x86-windows/lib")

add_executable(${PROJECT_NAME} main.cpp)

find_package(spdlog CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE spdlog::spdlog)

I can't reproduce it, can you please provide detailed logs?

I used your file to build successfully, the steps are as follows:
Directory: E:\tests_pdlog\
----build
----main.cpp
----CMakeLists.txt

PS E:\vcpkg> ./vcpkg install spdlog:x64-windows

    # this is heuristically generated, and may not be correct
    find_package(spdlog CONFIG REQUIRED)
    target_link_libraries(main PRIVATE spdlog::spdlog spdlog::spdlog_header_only)

E:\test_spdlog\build>cmake .. -G "Visual Studio 16 2019" "-DCMAKE_TOOLCHAIN_FILE=E:\vcpkg\scripts\buildsystems\vcpkg.cmake"

-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.29.30147.0
-- The CXX compiler identification is MSVC 19.29.30147.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: E:/test_spdlog/build

E:\test_spdlog\build>cmake --build .

Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Checking Build System
  Building Custom Rule E:/test_spdlog/CMakeLists.txt
  main.cpp
  main.vcxproj -> E:\test_spdlog\build\Debug\main.exe
  Building Custom Rule E:/test_spdlog/CMakeLists.txt

CMakeLists.txt
main.txt

nmake

nmake needs MAKEFILE, you are using CMakelists.txt.

target_link_libraries(${PROJECT_NAME} PRIVATE spdlog::spdlog)

Please follow the usage suggested by vcpkg, which should be: target_link_libraries(main PRIVATE spdlog::spdlog spdlog::spdlog_header_only)

set(CMAKE_PREFIX_PATH "C:/Program Files/vcpkg/installed/x86-windows/share")
include_directories("C:/Program Files/vcpkg/installed/x86-windows/include")
link_directories("C:/Program Files/vcpkg/installed/x86-windows/lib")

Just specify TOOLCHAIN_FILE, do not specify the header file path, vcpkg has already been set internally.
"-DCMAKE_TOOLCHAIN_FILE=E:\vcpkg\scripts\buildsystems\vcpkg.cmake"
(use ./vcpkg integrate install to get TOOLCHAIN_FILE)

nmake

nmake needs MAKEFILE, you are using CMakelists.txt.

Cmake has a generator for nmake makefiles. But we would recommend ninja or another generator instead.

nmake

nmake needs MAKEFILE, you are using CMakelists.txt.

target_link_libraries(${PROJECT_NAME} PRIVATE spdlog::spdlog)

Please follow the usage suggested by vcpkg, which should be: target_link_libraries(main PRIVATE spdlog::spdlog spdlog::spdlog_header_only)

set(CMAKE_PREFIX_PATH "C:/Program Files/vcpkg/installed/x86-windows/share")
include_directories("C:/Program Files/vcpkg/installed/x86-windows/include")
link_directories("C:/Program Files/vcpkg/installed/x86-windows/lib")

Just specify TOOLCHAIN_FILE, do not specify the header file path, vcpkg has already been set internally. "-DCMAKE_TOOLCHAIN_FILE=E:\vcpkg\scripts\buildsystems\vcpkg.cmake" (use ./vcpkg integrate install to get TOOLCHAIN_FILE)

I've modified my CMakeLists.txt but the problem persists. I am missing a few details in steps to reproduce, so allow me to edit. In cmake I've made the args for generator a global varaible:
To Reproduce:
vcpkg install spdlog
vcpkg integrate install
cmake -G "NMake Makefiles"
nmake
CMakeLists.txt
cmake_minimum_required(VERSION 3.22)
project(main)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_TOOLCHAIN_FILE "C:/Program Files/vcpkg/scripts/buildsystems/vcpkg.cmake")

add_executable(${PROJECT_NAME} main.cpp)

find_package(spdlog CONFIG REQUIRED)

if(NOT spdlog_FOUND)
    message(WARNING "spdlog not found!")
else()
    message(STATUS "Found spdlog on: " ${spdlog_DIR})
endif(NOT spdlog_FOUND)

target_link_libraries(${PROJECT_NAME} PRIVATE spdlog::spdlog spdlog::spdlog_header_only)

Log (from CMake Tool from vscode)
[main] Configuring folder: cpp
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug "-Sd:/Study/Computer Programming/C++/cpp" "-Bd:/Study/Computer Programming/C++/cpp/build" -G "NMake Makefiles"
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Error at CMakeLists.txt:9 (find_package):
[cmake]   Could not find a package configuration file provided by "spdlog" with any
[cmake]   of the following names:
[cmake]
[cmake]     spdlogConfig.cmake
[cmake]     spdlog-config.cmake
[cmake]
[cmake]   Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set
[cmake]   "spdlog_DIR" to a directory containing one of the above files.  If "spdlog"
[cmake]   provides a separate development package or SDK, be sure it has been
[cmake]   installed.
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "D:/Study/Computer Programming/C++/cpp/build/CMakeFiles/CMakeOutput.log".
[proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug "-Sd:/Study/Computer Programming/C++/cpp" "-Bd:/Study/Computer Programming/C++/cpp/build" -G "NMake Makefiles" exited with code: 1 and signal: null

What am I missing now?

nmake

nmake needs MAKEFILE, you are using CMakelists.txt.

Cmake has a generator for nmake makefiles. But we would recommend ninja or another generator instead.

I am using nmake from my experience from Mingw with make, and VS installation of C++ support provide an nmake.exe as default. Will get in touch with ninja sometime. Thx for the advice.

Note that nmake does not support parallel jobs by itself. This can be a huge disadvantage for some setups.
In any case, with cmake, the makefiles are genereated, and you don't have to know how to run the actual build. You can just run cmake --build .

Here are two suggestions, check each and try: (I also built successfully with your new reproduction steps)

To Reproduce:
vcpkg install spdlog
vcpkg integrate install
cmake -G "NMake Makefiles"
nmake

vcpkg installs x86-windows by default, if the project you build is x64, please also run ./vcpkg install spdlog:x64-windows

cmake -G "NMake Makefiles"
Please run:
cmake .. -G "NMake Makefiles" "-DCMAKE_TOOLCHAIN_FILE=E:\vcpkg\scripts\buildsystems\vcpkg.cmake"

For details, refer to quick-start-windows of vcpkg.

cmake_minimum_required(VERSION 3.22)
project(main)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_TOOLCHAIN_FILE "C:/Program Files/vcpkg/scripts/buildsystems/vcpkg.cmake")

I think I found the reason, because of scope, if you want to specify TOOLCHAIN_FILE in CMakeList.txt, then you must put set(CMAKE_TOOLCHAIN_FILE) in front of project(main).
cmake_minimum_required(VERSION 3.22)
set(CMAKE_TOOLCHAIN_FILE "C:/Program Files/vcpkg/scripts/buildsystems/vcpkg.cmake")
project(main)
set(CMAKE_CXX_STANDARD 17)

cmake_minimum_required(VERSION 3.22)
project(main)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_TOOLCHAIN_FILE "C:/Program Files/vcpkg/scripts/buildsystems/vcpkg.cmake")

I think I found the reason, because of scope, if you want to specify TOOLCHAIN_FILE in CMakeList.txt, then you must put set(CMAKE_TOOLCHAIN_FILE) in front of project(main).
cmake_minimum_required(VERSION 3.22)
set(CMAKE_TOOLCHAIN_FILE "C:/Program Files/vcpkg/scripts/buildsystems/vcpkg.cmake")
project(main)
set(CMAKE_CXX_STANDARD 17)

This works! As CMake ran the successful build, I saw that fmtd.dll spdlogd.dll were installed. as it ran the Debug mode. It is the first time I link the .dll. Is it really necessary to install .dll to the program path? If so, why fmt.lib or spdlog.lib weren't installed?

I saw that fmtd.dll spdlogd.dll were installed.

Because you used add_executable to generate an .exe, and used the functions in spdlog.

If so, why fmt.lib or spdlog.lib weren't installed?

The .exe needs to call the .dll, and the .lib is generally integrated into the exe.

I assume that when I call cmake ., it is in Release mode as default, and fmt.dll and spdlog.dll weren't installed in project path. What makes that .dlls need to be downloaded under project path in Debug mode and not in Release mode?

nmake

nmake needs MAKEFILE, you are using CMakelists.txt.

Cmake has a generator for nmake makefiles. But we would recommend ninja or another generator instead.

Can I write CMAKE_GENERATOR in CMakeLists.txt, so as to switch between -G NMake Makefile and -G Ninja without typing commands repeatedly? I tried set(CMAKE_GENERATOR "Ninja") at the top of file and CMake didn't build a .ninja,

AFAICS this is a more a question about using CMake, not about using vcpkg.

Since this issue is not related with vcpkg and have answered the user's link questions, so I am closing this issue for now.


Check auth for Update Destination/Consumer Group

Coverage decreased (-0.2%) to 68.267% when pulling 6f41f644f3f9c1ee533a8fbd6502b0a23bbb5d04 on update_checkauth into 7290aedd573d02946ea8f063e7dd46935e7b3c4b on master.


Add an Argilla annotation stack component

Use the huggingface spaces module on the Terraform registry to add the option to deploy an Argilla annotation stack component as part of your mlstack.
The feature / PR would include:

full support for the component
updates to documentation where needed (possibly needs a separate section in the docs for these non-core cloud components)
possible inclusion in the test suite if possible without too much overhead

Hello, I'm interested in working on this issue, I have experience in using ZenML in my projects


Kuksag/edit multichain api config

Rewrite service configuration in a manner of "smart-contract-verifier" service.
This is a part of achieving consistency in a code style among services.

have you tried to set blockscout.instance vector through corresponding environment variable?

I tried using the following grammar:
KEY=value
KEY="Some other value"
KEY=value1:value2

But it did nothing as I received something like:
Error: failed to parse config

Caused by:
    invalid type: string "123:456", expected a sequence


WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8

I am following the installation instructions (ver 3) to stand up a demo server. When I get to the following command in step 7:
bundle exec rake bundle:import[/home/pophealth/bundle-2.6.0.zip,false,false,'*',true,true] RAILS_ENV=development

I received the following:
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8
/home/iatric/popHealth/lib/tasks/sharding.rake:4: warning: class variable access from toplevel
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /home/pophealth/bundle-2.6.0.zip
/usr/local/rvm/gems/ruby-2.1.2/gems/health-data-standards-3.5.3/lib/health-data-standards/tasks/bundle.rake:41:in initialize' /usr/local/rvm/gems/ruby-2.1.2/gems/health-data-standards-3.5.3/lib/health-data-standards/tasks/bundle.rake:41:in open'
/usr/local/rvm/gems/ruby-2.1.2/gems/health-data-standards-3.5.3/lib/health-data-standards/tasks/bundle.rake:41:in block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in eval'
/usr/local/rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `'
Tasks: TOP => bundle:import
(See full trace by running task with --trace)
The greatest version of libxml2 distributed for Ubuntu Precise is 2.7.8.
Please advise.

Hi, it looks like your Linux home is on /home/iatric.
In the bundle:import task command, please change the location of the file to where you downloaded the bundle. So assuming the bundle was downloaded on to your home folder, you would run the following:
bundle exec rake bundle:import[/home/iatric/bundle-2.6.0.zip,false,false,'*',true,true] RAILS_ENV=development

smc - I guess I just needed another set of eyes on it because I had not noticed the errant path in that command. At any rate, thanks for taking the time to help with such a trivial problem!


When importing FormErrorProvider from 'react-hook-form-mui' its undefined

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When importing FormErrorProvider exactly from 'react-hook-form-mui' the value of it is undefined.
Expected behavior 🤔
The value of FormErrorProvider  should be function.
Steps to reproduce 🕹
No response

Do you have a repo on how you use it?

closing it as there is no further info


Unify WS error responses

Thanks @AndrewDryga ! :)
I'll push the corresponding Rust changes to this PR later! (Bless the monorepo)

Updating to bring in fixes for CI


Document minimal setup for Linux users

making good progress:

https://github.com/ut-proj/undermidi/blob/release/0.2.x/docs/linux-setup.md

This has actually be done for a while. It's even easier with the move to the Erlang NIF.


Bibindex: new record fulltext Index    is  working only   after  bibdocfile --textify  --recid

The Fulltext native indexer in the invenio 1.2 version is working only after invoking bibdocfile --textify  --recid  without the index does not working.
I think that this  could resolve those issues:
https://github.com/inveniosoftware/invenio/issues/3690
https://github.com/inveniosoftware/invenio/issues/2576

@kaplun  @tiborsimko  by adding self.extract_text() to get_text() function it's resolving the problem but I'm not sure this is  the optimal solution https://github.com/inveniosoftware/invenio/blob/maint-1.2/modules/bibdocfile/lib/bom_textdoc.py#L33


[vtk] use patch for QT_NO_KEYWORDS support from upstream

Describe the pull request

What does your PR fix? It apply upstream patches (already merged), to support QT_NO_KEYWORDS. This is absolutely mandatory if you use VTK with other frameworks that define slots, signals, ... keywords. This doesn't change anything in VTK itself

Can you simply update vtk to apply these changes?

Can you simply update vtk to apply these changes?

Can you simply update vtk to apply these changes?

This patch is applied on master branch. There is no released version that includes them.

Can you simply update vtk to apply these changes?

This patch is applied on master branch. There is no released version that includes them.

cc @Neumann-A @cenit for review this PR deeper.

cc @Neumann-A @cenit for review this PR deeper.

Since you closed the modify for other mantainer. Please do the following step:

update this branch from vcpkg master.
rebuild vcpkg
use command ./vcpkg x-add-version --all
commit the changes.

Since you closed the modify for other mantainer. Please do the following step:

update this branch from vcpkg master.
rebuild vcpkg
use command ./vcpkg x-add-version --all
commit the changes.

This is just applying upstream patches. There is nothing to review here.

This is just applying upstream patches. There is nothing to review here.

Since you've closed the modify permission for other mantainer. Please do the following step:

update this branch from vcpkg master.
rebuild vcpkg
use command ./vcpkg x-add-version --all
commit the changes.

Should be good

Since you've closed the modify permission for other mantainer. Please do the following step:

update this branch from vcpkg master.
rebuild vcpkg
use command ./vcpkg x-add-version --all
commit the changes.

 I will check and try again.

integration failure looks like it is not

Well, I did launch ./vcpkg x-add-version --all, I swear :)
Ok. I will check and try again.

Need test all features.

Need test all features.

@dweckmann Please rebase this onto master; I don't have access so I can't do it for you.

@dweckmann Please rebase this onto master; I don't have access so I can't do it for you.

You still need to refresh the version record, see my comments.

You still need to refresh the version record, see my comments.

Already merged from master.

Already merged from master.

Already merged from master.

Sorry ;)

Already merged from master.

Sorry ;)


KNOX-2295 - UI services improvement on Knox Home page

What changes were proposed in this pull request?
Removed the data table when displaying UI services and using the services' logos with Angular's material grid. Long descriptions are shown by hovering over the short descriptions in the footer of each tile.

How was this patch tested?
Tested manually; see these screenshots:

One comment: the Hue logo you are seeing in the above screenshot is replaced with one with white background.

Thanks, @moresandeep !
Trying to answer your comments:

I'll try to find a better CM logo
If there is no logo -> a JIRA should be submitted. I tried to add logos for all the actively used services.
Hue logo is replaced already (see my comment above)

Regarding @risdenk 's comment on licensing: all service logos are logos of Apache projects except for the CM-[UI|API]. I understand his concerns about it and it's a valid question if we want to copy it here.

To address the logo stuff I figured out the following approach should work: I'll add a general_logo.png (with the text of 'Service Logo comes here') and display it for

any service that does not have its own logo uploaded by this patch (anyone is free to upload their owns logos going forward as a separate patch)
CM API/UI

This is how it looks like now:

@smolnar82  instead of "service logo comes here" can it instead be the text of the service? It would just be plain text on say a white background. That would probably look better.

@smolnar82 instead of "service logo comes here" can it instead be the text of the service? It would just be plain text on say a white background. That would probably look better.

So, we either use a static image (as of now; I'm open to change the text though) or try to find out if the referenced image exists and act differently (e.g. have a text on white background).
I don't think the general logo will appear as much; once someone realizes his logo is not displayed I'd imagine that he uploads one quickly -> the 2nd approach just not worth implementing.

Newest version:


Added clarification on client.yml configuration

I didn't understand why the ntfy publish --debug topic message command don't choose the default-host I entered in /etc/ntfy/client.yml.
If command is run as root -> config file = /etc/ntfy/client.yml
If command is run as non-root -> config file = ~/.config/ntfy/client.yml
I think this is an important precision for users.

This seems like a no-brainer change. Thank you. It has sadly caused quite some confusion with users, even though it is standard practice.


0.19 backports

Please also backport the other ones that are marked as such.

firs we need to backport clippy fixes to gir: https://github.com/gtk-rs/gir/pull/1582


WIP: Add favicon option and docs

As discussed in https://github.com/bokeh/bokeh/pull/10971, I have been experimenting with adding favicons (beyond the standard sphinx options).

I think this is a great idea - please ping when it’s ready for a look over!

@choldgraf I'd certainly appreciate some feedback at this point - I haven't written any tests yet, but I'd like to make sure this is headed in the right direction!

@tcmetzger do I have your permission to make a little Sphinx extension that does this and push it to PyPI by tomorrow? :-)
I'd put it in the executablebooks/ repository and list you as an author for stuff (or if you like, we can just list executablebooks/ as the author)

@choldgraf Sure, that is no doubt the quickest solution. I'd appreciate it if you could list me as an author!

(or upstream to sphinx .. ;))

@jorisvandenbossche that's a good point - let's just get this one in here quickly and open an issue in Sphinx to see if they'd be interested in it. I think html_favicon could basically be the data structure proposed here as well.
@tcmetzger wanna add a quick test to make sure the functionality works? Other than that LGTM

@choldgraf Quick test has been added. Great idea with the Sphinx issue!

There is a sphinx PR that tries to do something similar, but specific for apple: https://github.com/sphinx-doc/sphinx/pull/8249 (might be worth chiming in there, I think the sphinx maintainer already proposed to make it more generic, similar as done here)


Convert the server and signer to use alpine images (blocked on musl bugs)

See https://github.com/golang/go/issues/14476
We have to build the migrate package, which requires musl libc.
This is sort of done in https://github.com/docker/notary/compare/server-signer-alpine?expand=1, but docker-compose up fails.
In that branch, the server and signer build fine, but when starting up, we see:
signer_1 | Segmentation fault
signer_1 | waiting for notarymysql to come up.
server_1 | Segmentation fault
server_1 | waiting for notarymysql to come up.

Over and over - the segfault happens when trying to run the built migrate binary.
As per the issue, it seems like the fix might be in 1.6.1?
Once we upgrade to 1.6.1, if the bug has been fixed, then we can merge the branch.
UPDATE:  As @dmcgowan points out, that issue is linux/386 related, and golang:1.6-alpine is using the amd64 version of go.  I've opened https://github.com/golang/go/issues/14851 as a result - it may not be go 1.6, could possibly be a bug in go-sqlite3's CGO, but I can't tell :(

It would be great if we can use the apline as the base image and put static binary signer/server into it. I have tried before and failed.
Happy to see there is an issue to track with

@HuKeping I think we do that with the official images, but since these dockerfiles are used for development, they would include the source too.


jupyter-fs icons don't appear in the left side of the jupyterlab UI

Hello,
I'm trying to use jupyter-fs to browse to my S3 buckets from jupyterlab environment.
jupyterlab == 4.95.3
jupyter-fs == 1.0.0
jupyter_server == 2.4.0
I have created a Docker image with jupyterlab and other packages like jupyter-fs.
This is the code I set in the jupyter_server_config.py file:
# Configuration for jupyter-fs
c.ServerApp.contents_manager_class = "jupyterfs.metamanager.MetaManager"
c.ServerApp.jpserver_extensions = {"jupyterfs.extension": True}

After building the image and accessing the jupyterlab environement, I can confirm that jupyter-fs extension is correctly installed:
jupyter labextension list --verbose
(base) [user/ ~]$ jupyter labextension list --verbose
JupyterLab v4.3.2
/opt/conda/share/jupyter/labextensions
        jupyter-fs v1.0.0 enabled OK (python, jupyter-fs)

Then in the advanced settings editor I simply paste the code example of the jupyter-fs repository and I save the new configuration:
{
  "resources": [
    {
      "name": "root at test dir",
      "url": "osfs:///Users/foo/test"
    },
    {
      "name": "s3 test bucket",
      "url": "s3://test"
    },
    {
      "name": "s3 test key",
      "url": "s3://test-2/prefix/",
      "defaultWritable": false
    }
  ]
}

But the file system icons that should appear on the left don't show up:

I also noted that when I save the new settings configuration and I check the Network section in the browser console, I get the following information:
Request URL: https://xxxxxxxxxxx/user/xxxxxxx/jupyterfs/resources?1734529374043
Request Method: POST
Status Code: 500 Internal Server Error
request body:
{
"resources":[
{
"name":"root at test dir",
"url":"osfs:///Users/foo/test",
"auth":"ask",
"defaultWritable":true
},
{
"name":"s3 test bucket",
"url":"s3://test",
"auth":"ask",
"defaultWritable":true
},
{
"name":"s3 test key",
"url":"s3://test-2/prefix/",
"defaultWritable":false,
"auth":"ask"
}
],
"options":{
"cache":true,
"verbose":false,
"_addServerside":true
}
}

response body:
{
    "message": "Unhandled error",
    "reason": null,
    "traceback": "Traceback (most recent call last):\n  File \"/opt/conda/lib/python3.10/site-packages/tornado/web.py\", line 1790, in _execute\n    result = await result\n  File \"/opt/conda/lib/python3.10/site-packages/jupyterfs/metamanager.py\", line 257, in post\n    self.finish(json.dumps(self.contents_manager.initResource(*resources, options=options)))\nAttributeError: 'JupytextContentsManager' object has no attribute 'initResource'\n"
}

None of those mounts look real

Thank you for the answer, but it seems that it doesn't work even putting a correct S3 bucket path:
{
  "resources": [
    {
            "name": "s3-test-bucket",
            "url": "s3://my-test-bucket-blablabla/"
    }
  ]
}

Note that with the following Python code running in a notebook in the same Jupyterlab environment I can list all the folders under the bucket above:
from fs import open_fs
s3fs = open_fs('s3://my-test-bucket-blablabla/')
s3fs.listdir('/')

Hello Tim, by just setting:
"resources": [
        {
            "name": "s3-test-bucket",
            "url": "osfs://"
        }
    ]

I still have the same issue.
If I inspect the networking section from the browser console I see the following:
Request URL: https://xxxxxxxxx.com/user/xxxxxxxxxx/jupyterfs/resources?1734612013913
Request Method: POST
Status Code: 500 Internal Server Error
Request body:
{"resources":[{"name":"s3-test-bucket","url":"osfs://","auth":"ask","defaultWritable":true}],"options":{"cache":true,"verbose":false,"writtenVersion":"1.0.0","_addServerside":true}}

Response body:
{
    "message": "Unhandled error",
    "reason": null,
    "traceback": "Traceback (most recent call last):\n  File \"/opt/conda/lib/python3.10/site-packages/tornado/web.py\", line 1790, in _execute\n    result = await result\n  File \"/opt/conda/lib/python3.10/site-packages/jupyterfs/metamanager.py\", line 257, in post\n    self.finish(json.dumps(self.contents_manager.initResource(*resources, options=options)))\nAttributeError: 'JupytextContentsManager' object has no attribute 'initResource'\n"
}

Olso note that if I run the following code snippet in the same JupyterLab environment:
from fs import open_fs
s3fs = open_fs('osfs://')
print(s3fs)

I get this output:
<osfs '/home/jovyan'>


feat(Tactic/Relation/Trans): trans tactic for implications

Implications behave like transitive relations albeit not being such in mathlib for technical reasons. This extends the trans tactic to handle them alike. This means trans B turn a goal A → C into two goals A → B and B → C.

Note that this does not modify the existing functionality: So far trans only worked on an Expr of the form Expr.app _ _ and this PR adds a case for Expr.forallE _ _ _ _.

!bench

bors r+


Mass migration

Describe your suggested feature
Migrate all(or multiple) animes/mangas from one source to another just like in TachiyomiSY.
Other details
This feature is available in TachiyomiSY.
https://github.com/jobobby04/tachiyomisy
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

This feature should at least be made available for ANIME since there's no workaround for it. For manga, you can you use forks with the feature, like SY or J2K, and then go back to Aniyomi, which is still annoying but it's a solution.
It is also time-consuming, especially for those with over 1.5k manga in their library (yeah that's me) since creating a backup, restoring it to SY and restoring it back to Aniyomi takes a while. Last time I did it, if I remember correctly the first restoration took 30 minutes and the second 40 minutes.

Duplicate of #777


How to set the value axis line to hide?

chart.value_axis.format.line.color.rgb = RGBColor(255,255,255)
The value_axis line is white, when I run above code, but I want to set the value axis to hide,and I want to display the tick_labels in value_axis. how can do it?

Are you able to do that by hand in PowerPoint?

and have you tried Axis.visible = False?

and have you tried Axis.visible = False?

Yes, I 've already tried，when I added Axis.visible = False , the value axis was not visible，but the value axis's  tick_labels was not visable too, I want the value axis only display tick_labels, the line to be hidden. like these screenshots

There is separate ChartFormat object for the axis and the MajorGridlines aspects of the chart. It could be that setting the line format for the former to None or whatever the "no-line" value is would turn it off, have you tried that? If it turns all the lines off than maybe MajorGridlines.chart_format.line can turn it back on for the gridlines.
At this point I would inspect the XML for a chart that looks the way you want and see how it compares with what you produce with python-pptx so far and then work out how to match them using some aspect of the API. I vaguely remember having done this at least once though.

Thank you  for your reply ,  I tried two tests,

Set chart.value_axis.format is None ,  the value axis's line color is black , the line always visible, like this screenshot.

Set chart.value_axis.major_gridlines.format is None, the value axis major gridlines color is black, the line always visible,too, like this screenshot.

If I add chart.value_axis.has_major_gridlines = False, the value axis major gridlines is not visable. but chart.value_axis not have similar like this attribute set line is not visable.

If you look into ChartFormat here (which is what axis.format is: https://python-pptx.readthedocs.io/en/latest/api/dml.html#pptx.dml.chtfmt.ChartFormat
you can see it has line and fill attributes.
You can try some things there, drilling down into format.line, like maybe format.line.width = 0 or format.line.fill = None and see if you can achieve what you're looking for.
Use the API docs to understand what you're working with and explore what capabilities are there. You don't have to rely on someone having done it before to give you a recipe :)

Thank you for your patient guidance. I was negligent in checking the document. My problem has been solved


Password generator

Add a function to generate a new password when creating a user, and append a flag to set the password too, but don't declare it. This can be sent via secure method (ie - SMS later in the web interface)

Password generator added -> Core/Utilities/Security/PasswordGenerator.cs

Password generator added -> Core/Utilities/Security/PasswordGenerator.cs

On a new user account being created, if the flag password:true is provided, it will generate a random password of 20 characters and assign it to the user account. At the moment it will not be able to send the SMS, this has to be added via the front-end GUI later, and work with an SMS provider to send the SMS to the end-user. Clients will be charged for this service.


Can't Open The Utility

Describe the bug
It Always Shows The Following error:
Screenshots

irm https://christitus.com/win | iex

Describe the bug It Always Shows The Following error:
Screenshots

irm https://christitus.com/win | iex


Links and orderd list previews not working

Links and orderd list previews don't seem to working.
For links, neither simple url or complete notation [Text](https://url) work.
Cool plugin otherwise!

OK thanks, I will try the dev branch and see if I can give you a hand.


Update schema

Fixes https://github.com/eddmann/serverless-fargate/issues/29

Thank you for the fix, this was a complete oversight on my behalf 🤦🏻

@eddmann no problemo! Thanks for maintaining this package 🤘


pure-component removes comments before Components

Input:
// some comments
or
/**
 * some comments
**/
class Component extends React.Component {
   render() {
     return

}

Output(comments were removed):
function Component(props) {
    return

}

Unfortunately, looks to me like pure-component doesn't make any attempt to transfer comments from the old to new code. It's generally something that needs to be done explicitly when replacing nodes with other nodes. I sent a PR a while back to properly transfer comments in create-element-to-jsx (#61), so if someone wants to work on this bug, they could model their solution after that change.

I missed one point, there are several Components in one file
Input:
// some comments
or
/**
 * some comments
**/
class A extends React.Component {
   render() {
     return

}

// some comments
or
/**
 * some comments
**/
class B extends React.Component {
   render() {
     return

}

Output(comments were removed):
// some comments
or
/**
 * some comments
**/
function A(props) {
    return

}

function B(props) {
    return

}


Can't show public url when user set isPublic to true

Plugin name and version
azure-spring-cloud-maven-plugin:1.3.0-SNAPSHOT
Plugin configuration in your pom.xml
            <configuration>
                <subscriptionId>xxxxxx</subscriptionId>
                <clusterName>harryspring</clusterName>
                <appName>harrypet01</appName>
                <isPublic>true</isPublic>
                <deployment>
                    <cpu>1</cpu>
                    <memoryInGB>1</memoryInGB>
                    <instanceCount>1</instanceCount>
                    <runtimeVersion>Java 8</runtimeVersion>
                    <resources>
                        <resource>
                            <filtering/>
                            <mergeId/>
                            <targetPath/>
                            <directory>${project.basedir}/target</directory>
                            <includes>
                                <include>*.jar</include>
                            </includes>
                        </resource>
                    </resources>
                </deployment>
            </configuration>

Actual behavior

Steps to reproduce the problem

Install https://github.com/microsoft/azure-maven-plugins/tree/github-issue-1125
git clone https://github.com/xscript/PiggyMetrics
execute cd PiggyMetrics and mvn clean package -DskipTests
execute mvn com.microsoft.azure:azure-spring-cloud-maven-plugin:1.3.0-SNAPSHOT:config
execute mvn azure-spring-cloud:deploy

test in this branch: github-issue-1125, this issue is fixed, so close this issue


[Bug]: How to support long sequence?

Exception in callback functools.partial(<function _raise_exception_on_finish at 0x7f68ee321360>, error_callback=<bound method AsyncLLMEngine._error_callback of <vllm.engine.async_llm_engine.AsyncLLMEngine object at 0x7f68e33564d0>>)
handle: <Handle functools.partial(<function _raise_exception_on_finish at 0x7f68ee321360>, error_callback=<bound method AsyncLLMEngine._error_callback of <vllm.engine.async_llm_engine.AsyncLLMEngine object at 0x7f68e33564d0>>)>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/vllm-0.4.2+gaudi117-py3.10.egg/vllm/engine/async_llm_engine.py", line 38, in _raise_exception_on_finish
    task.result()
  File "/usr/local/lib/python3.10/dist-packages/vllm-0.4.2+gaudi117-py3.10.egg/vllm/engine/async_llm_engine.py", line 509, in run_engine_loop
    has_requests_in_progress = await asyncio.wait_for(
  File "/usr/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.10/dist-packages/vllm-0.4.2+gaudi117-py3.10.egg/vllm/engine/async_llm_engine.py", line 483, in engine_step
    request_outputs = await self.engine.step_async()
  File "/usr/local/lib/python3.10/dist-packages/vllm-0.4.2+gaudi117-py3.10.egg/vllm/engine/async_llm_engine.py", line 221, in step_async
    output = await self.model_executor.execute_model_async(
  File "/usr/local/lib/python3.10/dist-packages/vllm-0.4.2+gaudi117-py3.10.egg/vllm/executor/habana_executor.py", line 147, in execute_model_async
    output = await make_async(self.driver_worker.execute_model
  File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/vllm-0.4.2+gaudi117-py3.10.egg/vllm/worker/habana_worker.py", line 244, in execute_model
    output = self.model_runner.execute_model(seq_group_metadata_list,
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/vllm-0.4.2+gaudi117-py3.10.egg/vllm/worker/habana_model_runner.py", line 1039, in execute_model
    hidden_states = self.model.forward(**execute_model_kwargs, selected_token_indices=sampling_metadata.selected_token_indices)
  File "/usr/local/lib/python3.10/dist-packages/habana_frameworks/torch/hpu/graphs.py", line 724, in forward
    return wrapped_hpugraph_forward(
  File "/usr/local/lib/python3.10/dist-packages/habana_frameworks/torch/hpu/graphs.py", line 643, in wrapped_hpugraph_forward
    cached.graph.replayV3(input_tensor_list, cached.asynchronous)
  File "/usr/local/lib/python3.10/dist-packages/habana_frameworks/torch/hpu/graphs.py", line 76, in replayV3
    _hpu_C.replayV3(self.hpu_graph, tlistI, asynchronous)
RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_SYNHELPER workspace Allocation of size ::52561502464 failed!

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

Traceback (most recent call last):
  File "uvloop/cbhandles.pyx", line 63, in uvloop.loop.Handle._run
  File "/usr/local/lib/python3.10/dist-packages/vllm-0.4.2+gaudi117-py3.10.egg/vllm/engine/async_llm_engine.py", line 45, in _raise_exception_on_finish
    raise AsyncEngineDeadError(
vllm.engine.async_llm_engine.AsyncEngineDeadError: Task finished unexpectedly. This should never happen! Please open an issue on Github. See stack trace above for the actual cause.
INFO 09-10 02:01:57 async_llm_engine.py:154] Aborted request cmpl-28db24b7e07544ac9c1452c923550f73-0.
INFO 09-10 02:01:57 async_llm_engine.py:154] Aborted request cmpl-5ca05f00b5e64b438b9b9d0aeaf20b4d-0.
INFO 09-10 02:01:57 async_llm_engine.py:154] Aborted request cmpl-a11e15b6a7f94260a564a319c1226393-0.
INFO 09-10 02:01:57 async_llm_engine.py:154] Aborted request cmpl-59ce42dfd83546528dbe4d7044dfe9eb-0.
INFO 09-10 02:01:57 async_llm_engine.py:154] Aborted request cmpl-e3953e7508c9449294694a41defdcaad-0.
INFO 09-10 02:01:57 async_llm_engine.py:154] Aborted request cmpl-73b59f58c7054538a56bef238eb73dd8-0.
INFO 09-10 02:01:57 async_llm_engine.py:154] Aborted request cmpl-22ecd74be85f464cab8f3aa3e977411b-0.
INFO 09-10 02:01:57 async_llm_engine.py:154] Aborted request cmpl-5667be62f6554dc0a2f63590badc3b28-0.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 265, in __call__
    await wrap(partial(self.listen_for_disconnect, receive))
  File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 261, in wrap
    await func()
  File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 238, in listen_for_disconnect
    message = await receive()
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 555, in receive
    await self.message_event.wait()
  File "/usr/lib/python3.10/asyncio/locks.py", line 214, in wait
    await fut
asyncio.exceptions.CancelledError: Cancelled by cancel scope 7f66f0a2d690

During handling of the above exception, another exception occurred:

Your current environment
model: Qwen2-7B input_length: 16384, 30720 batch_size: 1,5,10,20
🐛 Describe the bug
how use habana vllm to support long sequence?

use which branch? how to set warm up parameter?

@kzawora-intel facing similar issue with other models too (llama 3.1 8B, bs/num prompts =35, i/p 2048, o/p 128), known issue ?

@Zjq9409  @pranjalst  if not already on the release tag, please try with this tag --> v0.5.3.post1+Gaudi-1.18.0

@Zjq9409 @pranjalst do you observe the issue, using instruction from @vishnumadhu365 ?

Closing due to no update from the reporter, if issue occurs on latest release please file a ticket


Subscription example

Hi could you please provide a working subscription example? I can't seem to get the snippet from the docs working.
Thank you!

+1 is this going to get some update?


Second switch

Very useful plugin thanks!
just an idea to make it even more awesome :  to make a second on/off switch available for a second light instance on the Hyperion

Hi!
I'll have to read up on the api, but it should be doable.
I currently don't have a lot of free time, so expect it to take some time


Stack trace when going into collections>collection>module

ISSUE TYPE

Bug Report

SUMMARY

Within navigator, invoking collections followed by ios.cisco.ios followed by ios_command results in a stack trace
ANSIBLE-NAVIGATOR VERSION

1.0.0

CONFIGURATION

---
ansible-navigator:
  ansible:
    config: ansible.cfg
  execution-environment:
    image: iossnow:latest
    #container-engine: podman
    pull-policy: never
  editor:
    command: code -g {filename}:{line_number}
    console: false
  logging:
    level: critical

LOG FILE

See stack trace in actual results below
STEPS TO REPRODUCE

:collections > cisco.ios > ios_command
EXPECTED RESULTS

Module details
ACTUAL RESULTS

Traceback (most recent call last):
  File "/home/student1/demo/bin/ansible-navigator", line 8, in <module>
    sys.exit(main())
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/cli.py", line 142, in main
    return_code = run(args)
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/cli.py", line 83, in run
    wrapper(ActionRunner(args=args).run)
  File "/usr/lib64/python3.6/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/action_runner.py", line 65, in run
    self._run_app(interaction)
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/action_runner.py", line 74, in _run_app
    interaction = run_action(self.steps.current.name, self.app, self.steps.current)
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/actions/_actions.py", line 97, in run_interactive
    return action_cls(app.args).run(app=app, interaction=interaction)
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/actions/collections.py", line 138, in run
    self._take_step()
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/actions/collections.py", line 171, in _take_step
    filter_content_keys=filter_content_keys,
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/ui_framework/ui.py", line 881, in show
    result = self._show_obj_from_list(obj, index, await_input)
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/ui_framework/ui.py", line 643, in _show_obj_from_list
    heading, lines = self._filter_and_serialize(objs[index])
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/ui_framework/ui.py", line 622, in _filter_and_serialize
    lines = self._serialize_color(filtered_obj)
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/ui_framework/ui.py", line 513, in _serialize_color
    string = human_dump(obj)
  File "/home/student1/demo/lib/python3.6/site-packages/ansible_navigator/yaml.py", line 44, in human_dump
    return yaml.dump(obj, Dumper=dumper, **YamlStyle()._asdict())
  File "/usr/lib64/python3.6/site-packages/yaml/__init__.py", line 200, in dump
    return dump_all([data], stream, Dumper=Dumper, **kwds)
TypeError: dump_all() got an unexpected keyword argument 'sort_keys'```
##### ADDITIONAL INFORMATION

<!-- Include any links screenshots or other
additional information like execution-envirnment details
if enabled. You can use command
"ansible-navigator images <name-of-container-image>"
to introspect execution environment -->

https://github.com/ansible/ansible-navigator/issues/525
likely related


Postmark CloudQuery Source Plugin?

Hi Team, hopefully this is right place to ask, if not, I'd appreciate if you can direct me.
I'm the founder of cloudquery.io, a high performance open source ELT framework.
Our users are interested in a Postmark plugin, but as we cannot maintain all the plugins ourselves, I was curious if this would be an interesting collaboration, where we would help implement an initial source plugin, and you will help maintain it.
This will give your users the ability to sync Postmark data to any of their datalakes/data-warehouses/databases easily using any of the growing list of CQ destination plugins.
Best,
Yevgeny

Hi Yevgeny, thanks for the thoughtful note. It's very cool to hear that your users are asking for a Postmark plugin 🙌


[EV3Dev] Learn to use brake command

It is necessary to learn how to use brake command to add float feature in the class Unregulated Motors.
Related issue:
https://github.com/jabrena/ev3dev-lang-java/issues/35

Added support


FLEX-2176 Sets device on active when registered

FLEX-2176

SonarQube analysis reported 6 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 Device.java#L167: Make "authorizations" private or transient.
 Device.java#L193: Make "organisations" private or transient.
 Device.java#L213: Constructor has 9 parameters, which is greater than 7 authorized.
 Device.java#L396: Private method 'prePersist' is never used.
 Device.java#L406: Private method 'preUpdate' is never used.
 Device.java#L429: Method has 8 parameters, which is greater than 7 authorized.

All is well.


[Bug] Cannot create Case Observable on TheHive4 despite manageObservable Permission

Cannot create CaseObservable on TheHive4
Request Type
Bug
Work Environment

Question
Answer

OS version (server)
Docker thehiveproject/thehive4:latest

TheHive4py version
pip version 1.6.0

Problem Description
An account with manageObservables permissions cannot actually create Observables.
Steps to Reproduce

Create an account with manageObservable permissions
Generate API token in Users tab
Fill parameters into PoC script
Observe output

Potential Solution
This same account can log into the site via password and SUCCESSFULLY create Observables, so it may be tied to how the API client authentication is defined and handled.
Complementary information
Screenshot:

PoC:
from thehive4py.api import TheHiveApi
from thehive4py.models import CaseObservable

url = "<url>"
token = "<token>"
organisation = "<organization>"

api = TheHiveApi(
    url,
    token,
    organisation=organisation,
    cert=False
)

user = (api.get_current_user()).json()

if user['status'] == 'Ok':

    print("Username:" + user['login'])
    print("Permissions: " +  str(user['roles']))

    observable = CaseObservable(
        data='john.doe',
        dataType='username',
        ioc=False,
        message='CEO of Widget Industries',
        sighted=False,
        tags=['sample'],
        tlp=2
    )

    res = api.create_case_observable(1, observable)

    print(f"{res.status_code} {res.reason}") # 403 Forbidden
    print(res.json())      # {'type': 'AuthorizationError', 'message': 'Operation not permitted'}

I discovered the error! I was incorrectly using caseId and id/_id interchangeably.
create_case_observable expects the id


Brackets 1.4 fails to open files from FileZilla 3.14.0 on Win 8.1 64bit

Before I updated to Win 8.1, I was running Win 7 and was able to successfully "view/edit" files with Brackets from FileZilla.
However, when I upgraded to Win 8.1 I was no longer able to do that and keep getting this error:
Execution of command '"C:\Program Files (x86)\Brackets\Brackets.exe" "C:\Users\rvarbanov\AppData\Local\Temp\fz3temp-1\readme.html"' failed (error 0: the operation completed successfully.)

Release 1.4 build 1.4.0-16380 (release 273804eb3)
build timestamp: Mon Jul 27 2015 07:40:52 GMT+0100
FileZilla 3.14.0

same problem :+1:
:c


BigQuery Connector to use different projects for dataset ownership and load job execution

Currently BQ connector supports two parameters that set Project ID to use when loading data into a table:

BigQueryConfiguration.PROJECT_ID_KEY
BigQueryConfiguration.OUTPUT_PROJECT_ID_KEY

The connector always uses just one of the parameters, running load jobs under the the same project ID that the table belongs to, while BigQueryHelper utility class and BQ itself support using one project as the dataset owner and the other for billing / job execution.
The connector code that chooses project ID to use is here:
https://github.com/GoogleCloudPlatform/bigdata-interop/blob/master/bigquery/src/main/java/com/google/cloud/hadoop/io/bigquery/output/BigQueryOutputConfiguration.java#L263
and here:
https://github.com/GoogleCloudPlatform/bigdata-interop/blob/master/bigquery/src/main/java/com/google/cloud/hadoop/io/bigquery/output/BigQueryOutputConfiguration.java#L286

Pull request #175 is a proposed fix.


Add python3 checker

What it says on the tin.  This adds an explicit "python3" syntax checker, that explicitly calls "python3" instead of "python," allowing an easy, system-wide workaround for distributions that are still shipping python2 as the default system python for legacy reasons.

Please post patches only for problems that can't be solved without changing the code.  Also solutions that bypass the existing mechanisms and duplicate code are not accepted.  Sorry, but no.

Fair enough.  But I don't see how the existing mechanism you linked (which I understand to be "one checker for multiple filetypes") applies to this situation ("multiple checkers for one filetype").
Ultimately, I created this PR because I couldn't see a way to fix my issue without editing the code, but you are certainly more familiar with it than I am, so if you say there's a way I believe you.  However, I am still largely as confused as before.

I don't see how the existing mechanism you linked (which I understand to be "one checker for multiple filetypes") applies to this situation ("multiple checkers for one filetype").

It doesn't: the solution here is to use virtual environments outside Vim, as described by the FAQ.  My point was that if you ever find yourself duplicating checkers there's a better way around that.  And that still applies to duplicate checkers within the same filetype.


Fix slack kibana properties in schema

Made the schema valid according to draft-07

@Qmando can you review?


Update image-import.md

@googlebot I signed it!
On Sat, May 30, 2020 at 10:53 AM googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot
I signed it! and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

ℹ Googlers: Go here
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2FGoogleCloudPlatform%2Fcompute-image-tools%2Fpull%2F1237
for more info.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/compute-image-tools/pull/1237#issuecomment-636356817,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCFHREEOMOEKDRRK4B56C3RUE2XTANCNFSM4NOYQFMA
.

/assign @hopkiw


[DO NOT MERGE] Fix "unknown revision v0.0.0" error caused by the k8s.io/kubernetes module

Issue:

go-get Github action workflow in rancher/rancher is failing

go: reading k8s.io/api/go.mod at revision v0.0.0: unknown revision v0.0.0

Problem

Upstream Issue: https://github.com/kubernetes/kubernetes/issues/79384

Solution:

Replace some k8s modules with specific versions to get rid of the "unknown revision v0.0.0" error caused by the k8s.io/kubernetes module in pkg/apis/go.mod file.

	k8s.io/api => k8s.io/api v0.25.12
	k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.25.12
	k8s.io/apimachinery => k8s.io/apimachinery v0.25.12
	k8s.io/apiserver => k8s.io/apiserver v0.25.12
	k8s.io/cli-runtime => k8s.io/cli-runtime v0.25.12
	k8s.io/component-base => k8s.io/component-base v0.25.12
	k8s.io/kubectl => k8s.io/kubectl v0.25.12
	k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.25.12

@chiukapoor , could you please provide more context on why this fix is needed? What is that "go-get Github action workflow"?
We've had no issues merging to release/v2.7 as recent as few days back - https://github.com/rancher/rancher/pull/43029

@snasovich the automation for fetching the latest rke has been failing. We saw it when we tagged the latest rke tag.
https://github.com/rancher/rancher/actions/workflows/go-get.yml

Seems like the fix went in https://github.com/rancher/rancher/pull/42350


Adding an AeroGauge preset

Could you run black on the branch? https://github.com/decompme/decomp.me/blob/main/docs/CONTRIBUTING.md#linting

I think he's editing directly on the site. The issue is the empty line before the new preset - try removing that

I think he's editing directly on the site. The issue is the empty line before the new preset - try removing that

Done


MINOR: Fix ReassignPartitionsClusterTest.testHwAfterPartitionReassignment test

@hachikuji @lindong28
Observed below test exception on local test runs
kafka.admin.ReassignPartitionsClusterTest.testHwAfterPartitionReassignment FAILURE
org.apache.kafka.common.errors.ReplicaNotAvailableException: Replica 100 is not available for partition my-topic-0

Pls take a look.

@omkreddy Thanks for the fix. @gitlw reported this issue as well yesterday. The fix LGTM.


Release Google.Cloud.BinaryAuthorization.V1 version 2.5.0

Changes in this release:
New features

Add IServiceCollection extension methods for client registration where an IServiceProvider is required. (commit 022fab2)

Created release for Google.Cloud.BinaryAuthorization.V1-2.5.0


ActivityNotFoundException in Google Play

There seems to be crashes on some devices, according to the google play store.
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.service.wallpaper.CHANGE_LIVE_WALLPAPER flg=0x10000000 (has extras) }
Which is definitely weird as the CHANGE_LIVE_WALLPAPER was added in API 16, and I'm targetting 24.
https://developer.android.com/reference/android/app/WallpaperManager.html#ACTION_CHANGE_LIVE_WALLPAPER

This might be a beginning of a solution (at last a fallback for the crash) https://stackoverflow.com/questions/12842924/how-do-i-move-to-live-wallpaper-preview-from-app

Alternatively, do what Muzei does: https://github.com/romannurik/muzei/blob/264f145819cab6f5dcb44d2a776675853a513e28/main/src/main/java/com/google/android/apps/muzei/IntroFragment.kt#L56


[FLINK-25484][connectors/filesystem] Support inactivityInterval config in table api

Change-Id: Ica8ba43307476198c4f525ac40a54ab862b58ea7

What is the purpose of the change
Support inactivityInterval config in table api
Brief change log

Add SINK_ROLLING_POLICY_INACTIVITY_INTERVAL table config
Support file inactive check when rolling which has been already supported in datastream api

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks @lichang-bd , can you add test to verify?

Thanks @lichang-bd , can you add test to verify?

Thanks @lichang-bd , can you add test to verify?
yeah， I think so， I added a single test and passed the test, please to review it again @JingsongLi

@flinkbot run azure

@flinkbot run azure

please have a look @JingsongLi


GetCurrentPosition

Description
I am working on getting user location using react-native-geolocation-service in my react-native project but getting this error read as under:
ERROR  TypeError: Cannot read property 'getCurrentPosition' of null, js engine: hermes

React-Native Version 0.72.4
React Native Version
0.72.4
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.22621
CPU: (12) x64 Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz
Memory: 8.58 GB / 19.75 GB
Binaries:
Node:
version: 18.17.1
path: C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm:
version: 9.6.7
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-223.8836.35.2231.10406996
Visual Studio: Not Found
Languages:
Java: 11.0.20
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.4
wanted: ^0.72.4
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Steps to reproduce
Stuck
Snack, screenshot, or link to a repository
Stuck

I am using react-native-geolocation-service library  for  RN 0.72.4  and its working fine for me. Just clean your build , invalidate cache from Android studio . It should work

Hi,
Thanks for reporting this issue.
It seems like this issue is actually unrelated to React Native core. Please open this issue against this other repository:
https://github.com/Agontuk/react-native-geolocation-service/issues
I'll be closing this but feel free to reopen if the other repo points back to us as a issue in the core of React Native.


[Release Only Changes] Remove git commit hash in wheel name

For release we are not looking for something like :
pytorch_triton-3.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
not:
triton-3.2.0+git35c6c7c6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Agree, will suggest a followup PR in main for this

Let's land this to unblock the release for sure. But maybe we could do something more general on main so we don't have to make this change on every release branch (what do we do on pytorch? there must be something that elides the git-hash suffix when doing a release build)

Yeah, I suggested the same


Move timezones to npm package and convert util-frontend.js to typescript

Use timezone list from npm package instead of saving the timezone list in the js file.
That way, the owner of the repo does not need to maintain the list of timezones themselves.
Timezones still work after this change:

+1 great work!

Any reason why change it to TypeScript? As the current codebase is written in JavaScript, it should be standardized. Unless you wan t to share code with backend and frontend.

Any reason why change it to TypeScript? As the current codebase is written in JavaScript, it should be standardized. Unless you wan t to share code with backend and frontend.

I saw the other file was in typescript: src/util.ts
And I'm a big fan of typescript
Is there a reason not to move towards typescript, other than keeping the whole codebase in the same language?

Just want to standardize, it is not good to have both ts and js files randomly in the project. So please change to Javascript.

src/util.ts

Yes, this is the current only file that share functions between frontend and backend, util.ts (ES6 Import) compile to util.js (CommonJS).

fixed


fix: change options to config based on BasePlugin

Which problem is this PR solving?

closes #313

Short description of the changes

Keep initialization in ctor in order to avoid undefined issue about _config property if we intend to use it outside PluginLoader. (related to #210)
use _config instead of options.

Codecov Report

Merging #314 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #314      +/-   ##
==========================================
+ Coverage   97.94%   97.95%   +<.01%
==========================================
  Files         101      101
  Lines        4777     4784       +7
  Branches      406      407       +1
==========================================
+ Hits         4679     4686       +7
  Misses         98       98

Impacted Files
Coverage Δ

packages/opentelemetry-plugin-http/src/http.ts
96.34% <100%> (ø)
:arrow_up:

...ckages/opentelemetry-plugin-grpc/test/grpc.test.ts
95.97% <100%> (ø)
:arrow_up:

...-plugin-http/test/integrations/http-enable.test.ts
91.91% <100%> (ø)
:arrow_up:

...y-plugin-http/test/functionals/http-enable.test.ts
98.17% <100%> (ø)
:arrow_up:

packages/opentelemetry-plugin-grpc/src/grpc.ts
96.23% <100%> (ø)
:arrow_up:

...entelemetry-exporter-jaeger/test/transform.test.ts
100% <0%> (ø)
:arrow_up:

...pe-async-hooks/test/AsyncHooksScopeManager.test.ts
100% <0%> (ø)
:arrow_up:

.../opentelemetry-exporter-jaeger/test/jaeger.test.ts
100% <0%> (ø)
:arrow_up:


Leveler lags after a huge amount of users.

I already contacted Stevy about this, however, i figured out that it doesn't lag because it compresses a image, it lags because it makes a huge file that saves all the data, then when that hits around 2mb, the system starts to hog the CPU. I think Twentysix might be able to explain this better than me.
My recommendation: Make a save file for separate discord servers, for example Server 1, and Server 2.

Or better yet, make save files for each user.

Yes, I'm aware. I'll fix when I get the time.

Alright, is there an ETA maybe or is it random?


How chceck the Image are unload?

I need using this same Image variable twice.
How chcek: is my variable load or genImage or not?
#include "raylib.h"
#include "stdio.h"

int main(void)
{
 Image parrots;

 if( IsImageReady(parrots) ) printf("tak\n"); else printf("nie\n");

    parrots = GenImageColor(512, 384, (Color){ (unsigned char)GetRandomValue(100, 250), (unsigned char)GetRandomValue(50, 150), (unsigned char)GetRandomValue(10, 100), 255 });
 if( IsImageReady(parrots) ) printf("tak\n"); else printf("nie\n");

   UnloadImage(parrots);
 if( IsImageReady(parrots) ) printf("po unload tak\n"); else printf("po unload nie\n");

   parrots = LoadImage("raylib/examples/textures/resources/cat.png");
 if( IsImageReady(parrots) ) printf("po unload tak\n"); else printf("po unload nie\n");

   UnloadImage(parrots);
 if( IsImageReady(parrots) ) printf("po unload tak\n"); else printf("po unload nie\n");

return 0;
}

output:
nie
tak
po unload tak
INFO: FILEIO: [raylib/examples/textures/resources/cat.png] File loaded successfully
INFO: IMAGE: Data loaded successfully (384x512 | R8G8B8 | 1 mipmaps)
po unload tak
po unload tak

meybe setup NULL image data pointer ?

image.data is a pointer
image is a copy

Actually, don't we have a memory leak problem here? Since Image image is passed by value to UnloadImage() when we RL_FREE() it, we're not freeing the actual image.data, but the copy. @raysan5 Please correct me if I'm wrong.

@ubkp Image is passed by value but image.data contains a valid address pointing to dynamically-allocated data so, data can be freed as expected... But the Image object passed by copy can not be internally modified, so, not only field values can't be reseted but neither the pointer address value.
It was designed this way for simplicty for users, minimizing as much as possible pointers usage... and expecting more advance users to deal with the consequences on users side.
The proper way to reuse most raylib variables based on structures that imply Load*()/Unload*() is:
Image image = LoadImage("cat.png");  // image.data is dynamically allocated, pointer address set, image fields set, copy returned

UnloadImage(image); // image.data is correctly freed but no image fields can be modified due to dealing with a copy

//UnloadImage(image); // WARNING: Trying to free(image.data) already freed, address is valid but data has already been unloaded --> CRASH!

image = (Image){ 0 };  // Reset all fields manually at user side for image reuse

image = LoadImage("dog.png");  // New image loaded internally and copy returned

@wir19 Answering to your original question:
After calling UnloadImage(image) just reset image internal data image = (Image){ 0 } if you are planning to reuse it. My recommendation is avoiding reusing per design if possible.


Update high-availability-guide-suse-nfs.md

All the SUSE links which are present in the start of the doc are either invalid or out of date. The SUSE links present are for SLES 12SP3 which is already EOL.  This is creating confusion for the customers due to outdated links and references.
The links have been updated with SLES 12SP5 and with the latest link for references.
Please find the changes and requesting to push the same on doc.

@rdeltcheva
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


cuda section replacement

Are the major changes to your code all in the cuda section? Can I directly replace the cuda part of 3DGS directly with the cuda part of your code to achieve anti-aliasing effect? I tried it and found that the psnr was very low, was there something I missed or misunderstood?

Yes, I mainly modify the CUDA code (forward.cu and backward.cu), and I also format parameters in function definition in CUDA.

Thanks，however after I replace cuda section in original 3dgs by ana-gs，it seems that psnr is very low.
-----原始邮件-----
发件人: Zhihao @.>
目标语言: lzhnb @.>
抄送: Chen @.>; Author @.>
日期: 2024年7月25日星期四 09:43 CST
主题: Re: [lzhnb/Analytic-Splatting] cuda section replacement (Issue #3)
Yes, I mainly modify the CUDA code (forward.cu and backward.cu), and I also format parameters in function definition in CUDA.
--
Reply to this email directly or view it on GitHub:
https://github.com/lzhnb/Analytic-Splatting/issues/3#issuecomment-2249199538
You are receiving this because you authored the thread.
Message ID: @.***>


lib/types: enhances separatedString's description.

The previous description "string" is misleading in the full options
manual pages; they are actually concatenated strings, with a specific
character.
The string "" has been documented to stay coherent with the previously
deprecated "types.string".
Motivation for this change
This is for nixos-homepage/pull/246, where @ryantm was curious about listing the type descriptions on the options page. The particular type desired had to be fixed to be more useful (I think).
To be useful for nixos-homepage, it would need to be backported to 18.09.
Things done

✔ Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

✔ NixOS
⬜ macOS
⬜ other Linux distributions

⬜ Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
⬜ Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
⬜ Tested execution of all binary files (usually in ./result/bin/)
⬜ Determined the impact on package closure size (by running nix path-info -S before and after)
✔ Fits CONTRIBUTING.md.
✔ Built the docs

@samueldr Looks good!

Thanks, missed that bit!

@GrahamcOfBorg test nghttpx

Backported
[release-18.09 03bf8cd4870] lib/types: enhances separatedString's description
Date: Thu Oct 11 21:23:11 2018 -0400
1 file changed, 4 insertions(+), 1 deletion(-)


Compile time cookbook failures not being logged to console

Version:
11.16.4
Environment:
Ubuntu 14.04.1
Scenario:
Run chef client from command line with an error in the cookbook.
Steps to Reproduce:
In my case set logging level to :info and log location to /var/log/chef.log in client.rb.  Then have an error in the cookbook that would manifest at compile time.  In my case I tried to notify a service that hadn't been defined.
Expected Result:
The error should log to the logfile and to the console.
Actual Result:
Chef client just failed with no error shown in the console.  The log contained the actual error.
End of output on the console:
Recipe: mysql::ruby
  * chef_gem[mysql] action install (up to date)  <-- last compile time resource right here
  Converging 310 resources

Running handlers:
Running handlers complete
Chef Client failed. 0 resources updated in 6.368434115 seconds

Real error in the log file:
[2014-12-02T00:04:22+00:00] ERROR: Running exception handlers
[2014-12-02T00:04:22+00:00] ERROR: Exception handlers complete
[2014-12-02T00:04:22+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-12-02T00:04:22+00:00] ERROR: resource template[/etc/php5/mods-available/90-llgy.ini] is configured to notify resource service[php5-fpm] with action restart, but service[php5-fpm] cannot be found in the resource collection. template[/etc/php5/mods-available/90-llgy.ini] is defined in /var/chef/cache/cookbooks/land-web/recipes/default.rb:71:in `from_file'

[2014-12-02T00:04:22+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

This isn't really a bug as titled.  The systems are operating as designed and the formatter output is only going to the console, while the log output is only at the WARN level so that INFO logging is suppressed.
The user fix is to bump the log level to INFO from AUTO.
The bigger fix for us would be something like CHEF-4974.  Do something like start sending formatter output to the log_location and undo the magical switching and make STDOUT not be special any more which would dramatically reduce confusion but would be a breaking change due to the expectation that log formats are APIs.

@lamont-granquist if this is a high prio bug in chef-core why is this bug still not fixed after more than a year?

its a major breaking change, therefore blocked until Chef 13 -- that is why its marked accepted major.
there's also lots of high priority bugs that are not fixed.  the standard answer is that time resources are finite, while bugs seem to be infinite.  best way to make sure a bug gets fixed is to submit a well-formed PR that we can just mash merge on.

the other obvious thing to do is to pay for a support contract -- issues that are raised against contracts have a good chunk of a whole team assigned to them and they get priority attention above bugs which are simply marked 'high' priority in issues but which have no sponsor.  which might suck from certain perspectives, but that's reality, which is that people who pay get their concerns escalated to the head of the queue.  although in this case it wouldn't help that much because the log file format is considered an API.  there's also the obvious workaround for this issue which is that if you're simply explict and use --force-formatter and --force-logger and override the tty-based guessing then users get what they want.  since this is a bug about flipping default feature flag behavior around it has to be blocked on a major release.


Add quirk for Bosch isw-zdl1-wp11g motion sensor

This implements a quirk to support the Bosch isw-zdl1-wp11g motion sensor.
Add battery_percent_remaining attribute to power_configuration cluster.
This was modeled directly from the existing quirk for the Bosch ISW-ZPR1-WP13 model - only the MAX_VOLTS and MIN_VOLTS values are different because the WP11G model holds more batteries and operates on a higher voltage than the WP13 model.

Codecov Report

Merging #615 (972ca99) into dev (58ab84c) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #615      +/-   ##
==========================================
+ Coverage   80.65%   80.73%   +0.07%
==========================================
  Files         160      161       +1
  Lines        3697     3712      +15
==========================================
+ Hits         2982     2997      +15
  Misses        715      715

Impacted Files
Coverage Δ

zhaquirks/bosch/isw-zdl1-wp11g.py
100.00% <100.00%> (ø)

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 58ab84c...972ca99. Read the comment docs.

Pull Request Test Coverage Report for Build 400028953

15 of 15 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 80.738%

Totals

Change from base Build 399756750:
0.08%

Covered Lines:
2997

Relevant Lines:
3712

💛  - Coveralls

Post the original device signature (the one without the quirk applied) here for posterity.

what do you get for battery_voltage attribute if you read it? e.g. the other bosch also has 4 batteries but reports the battery voltage as 3v, cause it looks like it is using 2in series + 2 in parallel battery setup.

Original Device Descriptor:
{
"node_descriptor": "NodeDescriptor(byte1=2, byte2=64, mac_capability_flags=8, manufacturer_code=0, maximum_buffer_size=108, maximum_incoming_transfer_size=0, server_mask=0, maximum_outgoing_transfer_size=0, descriptor_capability_field=0)",
"endpoints": {
"5": {
"profile_id": 260,
"device_type": "0x0402",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0020",
"0x0402",
"0x0500",
"0x0b05"
],
"out_clusters": [
"0x0019"
]
}
},
"manufacturer": "Bosch",
"model": "ISW-ZDL1-WP11G",
"class": "zigpy.device.Device"
}

@Adminiuga - there are 6 AA batteries in the WP11G but the arrangement is interesting, it appears to be 4 batteries in series for the first set (1.5 x 4 = 6 volts) and a second set with 2 other batteries powering other circuitry.
"battery_quantity" returns "4"
"battery_voltage" returns "60" (on a brand new set of batteries)
"battery_2_quantity" returns "2"
"battery_2_voltage" returns "0"
For what it's worth, the batteryMap developed for SmartThings also represents these two different models as follows, which matches what we're considering to deploy here:
if (model == "ISW-ZDL1-WP11G") {
batteryMap = [60: 100, 59: 100, 58: 100, 57: 100, 56: 100, 55: 100,
54: 100, 53: 100, 52: 100, 51: 100, 50: 90, 49: 90,
48: 90, 47: 90, 46: 70, 45: 70, 44: 70, 43: 70, 42: 50,
41: 50, 40: 50, 39: 50, 38: 30, 37: 30, 36: 30, 35: 30,
34: 15, 33: 15, 32: 1, 31: 1, 30: 0]
minVolts = 30
maxVolts = 60
} else if(model == "ISW-ZPR1-WP13") {
batteryMap = [30: 100, 29: 100, 28: 100, 27: 100, 26: 100, 25: 90, 24: 90, 23: 70,
22: 70, 21: 50, 20: 50, 19: 30, 18: 30, 17: 15, 16: 1, 15: 0]
minVolts = 15
maxVolts = 30
}
that was found at https://community.smartthings.com/t/bosch-isw-zdl1-wp11g-tritech-motion-detectors-work-with-smartthings/119131

Interesting. I guess if there's no voltage for the 2nd set then we could ignore it, and max_volts=6.0 is correct setting.


MatsSocket: Handle RETRY in MatsSocket.js

... only relevant for MatsSocket.js when handling messages from Server, as client won't answer this so Server does not need it.

Missing test only.


⚠ Bofrost.de has degraded performance

In fea08a6, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1034 ms

Resolved: Bofrost.de performance has improved in cf37fee.


Fix PR comments UI

Closes:

https://github.com/go-gitea/gitea/issues/17768
https://github.com/go-gitea/gitea/issues/18315

ps: this PR is still not ideal, some code are just copied & pasted, and there are still bugs with reactions (very old bugs). For 1.16-rc, this PR should be enough.

trigger bot


Fix error in final bicep file

"parameters" is still invalid ... needs to be changed to "param"

@EricBergDE - thanks for fixing this example.
#sign-off


Fixed window naming in X11 backend

Since we use xcb calls I changed to XCB_ATOM_*. Window name now showing correctly in the window frame and with wmctrl -l.

Forgot window class.. Making a new PR.

Thanks


Create of Group Chat Fail

Hello,
i am developing a fork of ChatSecureAndroid.
I am not able to create group chat with the client.
I get follow errors in logcat:
01-06 10:09:12.456: E/GB.ImApp(7252): error creating MUC
01-06 10:09:12.456: E/GB.ImApp(7252): item-not-found(404) This room is locked
01-06 10:09:12.456: E/GB.ImApp(7252): 	at org.jivesoftware.smackx.muc.MultiUserChat.create(MultiUserChat.java:356)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$XmppChatGroupManager.createChatGroupAsync(XmppConnection.java:531)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection.findOrCreateParticipant(XmppConnection.java:1592)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection.findOrCreateSession(XmppConnection.java:1576)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection.access$13(XmppConnection.java:1572)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$2.processPacket(XmppConnection.java:1254)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at org.jivesoftware.smack.Connection$ListenerWrapper.notifyListener(Connection.java:833)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:482)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
01-06 10:09:12.456: E/GB.ImApp(7252): 	at java.lang.Thread.run(Thread.java:841)
I tested with adium on our server and muc function works fine (create/join/message).
Btw, when i create group chat, the default server in the dialog is always conference.dukgo.com, not the server of jabber id. I could change it in code but maybe it is not supposed so?
Regards

Another relative issue:
after i "create" group chat as above, the room is actually not created in server, but it is shown in Chat List.
I can write the message in that chat, even though the server will not handle it.
And i can't delete that chat in list. It disappear after i restart chatsecure client.


SyncServer: Dropbox Provider

Goal
To enable syncing files to Dropbox.
Motivation
We have moved all our files from Google Drive to Dropbox, and the way we were using Google Drive (using one user for everyone) was not fitting for Sync Server.
Step To Test
This was tested with a Dropbox paid account with Team Folders. It should be possible to have Team Folder with free accounts but I have not tested this.

Create a Dropbox app: https://developers.dropbox.com/oauth-guide with access to the full Dropbox.
Enabled these permissions; files.content.write, files.content.read, sharing.read, team_data.member, team_data.team_space, members.read.
Generate the access token and input into the settings.
Find your Dropbox user name and input into the settings. If you dont know this, you can leave it blank and an error message will display all available user names.
Find your Dropbox team folder name and input into the settings. If you dont know this, you can leave it blank and an error message will display all available team folder names.

Implementation
I've copied the GDrive provider but Dropbox is a lot simpler and maybe too naive on this first commit but we can improve on that. Compared with GDrive, Dropbox does not need any tree or folder ids as they are just paths to the files from the Team Folder.
Since the settings for both providers are hardcoded, I have split the settings visually hence why there is a slight change to how GDrive provider gets its settings.

Are the methods get_system_settings_schema, get_project_settings_schema, get_local_settings_schema in effect?

Only get_system_settings_schema is, not others.
Unfortunately I am not able to test it on Basic account (team.* scope requires Business account). Code looks good otherwise.
Poetry is not updated though, could you please run poetry add dropbox and commit changes in poetry.lock and pyproject.toml?

dropbox library is missing in poetry definition.

Done


Writing data to linked service AzureSQL database using the python AzureML package does not work

Package Name: AzureML
Package Version: 1.34.0
Operating System: MacOs
Python Version: 3.7.11

Describe the bug
Writing data to azureSQL database using Dataset.Tabular.from_sql_query() fails with error message:
Cannot load any data from the datastore using the SQL query.
To Reproduce
Steps to reproduce the behavior:

Add AzureSQL database to AzureML as datastore
Run an insert query using Dataset.Tabular.from_sql_query()

Expected behavior
Writing data to database.
Additional context
In case the from_sql_query() functionality is only meant for retrieving data from a SQL database, what is the designated way to write data to a database using the azure python sdk?
I know it is possible with pyodbc but doing it through the azure python sdk would be a lot easier and safer.

@DaanDuppen thank you for your question. @Azure/cxp can you route to the appropriate rep on the Azure ML team?

@DaanDuppen Currently, Dataset.Tabular.from_sql_query() only supports creating a TabularDataset by reading data from a SQL database table. Inserting/writing data back is not supported using this API. For writing the job output data back as a TabularDataset, you can use OutputFileDatasetConfig to one of the supported datastores (blob storage, fileshare, adlsgen1, or adlsgen2) and the promote the output to a TabularDataset.
For writing data back to SQL DB, the option that you have mentioned (using pyodbc) should work. We are taking note of your feedback for writing back to SQL DB using Python SDK.


Simple Collections

Using the Arrayzy library, adds a CollectionTrait that can be used to return collections with helper methods.

That sounds like a good addition. :+1:
Scott


Improve set handling

This makes CharacterSet a standard Subexpression as suggested in https://github.com/ammar/regexp_parser/issues/47#issue-275073366
All equivalent tokens result in the same Scanner and Parser emissions as outside of sets.
New CharacterSet::Range and CharacterSet::Intersection expressions represent respective trees.
Other notable changes are:

example
from type, token
to type, token
from exp
to exp

[\b]
:set, :backspace
:escape, :backspace
none/String
ES::Backspace

[[:xy:]]
:set, :char_xy
:charclass, :xy
none/String
CharacterClass

[[:^xy:]]
:set, :char_nonxy
:noncharclass, :xy
none/String
CharacterClass

\x20
:escape, :literal
:escape, :hex
ES::Literal
ES::Hex

\u1234
:escape, :literal
:escape, :codepoint
ES::Literal
ES::Codepoint

\u{12 34}
:escape, :literal
:escape, :codepoint_list
ES::Literal
ES::CodepointList

@ammar What do you think? The commit messages provide a bit more explanation if you are wondering about some of the changes, but feel free to suggest any other solution.

Turns out I should have read the docs...
https://github.com/k-takata/Onigmo/blob/79114095/doc/RE#L155-L156
Intersections apply to all expressions in their set, not just adjacent ones.
'abc1'.scan(/[a b \d && b c [:digit:]]/x) # => ["b", "1"]
'abc1'.scan(/[^a b \d && b c [:digit:]]/x) # => ["a", "c"]

So maybe Intersection parse results need to look somewhat like this:
RP.parse(/[a&&b]/).first.first # =>
  #<Intersection @expressions=[
    #<Intersection::Left @expressions=[
      #<Literal @text="a"/>
    ],
    #<Intersection::Right @expressions=[
      #<Literal @text="b"/>
    ]/>
  ]/>

Now that would require quite a bit of tree restructuring while parsing.
Not to mention that there can be more than one intersection:
'abc1&'.scan(/[abc && ab && bc]/x) # => ["a"]

Another option could be to treat Sets as group of Sequences by default, which, however, might make them harder to handle just for this somewhat exotic feature.
Hmmm ...