proper window decorations on KDE

Is your feature request related to a problem? Please describe.
this is how the window decorations look compared to a native qt app

obviously they're not going to be perfect, but can something be done so it's not that thick?
Describe the solution you'd like
better window decorations
Describe alternatives you've considered
living with this
Additional context
No response

You can set your own window decorations in plasma settings and problem solved.

This is possible via this merge: https://github.com/localsend/localsend/pull/669
Launching with the environmental variable GTK_CSD=0 disables the CSD.

okay, this works. please document this.

the first commadn worked, thanks

it would be nice if this was documented.


Added tests for dual LDAP feature (3.8)

Scope & Purpose
Backport of https://github.com/arangodb/arangodb/pull/14248
Enterprise companion PR: https://github.com/arangodb/enterprise/pull/690
This will add the three test scenarios:

two active ldap servers
first ldap server active, second ldap server not reachable
second ldap server not reachable, second ldap server active

The fourth scenario, only one ldap, is tested by the existing tests.
This requires a PR for oskar (https://github.com/arangodb/oskar/pull/319) which starts two LDAP servers as docker containers.

[ ] :hankey: Bugfix (requires CHANGELOG entry)
[x] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] Backports required for: 3.7

Related Information

[x] Enterprise PR: https://github.com/arangodb/enterprise/pull/690

Testing & Verification

[x] This PR adds tests that were used to verify all changes:

[x] Added new integration tests

https://jenkins.arangodb.biz/job/arangodb-ANY-linux-matrix/2187/


Automatic font scale according to accessibility option "font size" of device does not work on Android

[x] I have read the README
[x] I have already searched for the same problem
[x] I have read and done the setup for Android: IMPORTANT Note for Android and iOS and IMPORTANT Note for Android
[x] I have read and done the setup for iOS: IMPORTANT Note for Android and iOS and IMPORTANT Note for iOS
[x] I have ran the sample app and it does not work there

Environment

Technology
Version

Flutter version
1.20.4

Plugin version
4.0.0+4

Android version
10

iOS version
14

Xcode version

Device information: Nokia 5.3 and iPhone 6s Plus
Description
Users with eye sight impairments have the option to generally use a bigger font on their devices using the accessibility settings of the device. On Android the webview should automatically respect the accessibility settings and scale fonts accordingly when Javascript is enabled (https://a11y-guidelines.orange.com/mobile_EN/dev-android.html).
The InAppWebView does not scale fonts according to the accessibility settings (unless I am missing something here!).
On iOS scaling needed to be enabled through the CSS selector font: -apple-system-body; and on this platform it works as expected with the InAppWebView.
Expected behavior:
If the user choses a larger font size in the accessibility settings of his Android device, the webview should scale the fonts  accordingly.
Current behavior:
On Android the InAppWebView does not respect the accessibility settings.

Additional info: It looks like the InAppWebView does not respect the font size settings, but it does respect the display size setting of the accessibility settings. Chrome on the other hand respects both. So I still suspect that the InAppWebView could respect that too.

Any update on it, it is working fine on webview_flutter?

any up?

@ghowen i have workaround
add this:
 android: AndroidInAppWebViewOptions(             textZoom: (MediaQuery.of(context).textScaleFactor * 100).ceil(),
in init options

What about iOS ? How to scale font size for the whole page ?
I see related not answered question - https://github.com/pichillilorenzo/flutter_inappwebview/issues/69.

Released new version 6.2.0-beta.2 with the fix.


How to use the wakaama library for Espressif

Hi,
I have developping the openthread device's and I want to implement the lwm2m client in it. So, anyone can tell me that it is supported esp32c6 device firmware's. And how to add the Library for my project to enable lwm2m client in it...

In the past, I started from the example (for example, the light client) and adapted the connection piece (socket) to replace the POSIX socket call with what is available for your target IP stack.

Thanks for your reply @jvermillard
In my end device I've using the UDP socket for Communicate from the Leshan server for Light Control, Instead of I'm want to use the LWM2M Client in my Device for Light Control from the Server...

Try something like this:

Add the Wakaama repo as submodule to your project.
Include wakaama.cmake in your CMake project.
Call the CMake functions target_sources_data and target_sources_wakaama on your target.
Implement the C functions listed under Platform abstraction functions to be implemented by the user  in liblwm2m.h somewhere in your project.
Implement a connection with your UDP socket. Get inspiration from the examples (examples/shared/).
Take a suitable example as basis for your code. And work from there.

Feel free to ask for help if you get stuck. Unfortunately, we did not manage yet to write a tutorial on how to get started with Wakaama.

Hi @LukasWoodtli ,
I'll try this in my code as your reference and Let you Know...

Closing this issue due to no action lately.
@Harpabhu13 feel free to reopen it if you need support.


Fixing the makefiles

Submisison Checklist

[x] Run tests: ./runCmdStanTests.py src/test
[x] Declare copyright holder and open-source license: see below

Summary:
This pull request simplifies the build and gets the makefiles in order. The makefiles got tangled up through a few recent changes. This uses changes from the PR in Math: stan-dev/math#956, and the PR in Stan: stan-dev/stan#2601.
Here are some of the highlights:

CXX is the only compiler setting used. In develop, both CXX and CC have to be set

Windows: removed the uname: not found message

CXXFLAGS are now broken into smaller components that can be set by the user:

CXXFLAGS_LANG for language-specific flags
CXXFLAGS_WARNINGS for ignoring warnings
CXXFLAGS_BOOST for boost-specific flags
CXXFLAGS_SUNDIALS for sundials-specific flags
CXXFLAGS_EIGEN for eigen-specific flags
CXXFLAGS_GTEST for google-test-specific flags
CXXFLAGS_OS for a catch-all and any os-specific flags.

CPPFLAGS are broken into components (CPPFLAGS are the C preprocessor flags):

CPPFLAGS_BOOST for boost-specific flags
CPPFLAGS_SUNDIALS for sundials-specific flags
CPPFLAGS_EIGEN for eigen-specific flags
CPPFLAGS_GTEST for google-test-specific flags
CPPFLAGS_OPENCL for opencl

breaking apart the flags this way makes it clearer how to extend the flags for MPI and GPU.

each of the flags can be set within make/local and it will take precedence over the default values

the dependency generation now generates with dummy targets for each file. This means more robustness in that -- this fixes problems where a header file is removed from the source tree. This caused a lot of trouble with stability of make.

Intended Effect:
This will get it so the makefiles shouldn't really need updating for a while. It's modular enough for extension with MPI or GPU or other will be simple.
How to Verify:

Run all tests. Everything should build. @bbbales2, I even got it so we can update one of the files in the parser and it'll rebuild the appropriate tests.
Verify that you can build a new Stan executable using these makefiles.

Side Effects:
We no longer use CC. This will have to be updated to CXX.
Documentation:

[ ] After this is working, update the wiki and the manual appropriately.

Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Generable
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Finally, the CmdStan make fixes. This should have dug us out of the technical debt we got into.
@wds15, can you check that the MPI stuff works? (You'll need to check out the Stan and Math branches first. And please make sure it's from a clean build. Also, I couldn't get MPI to work with develop.)
cc: @seantalts @mitzimorris @bob-carpenter

When I switched to clang (CXX=clang in make/local), I got these errors:
In file included from src/cmdstan/stanc.cpp:1: In file included from stan/src/stan/command/stanc_helper.hpp:4: stan/src/stan/version.hpp:4:10: fatal error: 'string' file not found #include <string>
Which were symptomatic of the -stdlib=libc++ flag floating around.
Sean got rid of this flag here: https://github.com/stan-dev/math/pull/919

Can you try with clang++ instead of clang? If that's the same, let me know
what OS and whatever additional flags you needed to make it work. Thanks!
On Wed, Aug 22, 2018 at 4:42 AM Ben Bales<EMAIL_ADDRESS>wrote:

If I used make/bernoulli/bernoulli to build the Bernoulli model, it
appears I can make changes to the underlying math library (I just added
prints to /stan/math/prim/scal/prob/bernoull_lpmf) and the dependencies get
traced all the way back up (cause the prints appear).
However, if I change stan/src/stan/lang/function_signatures.hpp the
rebuild does not happen cleanly. A make clean does not help. The only
output I get is one build like for ast_def.hpp, and then he compiler is
done. The output looks like:
This is really in answer to your question in the stan makefile, but I
figured it goes here since I'm using cmdstan to actually orchestrate things.
~/cmdstan-make$ make examples/bernoulli/bernoulli g++ -std=c++11
-std=c++1y -Wno-sign-compare -pthread -O3 -I src -I stan/src -I
stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I
stan/lib/stan_math/lib/boost_1.66.0 -I
stan/lib/stan_math/lib/sundials_3.1.0/include -DBOOST_RESULT_OF_USE_TR1
-DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS
-DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -c -MT stan/src/stan/lang/ast_def.o
-MT stan/src/stan/lang/ast_def.d -MM -MG -MP -MF
stan/src/stan/lang/ast_def.d stan/src/stan/lang/ast_def.cpp make:
'examples/bernoulli/bernoulli' is up to date.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/cmdstan/pull/645#issuecomment-414958266, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZ_F2rCwYnC3xFDndVNfrw_mtfIjKO5ks5uTRlWgaJpZM4WCyU2
.

Ubuntu 16.04. If I set CXX=clang++ I get infinite build loops that look like:
~/cmdstan-make$ make clean clang++ -std=c++11 -stdlib=libc++ -std=c++1y -Wno-sign-compare      -O3 -I src -I stan/src -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.66.0 -I stan/lib/stan_math/lib/sundials_3.1.0/include    -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION     -c -MT stan/src/stan/model/model_header.hpp.gch -MT stan/src/stan/model/model_header.d -M -MG -MP -MF stan/src/stan/model/model_header.d stan/src/stan/model/model_header.hpp
even if I'm doing something like make clean (as shown)
I can give you an account on the computer I'm using if that'd be easy, but it's just a regular ol' out of date Ubuntu 16.04

+1 everything works out of the box for MPI.
@syclik ... MPI should work on the current develop as well by now; we merged some recent changes.
All I am putting into my make/local is
CXX=mpicxx
STAN_MPI=true

that's it.

Anyone want to review this? It should be merged with Math and Stan's PRs. But it'd be great to get it all in.

I tested the rule to transpile models:
~/github/stan-dev/cmdstan/stan (bugfix/issue-2593-make)> make src/test/test-models/good/break-continue.hpp-test
find: stan: No such file or directory
find: stan: No such file or directory
c++ -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION     -c src/test/test-models/stanc.cpp -o test/test-models/stanc.o
c++ -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION      -c -o test/stan/lang/grammars/program_grammar_inst.o src/stan/lang/grammars/program_grammar_inst.cpp
c++ -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION      -c -o test/stan/lang/grammars/expression_grammar_inst.o src/stan/lang/grammars/expression_grammar_inst.cpp
src/stan/lang/grammars/expression_grammar_inst.cppsrc/test/test-models/stanc.cppsrc/stan/lang/grammars/program_grammar_inst.cpp:::111:::101010:::   fatal error: fatal error: fatal error: 'stan/lang/grammars/program_grammar_def.hpp' file 'stan/lang/grammars/expression_grammar_def.hpp'not 'stan/command/stanc_helper.hpp'file  notfile  foundnot
found
 found
#include <stan/lang/grammars/expression_grammar_def.hpp>#include <stan/lang/grammars/program_grammar_def.hpp>#include <stan/command/stanc_helper.hpp>

         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.
1 error generated.
make: *** [test/stan/lang/grammars/expression_grammar_inst.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [test/stan/lang/grammars/program_grammar_inst.o] Error 1
1 error generated.
make: *** [test/test-models/stanc.o] Error 1

history:
  500  git checkout bugfix/issue-2593-make
  501  make clean-all
  503  ls src/test/test-models/good/b*
  504  make src/test/test-models/good/break-continue.hpp-test

did I miss something, or is this rule not working?

You'll need to update your math submodule manually to the correct branch.
bugfix/issue-954-make
Sorry about that -- I should have left that info on the top-level comment.
I'll update the PR later with that info.
Let me know if you run into any other problems! Or if that doesn't work.
On Fri, Sep 7, 2018 at 3:36 AM Mitzi Morris<EMAIL_ADDRESS>wrote:

I tested the rule to transpile models:
~/github/stan-dev/cmdstan/stan (bugfix/issue-2593-make)> make src/test/test-models/good/break-continue.hpp-test
find: stan: No such file or directory
find: stan: No such file or directory
c++ -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION     -c src/test/test-models/stanc.cpp -o test/test-models/stanc.o
c++ -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION      -c -o test/stan/lang/grammars/program_grammar_inst.o src/stan/lang/grammars/program_grammar_inst.cpp
c++ -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION      -c -o test/stan/lang/grammars/expression_grammar_inst.o src/stan/lang/grammars/expression_grammar_inst.cpp
src/stan/lang/grammars/expression_grammar_inst.cppsrc/test/test-models/stanc.cppsrc/stan/lang/grammars/program_grammar_inst.cpp:::111:::101010:::   fatal error: fatal error: fatal error: 'stan/lang/grammars/program_grammar_def.hpp' file 'stan/lang/grammars/expression_grammar_def.hpp'not 'stan/command/stanc_helper.hpp'file  notfile  foundnot
found
found
#include <stan/lang/grammars/expression_grammar_def.hpp>#include <stan/lang/grammars/program_grammar_def.hpp>#include <stan/command/stanc_helper.hpp>
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.
1 error generated.
make: *** [test/stan/lang/grammars/expression_grammar_inst.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [test/stan/lang/grammars/program_grammar_inst.o] Error 1
1 error generated.
make: *** [test/test-models/stanc.o] Error 1
history:
500  git checkout bugfix/issue-2593-make
501  make clean-all
503  ls src/test/test-models/good/b*
504  make src/test/test-models/good/break-continue.hpp-test
did I miss something, or is this rule not working?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/cmdstan/pull/645#issuecomment-419350933, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZ_F0EkewthF-lsvrYTUjkIai4Nfej9ks5uYiHxgaJpZM4WCyU2
.

Thank you!
On Fri, Sep 7, 2018 at 7:22 AM Mitzi Morris<EMAIL_ADDRESS>wrote:

OK, that worked. will look at both cmdstan and stan makefiles.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/cmdstan/pull/645#issuecomment-419409756, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZ_F3KQrHO3Oi2fvS4IIs0s-C0uTso1ks5uYlbjgaJpZM4WCyU2
.

I'm still getting:
$ touch stan/src/stan/lang/function_signatures.h
$ make -j20 examples/bernoulli/bernoulli
g++ -std=c++1y -pthread -Wno-sign-compare     -O3 -I src -I stan/src -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.66.0 -I stan/lib/stan_math/lib/sundials_3.1.0/include    -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION     -c -MT stan/src/stan/lang/ast_def.o -MT stan/src/stan/lang/ast_def.d -MM -E -MG -MP -MF stan/src/stan/lang/ast_def.d stan/src/stan/lang/ast_def.cpp
make: 'examples/bernoulli/bernoulli' is up to date.

I did a clean clone and updated all the submodules.

I forget how to surefire test this with Stan.
I thought it was working previously, but I'm trying to repeat that now and I get:
~/cmdstan-make2/stan$ make src/test/test-models/good/multiple_funs.hpp
g++ -std=c++1y -pthread -Wno-sign-compare     -O3 -I src -I . -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include -I lib/stan_math/lib/gtest_1.7.0/include -I lib/stan_math/lib/gtest_1.7.0     -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION    -DGTEST_USE_OWN_TR1_TUPLE  -c -MT test/test-models/stanc.o -MT src/test/test-models/stanc.d -MM -MG -MP -MF src/test/test-models/stanc.d src/test/test-models/stanc.cpp
test/test-models/stanc src/test/test-models/good/multiple_funs.stan --o=src/test/test-models/good/multiple_funs.hpp
~/cmdstan-make2/stan$ touch src/stan/lang/function_signatures.h
~/cmdstan-make2/stan$ make src/test/test-models/good/multiple_funs.hpp
make: 'src/test/test-models/good/multiple_funs.hpp' is up to date.

I looked through my bash history and I think that's the thing we were using at Stancon?
I also tried it with:
make src/test/test-models/good/funs1.hpp-test

Which didn't seem to respond to me touching function_signatures.hpp

Thanks for sending that example. I just pushed something because I realized I didn't include the dependencies for the *.hpp-test targets (in Stan).
The Stan repo is working for me. So the question is... what version of g++ are you on and why isn't it doing the right thing. And you're up to date with the branch for sure?
Here's what happens on my machine:
$ make src/test/test-models/good/multiple_funs.hpp-test -j8
clang++ -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare      -O0 -I src -I . -I . -I . -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include -I lib/stan_math/lib/gtest_1.7.0/include -I lib/stan_math/lib/gtest_1.7.0 -I lib/stan_math/lib/gtest_1.7.0/include -I lib/stan_math/lib/gtest_1.7.0 -I lib/stan_math/lib/gtest_1.7.0/include -I lib/stan_math/lib/gtest_1.7.0       -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION    -DGTEST_USE_OWN_TR1_TUPLE -DGTEST_USE_OWN_TR1_TUPLE -DGTEST_USE_OWN_TR1_TUPLE  -c -o test/stan/lang/grammars/term_grammar_inst.o src/stan/lang/grammars/term_grammar_inst.cpp
...
ar: creating archive test/libstanc.a
clang++ -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare      -O0 -I src -I . -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include -I lib/stan_math/lib/gtest_1.7.0/include -I lib/stan_math/lib/gtest_1.7.0     -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION    -DGTEST_USE_OWN_TR1_TUPLE         test/test-models/stanc.o        -Ltest -lstanc -o test/test-models/stanc
test/test-models/stanc src/test/test-models/good/multiple_funs.stan --o=src/test/test-models/good/multiple_funs.hpp
clang++ -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare      -O0 -I src -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include    -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION     -c -O0 -include src/test/test-models/good/multiple_funs.hpp test/dummy.cpp -o /dev/null
$ make src/test/test-models/good/multiple_funs.hpp-test -j8
clang++ -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare      -O0 -I src -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include    -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION     -c -O0 -include src/test/test-models/good/multiple_funs.hpp test/dummy.cpp -o /dev/null
$ touch src/stan/lang/function_signatures.h
$ make src/test/test-models/good/multiple_funs.hpp-test -j8
clang++ -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare      -O3 -I src -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include    -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION     -c -MT test/test-models/stanc -MT test/stan/lang/ast_def.o -MT src/stan/lang/ast_def.d -MM -MG -MP -MF src/stan/lang/ast_def.d src/stan/lang/ast_def.cpp
clang++ -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare      -O0 -I src -I . -I . -I . -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include -I lib/stan_math/lib/gtest_1.7.0/include -I lib/stan_math/lib/gtest_1.7.0 -I lib/stan_math/lib/gtest_1.7.0/include -I lib/stan_math/lib/gtest_1.7.0 -I lib/stan_math/lib/gtest_1.7.0/include -I lib/stan_math/lib/gtest_1.7.0       -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION    -DGTEST_USE_OWN_TR1_TUPLE -DGTEST_USE_OWN_TR1_TUPLE -DGTEST_USE_OWN_TR1_TUPLE  -c -o test/stan/lang/ast_def.o src/stan/lang/ast_def.cpp
ar -rs test/libstanc.a test/stan/lang/grammars/expression_grammar_inst.o test/stan/lang/grammars/program_grammar_inst.o test/stan/lang/grammars/var_decls_grammar_inst.o test/stan/lang/grammars/functions_grammar_inst.o test/stan/lang/grammars/whitespace_grammar_inst.o test/stan/lang/grammars/term_grammar_inst.o test/stan/lang/grammars/statement_2_grammar_inst.o test/stan/lang/grammars/expression07_grammar_inst.o test/stan/lang/grammars/indexes_grammar_inst.o test/stan/lang/grammars/bare_type_grammar_inst.o test/stan/lang/grammars/statement_grammar_inst.o test/stan/lang/grammars/semantic_actions_def.o test/stan/lang/ast_def.o
clang++ -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare      -O0 -I src -I . -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include -I lib/stan_math/lib/gtest_1.7.0/include -I lib/stan_math/lib/gtest_1.7.0     -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION    -DGTEST_USE_OWN_TR1_TUPLE         test/test-models/stanc.o        -Ltest -lstanc -o test/test-models/stanc
test/test-models/stanc src/test/test-models/good/multiple_funs.stan --o=src/test/test-models/good/multiple_funs.hpp
clang++ -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare      -O0 -I src -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include    -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION     -c -O0 -include src/test/test-models/good/multiple_funs.hpp test/dummy.cpp -o /dev/null

I'll make sure it works for CmdStan.

Same behavior.
~/cmdstan-make2/stan$ touch src/stan/lang/function_signatures.h
~/cmdstan-make2/stan$ make src/test/test-models/good/multiple_funs.hpp-test
g++ -std=c++1y -pthread -Wno-sign-compare     -O0 -I src -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include    -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION     -c -o /dev/null -include src/test/test-models/good/multiple_funs.hpp test/test-model-main.cpp

gcc version 5.4.0, last commit:
commit 7b00e8e546dbf31044732a0660782c9e89c0c940
Author: Daniel Lee<EMAIL_ADDRESS>Date:   Fri Sep 7 14:45:06 2018 -0400

    including the dependencies for the Stan model tests: *.hpp-test

Just to make sure, math is at this commit?
commit c3a6a449be94e4430457134cf96b563026b15b4a
Author: Daniel Lee<EMAIL_ADDRESS>Date:   Thu Aug 30 11:16:40 2018 +0300
fixing a problem with an earlier merge

On Fri, Sep 7, 2018 at 3:52 PM Ben Bales<EMAIL_ADDRESS>wrote:

Same behavior.
~/cmdstan-make2/stan$ touch src/stan/lang/function_signatures.h
~/cmdstan-make2/stan$ make src/test/test-models/good/multiple_funs.hpp-test
g++ -std=c++1y -pthread -Wno-sign-compare     -O0 -I src -I lib/stan_math/ -I lib/stan_math/lib/eigen_3.3.3 -I lib/stan_math/lib/boost_1.66.0 -I lib/stan_math/lib/sundials_3.1.0/include    -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION     -c -o /dev/null -include src/test/test-models/good/multiple_funs.hpp test/test-model-main.cpp
gcc version 5.4.0, last commit:
commit 7b00e8e546dbf31044732a0660782c9e89c0c940
Author: Daniel Lee<EMAIL_ADDRESS>Date:   Fri Sep 7 14:45:06 2018 -0400
including the dependencies for the Stan model tests: *.hpp-test

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/cmdstan/pull/645#issuecomment-419548255, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZ_F7lKasc_LS9pCaD6jJyhb5ikhQpjks5uYs57gaJpZM4WCyU2
.

@bbbales2, it should be good now.
Just FYI, the targets have changed a bit. The test is now:
$ touch src/stan/lang/function_signatures.h
$ make test/test-models/good/multiple_funs.hpp-test

Drop the src/. I had to do this to play nicely on both Windows and Mac. I think.

Woo hoo! The tests pass. (Travis CI won't pass until everything is merged, so this is ok.)

It does seem to be behaving now, but I'm not sure it was the clean deps, sigh.

This is working too. Anyone want to take a look?


Damaged routes after loading saved game

Every time after loading a saved game several public transport routes are damaged. This is because extra stops have been inserted at strange places. So far I have been able to repair the route by clearing the additional stops. But this time the additional stop is inaccessible. The attachment contains 2 screenshots and the saved game. The first screenshot shows the broken monorail route (the black one) and the second one shows the absolutely strange place of the additional stop.
By the way: thank you soo much for this incredible work
possible_tmpe_issue.zip

This time it's happen after modifying/building any streets. I've connected a new street to an existing one to form a T-crossing. The existing street will be used by a bus route (not the later damaged one). I saw very shortly the "Broken-Route-Icon" and the orange route was damaged afterwards (far away from the building place). Hopefully, you have enough material to find the possible error.
possible_tmpe_issue_2.zip

I also encountered a similar issue once. As far as I remember I could rule out TMPE as the caus. Do you use the Improved Public Transport 2 mod? It might causing this issue but I am not 100% sure.

Also, please post your issue in the new repository: https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition We moved everything over there.


Windows 10 Requirements for IKEv2

Hello,
Can you please clarify what are the requirements for IKEv2 for Windows 10 1709 and above? The doc stops at 1703. My experience with a Windows 10 1803 machine is that the registry key is not needed for IKEv2 P2S to work. Can you confirm if the registry requirement exists for versions of Windows 10 newer than the ones mentioned on this doc?
Regatding the KB requirement: Is there one for Windows 10 1709+ or does 1709+ support IKEv2 out of the box?
Additionally, it would be fantastic to know why is it that the registry change is required in Windows 10 1607 and 1703. As an admin I don't feel comfortable blindly adding registry keys to a large number of machines without any information about they do. For example, does adding this registry key affect any already-existing VPN connections on the machine?
Thanks,
t

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

ID: a3113b20-0f6c-988e-444b-eff387f3ffef
Version Independent ID: ded2a816-93c7-a4b3-1ec2-c29ce86cd492
Content: About Azure Point-to-Site VPN connections
Content Source: articles/vpn-gateway/point-to-site-about.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

hello @tFable We are investigating this issue now. Thank you for reporting it

@tFable I believe that 1709+ supports IKEv2 out of the box, I am double checking on that now.
The registry key only comes in to play when using IKEv2, so it will only have an effect on existing IKEv2 connections, which none should exist at that time.

@tFable We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Inline HTML templates

Is it possible to create/load

hi isvaljek,
what server side script do you use?
With PHP and TWIG (server side) you can make a  Tag with the inline template!
Example

...........

Example own Jquery
$(document).ready(function () {
var output = twig({ ref: "tweets" }).render({
list: ["a", "b", "c"]
});
});
best regards

Another approach that I often use is to pass a list of templates to a partial like so:
<script type="text/javascript">
    (function () {
        window.addEventListener('DOMContentLoaded', function () {
            {% set compiled_paths = [] %}
            {% for template in templates %}
                {% if template.path not in compiled_paths %}
                    if (Twig.twig({'ref': {{ template.path | json_encode }}}) === null) {
                        Twig.twig({
                            allowInlineIncludes: {{ template.allowInlineIncludes | default(false) | json_encode }},
                            data: {{ source(template.path) | json_encode }},
                            id: {{ template.path | json_encode }}
                        });
                    }
                    {% set compiled_paths = compiled_paths | merge([template.path]) %}
                {% endif %}
            {% endfor %}
        });
    }) ();
</script>

The structure of the context would be like so:
{
    "templates": [
        {
            "path": "path/to/template.html.twig"
        }
    ]
}

Solutions offered, no feedback from reporter.

Thanks for answering guys, I just got reminded about this one. I like the approach, but I have one more hurdle: I'm using an ajaxified site which re-renders everything from the id="wrapper" downwards (on page load). The side effect is that a lot of partial templates load via include xhr functions, so until all partials settle in the browser cache I get a lot of chatter between the browser an the server. I'm not sure if your example allows me to override this behaviour. How to tell the twig's include function to include the preloaded template instead of asking the server?

Hi isvaljek!
The only different between a server side solution and a client side solution, is that you get by the client side solution json responses from the server  (less download time)!
I don't think that there is a setting (in twig), where you can say -> cache first! The only way is do make your own cache functions, with javascript / jquery -> but care of the size!
If you want a offline database on the client side, you need do make a web application with service-worker and a manifest.json -> https://developers.google.com/web/ilt/pwa/
Do you have a link. for the website -> so i can look how many xhr request you make (maybe I can help you better)?
best regards

If anyone else looks for anti-ajax treatment (for loading included twig templates), look here:
https://www.npmjs.com/package/twig-loader


Fix typo

Hi 👋 . This PR intends to fix a typo, though it's a super-minor one..

I have a feeling either nobody is monitoring this repo or nobody cares. I put a PR a month ago for a critical bug that they've ignored, in addition to ignoring the Issue I created.


Often a timeout

Timeout performing EVAL, inst: 5, queue: 1, qu: 0, qs: 1, qc: 0, wr: 0, wq: 0, in: 19, ar: 0, clientName: , serverEndpoint: <IP_ADDRESS>:6379, keyHashSlot: 12452 (Please take a look at this article for some common client-side issues that can cause timeouts: http://stackexchange.github.io/StackExchange.Redis/Timeouts)- at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server) in c:\code\StackExchange.Redis\StackExchange.Redis\StackExchange\Redis\ConnectionMultiplexer.cs:line 2120
at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor`1 processor, ServerEndPoint server) in c:\code\StackExchange.Redis\StackExchange.Redis\StackExchange\Redis\RedisBase.cs:line 81
at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in c:\code\StackExchange.Redis\StackExchange.Redis\StackExchange\Redis\RedisDatabase.cs:line 1052
at Microsoft.Extensions.Caching.Redis.RedisExtensions.HashMemberGet(IDatabase cache, String key, String[] members)
at Microsoft.Extensions.Caching.Redis.RedisCache.GetAndRefresh(String key, Boolean getData)
at Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.GetString(IDistributedCache cache, String key)

Hi @bragma I deal with the same problem, too. Thanks for your answer. But I also use ThreadPool.SetMaxThreads(...) to limit the number of threads. I wonder is there any principle about setting number of MaxThreads and MinThreads ?

Thread pool starvation issues like this are a frequent problem when you use synchronous blocking APIs like GetString. You should use something like GetStringAsync instead to avoid locking up thread-pool threads. .NET has a limited number of thread-pool threads and any time you call one of these synchronous APIs (or call .Wait or .Result on a Task) you are locking-up one of these threads.
You already appear to be in an async method, so you should use the GetStringAsync method instead.
We should provide better documentation or guidance here (via deprecating functions), so I filed https://github.com/aspnet/Extensions/issues/1893 to do that.

@anurse my code is entirely async, I never use blocking version of a method if there is an equivalent async. Still, I have the problem when my azure web app restarts after  a deploy/slot swap. Increasing the thread pool mitigates it.

Sounds like that's likely a different issue then. The original code sample provided did use blocking methods.


Add DPG: Climate Information Platform

Automatic addition of a new digital public good submitted through the online form available at https://digitalpublicgoods.net/submission

Checklist for conducting technical review against DPG Standard:

[x] Clear Ownership
[x] Platform Independence
[x]  Documentation
[x] Mechanism For Extracting Data
[x] Do No Harm By Design
[x] Data Privacy & Security
[x] Adherence to Standards & Best Practices
[ ] Adherence to Privacy and Applicable Laws
[x] Inappropriate & Illegal Content
[x] Protection From Harassment

I have contacted the person who made the submission and will update once they come through.


feat(tags): add tags, which will send certain message for specific tag

As mentioned by Frawg

I think his specific use-case is a bit spammy or even malicious, but giving users the ability to display resources by invoking a command can do.

I think we can make an algorithm, such that if someone uses this rapidly, we can blacklist them for some time. If (s)he does this again, the bot will temporarily ban him from using tags unless some admins unban him (her).

As this is an impractical or time burning task, hereby closing the issue 👀


feat(logger): add option to clear state per invocation

Issue #, if available:
Description of changes:

Checklist

[x] Meet tenets criteria
[x] Update tests
[x] Update docs
[x] PR title follows conventional commit semantics

UX
from aws_lambda_powertools import Logger

logger = Logger(service="payment")

@logger.inject_lambda_context(clear_custom_keys=True)
def handler(event, context):
    if event.get("special_key"):
        # Should only be available in the first request log
        # as the second request doesn't contain `special_key`
        logger.append_keys(debugging_key="value")

    logger.info("Collecting payment")

Breaking change checklist

RFC issue #:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #467 (faec4ce) into develop (675cc24) will decrease coverage by 0.28%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #467      +/-   ##
===========================================
- Coverage    99.90%   99.61%   -0.29%
===========================================
  Files          105      105
  Lines         4202     4210       +8
  Branches       205      206       +1
===========================================
- Hits          4198     4194       -4
- Misses           1        8       +7
- Partials         3        8       +5

Impacted Files
Coverage Δ

aws_lambda_powertools/logging/logger.py
100.00% <100.00%> (ø)

...s/utilities/data_classes/dynamo_db_stream_event.py
100.00% <100.00%> (ø)

aws_lambda_powertools/utilities/parser/types.py
71.42% <0.00%> (-28.58%)
:arrow_down:

...wertools/utilities/idempotency/persistence/base.py
92.99% <0.00%> (-6.37%)
:arrow_down:

...lambda_powertools/utilities/parser/models/apigw.py
97.36% <0.00%> (-0.04%)
:arrow_down:

aws_lambda_powertools/tracing/tracer.py
100.00% <0.00%> (ø)

aws_lambda_powertools/metrics/metrics.py
100.00% <0.00%> (ø)

aws_lambda_powertools/logging/formatter.py
100.00% <0.00%> (ø)

aws_lambda_powertools/utilities/batch/base.py
100.00% <0.00%> (ø)

... and 5 more

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 a65e55c...faec4ce. Read the comment docs.


Add support for HEIGHT_SHARDING to UntilizeWithUnpadding

Currently it only supports BLOCK and WIDTH sharding.

Per @mywoodstock:

we have a workaround (to do sharded_to_interleaved -> interleaved_to_sharded), but we need to avoid it
this came from the need for UNET (@dvartaniansTT ) but it is needed elwhere. Unet model shouldn't be blocked.

Given that there is a workaround, let's make it a p2.

bumping the priority as this is affecting stable diffusion

@mywoodstock , I spoke to @tt-nshanker , and she said this is no longer a blocker. Should I close this issue or did I misunderstand.

@mywoodstock , I spoke to @tt-nshanker , and she said this is no longer a blocker. Should I close this issue or did I misunderstand.

@tarafdarTT Its no longer a blocker for UNET. But we still need the feature

oh okay is it still blocking SD? (asking if I should leave it as P1 or downgrade to P2)

oh okay is it still blocking SD? (asking if I should leave it as P1 or downgrade to P2)

you can downgrade :)

love seeing the collaboration between developers on adjusting the right priority!

@tarafdarTT I ended up updating the op to support HEIGHT_SHARDING. It was partially supported, so did not had to make any major changes. This is part of this PR: https://github.com/tenstorrent-metal/tt-metal/pull/5632


I cannot chat ưith·

I have not received any response for my request, please help

Hey @alice210897 are you using the cloud application or the OSS one ?
if you are using the OSS can u share the llm-server logs from docker.

I use the cloud and I still cannot chat with My First Copilot anymore. I used to chat with it in a few days ago

I also did change from Chrome to Internet explore, firefox but I still cannot chat with it, please help

Hey @alice210897 ,
Feel free to setup a  calendar invite, i can look into it
<EMAIL_ADDRESS>


Improve XDS error diagnostics

Based on user feedback.
Before/after
dns outage
2024-07-29T17:10:59.111431Z     warn    xds::client:xds{id=14}  XDS client connection error: gRPC connection error:status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Temporary failure in name resolution, retrying in 15s
2024-07-29T17:22:14.958433Z     warn    xds::client:xds{id=3}   XDS client connection error: gRPC connection error connecting to https://istiod.istio-system.svc:15012: status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Temporary failure in name resolution (hint: is the DNS server reachable?), retrying in 80ms

wrong dns name
2024-07-29T17:22:47.910253Z     warn    xds::client:xds{id=10}  XDS client connection error: gRPC connection error:status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Name or service not known, retrying in 10.24s
2024-07-29T17:22:47.910253Z     warn    xds::client:xds{id=10}  XDS client connection error: gRPC connection error connecting to https://istiodx.istio-system.svc:15012: status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Name or service not known, retrying in 10.24s

Bad auth (ztunnel)
2024-07-29T17:25:29.137815Z     warn    xds::client:xds{id=11}  XDS client connection error: gRPC connection error connecting to https://istiod.istio-system.svc:15012: status: Unauthenticated, message: "authentication failure", retrying in 15s
2024-07-29T17:35:00.273104Z     warn    xds::client:xds{id=9}   XDS client connection error: gRPC connection error connecting to https://istiod.istio-system.svc:15012: status: Unauthenticated, message: "authentication failure" (hint: check the control plane logs for more information), retrying in 5.12s

In response to a cherrypick label: new pull request created: #1240


Move FAQ from Toolkit

This PR re-organizes and replaces the Toolkit FAQ to be part of the top level docs.
Rendered: https://openff-docs--63.org.readthedocs.build/en/63/faq.html
Todo:

[x] Add corrections from openforcefield/openff-toolkit#1848
[x] Add section about warnings re: openforcefield/openff-toolkit#1932

@j-wags I've made some edits to what Matt brought up in openforcefield/openff-toolkit#1848, so I'm going to leave this unmerged for tonight in case he has corrections - I should be able to merge it in my AM before your talk.
@mattwthompson - sorry for dropping off the face of the planet and then asking for a quick response :/ I'm happy to merge this as is and you can get around to checking it at your leisure - I'm confident its correct, just not sure it addresses exactly the points you wanted to address.

Do we have a way to remove parameters from a force field? We've got del in the FAQ:
del force_field['Constraints']["[#1:1]-[*:2]"]

But it doesn't work. Does anyone know if this is a change or did this just never work?

I can get below to work with some effort, which I can't say would make me super happy as a user:
In [13]: sage = ForceField("openff-2.0.0.offxml")

In [14]: sage['Constraints']["[#1:1]-[*:2]"]
Out[14]: <ConstraintType with smirks: [#1:1]-[*:2]  id: c1  >

In [15]: sage["Constraints"].parameters.index(sage['Constraints']["[#1:1]-[*:2]"])
Out[15]: 0  # not relevant, just checking

In [16]: del sage['Constraints'].parameters["[#1:1]-[*:2]"]

In [17]: sage['Constraints']["[#1:1]-[*:2]"]
---------------------------------------------------------------------------
ParameterLookupError                      Traceback (most recent call last)
Cell In[17], line 1
----> 1 sage['Constraints']["[#1:1]-[*:2]"]

File ~/micromamba/envs/evaluator-test-env/lib/python3.11/site-packages/openff/toolkit/typing/engines/smirnoff/parameters.py:2439, in ParameterHandler.__getitem__(self, val)
   2434 def __getitem__(self, val):
   2435     """
   2436     Syntax sugar for looking up a ParameterType in a ParameterHandler
   2437     based on its SMIRKS.
   2438     """
-> 2439     return self.parameters[val]

File ~/micromamba/envs/evaluator-test-env/lib/python3.11/site-packages/openff/toolkit/typing/engines/smirnoff/parameters.py:1574, in ParameterList.__getitem__(self, item)
   1572     indexable_item: Union[int, slice] = item  # type: ignore[assignment]
   1573 elif isinstance(item, str):
-> 1574     indexable_item = self.index(item)
   1575 elif isinstance(item, ParameterType) or issubclass(type(item), ParameterType):
   1576     raise ParameterLookupError("Lookup by instance is not supported")

File ~/micromamba/envs/evaluator-test-env/lib/python3.11/site-packages/openff/toolkit/typing/engines/smirnoff/parameters.py:1529, in ParameterList.index(self, item, start, stop)
   1527     if parameter.smirks == item:
   1528         return self.index(parameter)
-> 1529 raise ParameterLookupError(f"SMIRKS {item} not found in ParameterList")

ParameterLookupError: SMIRKS [#1:1]-[*:2] not found in ParameterList

I think https://github.com/openforcefield/openff-toolkit/issues/1680 is related if we want to directly add this functionality to pass through ParameterHandlers - notably class ParameterList(list):, but other handy features allow users to bypass explicitly calling out .parameters


NCDA - Aggregated Scorecard: generate data for ANC+Newborn

To support presentation of:

Individual NCDA issue: #517

Agregated NCDA logic to implement:
For each child that resides at village:

Record birth date
Load all questioneers
If no questioneers, regular checkups and iron are Unknown.
If any of questioneers give positive answer for regular checkups , set to Yes, otherwise No.
If any of questioneers give positive answer for iron , set to Yes, otherwise No.

Replaced by #714. Closing.


mobile sharing: Make emoji.js a shared ES6 module.

As mentioned on chat, there is one commit here that will drop out if we merge the lodash stuff from @andersk first, but I don't think we need to block on it, as the interim code is just copy/pasting essentially one line of code from util.js.

Ready for review again.  It would be nice to get the first 6 or 7 commits merged, which seem like clear improvements.  It will be pretty obvious when you get into the more tricky part of the PR.

I merged all the but last commit; I'm not sure the test change in the last commit is correct (Shouldn't we be using override or something for that mock?  I'm not sure whether we'll contaminate other tests with the mock...)

pushed back with code to reset it...you can't use override on emoji any more, because override only works with the global namespace :)

Feel free to merge once CI passes.
@gnprice FYI -- this simplifies the interface for both typeahead and markdown sharing by making the emoji module part of the shared library.  (One passes in realm_emoji data to manage it).  Might require some more refactoring to be fully suitable for mobile use given the different state management structure.


Design for Language Selector v2

see #235
the new component will have 3 text fields: language, dialect, and nation/region/geo.

the language selector has changed. I just updated the link in the description to the new ticket.

we are going to use IETF tags instead of the old system.


Sometimes the number of spectra doesn't match the expected number in cluster_cr_conv - seems random?

Really strange behaviour, don't know why it happens because the spectra are definitely there and loaded?

Seemed to happen after I generated new specs, but not when I restarted and loaded in the existing files


#772 Index with Expression Should Match DDL

See #772
I wasn't able to universally match DDL from the database with DDL generated by code, but I was able to change the Match method on IndexDefinition to return a positive match if the Expression property is added in such a way as to minimize/eliminate reformatting by Postgres. This PR handles my use case, and I believe others, as long as Expression values are set appropriately.
I also corrected the error message in the testing ConnectionSource, since the environment variable in the exception message and the actual environment variable were different.

Resubmitted as #774 as a patch to 1.5


Inventory Screen Position

Hey there,
Just a minor issue with the position of windows when NEI is active but hidden:

Normally, without NEI, the effect bars are positioned to the left of the main window without moving the main window. It seems as though the window is being centered on the width of the window plus the bars.

Is this intended?
If so, is there a way I can test if NEI is hidden from view?

Thanks

Okay, my bad. Looks like this issue is recreate-able without NEI - from the Galacticraft github issue I was under the impression it was only with NEI installed.


Can IndexSearcher enable search concurrency by default? [LUCENE-10487]

IndexSearcher has the ability to search an index using multiple threads, but this behavior is an opt-in. Could we enable it by default so that:
 - Users experience better latency out-of-the-box.
 - Lucene performs better in comparative benchmarks against other engines that leverage multiple threads by default.
Note that this isn't totally straightforward to implement, as we'd need to share the threadpool across all index searchers and think of when to shut down this threadpool?

Migrated from LUCENE-10487 by Adrien Grand (@jpountz)

Optimistically adding this issue to the 10.0 milestone.

This should probably be taken into consideration again. With #13472, we can now use the same executor provided to the IndexSearcher constructor, to call IndexSearcher#search. That simplifies the requirements for concurrent searches quite a bit, in that you no longer as a user need to think about sizing and providing a separate workers thread pool. Can we leverage that to enable concurrency by default?


Solidcloudio terraform 0.13.0 / Azure RM 2.23.0 upgrade

Description
Upgraded the dependencies Terraform and Azure RM to their latest versions.
Motivation and Context
Keep things up to date.  I was able to deploy this infrastructure with Terraform 0.13.0 after these changes.
Changes are specific to Azure and only updated the Azure Two Tier sample.
How Has This Been Tested?
I created the infrastructure in my Azure account.
Screenshots (if appropriate)

Types of changes

Upgrade.
Terraform v0.13 introduces a new hierarchical namespace for providers that allows specifying both HashiCorp-maintained and community-maintained providers as dependencies of a module, with community providers distributed from other namespaces on Terraform Registry from a third-party provider registry.
In order to establish the hierarchical namespace, Terraform now requires explicit source information for any providers that are not HashiCorp-maintained, using a new syntax in the required_providers nested block inside the terraform configuration block:
https://www.terraform.io/upgrade-guides/0-13.html

Interpolation-only expressions are deprecated: an expression like "${foo}" should be rewritten as just foo.

Added Provider configuration block. - See upgrade guide above.

Azure RM 2.24.0
See Azure Provider change log: https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/CHANGELOG.md

Changes Azure storage parameters for updated provider.
Azure subnets now require a list of address_prefixes.
Added Subnet and NSG association objects.

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes if appropriate.
[ x ] All new and existing tests passed.

Not in this context...   What can be done about these Prisma Cloud errors ?

Question on this..  Is there some documentation or diagram outlining the routing / infrastructure for this sample ?
Curious to see the architecture at a higher level

I found the docs and video here https://github.com/PaloAltoNetworks/azure/tree/master/two-tier-sample

https://www.youtube.com/watch?v=vpC62NRpWSM


Ollie: Watch downloadapk.fun

Ollie requests the watch of the watch_keyword downloadapk\.fun. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

downloadapk\.fun has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


Update Makefile, add groupimports to .PHONY

What problem does this PR solve?
What is changed and how does it work?
Check List
Tests
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?:

NONE

/merge

Codecov Report

Merging #343 into master will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #343      +/-   ##
==========================================
+ Coverage   58.98%   59.05%   +0.06%
==========================================
  Files          55       55
  Lines        3165     3165
==========================================
+ Hits         1867     1869       +2
+ Misses       1153     1152       -1
+ Partials      145      144       -1

Impacted Files
Coverage Δ

pkg/utils/selector.go
52.47% <0.00%> (+0.82%)
:arrow_up:

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 5f4bbca...9c0d9b9. Read the comment docs.


feat: add ignoredHostnames allow exlude all sub-domains to a root domain

Currently, ignoredHostnames option not allow exlude a root domain.
Example:
domain: admin.benevolt.dev
ignoredHostnames: ['benevolt.dev']

Hey,
Could you give more informations about your use case because I'm not sure to understand why you would need to ignore every sub domain? Why not just adding admin.benevolt.dev to the array?

I have more than 30 subdomains on my staging app with benevolt.dev and the list of these subdomains is managed in the database.
In addition, many use proxies locally with subdomains of .localhost or .test, this addition allows automatic ignoring.

@Barbapapazes ;-)

@Barbapapazes ;-)

Hey @maximepvrt! Sorry for the late response, I'm on it. Expect something in less than an hour.

Hey,
I've refactor in order to avoid breaking change.
You can use the new option ignoreSubDomains.


Fix enclosingClass from returning refinement classes

Looking at how i20952 is compiled, the call
ctx.owner.enclosingClass.derivesFrom(sym.owner)

in SuperAccessors (that I moved to ProtectedAccessors) accidentally
fails, because the refinement class returned as the enclosing class of
val prog doesn't derive from SuperClass.  But if the enclosing class
of prog returned is trait Child then no super accessor call is
necessary.
Fixes #20952

Needs a rebase.


Automated Package Upgrade

:tada: This PR is included in version 25.3.139 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


TypeScript template should generate resolvers for directives, unions and interfaces

The only reason I have a custom template is because I want to ensure type safety for these resolvers. If it could be included in the TS template, I could remove a lot of code and scripts in my codebase!
Here's how I generate these resolver types currently:

/**
 * A union resolver tells GraphQL which one of the types of this union you are returning.
 *
 * > When you have a field in your schema that returns a union or interface type,
 * > you will need to specify an extra `__resolveType` field in your resolver map, which tells
 * > the GraphQL executor which type the result is, out of the available options.
 * @see https://www.apollographql.com/docs/graphql-tools/resolvers.html#Unions-and-interfaces
 */
type UnionOrInterfaceResolver<UnionOrInterface, PossibleTypeName, Context> = (
  object: UnionOrInterface,
  context: Context,
  info: GraphQLResolveInfo,
) => PossibleTypeName;

type BuiltInDirectives = 'pick' | 'include' | 'deprecated';

type CustomDirectiveMap = {
  [DirectiveName in Exclude<
    keyof DirectiveMap,
    BuiltInDirectives
  >]: DirectiveMap[DirectiveName]
};

export type DirectiveResolverMap = {
  [DirectiveName in keyof CustomDirectiveMap]: DirectiveResolver<
    DirectiveMap[DirectiveName]['args'],
    SchemaContext
  >
};

export type UnionResolverMap = {
  [UnionName in keyof UnionMap]: {
    __resolveType: UnionOrInterfaceResolver<
      UnionMap[UnionName]['unionType'],
      UnionMap[UnionName]['possibleTypeNames'],
      SchemaContext
    >;
  }
};

export type InterfaceResolverMap = {
  [InterfaceName in keyof InterfaceMap]: {
    __resolveType: UnionOrInterfaceResolver<
      InterfaceMap[InterfaceName]['interfaceType'],
      InterfaceMap[InterfaceName]['implementorTypeNames'],
      SchemaContext
    >;
  }
};

// region Directives

export type DirectiveMap = {
  {{#each definedDirectives}}
  /** {{ description }} */
  {{ name }}: {
    args: {{# if hasArguments }}{{ toPascalCase name }}{{ toPascalCase ../name }}Args{{else}}{ }{{/if}};
  }
  {{/each}}
};

export type UnionMap = {
  {{#each unions}}
  {{ name }}: {
    unionType: {{name}};
    possibleTypeNames: {{#each possibleTypes}}'{{this}}'{{#unless @last}} | {{/unless}}{{/each}};
  }
  {{/each}}
}

export type InterfaceMap = {
  {{#each interfaces}}
  {{ name }}: {
    interfaceType: {{name}};
    implementorTypeNames: {{#if hasImplementingTypes}}{{#each implementingTypes}}'{{this}}'{{#unless @last}} | {{/unless}}{{/each}}{{else}}never{{/if}};
  }
  {{/each}}
}

{{#each definedDirectives}}
    {{#if hasArguments }}
export interface {{ toPascalCase name }}Args {
{{#each arguments}}

  /** {{ description }} */
  {{ name }}{{#unless isRequired}}?{{/unless}}: {{ toPrimitive type }}{{#if isArray}}[]{{/if}}{{#unless isRequired}} | null{{/unless}};
{{/each}}
}
    {{/if}}
{{/each}}

// endregion Directives

Sounds good. @kamilkisiela what do you think?
@forabi do you want to create a PR for it?

@forabi implemented in: https://github.com/dotansimha/graphql-code-generator/pull/910

Fixed in 0.14.2 🎉


Add cookie to set default timeout

l('service:cookies').set('timeout','60000') in console (or some other number, in milliseconds)


Misc. pom updates

Bump to latest parent pom version
Rename root artifact to terracotta-core-root
Update scm info

test this please

Tested this locally and the build succeeded so I will merge.


refactor: pass reference to Result class instead of query text

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4549acb) 87.20% compared to head (1cecad1) 87.38%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #397      +/-   ##
==========================================
+ Coverage   87.20%   87.38%   +0.17%
==========================================
  Files          19       19
  Lines        1071     1070       -1
==========================================
+ Hits          934      935       +1
+ Misses        137      135       -2

Files
Coverage Δ

seagoat/result.py
98.30% <100.00%> (-0.02%)
:arrow_down:

... and 2 files with indirect coverage changes

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


Enabled fallback to cunn

In the case that fbcunn is not installed, this code should still be able to run with only swapping out LookupTableGPU to LookupTable.

I was about to do this. You need one more mod as well, if fbcunn and compute capability 3.0 or less then still fallback to cunn. You can get compute capability from cutorch.getDeviceProperties I think

Please see #4


Issue about the source code of the paper

Very good work, I hope to learn from and cite your work, so if you can provide the source code, thank you! ❤

I'm also waiting for the release of source code :)

+1

+2

+3

+4

+5

+6

+7

+8

+9


fix of escaping reserved words and keywords in ts2fable

Ups, I missed that. I'm always expecting the compiler to fix these mistakes for me, as with F# 😅 Thanks!


Narrow Message Types being passed into SubmitCallback or GetCallback

closes #151
also removes GetOfferingFilter re: https://github.com/TBD54566975/tbdex/pull/302

Codecov Report

Merging #218 (73bae28) into main (bd505a5) will decrease coverage by 3.42%.
The diff coverage is 33.80%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #218      +/-   ##
==========================================
- Coverage   79.39%   75.97%   -3.42%
==========================================
  Files          35       35
  Lines         820      849      +29
  Branches       75       75
==========================================
- Hits          651      645       -6
- Misses        133      168      +35
  Partials       36       36

Components
Coverage Δ

protocol
88.01% <ø> (ø)

httpclient
80.82% <ø> (ø)

@kirahsapong thanks for the reminder! i've gone ahead and written most tests to ensure callbacks are being invoked etc. there were a couple i could not get to work, and i've outlined that work in https://github.com/TBD54566975/tbdex-kt/issues/223 no changes to existing tests were needed.

also changes ExchangeApi.getExchange() (singular) to pass in requesterDid

cc @chris-tbd - ExchangesApi.getExchanges() (plural) had required one to pass in requesterDid. in this PR, we are now also requiring requesterDid to be passed in the call to get a single exchange.


HW: Pre-class questions for 9-8-15

The first set of questions I had uploaded were from 8-27-15. The second set was from 8-25-15. Sorry for any confusion.

My first attempt at pre-class questions for 9-1-15. I am still having some issues with the make command in Cygwin for questions #5.

I attempted questions 5 and 6 now. For question 7, I ran into problems with reading the "centroid" output file from the cluster experiment.

Fixed issues with question 7.

Finished 09/08 pre-class questions.

Started class questions for 9/10. Still fixing a git push issue with the last three questions for 9/8.

I started the pre-class questions for 9/24 last night, but my git push command from my home laptop wasn't successful. I will finish the questions and push when I get home this afternoon.


WebSockets timing out

Currently the websocket implementation will timeout after 30 seconds because of the max connection time of undertow. We need to find a way to disable the max connection for websocket connections.

@JanHolger Should we move this issue to https://github.com/JavaWebStack/http-router-undertow ?


Symlink script uses relative paths

The script should (if possible) be able to be executed from anywhere. Currently, stow only works if the script is executed from within the scripts directory itself.

Script has been updated and now uses $HOME references.


chore: upgrade tanstack version to 5

Hi @Gabswim, thanks for your contribution.
A few things:

We cannot simply bump the react query version because a lot of people still are on v4, and with the breaking changes that V5 brings, it will take some time for folks, especially in a big codebase, to migrate over. So we should accept both versions.
Could you explain your changes in the prepare script?

Upgrade to tanstack v5 will come in a major version currently in the works


sudo systemctl start linux-enable-ir-emitter   failed

sudo systemctl start linux-enable-ir-emitter   failed.
journalctl -xeu linux-enable-ir-emitter.service      :
月 18 09:33:11 lyfProPc linux-enable-ir-emitter[15308]: CRITICAL: No driver for  has been configured.
2月 18 09:33:11 lyfProPc systemd[1]: linux-enable-ir-emitter.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit linux-enable-ir-emitter.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.

This is because no driver has been configured yet, see your second issue #166


Fix(eos_cli_config_gen): sflow destination ip order

Issue Summary
I am really not sure what sort of sort EOS uses to sort the sflow destinations, but it does not match eos_cli_config_gen
Which component(s) of AVD impacted
eos_cli_config_gen
How do you run AVD ?
Ansible CLI (with virtual-env or native python)
Steps to reproduce
sflow:
    destinations:
        <IP_ADDRESS>: {}
        <IP_ADDRESS>: {}
        <IP_ADDRESS>: {}
        <IP_ADDRESS>: {}
    run: true
    source_interface: Loopback0

Expected Output:
!
sflow destination <IP_ADDRESS>
sflow destination <IP_ADDRESS>
sflow destination <IP_ADDRESS>
sflow destination <IP_ADDRESS>
sflow source-interface Loopback0
sflow run
!

Actual Output:
!
sflow destination <IP_ADDRESS>
sflow destination <IP_ADDRESS>
sflow destination <IP_ADDRESS>
sflow destination <IP_ADDRESS>
sflow source-interface Loopback0
sflow run
!

Relevant log output
No response
Contributing Guide

[X] I agree to follow this project's Code of Conduct

I am not really sure how EOS sorts this output, maybe someone from Arista can advise.

Hey Ryan,
Latest EOS release trains use the sorted() function for sorting the sflow destination. In some EOS releases you might see random order in the CLI that's due to an issue which has been fixed.
#show version | inc Software
Software image version: <IP_ADDRESS>F

switch(config)#sflow destination <IP_ADDRESS>
switchconfig)#sflow destination <IP_ADDRESS>
switch(config)#sflow destination <IP_ADDRESS>
switch(config)#sflow destination <IP_ADDRESS>

#show running-config section sflow
sflow destination <IP_ADDRESS>
sflow destination <IP_ADDRESS>
sflow destination <IP_ADDRESS>
sflow destination <IP_ADDRESS>


Remove config check over supervisor

Breaking Change:
Remove the config check over the supervisor. Since we backport the config output checking from the supervisor, we don't need that solution anymore. That makes the restart on ARM device much faster.

Will it fix home-assistant/hassio#920

There is no breaking change


Add a static method to check the validity of given key

Codecov Report

Merging #1 (b318181) into main (23a30d9) will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##                main        #1   +/-   ##
===========================================
  Coverage     100.00%   100.00%
- Complexity        12        14    +2
===========================================
  Files              3         3
  Lines             19        25    +6
===========================================
+ Hits              19        25    +6

Flag
Coverage Δ

unittests
100.00% <100.00%> (ø)

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

Impacted Files
Coverage Δ

...va/net/moznion/wireguard/keytool/WireGuardKey.java
100.00% <100.00%> (ø)

...t/moznion/wireguard/keytool/X25519KeyStrategy.java
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Namespace offloading results in liqo-controller-manager pod error: invalid memory address or nil pointer dereference

What happened: Testing cluster peering and namespace/pod offloading. Namespace offloading results in below liqo-controller-manager pod error:
I0904 16:15:12.246218       1 namespaceoffloading_controller.go:96] NamespaceOffloading "adm2/offloading" status correctly updated
I0904 16:15:12.246253       1 controller.go:114] "Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference" controller="namespaceoffloading" controllerGroup="offloading.liqo.io" controllerKind="NamespaceOffloading" NamespaceOffloading="adm2/offloading" namespace="adm2" name="offloading" reconcileID="1276e086-6b1c-4df6-93a1-524933ad0de5"
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x108 pc=0x19a5e42]
goroutine 558 [running]:
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1()
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.1/pkg/internal/controller/controller.go:115 +0x1e5
Environment: Developemnt

Liqo version: 0.9.3
Kubernetes version (use kubectl version): v1.23.3
Cloud provider or hardware configuration: PKS/TKGI
Network plugin and version:
Install tools:
Others:

Additional logs and comment: In the logs, old foreign cluster names and tenant namespaces are getting printed.
E0904 16:25:28.300569       1 controller.go:324] "Reconciler error" err="namespaces "liqo-tenant-adm1-npp1-6eb08f" not found" controller="resourceoffer" controllerGroup="sharing.liqo.io" controllerKind="ResourceOffer" ResourceOffer="liqo-tenant-adm1-npp1-6eb08f/adm1-npp1" namespace="liqo-tenant-adm1-npp1-6eb08f" name="adm1-npp1" reconcileID="b9180d88-279b-4136-a0e4-4d5f969a6299"
I0904 16:25:28.303742       1 deletion-routine.go:60] Deletion routine started for virtual node liqo-adm1-npp1
E0904 16:25:28.311935       1 deletion-routine.go:105] error removing finalizer: namespaces "liqo-tenant-throbbing-darkness-ec30d7" not found
E0904 16:25:28.325475       1 resourceoffer_controller.go:110] namespaces "liqo-tenant-adm1-npp1-6eb08f" not found
E0904 16:25:28.325527       1 controller.go:324] "Reconciler error" err="namespaces "liqo-tenant-adm1-npp1-6eb08f" not found" controller="resourceoffer" controllerGroup="sharing.liqo.io" controllerKind="ResourceOffer" ResourceOffer="liqo-tenant-adm1-npp1-6eb08f/adm1-npp1" namespace="liqo-tenant-adm1-npp1-6eb08f" name="adm1-npp1" reconcileID="dd3d8afe-eac2-4324-b1d6-2cd40c29cc6c"
I0904 16:25:28.349832       1 controller.go:219] "Starting workers" controller="shadowpod" controllerGroup="virtualkubelet.liqo.io" controllerKind="ShadowPod" worker count=10
I0904 16:25:28.349886       1 controller.go:219] "Starting workers" controller="namespacemap" controllerGroup="virtualkubelet.liqo.io" controllerKind="NamespaceMap" worker count=1
I0904 16:25:28.349936       1 controller.go:219] "Starting workers" controller="namespaceoffloading" controllerGroup="offloading.liqo.io" controllerKind="NamespaceOffloading" worker count=1
I0904 16:25:28.350865       1 controller.go:219] "Starting workers" controller="shadowendpointslice" controllerGroup="virtualkubelet.liqo.io" controllerKind="ShadowEndpointSlice" worker count=10
I0904 16:25:28.352241       1 deletion-routine.go:60] Deletion routine started for virtual node liqo-adm1-npp1
E0904 16:25:28.357533       1 deletion-routine.go:105] error removing finalizer: namespaces "liqo-tenant-throbbing-darkness-ec30d7" not found
I0904 16:25:28.358565       1 namespaceoffloading_controller.go:96] NamespaceOffloading "adm2/offloading" status correctly updated
I0904 16:25:28.358645       1 controller.go:114] "Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference" controller="namespaceoffloading" controllerGroup="offloading.liqo.io" controllerKind="NamespaceOffloading" NamespaceOffloading="adm2/offloading" namespace="adm2" name="offloading" reconcileID="98c8602a-1a05-464f-9d78-8faa428781e5"
panic: runtime error: invalid memory address or nil pointer dereference [recovered]

Hi @sumitAtDigital  thanks for your issue. I've just tried your configuration (k8s version + liqo version) on KinD and it works.
Can you provide information about how to replicate the problem? For example the list of commands and other details.
Unfortunately, I don't have experience with PKS/TKGI and at the moment we don't have an infrastructure which supports it. @aleoli do you have any experience?

Hi @cheina97, Thanks for the reply. This was working till 0.8.3 version.
Cluster inbound Peering is working fine with v0.9.3. I deleted the previous foreign clusters peered earlier, to test the updated liqo version and changed the cluster name in the values file to make it short.
**Commands: **

liqoctl offload namespace adm2 --namespace-mapping-strategy EnforceSameName --pod-offloading-strategy LocalAndRemote

_liqoctl offload namespace adm2 --namespace-mapping-strategy EnforceSameName --pod-offloading-strategy LocalAndRemote --selector "kubernetes.io/hostname=liqo-adm1-npp1"
Same results: Pods are offloaded but, Liqo controller pod is throwing error.

But, whenever, I unoffload the namespace, controller pod comes back to normal with below logs:
E0904 17:33:30.021742       1 deletion-routine.go:105] error removing finalizer: namespaces "liqo-tenant-throbbing-darkness-ec30d7" not found
I0904 17:33:30.035973       1 deletion-routine.go:60] Deletion routine started for virtual node liqo-adm1-npp1
E0904 17:33:30.042652       1 deletion-routine.go:105] error removing finalizer: namespaces "liqo-tenant-throbbing-darkness-ec30d7" not found
I0904 17:33:32.582737       1 deletion-routine.go:60] Deletion routine started for virtual node liqo-adm1-npp1
E0904 17:33:32.590952       1 deletion-routine.go:105] error removing finalizer: namespaces "liqo-tenant-throbbing-darkness-ec30d7" not found

In addition to that, we are getting below warning intermittently, and in this case pods are not offloaded to the required cluster:
> liqoctl offload namespace adm2 --namespace-mapping-strategy EnforceSameName --pod-offloading-strategy LocalAndRemote_
INFO  Offloading of namespace "adm2" correctly enabled
WARN  Offloading completed, but no cluster was selected
_> liqoctl offload namespace adm2 --namespace-mapping-strategy EnforceSameName --pod-offloading-strategy LocalAndRemote --selector "kubernetes.io/hostname=<host_name>"
INFO  Offloading of namespace "adm2" correctly enabled
WARN  Offloading completed, but no cluster was selected

ref:#1977

Hi, @sumitAtDigital still cannot find a way to replicate your problem. We linked a PR, but we don't think it resolves your issue.
Have you experienced these errors with other cloud providers or platforms (e.g. KinD)?

HI @cheina97, Thanks for performing tests. Let me try to elaborate further.
Below are some observations:

Tested with --bidirectional peering with cluster1<-->cluster2 .
cluster1-->cluster2 namespace offload working as required. while cluster2-->cluster1 is throwing runtime error in the controller pod, as soon as we run the namespace offload command.

Only after adding tolerations manually to deployments, I can offload the pods from cluster2-->cluster1. But still liqo controller pod is restarting again with error.
spec:
tolerations:
- key: virtual-node.liqo.io/not-allowed
operator: Equal
value: "true"
effect: NoExecute

I still believe there is some issue in the controller code. As, only 1 foreign cluster is available, why code is searching for old/deleted Foreign clusters.
> kubectl get foreigncluster
NAME        TYPE     OUTGOING PEERING   INCOMING PEERING   NETWORKING    AUTHENTICATION   AGE
adm1-npp1   InBand   Established        Established        Established   Established      42h

Please check once, where these conditions written in the golang code, which is throwing runtime error.
W0906 08:54:18.253257       1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID f4cb997d-0bfc-4c0a-a8c2-dbb7b4c40cdf" not found
W0906 08:54:18.253365       1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID 20b965f1-9a3e-4483-984e-83c1624bfc44" not found
W0906 08:54:18.253406       1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID 8e604d94-81c0-4a46-8800-86eff01ac149" not found
W0906 08:54:18.253444       1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID 24daa06b-48c2-4ade-b54e-d51ef8f9e570" not found
I0906 08:54:18.253478       1 cache.go:86] Cache initialization completed. Found 5 peered clusters
I0906 08:54:18.262198       1 namespaceoffloading_controller.go:96] NamespaceOffloading "adm2/offloading" status correctly updated
I0906 08:54:18.262223       1 controller.go:114] "Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference" controller="namespaceoffloading" controllerGroup="offloading.liqo.io" controllerKind="NamespaceOffloading" NamespaceOffloading="adm2/offloading" namespace="adm2" name="offloading" reconcileID="c73479f5-5e71-4ba1-9018-6a77c9da3384"
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x108 pc=0x19a5e42]
goroutine 538 [running]:
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1()
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.1/pkg/internal/controller/controller.go:115 +0x1e5

May I request you to please revisit: _https://github.com/liqotech/liqo/blob/master/pkg/liqo-controller-manager/namespaceoffloading-controller/namespaceoffloading_controller.go_ Line 114 and few others where the runtime error is thrown, if strategy is not matching or not available.

@cheina97 : It would be great, if you please share more info on the liqo controller errors/logs, as why those specific lies of codes throwing runtime errors and why it is searching for already deleted foreign clusters, while only one existing in reality.

HI @cheina97, Thanks for performing tests. Let me try to elaborate further.
Below are some observations:

Tested with --bidirectional peering with cluster1<-->cluster2 .
cluster1-->cluster2 namespace offload working as required. while cluster2-->cluster1 is throwing runtime error in the controller pod, as soon as we run the namespace offload command.
Only after adding tolerations manually to deployments, I can offload the pods from cluster2-->cluster1. But still liqo controller pod is restarting again with error.
_spec:
tolerations:

key: virtual-node.liqo.io/not-allowed
operator: Equal
value: "true"
effect: NoExecute_

I still believe there is some issue in the controller code. As, only 1 foreign cluster is available, why code is searching for old/deleted Foreign clusters.
> kubectl get foreigncluster
NAME        TYPE     OUTGOING PEERING   INCOMING PEERING   NETWORKING    AUTHENTICATION   AGE
adm1-npp1   InBand   Established        Established        Established   Established      42h

Please check once, where these conditions written in the golang code, which is throwing runtime error.
W0906 08:54:18.253257 1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID f4cb997d-0bfc-4c0a-a8c2-dbb7b4c40cdf" not found W0906 08:54:18.253365 1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID 20b965f1-9a3e-4483-984e-83c1624bfc44" not found W0906 08:54:18.253406 1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID 8e604d94-81c0-4a46-8800-86eff01ac149" not found W0906 08:54:18.253444 1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID 24daa06b-48c2-4ade-b54e-d51ef8f9e570" not found I0906 08:54:18.253478 1 cache.go:86] Cache initialization completed. Found 5 peered clusters I0906 08:54:18.262198 1 namespaceoffloading_controller.go:96] NamespaceOffloading "adm2/offloading" status correctly updated I0906 08:54:18.262223 1 controller.go:114] "Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference" controller="namespaceoffloading" controllerGroup="offloading.liqo.io" controllerKind="NamespaceOffloading" NamespaceOffloading="adm2/offloading" namespace="adm2" name="offloading" reconcileID="c73479f5-5e71-4ba1-9018-6a77c9da3384" panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x108 pc=0x19a5e42] goroutine 538 [running]: sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1() /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.1/pkg/internal/controller/controller.go:115 +0x1e5

May I request you to please revisit: _https://github.com/liqotech/liqo/blob/master/pkg/liqo-controller-manager/namespaceoffloading-controller/namespaceoffloading_controller.go_ Line 115/116 and few others where the runtime error is thrown, if strategy is not matching or not available.

I think there are some resourceoffers pending in your cluster. Please checks with kubectl get resourceoffers.sharing.liqo.io -A.
If you check #1977 you can notice we made some changes in that part of the code.

I suggest to you to operate in this order:

Unpeer your clusters with liqoctl. Even If you encounter some errors continue to the next step.
Delete all foreignclusters resources on both clusters.
If foreignclusters cannot be deleted, check if there are some resourcerequests or resourceoffers, and delete them. Then delete again the foreignclusters. If you cannot delete a resource check if it contains a finalizer and remove it.
Delete all liqo-tenant namespaces.
Peer again

I suggest to you to operate in this order:

Unpeer your clusters with liqoctl. Even If you encounter some errors continue to the next step.
Delete all foreignclusters resources on both clusters.
If foreignclusters cannot be deleted, check if there are some resourcerequests or resourceoffers, and delete them. Then delete again the foreignclusters. If you cannot delete a resource check if it contains a finalizer and remove it.
Delete all liqo-tenant namespaces.
Peer again

@cheina97 : Thanks for pointing out. We have done already these steps.

HI @cheina97, Thanks for performing tests. Let me try to elaborate further.
Below are some observations:

Tested with --bidirectional peering with cluster1<-->cluster2 .
cluster1-->cluster2 namespace offload working as required. while cluster2-->cluster1 is throwing runtime error in the controller pod, as soon as we run the namespace offload command.

Only after adding tolerations manually to deployments, I can offload the pods from cluster2-->cluster1. But still liqo controller pod is restarting again with error.
_spec:
tolerations:

key: virtual-node.liqo.io/not-allowed
operator: Equal
value: "true"
effect: NoExecute_

I still believe there is some issue in the controller code. As, only 1 foreign cluster is available, why code is searching for old/deleted Foreign clusters.
> kubectl get foreigncluster
NAME        TYPE     OUTGOING PEERING   INCOMING PEERING   NETWORKING    AUTHENTICATION   AGE
adm1-npp1   InBand   Established        Established        Established   Established      42h

Please check once, where these conditions written in the golang code, which is throwing runtime error.
W0906 08:54:18.253257 1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID f4cb997d-0bfc-4c0a-a8c2-dbb7b4c40cdf" not found W0906 08:54:18.253365 1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID 20b965f1-9a3e-4483-984e-83c1624bfc44" not found W0906 08:54:18.253406 1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID 8e604d94-81c0-4a46-8800-86eff01ac149" not found W0906 08:54:18.253444 1 cache.go:246] foreignclusters.discovery.liqo.io "foreign cluster with ID 24daa06b-48c2-4ade-b54e-d51ef8f9e570" not found I0906 08:54:18.253478 1 cache.go:86] Cache initialization completed. Found 5 peered clusters I0906 08:54:18.262198 1 namespaceoffloading_controller.go:96] NamespaceOffloading "adm2/offloading" status correctly updated I0906 08:54:18.262223 1 controller.go:114] "Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference" controller="namespaceoffloading" controllerGroup="offloading.liqo.io" controllerKind="NamespaceOffloading" NamespaceOffloading="adm2/offloading" namespace="adm2" name="offloading" reconcileID="c73479f5-5e71-4ba1-9018-6a77c9da3384" panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x108 pc=0x19a5e42] goroutine 538 [running]: sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1() /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.1/pkg/internal/controller/controller.go:115 +0x1e5

May I request you to please revisit: _https://github.com/liqotech/liqo/blob/master/pkg/liqo-controller-manager/namespaceoffloading-controller/namespaceoffloading_controller.go_ Line 115/116 and few others where the runtime error is thrown, if strategy is not matching or not available.

I think there are some resourceoffers pending in your cluster. Please checks with kubectl get resourceoffers.sharing.liqo.io -A. If there are some unwanted resourceoffers remove their finalizers and delete them.
If you check VirtualNode: namespacemap virtualnode selector #1977 you can notice we made some changes in that part of the code.

@cheina97 : This is really helpful. As, we were not aware about the residue left after deletion. ran the command provided and below are results:

kubectl get resourceoffers.sharing.liqo.io -A
NAMESPACE                         NAME                       STATUS     VIRTUALKUBELETSTATUS   LOCAL   AGE
liqo-tenant-adm1-npp1-6eb08f      adm1-npp1                  Accepted   Deleting               false   42d
liqo-tenant-adm1-npp1-6eb08f      adm2-npp1                  Accepted   Deleting               true    42d
liqo-tenant-adm1-npp1-9cf9c5      adm1-npp1                  Accepted   Created                false   3d9h
liqo-tenant-adm1-npp1-9cf9c5      adm2-npp1                  Accepted   Created                true    3d9h
liqo-tenant-adm1-npp1-aa1366      adm2-npp1                  Accepted   Deleting               true    38d
liqo-tenant-adm1-npp1-d514ce      adm2-npp1                  Accepted   Deleting               true    38d
liqo-tenant-autumn-river-b6b769   dsx-admiralty-2-npp1-pks   Accepted   None                   true    45d

Tried deleting, but not working with force even:

kubectl delete resourceoffers.sharing.liqo.io adm1-npp1 -n liqo-tenant-adm1-npp1-6eb08f --force
warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
resourceoffer.sharing.liqo.io "adm1-npp1" force deleted>

Is there any other command reference, or patch that can remove the deleting resourceoffers.sharing.liqo.io? Please suggest.

Tried deleting, but not working with force even:

kubectl delete resourceoffers.sharing.liqo.io adm1-npp1 -n liqo-tenant-adm1-npp1-6eb08f --force
warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
resourceoffer.sharing.liqo.io "adm1-npp1" force deleted>

Is there any other command reference, or patch that can remove the deleting resourceoffers.sharing.liqo.io? Please suggest.

Have you removed the finalized on the resource?

Tried, but no success:
kubectl --kubeconfig ./config-file patch resourceoffers.sharing.liqo.io adm1-npp1 -n liqo-tenant-adm1-npp1-6eb08f -p '{"metadata":{"finalizers":null}}' --type=merge
Error from server (NotFound): namespaces "liqo-tenant-adm1-npp1-6eb08f" not found

What about if you use kubectl edit?

What about if you use kubectl edit?

Tried deleting that, but no success:

kubectl edit resourceoffers.sharing.liqo.io adm1-npp1 -n liqo-tenant-adm1-npp1-6eb08f
error: resourceoffers.sharing.liqo.io "adm1-npp1" could not be found on the server
The edits you made on deleted resources have been saved to "C:\Users\xyz\AppData\Local\Temp\kubectl.exe-edit-1916598350.yaml"

apiVersion: sharing.liqo.io/v1alpha1
kind: ResourceOffer
metadata:
creationTimestamp: "2023-08-04T04:24:54Z"
deletionGracePeriodSeconds: 0
deletionTimestamp: "2023-08-08T10:38:50Z"
finalizers:

liqo.io/virtualkubelet
liqo.io/node
generation: 776
labels:
discovery.liqo.io/cluster-id: 5258fa9e-f603-4de3-9107-c8331d9d00b2
liqo.io/originID: f4cb997d-0bfc-4c0a-a8c2-dbb7b4c40cdf
liqo.io/remoteID: 5258fa9e-f603-4de3-9107-c8331d9d00b2
liqo.io/replicated: "true"
liqo.io/replication: "false"
name: adm1-npp1
namespace: liqo-tenant-adm1-npp1-6eb08f

That's really strange, can you check if the resourceoffers are recreating? Use kubectl get resourceoffers -A -w to check if the resources are updating

It's simply stuck/hanging from last 2-3 minutes:

kubectl get resourceoffers.sharing.liqo.io -A -w
NAMESPACE                         NAME                       STATUS     VIRTUALKUBELETSTATUS   LOCAL   AGE
liqo-tenant-adm1-npp1-6eb08f      adm1-npp1                  Accepted   Deleting               false   42d
liqo-tenant-adm1-npp1-6eb08f      adm2-npp1                  Accepted   Deleting               true    42d
liqo-tenant-adm1-npp1-9cf9c5      adm1-npp1                  Accepted   Created                false   3d10h
liqo-tenant-adm1-npp1-9cf9c5      adm2-npp1                  Accepted   Created                true    3d10h
liqo-tenant-adm1-npp1-aa1366      adm2-npp1                  Accepted   Deleting               true    38d
liqo-tenant-adm1-npp1-d514ce      adm2-npp1                  Accepted   Deleting               true    38d
liqo-tenant-autumn-river-b6b769   dsx-admiralty-2-npp1-pks   Accepted   None                   true    45d

Ok, so it is not strange

Can you get the single resource?

sure, it hangs without final results:
kubectl get resourceoffers.sharing.liqo.io -n liqo-tenant-adm1-npp1-6eb08f -w
NAME        STATUS     VIRTUALKUBELETSTATUS   LOCAL   AGE
adm1-npp1   Accepted   Deleting               false   42d
adm2-npp1   Accepted   Deleting               true    42d

@cheina97 : Removed version 0.9.3 and installed 0.9.4, but still the same error:
I0920 15:26:26.279404       1 finalizer.go:37] Removing finalizer virtualnode-controller.liqo.io/finalizer from virtual-node liqo-adm1-npp1
I0920 15:26:26.289221       1 namespaceoffloading_controller.go:98] NamespaceOffloading "adm2/offloading" status correctly updated
I0920 15:26:26.289267       1 controller.go:114] "Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference" controller="namespaceoffloading" controllerGroup="offloading.liqo.io" controllerKind="NamespaceOffloading" NamespaceOffloading="adm2/offloading" namespace="adm2" name="offloading" reconcileID="201d8339-9923-45ba-b8db-40b1f5f8da7b"
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x108 pc=0x1c17962]

DId you restart from a clean cluster?

Closed for inactivity


Closes #111 dataset contents ref pages

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

A comment should be added to the R/*.R that these are generated and shouldn't be edited manually.
README.md should be updated to describe the new documentation process.

@vbshuliar once you update README.md could you also do the same in pharmaverseadam as we are now following the same process across both packages? thanks

@manciniedoardo @bundfussr Please take a look at the updated version.

I updated the layout as you requested. Please, proceed with the rereview @manciniedoardo

Added the table of contents for the readme.

Replaced XLSX with JSON.

Fixed the reference page to display titles correctly (instead of file names).


Implement changes to Cursor API to include the stream transaction id …

…to the request headers.
fix #322

I notice from the docs that the transaction ID header is only relevant in the "create cursor" endpoint, so our DeleteCursor or PutCursor APIs should not be affected.  Those changes should be removed from the PR.
To address @DiscoPYF 's questions:

I wonder if we could instead add an additional general parameter to the API methods for supporting headers, like we do for query/body parameters? e.g. PostCursorAsync<T>(PostCursorBody postCursorBody, PostCursorHeaders postCursorHeaders), or something a bit more generic.

I think that there are two PostCursorAsync methods.  One of them is a convenience method that provides some of the options are method arguments, instead of requiring the PostCursorBody object.  I think that it would make sense to include string transactionId = null as an optional argument in the convenience method, and then for the other method introduce a new type that allows additional headers more generically in the request.  At least I think that would be consistent with how we've approached things so far.  What do you think @DiscoPYF ?

I think that it would make sense to include string transactionId = null as an optional argument in the convenience method, and then for the other method introduce a new type that allows additional headers more generically in the request.

I agree, this is a good approach (imo) and consistent with our API, indeed.

then for the other method introduce a new type that allows additional headers more generically in the request
Example: WebHeaderCollection vs a model with common header properties.

Instead of creating a new TransactionId property in PostCursorBody, should a new model be created ? Is that correct ?

Yes, correct. I think the idea is to have the following:
public virtual async Task<CursorResponse<T>> PostCursorAsync<T>(
            PostCursorBody postCursorBody, AClassWithHeaderProperties headers)

PR updated addressing these comments.

DeleteCursor or PutCursor APIs should not be affected.

Instead of creating a new TransactionId property in PostCursorBody, should a new model be created? Is that correct?
Yes, correct

Thanks for the update. It appears ConfigureAwait was removed from a lot of the async calls.  Can you replace it please?  This was added for reasons described in #215

PR updated.
Reinstated the missed out ConfigureAwait to the endpoints.

It would also be useful to add a test to verify that header properties are being passed on to transport correctly. Example: PostCursorAsync_ShouldUseHeaderProperties can call PostCursorAsync and mock IApiClientTransport to check that the provided WebHeaderCollection contains the expected header key/values. Similar to what PostCollectionAsync_ShouldUseQueryParameter does.

I ran again the failed test runs and they now pass.
I am listing the failures for future reference:

https://app.circleci.com/pipelines/github/Actify-Inc/arangodb-net-standard/614/workflows/54ac61ec-5caa-41c0-bb96-32aebf07aa25/jobs/1298

System.Net.Sockets.SocketException : Connection refused

https://app.circleci.com/pipelines/github/Actify-Inc/arangodb-net-standard/614/workflows/54ac61ec-5caa-41c0-bb96-32aebf07aa25/jobs/1301

ArangoDBNetStandard.ApiErrorException : service unavailable due to startup or maintenance mode

PR updated to address the above mentioned suggestions 👍

If this class is only for the cursor API, maybe we should name it more explicitely? e.g. CursorHeaderProperties

I am thinking it would be useful to have it protected virtual

It would also be useful to add a test to verify that header properties are being passed on to transport correctly. Example: PostCursorAsync_ShouldUseHeaderProperties