Build Issues with Clang-14

Hi, with the cmake tools and clang-14, I am getting this below error message when trying to build.
I've tried installing protobuf-compiler and libprotobuf-dev which did not resolve the issue.
I was able to build this, couple months ago with the same setup, but when I tried building again today, it gave me this error.
Any help to resolve this would be greatly appreciated!!
[main] Configuring project: mujoco_mpc
[proc] Executing command: /usr/bin/cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-14 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-14 -S/home/david/dev/mujoco-google-deepmind/mujoco_mpc -B/home/david/dev/mujoco-google-deepmind/mujoco_mpc/build -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] -- mujoco::FindOrFetch: checking for targets in package `mujoco`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `mujoco` - target `mujoco::mujoco` not defined.
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `mujoco`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `qhull`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `qhull` - target `qhull` not defined.
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `qhull`
[cmake] --
[cmake] -- ========== qhull Build Information ==========
[cmake] -- Build Version:                             8.1-alpha1
[cmake] -- Install Prefix (CMAKE_INSTALL_PREFIX):     /usr/local
[cmake] -- Binary Directory (BIN_INSTALL_DIR):        bin
[cmake] -- Library Directory (LIB_INSTALL_DIR):       lib
[cmake] -- Include Directory (INCLUDE_INSTALL_DIR):   include
[cmake] -- Documentation Directory (DOC_INSTALL_DIR): share/doc/qhull
[cmake] -- Man Pages Directory (MAN_INSTALL_DIR):     share/man/man1
[cmake] -- CMake Directory (CMAKE_INSTALL_DIR):       lib/cmake/QHull
[cmake] -- PkgConfig Directory (PKGCONFIG_INSTALL_DIR):lib/pkgconfig
[cmake] -- Build Type (CMAKE_BUILD_TYPE):             Release
[cmake] -- Build static libraries:                    ON
[cmake] -- Build shared library:                      OFF
[cmake] -- Use shared library for linking apps:       OFF
[cmake] -- Build tests:				   OFF
[cmake] -- To override these options, add -D{OPTION_NAME}=... to the cmake command
[cmake] --   Build the debug targets                  -DCMAKE_BUILD_TYPE=Debug
[cmake] --
[cmake] -- To build and install qhull, enter "make" and "make install"
[cmake] -- To smoketest qhull, enter "ctest"
[cmake] --
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `qhull` - Done
[cmake] -- mujoco::FindOrFetch: checking for targets in package `tinyxml2`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `tinyxml2` - target `tinyxml2` not defined.
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `tinyxml2`
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `tinyxml2` - Done
[cmake] -- mujoco::FindOrFetch: checking for targets in package `tinyobjloader`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `tinyobjloader` - target `tinyobjloader` not defined.
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `tinyobjloader`
[cmake] CMake Deprecation Warning at build/_deps/tinyobjloader-src/CMakeLists.txt:5 (cmake_minimum_required):
[cmake]   Compatibility with CMake < 2.8.12 will be removed from a future version of
[cmake]   CMake.
[cmake]
[cmake]   Update the VERSION argument <min> value or use a ...<max> suffix to tell
[cmake]   CMake that the project does not need compatibility with older versions.
[cmake]
[cmake]
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `tinyobjloader` - Done
[cmake] -- mujoco::FindOrFetch: checking for targets in package `sdflib`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `sdflib` - target `SdfLib` not defined.
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `sdflib`
[cmake] CMake Deprecation Warning at build/_deps/glm_lib-src/CMakeLists.txt:1 (cmake_minimum_required):
[cmake]   Compatibility with CMake < 2.8.12 will be removed from a future version of
[cmake]   CMake.
[cmake]
[cmake]   Update the VERSION argument <min> value or use a ...<max> suffix to tell
[cmake]   CMake that the project does not need compatibility with older versions.
[cmake]
[cmake]
[cmake] CMake Deprecation Warning at build/_deps/glm_lib-src/CMakeLists.txt:2 (cmake_policy):
[cmake]   Compatibility with CMake < 2.8.12 will be removed from a future version of
[cmake]   CMake.
[cmake]
[cmake]   Update the VERSION argument <min> value or use a ...<max> suffix to tell
[cmake]   CMake that the project does not need compatibility with older versions.
[cmake]
[cmake]
[cmake] -- GLM is a header only library, no need to build it. Set the option GLM_TEST_ENABLE with ON to build and run the test bench
[cmake] -- Build spdlog: 1.9.2
[cmake] -- Build type: Release
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `sdflib` - Done
[cmake] -- mujoco::FindOrFetch: checking for targets in package `ccd`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `ccd` - target `ccd` not defined.
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `ccd`
[cmake] CMake Deprecation Warning at build/_deps/ccd-src/CMakeLists.txt:1 (cmake_minimum_required):
[cmake]   Compatibility with CMake < 2.8.12 will be removed from a future version of
[cmake]   CMake.
[cmake]
[cmake]   Update the VERSION argument <min> value or use a ...<max> suffix to tell
[cmake]   CMake that the project does not need compatibility with older versions.
[cmake]
[cmake]
[cmake] CMake Warning (dev) at build/_deps/ccd-src/CMakeLists.txt:9 (project):
[cmake]   Policy CMP0048 is not set: project() command manages VERSION variables.
[cmake]   Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
[cmake]   command to set the policy and suppress this warning.
[cmake]
[cmake]   The following variable(s) would be set to empty:
[cmake]
[cmake]     PROJECT_VERSION
[cmake]     PROJECT_VERSION_MAJOR
[cmake]     PROJECT_VERSION_MINOR
[cmake]     PROJECT_VERSION_PATCH
[cmake] This warning is for project developers.  Use -Wno-dev to suppress it.
[cmake]
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `ccd` - Done
[cmake] -- mujoco::FindOrFetch: checking for targets in package `mujoco`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `mujoco` - found
[cmake] -- mujoco::FindOrFetch: checking for targets in package `glfw3`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `glfw3` - target `glfw` not defined.
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `glfw3`
[cmake] -- Using X11 for window creation
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `glfw3` - Done
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `mujoco` - Done
[cmake] -- mujoco::FindOrFetch: checking for targets in package `GTest`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `GTest` - target `gtest` not defined.
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `googletest`
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `googletest` - Done
[cmake] -- mujoco::FindOrFetch: checking for targets in package `absl`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `absl` - target `absl::core_headers` not defined.
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `abseil-cpp`
[cmake] -- mujoco::FindOrFetch: Using FetchContent to retrieve `abseil-cpp` - Done
[cmake] -- mujoco::FindOrFetch: checking for targets in package `glfw`
[cmake] -- mujoco::FindOrFetch: checking for targets in package `glfw` - found
[cmake] -- Configuring done
[cmake] CMake Error at mjpc/CMakeLists.txt:35 (add_custom_command):
[cmake]   Error evaluating generator expression:
[cmake]
[cmake]     $<TARGET_FILE:protoc>
[cmake]
[cmake]   No target "protoc"
[cmake]
[cmake]
[cmake] CMake Error at mjpc/CMakeLists.txt:35 (add_custom_command):
[cmake]   Error evaluating generator expression:
[cmake]
[cmake]     $<TARGET_FILE:protoc>
[cmake]
[cmake]   No target "protoc"
[cmake]
[cmake]
[cmake] CMake Error at mjpc/CMakeLists.txt:35 (add_custom_command):
[cmake]   Error evaluating generator expression:
[cmake]
[cmake]     $<TARGET_FILE:protoc>
[cmake]
[cmake]   No target "protoc"
[cmake]
[cmake]
[cmake] -- Generating done
[cmake] CMake Generate step failed.  Build files cannot be regenerated correctly.

I believe this is already being addressed by the Google folks but in the meanwhile you can fix the problem with the changes in #215. Let me know if for whatever reason those changes don't fix the issues on your side.

@hartikainen Hey, I was finally able to successfully build it on my Ubuntu 22.04! Below are the changes I made.
First I made the changes referring to #215 and added the --experimental_allow_proto3_optional flag, which configured the project correctly but the build failed.
I found that there was an issue using the operator[] on a google::protobuf::Map which expects a key of type std::string but it was passing a std::string_view type instead, which was introduced in C++17.
So changing the lines of (*task_parameters)[name].set_selection(...) and (*task_parameters)[name].set_numeric(...) to (*task_parameters)[std::string(name)].set_selection(...) and (*task_parameters)[std::string(name)].set_numeric(...) fixed the problem and I was able to build successfully!

This is great!   I'm also trying to fix this on 20.04. I'll create a PR after I figure this one out.

@hongmindavidkim is this issue resolved?


iPhone won't exit recovery mode ( A7-A10)

after writing :
irecovery -f kernel
irecovery -c bootx
phone can't get out of recovery mode

after writing : irecovery -f kernel irecovery -c bootx phone can't get out of recovery mode

did you tried : irecovery -n? and this not gaster issue at all


(GH-1785) Warn when applying a manifest that only contains definitions

This updates the bolt apply command to warn a user when they are
applying a manifest that only consists of definitions without declaring
anything.
This also updates the 'Applying manifest blocks' documentation to document
using the bolt apply command. It also reorganizes the structure of the
page to create separate sections for the bolt apply command and the
apply plan function.
Lastly, this adds support for the --hiera-config option to the
bolt apply command.
Closes #1785
!feature

Warn when applying manifests that only contain definitions (#1785)
Applying a manifest that only contains definitions with the bolt apply command will now display a warning that no changes will be
applied to the targets.

!feature

Support --hiera-config option when using bolt apply (#1839)
The --hiera-config option can now be used with the bolt apply
command to specify the path to a Hiera configuration file.

CLA signed by all contributors.


Make boxes on dashboard clickable instead of just the titles

It's not very intuitive that you cannot open the "People, Budget, Contracts, ..." - pages from the dashboard only by clicking on the title. It would be better if you could open the pages by clicking on the boxes.

Do the same thing everywhere in the application.


Use VPN to operate the cluster

Secure the access to the server (SSH) and the services using a VPN

Since we decided to stop deploying services there is no more interest to tackle these issue. It should be implemented specifically if required.


add lvs config

Codecov Report

Merging #52 (def61c7) into main (c995f43) will decrease coverage by 1.64%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #52      +/-   ##
============================================
- Coverage     37.16%   35.52%   -1.65%
  Complexity      132      132
============================================
  Files            58       60       +2
  Lines           756      791      +35
  Branches         36       36
============================================
  Hits            281      281
- Misses          463      498      +35
  Partials         12       12

Flag
Coverage Δ

unittests
35.52% <0.00%> (-1.65%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...m/github/shoothzj/dev/module/config/LvsConfig.java
0.00% <0.00%> (ø)

...va/com/github/shoothzj/dev/storage/StorageLvs.java
0.00% <0.00%> (ø)

...a/com/github/shoothzj/dev/storage/StorageUtil.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Feat: Research on GitHub workflows

What is your issue related to ?

[ ] Code
[ ] Designing
[x] Documentation
[x] Testing/Research
[ ] Others[please specify]

Description
Do research on GitHub actions that can be implemented in this project and compile your research in a markdown file (.md).
Additional context
For Reference
Please note that you have to add the file in research folder.

I'd like to work on this issue under label LGMSOC'21.

Okay, assigning this issue to you.

@nidhisingh-1 could you please assign this issue under the label :  LGMSOC'21

@nidhisingh-1 , can formatting techniques like bold font style , bullet list be used for visual clarity and better understanding .

@nidhisingh-1
Also there are 8880+ actions , so how'd you like me to boil down my research ?

@PadminiRai Look for actions that can help in maintaining the android project
This might be helpful

@SHITIZ-AGGARWAL Thanks for your insight and reference. I'm on it.

@nidhisingh-1 Thanks for the insights . I've created  the PR : https://github.com/Code-Sauce-Official/FitMate/pull/57

@nidhisingh-1  and @SHITIZ-AGGARWAL   Thanks for the insights . I've created  the PR : https://github.com/Code-Sauce-Official/FitMate/pull/59


Godot detects keystrokes ONLY after another key/mouse button is pressed

Godot version
3.4.4.stable.official (From Steam)
System information
Windows 10, GLES3, Intel HD Graphics 610
Issue description
I used Godot normally with my Void Linux install, no problems at all with the engine.
Bad things began when I switched to Windows 10, more specifically with the keyboard/mouse in general while using the engine.
The actual issue is this:
Godot only detects i've pressed a key ONLY after you press it again or another key/mouse button is pressed down, this being extremely annoying and makes the program impossible to use properly.
Steps to reproduce
Steps:

Just open Godot
Try to press a key
You'll notice nothing happens
When you press the same key again, another key or the mouse the previous keystroke will be finally detected and so on...

Minimal reproduction project
https://user-images.githubusercontent.com/92241184/165916419-e47d1301-da2e-4b13-a02d-19ba7c6d960f.mp4

Sounds like #23069 which is an Intel driver bug. Which driver version do you have, and can you try updating it?

Hello! and thank you for asking:

Sounds like #23069 which is an Intel driver bug. Which driver version do you have, and can you try updating it?

<IP_ADDRESS>70
It's the latest one for my GPU.
P.D: Graphics running on Celeron G3930

<IP_ADDRESS>70

Yeah that's very old, and the bug was fixed in 25.20.100. But indeed Intel seems not to provide its latest drivers for Celeron G3930 anymore :|
Does this workaround work for you?
https://github.com/godotengine/godot/issues/23069#issuecomment-573348919

Does this workaround work for you? #23069 (comment)

Nope, sadly it doesn't

And does it work if you start Godot with the --verbose flag?
Note that that will use it for the project manager but it's not automatically propagated to the editor process when opening a project, so it might solve the bug for the project manager but not the editor (but you can enable verbose_stdout in the Project Settings which should also affect the editor after a restart).

And does it work if you start Godot with the --verbose flag?
Note that that will use it for the project manager but it's not automatically propagated to the editor process when opening a project, so it might solve the bug for the project manager but not the editor (but you can enable verbose_stdout in the Project Settings which should also affect the editor after a restart).

Well, that fixed the issue like magic. All of a sudden, just like it appeared :P

Great, then it's indeed the same bug as #23069. We don't really know what causes it and why --verbose fixes it, but since it's fixed in newer Intel drivers, only a handful of old devices are left unfixed (and work fine on Linux with Mesa). So you'll probably have to keep using this workaround on this computer for the foreseeable future.


Switch /decks/ to use a react component for speed/usability.

Hey @bakert,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 7e0a8d90-fd07-11e9-a17b-c7095c6791e0

Got some nasty scrollbars on Windows/Firefox


Use -D analyzer-optimize

Analyzer is default in Haxe 3.4, but to make it optimize you'll need -D analyzer-optimize.

What about this PR?

Sorry I'll merge it soon.

Actually, it's online; let me know if it works for you :)


do we support tensor parallel with multi single gpu machines?

Yes we do. Please refer to this doc for details.


Fix Bug #131 - UWP

When ShowTextAboveThumbs is set to true, the text is displayed even over an hidden thumb.

Hi halkar,
does the uwp patch has been merged?

No, it is incorrect. I will fix it differently today.


Update UG

Codecov Report

Merging #261 (ab75509) into master (ff431de) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #261   +/-   ##
=========================================
  Coverage     65.06%   65.06%
  Complexity      856      856
=========================================
  Files           137      137
  Lines          3120     3120
  Branches        410      410
=========================================
  Hits           2030     2030
  Misses          951      951
  Partials        139      139

Continue to review full report at Codecov.

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


ember-browserify compatibility

Hi, running corber serve fails on a project that uses ember-browserify. As the app works outside corber I thought I'd open here. Let me know if I should open an issue on ember-browserify instead :)
https://github.com/ef4/ember-browserify/blob/master/lib/stubs.js#L114
The Broccoli Plugin: [object Object] failed with:
Error: Error parsing code while looking for "npm:" imports: TypeError: Cannot read property 'elements' of undefined
    at findAMDImports (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:114:6)
    at /Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:97:7
    at forEachNode (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:74:5)
    at forEachNode (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:77:7)
    at forEachNode (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:77:7)
    at forEachNode (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:77:7)
    at forEachNode (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:77:7)
    at forEachNode (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:77:7)
    at forEachNode (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:77:7)
    at forEachNode (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:77:7)
    at importsFor (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:67:11)
    at Stub.set (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stubs.js:31:25)
    at StubGenerator.<anonymous> (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stub-generator.js:57:33)
    at Array.forEach (<anonymous>)
    at StubGenerator.build (/Users/oskar/Sites/test/node_modules/ember-browserify/lib/stub-generator.js:49:12)
    at /Users/oskar/Sites/test/node_modules/broccoli-plugin/read_compat.js:93:34
    at tryCatch (/Users/oskar/Sites/test/node_modules/rsvp/dist/rsvp.js:525:12)
    at invokeCallback (/Users/oskar/Sites/test/node_modules/rsvp/dist/rsvp.js:538:13)
    at publish (/Users/oskar/Sites/test/node_modules/rsvp/dist/rsvp.js:508:7)
    at flush (/Users/oskar/Sites/test/node_modules/rsvp/dist/rsvp.js:2415:5)

Thanks for the report. I don't use browserify a whole lot, can you suggest a minimum replicate case I can create on my side?

Hey, it's your new best friend, chiming in on this one. I can confirm this is an issue - but only with ember serve. Browserify totally works with corber build. This is very easy to reproduce:
mkdir poop && cd poop
ember init
(update environment.js, remove slash and set to hash)
corber init
corber add platform ios
corber build && corber open

yay it works!
corber s
yay live reload works!
ctrl+c
ember install ember-browserify
corber s

And you arrive at the error above. But build still works, which is very nice for me.

Browserify is pretty popular, so you're likely to hear more about this, as this awesome project gains popularity.
I'm now in Ember's slack (OakBehringer) if you have any Q's.
Best,
Adam

Hey Alex, you should probably mark this as closed:
https://github.com/ef4/ember-browserify
Browserify is deprecated. ember-auto-import works with Corber. Yay!

Thanks for the heads up - closing.


Not able to login into keycloak using default credentials

Hi,
Currently, I have the local setup for tackle up and running. I was able to login from the tackle login page using the default credentials and was able to change my credentials.
I am facing a problem while logging into the keycloak administration console. I tried with the default credentials of (admin/admin) and also the changed credentials for tackle, but I am not able to login into keycloak.
Can you please help me with where can I find the credentials for keycloak.
Thanks!

@jmontleon @djzager @fbladilo @mansam can you help?

The admin password is randomly generated and stored in a secret. You can see the credentials by running something like:
oc -n konveyor-tackle get secret tackle-keycloak-sso -o go-template='{{ index .data "admin-username" | base64decode }} / {{ index .data "admin-password" | base64decode }}{{printf "\n"}}'

Thank you @jmontleon
I added a 'documentation' label, so we can revisit project docs and be sure this information is clearly communicated for users.

Hi @jwmatthews , @jmontleon,
Thank you very much for your help.
I was able to get the key-cloak credentials using following command:
kubectl -n my-tackle-operator get secret tackle-keycloak-sso -o go-template='{{ index .data "admin-username" | base64decode }} / {{ index .data "admin-password" | base64decode }}{{printf "\n"}}'
Thanks!

Thank you @chinmayshrikhande for following back to confirm.  I'll keep this issue open so we can use it to track updating the documentation.

/kind documentation
/priority important-soon
/triage accepted

Something like this is probably a little easier to read:
oc -n konveyor-tackle extract secret/tackle-keycloak-sso --to=-


SplashScreen remains on the screen

I have setup the splash screen. The issue is that, after the animation. It still shows the SplashScreen.
Here's the link to the repo. https://github.com/peterlazar1993/Headway/commit/a87295b394c0485d56eeecf8b7af2c0cd6cc73ac
Any idea what's going wrong?

UPDATE:
There is progress. I have the splash screen working as intended. I removed the theme line from Manifest https://github.com/peterlazar1993/Headway/commit/bb0791b77edb12bd6cf44c8c056e9cd2eab7495c
I would still like to know why the earlier issue was happening though.

I'm having the same issue, going to try removing this line... I noticed that the screenshot exists on transparent background views. On navigator transitions, they are still "behind".

This issue is definitely caused by transparent background views.  I've published a new version that will remove the window background drawable to reduce overdrawing. But I found that it still have some weird presentation using navigator. Now to figure it out, I recommend that you can set 'backgroundColor' to a opaque color for a container view's 'style', or if you're using navigator,  you can set 'backgroundColor' to a opaque color for a navigator's 'sceneStyle'.

I did that, during the transitions there are still "flashes" of the background. Wondering what to do.

I can't reproduce that 'during the transitions there are still "flashes" of the background' on emulator or device using react-native 0.33.  You can try the full demo(https://github.com/cyqresig/ReactNativeComponentDemos).

is it possible to use GIF for splash screeen ? please help me


Refactor task - use Ubuntu Mantic for clang-format versions 13 through 16

Ubuntu Mantic also contains clang-format versions 13 through 16. As much as possible, I prefer to reduce the number of Ubuntu versions I'm shipping in my Docker images. Switching versions 13 through 16 to Mantic would allow me to drop the Lunar dependency.
This task is fairly simple - in these lines, switch the Ubuntu version to mantic to match version 17.

@Xav83 if you're looking for some more low-hanging fruit for Hacktoberfest, feel free to take a swing at this ☝

Hi,Can you assign this to me?

Sure thing, thanks @Ajeets6 !

@jidicula it seems like this image change wasn't entirely backwards compatible for our simple use case:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Run clang-format style check for C/C++/Protobuf programs.
        uses<EMAIL_ADDRESS>        with:
          clang-format-version: "16"

Could you revert this change and then push it out again but with a new tag?  That at least gives people the ability to opt into it

@jidicula it seems like this image change wasn't entirely backwards compatible for our simple use case:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Run clang-format style check for C/C++/Protobuf programs.
        uses<EMAIL_ADDRESS>        with:
          clang-format-version: "16"

Could you revert this change and then push it out again but with a new tag?  That at least gives people the ability to opt into it

@danperkins sorry about that! I've reverted the change in #167 and merged it, so the new images will be built and shipping shortly.
What was the specific issue you were seeing with your use-case?

@jidicula thanks for the quick response!  Someone from our team is working through the formatting changes now so that we can move to the new version before too long.  It seems like it was just caused by us having the formatting and linting happing in slightly different pipelines.  Clang was unhappy with some of the spacing/tabs in our files after the change.  I guess we could have tried rolling back to 4.10.0 to see if we could have been stable on that version after 4.11.0 changed.


updated usage for /categories/stats

Fixes
Checklist

[ ] I have made a material change to the repo (functionality, testing, spelling, grammar)
[x] I have read the [Contribution Guide] and my PR follows them.
[x] I updated my branch with the master branch.
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation about the functionality in the appropriate .md file
[ ] I have added in line documentation to the code I modified

Short description of what this PR does:

updated USAGE.md to cover #440

Hello @mp-ffx,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Broken Search when no content in content type

- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
search doesn't work if you have a content type without any content in it yet
- If the current behavior is a bug, please provide the steps to reproduce.
create a content type without any content then try to search
- What is the expected behavior?
it should return results - it doesn't
- Please mention your CMS, node.js, and operating system version.
1.0.0
@Benaiah i believe the api failed before it could complete a search. maybe add a line to skip over errors on missing content types?
ps. do i get added to the prestigious contributors list now? 😂

ps. do i get added to the prestigious contributors list now? 😂

Sure do, you're already on our list: https://github.com/netlify/netlify-cms/issues/902#issuecomment-350396995 (or you can add yourself 😄 ).

Closing as stale and/or outdated.


Wrong example for python

I follow this document https://newsapi.org/docs/client-libraries/python and test python api.
Seems like the follow code will get error I paste.
sources = newsapi.get_sources()
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "crawler.py", line 93, in <module>
    crawler.crawl()
  File "crawler.py", line 84, in crawl
    sources = newsapi.get_sources()
  File "/Users/mabodx/anaconda/lib/python3.6/site-packages/newsapi/newsapi_client.py", line 311,
 in get_sources
    r = requests.get(const.SOURCES_URL, auth=self.auth, timeout=30, params=payload)
  File "/Users/mabodx/anaconda/lib/python3.6/site-packages/requests/api.py", line 72, in get
    return request('get', url, params=params, **kwargs)
  File "/Users/mabodx/anaconda/lib/python3.6/site-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Users/mabodx/anaconda/lib/python3.6/site-packages/requests/sessions.py", line 513, in r
equest
    resp = self.send(prep, **send_kwargs)
  File "/Users/mabodx/anaconda/lib/python3.6/site-packages/requests/sessions.py", line 623, in s
end
    r = adapter.send(request, **kwargs)
  File "/Users/mabodx/anaconda/lib/python3.6/site-packages/requests/adapters.py", line 514, in s
end
    raise SSLError(e, request=request)
requests.exceptions.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

And this code
top_headlines = newsapi.get_top_headlines(q='bitcoin',
                                          sources='bbc-news,the-verge',
                                          category='business',
                                          language='en',
                                          country='us')

I also get error like this
Traceback (most recent call last):
  File "crawler.py", line 90, in <module>
    crawler.crawl()
  File "crawler.py", line 69, in crawl
    country='us')
  File "/Users/mabodx/anaconda/lib/python3.6/site-packages/newsapi/newsapi_client.py", line 55, in get_top_headlines
    raise ValueError('cannot mix country/category param with sources param.')
ValueError: cannot mix country/category param with sources param.

does python has pageSize params?
https://newsapi.org/docs/endpoints/top-headlines

Hi,
The top headlines error is due to the mix of country and category parameters. These cannot both be arguments.
Also, for paging, please use the argument page_size.


Integrated terminal stopping in the middle of program execution

VSCode Version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:46:23.884Z)
OS Version: Windows_NT x64 10.0.16299
Extensions:

Extension
Author (truncated)
Version

vscode-markdownlint
Dav
0.12.0

vscode-great-icons
emm
2.1.22

easy-icons
jam
0.3.1

python
ms-
0.9.1

cpptools
ms-
0.14.5

sublime-keybindings
ms-
3.0.3

java
red
0.16.0

dot
Ste
0.0.1

vscode-java-debug
vsc
0.5.0

vscode-java-pack
vsc
0.2.0

Steps to Reproduce:
int main()
{
for(int i = 0;i < 100;i++)
cout << "hello world " << i << endl;
}
1.consider the above program, running it in the integrated terminal doesn't print upto 99(hello world 99). It stops randomly in the middle. (stops at 65,85.. and even 2)
2.I tried with three different terminals (command prompt, git Bash, developer command prompt for visual studio). The same happens for all of them.
3. The above three terminals work perfectly file externally.
I searched everywhere in the internet but could find similar result.

Reproduces without extensions: Yes/No

I'm not too familiar with building C++, can you provide instructions to build or a script in another language if it repros there.

Duplicate https://github.com/Microsoft/vscode/issues/36787


Issue in APIOPS[BUG]

Release version
v1.0.0
Describe the bug
Extractor is throwing error when selecting config file.
Publisher is throwing error always
Expected behavior
Have to run Extractor and Piublisher
Actual behavior
Throwing error
Reproduction Steps
Minimal

Please update to the latest release.

Could you please share the latest release link.
Thanks
Rajesh S.

From: Wael Kdouh @.>
Sent: Wednesday, February 1, 2023 5:15 PM
To: Azure/apiops @.>
Cc: Rajesh Somaraj @.>; Author @.>
Subject: [External] Re: [Azure/apiops] Issue in APIOPS[BUG] (Issue #205)
            CAUTION! EXTERNAL SENDER

Were you expecting this email? TAKE A CLOSER LOOK. Is the sender legitimate?
DO NOT click links or open attachments unless you are 100% sure that the email is safe.
Please update to the latest release.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/Azure/apiops/issues/205*issuecomment-1411925118__;Iw!!OME7ob65ag!qq_ufjzIKe_Gh4JZGgSS2SC6o0lnLV6ZyaXkltXHW3lSYCO_FLlsyVd067LTjm97DYnzivCcNV2hZJl_7exRg2eThUgbOw$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/A2XGYDQWCREVGHWNURIZH6TWVJEGJANCNFSM6AAAAAAUNTT5AU__;!!OME7ob65ag!qq_ufjzIKe_Gh4JZGgSS2SC6o0lnLV6ZyaXkltXHW3lSYCO_FLlsyVd067LTjm97DYnzivCcNV2hZJl_7exRg2f_AqtE-Q$.
You are receiving this because you authored the thread.Message ID: @.***>

On the main GitHub page look for the section on the right hand side that says releases. Here is the direct link to the releases.
https://github.com/Azure/apiops/releases

Hi
Could you please confirm me from where i can get the version details.
[cid:f94ee396-8fd4-4011-86fb-40e0e05970ec]
In the above code I can see $(apiops_release-version).but not sure from where the version is taking

From: Wael Kdouh @.>
Sent: Wednesday, February 1, 2023 6:04 PM
To: Azure/apiops @.>
Cc: Rajesh Somaraj @.>; Author @.>
Subject: [External] Re: [Azure/apiops] Issue in APIOPS[BUG] (Issue #205)
            CAUTION! EXTERNAL SENDER

Were you expecting this email? TAKE A CLOSER LOOK. Is the sender legitimate?
DO NOT click links or open attachments unless you are 100% sure that the email is safe.
Closed #205https://urldefense.com/v3/__https://github.com/Azure/apiops/issues/205__;!!OME7ob65ag!p9Ul34G_GnzYDbKOx9VGMKsaok6MFir2PJgeUNbKZcvRUZYTf8SvrOV6u5rTVoZOX3JNjQvJgr4tp4_GQM2HiaaiGeTOfQ$ as completed.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/Azure/apiops/issues/205*event-8409926119__;Iw!!OME7ob65ag!p9Ul34G_GnzYDbKOx9VGMKsaok6MFir2PJgeUNbKZcvRUZYTf8SvrOV6u5rTVoZOX3JNjQvJgr4tp4_GQM2HiabWLDM36A$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/A2XGYDR4RINBMPURXOY75ADWVJJ5VANCNFSM6AAAAAAUNTT5AU__;!!OME7ob65ag!p9Ul34G_GnzYDbKOx9VGMKsaok6MFir2PJgeUNbKZcvRUZYTf8SvrOV6u5rTVoZOX3JNjQvJgr4tp4_GQM2HiaYPNPrBwA$.
You are receiving this because you authored the thread.Message ID: @.***>

Please read the documentation in the wiki associated with this repository

Issue Still Exists. Downloaded the latest version. But still Issue persisted. Please see the scrren shot. It will be good if we have a screen share seesion

Also, we noticed in the past that people who faced issues similar to this, usually resolve it by fixing some azure devops specific quirks, like clearing the cache or resorting to utilizing variable groups instead of parameters as for some reason, sometimes the pipelines don't read the parameters.

Hi,
Below is the screen shot for Extractor.
[cid:42d551fd-bc0c-430a-90fb-3b8fb2215e90]
Error in Publisher
[cid:27e881c0-a5ad-4cd2-8b59-179b507056d6]
Thanks
Rajesh S.

From: Wael Kdouh @.>
Sent: Thursday, February 9, 2023 1:31 AM
To: Azure/apiops @.>
Cc: Rajesh Somaraj @.>; Author @.>
Subject: [External] Re: [Azure/apiops] Issue in APIOPS[BUG] (Issue #205)
            CAUTION! EXTERNAL SENDER

Were you expecting this email? TAKE A CLOSER LOOK. Is the sender legitimate?
DO NOT click links or open attachments unless you are 100% sure that the email is safe.
Also, we noticed in the past that people who faced issues similar to this, usually resolve it by fixing some azure devops specific quirks, like clearing the cache or resorting to utilizing variable groups instead of parameters as for some reason, sometimes the pipelines don't read the parameters.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/Azure/apiops/issues/205*issuecomment-1423168908__;Iw!!OME7ob65ag!t3yxm_ES4wktBmFjhzUNYb2ppB0HXxUKcMhvazj45NTvKIaS10uHUpXgyOK8L391s7-NoG8JEMKuKERyKwlnqxlgS_9opQ$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/A2XGYDQVRAEQT6BUVKZ4WHLWWP3STANCNFSM6AAAAAAUNTT5AU__;!!OME7ob65ag!t3yxm_ES4wktBmFjhzUNYb2ppB0HXxUKcMhvazj45NTvKIaS10uHUpXgyOK8L391s7-NoG8JEMKuKERyKwlnqxmj8zHEaw$.
You are receiving this because you authored the thread.Message ID: @.***>

Screenshots are not visible.


Improve query performance

Use batch-loading for ShipmentDetail.source/targetSize
Join with Shipment model in Shipment.details resolver

 2.0 Enhance query performance

Merging because no functional change involved; code coverages decreases because I removed previously covered lines.


A bug when evaluation or train on ovis dataset.

When I try to run python projects/IDOL/train_net.py --config-file projects/IDOL/configs/ovis_r50.yaml --num-gpus 1 --eval-only an error occured
for ann in self.dataset['annotations']: TypeError: 'NoneType' object is not iterable
The reason for this problem is the ovis datasets annotations file has an additional items "annotations": null ,you need delete it manual.
I suggest authors add a tips in README.md.

Did you find a solution for this bug.
I'm struggling with the same error.

Thank you for the notes! Could you please see my issue #74? I followed the given Inference & Evaluation command without the final results.


MIME encoding inconsistency for some files

Most of text files in my Files list open in browser, but occasionally a file will trigger a download. I suspect it's something to do with how the server reports Mime type which is inconstent for some reason
IE, this file sample-uncond-6500step.txt triggers a download
https://app.wandb.ai/yaroslavvb/Transformer-XL source code/runs/c81802pd/files

Thank you for letting us know Yaroslav!

Hey @yaroslavvb
In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen.


Add optional S3 options for community S3-compatible implementations like minio

http_wire_trace for better debugging experience
force_path_style for S3-compatible implementations like minio

gentle ping @joshdholtz could you help to review or find someone else?
thanks!


Support for publishing snapshots

I'm using bleep for real this time in a new project with with Rust and JNI stuff. I've stolen derived most of the build from tui-scala. Thanks  :)
Before doing a real release, I'd like to publish a few snapshots first, but I realized SNAPSHOT support is still missing in the ci-release-plugin for for bleep:
        if (isSnapshotVersion(dynVer.version)) {
          logger.info(s"No tag push, publishing SNAPSHOT")
          require(dynVer.dynverSonatypeSnapshots, "dynVer.config.dynverSonatypeSnapshots must be true")
          sys.error("publish snapshots not implemented yet")
//          publishSnapshots()
        } else {

Is there any technical reason for this, or is it just because you didn't need snapshot support yet?

Imagine my surprise when that was a completely different codepath! As far as I remember normal publishing is now done with a batch API, while that is not supported for snapshots. There you have to go through "how it was done before", and I haven't really dug into that yet.
I'm missing it dearly too actually, so I really want to get it in. I think it's a medium size job, to follow the sbt codebase and dig out the parts we need.

Also very cool! I should probably mention that the reason why I went with JNI for that project was to support graalvm native-image. If that's not a concern to you maybe there are faster ways of getting there (JNA?)

Imagine my surprise when that was a completely different codepath! As far as I remember normal publishing is now done with a batch API, while that is not supported for snapshots. There you have to go through "how it was done before", and I haven't really dug into that yet.

I'm missing it dearly too actually, so I really want to get it in. I think it's a medium size job, to follow the sbt codebase and dig out the parts we need.

Ah I see. I almost suspected there was more behind it. :)
I'm not sure If I'm able to look into that now so I guess I have to bite the bullet for now and do a non-snapshot release.

Also very cool! I should probably mention that the reason why I went with JNI for that project was to support graalvm native-image. If that's not a concern to you maybe there are faster ways of getting there (JNA?)

Yeah JNA would probably have been easier. I even looked into the Foreign Function & Memory API from project Panama which worked quite well but then I realized it will still be in preview even in Java 21.
I think I kind of did regret using raw JNI in-between: https://social.brunk.io/@soeren/110186480324785153 :smile:
But in the end it was a good excuse to learn a bit of Rust.


Unable to run example script

Hi,
I've tried running the example script, and all I get is TypeError: phantom.create(...).then is not a function.
Running node 5.1
Care to open a Gitter for this repo?...

Hi, What is the code you are running? You have to provide more details when opening issues.
I wanted to open a Gitter. But I don't think I'll have time to go on it all the time. So not at this time. If more people are interested then I can do it.

https://github.com/amir20/phantomjs-node#super-easy-to-use

https://github.com/amir20/phantomjs-node#super-easy-to-use
On Sun, Feb 21, 2016 at 5:42 PM, Amir Raminfar<EMAIL_ADDRESS>wrote:

Hi, What is the code you are running? You have to provide more details
when opening issues.
I wanted to open a Gitter. But I don't think I'll have time to go on it
all the time. So not at this time. If more people are interested then I can
do it.
—
Reply to this email directly or view it on GitHub
https://github.com/amir20/phantomjs-node/issues/373#issuecomment-186846205
.

It works for me...
~/D/test_phantom $ cat simple.js
var phantom = require('phantom');

phantom.create().then(function(ph) {
  ph.createPage().then(function(page) {
    page.open('https://stackoverflow.com/').then(function(status) {
      console.log(status);
      page.property('content').then(function(content) {
        console.log(content);
        page.close();
        ph.exit();
      });
    });
  });
});
~/D/test_phantom $ node simple.js
success
<!DOCTYPE html><html><head>

<title>Stack Overflow</title>
...
...

Did you install it correctly? If I can't reproduce it, it's going to be hard to help you. Maybe something with your OS?

I just did npm install phantom... Am I missing anything?
It's a clean install Debian 8.
On Sun, Feb 21, 2016 at 5:47 PM, Amir Raminfar<EMAIL_ADDRESS>wrote:

It works for me...
~/D/test_phantom $ cat simple.js
var phantom = require('phantom');
phantom.create().then(function(ph) {
ph.createPage().then(function(page) {
page.open('https://stackoverflow.com/').then(function(status) {
console.log(status);
page.property('content').then(function(content) {
console.log(content);
page.close();
ph.exit();
});
});
});
});~/D/test_phantom $ node simple.js
success
Stack Overflow
...
...
Did you install it correctly? If I can't reproduce it, it's going to be
hard to help you. Maybe something with your OS?
—
Reply to this email directly or view it on GitHub
https://github.com/amir20/phantomjs-node/issues/373#issuecomment-186847423
.

Maybe you don't have all dependencies installed for phantomjs? Try sudo apt-get install phantomjs which should install all dependencies to build phantomjs. Then reinstall phantom. Two days ago, I installed phantom on a new Ubuntu machine and everything worked except this part.

OK, thanks, I'll try it out later. I thought phantom ships with phantomjs
built-in.
On Sun, Feb 21, 2016 at 5:50 PM, Amir Raminfar<EMAIL_ADDRESS>wrote:

Maybe you don't have all dependencies installed for phantomjs? Try sudo
apt-get install phantomjs which should install all dependencies to build
phantomjs. Then reinstall phantom. Two days ago, I installed phantom on a
new Ubuntu machine and everything worked except this part.
—
Reply to this email directly or view it on GitHub
https://github.com/amir20/phantomjs-node/issues/373#issuecomment-186847803
.

It does. It installs its own version. But on a brand new box, if you don't have all the dependencies installed then it fails silently.

@moshewe I installed a brand new instance by doing
$ vagrant init  debian/jessie64
$ vagrant up
$ vagrant ssh
$ curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ node -v
$ npm install phantom
$ node test.js
success
....

I am not sure about the problem you are having. It seems to work even without having to install phantomjs for me.
Let me know if you do figure out what it is going...

I'm working on google cloud so it might be something with their debian
flavor :(
On Sun, Feb 21, 2016 at 6:55 PM, Amir Raminfar<EMAIL_ADDRESS>wrote:

@moshewe https://github.com/moshewe I installed a brand new instance by
doing
$ vagrant init  debian/jessie64
$ vagrant up
$ vagrant ssh
$ curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ node -v
$ npm install phantom
$ node test.js
success
....
I am not sure about the problem you are having. It seems to work even
without having to install phantomjs for me.
Let me know if you do figure out what it is going...
—
Reply to this email directly or view it on GitHub
https://github.com/amir20/phantomjs-node/issues/373#issuecomment-186856731
.

Take a look at http://phantomjs.org/build.html, you might want to do
sudo apt-get install build-essential g++ flex bison gperf ruby perl \
  libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \
  libpng-dev libjpeg-dev python libx11-dev libxext-dev

I know it works because I created a docker instance with ubuntu using this Dockerfile.

@moshewe I ended up opening up a slack channel because the questions were overwhelming. You can see it on the README page now.


Add support for event-type evidence (Demo)

This PR takes a stab at creating event evidence. This type of evidence contains no content, but does have a placeholder image to help signify that an event occurred.
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Marking this as a draft PR, but it's more or less done based on what I believe to be correct based on the ticket.

This seems good. I'll look around for an icon we can use for the event to replace the image there but otherwise this looks good to go.


Banners: Use default text for hypha when no copy is filled in

Summary
As a DAO user I would like to see some default text on my banners so they don't look empty before I costumize the text.
AC
Add the following Banner text as a default:

[ ] Dashboard:

Welcome to {DAO Name}
The Hypha DAO provides simple tools and a framework to set up your organization from the ground up, together with others, in an organic and participative way. Our fraud resistant & transparent online tools enable you to coordinate & motivate teams, manage finances & payroll, communicate, implement governance processes that meet your organizational style.

[ ] Proposals:
Every vote counts

Decentralized decision making is a new kind of governance framework that ensures that decisions are open, just and equitable for all participants. In the {DAO Name} DAO we use the 80/20 voting method as well as HVOICE, our token that determines your voting power. Votes are open for 7 days.

[x] Also add a dynamic placeholder here, so the % number changes:

[ ] Members:

Find & get to know other {DAO Name} members
Learn about what other members are working on, which badges they hold, which DAO's they are part of and much more.

[ ] Organization:

Learn everything about {DAO Name}
Select from a multitude of tools to finetune how the organization works. From treasury and compensation to decision-making, from roles to badges, you have every lever at your fingertips.

@leonieherma1 This is backend change so I will reassign to @Gerard097

@leonieherma1 Yes I am, when dao gets created default values gets initiated and among them are banner settings. We would need to retroactively add for already created daos. @Gerard097

@arsenijesavic I'm still needing the values to set the backend variables


router.Link throws error if root route ("/") is not defined

Describe the bug
I'm trying to set up tanstack router on a subpath of an astro project (under '/app'), creating 2 routes "app" and "app/about". Without creating route "/", calling <router.Link> will throw Uncaught TypeError: Cannot read properties of undefined (reading 'linkProps').
Adding an empty route "/" would fix this issue:
const routeConfig = createRouteConfig().createChildren((createRoute) => [
  createRoute({
    path: "app/about",
    element: <About />,
  }),
  createRoute({
    path: "app/",
    element: <AppIndex />,
  }),

  // without defining this calling <router.Link> component will throw an error
  createRoute({
    id: "/",
  }),
]);

Your Example Website or App
https://github.com/bte234/astro-tanstack-router
Steps to Reproduce the Bug or Issue

Clone the repo above and install dependencies
Run pnpm dev
Go to localhost:3000/app. This page will display nothing and browser console will show the error mentioned above.

Expected behavior
I expect to not see the error mentioned and the page to be rendered properly. If this behavior is expected (the router must define the "/" path), I would like it to throw an error in the code editor instead of only failing in the runtime and have that mentioned in the docs (unless it's already there and I missed it). I would also like to have an option to define a prefix for the router if that is the case to handle the use case I described.
Screenshots or Videos
Browser error:

No error shown in the code editor:

Platform

OS: macOS 12.6.1
Browser: Chrome 107.0.5304.110
Version: @tanstack/react-router 0.0.1-beta.2

Additional context
No response

+1 having the same error!

I’ll look into the error. You can define a basepath in the createReactRouter function options
Tanner Linsley
Sent with Spark
On Nov 9, 2022 at 4:55 AM -0800, Lucas Santos @.***>, wrote:

+1 having the same error!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thank you so much for your response! I tried defining basepath as "app" in the createReactRoute function and it stops throwing the error, but now it does not seem to match when I go to "/app" or "/app/about"
const routeConfig = createRouteConfig().createChildren((createRoute) => [
  createRoute({
    path: "/",
    element: <AppIndex />,
  }),
  createRoute({
    path: "about",
    element: <About />,
  }),
]);

const router = createReactRouter({
  routeConfig,
  basepath: "app",
});

// The router doesn't match even if I click on the links
const AppEntry = () => {
  return (
    <>
      <RouterProvider router={router}>

App

            <router.Link to="/">Home</router.Link>{" "}
            <router.Link to="/about">About</router.Link>

        <Outlet />
      </RouterProvider>
      <TanStackRouterDevtools router={router} />
    </>
  );
};

You can see here that my current route is localhost:3000/app/about and the page is now rendered, but nothing is being matched in the outlet

I created a separate branch in my repro repo for this: https://github.com/bte234/astro-tanstack-router/tree/prefix-router
Maybe this should be a separate issue? Thank you so much once again!

@tannerlinsley I am having the same error when using nested routes + layout routes as wrappers only. I have created a reproducible example on https://stackblitz.com/edit/tanstack-router-issue.
Not sure if this is related to this issue but if we remove the router.Link the error disappears.
Please let me know if we can help/assist you!

Looking into it!
Tanner Linsley
On Nov 10, 2022 at 1:57 AM -0700, Lucas Santos @.***>, wrote:

@tannerlinsley I am having the same error when using nested routes + layout routes as wrappers only. I have created a reproducible example on https://stackblitz.com/edit/tanstack-router-issue.
Not sure if this is related to this issue but if we remove the router.Link the error disappears.
Please let me know if we can help/assist you!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Fixed in the latest version


Export CSV dissimilarities on iOS and Android

I have exported CSV files from the same sensor from both iOS and Android apps and I have noticed a few dissimilarities.

Column RSSI is missing on the iOS, and column TX Power is missing on the android.
Android file showing floating points more than two decimal points.

Android exported near about 7556 rows and iOS exported 812 rows.

Android.csv
iOS.csv
I am not sure which is the ideal hence we need a discussion perhaps.

I'm not certain if iOS can display RSSI, it might depend on sensor connection status. If iOS can display it, let's add.
Rounding should be done to resolution of data format, if that is complicated then we could pick three significant digits.

QA passed


License?

Beer?

@inoas https://github.com/lipis/flag-icon-css/blob/master/LICENSE

Beerware License 🍺

@arcanedev-maroc :) Nice one.. didn't know about it.. I thought this post was random questions :trollface: :D


more than 2 channels

is it possible to have more than 2 channels?
or somehow have 2 corsair virtual device on 1 Arduino?  something like lighting node pro and commander pro on 1 arduino at same time  so we get 2 channel from each

No, but you can split a channel to use multiple led devices on one channel, see https://github.com/Legion2/CorsairLightingProtocol/blob/dev/examples/MultipleFans/MultipleFans.ino

I know that but more channels could be nice

iCUE only supports two channels.

what if I use openrgb and not icue ? is it possible to define more channel?

The number of channels are defined by the device types, and Corsair hat only defined device types with up to two channels. There is no way to tell openrgb the number of available channels via the USB protocol.


feat(player): Add gpu-next to advanced player settings

it's here for anyone who wants to use it.
made this pr to procrastinate from what i should be doing
don't forget to make vo=gpu the default in aniyomi-mpv-lib

This still needs some more changes in the library code since the vo is reconfigured whenever the app goes into the background/the screen is turned off.


Missing Dispatcher call on linux

    System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Call from invalid thread)
     ---> System.InvalidOperationException: Call from invalid thread
       at Avalonia.Threading.Dispatcher.<VerifyAccess>g__ThrowVerifyAccess|16_0() + 0x27
       at Avalonia.AvaloniaObject.SetValue[T](StyledProperty`1, T, BindingPriority) + 0x4d
       at Avalonia.Application.OnColorValuesChanged(Object sender, PlatformColorValues e) + 0x4f
       at Avalonia.FreeDesktop.DBusPlatformSettings.<TryGetInitialValuesAsync>d__6.MoveNext() + 0x182
       --- End of inner exception stack trace ---

easy fix can be

@Mikolaytis a PR would be welcome

Until recently, I doubted that this was a bug in Avalonia. I'm glad to see that it's not about my code =)

Are there any fixes at this moment?

@Jackhammer88 none I'm aware of, so if you have an fix provide a PR.


API Batch 3 is a flaky test.

Description
It fails in the snyk with the following:
  1) RPC Server Acceptance Tests
       Acceptance tests
         @api-batch-3 RPC Server Acceptance Tests
           eth_getTransactionCount
             "before all" hook for "@release should execute "eth_getTransactionCount" primary":
     Error: max attempts of 10 was reached for request with last error being: GrpcServiceError: gRPC service failed with status: TIMEOUT
      at CostQuery.execute (packages/server/node_modules/@hashgraph/sdk/lib/Executable.cjs:675:11)
      at AccountInfoQuery.getCost (packages/server/node_modules/@hashgraph/sdk/lib/query/Query.cjs:186:18)
      at AccountInfoQuery._beforeExecute (packages/server/node_modules/@hashgraph/sdk/lib/query/Query.cjs:296:26)
      at AccountInfoQuery.execute (packages/server/node_modules/@hashgraph/sdk/lib/Executable.cjs:528:5)
      ```
It also timed out multiple times in the workflow security update [PR.](https://github.com/hashgraph/hedera-json-rpc-relay/pull/2565)

### Steps to reproduce

Run it in CI.

### Additional context

_No response_

### Hedera network

other

### Version

v0.49.0

### Operating system

Linux

Batch 3 seems to improve in recent PRs with the update from local-node and the SDK. Closing but will still keep an eye on this item

Batch 3 is still observed failing on PRs


Mention the possibility of using NamedFieldPuns to get the "methods" in a record.

As opposed to using dep env + a field selector, or asCall + a field selector.
Maybe add some kind of helper typeclass? One with a deps method to facilitate extracting the methods of multiple records at a time?
Right now you can do (with NamedFieldPuns + ViewPatterns) something like
myFun (dep -> SomeDependency {someMethod}) = do ...

With the proposed deps, you could do something like
myFun (deps -> (SomeDependency {someMethod}, SomeOtherDependency {someOtherMethod)) = do ...

because there would be an instance of the helper typeclass for 2-tuples.

I've moved away from this.


Selecting videos gives .jpg url

When selecting a video from camera roll, it returns a .jpg url for the first frame only. How do I get the video?

@milesscherrer It is supposed to return a Media struct, not a jpg, and it has getData() and getUrl(), is it not the case? Could you please attach your code if you not getting an actual Media? Have a nice day

`func getUrl() async -> URL? {
switch source {
case .media(let assetMediaModel):
if assetMediaModel.mediaType == .image {
return await assetMediaModel.source.getURL()
} else {
return await assetMediaModel.source.getThumbnailURL()
}
    case .url(let url):
        return url
    }
}`

This makes it return a thumbnail if it is video. But now something seems broken and I now get nil when using `let url = await medias[0].getUrl()`

Same here, the video is not playable, not sure why.

Hey @milesscherrer @slimwangyue, thanks for bringing this to my attention, sorry for the late response, but I'm glad to say it's fixed now! Media now has url, thumbnailUrl, data and thumbnailData. Please check out version 1.0.0, and do let me know if you are still facing issues with the library. And be sure to have a marvellous day!


Powerwall + with Extra Standalone Inverter

Problem Description
I have successfully setup my dashboard and am collecting data from my Powerwalls and attached inverters. However, I have a standalone Tesla solar inverter that was installed at the same time as the powerwalls that is not part of this dashboard. Is there a way to also/seperately poll the string data and overall status of the standalone inverter and display the data in the same dashboard as the Powerwalls? There is a Neurio that is reading the overall output of the standalone inverter and reporting to the Powerwall+ unit already so my summary and production data is correct, however it would be nice to have the low level and string data from the standalone unit.
Additionally, I am curious if there is a way to show the SN of each powerwall to identify which unit is "Powerwall 1" vs "Powerwall 2" vs 3 in the dashboard?
System Details
Describe the host system you are trying to use for the Dashboard:

Raspberry Pi 4
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye

Energy System Details
2 Powerwall + (One Site Controller and one expansion unit)
1 Powerwall
1 3.8/7.2kW Tesla Solar Inverter
1 Backup Switch

Hi @jf5264835 !

Is there a way to also/seperately poll the string data and overall status of the standalone inverter and display the data in the same dashboard as the Powerwalls?

Sadly, no.  The separate inverters do not measure and provide low level string data to the gateway. This is a common request and many have investigated all options. However, if you or anyone else discovers some secret way to get to that day, let us know!

I am curious if there is a way to show the SN of each powerwall to identify which unit is "Powerwall 1" vs "Powerwall 2" vs 3 in the dashboard?

Yes!  You can hit the pypowerwall endpoint for pod which will show all the Powerwalls with their Name+SN: http://localhost:8675/pod (change localhost to the host running the Dashboard).  Also this has the vitals and more details of your system: http://localhost:8675/vitals


Duplicate documentation

We're updating the documentation URL and anchors in https://github.com/elastic/apm-aws-lambda/pull/158. As a prerequisite, we need to update the file name and apm-server include statement so that the PR doc build can complete.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-03-24T21:50:45.921+0000

Duration: 9 min 46 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
240

Skipped
6

Total
246

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

💚 All backports created successfully

Status
Branch
Result

✅
8.1

Questions ?
Please refer to the Backport tool documentation


Kindly request the inclusion

Our new ICML paper studies the membership inference attack (data contamination) in a black-box manner.
Title: DE-COP: Detecting Copyrighted Content in Language Models Training Data (ICML 2024)
Paper: https://arxiv.org/abs/2402.09910
Code: https://github.com/LeiLiLab/DE-COP?tab=readme-ov-file
Dataset:
https://huggingface.co/datasets/avduarte333/BookTection
https://huggingface.co/datasets/avduarte333/arXivTection
It would be my pleasure if my work could be included in the repo. Thank you!

Thanks for letting me know I missed your work. I have added your paper to the list.


Gitea behind apache proxy with HTTPS returns 404 for sign-in/register

Gitea version (or commit ref): 1.11.0+dev-123-gbc1775b49 (docker)
Git version: 2.22.0
Operating system: Ubuntu 18.04.3 LTS
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:
https://gist.github.com/vedranMv/84b37a2d093b2fe10651858c57404c74

Description
Hi,
I couldn't find anything similar reported and I think this is not a bug per se, but more related to my setup.
I have a self-hosted domain with dynamic DNS. On my ubuntu server, I have apache running natively with HTTPS (Let's encrypt). The domain is at https://hsr.duckdns.org
What I'm trying to do is make apache host local files whenever you hit the link, but when you hit https://hsr.duckdns.org/gitea it should route the traffic to Gitea running in docker, localhost:3000 and over http only. It works for the most part. As you can see, gitea is accessible through the link above.
Problem is that whenever I try to access anything that's not home page (e.g. register/login), gitea returns 404 - page not found. In apache log, I can see apache returns status 404 when requesting /gitea/serviceworker.js and  /gitea/user/sign_up. It looks like it's requesting the correct link (/gitea/*) but nothing is there.
Apache log: https://gist.github.com/vedranMv/e653be659000735026c65afdf8824487
app.ini: https://gist.github.com/vedranMv/8ded743f1130b30f7e03148bdb5844f3
I hope someone can help with a debugging tip or an idea what I might be doing wrong :)
Edit: Seems to be similar to: https://github.com/go-gitea/gitea/issues/5505
Screenshots

ENABLE_REVERSE_PROXY_AUTHENTICATION = true
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = true
ENABLE_REVERSE_PROXY_EMAIL        = true

Are you actually providing this functionality?

Honestly, I am not sure what these do.
But the behavior is the same regardless of their value.

Remove them.
We also need to see the router logs from Gitea. It would be helpful to look at your Apache proxy config too

Thank you for you help, it's solved now!
Looking at the router log, I saw this:
2019/11/13 13:49:43 ...ers/routes/routes.go:106:func1() [D] Completed GET //user/sign_up 404 Not Found in 8.076243ms
2019/11/13 13:49:43 ...ers/routes/routes.go:100:func1() [D] Started GET //vendor/assets/octicons/octicons.min.css for x.x.x.x
2019/11/13 13:49:43 ...ers/routes/routes.go:106:func1() [D] Completed GET //vendor/assets/octicons/octicons.min.css 304 Not Modified in 375.205µs
2019/11/13 13:49:43 ...ers/routes/routes.go:100:func1() [D] Started GET //vendor/plugins/semantic/semantic.min.css for x.x.x.x
2019/11/13 13:49:43 ...ers/routes/routes.go:106:func1() [D] Completed GET //vendor/plugins/semantic/semantic.min.css 304 Not Modified in 572.795µs
2019/11/13 13:49:43 ...ers/routes/routes.go:100:func1() [D] Started GET //vendor/plugins/jquery-migrate/jquery-migrate.min.js?v=3.0.1 for x.x.x.x
2019/11/13 13:49:43 ...ers/routes/routes.go:106:func1() [D] Completed GET //vendor/plugins/jquery-migrate/jquery-migrate.min.js?v=3.0.1 304 Not Modified in 580.337µs
2019/11/13 13:49:43 ...ers/routes/routes.go:100:func1() [D] Started GET //vendor/plugins/promise-polyfill/polyfill.min.js for x.x.x.x

Where // in URL pointed me towards my apache configuration where I had:
ProxyPass /gitea http://<IP_ADDRESS>:3000/ nocanon
ProxyPassReverse /gitea http://<IP_ADDRESS>:3000/

After removing the slash shown after port number, everything works normally. Thank you once again for pointing me in the right direction :)


worker.py: Remove duplicate CopySchemaShard command.

@aaijazi

LGTM
On Jul 23, 2015 12:57 PM, "Michael Berlin"<EMAIL_ADDRESS>wrote:

@aaijazi https://github.com/aaijazi
You can view, comment on, or merge this pull request online at:
https://github.com/youtube/vitess/pull/910
Commit Summary

worker.py: Remove duplicate CopySchemaShard command.

File Changes

M test/worker.py
https://github.com/youtube/vitess/pull/910/files#diff-0 (1)

Patch Links:

https://github.com/youtube/vitess/pull/910.patch
https://github.com/youtube/vitess/pull/910.diff

—
Reply to this email directly or view it on GitHub
https://github.com/youtube/vitess/pull/910.


Terraform wipes out AGIC's backends on each deploy

Describe the bug
When I create a App Gateway with terraform I have to include a default backend pool, listener, settings, rule, etc.
Later when I apply application gateway to AKS it takes control of the app gateway and replaces all of these. The next time I deploy terraform detects its settings are missing and recreates them all. When this happens it leaves the app gateway in a broken state until I manually recreate an Ingress object.
To Reproduce

Create an app gateway with terraform
Create aks and attach the gateway to aks
Deploy a 2nd time with terraform

Ingress Controller details
The default that comes with aks right now

Output of kubectl logs <ingress controller>. NA`
Any Azure support tickets associated with this issue.
NA

I tried to set the ignore_changes also but now its erorring on the unexpected backend pools rather than just deleting them. Do you happen to have an example of the terraform for this?
module.shared.module.resource_group.azurerm_resource_group.this: Refreshing state... [id=/subscriptions/0816a7b7-daf6-4f6a-8d35-0297a9da1f73/resourceGroups/testservice-stpr99]
╷
│ Error: updating Application Gateway: (Name "api-appgateway" / Resource Group "testservice-stpr99-common"): network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidResourceReference" Message="Resource /subscriptions/0816a7b7-daf6-4f6a-8d35-0297a9da1f73/resourceGroups/testservice-stpr99-common/providers/Microsoft.Network/applicationGateways/api-appgateway/probes/pb-service-api-8080-api referenced by resource /subscriptions/0816a7b7-daf6-4f6a-8d35-0297a9da1f73/resourceGroups/testservice-stpr99-common/providers/Microsoft.Network/applicationGateways/api-appgateway/backendHttpSettingsCollection/bp-service-api-8080-8080-api was not found. Please make sure that the referenced resource exists, and that both resources are in the same region." Details=[]
│
│   with module.common.module.compute.module.appgateway.azurerm_application_gateway.api,
│   on ../common/compute/appgateway/api.tf line 1, in resource "azurerm_application_gateway" "api":
│    1: resource "azurerm_application_gateway" "api" {

resource "azurerm_application_gateway" "agic" {
  name                = var.agic_name
  resource_group_name = azurerm_resource_group.waf_test_agic_rg.name
  location            = azurerm_resource_group.waf_test_agic_rg.location
  firewall_policy_id  = azurerm_web_application_firewall_policy.waf_policy.id

  sku {
    name     = var.application_gateway_sku.name
    tier     = var.application_gateway_sku.tier
    capacity = 1
  }

  ssl_certificate {
    name                = "mycert"
    key_vault_secret_id = "myid"
  }
  zones = var.application_gateway_zones

  identity {
    type         = "UserAssigned"
    identity_ids = [azurerm_user_assigned_identity.managed_agic_id.id]
  }

  gateway_ip_configuration {
    name      = "gateway-ip-configuration-test"
    subnet_id = "/mysubnetid"
  }

  frontend_port {
    name = local.frontend_port_name
    port = 80
  }

  frontend_port {
    name = local.frontend_https_port_name
    port = 443
  }

  frontend_ip_configuration {
    name                 = local.frontend_ip_configuration_name
    public_ip_address_id = azurerm_public_ip.pip_agic.id
  }

  backend_address_pool {
    name         = "aks-internal-lb"
    ip_addresses = ["<IP_ADDRESS>"]
  }

  backend_http_settings {
    name                  = "dummy_required_setting"
    cookie_based_affinity = "Disabled"
    port                  = 80
    protocol              = "Http"
    request_timeout       = 60
  }

  http_listener {
    name                           = "dummy_required_listener"
    frontend_ip_configuration_name = local.frontend_ip_configuration_name
    frontend_port_name             = local.frontend_port_name
    protocol                       = "Http"
  }

  request_routing_rule {
    name                       = "dummy_required_rule"
    rule_type                  = "Basic"
    http_listener_name         = "dummy_required_listener"
    backend_address_pool_name  = "aks-internal-lb"
    backend_http_settings_name = "dummy_required_setting"
    priority                   = 6000
  }
  lifecycle {
    ignore_changes = [
      http_listener,
      probe,
      tags,
      request_routing_rule,
      backend_address_pool,
      backend_http_settings,
      url_path_map,
      frontend_port,
      redirect_configuration,
    ]
  }
}

If the issue bp-service-api-8080-8080-api was not found I would attempt trying to delete it via the azure portal and see if that solves things

Yup I needed to add more things to the ignore and that did the trick.
I expected this to cause everything to be updated still even if a non-ignored field is updated but it doesn't this works as needed, thanks!


Improving docs and eating dogfood

This pull request adds a configuration for autolabeler bot to the repo. The app will need to be added and then it should auto label pull requests!
Also update the docs with a screenshot of it working and links / info on the app.

@JasonEtco @bkeepers - I've finally gotten around to updating this pull request. It should be ready to merge.

Gosh, I really wish stale bot didn't add a "wontfix" label with its (useful and welcome) ping messages.

@bkeepers all review comments have been addressed -- can this be merged?

Nothing is blocking a merge IIUC.

Still relevant, and AFAICT nothing is blocking it. It just needs to be merged.


is_binary_training in featurizer

Rasa version: 1.2
Rasa X version (if used & relevant):
Python version: 3.6
Operating system (windows, osx, ...): Ubuntu
Issue:
I found in the trained MemoizationPolicy model, in lookup table all tracker states are using reel intent confidence predicted by interpreter, although  in method training_states_and_actions, when calling _create_states, we do set is_binary_training to True (in rasa.core.featurizer.py at line 585)
So I looked into _create_state method:
    def _create_states(
        self,
        tracker: DialogueStateTracker,
        domain: Domain,
        is_binary_training: bool = False,
    ) -> List[Dict[Text, float]]:
        """Create states: a list of dictionaries.
            If use_intent_probabilities is False (default behaviour),
            pick the most probable intent out of all provided ones and
            set its probability to 1.0, while all the others to 0.0."""
        states = tracker.past_states(domain)

        # during training we encounter only 1 or 0
        if not self.use_intent_probabilities and not is_binary_training:
            bin_states = []
            for state in states:
                # copy state dict to preserve internal order of keys
                bin_state = dict(state)
                best_intent = None
                best_intent_prob = -1.0
                for state_name, prob in state:
                    if state_name.startswith("intent_"):
                        if prob > best_intent_prob:
                            # finding the maximum confidence intent
                            if best_intent is not None:
                                # delete previous best intent
                                del bin_state[best_intent]
                            best_intent = state_name
                            best_intent_prob = prob
                        else:
                            # delete other intents
                            del bin_state[state_name]

                if best_intent is not None:
                    # set the confidence of best intent to 1.0
                    bin_state[best_intent] = 1.0

                bin_states.append(bin_state)
            return bin_states
        else:
            return [dict(state) for state in states]

The first if condition will never be executed as it asks is_binary_training should NOT be True.
So unless I misunderstand what is_binary_training means, I thinks we should remove the second not from that if condition
Error (including full traceback):

Command or request that led to error:

Content of configuration file (config.yml) (if relevant):

Content of domain file (domain.yml) (if relevant):

Thanks for the issue, @federicotdn will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

is_binary_training is used during training of core model, when the input anyhow is binary so there is no need to binarize it


Two different queries returning the same type won't give the same name for that returned type

Hello,
I was using this package fine when I faced a big problem. Maybe I'm doing something wrong I don' t know, because I'm surprised that I didn't see this problem arise in existing issues.
Let's say I have 2 queries :
getFriends : [Friends]
getAvailableFriends : [Friends]
However when using the generated type by this package, I will get Query$GetFriends$getFriends as a return type for the first query, and  Query$GetAvailableFriends$getAvailableFriends for the second (I called the queries GetFriends and GetAvailableFriends in the friends.graphql file).
This types have two differents names, but they represent the exact same Friends type from graphql.
This causes me a problem when I try to use this two "different" types together as they're incompatible.
I guess that a solution would be to do some kind of union type between the two generated types to a single one  would create : Friends. However I saw you can't do union in Dart.
Is there something I'm doing wrong ? Maybe i'm not using this package right.
Thank you for your help.

Alright I will test this, and I will get back to you as soon as possible to let you know if everything's fine. Thank you very much for your swift response.

I have another question that arose during the test about nested fragments.
So I have for example this schema :
type User {
  username: String!
  email: String
  sex: Sex
  age: Int
  notifications: [Notification!]
}
union Notification = FriendRequestNotification | NewsNotification

type FriendRequestNotification {
  requesterUsername: String!
}

type NewsNotification {
  newsId: String!
}

type Query {
	getUser(username: String!): User
}

And I have these frontend queries :
fragment FullFriendRequestNotification on FriendRequestNotification {
  requesterUsername
}

fragment FullNewsNotification on NewsNotification {
  newsId
}

fragment FullUser on User {
  username
  email
  sex
  age
  notifications {
    ...FullFriendRequestNotification
    ...FullNewsNotification
  }
}

query GetUser($username: String!) {
  getUser(username: $username) {
    ...FullUser
  }
}

query GetNotifications($username: String!) {
  getUser(username: $username) {
    __typename
    username
    notifications {
      ...FullFriendRequestNotification
      ...FullNewsNotification
    }
  }

When I do the query GetUser, here's what I get for the notification subType FriendRequestNotification : Fragment$FullUser$notifications$$FriendRequestNotification
However, I expected something like that : Fragment$FullFriendRequestNotification
Because when I do GetNotifications, I will get this FullFriendRequestNotification subtype as well, and it brings me back to my first problem when creating this issue : I will have 2 different types for the same entity.
Is it an expected behavior or am I not using fragments right ?
Again, thank you for your help.

If you take a look at the generated code, you will notice that the Fragment$FullUser$notifications$$FriendRequestNotification class is implementing Fragment$FullFriendRequestNotification, so the type is both.


sortby() or sort_index() method for Dataset and DataArray

They should function like the pandas methods of the same name.
Under the covers, I believe it would suffice to simply remap ds.sort_index('time') -> ds.isel(time=ds.indexes['time'].argsort()).

On our end, we currently do the following when we need to sort by axis label (lat/lon in this case):
da.reindex(indexers={'lat':sorted(da.coords['lat'].values), 'lon':sorted(da.coords['lon'].values)})

Upon first glance of the source code I think our approach goes down different code path than your .isel() approach.  The most obvious difference, from a user's stand point, is probably that .reindex() returns a new object, whereas .isel() returns a view (typically).  In Pandas, both sort_index() and sort_values() seem to return new objects.
We'd be happy to contribute to an xarray version of sort_index() and sort_values().  The first question is, which one would be the more robust and computationally efficient code path to take?

If you pass in a list or array to isel, xarray copies the underling data like numpy does:
http://xarray.pydata.org/en/stable/indexing.html#copies-vs-views
These approach do go do slightly different code paths, but they would have equivalent performance in most cases because the indexing cost will dominate over sorting. I would prefer using np.argsort() only because it's slightly more general, insofar as it doesn't rely on the index having unique labels. (If you have duplicate labels, reindex fails.) It also avoids needing to build the hash table for index based lookups, which has a small amount of overhead.
Also, as a side note np.sort and np.argsort are slightly faster than Python's sorted(), because can rely on homogeneous data dtypes.

A couple of things:
1.) Upon a little thinking I believe sort_values() doesn't make much sense, so I'm only working on sort_index()'. 2.) the way I handle the inplace` kwarg is by
if inplace:
            self = self.isel(**{d: self.indexes[d].argsort()
                                if ascending
                                else self.indexes[d].argsort()[::-1]
                                for d in dimensions})
        else:
            return self.isel(**{d: self.indexes[d].argsort()
                                if ascending
                                else self.indexes[d].argsort()[::-1]
                                for d in dimensions})

But when I run
ds.sort_index(dims=['x', 'y'], inplace=True)

nothing changes.  If I put a pdb.set_trace() right below the self = self*** I can evaluate self and see that it's what I want it to be.  But somehow that assignment is not realized to the higher level.  Any quick pointer?

@chunweiyuan I would skip inplace -- it's just not worth the complexity. It certainly does not make things any faster, so there is little gain from it. If you really want it, search for inplace in dataset.py and dataarray.py for examples.
When you assign to self, it creates a local variable: it doesn't override the object instance (Python doesn't support that).
I actually like the name sortby(), allowing any 1D variables as the argument (not just coordinates), as long as they have distinct dimensions. This works better for xarray than it does for pandas because we always have axis/dimension names.

What would the signature of sortby() be then?  On our end we just want a more intuitive way to sort by dimension labels, so now I have sort_index(self, dims, ascending=True).  sortby(), based on your description, seems like a separate method.  Or any suggestion on how we can marry the two into something coherent?

What would the signature of sortby() be then?

Maybe something like: sortby(variables, ascending=True), where variables can be any of:

name of a 1D variable in coords (on a DataArray) or coords/data_vars (on a Dataset): these get converted in a DataArray like self[name].
a 1D DataArray, with a dimension found in self.dims
list of either of the above

Sounds good.  As I'm writing the type-checking code I run into this question:  Why would I have a xarray.core.dataset.DataVariables object as input?  A DataVariables object could contain multiple DataArrays, which makes the interpretation a bit unclear.  In my mind it should only be 1.) name(s) of existing index coords, or 2.) 1D DataArray(s) with dim in self.dims

Why would I have a xarray.core.dataset.DataVariables object as input?

Indeed, you would not. I think my earlier comment was a little confusing here. I meant you could have name(s) of variables in a Dataset (which means either coords or data_vars) or coords on a DataArray.

In my mind it should only be 1.) name(s) of existing index coords, or 2.) 1D DataArray(s) with dim in self.dims

Yes, agreed.


support host names defined in ~/.ssh/config

alias configured in ssh_config should be honored when used in lium as network host name.

After doing some basic code crawling and cleanup, I think this is what I'll do first as my starter issue

We discussed offline we think it would be better to have lium have it's own config kv pairs of names to IP/ports rather than conflate with ssh config.  We can also add a command/flag to sync/check with ssh config if desired


Java 5074: Comparing different toList methods

Added file StreamToListComparisonWithCollectorsToListUnitTest.java for BAEL-5074
description: http://jira.baeldung.com/browse/BAEL-5074

Changed the variable names to result


Update UCP logs to ELK stack example

File: datacenter/ucp/2.2/guides/admin/configure/store-logs-in-an-external-system.md, CC @JimGalasyn
I tried to apply the example to send the UCP logs to ELK 6.1.0 and the filter was causing jsonparsing errors in Logstash.
[2017-12-21T05:38:57,812][WARN ][logstash.filters.json    ] Error parsing json {:source=>"message", :raw=>"<7>2017-12-21T05:38:57Z ucp-controller-<IP_ADDRESS> /bin/controller[1]: {\"level\":\"debug\",\"msg\":\"Writing message to listener\",\"time\":\"2017-12-21T05:38:57Z\"}", :exception=>#<LogStash::Json::ParserError: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')  at [Source: (byte[])"<7>2017-12-21T05:38:57Z ucp-controller-<IP_ADDRESS> /bin/controller[1]: {"level":"debug","msg":"Writing message to listener","time":"2017-12-21T05:38:57Z"}"; line: 1, column: 2]>}
This is because the log message is not plain json
I was able to get better logs with
filter {
    grok {
        match => { "message" => "%{SYSLOG5424PRI}%{TIMESTAMP_ISO8601:time} %{SYSLOGHOST} %{SYSLOGPROG}: %{GREEDYDATA:ucplog}"}
    }
    json {
        source => "ucplog"
    }
}

This is not perfect but Logstash actually parses the logs

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


Link docs for v3.0.3.

Coverage remained the same at 39.199% when pulling 922e6af86c1e4e544d9b21c52bbd59f72452267b on link-3-0-3-docs into f5ceef420a3bc42b1062b87cfb3f72119309cd0d on master.


Get-DnsServerResourceRecord not getting all properties

Get-DnsServerResourceRecord is returning different output on PS7. Properties "Timestamp" and "RecordData" are empty :(
Steps to reproduce
Get-DnsServerResourceRecord -ZoneName 'my.zone' -RRType 'A' -Name 'test1'

Expected behavior
HostName                  RecordType Type       Timestamp            TimeToLive      RecordData
--------                  ---------- ----       ---------            ----------      ----------
test1                     A          1          0                    01:00:00        <IP_ADDRESS>

Actual behavior
HostName                  RecordType Type       Timestamp            TimeToLive      RecordData
--------                  ---------- ----       ---------            ----------      ----------
test1                     A          1                               01:00:00

Environment data
Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Please share Get-Module output.

@iSazonov looks like PS7 uses a different version
PS7 console
ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     0.0                   chocolateyProfile                   {TabExpansion, Update-SessionEnvironment, refresh…
Script     1.0                   DnsServer                           {Add-DnsServerClientSubnet, Add-DnsServerConditio…
Manifest   <IP_ADDRESS>               Microsoft.PowerShell.Management     {Add-Content, Clear-Content, Clear-Item, Clear-It…
Manifest   <IP_ADDRESS>               Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Ob…
Script     2.0.385               oh-my-posh                          {Get-ComputerName, Get-FormattedRootLocation, Get…
Script     0.7.3                 posh-git                            {Add-PoshGitToProfile, Add-SshKey, Enable-GitColo…
Script     0.6.1                 PSConsoleTheme                      {Get-ConsoleTheme, Set-ConsoleTheme}
Script     1.1.26                PSFzf                               {Invoke-FuzzyEdit, Invoke-FuzzyGitStatus, Invoke-…
Script     2.0.0                 PSReadLine                          {Get-PSReadLineKeyHandler, Get-PSReadLineOption, …

PS5.1 console
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     0.0        chocolateyProfile                   {TabExpansion, Update-SessionEnvironment, refreshenv}
Manifest   <IP_ADDRESS>    DnsServer                           {Add-DnsServerClientSubnet, Add-DnsServerConditionalForwar...
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Management     {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Con...
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
Script     2.0.385    oh-my-posh                          {Get-ComputerName, Get-FormattedRootLocation, Get-FullPath...
Script     0.7.3      posh-git                            {Add-PoshGitToProfile, Add-SshKey, Enable-GitColors, Expan...
Script     0.6.1      PSConsoleTheme                      {Get-ConsoleTheme, Set-ConsoleTheme}
Script     1.1.26     PSFzf                               {Invoke-FuzzyEdit, Invoke-FuzzyGitStatus, Invoke-FuzzyHist...
Script     2.0.0      PSReadline                          {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PS...

@nomoresecrets You loaded DnsServer module with WinCompat feature.
/cc @doctordns @anmenaga

Version <IP_ADDRESS> works natively in Windows Server in my testing.

@iSazonov it's loaded automatically by calling "Get-DnsServerResourceRecord" on my Win10 client, there's no explicit load-module etc defined - same for PS5
RSAT Tools are installed on my client - looks like PS7 don't know about them?!
'Get-Module DnsServer' on PS7
Name              : DnsServer
Path              : C:\Temp\remoteIpMoProxy_DnsServer_<IP_ADDRESS>_localhost_f65a29c8-01a8-45e0-b65d-f47636c2af15\remoteI
                    pMoProxy_DnsServer_<IP_ADDRESS>_localhost_f65a29c8-01a8-45e0-b65d-f47636c2af15.psm1
Description       : Implicit remoting for
ModuleType        : Script
Version           : 1.0
PreRelease        :
NestedModules     : {}
ExportedFunctions : {Add-DnsServerClientSubnet, Add-DnsServerConditionalForwarderZone,
                    Add-DnsServerDirectoryPartition, Add-DnsServerForwarder…}
ExportedCmdlets   :
ExportedVariables :
ExportedAliases   : {Export-DnsServerTrustAnchor, Get-DnsServerRRL, Set-DnsServerRRL}

'Get-Module DnsServer' on PS5
Name              : DnsServer
Path              : C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\DnsServer\DnsServer.psd1
Description       :
ModuleType        : Manifest
Version           : <IP_ADDRESS>
NestedModules     : {PS_DnsServerCache_v1.0.0, PS_DnsServerConditionalForwarder_v1.0.0,
                    PS_DnsServerDiagnostics_v1.0.0, PS_DnsServerDirectoryPartition_v1.0.0...}
ExportedFunctions : {Add-DnsServerClientSubnet, Add-DnsServerConditionalForwarderZone,
                    Add-DnsServerDirectoryPartition, Add-DnsServerForwarder...}
ExportedCmdlets   :
ExportedVariables :
ExportedAliases   : {Export-DnsServerTrustAnchor, Get-DnsServerRRL, Set-DnsServerRRL}

@nomoresecrets You should install latest RSAT.
If PoweShell see that the module is not Core compatible (in manifest) it loads automatically with WinCompat feature (that is proxing with 1.0 version you see).

@iSazonov I'll try to update my RSAT tools (which currently fails due to WSUS/GPO restrictions) - I'll keep you informed. Thanks so far

(which currently fails due to WSUS/GPO restrictions

You can temporary disable WSUS in registry to resolve this.

RSAT Tools are installed on my client - looks like PS7 don't know about them?!
A way to check this is to display $env:PSModulePath in PS7 and compare it with where RSAT modules are installed.


Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[ ] I have performed a search and couldn't find this package.
[ ] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: KDE e.V.
Publisher Url: http://kde.org
Package Name: KDE.KMyMoney.Nightly
Description: http://apps.kde.org/kmymoney
Package Version: master-1371
Installer URL: http://binary-factory.kde.org/view/Windows 64-bit/job/KMyMoney_Nightly_win64/lastSuccessfulBuild/artifact/kmymoney-master-1371-windows-msvc2019_64-cl.exe
Current Package Identifier (for new versions): master-1371

Duplicate of #39190
Please post your KDE requests here


Dynamically sized type parameter syntax

The current syntax for denoting a dynamically-sized type parameter is Sized? T. This acts as a way of removing the implicit Sized bound that all type parameters have by default. This has the nice advantage of being open to adding other default trait bounds in the future with a similar syntax for opting out. (Drop could be one: uninitialised pointers are not able to be dropped, but everything else is.) However, to me it seems inconsistent with the syntax for normal bounds, which come after the type parameter name. It also can’t be used in a where clause, unlike everything else applied to type parameters. Because DST never went through a proper RFC, and the syntax for DSTs has changed twice, it would be nice if we could get some proper feedback on want the syntax should actually be. I personally prefer T: Sized?, but perhaps other people will have other ideas.
For the record, here are the different syntaxes we’ve gone through:

unsized T: the original, obvious syntax
type T: there was a blog post on this

Motivation: Sized ∪ Unsized = All types

Sized? T: the current syntax

Motivation: Makes the implicit Sized bound normally present in all type parameters optional

I think this is basically settled now. Closing.


dialect/sql/schema: Atlas cleanSchema should handle non-existent tables

sqlite fts5 virtual tables create additional tables that are automatically deleted when the virtual table is deleted.
This will cause "no such table" errors when trying to drop them when creating a new migration.

Fixes #3928

Hello @eric, can you please rebase your branch from the master branch of Ent?

Done.


rpm-packaging-results: avoid using --watch with --csv

newer versions of osc no longer ignore "-w" when used with
--csv but instead print an error message:
Please implement support for osc prjresults --watch without --xml.
We can however just ignore the wait, as we wait afterwards anyway.

It still works for me
$ zypper info osc | grep Version
Version        : 0.164.1-1.1
$ osc results --csv -w -r SLE_12_SP4
SLE_12_SP4|aarch64|unpublished|False|succeeded|
SLE_12_SP4|x86_64|unpublished|False|failed|
SLE_12_SP4|ppc64le|unpublished|False|succeeded|
SLE_12_SP4|s390x|unpublished|False|succeeded|

@cmurphy I can check which osc versions are affected. It's possible that we had a manually installed newer version on the worker before

reproducer:
osc results --csv -w -r standard home:suse-cloud-ci:rpm-packaging-sles12-Rocky-90836770a5e8a92e3e85bdce0001933b00239d53
Please implement support for osc prjresults --watch without --xml.

It still works for me

I guess you called it in a checked out package, not just a project.


Allow passing in a function as a validator

You should be able to pass in a function as a law for a property.
For example,
c.trial("name").laws.must(function(value) {
    return (name.length >= 8);
});

@SiAdcock I've been looking into this, and I've realised that simply returning true/false, doesn't give us scope to return the law name or any details about the law when we return them.

@SiAdcock What do you think about the return value of the passed in functions?


The local persistence function clears fields that do not belong to the calendar.

https://calendar-js.com/examples/persistence.html
https://github.com/williamtroup/Calendar.js/blob/5e512588be2c71bd20c5aeb908eba917dd5a9d2c/dist/calendar.js#L7497
The problem occurs again when double-clicking the date and the edit event pops up.
When creating a new event by clicking the plus button, no problem is found or a problem occurs.

Will be fixed in v2.10.8.

Fixed and released.


Add example for coordinator

Part of #617

/assign @kannon92 here is an example for the coordinator feature, please take a look when you have a sec :) I manually tested it and confirmed it works.

/lgtm


Look into transcoding support for non-UTF-8-terminals

Depends on https://github.com/clue/php-utf8-react/issues/4 and possibly https://github.com/clue/php-utf8-react/issues/6

I still think that this feature makes perfect sense :+1: However, there are currently no immediate plans to build this from my end (no demand at the moment and more important outstanding issues currently), but I would be really happy to accept PRs :+1:
(If you need this for a commercial project and you want a quote, please check out my profile and send me an email)


[SPARK-38432][SQL][FOLLOWUP] Add test case for push down filter with alias

What changes were proposed in this pull request?
DS V2 pushdown predicates to data source supports column with alias.
But Spark missing the test case for push down filter with alias.
Why are the changes needed?
Add test case for push down filter with alias
Does this PR introduce any user-facing change?
'No'.
Just add a test case.
How was this patch tested?
New tests.

ping @huaxingao cc @cloud-fan

thanks, merging to master/3.3!

@cloud-fan Thank you.


Update to 6.0.0-preview5

@wtgodbe don't branch in this repo but please merge this PR about the same time as my other branding changes.


Cannot set state in the same block where you create state

Running the following .glass file:
<Code>
const [name, setName] = useState('Elliott')
const [numMessages, setNumMessages] = useState(0)

setNumMessages(numMessages + 1)
</Code>

<System>
You are ChatGPT. Be polite and responsive.

You are currently interacting with as User named: ${name}
</System>

<Chat model="gpt-3.5-turbo">

</Chat>

leads to this error:
✘ [ERROR] The symbol "setNumMessages" has already been declared    Users/elliottburris/Developer/glass/apps/demo/chat/glass-tmp.ts:12:22:      12 │   const [numMessages, setNumMessages] = useState(0, GLASS_STATE, '...

fixed