Add secret field so tutorial teaches how to prevent overposting.

Add secret field so tutorial teaches how to prevent overposting.
Add the secret field at the Adding a Rating Property to the Movie Model stage.

Use MoveInputModel for edit and TryUpdateModelAsync for create.

See https://docs.microsoft.com/aspnet/core/tutorials/first-web-api#over-post

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

ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
Content: Add a model to a Razor Pages app in ASP.NET Core
Content Source: aspnetcore/tutorials/razor-pages/model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Re-opening: Addressing this currently in an update of the entire Razor Pages Series.

This has been fixed


constification

This is a bigger update. Some notes:

Made constant the from_le_bytes and as_le bytes public methods.
Changed the return value of as_le_bytes from a slice to an array. That'd be a breaking change, but I think is more consistent like this.
Added corresponding big-endian methods.
Added most constants from std::f64, except MIN_10_EXP, MAX_10_EXP, MIN_EXP, MAX_EXP.
added tests.

I also have found some things I dont completely understand, but I'm gonna open an issue for that.

I don't understand why the indicated machine epsilon limit is 1 order of magnitude less than the current enforced limit, which seemingly works well.
I've made thousands of iterations with both 10e-15 and 10e-16 Decimal64 values, which is the smallest decimal type implementing arithmetic operations, and it seems to work the well in both cases, without stepping over intermediate values...
Should we change EPSILON to one more order of magnited of precision even if it disagrees with wikipedia? I didn't find anything in the spec about that...


CCPWGL cdn is down with a 502

example file
https://web.ccpgamescdn.com/ccpwgl/res/ac/ac0f2b86e6dfa6c0_e2e1bdee8c546ea3dff75ca2a39ae9dd.sm_hi
response
502 ERROR
The request could not be satisfied.
The origin closed the connection. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront)
Request ID: 5b_XCrbBDqAnmrG0db2gfelVwyyrwG1LRNriOdWf4jIMOTZUq4QEJg==

This has now been resolved.


✨[Feature] Update tolerance mechanism for test cases based on atol and rtol thresholds

Is your feature request related to a problem? Please describe.

Need to update the atol and rtol based tolerance limit for test modules. Currently, it uses additional threshold parameter which is not required.
Ideally it should be abs(a - b) <= atol + rtol*abs(b)
Describe the solution you'd like

Adapt the test module for tolerance limit based on absolute and relative tolerance thresholds.
Describe alternatives you've considered

Additional context

Closing this Feature Request. Change is already merged in to the master branch.


Metrics interpretation

May I ask if there is any guide or documentation on how to interpret the metrics? For example I am trying to figure out weather a higher score in Nearest Neighbour Adversarial Accuracy represents higher similarity between my synthetic and real data, and vice versa.
Or is it possible to provide a list of references to the original proposals of the metrics?
Thank you!

Hi @iamamiramine,
The paper connected to SynthEval presents the currently implemented metrics in the appendix including references to original proposals. You can find the paper here: SynthEval: A Framework for Detailed Utility and Privacy Evaluation of Tabular Synthetic Data.

Thank you!


Bug when initializing a disabled datepicker

If a datepicker is initialized with a value when it's not disabled - everything works fine.
If a datepicker is initialized with a value and set as disabled - date doesn't show in the input and instead placeholder is shown.
Stackblitz example:
https://stackblitz.com/edit/angular-9-1-0-angular-mydatepicker-ygezxo
The only difference between the inputs is one is [disabled]="isDisabled" the other [disabled]="!isDisabled"
I haven't actually found a disabled property in the docs, so I'm wondering if I missed something or if this is a bug?

Hello @skaireka
Here is working version: https://stackblitz.com/edit/angular-9-1-0-angular-mydatepicker-vmoc3v?file=src%2Fapp%2Fchild%2Fchild.component.html
You can define the disable attribute this way: [attr.disabled]="isDisabled" then it is working.

You can do: [attr.disabled]="isDisabled ? '' : null"

That works, thank you!


scrolling on the bar module navigate the events

Hi!
Is it possible to enable the scrolling feature on the module (on polybar) to navigate past and future events?

Currently it's impossible to do this.
A relatively easy way to do this will be to

add support for an "skip" flag for the script, where the skip will represent the number of events to skip, for example ./i3-agenda -... --skip 1 will fetch the events[1] (the second closest event)
make a utility script that will keep the skip number in a file. Something like

#!/bin/bash
file=/tmp/i3-agenda-skip.tmp
skip=$(cat $file)
skip+=1
echo $skip >> $file

make polybar refresh the events on scroll

[module/agenda]
    ...
    type = custom/script
    exec = i3-agenda -c ~/.google_credentials.json -ttl 30
    enable-scroll = true
    scroll-up = i3-agenda -c ~/.google_credentials.json --update
    interval = 1 # you can instead refresh the bar manually on scroll up instead of having a low interval. See here for more info https://github.com/polybar/polybar/issues/563

TODO:

[ ] add support for skip flag in i3-agenda


Cannot find React  Triggering a setState() usually fixes this

I am getting this error when I run the React-Sight..
Cannot find React  Triggering a setState() usually fixes this

I'm getting this error too.

+1

+1

Same here...

+1

same here

+1

+1
Triggering setState didn't work for me.

+1 Will be watching this thread. FYI - I also installed react-dom and react packages @16.6.0 to test, but received the same errors. I'll try previous versions too.

+1

+1

+1 following as I have the same issue

Facing same issue +1

Same issue with Chrome 79.0.3945.88

Works nada +1

Duplicate of this issue --> https://github.com/React-Sight/React-Sight/issues/134 Tracking a fix PR over there.

I am getting the following error
Cannot find React Triggering a setState() usually fixes this
with version 1.1.0

I'm getting this error message either.
Cannot find React. Triggering a setState() usually fixes this

same problem

same here guys =/

in the same boat

Same problem in this side


Endless HEAD request ?

Q
A

Bug?
yes

New Feature?
no

Version
v1.0.0

Actual Behavior
A HEAD request is endless.
Expected Behavior
I expect that the HEAD request to end and to get a response
Steps to Reproduce
Reproducible with this melody script https://github.com/sensiolabs/melody
The guzzle http client has the expected behavior, using the http adapter, the head request doesn't end.
<?php
<<<CONFIG
packages:
    - "php-http/guzzle5-adapter"
    - "guzzlehttp/psr7"
    - "php-http/message"
CONFIG;

use GuzzleHttp\Client as GuzzleClient;
use Http\Adapter\Guzzle5\Client as GuzzleAdapter;
use Http\Message\MessageFactory\GuzzleMessageFactory;
use Http\Message\Formatter\SimpleFormatter;

$guzzle = new GuzzleClient([]);

$request = $guzzle->createRequest('HEAD', 'http://example.com');
echo "send...\n\n";
$response = $guzzle->send($request);
echo "\n\nend guzzle...\n\n";

$messageFactory = new GuzzleMessageFactory();
$adapter = new GuzzleAdapter($guzzle, $messageFactory);

$request = $messageFactory->createRequest('HEAD', 'http://example.com');
echo "send...\n\n";
$response = $adapter->sendRequest($request);
echo (new SimpleFormatter())->formatRequest($request);
echo "\n\nend\n\n";

Possible Solutions
Maybe, it could be resolved by modifing the src/Client.php:76:
$options['body'] = '' === (string) $request->getBody() ? null : (string) $request->getBody()

When I run the script above I get:
[tobias@Tobias-MBP:~/Workspace/PHPStorm/httplug/tmp]
% melody run index.php                                                                                1 ↵
send...

end guzzle...

send...

HEAD http://example.com 1.1

end

[tobias@Tobias-MBP:~/Workspace/PHPStorm/httplug/tmp]
%

Ah, I get this error now.
I think this is an issue with Guzzle. But I do not mind allowing a workaround here.
Thank you!


Installation Problems for branch master

Issue for Installation problems for branch master

Thanks for opening this issue, the first error on the first translation unit it starts like
Consolidate compiler generated dependencies of target SlamCore
[  1%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/types.cxx.o
In file included from /home/ivizzo/dev/slam/ct_icp/src/SlamCore/../../include/SlamCore/types.h:15,
                 from /home/ivizzo/dev/slam/ct_icp/src/SlamCore/types.cxx:1:
/home/ivizzo/dev/slam/ct_icp/src/SlamCore/../../include/SlamCore/data/schema.h:311:61: error: ‘std::optional’ has not been declared
  311 |                                                             std::optional<std::vector<std::string>> properties = {}) {
      |                                                             ^~~
/home/ivizzo/dev/slam/ct_icp/src/SlamCore/../../include/SlamCore/data/schema.h:311:74: error: expected ‘,’ or ‘...’ before ‘<’ token
  311 |                                                             std::optional<std::vector<std::string>> properties = {}) {
      |                                                                          ^
/home/ivizzo/dev/slam/ct_icp/src/SlamCore/../../include/SlamCore/data/schema.h:346:85: error: ‘std::optional’ has not been declared
  346 |                                                                                std::optional<std::vector<std::string>> properties) { \
      |                                                                                ^~~
/home/ivizzo/dev/slam/ct_icp/src/SlamCore/../../include/SlamCore/data/schema.h:364:5: note: in expansion of macro ‘SCHEMA_EIGEN_MATRIX_SPECIALIZATION’
  364 |     SCHEMA_EIGEN_MATRIX_SPECIALIZATION(float, 3, 1)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ivizzo/dev/slam/ct_icp/src/SlamCore/../../include/SlamCore/data/schema.h:346:98: error: expected ‘,’ or ‘...’ before ‘<’ token
  346 |                                                                                std::optional<std::vector<std::string>> properties) { \
      |                                                                                ^
/home/ivizzo/dev/slam/ct_icp/src/SlamCore/../../include/SlamCore/data/schema.h:364:5: note: in expansion of macro ‘SCHEMA_EIGEN_MATRIX_SPECIALIZATION’
  364 |     SCHEMA_EIGEN_MATRIX_SPECIALIZATION(float, 3, 1)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/ivizzo/dev/slam/ct_icp/src/SlamCore/../../include/SlamCore/types.h:15,
                 from /home/ivizzo/dev/slam/ct_icp/src/SlamCore/types.cxx:1:
/home/ivizzo/dev/slam/ct_icp/src/SlamCore/../../include/SlamCore/data/schema.h: In function ‘slam::ItemSchema::Builder slam::BuilderFromSingleElementData(const string&, int) [with DataT = Eigen::Matrix<float, 3, 1>; std::string = std::__cxx11::basic_string<char>]’:
/home/ivizzo/dev/slam/ct_icp/src/SlamCore/../../include/SlamCore/data/schema.h:352:13: error: ‘properties’ was not declared in this scope; did you mean ‘PropertySize’?
  352 |         if (properties) { \
      |             ^~~~~~~~~~

Ok, thanks ! So it seems that std::optional is not found. strange.
Can you try adding the line
#include <optional>

At the top of the schema.h file ?

So moving forward, I included the header files that were missing (I recommend checking out "include-what-you-use"). And now it did compile, but we are getting linking errors.
Patch to compile it
diff --git a/include/SlamCore/data/schema.h b/include/SlamCore/data/schema.h
index 9b135c0..0cc7287 100644
--- a/include/SlamCore/data/schema.h
+++ b/include/SlamCore/data/schema.h
@@ -2,6 +2,7 @@
 #define SlamCore_SCHEMA_H

 #include <map>
+#include <optional>

 #include <Eigen/Dense>
 #include <glog/logging.h>
diff --git a/include/SlamCore/timer.h b/include/SlamCore/timer.h
index 9deebfa..2740dcf 100644
--- a/include/SlamCore/timer.h
+++ b/include/SlamCore/timer.h
@@ -4,6 +4,7 @@
 #include <string>
 #include <map>
 #include <chrono>
+#include <stdexcept>

 namespace slam {

diff --git a/src/SlamCore/utils.cxx b/src/SlamCore/utils.cxx
index 293414b..4b346f4 100644
--- a/src/SlamCore/utils.cxx
+++ b/src/SlamCore/utils.cxx
@@ -115,7 +115,7 @@ void _posix_signal_handler(int sig, siginfo_t *siginfo, void *context) {
     _Exit(1);
 }

New linking errors
Consolidate compiler generated dependencies of target SlamCore
[  1%] Linking CXX shared library libSlamCore.so
/usr/bin/ld: CMakeFiles/SlamCore.dir/eval.cxx.o:(.bss+0x0): multiple definition of `slam::pose_less_by_fid_and_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/eval.cxx.o:(.bss+0x1): multiple definition of `slam::pose_less_by_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x1): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/eval.cxx.o:(.bss+0x2): multiple definition of `slam::pose_less_by_fid'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x2): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/io.cxx.o:(.bss+0x0): multiple definition of `slam::pose_less_by_fid_and_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/io.cxx.o:(.bss+0x1): multiple definition of `slam::pose_less_by_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x1): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/io.cxx.o:(.bss+0x2): multiple definition of `slam::pose_less_by_fid'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x2): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/imu.cxx.o:(.bss+0x0): multiple definition of `slam::pose_less_by_fid_and_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/imu.cxx.o:(.bss+0x1): multiple definition of `slam::pose_less_by_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x1): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/imu.cxx.o:(.bss+0x2): multiple definition of `slam::pose_less_by_fid'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x2): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/reactors/pointcloud_writer.cxx.o:(.bss+0x0): multiple definition of `slam::pose_less_by_fid_and_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/reactors/pointcloud_writer.cxx.o:(.bss+0x1): multiple definition of `slam::pose_less_by_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x1): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/reactors/pointcloud_writer.cxx.o:(.bss+0x2): multiple definition of `slam::pose_less_by_fid'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x2): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/experimental/synthetic.cxx.o:(.bss+0x0): multiple definition of `slam::pose_less_by_fid_and_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/experimental/synthetic.cxx.o:(.bss+0x1): multiple definition of `slam::pose_less_by_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x1): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/experimental/synthetic.cxx.o:(.bss+0x2): multiple definition of `slam::pose_less_by_fid'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x2): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/experimental/map.cxx.o:(.bss+0x0): multiple definition of `slam::pose_less_by_fid_and_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/experimental/map.cxx.o:(.bss+0x1): multiple definition of `slam::pose_less_by_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x1): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/experimental/map.cxx.o:(.bss+0x2): multiple definition of `slam::pose_less_by_fid'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x2): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/algorithm/grid_sampling.cxx.o:(.bss+0x0): multiple definition of `slam::pose_less_by_fid_and_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/algorithm/grid_sampling.cxx.o:(.bss+0x1): multiple definition of `slam::pose_less_by_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x1): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/algorithm/grid_sampling.cxx.o:(.bss+0x2): multiple definition of `slam::pose_less_by_fid'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x2): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/pointcloud.cxx.o:(.bss+0x0): multiple definition of `slam::pose_less_by_fid_and_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/pointcloud.cxx.o:(.bss+0x1): multiple definition of `slam::pose_less_by_timestamp'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x1): first defined here
/usr/bin/ld: CMakeFiles/SlamCore.dir/pointcloud.cxx.o:(.bss+0x2): multiple definition of `slam::pose_less_by_fid'; CMakeFiles/SlamCore.dir/trajectory.cxx.o:(.bss+0x2): first defined here
collect2: error: ld returned 1 exit status
gmake[2]: *** [src/SlamCore/CMakeFiles/SlamCore.dir/build.make:408: src/SlamCore/libSlamCore.so] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:307: src/SlamCore/CMakeFiles/SlamCore.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Compiler
I'm using gcc on ubuntu. The superbuild did work

Thanks I'll check this out,
Can you tell me which version of gcc do you have ? With gcc < 7.5 we had some compilation problem (because we use C++-17)

$ gcc --version
gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thanks, I'll try to replicate the bug, and I'll get back to you

Amazing! Thanks a lot for the help!!!!

If you try a different compiler, it would be very helpful,
For example if you have clang on your system, before running the cmake install script,
You can export the environment variables:
which clang                     # Checks the clang installation

# -- Setup environment variables
export C=clang
export CXX=clang++

# -- CT_ICP Install
mkdir cmake-build-release && cd  cmake-build-release                  #< Create the build directory
cmake .. -DCMAKE_BUILD_TYPE=Release                                   #< (2) Configure with the desired options (specify arguments with -D<arg_name>=<arg_value>)
cmake --build . --target install --config Release --parallel 12       #< Build and Install the project

(And do delete the cmake cache before launch the new installation)

Ok I replicated the bug, I'll notify you when I have the fix available

This should now be resolved with commit f2db6a1

Yay! Finally it's building, now let's see how to run this on the data :)
Thanks!

You can close the issue

Sorry to bother again, I still can't run this code
ct_icp/install/CT_ICP/bin (master) ./run_odometry -c ../../../config/odometry/driving_config.yaml
./run_odometry: error while loading shared libraries: libglog.so.0: cannot open shared object file: No such file or directory

Which magic export I might be missing?

Update, most libraries are missing from the binary:
libSlamCore.so
        libyaml-cpp.so.0.6 => not found
        libceres.so.2 => not found
        libtinyply.so => not found
        libglog.so.0 => not found

Can you run readelf -d run_odometry ?
And notably look at the RUNPATH ?
Sorry to use you as an early tester 😅

adelf -d run_odometry

Dynamic section at offset 0x5b7f0 contains 35 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libCT_ICP.so]
 0x0000000000000001 (NEEDED)             Shared library: [libSlamCore.so]
 0x0000000000000001 (NEEDED)             Shared library: [libglog.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libyaml-cpp.so.0.6]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000001d (RUNPATH)            Library runpath: [/home/ivizzo/dev/slam/ct_icp/install/CT_ICP/lib]
 0x000000000000000c (INIT)               0x15000
 0x000000000000000d (FINI)               0x4e0a4
 0x0000000000000019 (INIT_ARRAY)         0x5b440
 0x000000000000001b (INIT_ARRAYSZ)       24 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x5b458
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x3b0
 0x0000000000000005 (STRTAB)             0x59c0
 0x0000000000000006 (SYMTAB)             0x1640
 0x000000000000000a (STRSZ)              43715 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x5ca60
 0x0000000000000002 (PLTRELSZ)           3984 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x13610
 0x0000000000000007 (RELA)               0x10b98
 0x0000000000000008 (RELASZ)             10872 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffffb (FLAGS_1)            Flags: NOW PIE
 0x000000006ffffffe (VERNEED)            0x10a28
 0x000000006fffffff (VERNEEDNUM)         4
 0x000000006ffffff0 (VERSYM)             0x10484
 0x000000006ffffff9 (RELACOUNT)          336
 0x0000000000000000 (NULL)               0x0

 echo $RUNPATH

Is empty

I managed to replicate the error, I'll notify you when it is solved

Hello I got the error in cmake --build . --target install --config Release --parallel 12
the detail is
Consolidate compiler generated dependencies of target SlamCore
[  0%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/io.cxx.o
In file included from /home/skywalker/ct_icp/src/SlamCore/io.cxx:6:0:
/home/skywalker/ct_icp/src/SlamCore/io.cxx: In function ‘std::vectorslam::PLYSchemaMapper::PLYProperty slam::{anonymous}::DefaultPropertiesFromSchema(const std::vectorslam::ItemSchema&, bool)’:
/home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:30:32: error: ‘filesystem’ is not a member of ‘std’
#define SLAM_FILENAME std::filesystem::path(FILE).filename()
^
/home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:32:53: note: in expansion of macro ‘SLAM_FILENAME’
#define SLAM_LOCATION_INFO ("[File: " + std::string(SLAM_FILENAME)  + ", Line: " + std::to_string(LINE) + "] -- ")
^~~~~~~~~~~~~~~~~
/home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:34:45: note: in expansion of macro ‘SLAM_LOCATION_INFO’
#define SLAM_LOG(CATEGORY) LOG(CATEGORY) << SLAM_LOCATION_INFO
^~~~~~~~~~~~~~~~~~
/home/skywalker/ct_icp/src/SlamCore/io.cxx:994:25: note: in expansion of macro ‘SLAM_LOG’
SLAM_LOG(WARNING) << "The element " << ply_element_name << " appears twice in the schema";
^~~~~~~~
/home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:30:32: note: suggested alternative:
#define SLAM_FILENAME std::filesystem::path(FILE).filename()
^
/home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:32:53: note: in expansion of macro ‘SLAM_FILENAME’
#define SLAM_LOCATION_INFO ("[File: " + std::string(SLAM_FILENAME)  + ", Line: " + std::to_string(LINE) + "] -- ")
^~~~~~~~~~~~~~~~~
/home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:34:45: note: in expansion of macro ‘SLAM_LOCATION_INFO’
#define SLAM_LOG(CATEGORY) LOG(CATEGORY) << SLAM_LOCATION_INFO
^~~~~~~~~~~~~~~~~~
/home/skywalker/ct_icp/src/SlamCore/io.cxx:994:25: note: in expansion of macro ‘SLAM_LOG’
SLAM_LOG(WARNING) << "The element " << ply_element_name << " appears twice in the schema";
^~~~~~~~
In file included from /usr/include/c++/7/experimental/filesystem:36:0,
from /home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:18,
from /home/skywalker/ct_icp/src/SlamCore/io.cxx:6:
/usr/include/c++/7/experimental/bits/fs_fwd.h:45:11: note:   ‘std::experimental::filesystem’
namespace filesystem
^~~~~~~~~~
src/SlamCore/CMakeFiles/SlamCore.dir/build.make:187: recipe for target 'src/SlamCore/CMakeFiles/SlamCore.dir/io.cxx.o' failed
make[2]: *** [src/SlamCore/CMakeFiles/SlamCore.dir/io.cxx.o] Error 1
CMakeFiles/Makefile2:306: recipe for target 'src/SlamCore/CMakeFiles/SlamCore.dir/all' failed
make[1]: *** [src/SlamCore/CMakeFiles/SlamCore.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

I tried this method https://github.com/jedeschaud/ct_icp/issues/32#issuecomment-1198163415
but got the new error
cmake --build . --target install --config Release --parallel 12   [  1%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/types.cxx.o [  2%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/geometry.cxx.o [  4%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/config_utils.cxx.o [  4%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/trajectory.cxx.o [  4%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/ceres_utils.cxx.o [  5%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/utils.cxx.o [  5%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/io.cxx.o [  6%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/imu.cxx.o [  7%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/eval.cxx.o [  8%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/reactors/pointcloud_writer.cxx.o [  9%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/timer.cxx.o [ 10%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/reactors/scheduler.cxx.o [ 10%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/experimental/synthetic.cxx.o [ 11%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/experimental/map.cxx.o [ 12%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/experimental/neighborhood.cxx.o [ 13%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/algorithm/grid_sampling.cxx.o /home/skywalker/ct_icp/src/SlamCore/io.cxx:994:25: error: no member named 'filesystem' in namespace 'std'; did you mean 'std::experimental::filesystem'?                         SLAM_LOG(WARNING) << "The element " << ply_element_name << "appears twice in the schema";                         ^~~~~~~~~~~~~~~~~ /home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:34:45: note: expanded from macro 'SLAM_LOG' #define SLAM_LOG(CATEGORY) LOG(CATEGORY) << SLAM_LOCATION_INFO                                             ^~~~~~~~~~~~~~~~~~ /home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:32:53: note: expanded from macro 'SLAM_LOCATION_INFO' #define SLAM_LOCATION_INFO ("[File: " + std::string(__SLAM_FILENAME__)  + ", Line: " + std::to_string(__LINE__) + "] -- ")                                                     ^~~~~~~~~~~~~~~~~ /home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:30:27: note: expanded from macro '__SLAM_FILENAME__' #define __SLAM_FILENAME__ std::filesystem::path(__FILE__).filename()                           ^~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/experimental/filesystem:47:11: note: 'std::experimental::filesystem' declared here namespace filesystem           ^ 1 error generated. [ 14%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/data/buffer_collection.cxx.o src/SlamCore/CMakeFiles/SlamCore.dir/build.make:187: recipe for target 'src/SlamCore/CMakeFiles/SlamCore.dir/io.cxx.o' failed make[2]: *** [src/SlamCore/CMakeFiles/SlamCore.dir/io.cxx.o] Error 1 make[2]: *** 正在等待未完成的任务....

I tried this method to install
which clang                     # Checks the clang installation
-- Setup environment variables
export C=clang
export CXX=clang++
-- CT_ICP Install
mkdir cmake-build-release && cd  cmake-build-release                  #< Create the build directory
cmake .. -DCMAKE_BUILD_TYPE=Release                                   #< (2) Configure with the desired options (specify arguments with -D<arg_name>=<arg_value>)
cmake --build . --target install --config Release --parallel 12       #< Build and Install the project
but got the new error
cmake --build . --target install --config Release --parallel 12
[  1%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/types.cxx.o
[  2%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/geometry.cxx.o
[  4%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/config_utils.cxx.o
[  4%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/trajectory.cxx.o
[  4%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/ceres_utils.cxx.o
[  5%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/utils.cxx.o
[  5%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/io.cxx.o
[  6%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/imu.cxx.o
[  7%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/eval.cxx.o
[  8%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/reactors/pointcloud_writer.cxx.o
[  9%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/timer.cxx.o
[ 10%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/reactors/scheduler.cxx.o
[ 10%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/experimental/synthetic.cxx.o
[ 11%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/experimental/map.cxx.o
[ 12%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/experimental/neighborhood.cxx.o
[ 13%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/algorithm/grid_sampling.cxx.o
/home/skywalker/ct_icp/src/SlamCore/io.cxx:994:25: error: no member named 'filesystem' in namespace 'std'; did you mean 'std::experimental::filesystem'?
SLAM_LOG(WARNING) << "The element " << ply_element_name << " appears twice in the schema";
^~~~~~~~~~~~~~~~~
/home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:34:45: note: expanded from macro 'SLAM_LOG'
#define SLAM_LOG(CATEGORY) LOG(CATEGORY) << SLAM_LOCATION_INFO
^~~~~~~~~~~~~~~~~~
/home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:32:53: note: expanded from macro 'SLAM_LOCATION_INFO'
#define SLAM_LOCATION_INFO ("[File: " + std::string(SLAM_FILENAME)  + ", Line: " + std::to_string(LINE) + "] -- ")
^~~~~~~~~~~~~~~~~
/home/skywalker/ct_icp/src/SlamCore/../../include/SlamCore/utils.h:30:27: note: expanded from macro 'SLAM_FILENAME'
#define SLAM_FILENAME std::filesystem::path(FILE).filename()
^~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/experimental/filesystem:47:11: note: 'std::experimental::filesystem' declared here
namespace filesystem
^
1 error generated.
[ 14%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/data/buffer_collection.cxx.o
src/SlamCore/CMakeFiles/SlamCore.dir/build.make:187: recipe for target 'src/SlamCore/CMakeFiles/SlamCore.dir/io.cxx.o' failed
make[2]: *** [src/SlamCore/CMakeFiles/SlamCore.dir/io.cxx.o] Error 1
make[2]: *** 正在等待未完成的任务....

@nachovizzo
I fixed the issue (setting the path to the external shared libraries in the RPATH of the executables and libraries built by the project)
The tests run on the CI (see this JOB)
So you should be good to go, but let me know if you have any more problems

@ajxdhe,
The problem is that you are compiling again in gcc 7.5 which does not support completely <filesystem>,
As can be seen in:
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/experimental/filesystem:47:11: note: 'std::experimental::filesystem' declared here
namespace filesystem

Your problem (in your second answer) is that you probably did not delete the CMakeCache.txt before configuring the project again.
Try deleting the cmake-build-release directory, then
export CC=clang
export CXX=clang++

mkdir cmake-build-release && cd  cmake-build-release                  #< Create the build directory
cmake .. -DCMAKE_BUILD_TYPE=Release                                   #< (2) Configure with the desired options (specify arguments with -D<arg_name>=<arg_value>), add -DWITH_VIZ3D=ON to install with the GUI
cmake --build . --target install --config Release --parallel 12       #< Build and Install the project

If you have any more issues on this topic, please write them on Issue #35

@nachovizzo
I fixed the issue (setting the path to the external shared libraries in the RPATH of the executables and libraries built by the project)
The tests run on the CI (see this JOB)
So you should be good to go, but let me know if you have any more problems

I confirm this solve the build error, now I have another errors :angel:

That's not possible, the tests pass 😛
Thanks again for all the effort, it was very helpful !

I'll close this for now .


feat(string/capitalize): add better type annotation for capitalize

before:

after:

That's great. Thank a lot, @jjswifty 👍


[FEATURE REQUEST] Support System-Wide Install vs Per-User (Current Default)

Please confirm these before moving forward.

[X] I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
[X] This proposal is a completely new feature. If you want to suggest an improvement or an enhancement, please use this template.

Describe the new feature
I've recently started using Windows 11 Dev Drives and I'm exploring relocating all my package manager caches to it.
Based on what I've seen with the installer and settings, there exists no simple way outside of a symlink to do this.
I'd really appreciate the feature getting added and also the ability to support cache migration as well in the tool itself.
Describe how this new feature could help users

Provide more control over placement of the cache folder.
Introduce concept of system-wide vs per-user installation of packages depending on the user's needs.

I think what you want is this, right? https://github.com/marticliment/UniGetUI/issues/1855


⚠ Bofrost.lu has degraded performance

In 5f3cb28, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1945 ms

Resolved: Bofrost.lu performance has improved in 9975bc3 after 30 minutes.


Added base css and base pastel theme

Also first main menu design, community panel, first in-game HUD test elements. Changes to WebpackUIModuleLoader to embed fonts without CSS variables.

Thank you!


Handle group dance

Series 7 week 11 has a group dance with all the results in one row, separated by linebreaks:

Ali & Brian
Chris & Ola
Laila & Anton
Natalie & Vincent
Ricky & Natalie

10
7
8
7
9

Viennese Waltz

Currently this is ignored, but we could handle this.

Group dance scores cannot be compared to individual dance scores, because group dances are ranked from 1 to n, rather than scored. Even series 7, where score-like values were awarded, was ranked using 10, 9, 8,...


GAE quickstart tutorial uses different appengine plugin

In the GAE quick-start tutorial it uses:
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>${appengine-maven-plugin-version}</version>

which is different from the one used by sample. We should switch either one of them to keep them consistent.

@lesv

@tswast Would you mind looking at this? I believe this is referring to the tutorial within the cloud console, that uses this code. Let me know if you don't have bandwidth, and I can take a shot at it (I figure it might be easier for you, though, if you're familiar with how to modify cloud-console tutorials)

This is actually a problem in Neos -- it shouldn't be using the new plugin yet.  Not sure where that hides.

What plugin should it use? Previously it was using the gcloud plugin to do deploys to App Engine standard because the old plugin was never updated to support deploys from Cloud Shell. See internal bug 33192132 where I updated the sample to the new plugin.

This is for GAE Std, I think, and all GAE Std deploy should use the Java SDK plugin.  GAE Flex should all use the gcloud SDK plugin.
There used to be a Flex plugin called gcloud that is deprecated.  Confusing?  Yep.

Yeah, except we can't use the Java SDK plugin in Neos because it doesn't understand the Cloud Shell credentials.

@shinfan I'm going to close this in 24h, unless you object.
@ludoch FYI - you might wish to go through the new user experience customers go through. (you might also object)

Did you try the flag --service_account_json_key_file=path in the GA plugin?
https://cloud.google.com/appengine/docs/standard/java/tools/appcfg-arguments

The cloud shell uses the metadata server for authentication. We should not
have to download a service account JSON file to deploy.
On Wed, Mar 15, 2017 at 11:05 AM Ludovic Champenois <
<EMAIL_ADDRESS>wrote:

Did you try the flag --service_account_json_key_file=path in the GA plugin?
https://cloud.google.com/appengine/docs/standard/java/tools/appcfg-arguments
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/java-docs-samples/issues/559#issuecomment-286829678,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPHA9mo58m_2V0RZ9ERoFpe1gNpCrdwks5rmChXgaJpZM4Mb4tB
.

It would seem like the --use_google_application_default_credentials would work, but it does not. See internal bug 28788572.

Okay - it sounds like this would be more trouble than it's worth. Consistency would be great, but I think the onus is on the maven plugin team to make their plugins consistent (as opposed to on the samples, that are just doing what works).


Add special handling for missing deal_solver

Before this change, the prover attempts to handle the case where
deal_solver cannot be imported by setting deal_solver = None.
However, instantiation of the DealTheorem class a few lines later
depends on deal_solver. This results in an unhandled exception because
None does not have a "Theorem" attribute:
$ python3 -m deal lint
Traceback (most recent call last):
  File "/Users/ryan/.local/share/asdf/installs/python/3.10.2/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/ryan/.local/share/asdf/installs/python/3.10.2/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/ryan/src/me/extinfo/.venv/lib/python3.10/site-packages/deal/__main__.py", line 6, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/Users/ryan/src/me/extinfo/.venv/lib/python3.10/site-packages/deal/_cli/_main.py", line 37, in main
    commands = get_commands()
  File "/Users/ryan/src/me/extinfo/.venv/lib/python3.10/site-packages/deal/_cli/_main.py", line 16, in get_commands
    from ._prove import ProveCommand
  File "/Users/ryan/src/me/extinfo/.venv/lib/python3.10/site-packages/deal/_cli/_prove.py", line 26, in <module>
    class DealTheorem(deal_solver.Theorem):
AttributeError: 'NoneType' object has no attribute 'Theorem'

After this change, a special exception is raised to get_commands() so that
when deal_solver import fails, the ProveCommand can be set to an empty
Command (because the prover cannot run at all without the solver).

I'm working on a test for the lines added to _cli/_main.py. Not sure I understand the other CI errors since I'm not reproducing them locally but I'll look more into that after a test is done to maintain coverage %.

Needs more work.

Hey, good catch. Try this fix instead:
try:
  from deal_solver import Theorem
except ImportError:
  Theorem = object

class DealTheorem(Theorem):
  ...

Seems to work. I am concerned that that could break the many references to deal_solver elsewhere in the file, but if you're confident that this stuff will never get executed if deal_solver isn't installed, then that's good enough for me. :-)
mypy is unhappy about a few things on my end but let's see what your CI says.

but if you're confident that this stuff will never get executed if deal_solver isn't installed, then that's good enough for me

From this file, only ProveCommand is supposed to be executed, and it has an explicit check for deal_solver presence. That said, I should have some kind of tests for bare-bones deal installation.
Hmm, what's wrong with CI? Let's see. It might be related to yesterday's GitHub hiccups (githups?).

Thank you for your help


Sim test failures

Couple things went wrong after merging #48 into dev.

I think the SpiceType field added to the ExternalModule schema needs to be (should be?) added to the vlsir.primitives library. Although that shouldn't cause this behavior, since we special-case that vlsir.primitives namespace. (A thing which BTW, SpiceType should allow us to stop doing.)
The python (3.8, 3.9, 3.10) setups fail to get some apt package? Examples:

https://github.com/Vlsir/Vlsir/actions/runs/4814544564/jobs/8572305085
https://github.com/Vlsir/Vlsir/actions/runs/4814544564/jobs/8572305166
https://github.com/Vlsir/Vlsir/actions/runs/4814544564/jobs/8572305240

OK bullet #1 was due to this: https://github.com/Vlsir/Vlsir/actions/runs/4822442978.
The others we can shuffle over to #53.


Update README.md

Minor updates to readme

Thanks @nigeltea - I have made some other changes to the readme before I saw this. So I'm incorporating your changes on my end but for simplification purposes I'm not going to pull your changes in .


Dotnet Core 2.0

Getting a null reference when running with Dotnet Core 2.0, on line 244, with any settings or configuration.

Line 244 in which file? I need stacktrace here.


axes_locked_out variable not caught on response in axes middleware call function

Hi,
I am a web-dev using your library in one of my projects and working with rest-auth, I encountered that the axes_locked_out variable that was being updated in user_login_failed function of database.py, was not caught in call function of the middleware of django-axes.
I am willing to work on this issue as I found a workaround with your working code.

Hi @tushar2407. If you have more information on the issue we appreciate any insight you can give. If you have a fix for it, please feel free to open a PR!

Might be a duplicate of #750


Unable to continue if decline supabase integration

Describe the bug
I wanted to create an app that integrates with supabase. Bolt wanted to integrate with supabase. I started to, but then decided against it. I'm ok with filling in the key, url, etc myself after the fact.
But after I declined. It seems like it was just stuck. I add additional prompts. I don't think I could even go back and accept supabase integration.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-scmh9kfx
Validations

[X] Please make your project public or accessible by URL. This will allow anyone trying to help you to easily reproduce the issue and provide assistance.

Steps to reproduce

Write a prompt something like this:

I want to create a node backend server. It should have an endpoint that receive a username, password and account type.
The endpoint should add the user to supabase.
There should be another callback endpoint that supabase uses once the user is created. Once it's called, the endpoint should update another table that links the supabase user with the account type.

Bolt will say  "I'll help you connect to Supabase."

Go into supabase, but then decline.

Prompt is disabled.

Expected behavior
After declining, Bolt just continues to accept prompts and continue on it's merry way (even though it's not able to run)
Screen Recording / Screenshot

Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 67804596,
  "usedJSHeapSize": 58075484,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = kory-ae
Chat ID = 651f657ae87e

Additional context
No response

I have the same problem. I had a project that was working perfectly with Supabase, but now the system is asking me to connect to Supabase, not recognizing that I was already using it. As a result, I cannot continue working on the project because the prompts are disabled. This is a very frustrating issue.


Investigate the callbacks

The manifest name and progress url are obvious callbacks to the Plex web application.
Need to get the payloads in these APIs identified. Perhaps using a proxy that will intercept local host traffic?

These callbacks likely need something passed in for authentication and authorization.
Simply executing the calls manually didn’t work.


feat: header scroll animation (#54)

Happy Hacktoberfest!
This pull request adds the header scroll animation shown in #54.

@GooglyBlox  hey could you star this repo thanks!


No update of task date fields possible

Since if have upgraded my Pixel 3 smartphone to Android version 10 last Friday, I am not able to update date fields "Beginn" and "Fällig" of an existing task anymore. All other changes on e.g. description, priority and also app's own checklist are working fine.
If trying to change one or both of the date fields and submit with save, the app mostly returns to detailed (read-only) view of the specific task with no change. Sometimes the whole app crashes and Android popup window asks to close the app.
I am using DAVx5 to sync my CALDAV calendars.
OpenTasks Version: 1.1.20
Phone : Google Pixel 3
Android Version: 10

Could be related to #823. I'll try this on Android 10.

Does this also happen when updating the due date in the details view (using the +1h or +1d buttons)?

No. When using the +1h or +1d buttons in the details view, due date is updated and stored correctly. This will help me to have a workaround. Thanks


Getting Started

Hello, I just pulled permissionscope into my project via cocoapods, I followed your instructions but permissions don't pop up for my iphone 6 only the emulator

Hey @AdventureOfMar, are you using this in an existing project? Keep in mind the dialog will only open if you have unaccepted permissions; it's automatically bypassed if all the permissions are already granted.

Hi @nickoneill :) I am, first time building the app on my iphone 6 and the dialogs never appear. My xcode is xcode 7 with swift 2.1

I'm not sure what the issue is. We could potentially narrow it down if you post the relevant code that you're using for permissionscope.

import Foundation
import UIKit
import Parse
import CoreAudio
import PermissionScope
import Parse
class loginViewController: UIViewController, UITextFieldDelegate {
let pscope = PermissionScope()

// This constraint ties an element at zero points from the bottom layout guide

@IBOutlet weak var emailUsernameTextField: UITextField!

@IBOutlet weak var passwordTextField: UITextField!

@IBOutlet weak var scrollView: UIScrollView!
@IBOutlet weak var faitLogo: UIImageView!
@IBOutlet weak var fbVerticalSpace: NSLayoutConstraint!

@IBOutlet weak var contentContainerView: UIView!
@IBOutlet weak var contentContainerVerticalSpace: NSLayoutConstraint!

@IBOutlet weak var loginButton: UIButton!
@IBOutlet weak var forgotPassword: UIButton!

@IBOutlet weak var emailLabel: UILabel!
@IBOutlet weak var emailLabelConstraint: NSLayoutConstraint!
@IBOutlet weak var emailUnderline: grayLine!
@IBOutlet weak var emailUnderlineConstraint: NSLayoutConstraint!

@IBOutlet weak var passwordLabel: UILabel!
@IBOutlet weak var passwordLabelConstraint: NSLayoutConstraint!
@IBOutlet weak var passwordUnderline: grayLine!
@IBOutlet weak var passwordUnderlineConstraint: NSLayoutConstraint!

@IBOutlet weak var signUpConstraint: NSLayoutConstraint!

var actInd: UIActivityIndicatorView = UIActivityIndicatorView(frame: CGRectMake(0,0,150,150)) as UIActivityIndicatorView
var timesThroughAnimation = 0
var ct = true
var firstAnimation = true

//var labelFont:UIFont             = .systemFontOfSize(14)
//var  buttonFont:UIFont            = .boldSystemFontOfSize(14)

override func viewDidLoad() {
    super.viewDidLoad()
     self.actInd.center = self.view.center
        self.actInd.hidesWhenStopped = true
    self.actInd.activityIndicatorViewStyle = UIActivityIndicatorViewStyle.Gray
    view.addSubview(self.actInd)
    loginButton.hidden = true
    emailUsernameTextField.delegate = self
    passwordTextField.delegate = self

    pscope.authorizedButtonColor = UIColor(red: 0.38, green: 0.56, blue: 0.68, alpha: 1)
    pscope.permissionButtonBorderColor  = UIColor(red: 0.38, green: 0.56, blue: 0.68, alpha: 1)
    pscope.permissionButtonTextColor = UIColor(red: 0.38, green: 0.56, blue: 0.68, alpha: 1)
    pscope.unauthorizedButtonColor = UIColor(red: 0.84, green: 0.46, blue: 0.46, alpha: 1)
    pscope.closeButtonTextColor = UIColor(red: 0.38, green: 0.56, blue: 0.68, alpha: 1)
     //public var labelFont:UIFont             = .systemFontOfSize(14)
    //pscope.labelFont.familyName = "helvetica"'
    //let font = UIFont(name: "opensans-regular-webfont", size: 14)
    //pscope.labelFont = font!
    //pscope.buttonFont = font!
    setupInput()
    keyboardGoAway()

    // Set up permissions
    pscope.addPermission(CameraPermission(),
        message: "Permission for your camera so you can take sweet pictures")
    pscope.addPermission(MicrophonePermission(),
        message: "Permission for your mic so you can record video/sound")
    pscope.addPermission(PhotosPermission(),
        message: "Permission for your photos so you can get previously taken pictures")

}

override func prefersStatusBarHidden() -> Bool {
    return true
}
override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
}
// an example of how to use the unified permissions API
func checkContacts() {
    switch PermissionScope().statusContacts() {
    case .Unknown:
        // ask
        PermissionScope().requestContacts()
    case .Unauthorized, .Disabled:
        // bummer
        return
    case .Authorized:
        // thanks!
        return
    }
}

@IBAction func askPermissions(sender: AnyObject) {

    // Show dialog with callbacks
    //permission scope errors called here

    pscope.show({ (finished, results) -> Void in
        print("got results \(results)")
        }, cancelled: { (results) -> Void in
            print("thing was cancelled")
    })

}

//MARK: Check to see status of  textfield input then animate login button slide in slide out
var timer: NSTimer? = nil

func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -> Bool {

    timer?.invalidate()
    timer = NSTimer.scheduledTimerWithTimeInterval(0.2, target: self, selector: Selector("getHints:"), userInfo: textField, repeats: false)

    return true
}

func getHints(timer: NSTimer) {

    //println("Hints for textField: \(timer.userInfo!)")
    statusOfField()

}

func statusOfField(){

    if(isEmpty(emailUsernameTextField) && isEmpty(passwordTextField)){
        if(ct ==  true){

        self.loginButton.slideInFromLeft()
        self.loginButton.hidden = false
         ct = false
        }
    }

    else {

       self.view.layoutIfNeeded()
        UIView.animateWithDuration(0.5, animations: {
            self.loginButton.hidden = true
            self.view.layoutIfNeeded()

            })

        ct = true
    }

}

//MARK: Check If Empty

func isEmpty(field: UITextField) -> Bool{

    let textField = field.text

    if (!textField!.isEmpty) {
    return true
    }
    else {
    return false
    }

}

func setupInput(){
    // Do any additional setup after loading the view, typically from a nib.
    emailUsernameTextField.attributedPlaceholder = NSAttributedString(string:"Email/Username", attributes:[NSForegroundColorAttributeName: UIColor(red: (123/255.0), green: (129/255.0), blue: (133/255.0), alpha: 1.0)])

    passwordTextField.attributedPlaceholder = NSAttributedString(string:"Password", attributes:[NSForegroundColorAttributeName:  UIColor(red: (123/255.0), green: (129/255.0), blue: (133/255.0), alpha: 1.0)])
}

//NARJ: Getting rid of keeyboards
func keyboardGoAway(){

    let swipe: UISwipeGestureRecognizer = UISwipeGestureRecognizer(target: self, action: "dismissKeyboard")

    swipe.direction = UISwipeGestureRecognizerDirection.Down

    self.view.addGestureRecognizer(swipe)

    emailUsernameTextField.delegate = self
    passwordTextField.delegate = self

    let tapRec = UITapGestureRecognizer()
    tapRec.addTarget(self, action: "tappedView")
    contentContainerView.addGestureRecognizer(tapRec)
    contentContainerView.userInteractionEnabled = true
}

func tappedView(){
    self.view.endEditing(true)
    self.view.endEditing(true)
    self.view.layoutIfNeeded()
    UIView.animateWithDuration(0.5, animations: {
        self.contentContainerVerticalSpace.constant = 100
        self.signUpConstraint.constant = 15
        self.faitLogo.transform  = CGAffineTransformMakeScale(1.0, 1.0)
        self.fbVerticalSpace.constant = 50
        self.view.layoutIfNeeded()
        self.firstAnimation = true
    })

}
override func viewWillDisappear(animated: Bool) {
    super.viewWillDisappear(animated)
    UIApplication.sharedApplication().statusBarHidden = false

}

func dismissKeyboard(){
    self.view.endEditing(true)
    self.view.layoutIfNeeded()
    UIView.animateWithDuration(0.5, animations: {
        self.contentContainerVerticalSpace.constant = 100
        self.signUpConstraint.constant = 15
        self.faitLogo.transform  = CGAffineTransformMakeScale(1.0, 1.0)
         self.fbVerticalSpace.constant = 50
        self.view.layoutIfNeeded()
         self.firstAnimation = true
    })

}

func textFieldShouldReturn(textField: UITextField) -> Bool {

    if textField == self.emailUsernameTextField {

         self.passwordTextField.becomeFirstResponder()
    }

    switch textField {
    case self.emailUsernameTextField:
        self.passwordTextField.becomeFirstResponder()
        break
    case self.passwordTextField:
        self.resignFirstResponder()
        self.view.endEditing(true)
        self.view.layoutIfNeeded()
        UIView.animateWithDuration(0.5, animations: {
            self.contentContainerVerticalSpace.constant = 100
            self.signUpConstraint.constant = 15
            self.faitLogo.transform  = CGAffineTransformMakeScale(1.0, 1.0)
            self.fbVerticalSpace.constant = 50
            self.view.layoutIfNeeded()
            self.firstAnimation = true
        })

        break

    default:
        break
    }

    textField.resignFirstResponder()
    return true
}

func textFieldDidBeginEditing(textField: UITextField) {

    if(firstAnimation == true ){
        self.view.layoutIfNeeded()
        UIView.animateWithDuration(0.5, animations: {
            self.contentContainerVerticalSpace.constant = 2
            self.faitLogo.transform  = CGAffineTransformMakeScale(0.5, 0.5)
            self.fbVerticalSpace.constant = 16
            self.signUpConstraint.constant = 30
            self.view.layoutIfNeeded()

            }, completion: {
                (value: Bool) in
                self.firstAnimation = false
        })

    }

    if (textField == emailUsernameTextField){

    scrollView.setContentOffset(CGPointMake(0, 25), animated: true)

    }
    else{

    scrollView.setContentOffset(CGPointMake(0, 25), animated: true)

    }

    //println(timesThroughAnimation)

}

func textFieldDidEndEditing(textField: UITextField) {

        scrollView.setContentOffset(CGPointMake(0, 0), animated: true)
}

/*override func shouldPerformSegueWithIdentifier(identifier: String!, sender: AnyObject!) -> Bool {

}*/

//MARK: Actions

@IBAction func loginAction(sender: AnyObject) {

    let username = self.emailUsernameTextField.text
    let password = self.passwordTextField.text
    _ = false

        self.actInd.startAnimating()

        PFUser.logInWithUsernameInBackground(username!, password: password!, block: {(user, error)  ->
        Void in

            self.actInd.stopAnimating()

            if((user) != nil){

                /*var alert = UIAlertView(title: "Succcess", message: "logged In", delegate: self, cancelButtonTitle: "OK")
                alert.show()*/
                self.performSegueWithIdentifier("login", sender: self)
            }
            else{

                /* var alert = UIAlertView(title: "Error", message: "\(error!.localizedDescription)", delegate: self, cancelButtonTitle: "OK")

                alert.show()*/

                //var errorCode_e

                let userField = self.emailUsernameTextField

                let userLine = self.emailUnderline

                let passwordField = self.passwordTextField

                let passwordLine = self.passwordUnderline

                let animation = CABasicAnimation(keyPath: "position")

                animation.duration = 0.07

                animation.repeatCount = 4

                animation.autoreverses = true

                let part = [userField,userLine, passwordField,passwordLine]

                for items in part  {

                    animation.fromValue = NSValue(CGPoint: CGPointMake(items.center.x - 10, items.center.y))

                    animation.toValue = NSValue(CGPoint: CGPointMake(items.center.x + 10, items.center.y))

                    items.layer.addAnimation(animation, forKey: "position")
                }

            }

        })

}

@IBAction func forgotPasswordAction(sender: AnyObject) {
    let username = self.emailUsernameTextField.text

    PFUser.requestPasswordResetForEmailInBackground(username!, block: { (succeeded: Bool, error: NSError?) -> Void in
        if error == nil {
            if succeeded { // SUCCESSFULLY SENT TO EMAIL
                print("Reset email sent to your inbox");
            }
            else { // SOME PROBLEM OCCURED
            }
        }
        else { //ERROR OCCURED, DISPLAY ERROR MESSAGE
            print(error!.description);
        }
    });
}

}

Here's my code, I think that I've been asking the wrong question. I completely looked over the show.pscope function and now getting the dialog to appear but, whenever I click the button to allow access to permissions or click on the "show me" button. I'm taken to the ios settings but the only thing that appears under allow access is cellular

data

Give this a shot without the debugger, i.e. run it on a device without Xcode. See #61 for a case where "show me" links don't work with the debugger.

Hmm, I'm not exactly sure that this is my issue. I've tried resetting my phone, deleting the app rebuilding, and running without the build strictly running on the device and still no luck. No matter what item I call to request permissions for i.e. contacts, location, photos, camera, microphone non of these items appear under Settings/AppName. The app name is correct but I'm not sure what I'm doing wrong.  I deleted the cocopod and reinstalled and still no luck either. When i download the zip from your repo everything works perfectly. A few errors that are being printed are as follows
2015-11-03 16:17:31.463 Notice[2602:810922] _BSMachError: (os/kern) invalid capability (20)
2015-11-03 16:17:31.464 Notice[2602:810922] _BSMachError: (os/kern) invalid name (15)
got results [Camera Unauthorized, Microphone Unknown, Photos Unknown]

Could you edit PermissionScope.swift (Line 1140) and replace it with the following lines:
dispatch_after(0.2, dispatch_get_main_queue(), ^{
UIApplication.sharedApplication().openURL(settingsUrl!)
});

From the Apple dev forums:

Changing Localization native development region in info.plist to United States instead of en


Update rbac.md

Addresses: https://github.com/kubernetes/website/issues/7388
@steveperry-53 can you please review/approve?

/lgtm

@liggitt  made changes. Could you please review. Thanks!

/lgtm

@steveperry-53  could you please approve and merge?

@liggitt @tengqm  Do either of you have merge access?

no, the doc team has approval for this repo
@kubernetes/sig-docs-pr-reviews

Thanks for adding. I'll makes sure to add them for future PRs.


Can't figure out how to add alias to tables

Cannot figure out how to create a join with the same table and renaming it using the as parameter to create an alias. Is it supported? If so, I would really like to see an example.
Example:
SELECT event.* FROM event JOIN event AS parent ON parent.`id` = event.`parent_id` WHERE parent.`created_date` > NOW()

Using a subquery can make it work.

No because subQueries makes aliases like this
(SELECT * FROM Table WHERE 1=1) as MYALIAS

So if i need something like this the subQuery will not be enough
SELECT * FROM posts AS child WHERE (SELECT * FROM posts AS `parent` WHERE parent.`id` = child.`parent_id`)

It would make sense if there was an optional alias option on the table method.

Solution below:
$query = $qb
    ->table(array('event' => 'eventOrAnotherAlias'))
    ->select('eventOrAnotherAlias.*')
    ->leftJoin(array('event', 'parent'), 'parent.id', '=', 'eventOrAnotherAlias.parent_id')
    ->where($qb->raw('parent.created_date > NOW()'))

I checked. It works!

This can be closed. Probably related to #149. @usmanhalalit


User guide: Registry web application

WMO Codes Registry web application - don’t think we need this as it should be obvious how to use the site from the design - suggest getting rid

this section might have some content to cherry-pick for other topics which we identify, but it is not useful in it's current state, it is too bound to a particular implementation of the UI and too detailed in many places


Swiper stops working when importing built Vue script in HTML file

Check that this is really a bug

[X] I confirm

Reproduction link
https://github.com/azzazkhan/swiper-vue-bug
Bug description
I am using Vite to bundle my global Vue.js components inside a Laravel app. I'm using CDN links to import Swiper styles and scripts. When I import the Vue file all the swiper sliders on the page stop working, neither the autoplay is working nor the slides are moving even when trying to drag or click on navigation buttons.
I've tried to replicate my app as closely as possible that's why I've added it all to a new Laravel project. The issue is when the app.mount('#app') snippet is run in the resources/ts/index.ts file where app is a Vue application instance.
I'm using multiple sliders on a single page in my actual application and Vue.js is also a requirement for my project but when I disable Vue, Swiper works normally and if I enable it, the sliders stop working.
I've deployed the application on test.devdoodles.blog for reference you can see the slider on main page is not working as the Vue script is imported but /working route does not import the Vue script and it is working fine.
Please suggest a workaround for this.
Expected Behavior
All swiper sliders should work normally when Vue app is initialized
Actual Behavior
When I import the Vue file all the swiper sliders on the page stop working, neither the autoplay is working nor the slides are moving even when trying to drag or click on navigation buttons.
Swiper version
10.3.1
Platform/Target and Browser Versions
Windows 11 Ubuntu 22.04 (WSL2) Brave Version 1.58.135 Chromium: 117.0.5938.140 (Official Build) (64-bit)
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

Please let me know if it is not possible then I should migrate to another library.


Simple SSH Port Configuration

Just add a little bit code to config port for SSH command.

Thanks for the contribution. It's not enough to make it work (port is duplicated into strport, and options can be entered in any order, but I'm going to take it and work on it).


Error in ploting posterior results

Hi, Junior! I hope you are doing well
I'm having a problem to plot the posterior results simulations.
I've already tried the solutions discussed on issues #104  and #105.
In fact, my script is very similar with the one in issue #104, as I also used the example of Tao Zha to elaborate my script (attached).
When I try to plot, the same error message appears:

plot_posteriors(estim_models{imod},Results{imod})
Error using ksdensity>parse_args (line 186)
Invalid parameter name: NumPoints.

Error in ksdensity (line 114)
[axarg,yData,n,ymin,ymax,xispecified,xi,u,m,kernelname,...
Error in C:\Users\Eleonora\Documents\GitHub\RISE_toolbox\m+distributions\kernel_density.p>kernel_density
(line 65)
Error in
<EMAIL_ADDRESS>(line 286)
Error in
<EMAIL_ADDRESS>(line 243)
I've already tried various alternatives ways, like: >> plot_posteriors(estim_models{imod},Results{imod}.pop.x), but then the following error appears:

plot_posteriors(estim_models{imod},Results{imod}.pop.x)
Cell contents reference from a non-cell array object.

Error in
<EMAIL_ADDRESS>(line 78)
Error in<EMAIL_ADDRESS>(line
35)
Error in
<EMAIL_ADDRESS>(line 171)
But when I call Results{1,1}.pop.x, I get my values corresponding with my draws..
My guess is that Results{1, 1}.pop <1x10000 struct> needed to be n_parameters x n_draws, rigth?
Do you know how could I corrected with?
Best regards,
Eleonora.
Eleonora.zip

Hi Eleonora,
If you type which ksdensity you will see which ksdensity function is used. I suspect on your matlab search path there is a function with the same name and that is not the function that RISE expects to use.
RISE uses the ksdensity function from Matlab.
Cheers,
J.


Add HOC to authentication

Add it to the login and register components, this makes it more readable and easier to maintain.
Move all the shared logic to the HOC.

After investigating:
It has no use implementing a HOC here.


riverpod with flutter_hooks may use StatelessWidget

flutter_hooks was created to avoid the cost of creating StatefulWidgets, but HookConsumerWidget is a StatefulWidget. Can it be changed?

It's not so much about the "cost" of creating StatefulWidgets, but about the ability to reuse stateful logic.
StatefulWidget is also a very lightweight structure.


[Feature] Rocket Unloader and Loader

I try to automate mining satellite but i hurt a problem , the rocket unloader do this job to well , i can auto insert an asteroid chip in my rocket but the unloader pick it before the rocket launch.
My sugesstion is to make a whitelist/blacklist systeme for the different hatch/loader (fluid and item).

Hmm, yes, very yes.  I like this idea.

Still in loader unloader feature we can't shut down an unloader from doing his job.
My sugesstion is to make 2 redstone control :
-the input one for turning it OFF or ON
-the output one for his actual job BUT the output signal should be given by a comparator pointing into it (self-feeding redstone signal problem otherwise)

Satellites also unloads from Satellie Bay by Unloader before rocket ic launched


Plugin emits error if all tslint issues are fixed.

Plugin emits error even If all reported issues are auto fixed by tslint.
gulp-tslint version: 8.0.0
tslint version: 5.2.0
Operating system: Debian

Can you provide more information? E.g. your configuration? Even better would be a repository that can be pulled

Sorry, I do not have enough time to prepare example project right now. And the issue is not configuration issue.
tslint returns LintResult.fixes array. gulp-tslint should somewhere check if all errors were fixed (something like failures.length < fixes.length) and should not emit error in that case.

In my project I use plugin like:
var gulp = require('gulp),
      gulpTsLint = require('gulp-tslint'),
      tslint = require('tslint');

gulp.task('tslint', function () {
    var program = tslint.Linter.createProgram('tsconfig.json');
    return gulp.src('src/**/*.ts')
        .pipe(gulpTsLint({
            configuration: 'tslint.json',
            fix: true,
            formatter: 'prose',
            program: program,
            tslint: tslint
        }))
        .pipe(gulpTsLint.report());
});

tslint.json is:
{
  "rules": {
    "class-name": true,
    "curly": true,
    "eofline": true,
    "forin": true,
    "indent": [
      true,
      "spaces"
    ],
    "label-position": true,
    "max-line-length": [
      true,
      120
    ],
    "no-arg": true,
    "no-bitwise": true,
    "no-console": [
      true,
      "debug",
      "info",
      "time",
      "timeEnd",
      "trace"
    ],
    "no-construct": true,
    "no-debugger": true,
    "no-duplicate-variable": true,
    "no-empty": false,
    "no-eval": true,
    "no-string-literal": false,
    "no-trailing-whitespace": true,
    "no-use-before-declare": true,
    "one-line": [
      true,
      "check-open-brace",
      "check-catch",
      "check-else",
      "check-whitespace"
    ],
    "quotemark": [
      true,
      "single"
    ],
    "radix": true,
    "semicolon": [
      true,
      "never"
    ],
    "triple-equals": [
      true,
      "allow-null-check"
    ],
    "variable-name": false,
    "whitespace": [
      true,
      "check-branch",
      "check-decl",
      "check-operator",
      "check-separator"
    ]
  }
}

As an example you can use following code:
const a = 1;
const b = 2;

It will emit error because of semicolon rule failures though they are autofixed.

Thank you, that's detailed enough! I missed the word "auto" in your post so I thought it could've been a configuration issue.


Add support for using a config file

Add support for using a config file

Won't fix this either. I'll probably end up using aliases if I need to set defaults.


10.0 redis clustering

Hi @sujiar37
10.0 is available but i rabbitmq is replace by redis
i have see redis cluster is possible with master an slave but i don't know if is target for the cluster awx
because is use socket
https://github.com/ansible/awx/pull/6034/files
Do you have see ? do you have any idea of integration of redis in the cluster ?

i have maybe found awx it's now using postgres for inter-node communication i try and send feedback

Indeed 11.0.0 is the latest tag.
On each node local Redis communicates with local web sockets connected to the web interface.
Events relevant to the entire cluster are now communicated thru PostgreSQL.
In future versions Redis will most likely also replace the role of Memcached.
Custom clustering with RabbitMQ as this playbook provides seems to no longer be relevant.

https://github.com/ansible/awx/issues/5443

@sebstyle yes clustering use notification postgresql for communication internode

Just chiming in - AWX isn't using any sort of redis clustering; every redis on every node is unaware of the others (if you all have questions, I'm happy to answer them).

Just chiming in - AWX isn't using any sort of redis clustering; every redis on every node is unaware of the others (if you all have questions, I'm happy to answer them).

Hi Ryan,
What is the high-level process for clustering Local Docker installations now that Redis is implemented and inter-node communication is done through PostgreSQL?

I have clustered some AWX nodes by just writing a wrapper around the official role local_docker
I have not fully tested every feature, but these are the steps required that I know of:

clone AWX-Repository by Tag on execution host to e.g. /tmp/awx
create dir ~/.awx/awxcompose on target host
copy /tmp/awx/installer/roles/image_build/files/settings.py to ~/.awx/awxcompose/settings.py on target host
replace CLUSTER_HOST_ID = "awx" of copied settings.py with your AWX nodes accessible FQDN, e.g. CLUSTER_HOST_ID = "host.domain.tld"

lineinfile with regexp did the trick for me

note that your individual secrets should be the same across all nodes, so stuff them somewhere save, in a vault for example:

secret_key
admin_password
broadcast_websocket_secret - this is needed, as otherwise your AWX nodes can not communicate their events over /socket

the only real "hack" here is the following:

we have to somehow include ~/.awx/awxcompose/settings.py in each awx_web & awx_task container
as here and here project_data_dir is used in volumes in docker-compose.yml, we can replace this with a multiline string, to give us another volume without needing to modify the official role local_docker
see below at passed vars to include_role for an basic example

then just use Ansibles include_role and pass all vars, that are normally fetched from the inventory-file:

- name: 'include official installation role "local_docker"'
  include_role:
    name: '/tmp/awx/installer/roles/local_role'
  vars:
    secret_key: '{{ lookup("your_secret_provider_plugin", "params") }}'
    admin_password: '{{ lookup("your_secret_provider_plugin", "params")}}'
    broadcast_websocket_secret: '{{ lookup("your_secret_provider_plugin", "params") }}'
    pg_hostname: 'your_postgres_server'
    project_data_dir: "      - \"~/.awx/awxcompose/settings.py\":\"/etc/tower/settings.py\"\n      - \"{{ your_desired_project_data_dir }}"
    (...)

Hi everyone. How about this: https://github.com/fitbeard/awx-ha-cluster
I borrowed ideas from this repo long time ago and now i’m running 11+ ha cluster in prod for some time. Still using generated static uuid instead fqdn. Everything tested and working very well.

Hi everyone. How about this: https://github.com/fitbeard/awx-ha-cluster
I borrowed ideas from this repo long time ago and now i’m running 11+ ha cluster in prod for some time. Still using generated static uuid instead of fqdn. Everything tested and working very well.

I've used a lot of your functionality in making my own AWX 11+ installer, particularly your use of a Key Vault lookup plugin! (You use Hashicorp, I use AKV, but same idea!) I'd been wrestling for a while with how to use the inventory file securely...but avoiding it completely is entirely nicer.

Hi everyone. How about this: https://github.com/fitbeard/awx-ha-cluster
I borrowed ideas from this repo long time ago and now i’m running 11+ ha cluster in prod for some time. Still using generated static uuid instead of fqdn. Everything tested and working very well.

Thanks for sharing it! Gonna test ASAP.

Hi @ryanpetrello
Do you know why the web node try to contact all worker node in cluster in same port of web node ?
The worker is not exposed with docker
AWX version 11.2
2020-06-04 15:36:04,890 DEBUG    awx.main.wsbroadcast Connection from vldvaawx02-web to vldvaawx02-worker attempt number 10.
2020-06-04 15:36:04,892 WARNING  awx.main.wsbroadcast Connection from vldvaawx02-web to vldvaawx01-worker failed: 'Cannot connect to host vldvaawx01-worker:443 ssl:False [Connect call failed ('<IP_ADDRESS>', 443)]'.
2020-06-04 15:36:04,893 DEBUG    awx.main.wsbroadcast Connection from vldvaawx02-web to vldvaawx01-worker attempt number 10.
2020-06-04 15:36:09,897 WARNING  awx.main.wsbroadcast Connection from vldvaawx02-web to vldvaawx02-worker failed: 'Cannot connect to host vldvaawx02-worker:443 ssl:False [Connect call failed ('<IP_ADDRESS>', 443)]'.
2020-06-04 15:36:09,898 DEBUG    awx.main.wsbroadcast Connection from vldvaawx02-web to vldvaawx02-worker attempt number 11.
2020-06-04 15:36:09,900 WARNING  awx.main.wsbroadcast Connection from vldvaawx02-web to vldvaawx01-worker failed: 'Cannot connect to host vldvaawx01-worker:443 ssl:False [Connect call failed ('<IP_ADDRESS>', 443)]'.
2020-06-04 15:36:09,901 DEBUG    awx.main.wsbroadcast Connection from vldvaawx02-web to vldvaawx01-worker attempt number 11.
thanks

@chris93111,
Yep.  Starting with the removal of RabbitMQ, when a playbook runs on a certain node, the stdout events are broadcast to all other cluster nodes via websockets/ASGI over port 443.
This is how you can run a playbook on Node A, but view the streaming stdout results on Node B.  Previously, our RabbitMQ clustering had a similar model which required shared network activity amongst the nodes, and this ASGI traffic in the redis implementation is the analog to that behavior.

@ryanpetrello thanks for you response , ok i inderstand now ! but in this config the task can't run without web in node ? all node must contain worker and web composant right ?

@chris93111 With the way AWX works today, that's correct.

@chris93111 since we're discussing it, another thing you may care to know about this - though I don't think it strictly affects clustering - is that in the near future, we're considering removing memcached entirely (because redis sort of serves the same purpose).  I don't anticipate any notable changes for you all downstream aside from "point Django's caching at redis instead of memcached"
Details here:
https://github.com/ansible/awx/issues/6932
https://github.com/ansible/awx/pull/7240/
This is likely coming in the next major version of AWX in the coming weeks (12.0.0).

@ryanpetrello yes i have read this in google ansible project :)
Thanks for this information ;)

@fitbeard This is great, thank you so much for your work and helping the community with the recent updates. Unfortunately, I couldn't look deeper and follow up after the version 10.0 with the introduction of redis clustering.
@ryanpetrello Appreciate your comments and thank you for those information's.


String formats are not being validated

Nuget Package
JsonSchema.Net
Package Version
7.1.2
Operating System
Windows
.Net Target (if relevant, please specify the version in the description)
.Net (5 or after)
A clear and concise description of the bug.
Validating data in JSON format against its schema is not enforcing format tags.
What did you expect?
Validation should fail if a string is not matching the expected format.  I ran my schema and test data on the online JSON Schema validator (saved test here: https://www.jsonschemavalidator.net/s/rNQqUw8J) and the validator fails the data as expected.
Please add test code or steps to reproduce the behavior.
Running the following code in a basic console app does not cause
`var schemaJson = """
{
"type": "object",
"properties": {
"DateCreated": {
"type": "string",
"format": "date-time"
}
},
"required": [
"DateCreated"
]
}
""";
var schema = JsonSchema.FromText(schemaJson);
var dataJson = """
{
"DateCreated": "Not a date",
}
}
""";
var results = schema.Evaluate(JsonNode.Parse(dataJson), new EvaluationOptions
{
OutputFormat = OutputFormat.List
});
var evalResult = JsonSerializer.Serialize(results, new JsonSerializerOptions
{
WriteIndented = true
});
Console.WriteLine(evalResult);`
Is there any other information you'd like to share regarding this bug?
No response
Code of Conduct & Contributor Guidelines

[X] I agree to follow this project's Code of Conduct and Contribution Guidelines.

Hey thanks for the question.  Please read through the format validation section of the documentation.
Per the specification, format does not validate by default.
https://docs.json-everything.net/schema/basics/#schema-format

I apologize, I missed an option in the EvaluationOptions object that enabled format validation. I assumed it was something that would be enabled by default and hadn't noticed it previously.


Route53 service controller

New ACK Service Controller
Support for Route53
List of API resources
List the API resources in order of importance to you:

HostedZone
TrafficPolicy
ResourceRecordSet
ResolverEndpoint
ResolverRule

In particular for me, this would be very handy for EKS ingress bootstrapping.  Today, we create the load balancer via a service with a type: LoadBalancer which creates an ELB, but in order to map it into our domain we have to do a weird terraform lookup based on some tags.  So, our bootstrap process is 3 part:

Run terraform to make the EKS cluster, security groups, etc, then fail the lookup on the load balancer (because it doesn't exist yet)
Submit bootstrap yamls to the EKS cluster, which creates the load balancer
Re-run terraform so that it picks up the load balancer and can create the route53 entries

Having Route53 control within k8s would allow us to not have that initial failure, remove step 3 completely, and have more confidence that our terraform/yaml doesn't fall out of sync.

/remove-lifecycle stale

Very much looking forward to creating recordsets along with rules injected from alb ingress . Probably can be integrated with alb ingress controller itself and stand as a separate entity.

Is it possible to get a status on this?  Wondering if we are talking months away or years.


Component without path prop rendered in Switch makes all following routes render nothing

Version
5.2.0
Test Case
https://codesandbox.io/s/switch-case-1u65v
Steps to reproduce

Put any component in a Switch component that does not have a path prop, and then put an actual Route after it.
Everything after a component without the path prop will be ignored by Switch, resulting in rendering nothing.

Expected Behavior
I think React Router should either:

Throw an error/warning that you're trying to render something you shouldn't in the Switch component
Ignore components that aren't instances of Route in the Switch component

Actual Behavior
The Switch component ignores everything after a non-Route (or specifically a component that does not have a path prop) which results in that everything that's being rendered before that component (and the component itselt) works, and everything after doesn't.
Notes
Here's the problematic logic: https://github.com/ReactTraining/react-router/blob/b6826980ee0d89267ebac4f066ab8ed517536f2c/packages/react-router/modules/Switch.js#L12-L46
It assumes that every component in Switch has a path prop, and when it doesn't it just assigns the match to context.match, which apparently is already defined, which makes all of the following components being ignored.

Switch doesn't nest. It only works on direct children. This has always been the case of how it works.

@timdorr I think you didn't understand the case. Whenever you will render anything other than Route in the Switch component, every Route after that non-Route component will stop to work.
    <Router>
      <Switch>
        <SomeComponent />
        <Route path="/blog">Blog Posts</Route>
        <Route path="/users">User Directory</Route>
      </Switch>
    </Router>

https://codesandbox.io/s/switch-case-forked-eq6qq


first commit - added footer

Title: Addition of Footer Section
Description:
This pull request adds a footer section to the website, enhancing its overall structure and providing a consistent user experience. The footer includes essential information, such as the company logo, a brief message, and relevant contact details.
Changes Made:

Created a new <footer> section in the HTML file.
Added appropriate content, including a company logo and a concise message.
Styled the footer using CSS to ensure a visually appealing and cohesive design.
Ensured responsiveness and compatibility across different devices.

Purpose:
The addition of the footer section aims to improve the website's usability and professionalism. It provides users with easy access to important information and enhances the overall navigation experience. This pull request contributes to the overall polish and completeness of the website.
Please review and provide any feedback or suggestions for improvement.

That is awesome @Gibz-nate


Filter dropdown is closed when I click/focus on select2 element

Describe the bug
Filter dropdown is closed when I click/focus on select2 element
And when I start typing on the select2, all the elements is hiding.
This bug happens on orchid/platform:10.4.0 and up
This bug does not happen on orchid/platform:10.3.0
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Google Chrome
Version 91.0.4472.101 (Official Build) (64-bit)

Server (please complete the following information):

Platfrom Version: 10.4.0 and 10.5.0
Laravel Version: 8
PHP Version:  7.3
Database:  MySQL
Database Version:  5

I'm facing the same problem in 10.6.0


Chrome bowser "Cannot read property 'filter' of undefined"

Clean browser local cache. Likely you have dirty data in the cache.

I've cleared the chrome cache and it doesn't work.
I've replaced my computer,  the same question

Check our demo env, if it works, then it is your local env issue.


How can I infer my own video just like a demo?

https://github.com/bbepoch/HoiTransformer/issues/18


Sometimes the options don't load

I stripped the code down to what you see below, and 10% of the time the options don't load on page load. Any ideas?
import React from "react";
import ReactGlobe from "react-globe";

function Globe() {

  return (

      <ReactGlobe
        height={"100vh"}
        options={{
          globeGlowColor: "#0A69FB",
          globeCloudsOpacity: 1.0,
        }}
        width={"100vw"}
      />
  );
}

export default Globe;

My workaround to this was to use useEffect when the globe object was available, and also use a kinda yucky setTimeout.
// Only run once the globe object exists
  useEffect(() => {
    if (!globe) {
      return;
    }

    // Wait a second and re-add the same options
    setTimeout(() => {
      globe.updateOptions(options);
    }, 1000);
  }, [globe]);


It needs configurations to delay some time after typing and to set background color.

It interferes to type too frequently
Also, black background of suggestion is stressful in white theme.

Hi thanks for trying out Copilot for Xcode and sharing your feedback!
To troubleshoot the background color issue, would you mind installing this debug build and sharing the logs (~/Library/Logs/GitHubCopilot/github-copilot-for-xcode.log) after running it?
https://github.com/github/CopilotForXcode/releases/download/0.27.92/GitHubCopilotForXcode_debugThemeLogging.dmg


[feature] integrate with lspkind

would it be possible to integrate with lspkind-nvim or automatically infer the icons defined in vim.lsp.protocol.CompletionItemKind? I know users can do that manually, but I think this could provide a nice OOTB feeling of integration
EDIT: sharing my config
use({
    "SmiteshP/nvim-gps",
    after = { "nvim-treesitter", "lspkind-nvim" },
    module = "nvim-gps",
    config = function()
        local getkind = function(kind)
	    local kinds = vim.lsp.protocol.CompletionItemKind
            return kinds[kinds[kind]]:match("^.*%s")
        end
        require("nvim-gps").setup({
            icons = {
                ["class-name"] = getkind("Class"),
                ["function-name"] = getkind("Function"),
                ["method-name"] = getkind("Method"),
                ["container-name"] = getkind("Enum"),
                -- ["tag-name"] = ' '
            },
        })
    end,
})

This should be possible but I would prefer not to depend on another plugin for symbols. It would limit me to use only those symbols. I would rather have the users make this decision for themselves. 🤷🏽♂
Maybe adding a section to the readme file would be a better option for people looking for such integration 🤔


Export models to ONNX

ONNX is a language and platform agnostic format for serializing finally trained models (including tree-based ones).

Now we can serialize AADForest. PineForest and IsolationFoest still have to be done.


S3 backed AMIs only have 2GB for root partition

Since ab0ddac8f97cc7e05fe2e9376a47ddb3e6db3554 EBS and S3 backed AMIs have only 2GB for root partition.
For EBS that's fine since it's indeed can be resized, but that's not possible for S3. If you want to deploy something to the instance it will run out of disk space.
I propose we always create 8GB images, but use qemu-img resize to scale them down for EBS/HVM type.
cc @edolstra @rbvermaa

The fact that nobody's complained about this in over a year is probably reasonable indication that nobody uses the instance store AMIs anyway. Amazon's been discouraging/phasing out the instance store for a while. At some point (maybe 17.03 or the next release) it'll probably make sense for us to stop generating those AMIs.

Agreed, I've moved over to EBS. Let's just leave it around for some time and remove it..

The ideas was that on instance-store instances, we can use the ephemeral disks as a unionfs on top of /nix and /var, so we don't need a lot of space for the root filesystem. However, many recent instance types don't have (much) ephemeral storage. So indeed you're better of using EBS.


(DOC-1967) document puppet device

normalize setup of puppet agents used to run puppet device
correct markdown

there seems to be repeated use of netscalar, not netscaler

Thanks, I'll correct that when I return from vacation July 12. My past in mathematics is catching up to me... "What's the difference between a mountain climber and a mosquito? One's a scalar and one's a vector."

Corrected netscalar

@tphoney I reviewed this PR, and just merged the same thing for f5. So if you want to merge this one, it looks good to me.


Meta.pkl always need to be loaded in evaluate.py

line 57 meta.pkl is read regardless of collect_meta being true.
If this is moved to line 85, introduces an error as It is being used for the static embedding on line 100

This should be fixed in 1445299


feat(@angular/build): introduce outputMode option to the application builder

The outputMode option defines the build output target, offering two modes:

'static': Generates a static site suitable for deployment on any static hosting service. This mode can produce a fully client-side rendered (CSR) or static site generated (SSG) site. When SSG is enabled, redirects are handled using the <meta> tag.
'server': Produces an application designed for deployment on a server that supports server-side rendering (SSR) or a hybrid approach.

Additionally, the outputMode option determines whether the new API is used. If enabled, it bundles the server.ts as a separate entry point, preventing it from directly referencing main.server.ts and excluding it from localization.
This option will replace appShell and prerendering when server routing configuration is present.
closes https://github.com/angular/angular-cli/issues/27356
closes https://github.com/angular/angular-cli/issues/27403
closes https://github.com/angular/angular-cli/issues/25726
closes https://github.com/angular/angular-cli/issues/25718
closes https://github.com/angular/angular-cli/issues/27196

Are there any example on how to use this?

@alan-agius4 So glad this is finally solved, thank you! When will it be released? And could you please provide an example how to setup an ssr app with i18n enabled, so we can get rid of the workaround mentioned here: https://github.com/angular/angular-cli/issues/25726
Thx :)

@patricsteiner, this is part of Angular version 19 which is currently in pre-release. The schematics will be updated to use the new API. In the meantime you can check this test for an example.


Make pybind11 a non-submodule dependency

After some consideration, I would keep it the way it was and instead subscribe to the pybind11 release news.


As TA sort order of columns does not match sort_order database value

When viewing GBNG as a TA with GRADE All Categories on All Sections / Groups the assignment column sort order doesn't match that of the instructor and is indeed out of order based on the sort_order database value.
The gradebook does not have categories enabled.

Confirmed.


How to create Virtual relations with ActiveRecords

Problem:
We are facing problem with statistics data, like on our business model customer has orders, reward points, feedbacks, complaints and some more relations.
when we run a get one customer we have to find all orders, max order, min order, number of order placed by customer in one branch, highest order by branch all these data is required to generates graphs.
how we are using it right now is to create multiple relation in model and get like this.
 $model = Customer::find()
            ->with([
                'firstOrder',
                'highSumOrder',
                'lowestSumOrder',
                'orderSourceCount',
                'order',
                'loyalty'
            ])
            ->where(['id' => $id])
            ->one();

And for this we are creating to many functions in model class that i don't want, so i am if there is any way to achieve this by virtual relationship like we define only one relation and utilized that for all possibilities.
eg.
$model = Customer::find()
            ->with([
                'order as FirstOrder' => function($query) {
                     $query->orderBy(['date' => SORT_ASC])->limit(1)
               },
                'order as highestSum' => function($query) {
                     $query->orderBy(['total_sum' => SORT_DESC])->limit(1)
               },
               .
               .
               .
            ])
            ->where(['id' => $id])

Like in above example we will use "order" as base relation and create FirstOrder from base relation.

related #6951

My implementation of 'Virtual Fields' #8316 would solve your problem.
Added advantage is that it doesn't use join so it won't break other queries when using joinWith.
The problem with using 1 relation for multiple aggregations is that they fail or become overcomplicated as soon as there are other joins / groupings in place.

A 'client server approach' to the problem: Create a view in the database that produces just the values and names you want. Access it in Yii just like a (separate) table, only UPDATE (save) will not work.
The performance should also be much butter, at least with real DBs like PostgreSQL.

Please, see https://github.com/yiisoft/yii2/issues/12491 and https://github.com/yiisoft/yii2/commit/2250612cb861947c3fcaab91f0d60d116978a88e for the solution


Build lua table from JSON data

I believe it would make more sense to build a lua table with the data from neuron query --graph once in a while.
That way we have all the correct data at hand, when we need it.
Example: When look for links (to make extmarks e.g), we are now able to know what we are looking for from the get go. It'll also allow us to point out:

where there might be incorrectly formatted links.
where there might be links, to notes not yet created.
all vertices not connected to other notes.
an adjacency map pointing to notes "above" and "below"
etc. etc. etc.

We need to find a way to update the graph. Are we just going to let a timer run with the update function? Or update on save?

We need to find a way to update the graph. Are we just going to let a timer run with the update function? Or update on save?

sql.nvim looks very promising. Maybe we could serialize the lua table? Not sure if that would work, just an idea

sql.nvim looks very promising. Maybe we could serialize the lua table? Not sure if that would work, just an idea

After the latest update to Neuron 1.9.7 this is no longer relevant. Starting over again.
I'll take a look at sql.nvim 👍

After the latest update to Neuron 1.9.7 this is no longer relevant. Starting over again.
I'll take a look at sql.nvim 👍


Fix typos in the styish formatter documentation

PR checklist

[ ] Addresses an existing issue: #0000
[ ] New feature, bugfix, or enhancement

[ ] Includes tests

[x] Documentation update

Overview of change:
Fixes typos.
Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:

Thanks for your interest in palantir/tslint, @dguo! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Thanks @dguo


fastlane match does add iOS distribution certificate to the Debug/development provisioning profile

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Our development team is having an issue where our Debug provisioning profile does not include the iOS distribution certificate. Instead it uses the iOS Developer certificate. All developers are signed in using the same iOS developer account and all developers are using match to manage certificates and profiles. Is this how match works by design? We need to make sure we're using the same certificate for Debug and Release so iOS Universal linking will work for development and production.

Generate .cert and .p12, push to git repo. When you run match in local, pull from git repo. So it is same certificate for each team member.

@saitjr thanks for the response! I'm not sure how to do that... I can't seem to explicitly tell match to use a specific certificate for a specific provisioning profile. Currently I'm generating certificates like this....
   lane :regenerate_certificates do
    match(
      app_identifier: "[redacted]",
      type: "development",
      force: true
    )
    match(
      app_identifier: "[redacted]",
      type: "adhoc",
      force: true
    )
    match(
      app_identifier: "[redacted]",
      type: "appstore",
      force: true
    )
  end

And developers are retrieving them on their local machines like this...
  lane :certificates do
    match(
      app_identifier: "[redacted]",
      type: "development",
      readonly: true
    )
    match(
      app_identifier: "[redacted]",
      type: "adhoc",
      readonly: true
    )
    match(
      app_identifier: "[redacted]",
      type: "appstore",
      readonly: true
    )
  end

It seems like what I'd want to would look something like this...
   lane :regenerate_certificates do
    match(
      app_identifier: "[redacted]",
      certificate_id: "XYXYXYX",
      type: "development",
      force: true
    )
    match(
      app_identifier: "[redacted]",
      certificate_id: "XYXYXYX",
      type: "adhoc",
      force: true
    )
    match(
      app_identifier: "[redacted]",
      certificate_id: "XYXYXYX",
      type: "appstore",
      force: true
    )
  end

@alexanderritola match does not have the ability to select a certain certificate. Any development profiles in match will be made with the the user's "Development Certificate". Only adhoc and appstore will get made with a "Distribution Certificate"


feat: add clear_kv_cache to mistral and qmistral models

This PR simply adds clear_kv_cache to the Attention, DecoderLayer and Model structs, for both mistral and quantized mistral.
**TLDR; helpful when calling forward more than once to avoid reinitializing the model

Thanks!

@LaurentMazare, not sure if you saw my PR, but it adds analogous methods for the Llama models.


Provide a regexp to get rid of auto-closing tags

I've run into in an issue while serving my files with Google Drive.
I don't know why but having self closing tags just mess everything.
Using gulp-replace width this regex seems to fix the issue.
    .pipe(/<(\w*)\s([^\/<]*)\/>/gi, '<$1 $2></$1>'))

I should provide this regexp to the plugin.

not necessary anymore.