Unable to use cppgraphqlgen

I try to use the cppgrahqlgen library in my own project. Therefore, I created the project in a new directory using (for a starting point) the files from the star wars sample.
generated/
  DroidObject.cpp
  DroidObject.h
  HumanObject.cpp
  HumanObject.h
  learn_schema_files
  MutationObject.h
  MutationObject.cpp
  QueryObject.h
  QueryObject.cpp
  ReviewObject.h
  ReviewObject.cpp
  StarWarsObjects.h
  StarWarsSchema.h
  StarWarsSchema.cpp
src/
  DroidData.cpp
  DroidData.h
  HeroData.h
  HumanData.cpp
  HumanData.h
  MutationData.cpp
  MutationData.h
  QueryData.cpp
  QueryData.h
  ReviewData.cpp
  ReviewData.h
  sample.cpp
  StarWarsData.cpp
  StarWarsData.h
CMakelists.txt (see below)

I tried to adapt the CMakelists.txt from the samples, but I had to use link_directories to link to graphqlintrospection lib and so on.

cmake_minimum_required(VERSION 3.8.2)
project(graphql_example)

set (CMAKE_CXX_STANDARD 17)

include_directories(/home/jsk/third_party_libs/vcpkg/installed/x64-linux/include)
link_directories(/home/jsk/third_party_libs/vcpkg/installed/x64-linux/lib)

# learnschema
set(LEARN_SCHEMA_PATHS "")
file(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/generated/learn_schema_files LEARN_SCHEMA_FILES)
foreach(CPP_FILE IN LISTS LEARN_SCHEMA_FILES)
  list(APPEND LEARN_SCHEMA_PATHS "${CMAKE_CURRENT_SOURCE_DIR}/generated/${CPP_FILE}")
endforeach(CPP_FILE)

add_library(learnschema STATIC ${LEARN_SCHEMA_PATHS})
#   target_link_libraries(learnschema PUBLIC graphqlintrospection) # build fails
target_link_libraries(learnschema PUBLIC graphqlintrospection graphqljson graphqlresponse graphqlservice graphqlpeg graphqlclient pthread stdc++fs)
target_include_directories(learnschema PUBLIC
#   ${CMAKE_CURRENT_SOURCE_DIR}/../include
#   ${CMAKE_CURRENT_SOURCE_DIR}/../PEGTL/include
  /home/jsk/third_party_libs/cppgraphqlgen/PEGTL/include
  ${CMAKE_CURRENT_SOURCE_DIR}/generated)

# star_wars
add_library(star_wars STATIC
  src/DroidData.cpp
  src/HumanData.cpp
  src/QueryData.cpp
  src/ReviewData.cpp
  src/MutationData.cpp
  src/StarWarsData.cpp)
target_link_libraries(star_wars PUBLIC learnschema)
target_include_directories(star_wars PUBLIC star_wars)

# learn_star_wars
add_executable(learn_star_wars src/sample.cpp)
target_link_libraries(learn_star_wars PRIVATE
  star_wars
  graphqljson)
target_include_directories(learn_star_wars PRIVATE
#   ${CMAKE_CURRENT_SOURCE_DIR}/../include
  /home/jsk/third_party_libs/vcpkg/installed/x64-linux/include
#   ${CMAKE_CURRENT_SOURCE_DIR}/../PEGTL/include
  /home/jsk/third_party_libs/cppgraphqlgen/PEGTL/include
)

I installed cppgraphqlgen using vcpgk in /home/jsk/third_party_libs/vcpkg. I also have the source in  /home/danneboom/third_party_libs/cppgraphqlgen.
The commands I use to build the project:
cd build
cmake .. -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9
cmake --build .

This way I am able to build. But something is wrong, since when I execute learn_star_wars, I get a segmentation fault:
Starting program: /home/jsk/graphql_example/build/learn_star_wars
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x000055555565f54e in graphql::schema::Field::Make(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >, std::optional<std::basic_string_view<char, std::char_traits<char> > >, std::weak_ptr<graphql::schema::BaseType const>, std::vector<std::shared_ptr<graphql::schema::InputValue const>, std::allocator<std::shared_ptr<graphql::schema::InputValue const> > >&&) ()

What is the correct way to use  cppgraphqlgen in a custom project?
I'm running Ubuntu 18.4 using GNU 9.4.0 and cmake 3.10.2

I think the segfault is probably caused by a mismatch in the C++ standard libraries, or maybe some other ABI mismatch due to compiler flags. Since you're using the version which you built with vcpkg, try adding -DCMAKE_TOOLCHAIN_FILE=/home/jsk/third_party_libs/vcpkg/scripts/buildsystems/vcpkg.cmake to your first cmake command line. You may need to delete the build directory first and re-create it, I'm not sure cmake will pay enough attention to the new variable in an already configured directory.
If you use the vcpkg toolchain file, you should be able to put back the commented-out lines that didn't build before, and comment-out the lines that you added to replace them.
If you'd rather build cppgraphqlgen from source as part of your build, it should also support add_subdirectory. You might need to put it in a sub-directory of your main project, I'm not sure if you can point to your copy in /home/danneboom/third_party_libs/cppgraphqlgen if it's not a sub-directory of your project. Also, if you're not using vcpkg, you'll need to make sure you have the other dependencies like PEGTL (included as a Git sub-module in cppgraphqlgen, but may not be cloned by default). Most targets have an alternate way to install boost libraries, if you install a separate package, cmake needs to be able to find them for the command line handling in schemagen and clientgen. It also needs gtest/googletest if you are building unit tests.

I tried deleting the build folder and build again with the toolchain file, only linking to graphqlintrospection:
$ cmake .. -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9 -DCMAKE_TOOLCHAIN_FILE=/home/jsk/third_party_libs/vcpkg/scripts/buildsystems/vcpkg.cmake
The output is attached in output.txt. I think it cannot find the implementation of the graphqlresponse library. That's why I added them explicitly to CMakelists.txt
I attached the project as a zip file, if you want to try it by yourself.
output.txt
graphql_example.zip
In general, I would like to use cppgraphqlgen like a usual system library, which means (in my understanding) that I can use PackageConfig to find the package and then link the headers and the libraries
find_package(cppgraphqlgen)
(...)
include_directories(${cppgraphqlgen_INCLUDE})
target_link_libraries(mytarget ${cppgraphqlgen_LIBRARIES})

Is there any way to use cppgraphqlgen like that? Install the library system-wide and provide a pkgconfig?

Is there any way to use cppgraphqlgen like that? Install the library system-wide and provide a pkgconfig?

Yes, although I don't think it's the same thing as pkgconfig. I'm not that familiar with pkgconfig, but I think it uses .pc files and integrates with other things besides cmake.
Check out the Command Line on any platform section of the README.
The install target for cmake creates .cmake files which enable find_package. Among other things, that config file for .cmake should set the include and library directories and specify the dependencies between targets, so you only need to link with cppgraphqlgen::graphqlintrospection for it to pick up everything else.

@ipa-jsk: I'll leave this open a couple more days in case you're still stuck.

Thanks, I'm still stuck indeed ;)
I tried to build cppgraphqlgen from source like described in the readme.
 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9 ..
 sudo cmake --build . --target install

But there is some error with std::experimental::filesystem:
Scanning dependencies of target client_benchmark
[ 39%] Building CXX object samples/CMakeFiles/client_benchmark.dir/client/BenchmarkClient.cpp.o
[ 40%] Building CXX object samples/CMakeFiles/client_benchmark.dir/client/benchmark.cpp.o
[ 41%] Linking CXX executable client_benchmark
../src/libgraphqlpeg.a(SyntaxTree.cpp.o): In function `std::experimental::filesystem::v1::__cxx11::filesystem_error::filesystem_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::experimental::filesystem::v1::__cxx11::path const&, std::error_code)':
SyntaxTree.cpp:(.text._ZNSt12experimental10filesystem2v17__cxx1116filesystem_errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS2_4pathESt10error_code[_ZNSt12experimental10filesystem2v17__cxx1116filesystem_errorC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS2_4pathESt10error_code]+0x288): undefined reference to `std::experimental::filesystem::v1::__cxx11::filesystem_error::_M_gen_what()'
collect2: error: ld returned 1 exit status
samples/CMakeFiles/client_benchmark.dir/build.make:128: recipe for target 'samples/client_benchmark' failed
make[2]: *** [samples/client_benchmark] Error 1
CMakeFiles/Makefile2:1580: recipe for target 'samples/CMakeFiles/client_benchmark.dir/all' failed
make[1]: *** [samples/CMakeFiles/client_benchmark.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

This error does not occur when building without -DCMAKE_BUILD_TYPE=Release. Any idea whats going wrong?

But also with cppgraphqlgen built from source with sudo and --target install, I am not able to build:
$ cmake --build .
-- Configuring done
CMake Error at CMakeLists.txt:47 (add_executable):
  Target "learn_star_wars" links to target "taocpp::pegtl" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

CMake Error at CMakeLists.txt:36 (add_library):
  Target "star_wars" links to target "taocpp::pegtl" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?

CMake Error at CMakeLists.txt:20 (add_library):
  Target "learnschema" links to target "taocpp::pegtl" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?

-- Generating done
-- Build files have been written to: /home/jsk/graphql_example/build
Makefile:564: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1

CMakelists.txt

But also with cppgraphqlgen built from source with sudo and --target install, I am not able to build:
$ cmake --build .
-- Configuring done
CMake Error at CMakeLists.txt:47 (add_executable):
  Target "learn_star_wars" links to target "taocpp::pegtl" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

CMakelists.txt
Do I still miss some find_packages/includes/linking/dependencies ?

Yes, that means it couldn't find PEGTL. If you have cloned the cppgraphqlgen repo, you can pull it in as a Git submodule using the commands:
> git submodule init
> git submodule update

If you are using a source archive/tar ball, then you probably need to perform this process of building and installing https://github.com/taocpp/PEGTL with cmake first, and it should put its own .cmake configuration files where find_package in cppgraphqlgen can find them.
This is all much easier with vcpkg, BTW. That's why I always recommend trying that first. ;)

I finally figured it out: a find_package(pegtl) command was missing. So, finally, the workflow which worked for me is

clone cppgraphqlgen repo
load git submodules
in CMakelists.txt, set GRAPHQL_BUILD_SCHEMAGEN and GRAPHQL_BUILD_CLIENTGEN to OFF (I was not able to build due to boost version conflicts)
cmake .. -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9
cmake --build .
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --target install

Then, the attached CMakeLists.txt shows how to link to cppgraphqlgen.
Thanks for your support!

This is all much easier with vcpkg, BTW. That's why I always recommend trying that first. ;)

Yeah I tried that first, but it didnt work either, maybe its an ubuntu issue (I think the integrate command didn't work properly).

in CMakelists.txt, set GRAPHQL_BUILD_SCHEMAGEN and GRAPHQL_BUILD_CLIENTGEN to OFF (I was not able to build due to boost version conflicts)

You'll probably want to get GRAPHQL_BUILD_SCHEMAGEN working at some point, otherwise you can't build your own schemas. If you can get vcpkg to install the cppgraphqlgen package locally, even if you can't link or build your own project against it, it should include a schemagen binary that you can use instead of building it yourself.

cmake .. -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9
cmake --build .
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --target install

Then, the attached CMakeLists.txt shows how to link to cppgraphqlgen.

Yup, that looks much simpler, and it's taking advantage of the cppgraphqlgen-config.cmake file that this project installs.

This is all much easier with vcpkg, BTW. That's why I always recommend trying that first. ;)

Yeah I tried that first, but it didnt work either, maybe its an ubuntu issue (I think the integrate command didn't work properly).

I think the integrate command may be unnecessary on Linux, I think it just adds a dot-file somewhere in the home directory that tools which know about vcpkg could use to find it. Either way, you usually need to manually specify the -DCMAKE_TOOLCHAIN_FILE=... parameter to cmake, because I think the only tools that do that automatically based on vcpkg integrate are Visual Studio and VS Code on Windows.
Anyway, I'm glad you're unblocked. :smile: I'll go ahead and close the issue.


CFBundleVersion is blank…

If you build CwlSignal via directly via Xcode, using instructions in CwlSignal's README (or xcodebuild or Carthage and/or Punic) the CFBundleVersion in the built product Info.plist is blank. In the project the CFBundleVersion is defined as "$(CURRENT_PROJECT_VERSION)" which obviously isn't getting populated.
iTunes Connect will reject any framework with a missing CFBundleVersion.

Thanks for pointing this out. It looks like that value got lost when I merged with the swift-package generated project file in this commit: 14cc6d68b8d6b4a6f9a7c91aa0d8f97023c7beb4
Oops.
Fix is in latest commit: 7f4ebe52ca3fb2593990d0dce5d283fccf97c721


In the reconstruction_input table the attribute 'b3_bag_bag_overlap' is NULL for freestanding buildings. It should be 0 instead for those cases. There is a hot fix applied in geoflow basic3d plugin to correct this now, but it should be fixed in the generation of reconstruction input table.

This was fixed already.


tap_action stopped working

Describe the bug
The tap_action stopped working in one of the last 2-3 upgrades. I have pinpointed this at the latest version.
How to reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
YAML configuration
# please paste here your card config
color_gradient:
  - '#ff0000'
  - '#ffff00'
  - '#00ff00'
entities:
  - entity: sensor.aeotec_zw129_wallmote_duo_battery_level_2
  - entity: sensor.aeotec_zw129_wallmote_duo_battery_level_3
  - entity: sensor.aeon_labs_zw130_wallmote_quad_battery_level
  - entity: sensor.aeotec_zwa003_nanomote_quad_battery_level
name: Recharchable Batteries
tap_action:
  action: more-info
type: 'custom:battery-state-card'

Screenshots
If applicable, add screenshots to help explain your problem.
When I click I am getting this error message
https://xxxx.xxxxx.xxxx.xxx:yyyyy/hacsfiles/battery-state-card/battery-state-card.js:37:939 Uncaught TypeError: t.card.dispatchEvent is not a function
Version
What is the version of the card?
1.3.2

Fixed in v1.3.3

@maxwroc
The fix is not always working. I do not know if this is related with the front end changes or with cache.
After I have upgraded to 0.110.1 and this to 1.3.3 the was still getting this error message below when I tapped on. After several refreshes the problem disappeared.  When I restart my whole device that runs home assistant the problem appeared again with the same error message. Again, after several refreshes the problem dissapered.
Logger: frontend.js.latest.202005191
Source: components/system_log/init.py:209
First occurred: 11:33:13 AM (6 occurrences)
Last logged: 11:33:19 AM
https://nicolaspc.ddnsfree.com:8123/hacsfiles/battery-state-card/battery-state-card.js:37:939 Uncaught TypeError: t.card.dispatchEvent is not a function

I think that the card code is for some reason taken from browser cache. My suggestion is to update the resource url (in your ui-lovelace.yaml) to force refresh e.g.
  - url: /hacsfiles/battery-state-card/battery-state-card.js?v=1.3.3
    type: module

Note the part ?v=1.3.3

If you have a browser with developer console (shown after hitting F12) please check which card version is logged there:

I did that and It shows 1.3.4 but after I changed the URL. I keep track on this and I will let you know of the problem are reappears.
Thanks

From: Max Chodorowski<EMAIL_ADDRESS>Sent: Friday, May 22, 2020 12:35 PM
To: maxwroc/battery-state-card<EMAIL_ADDRESS>Cc: 03397<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [maxwroc/battery-state-card] tap_action stopped working (#57)
If you have a browser with developer console (shown after hitting F12) please check which card version is logged there:
[image]https://user-images.githubusercontent.com/8268674/82653975-eb0e8680-9c17-11ea-8eed-4d15adb25ed2.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/maxwroc/battery-state-card/issues/57#issuecomment-632597784, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABO5VRJPAAV66SN2VQIBFATRSZBO3ANCNFSM4NFURNGA.


Use official way of installing cmtcl

As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running

/approve

/lgtm


Update pyup to weekly

+1 for weekly, not sure about Mondays... maybe Wednesday?

+1 for weekly, not sure about Mondays... maybe Wednesday?

I went with Monday thinking to tie it into 2nd line handover. What's your thinking with Wednesday?

+1 for weekly, not sure about Mondays... maybe Wednesday?

I went with Monday thinking to tie it into 2nd line handover. What's your thinking with Wednesday?

I was thinking that there was already enough to do on Monday what with 2nd line handover :joy:


Magic Installer offers to use sudo then immediately terminates

Expected behavior:
After running the magic installer, when it offers to use sudo, I can enter y/n.
Actual behavior:
After offering to use sudo, the program immediately terminates

OS: Windows 10
If there are any additional details I can provide, let me know.

Could it be that you typed y + enter?
echo "y\n" | ./install.sh

Is the only way I can reproduce the issue.


[Bug] dbt-core is not compatible with latest protobuf version

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Protobuf 5.26.0 was released today.
When installing dbt and running dbt deps, I see:
dbt deps
18:45:37  Running with dbt=1.7.9
18:45:38  Installing dbt-labs/dbt_utils
18:45:38  Installed from version 1.1.1
18:45:38  Up to date!
18:45:38  Installing calogica/dbt_expectations
18:45:39  Installed from version 0.10.0
18:45:39  Updated version available: 0.10.3
18:45:39  Installing calogica/dbt_date
18:45:39  Installed from version 0.10.0
18:45:39  Up to date!
18:45:39
18:45:39  Updates available for packages: ['calogica/dbt_expectations']
Update your versions in packages.yml, then run dbt deps
Traceback (most recent call last):
  File "/home/vscode/.pyenv/versions/3.9.18/bin/dbt", line 8, in <module>
    sys.exit(cli())
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/dbt/cli/main.py", line 155, in wrapper
    return func(*args, **kwargs)
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/dbt/cli/requires.py", line 109, in wrapper
    fire_event(
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/dbt/events/functions.py", line 270, in fire_event
    EVENT_MANAGER.fire_event(e, level=level)
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/dbt/events/eventmgr.py", line 17, in fire_event
    msg = msg_from_base_event(e, level=level)
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/dbt/events/base_types.py", line 143, in msg_from_base_event
    "msg": event.message(),
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/dbt/events/types.py", line 2414, in message
    return f"Resource report: {self.to_json()}"
  File "/home/vscode/.pyenv/versions/3.9.18/lib/python3.9/site-packages/dbt/events/base_types.py", line 104, in to_json
    return MessageToJson(
TypeError: MessageToJson() got an unexpected keyword argument 'including_default_value_fields'

Fixing protobuf dependency on protobuf 4.25.3 fixes the error.
Expected Behavior
With protobuf < 5.26.0, I don't see an error.
Steps To Reproduce

Install dbt
Run dbt deps

Relevant log output
See above

Environment
- OS: ubuntu 22.04 (devcontainer)
- Python: 3.9.18
- dbt: 1.7.9

Which database adapter are you using with dbt?
spark
Additional Context
No response

Should be fixed by #9724

@akan72, how could you pin the protobuf to solve the issue?

@katepaydhealth I didn't confirm myself, but probably by executing something like this in your dbt environment:
python -m pip install protobuf==4.25.3

@katepaydhealth I didn't confirm myself, but probably by executing something like this in your dbt environment:

python -m pip install protobuf==4.25.3

Yup this is exactly what I did!

A new release 1.7.10 is being built now with protobuf pinned.

dbt-core 1.7.10 has been released.

Thank you @gshank ❤
Can confirm that the the following raised an error before, but is not raising an error now that dbt-core 1.7.10 has been released:
deactivate
python -m venv env_1.7
source env_1.7/bin/activate
python -m pip install --upgrade pip
python -m pip install pipdeptree
python -m pip install dbt-core~=1.7.0 dbt-postgres~=1.7.0
source env_1.7/bin/activate
dbt --version
dbt debug

I'm going to close this as resolved, but anyone runs into issues, please reach out and we'll revisit this.

@gshank Maybe an upper version limit for other modules might be set too?

Maybe an upper version limit for other modules might be set too?

Tedious, but true.  Many module developers use semantic versioning to convey if there are breaking changes in a release.
Unfortunately, pip doesn't have the equivalent of the caret ^ semantics as used in the NPM package ecosystem, as it would have been easy to write the dependency as protobuf ^4.25.3 and it would not cross over to installing the 5.x release.  With pip, we would have to write this as protobuf >=4.25.3, <5.0.0 (as what has been done for this issue) or maybe more intuitively protobuf >=4.25.3, ==4.*

pip install protobuf~=4.25 is an equivalent of protobuf==4.X and protobuf>=4.25. It would not cross over to installing the 5.x in this case.

Maybe an upper version limit for other modules might be set too?

Hi @VShkaberda that is actually exactly what we're doing (with only a few exceptions). We switched not too long ago to specifying upper bounds for all most all of our dependencies (see setup.py) 🙂

Hi @VShkaberda that is actually exactly what we're doing (with only a few exceptions). We switched not too long ago to specifying upper bounds for all most all of our dependencies (see setup.py) 🙂

        ...
        # Expect compatibility with all new versions of these packages, so lower bounds only.
        "packaging>20.9",
        "protobuf>=4.0.0,<5",
        "pytz>=2015.7",
        ...

Might help future readers of the code to move the protobuf entry out of the section mentioned by the inline comment 🙂

pip install protobuf~=4.25 is an equivalent of protobuf==4.* and protobuf>=4.25. It would not cross over to installing the 5.x in this case. If requirement includes a patch, then protobuf >=4.25.3, ==4.* seems to be good enough.

@VShkaberda We'd love to move to using ~= notation, and originally we were in dbt-semantic-interfaces. However, ~= has some interesting bugs with compatible version specification resolution. Some of these have been resolved (https://github.com/pypa/pip/issues/12229, https://github.com/pypa/packaging/issues/421) and some have not (https://github.com/pypa/pip/issues/9613). Once they're all taken care of and released, we hope to move to using ~= again. However, even once those fixes are released we'll have to wait a good bit of time because people will first need to upgrade their pip version... which people do infrequently at best.

@peter-at-work, you are absolutely correct 😅 That's actually directly on me, I did the capping... Correction in https://github.com/dbt-labs/dbt-core/pull/9786

Thx for solution. I would be however happier if I did not have to downgrade protobuf.

@mcDandy if you are interested in support for protobuf 5, would you mind opening a feature request?
https://github.com/dbt-labs/dbt-core/issues/9566 has a little bit of additional context of why we put an upper bound on the protobuf dependency. It sounds like we could theoretically support protobuf 5, but it would take additional work for us to assess, and the implementation would likely make our code base more complex as well.

Feature request to support protobuf 5 for dbt-core is here: https://github.com/dbt-labs/dbt-core/issues/9724

Thxs for the mitigation but I can't downgrade protobuf since my projects already requires >5
Would LOVE a fix on that 🙂


Initial rp235x support

There are many places that could reasonably be bikesheded, as I'm the only person who's spent any time with this code and names are important. I especially want input on the feature names and organization.
Features not yet supported:

hstx
powman
risc-v cores
new pio features
most bootrom features
otp
psram

Examples have been run locally during development for sanity checks, but there is not yet a test suite, as probe-rs does not yet support the rp2350.
Many thanks to @thejpster for doing all the hard parts and for writing the start block and binary info code.
This depends on rp-pac#5. rp23-pac should probably be moved to the embassy-rs org.
Marked draft at least until rp-pac and rp23-pac are updated/moved/released and the related cargo.tomls are updated.

CI build fails because currently neither the 2040 nor rp235x are selected by default, so there is no pac. I'm not sure what the best way to handle that is. If it's built with -F rp2040 -F rt-2040 or -F rp235x -F rt-235x it should pass.
Tests fail because there are no tests.
I'm actually quite confused about how the nightly build worked. Is embassy-rp not built with nightly?

I will review fully soon, just one quick thought for now:
I think we should add rp235x to rp-pac (stm32-metapac style) instead of making separate crates per chip (nrfxxx-pac style). It's much less annoying to release and manage Cargo features. Also it makes sense given the crate is named rp-pac.
Chiptool doesn't have builtin support for that. Either we could add something, or we could just make chiptool generate the two sub-pacs and write lib.rs manually to include either one or the other.

rp-pac#5 now supports both the 2040 and 2350. I had assumed it'd be hard to do, but it wasn't too bad. I just updated the update.sh to make both and hand wrote a tiny lib.rs. Features did indeed clean up with the single pac.

ci.sh fails, but I don't understand why. Building embassy-rp with (as far as I know) the same args works.

i've done some hacking on the PAC, mostly to arrayify/deduplicate more stuff. The PAC builds ~2x faster now.
Cherry-pick this commit into your branch to fix CI. https://github.com/embassy-rs/embassy/commit/1ff027bdde2da333cab943a9226e458de49dfd4c . BTW I'd request for next PRs you enable the "allow maintainers to push to the branch" thing, it's nice to allow maintainers to do small fixes like that directly on the PR.

If it's not an issue to use the git dep for the pac then I think this is ready.

Hello! Just a reminder that under the terms of the licences under which my HAL was placed, you have to include the copyright line from my MIT file along with the paragraphs below it in any copies or substantial portions of the software. As this PR lifts several modules wholesale, I’d say that counts. If I had included a NOTICES file you would also have to carry that, but I didn’t include one.

@thejpster  can you send a PR?

Not from my phone. Maybe in a week after my vacation.


Added the Missing Example in data.json

Fixes #1466
Changes:
Updated the missing example for the function in Data.json (Best of my knowledge it is not the the frontend but the collection of data for handling on Frontend)
Screenshots of the change:

Solution to #1466 if required has not yet been worked out, I would suggest participating in the discussion there to get to a concensus before filing a PR. Thanks.


Add guest command execution example plugin

Write a plugin able to execute code within the guest.
The plugin should also allow to inject data (ex. files) within the guest.

Closed by pull request #15


source_id and title conventions check

I pulled out all the source_id and title conventions for the channel into a central setting.
Most of them are obvious (use primary node identifiers from the site like node-xyz).
I also implemented @jamalex's idea of using a slug (first 20 chars of title) as a prefix for teacher docs and transcripts so that we'll know what video they are from in places where they appear standalone (e.g. in the Recommended view).
Please take a quick look and if you don't see anything wrong I'll run the channel tonight.

Here are some sample excerpts to help you see what's going on:
A sample topic
    {
      "kind": "TopicNode",
      "source_id": "mit_blossoms_topic_Biology",
      "title": "Biology",
      "author": "MIT Blossoms",
      "description": "Video lessons about Biology",
      "thumbnail": null,
      "children": [ ... ]

A sample cluster
        {
          "kind": "TopicNode",
          "source_id": "mit_blossoms_cluster_DNA",
          "title": "DNA",
          "author": "MIT Blossoms",
          "description": "Video lessons from the cluster DNA",
          "thumbnail": null,
          "children": [...]

A sample video lesson with two video files
            {
              "kind": "TopicNode",
              "source_id": "node-238",
              "title": "Classifying Animals by Appearance Versus DNA Sequence",
              "author": "Megan E. Rokop",
              "description": "The topic of this video module is how[...] phylogenetic trees.\n\n",
              "thumbnail": "https://blossoms.mit.edu/sites/default/files/video/thumbnail/DNA-Sequence-338x264.jpg",
              "children": [
                {
                  "kind": "VideoNode",
                  "source_id": "node-238:Arabic Voice-over",
                  "title": "Arabic Voice-over: Classifying Animals by Appearance Versus DNA Sequence",
                  "author": "Megan E. Rokop",
                  "description": "The topic of this video module is how to classify animals based on how closely\nrelated they are. The main learning obj[...]e phylogenetic trees.\n\n",
                  "derive_thumbnail": true,
                  "thumbnail": "https://blossoms.mit.edu/sites/default/files/video/thumbnail/DNA-Sequence-338x264.jpg",
                  "files": [
                    {
                      "file_type": "VideoFile",
                      "path": "http://d1baxxa0joomi3.cloudfront.net/a0863223fbc17493298b34b20a89438d/basic.mp4",
                      "ffmpeg_settings": {
                        "crf": 24
                      }
                    }
                  ]
                },
                {
                  "kind": "VideoNode",
                  "source_id": "node-238:English",
                  "title": "English: Classifying Animals by Appearance Versus DNA Sequence",
                  "author": "Megan E. Rokop",
                  "description": "The topic of this video module is how to classify animals based on how closely\nrelated they are. The main le[...] make phylogenetic trees.\n\n",
                  "derive_thumbnail": true,
                  "thumbnail": "https://blossoms.mit.edu/sites/default/files/video/thumbnail/DNA-Sequence-338x264.jpg",
                  "files": [
                    {
                      "file_type": "VideoFile",
                      "path": "http://d1baxxa0joomi3.cloudfront.net/e9ec2d0f86e6a9c08a624ad4f883fdad/basic.mp4",
                      "ffmpeg_settings": {
                        "crf": 24
                      }
                    }
                  ]
                }

A sample transcript file
                    {
                      "kind": "DocumentNode",
                      "source_id": "node-238:rokop-transcript.pdf",
                      "title": "Classifying Animals ..: Download Written Transcript of this video lesson",
                      "author": "Megan E. Rokop",
                      "description": "Download Written Transcript of this video lesson",
                      "thumbnail": null,
                      "files": [
                        {
                          "file_type": "DocumentFile",
                          "path": "https://blossoms.mit.edu/sites/default/files/video/transcript/rokop-transcript.pdf"
                        }
                      ]
                    }

and finally...
Sample folder of For Teachers resources
                {
                  "kind": "TopicNode",
                  "source_id": "https://blossoms.mit.edu/videos/lessons/classifying_animals_appearance_versus_dna_sequence_0#lesson-detail-tab-teacher_guide",
                  "title": "For Teachers",
                  "author": "MIT Blossoms",
                  "description": "Additional resources for teachers.",
                  "children": [
                    {
                      "kind": "DocumentNode",
                      "source_id": "node-238:rokop-teachers-guide.pdf",
                      "title": "Classifying Animals ..:Read Teacher's Guide to this video lesson",
                      "author": null,
                      "description": "Read Teacher's Guide to this video lesson",
                      "thumbnail": null,
                      "files": [
                        {
                          "file_type": "DocumentFile",
                          "path": "https://blossoms.mit.edu/sites/default/files/video/guide/rokop-teachers-guide.pdf"
                        }
                      ]
                    },
                    {
                      "kind": "DocumentNode",
                      "source_id": "node-238:Rokop-mammals-physical.pdf",
                      "title": "Classifying Animals ..:Download worksheet, \u201cClassification of Mammals by PhysicaAl Characteristics\u201d (PDF)",
                      "author": null,
                      "description": "Download worksheet, \u201cClassification of Mammals by PhysicaAl Characteristics\u201d (PDF)",
                      "thumbnail": null,
                      "files": [
                        {
                          "file_type": "DocumentFile",
                          "path": "https://blossoms.mit.edu/sites/default/files/video/download/Rokop-mammals-physical.pdf"
                        }
                      ]
                    },
                    {
                      "kind": "DocumentNode",
                      "source_id": "node-238:Rokop-mammals-DNA.pdf",
                      "title": "Classifying Animals ..:Download worksheet, \u201cClassification of Mammals by DNA Sequence\u201d (PDF)",
                      "author": null,
                      "description": "Download worksheet, \u201cClassification of Mammals by DNA Sequence\u201d (PDF)",
                      "thumbnail": null,
                      "files": [
                        {
                          "file_type": "DocumentFile",
                          "path": "https://blossoms.mit.edu/sites/default/files/video/download/Rokop-mammals-DNA.pdf"
                        }
                      ]
                    },

@jayoshih I think Topics and Clusters are part of the site structure, so not very likely to change.


Can´t get nodejs examples working

Hello, can't figure out how to run examples for nodejs. Browser examples works fine.
Followed instructions in readme:

git clone https://github.com/justadudewhohacks/face-api.js.git
cd face-api.js/examples/examples-nodejs
npm i
tsc faceDetections
Output: https://pastebin.com/huEH2RVQ
and
ts-node faceDetection.ts
Output: https://pastebin.com/7AFfM6ki

Machine is Ubuntu 16,04 on AWS.

Right, i have that npm not installed. How can i fix this?

You shouldn't need python to run the nodejs examples.
You only need python (or pip for that matter) to install @tensorflow/tfjs-node, but I am also using python 3.6 and it works fine.

It installed, then i deleted from variable path python 3.7., and then i installed python 2.7.

Solved, thanks! Was using wrong version of tfjs-core.


Deceptive Site Ahead.

Hi,
I am having this weird issue on firefox and mobile devices. Chrome is fine but all other browser say this 'Deceptive site ahead.' I have lets encrypt SSL certificate installed. But I am not sure where this issue is coming. Is it happening to any others? It is a problem where I install this repository.
Here is the URL : https://app.e-nas.co.uk/login

I tested it on my local, obtaining Let's Encrypt SSL certificate using valet secure.
I am facing this issue on Firefox.
Did you find a solution?

If you are simply visiting the page and getting this issue, its not to do with the package, this is an SSL issue, server issue, or domain was reported as spam.

We are facing the same issue, we are using Cloudflare and AWS.
@osiset, do you have any ideas about why this could be happening?

This has nothing to do with the package, it has to do with IPs and domains being flagged as spam. You'll need to resolve this outside.

Thank you for the faste response, @osiset .
This domain and ip is used only for the Shopify application which is still in development. I doubt it was flagged as spam...

I've spun up new digital ocean servers before and had them flagged as spam. IPs float around, get reused, whole ranges are flagged as spam all the time.

How did you resolve it with that ip?
PS we have used that IP for 3-4 months now.
Strange behavior:(

If the ip is an issue you can try creating new servers. Personally I would put the domain on cloudflare, that way your actual ip isn't exposed to Google or anyone else.

By the way, when I access the site on Chrome/windows 10 I am not seeing the warning. Did you click on the "Request Review" button?

The domain is on Cloudflare.
I might have some clue of what happened before the domain was flagged.
The store we installed the app on is password protected. I deleted all cookies and refreshed the page. Enter password screen was shown with a script tag on it and our js file. Could it be something related to this?

Honestly its hard to know what caused it, I've battled it before but a review ended up solving it.

Any update about this problem?
I'm in the same situation.

@keidarcy This is not a problem with the package. Its the server/IP being reported.

Is that possible to delete /home route?
I can't find how to do that in wiki

Is that possible to delete /home route?
I can't find how to do that in wiki


Move into shared for SqlCachedBuffer.cs

Relating to issue #1261 .  I moved the SqlCacheBuffer.cs from netcore to shared src and updated the reference in the netfx csproj.  I did notice that in the ToXmlReader method was implemented differently between the two.  I looked at the helper method SqlTypeWorkarounds.SqlXmlCreateSqlXmlReader(...) and it seems to be doing the same functionality without using reflection.

I decided to remove the ToXmlReader method because there's no references to it anywhere in the code and tests.  After further comparison between the reflection implementation in netfx and the helper method in netcore, they both seems different but since it's an internal method and it's not being used, I feel like it's safe to remove.

Seems reasonable. We'll see id it affects any of the tests (which sometimes use private reflection) and if nothing is broken then it'll be a good cleanup.

Unless there are merge conflicts I wouldn't suggest keeping all your PR's up to date with main. It will take you a lot of time and it can be months before the team are ready to review.


sqlelf: init at 0.3

Description of changes
Added sqlelf - a tool that utilizes SQLite's virtual table functionality to allow you to explore Linux ELF objects through SQL.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3191

These comments are in line with the python packaging documentation, so they are fine and should stay.

These comments are in line with the python packaging documentation, so they are fine and should stay.

This is an example code, indeed a typical tutorial, with a clear intention of teaching.
Such comments in tutorial code are not meant to be replicated on production code.
Comments in production code have another different purpose, namely to provide useful info about the code that is not obvious by a mere reading.
An example is the one right before disabledTestPaths.
On the other hand, your next suggestion of using with python3Packages will obviate this.

This is an example code, indeed a typical tutorial, with a clear intention of teaching.
Such comments in tutorial code are not meant to be replicated on production code.

Grouping dependencies with comments like that help me do a well-structured review, because the structure resembles what python packages look like. That is why the documentation for Python packages is like that, and I very much want to keep it that way.

Comments in production code have another different purpose, namely to provide useful info about the code that is not obvious by a mere reading.

I agree these comments serve different purposes. Please don't deny me the purpose I see in these comments.

On the other hand, your next suggestion of using with python3Packages will obviate this.

My rejection of your review stems from my knowledge and role in Python packaging. After taking a closer look, I told the author that using buildPythonApplication was the builder to be used, which follows a slightly different structure and uses python3Packages for cross compilation reasons.

I would like you to refrain from issuing stylistic reviews and leave this to the outcome of RFC 166.

I would like you to refrain from issuing stylistic reviews and leave this to the outcome of https://github.com/NixOS/rfcs/pull/166.

 Maybe we can nudge @fzakaria to resolve these from PATH and backport that patch?

Depends on https://github.com/NixOS/nixpkgs/pull/245527

I bumped SQLELF to work with the latest capstone published version.


Misbehaviour with Claude Models or just User Error?

What happened?
Might need to reopen this issue, see my comment for details:
https://github.com/danielmiessler/fabric/issues/295#issuecomment-2052026266
I would appreciate help on this & thanks for the amazing work all of you pulled of already!
Version check

[X] Yes I was.

Relevant log output
pt https://www.youtube.com/watch?v=8MIIeIa25tE&t=13s | fabric --stream --pattern extract_wisdom --output 'claudeOpusOutput.md'
[1] 92815 Error: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'messages.0: all messages must have non-empty content except for the optional final assistant message'}} Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'messages.0: all messages must have non-empty content except for the optional final assistant message'}}

Relevant screenshots (optional)
No response

hey so walk me through the issue. you cant pipe yt output to fabric if fabric is using claude?

also, you cant use --stream with --output.

Exactly, also I'm not sure whether the prompt gets injected in the first place since the output does not seem to follow the system.md prompt, or am I wrong there?
Also, did I use the --output flag in a wrong way? It saves an empty file even when there is a response from claude, works as expected with gpt-4

Following questions remain open for me:

Why does fabric not complete the request to claude unless using additional --text input? And when doing it with --text, why does the response not refer to the transcript at all?
Why does the --output save work with the same command when using gpt-4 but does not when using a claude model?

I validated the --output problem with claude. I'll fix it soon. But I don't understand your other point. You can't use claude when you pipe into fabric?

I validated the --output problem with claude. I'll fix it soon. But I don't understand your other point. You can't use claude when you pipe into fabric?

Yes, I can't pipe to fabric when using Claude. When I do that, it wants me to provide --text and does not include the piped in transcript

Do me a favor. Show me the output of echo hello | fabric -s when your default model is a claude model

btw i just fixed the --output and --copy with local models and with claude, but i'm still not understanding your other issue. When i pipe something to fabric it is working with claude and with local models just fine.


(SERVER-1094) Add logging re: JDK8 "stream closed" bug

:+1:

:+1:

this has a bug, as @haus pointed out, and I'd rather rebase it on top of @nathanielksmith 's PR #885 .


Improve warning for deprecated collections config

Do not emit the warning for swift build, swift test etc, since these commands by definition to not work with package collections
Do emit the warning for swift package-collections by request an active workspace

@swift-ci please smoke test

@swift-ci please smoke test


[CELEBORN-1556] Update Github actions to v4

What changes were proposed in this pull request?

update actions/setup-java to v4
update actions/upload-artifact to v4
update actions/checkout to v4
update pnpm/action-setup to v4

Why are the changes needed?
Mordernize the github actions used, bumping the runtime in actions to NodeJS 20.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Passing the CI jobs.

@bowenliang123, thanks. Merged to main(v0.6.0) and branch-0.5(v0.5.2).


Staging update

:tada: This PR is included in version 0.1.0-stage.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.1.0-dev.9 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


PowerToys Run - Crashes after selecting a program from quick launcher drop down

Microsoft PowerToys version
0.41.3
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
2021-06-30.txt  - the error log
I start typing in the the quick launcher and then select the program from the drop down.
✔ Expected Behavior
It should have opened the program
❌ Actual Behavior
It crashed and directed me to a log file to report.
Other Software
No response

According to line 3183~3204 in the attached file (pasted below), this is a duplicate #11898
System.InvalidCastException: Unable to cast object of type 'System.Windows.Documents.Run' to type 'System.Windows.FrameworkElement'.
   Source: PowerLauncher
   TargetAssembly: PowerLauncher, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
   TargetModule: PowerLauncher.dll
   TargetSite: Void SuggestionsList_PreviewMouseLeftButtonUp(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at PowerLauncher.MainWindow.SuggestionsList_PreviewMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Duplicate of https://github.com/microsoft/PowerToys/issues/11898

we're have a fix checked in are tracking in #11898 and hope to have a fix out shortly.


Labels & Policies

Background
Currently, connections are generally considered to be equivalent, "global" resources shared by all users of a single libp2p host. However, this isn't always desirable:

Some connections may be transient (solved manually for now), slow, or limited.
Some connections may be expensive.
Some services may want to use separate transports and/or connections for different types of messages (https://github.com/libp2p/go-libp2p-pubsub/issues/455).
Some connections may be "important" and should not be cut. There's currently no good way to specify "policies" in the connection manager.

Proposal
Introduce a concept of "labels" to libp2p implementations where:

Transports, connections, streams, etc. can acquire one or more "labels". Or, more generally, (label, value) tuples.
Requests (connection attempts, new streams, etc.) may specify policies over these labels.

Examples
Example 1: Transient Connections

The relay transport (maybe?) and transient relay connections would be labeled with "transient".
The default dial and "new stream" protocol would reject "objects" with the "transient" label.

Example 2: Service-specific connections

Hosts needing special-purpose connections would register one transport per connection type per protocol. E.g., there might be a TCP transport for "data" and a TCP transport for "pubsub".
When creating new streams, services would be able to specify "policies" describing which type of connection they want.

Questions:

How do we distinguish between these transports in peer records? I assume we'd need to advertise the labels somehow.
How do we make sure both sides agree on the labels? Is that necessary? We can probably use identify but this could be... interesting.
How do we prevent other services from using connections with "reserved" labels? We'd probably need some form of "default" or "general" label where all connections would inherit this label by default and all request (dials, etc.) would require this label by default.

Example 3: Priorities
A request (dial, etc.) could specify a priority for labels. E.g., prefer connections that don't require file descriptors, reject transient connections.
Why Labels
So, the simple solution here is to allow the user to pass a bunch of filters in the context (or in some form of policy). E.g., they could pass a filter/comparator to filter/sort transports, addresses, streams, connections, etc.
However, labels let us abstract this away a bit. Instead of having to handle transports, addresses, streams, and connections, the filters/comparators would operate over labeled abstract "objects".

In general I very much like the idea; the labels can carry semantic information for use from various protocols a components of the system.
The main difficulty I see is how those labels get applied. Is it a dial (eg WithLabel(s)) option? Or is it something that gets applied afterwards, on an existing connection?
Also, some labels (eg transient in a generalization of the current property) are applied by the transport itself.

I'm expecting labels (properties) to be applied by the transports, connections, etc. at first. I'd also expect the user to be able to "add" labels (e.g., with a WithLabels param) but I'm more interested in the properties of the connection itself at the moment.


How to export blender model into sdf file

Hello,
I found your code in Blender to obtain information about bones. but how to generate the SDF file based on the blender file? I didn't find code to implement this in this repository. Did you use some toolbox?
I am trying to build a simple animal SDF file (using a ball, box, or cylinder not mesh).
Thanks a lot for your help.

Hello,
Unfortunately, we do not provide support for the SDF generation from Blender as it is currently a part of another work in progress.
Having said that, if you want to replace the mesh with simple geometric objects, you can have a look at this code (Supp Figure 9 in the paper). Here, we change the antennae and forelegs with cylinders to test the effect of detailed morphology.
Hope it helps!


Add instructions improvement in workflow files

Workflows & Branching Strategies
There's no one perfect workflow or branching strategy that fits every project. However, when you're collaborating in a repository on GitHub, it's important to have a clear workflow outlined and communicated. That way, contributors know what to expect and how to get things done.
Here are a few of our favorite resources to help you make the right choice for your project:

The GitHub Flow
Azure's Guide to Branching Strategies
A list of awesome Contributing guides won't necessarily help you decide on a workflow, but it will help you decide how to communicate your chosen workflow

Upgrade in YML

pull safety request to merged the branch and close with this comment.


PCM updates

Slight naming changes in pcm.rs, and a new library of utility functions in pcm_lib.rs

As I've been using it, I've thought it might be simpler to not have partially commutative semigroups at all and just have partially commutative monoids. It's not a big deal to add a unit to any partially commutative semigroup to make it a PCM. If you agree, I'll update this to just use PCM.

As I've been using it, I've thought it might be simpler to not have partially commutative semigroups at all and just have partially commutative monoids. It's not a big deal to add a unit to any partially commutative semigroup to make it a PCM. If you agree, I'll update this to just use PCM.

I included some examples, and then committed a change showing how they get simplified by removing PCSemigroup.

I'm not sure why Iris has RAs without unit either, other than the small convenience of not needing to declare a unit element on each RA.
RAs without unit should not be necessary. At a theoretical level, RAs without units can be systematically extended to have units nicely with a free-forgetful adjunction (Iris proof of this here). Practically, this can be done by wrapping a non-unital RA with an "option" RA transformer, which uses None as a unit.
Iris also does add a unit to all the RAs when constructing the global resource algebra that actually gets plugged into the base logic (see ResF in section 7.5 of https://plv.mpi-sws.org/iris/appendix-4.2.pdf).
More practically, proofs of programs using Iris typically only use the existing library of RAs and RA combinators. At that level of abstraction, (e.g. using a key-value map RA or taking the product of two other RAs), the burden of having to include a unit in every RA would not make an appearance. It seems reasonable to keep Verus conceptually simpler by excluding "partial commutative semigroups".


Optimize API call

For every user sub to weekly menus the bot uses 1 API call.

Fixed on commit 355444a3671fa1951794e333bb8d547c27870df0


OT-Daemon/RCP Incompatibility

Describe the bug
I observed that an RCP running from around commit c00cb8a4c4f6e2a619770ffbb4abfd0f36a7fdc2 is not compatible with host ot-daemon from current ToT (22b043bf62328e89773fa61c9bb80770f81a4bef). Since, in my system, I use ot-daemon not only to manage the Thread network but also to manage the RCP firmware (added custom version and a bootload launching command via diagnostic commands), this creates a problem.
Is there a suggestion for handling this situation? Might it be possible to launch ot-daemon with some "basic capability" that is always backwards compatible? My only thought was to install an additional copy of ot-daemon from a previous commit, but then it gets complicated to know which ot-daemon works with which RCP firmware.
This is ot-daemon against EFR32MG1P RCP.
root@eero:~# /usr/sbin/ot-daemon -d5 spinel+hdlc+uart:///dev/ttyQHS0?ncp-dataset -v
/usr/sbin/ot-daemon[3974]: Running OPENTHREAD/ga898de065; POSIX; Jan 3 2021 19:04:28
/usr/sbin/ot-daemon[3974]: Thread version: 2
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: Wait response: tid=0 key=0
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => 00 C8 00 6F C2 C0]
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => 00 C8 00 6F C2 C0]
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => 00 C8 00 6F C2 C0]
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => 00 C8 00 6F C2 C0]
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [WARN]-PLAT----: Error decoding hdlc frame: Parse
/usr/sbin/ot-daemon[3974]: [INFO]-PLAT----: RCP reset: RESET_SOFTWARE
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: Wait response: tid=1 key=1
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: Wait response: tid=2 key=2
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: Wait response: tid=3 key=8
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => 00 C8 00 6F C2 C0]
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => 00 C8 00 6F C2 C0]
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => 00 C8 00 6F C2 C0]
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => 00 C8 00 6F C2 C0]
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => 00 C8 00 6F C2 C0]
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => Framing error 6: [
/usr/sbin/ot-daemon[3974]: [DEBG]-PLAT----: RCP => 00 C8 00 6F C2 C0]
/usr/sbin/ot-daemon[3974]: [CRIT]-PLAT----: HandleRcpTimeout() at /usr/src/debug/openthread-core/git+AUTOINC+a898de065f-r0/git/src/lib/spinel/radio_spinel_impl.hpp:2164: RadioSpinelNoResponse

Hi @gabekassel , I ran an OT daemon compiled with https://github.com/openthread/openthread/commit/22b043bf62328e89773fa61c9bb80770f81a4bef and it works fine with an nrf52840 RCP compiled with https://github.com/openthread/openthread/commit/c00cb8a4c4f6e2a619770ffbb4abfd0f36a7fdc2. Also tried running against a simulated RCP and didn't see the issue. Is this issue only happening with EFR32MG1P?

Hi @gabekassel , I ran an OT daemon compiled with https://github.com/openthread/openthread/commit/22b043bf62328e89773fa61c9bb80770f81a4bef and it works fine with an nrf52840 RCP compiled with https://github.com/openthread/openthread/commit/c00cb8a4c4f6e2a619770ffbb4abfd0f36a7fdc2. Also tried running against a simulated RCP and didn't see the issue. Is this issue only happening with EFR32MG1P?

I haven't tried with another RCP but can tomorrow. But the RCP api version did increment recently.

I haven't tried with another RCP but can tomorrow. But the RCP api version did increment recently.

The RCP API version was changed in https://github.com/openthread/openthread/pull/5999, which is a backward-compatible change. If RCP incompatibility was introduced then SPINEL_MIN_HOST_SUPPORTED_RCP_API_VERSION must be increased. There should be some other reason.

The RCP API version was changed in https://github.com/openthread/openthread/pull/5999, which is a backward-compatible change. If RCP incompatibility was introduced then SPINEL_MIN_HOST_SUPPORTED_RCP_API_VERSION must be increased. There should be some other reason.

@gabekassel On a quick glance at the logs, I don't think this is related to RCP API version and RCP-host compatibility. The API version is tracking the spinel definitions (spinel msg format) and whether there is a incompatible change.
The error here seems to  indicate a more fundamental problem with the UART/driver interface between RCP and host:

The error "RCP => Framing error 6:" is indicating a PARSE_ERROR during HDLC decoding of a received frame on RCP.
Basically the received HDLC frame is somehow corrupted (i.e., does not have correct HDLC FCS).
Maybe some bytes are being dropped?

@gabekassel On a quick glance at the logs, I don't think this is related to RCP API version and RCP-host compatibility. The API version is tracking the spinel definitions (spinel msg format) and whether there is a incompatible change.
The error here seems to  indicate a more fundamental problem with the UART/driver interface between RCP and host:

The error "RCP => Framing error 6:" is indicating a PARSE_ERROR during HDLC decoding of a received frame on RCP.
Basically the received HDLC frame is somehow corrupted (i.e., does not have correct HDLC FCS).
Maybe some bytes are being dropped?

Thanks @abtink - I just made two firmware trying to bisect and haven't been able to reproduce. I'm comfortable considering this transient for the moment and see if it happens again.

Thanks @abtink - I just made two firmware trying to bisect and haven't been able to reproduce. I'm comfortable considering this transient for the moment and see if it happens again.

Moving to https://github.com/openthread/openthread/issues/6042

Moving to https://github.com/openthread/openthread/issues/6042


Loaded language from json file depending on language code in database

Workflow:

check database if there is a entry for a specific language for the current server (default to en_US)
load language file from languages folder and set values
send reply
Proof:
Admin Help:

Mod Help:

Player Help:

Thanks for the commit @Wissididom . I merged the changes.


New version: iZotope.ProductPortal version 1.4.8

Pull request has been created with komac v2.1.1 :rocket:

Resolves #147140

Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

InstallerUrl contains Manifest version instead of PR version:
InstallerUrl: https://s3.amazonaws.com/izotopedownloads/product_download/iZotope_Product_Portal_v1_4_3.exe
(Automated message - build 876)


[BUG] flutter analyze exit code -1 in info level

Hi devs,
When you run the commad below:
flutter analyze

Although it only has info level the command return exit code 1 (Fail)
The problem begin when u try to use one githook tool in your project like lefthook:
   info • 'body1' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is bodyText2. This feature was deprecated after v1.13.8. • lib/views/serviceProvider/service_provider_profile.dart:303:53 • deprecated_member_use
   info • 'body1' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is bodyText2. This feature was deprecated after v1.13.8. • lib/views/serviceProvider/service_provider_profile.dart:599:55 • deprecated_member_use
   info • 'body1' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is bodyText2. This feature was deprecated after v1.13.8. • lib/views/serviceProvider/service_provider_profile.dart:617:55 • deprecated_member_use
   info • 'body1' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is bodyText2. This feature was deprecated after v1.13.8. • lib/views/serviceProvider/service_provider_profile.dart:635:55 • deprecated_member_use
   info • 'body1' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is bodyText2. This feature was deprecated after v1.13.8. • lib/views/serviceProvider/service_provider_profile_editing_screen.dart:352:65 • deprecated_member_use

138 issues found. (ran in 6.2s)

SUMMARY: (done in 20.74 seconds)
✔  tests
🥊  linter
error: failed to push some refs to 'git@bitbucket.org:xxx/yyyy.git'

I think that any analyze tool should have an option to you set the error level. In this case I would not  include info and warning level like error level.
This is an error or a bug. Please help to solve this problem.
Thanks in advance

Maybe this issue should be filed against https://github.com/flutter/flutter ?
The dart analyzer uses 0 exit code by default:
main() {
  var x;
}

% dartanalyzer test.dart
Analyzing test.dart...
  hint • The value of the local variable 'x' isn't used. • test.dart:2:7 • unused_local_variable
1 hint found.
% echo $?
0

and exit code 1 if --fatal-infos was passed:
% dartanalyzer --fatal-infos test.dart
Analyzing test.dart...
  hint • The value of the local variable 'x' isn't used. • test.dart:2:7 • unused_local_variable
1 hint found.
% echo $?
1

Checked:
‹develop›  dartanalyzer .
Analyzing bridi-mobile...
  lint • Unnecessary new keyword. • lib/styles/components/progress_indicators.dart:36:21 • unnecessary_new
  lint • Unnecessary new keyword. • lib/styles/components/progress_indicators.dart:59:21 • unnecessary_new
  lint • Don't explicitly initialize variables to null. • lib/styles/components/text_fields.dart:93:5 • avoid_init_to_null
  lint • Don't explicitly initialize variables to null. • lib/styles/components/text_fields.dart:94:5 • avoid_init_to_null
  lint • DO use curly braces for all flow control structures. • lib/styles/components/text_fields.dart:985:35 • curly_braces_in_flow_control_structures
  lint • DO use curly braces for all flow control structures. • lib/styles/components/time_picker.dart:106:7 • curly_braces_in_flow_control_structures
  lint • Use isEmpty instead of length • lib/views/common/confirm_email.dart:334:11 • prefer_is_empty
  lint • Use isEmpty instead of length • lib/views/common/confirm_email.dart:340:11 • prefer_is_empty
  lint • Use isEmpty instead of length • lib/views/common/forgot_password/forgot_password_step_2.dart:130:11 • prefer_is_empty
  lint • Use isEmpty instead of length • lib/views/common/forgot_password/forgot_password_step_2.dart:153:11 • prefer_is_empty
  lint • DO use curly braces for all flow control structures. • lib/views/customer/customer_jobs_historic_page.dart:91:15 • curly_braces_in_flow_control_structures
  lint • DO use curly braces for all flow control structures. • lib/views/customer/customer_jobs_historic_page.dart:94:15 • curly_braces_in_flow_control_structures
  lint • Equality operator `==` invocation with references of unrelated types. • lib/views/serviceProvider/service_provider_jobs_historic_page.dart:321:31 • unrelated_type_equality_checks
  hint • Unused import: 'package:bridi_mobile/services/server.service.dart'. • lib/views/customer/add_credit_card.dart:16:8 • unused_import
13 lints and 1 hint found.

return 0

‹develop›  flutter analyze
Analyzing bridi-mobile...

   info • Unnecessary new keyword • lib/styles/components/progress_indicators.dart:36:21 • unnecessary_new
   info • Unnecessary new keyword • lib/styles/components/progress_indicators.dart:59:21 • unnecessary_new
   info • Don't explicitly initialize variables to null • lib/styles/components/text_fields.dart:93:5 • avoid_init_to_null
   info • Don't explicitly initialize variables to null • lib/styles/components/text_fields.dart:94:5 • avoid_init_to_null
   info • DO use curly braces for all flow control structures • lib/styles/components/text_fields.dart:985:35 •
          curly_braces_in_flow_control_structures
   info • DO use curly braces for all flow control structures • lib/styles/components/time_picker.dart:106:7 • curly_braces_in_flow_control_structures
   info • Use isEmpty instead of length • lib/views/common/confirm_email.dart:334:11 • prefer_is_empty
   info • Use isEmpty instead of length • lib/views/common/confirm_email.dart:340:11 • prefer_is_empty
   info • Use isEmpty instead of length • lib/views/common/forgot_password/forgot_password_step_2.dart:130:11 • prefer_is_empty
   info • Use isEmpty instead of length • lib/views/common/forgot_password/forgot_password_step_2.dart:153:11 • prefer_is_empty
   info • Unused import: 'package:bridi_mobile/services/server.service.dart' • lib/views/customer/add_credit_card.dart:16:8 • unused_import
   info • DO use curly braces for all flow control structures • lib/views/customer/customer_jobs_historic_page.dart:91:15 •
          curly_braces_in_flow_control_structures
   info • DO use curly braces for all flow control structures • lib/views/customer/customer_jobs_historic_page.dart:94:15 •
          curly_braces_in_flow_control_structures
   info • Equality operator `==` invocation with references of unrelated types •
          lib/views/serviceProvider/service_provider_jobs_historic_page.dart:321:31 • unrelated_type_equality_checks

14 issues found. (ran in 4.5s)

return 1

Let's close this issue in favor of https://github.com/flutter/flutter/issues/57880


It doesn't talk back just texts the answers... on mac os.

It doesn't talk back just texts the answers... on mac os.

Hey there,
you're likely running Parler-TTS on mps which is why you feel like it's answering (way to slow...). Have you tried running with the optimal mac settings ?
Otherwise can you please provide your mac setup and the command you're running ?

Hey, thanks for reply, what I meant is sound response, is the generated text supposed to be converted to audio and played then? So, I don't hear any sound there...

It would be great to have more information to reproduce this 😅


Crash when accessing properties defined in QML

It crashes when accessing properties defined in QML of Instance which is created with customized type.

can you fix it pelase?


Dmp 810 add functional tests for cases resource

JIRA link (if applicable)
[
(https://tools.hmcts.net/jira/browse/DMP-810)]
Change description
Functional tests for Cases added
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x] No

How does the data get cleaned up? There was discussions about these test being idempotent.

@tonymort this is a very good point as I do not have a an endpoint or event to remove case or events. This is one for @davet1985 to advise


Add warning about use of free-text citations to citation page

As per title. Proposed text and design shown in screenshot below. The change requires translation and corresponding updates to the GBIF User Manual. Note the link opens the GBIF FAQ: https://www.gbif.org/faq?q=citation
Ultimately, this warning will help alleviate confusion between different the IPT and GBIF.org auto-generated citation formats highlighted in https://github.com/gbif/ipt/issues/1360. A reminder the IPT citation format is explained in this wiki page https://github.com/gbif/ipt/wiki/IPT2Citation.wiki

The warning has now also been added to the IPT User Manual here and to the IPT FAQ here. Still outstanding, is translation of the warning in Crowdin into the IPT's seven other languages.


update api docs to match docs layout

Hello @hyu,
Please review the following commits I made in branch nicks/update:
ddf7f226f1c00394b4a82af46cb9297d73402e7d (2021-11-10 19:51:07 -0500)
update api docs to match docs layout
8069f4ff9ffa08b92264c68b4b9ca775204fbad1 (2021-11-04 15:37:38 -0400)
git submodule update --remote --merge
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics


How to simulate mouse click in C# appium unit test projece

How do I simulate mouse clicks on menu dropdowns in a C# Appium Unit test project?
Test setup Configuration:
• Visual Studio 2019 version 16.4.0
• Appium.WebDirver version 4.1.1
• Castle.Core version 4.4.0
• DotNetSeleniunExtras.PageObjects version 3.11.0
• MStest.TestAdapter version 2.0.0
• Newtonsoft.Jason version 12.03
• Selenium.Support version 3.141.0
• Selenium.WebDriver 3.141.0
I an earlier configuration I used the statement “session.Mouse.Click(appNameTitle.FindElementByName("AccessibleName").Coordinates)” to access menu items.   Now I get a message this is obsolete.  What is the correct syntax to simulate mouse clicks in the latest release of Appium?

Move to a lower version of Appium. 3.9 or something

This is an update on using actions as you suggested showing an odd behavior.
I have a “Tools” menu with an DropDown item “Auto Calculation”.  I toggle “Auto calculation’s” checked property to enable and disable the application’s Auto Calculation.  The first time I call the following code the state of the “Auto Calculation’s” checked property does not toggle.  Later calls have always toggled the checked property.  Also add a breakpoint to the first line in the following code makes it work on the first call.
     Actions actions = new Actions(session);

    // Click on main menu item “Tools’

     actions.Click(appNameTitle.FindElementByName("Tools")).Perform();

   // Click on Main menu ToolsDropDown item “Auto Calculation”

     actions.Click(appNameTitle.FindElementByName("Auto Calculation")).Perform();

So far the following code always works.
     // Click on main menu item “Tools’

     session.FindElementByName("Tools").Click(); //works

    // Click on Main menu ToolsDropDown item “Auto Calculation”

     actions.Click(appNameTitle.FindElementByName("Auto Calculation")).Perform();

Also I have not found any way to determine if “Auto calculation’s” checked property is checked in the test project.
Bob Bryant
Email address<EMAIL_ADDRESS><EMAIL_ADDRESS>Cell Phone:<PHONE_NUMBER>
From: Mike Curn<EMAIL_ADDRESS>Sent: Monday, January 20, 2020 10:23 PM
To: microsoft/WinAppDriver
Cc: Bob Bryant; Author
Subject: Re: [microsoft/WinAppDriver] How to simulate mouse click in C# appium unit test projece (#1016)
I have used Selenium's Actions API. It's so Selenium/Appium can simulate complex interactions, but frankly I find it useful with WAD when things in the desktop app don't behave quite right. So E.G. (pseudo C# code):
Actions actions = new Actions(session);
actions.Click(appNameTitle.FindElementByName("AccessibleName")).Perform();
If the problem is that WAD is finding the element but not clicking in the right location, you can try something like:
// Usually mis-clicks are because the bounding box is bigger than click the area. So go in 15pixels from the top left corner to make sure we're hitting the button.
Actions actions = new Actions(session);
actions
.MoveToElement(appNameTitle.FindElementByName("AccessibleName"), 15, 15)
.Click()
.Perform();
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/WinAppDriver/issues/1016?email_source=notifications&email_token=ABTIUOK76P63HKMLJCYD6QTQ62BCLA5CNFSM4KCGLFB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJOQVXQ#issuecomment-576522974 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTIUOO4RKHL6XWSCV75TILQ62BCLANCNFSM4KCGLFBQ .  https://github.com/notifications/beacon/ABTIUOIG5IHQICUE43Q4UITQ62BCLA5CNFSM4KCGLFB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJOQVXQ.gif


Use name field by default in Ontology editor / Table editor

Search does not work properly when using custom name-x property

https://github.com/atomicdata-dev/atomic-server/assets/21140376/342df154-84aa-4973-a45f-20639aba31ba
But if I want to use class-specific names to distinguish, for example, country name or currency name, the lookup does not function.

Perhaps we should always add the name property to all classes in the ontology editor / table editor by default?
That's a good idea!


Problems Panel Sticky Errors From Closed Files

I'm not sure why this occurs sometimes and doesn't other times. The problem I have is the following:

Open any file which has warnings/errors showing up in Problems panel.
Notice warnings/errors show up just fine.
Close the file and/or open another file.
Notice the errors from the previous file are still persistent in the Problems panel.

I don't want to see the warnings/errors from the previously closed files. Is this a bug or is there a setting for this that I've been unable to find?
@mjbvz

@mjvbz can you clarify is this is the expected behavior or a bug?
it has been like this since I started using visual studio code, so im not sure

@bpasero mjbvz doesn't want to answer so can you clarify if this the intended behavior or not? Persistent errors/warnings are bugging me very much, perhaps there's a configuration I overlooked to disable them?

Duplicate of #59363
Will follow up there

@mjbvz The issue you linked to me is specific to typescript, but I'm seeing the same problematic behavior with .json:

^ With having Settings closed.

Oh, I thought you pinged me because you were writing js/ts. Is this for any file type? What if you disable all extensions?

@Astrantia Is it happening only for settings file or all files? For settings file what are the steps to reproduce... I am asking because I am not able to repro with settings file

@sandy081 This has been happening to me for all files, but I don't know how to reproduce it yet. It just happens spontaneously after a long usage of vscode.

@Astrantia It is hard to fix without able to repro. When it happens next time please check if there are any errors in the console (Use command Toggle Developer Tools).
Closing this as it can't be repro.


Toast Components

[LEVEL]/[COMPONENT]
TASK:
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Only
[ ] Refactor

Description, Motivation and Context

Screenshots - Animations

you can take a look at https://github.com/eatozee/nftoupon/pull/5 PR... this PR using react-hot-toast... We have decided to use react-hot-toast please let me know if we have a different plan 😺


fix vmap broadcasting error

fixes #3357
@apaszke fixed this in #3222 , and since I'd already read that PR it was easy for me to understand what was happening in #3357 as soon as I saw it.
This PR just grabs part of @apaszke 's code from #3222.

Actually, we merged #3222, so no need for this one anymore!


brave build fails on multipass client if image size exceeds ZFS storage pool size

Describe the bug
brave build fails on multipass client if image size exceeds ZFS storage pool size
To Reproduce
On default multipass settings run:
brave base github.com/beringresearch/bravefiles/ubuntu/ubuntu-bionic-mlbase
The image completes a build, but export to host fails
Expected behaviour
Image should complete the build succesfully
Environment (please complete the following information):

Your operating system name and version: Mac OS Mojave
Bravetools version: 1.53
LXD version: 4.6

Address in #16


Resolves #2548

Remove extra parameter in example
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/2548

Docs Build status updates of commit bc8d552:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit b4aa3c3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit df40c87:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit cec5069:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e6c490e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 3ebb246:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit c79ffd5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0d07bd1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/adfs/Test-AdfsFarmJoin.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


For Java 11, do I need Java 17 arguments or Java 8 arguments?

What the title says.

Java 17's should work.
You can also use the most recent GraalVM EE with Java 11.
I should mention this in the guide.


Bank account required

depends on https://github.com/openprocurement/openprocurement.api/pull/354

Pull Request Test Coverage Report for Build 195

12 of 12 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.9%) to 96.443%

Totals

Change from base Build 193:
0.9%

Covered Lines:
2684

Relevant Lines:
2783

💛  - Coveralls


The session or access key being used is invalid, please run "code-push-standalone login" again. If you are on an older version of the CLI, you may need to run "code-push-standalone logout" first to clear the session cache.

Hello.
I have set up the code-push-server environment locally with the following file.
.env
EMULATED=true
DEBUG_DISABLE_AUTH=true

The server was run normally with npm run start:env
But in the cli
code-push-standalone register http://localhost:3000
or
code-push-standalone login http://localhost:3000
When you run the above, you will get an error in your browser like this:
The session or access key being used is invalid, please run "code-push-standalone login" again. If you are on an older version of the CLI, you may need to run "code-push-standalone logout" first to clear the session cache.
Of course, even if I tried the logout command as below, it didn't work.
code-push-standalone login
If you set the .env file of code-push-server as follows
DEBUG_DISABLE_AUTH=false

The following error appears in your browser:
Please select an authentication provider for your CodePush account:
However, there are no authentication providers to choose from.
How do I do this?
If it is absolutely necessary to set up the github authentication provider, please let me know how.

Hey,
I faced it too and solved tho now I'm facing a new error XD,
you have to setup OAuth with either Github or Microsoft and add an additional env variables to your API .env:
EMULATED='true'
LOGGING='true'
SERVER_URL='http://localhost:3000'
GITHUB_CLIENT_ID='SECRET'
GITHUB_CLIENT_SECRET='SECRET'
Hopefully it helps and get's you one step closer.
There's a similar issue you can look for info there maybe you will see something useful:
https://github.com/microsoft/code-push-server/issues/10

I followed this tutorial and made sure I follow the README.MD
https://www.youtube.com/watch?v=BbJt6HpZnNU
GitHub

Go to https://github.com/settings/developers
Click on New OAuth App
Homepage URL parameter will be the same as URL of your CodePush application on Azure - https://codepush-<project-suffix>.azurewebsites.net (for local development it will be either http://localhost:3000 or https://localhost:8443)
1. Authorization callback URL will be https://codepush-<project-suffix>.azurewebsites.net/auth/callback/github (for local development it will be either http://localhost:3000/auth/callback/github or https://localhost:8443/auth/callback/github)

let me know if it works.
Pay attention to change Authorization callback URL "http://localhost:3000/" in github app to be:
http://localhost:3000/auth/callback/github

@DavidKostDev
Thanks.
But before you say anything, I also read the document and set the callback url to http://localhost:3000/auth/callback/github, but I still get the error below.
Denied by Groxy

Is this a problem with the company's network security or firewall?

Thanks, @DavidKostDev
I confirmed that it works normally because the company took measures to bypass network security.
It seems that I have to start azurite first before starting the code-push server.
Thank you for your help.

@puresprout  Did you manage to make it work ?

@DavidKostDev Yes. It works. Thanks for you


Creation complete handler

Creation complete convenience handler in View, with reference to https://github.com/mesmotronic/conbo/issues/1

Looks good.
Can you update the View class in the TypeScript definitions (typings/conbo.d.ts) with the new method too?

already there!

Missing (brackets) before :void

oops!


style: update formatting

These formatting changes are actually caused by a bug in prettier 3.30 https://github.com/prettier/prettier/issues/16351, which I previously locked to 3.25 (and which Dependabot upgraded the other day)

Oops, didn't know that. We can revert these after the prettier fix then.
Sorry for the inconvenience, I just wanted to see the CI green!

Oops, didn't know that. We can revert these after the prettier fix then.
Sorry for the inconvenience, I just wanted to see the CI green!

No probs. Just noting it for when that actually gets fixed.


Panic when markdown has dollar signs in it

The following markdown doc causes mdtopdf to panic:
Bob had $20 and but lost $10.

The panic is:
$ ./md2pdf -i  /tmp/foo.md  -o /tmp/out.md.pdf
panic: Unknown node type *ast.Math

goroutine 1 [running]:
github.com/mandolyte/mdtopdf.(*PdfRenderer).RenderNode(0x4000030800?, {0x0?, 0x40001a1b08?}, {0x45ac90?, 0x4000020aa0?}, 0xc0?)
        /home/psanford/projects/thirdparty/mdtopdf/mdtopdf.go:454 +0x5e4
github.com/gomarkdown/markdown.Render.func1({0x45ac90?, 0x4000020aa0?}, 0x80?)
        /home/psanford/.cache/gopath/pkg/mod/github.com/gomarkdown/markdown@v0.0.0-20230922105210-14b16010c2ee/markdown.go:63 +0x50
github.com/gomarkdown/markdown/ast.NodeVisitorFunc.Visit(0x4000172840?, {0x45ac90?, 0x4000020aa0?}, 0x68?)
        /home/psanford/.cache/gopath/pkg/mod/github.com/gomarkdown/markdown@v0.0.0-20230922105210-14b16010c2ee/ast/node.go:574 +0x38
github.com/gomarkdown/markdown/ast.Walk({0x45ac90, 0x4000020aa0}, {0x457420, 0x400007b3e0})
        /home/psanford/.cache/gopath/pkg/mod/github.com/gomarkdown/markdown@v0.0.0-20230922105210-14b16010c2ee/ast/node.go:546 +0x58
github.com/gomarkdown/markdown/ast.Walk({0x45a430, 0x4000172840}, {0x457420, 0x400007b3e0})
        /home/psanford/.cache/gopath/pkg/mod/github.com/gomarkdown/markdown@v0.0.0-20230922105210-14b16010c2ee/ast/node.go:557 +0x144
github.com/gomarkdown/markdown/ast.Walk({0x45a3e8, 0x40001727e0}, {0x457420, 0x400007b3e0})
        /home/psanford/.cache/gopath/pkg/mod/github.com/gomarkdown/markdown@v0.0.0-20230922105210-14b16010c2ee/ast/node.go:557 +0x144
github.com/gomarkdown/markdown/ast.WalkFunc(...)
        /home/psanford/.cache/gopath/pkg/mod/github.com/gomarkdown/markdown@v0.0.0-20230922105210-14b16010c2ee/ast/node.go:580
github.com/gomarkdown/markdown.Render({0x45a3e8, 0x40001727e0}, {0x458c20, 0x40001d0000})
        /home/psanford/.cache/gopath/pkg/mod/github.com/gomarkdown/markdown@v0.0.0-20230922105210-14b16010c2ee/markdown.go:62 +0xd0
github.com/mandolyte/mdtopdf.(*PdfRenderer).Run(0x40001d0000, {0x400003e200?, 0x242?, 0x40001a1d30?})
        /home/psanford/projects/thirdparty/mdtopdf/mdtopdf.go:344 +0xb4
github.com/mandolyte/mdtopdf.(*PdfRenderer).Process(0x40001d0000, {0x400003e200?, 0x1e?, 0x200?})
        /home/psanford/projects/thirdparty/mdtopdf/mdtopdf.go:318 +0x1b8
main.main()
        /home/psanford/projects/thirdparty/mdtopdf/cmd/md2pdf/md2pdf.go:157 +0x9fc

Seems like the issue is that you have enabled the MathJax extension via parser.CommonExtensions but you don't actually support those AST types.
I'm not trying to use MathJax so it would be nice if there was an option to override the markdown extensions enabled.

Hi @psanford ,
Thanks for reporting. Could you please try: https://github.com/mandolyte/mdtopdf/pull/50 (I've tested it with your sample input, of course but, would be good for you to run on your full file).
If all is well, I'll merge and create a new release.

it would be nice if there was an option to override the markdown extensions enabled
I agree it's a nice feature. I'll implement it at a later date (perhaps this weekend but not making any promises :)).

I can confirm that fixes the crash I was seeing.

Thanks for confirming. Release created.


PBIS Open PAM Settings for AIX - AD has precedence over local account

Version: <IP_ADDRESS>4
OS/Distro: AIX
Issue/Impact:
Note:  PBIS Open PAM Settings for AIX - AD has precedence over local account
This question is more of an how to.
PBIS Open - I have installed PBIS Open
How do you configure AIX PAM settings to allow Windows Active Directory precedence over local AIX Accounts?
As you know the the configuration file in AIX is /etc/pam.conf
thank you
Ninos Youkhana

There is no additional configuration that is required for PAM. PBIS takes AD account precedence over local accounts on all platforms.