Build failed with g++-7 in ubuntu 16.04

Hi, Leo.
The CI build  failed with g++-7 in ubuntu 16.04.

OS version: ubuntu 16.04
Compiler version: g++-7, gcc-7
Dependency version: libboost1.58-dev,libeigen3-dev,libgtest-dev

The full log and reproducing steps can be found here.
Hit:1 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  pkg-config
Suggested packages:
  libboost1.58-doc libboost-atomic1.58-dev libboost-chrono1.58-dev
  libboost-context1.58-dev libboost-coroutine1.58-dev
  libboost-date-time1.58-dev libboost-exception1.58-dev
  libboost-filesystem1.58-dev libboost-graph1.58-dev
  libboost-graph-parallel1.58-dev libboost-iostreams1.58-dev
  libboost-locale1.58-dev libboost-log1.58-dev libboost-math1.58-dev
  libboost-mpi1.58-dev libboost-mpi-python1.58-dev
  libboost-program-options1.58-dev libboost-python1.58-dev
  libboost-random1.58-dev libboost-regex1.58-dev
  libboost-serialization1.58-dev libboost-signals1.58-dev
  libboost-system1.58-dev libboost-test1.58-dev libboost-thread1.58-dev
  libboost-timer1.58-dev libboost-wave1.58-dev libboost1.58-tools-dev
  libmpfrc++-dev libntl-dev libeigen3-doc libmrpt-dev
The following NEW packages will be installed:
  libboost1.58-dev libeigen3-dev libgtest-dev pkg-config
0 upgraded, 4 newly installed, 0 to remove and 21 not upgraded.
Need to get 7127 kB of archives.
After this operation, 112 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libboost1.58-dev amd64 1.58.0+dfsg-5ubuntu3.1 [6222 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libgtest-dev amd64 1.7.0-4ubuntu1 [198 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 pkg-config amd64 0.29.1-0ubuntu1 [45.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libeigen3-dev all 3.3~beta1-2 [663 kB]
Fetched 7127 kB in 1s (5116 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 4.)
debconf: falling back to frontend: Readline
Selecting previously unselected package libboost1.58-dev:amd64.
(Reading database ... 22577 files and directories currently installed.)
Preparing to unpack .../libboost1.58-dev_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
Unpacking libboost1.58-dev:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
Selecting previously unselected package libgtest-dev:amd64.
Preparing to unpack .../libgtest-dev_1.7.0-4ubuntu1_amd64.deb ...
Unpacking libgtest-dev:amd64 (1.7.0-4ubuntu1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
Unpacking pkg-config (0.29.1-0ubuntu1) ...
Selecting previously unselected package libeigen3-dev.
Preparing to unpack .../libeigen3-dev_3.3~beta1-2_all.deb ...
Unpacking libeigen3-dev (3.3~beta1-2) ...
Setting up libboost1.58-dev:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
Setting up libgtest-dev:amd64 (1.7.0-4ubuntu1) ...
Setting up pkg-config (0.29.1-0ubuntu1) ...
Setting up libeigen3-dev (3.3~beta1-2) ...
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/gcc-7
-- Check for working C compiler: /usr/bin/gcc-7 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++-7
-- Check for working CXX compiler: /usr/bin/g++-7 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "3.2.92")
-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Building GTest from /usr/src/gtest
-- Building tests
-- Boost version: 1.58.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wave_geometry/build
Scanning dependencies of target gtest
[  1%] Building CXX object gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[  3%] Linking CXX static library libgtest.a
[  3%] Built target gtest
Scanning dependencies of target gtest_main
[  5%] Building CXX object gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[  7%] Linking CXX static library libgtest_main.a
[  7%] Built target gtest_main
Scanning dependencies of target noise_test
[  9%] Building CXX object test/CMakeFiles/noise_test.dir/noise_test_wave_RotationQd.cpp.o
In file included from /usr/include/eigen3/Eigen/Core:297:0,
                 from /usr/include/eigen3/Eigen/Geometry:11,
                 from /home/wave_geometry/include/wave/geometry/geometry.hpp:8,
                 from /home/wave_geometry/include/wave/geometry/debug.hpp:8,
                 from /home/wave_geometry/test/estimation/../test.hpp:12,
                 from /home/wave_geometry/test/estimation/noise_test.cpp:1,
                 from /home/wave_geometry/build/test/noise_test_wave_RotationQd.cpp:6:
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp: In constructor 'wave::FullNoise<Leaf>::FullNoise(const Eigen::MatrixBase<OtherDerived>&)':
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:27:9: error: 'size_of_xpr_at_compile_time' is not a member of 'wave::internal'
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, OtherDerived)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:27:9: note: suggested alternative:
In file included from /usr/include/eigen3/Eigen/Core:298:0,
                 from /usr/include/eigen3/Eigen/Geometry:11,
                 from /home/wave_geometry/include/wave/geometry/geometry.hpp:8,
                 from /home/wave_geometry/include/wave/geometry/debug.hpp:8,
                 from /home/wave_geometry/test/estimation/../test.hpp:12,
                 from /home/wave_geometry/test/estimation/noise_test.cpp:1,
                 from /home/wave_geometry/build/test/noise_test_wave_RotationQd.cpp:6:
/usr/include/eigen3/Eigen/src/Core/util/XprHelper.h:226:35: note:   'Eigen::internal::size_of_xpr_at_compile_time'
 template<typename XprType> struct size_of_xpr_at_compile_time
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/eigen3/Eigen/Core:297:0,
                 from /usr/include/eigen3/Eigen/Geometry:11,
                 from /home/wave_geometry/include/wave/geometry/geometry.hpp:8,
                 from /home/wave_geometry/include/wave/geometry/debug.hpp:8,
                 from /home/wave_geometry/test/estimation/../test.hpp:12,
                 from /home/wave_geometry/test/estimation/noise_test.cpp:1,
                 from /home/wave_geometry/build/test/noise_test_wave_RotationQd.cpp:6:
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:27:9: error: '::ret' has not been declared
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, OtherDerived)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:27:9: error: expected primary-expression before 'int'
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, OtherDerived)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:27:9: error: expected ')' before 'int'
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:27:9: error: expected ')' before ';' token
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, OtherDerived)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:27:9: error: expected ',' before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:27:9: error: expected string-literal before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:27:9: error: expected ')' before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp: In constructor 'wave::FullNoise<Leaf>::FullNoise(Eigen::MatrixBase<OtherDerived>&&)':
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:36:9: error: 'size_of_xpr_at_compile_time' is not a member of 'wave::internal'
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, OtherDerived)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:36:9: note: suggested alternative:
In file included from /usr/include/eigen3/Eigen/Core:298:0,
                 from /usr/include/eigen3/Eigen/Geometry:11,
                 from /home/wave_geometry/include/wave/geometry/geometry.hpp:8,
                 from /home/wave_geometry/include/wave/geometry/debug.hpp:8,
                 from /home/wave_geometry/test/estimation/../test.hpp:12,
                 from /home/wave_geometry/test/estimation/noise_test.cpp:1,
                 from /home/wave_geometry/build/test/noise_test_wave_RotationQd.cpp:6:
/usr/include/eigen3/Eigen/src/Core/util/XprHelper.h:226:35: note:   'Eigen::internal::size_of_xpr_at_compile_time'
 template<typename XprType> struct size_of_xpr_at_compile_time
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/eigen3/Eigen/Core:297:0,
                 from /usr/include/eigen3/Eigen/Geometry:11,
                 from /home/wave_geometry/include/wave/geometry/geometry.hpp:8,
                 from /home/wave_geometry/include/wave/geometry/debug.hpp:8,
                 from /home/wave_geometry/test/estimation/../test.hpp:12,
                 from /home/wave_geometry/test/estimation/noise_test.cpp:1,
                 from /home/wave_geometry/build/test/noise_test_wave_RotationQd.cpp:6:
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:36:9: error: '::ret' has not been declared
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, OtherDerived)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:36:9: error: expected primary-expression before 'int'
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, OtherDerived)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:36:9: error: expected ')' before 'int'
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:36:9: error: expected ')' before ';' token
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, OtherDerived)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:36:9: error: expected ',' before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:36:9: error: expected string-literal before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:36:9: error: expected ')' before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp: In constructor 'wave::DiagonalNoise<Leaf>::DiagonalNoise(const Eigen::DiagonalBase<DiagonalDerived>&, const Eigen::DiagonalBase<D2>&)':
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:92:9: error: 'size_of_xpr_at_compile_time' is not a member of 'wave::internal'
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, D1)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:92:9: note: suggested alternative:
In file included from /usr/include/eigen3/Eigen/Core:298:0,
                 from /usr/include/eigen3/Eigen/Geometry:11,
                 from /home/wave_geometry/include/wave/geometry/geometry.hpp:8,
                 from /home/wave_geometry/include/wave/geometry/debug.hpp:8,
                 from /home/wave_geometry/test/estimation/../test.hpp:12,
                 from /home/wave_geometry/test/estimation/noise_test.cpp:1,
                 from /home/wave_geometry/build/test/noise_test_wave_RotationQd.cpp:6:
/usr/include/eigen3/Eigen/src/Core/util/XprHelper.h:226:35: note:   'Eigen::internal::size_of_xpr_at_compile_time'
 template<typename XprType> struct size_of_xpr_at_compile_time
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/eigen3/Eigen/Core:297:0,
                 from /usr/include/eigen3/Eigen/Geometry:11,
                 from /home/wave_geometry/include/wave/geometry/geometry.hpp:8,
                 from /home/wave_geometry/include/wave/geometry/debug.hpp:8,
                 from /home/wave_geometry/test/estimation/../test.hpp:12,
                 from /home/wave_geometry/test/estimation/noise_test.cpp:1,
                 from /home/wave_geometry/build/test/noise_test_wave_RotationQd.cpp:6:
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:92:9: error: '::ret' has not been declared
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, D1)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:92:9: error: expected primary-expression before 'int'
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, D1)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:92:9: error: expected ')' before 'int'
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:92:9: error: expected ')' before ';' token
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, D1)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:92:9: error: expected ',' before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:92:9: 01;31merror: expected string-literal before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:92:9: error: expected ')' before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:93:9: error: 'size_of_xpr_at_compile_time' is not a member of 'wave::internal'
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, D2)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:93:9: note: suggested alternative:
In file included from /usr/include/eigen3/Eigen/Core:298:0,
                 from /usr/include/eigen3/Eigen/Geometry:11,
                 from /home/wave_geometry/include/wave/geometry/geometry.hpp:8,
                 from /home/wave_geometry/include/wave/geometry/debug.hpp:8,
                 from /home/wave_geometry/test/estimation/../test.hpp:12,
                 from /home/wave_geometry/test/estimation/noise_test.cpp:1,
                 from /home/wave_geometry/build/test/noise_test_wave_RotationQd.cpp:6:
/usr/include/eigen3/Eigen/src/Core/util/XprHelper.h:226:35: note:   'Eigen::internal::size_of_xpr_at_compile_time'
 template<typename XprType> struct size_of_xpr_at_compile_time
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/eigen3/Eigen/Core:297:0,
                 from /usr/include/eigen3/Eigen/Geometry:11,
                 from /home/wave_geometry/include/wave/geometry/geometry.hpp:8,
                 from /home/wave_geometry/include/wave/geometry/debug.hpp:8,
                 from /home/wave_geometry/test/estimation/../test.hpp:12,
                 from /home/wave_geometry/test/estimation/noise_test.cpp:1,
                 from /home/wave_geometry/build/test/noise_test_wave_RotationQd.cpp:6:
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:93:9: error: '::ret' has not been declared
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, D2)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:93:9: error: expected primary-expression before 'int'
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, D2)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:93:9: error: expected ')' before 'int'
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:93:9: error: expected ')' before ';' token
         EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(MatrixType, D2)
         ^
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:93:9: error: expected ',' before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:93:9: error: expected string-literal before ';' token
/home/wave_geometry/include/wave/geometry/src/estimation/Noise.hpp:93:9: error: expected ')' before ';' token
test/CMakeFiles/noise_test.dir/build.make:62: recipe for target 'test/CMakeFiles/noise_test.dir/noise_test_wave_RotationQd.cpp.o' failed
make[2]: *** [test/CMakeFiles/noise_test.dir/noise_test_wave_RotationQd.cpp.o] Error 1
CMakeFiles/Makefile2:268: recipe for target 'test/CMakeFiles/noise_test.dir/all' failed
make[1]: *** [test/CMakeFiles/noise_test.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

Hi Yu! Happy to see you are trying the library!
It looks like the error occurs on the travis build of your fork... why don't you just copy my travis setup?
Anyway, that error message looks like it is using an older version of Eigen. wave_geometry requires Eigen 3.3.2.

I guess you would like to use the library on xenial. If that is a real need, I would consider a PR that unofficially supports Eigen 3.3-beta2 (since right now, it looks like those assert macros are the only truly incompatible thing). The problem is that it's a pain to test xenial versions of packages on travis -- which answers my question about what you are doing with travis :stuck_out_tongue:

@leokoppel  You have done a good job as always!  Thank you very much for the help!
Sorry for missing the version requirement for the Eigen library. I have tested the code using Eigen-3.3.5 without any problem.
Yes. You are right. I am trying to use your library in motion planning on xenial.


build(root): added new github action

Added action to add comment with QA link to issue
Related issue
#15

A rebase off develop may be needed for this branch so it only picks up your changes


text service backend for non-chunked (local) files

we haven't really worked out how text service backends work (whether they are a completely different kind of pluggable component to widgets) but I wanted to make a note about creating a text service backend for handling non-chunked files that are either local or just served up as-is via HTTP.
e.g. I have a MorphGNT word-per-line file on disk for an entire book; or I have a TEI XML file for an entire work.
There's no reason we couldn't have a component that loads this into the store and does the chunking client side.

Even if the text service backend isn't a widget I can see us having a widget for each text service backend that just gives info about the text service used for current passage.

I am going to provide a bit more context in more technical detail for anyone outside of myself and @jtauber. This may help aide in coming up with a way to implement this feature.
The Reader component is serving two purposes at the moment. One is the text service and the other is providing a layout of widgets to support the text service. The work done on the unify-passage branch helped separate the rendering of the passage retrieved from the text service.
I'd like to see the parts which handling interaction with the text service moved out of the Reader and into something that can conform to a particular interface for that service, but also with hints of a generic interface (the Passage component is starting to design that interface).


implemented cards and column design

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #19
Test URLs:

Before: https://main--fonterra-fernleaf--hlxsites.hlx.page/en/products
After: https://19-column-and-card-block-theme--fonterra-fernleaf--hlxsites.hlx.live/en/products

@mkbansal1 , can you please point to the right test URLs where the implementation of blocks can be seen?
The test URLs should actually consist of URLs to the pages which are impacted by code in the particular PRs.

@asthabh23  i have corrected the urls

Thanks @mkbansal1 , few suggestions:

The product page isn't complete yet from the content perspective.
The product images aren't clickable yet, you would need to add that.
The headings for the products need to be left aligned

Franklin Implementation:

Original site:

Image not clickable - this is authoring
title on left - center align give better experience, so i made it center aligned, but will make it left

@asthabh23  I have made code fixes. Content can be updated later also.


Adding null var unit test

Fixes #298

@sfmskywalker the issue with that fix is that we should not mix null/non-null string parameters in a "compile query". We have a few of them in OC and we should ensure we are not accepting null values.

New update, I was able to create a compiled query cache based on what values are null in the compiled query state. Which means there are as many cached queries as potential nullable properties.

 FROM [tpDocument] INNER JOIN [tpPersonByAge] AS [PersonByAge_a1] ON [PersonByAge_a1].[DocumentId] = [tpDocument].[Id] WHERE (([PersonByAge_a1].[Age] = @p0) or ([PersonByAge_a1].[Name] IS NULL))
DEBUG: SELECT DISTINCT [tpDocument].* FROM [tpDocument] INNER JOIN [tpPersonByAge] AS [PersonByAge_a1] ON [PersonByAge_a1].[DocumentId] = [tpDocument].[Id] WHERE (([PersonByAge_a1].[Age] = @p0) or ([PersonByAge_a1].[Name] IS NULL))
DEBUG: SELECT DISTINCT [tpDocument].* FROM [tpDocument] INNER JOIN [tpPersonByAge] AS [PersonByAge_a1] ON [PersonByAge_a1].[DocumentId] = [tpDocument].[Id] WHERE (([PersonByAge_a1].[Age] = @p0) or ([PersonByAge_a1].[Name] IS NULL))
DEBUG: SELECT [tpDocument].* FROM [tpDocument] INNER JOIN [tpPersonByAge] AS [PersonByAge_a1] ON [PersonByAge_a1].[DocumentId] = [tpDocument].[Id] WHERE (([PersonByAge_a1].[Age] = @p0) or ([PersonByAge_a1].[Name] IS NULL)) LIMIT 1

Even though it's the same compiled query, the SQL is using "IS NULL" when null is pass as the name.

Awesome 👏🏻


fixed issue with elevator fluctuations at low airspeed in pitch controller

At low speeds and with RollFF > 0 airspeed correction for turn offset at ecl_pitch_controller.cpp
line 99 gets very sensitive to airspeed sensor fluctuations. This results in unmotivated elevator movings. In order to avoid that I suggest to limit lower bound of corrections to minspeed here.
Additional I noticed that the last and condition in ecl_pitch_controller.cpp line 178 will never be false because airspeed is bounded to minspeed further up. Same in ecl_roll_controller.cpp. So I removed that condition.

Many thanks! I had a brief look but need more time to wrap my head around the logic changes. Its certainly architecturally good to go in, I just want to do the usual peer review. Currently not expecting any requests for changes or only minor ones.

looks good, thanks


On fresh installation of laravel5.3 module command not appear with artisan.

Hello,
I have installed a fresh  laravel5.3 + this module but what is something went wrong that. I havent found any module command with artisan.
Does it support the laravel 5.3 or not?

it's my bad. was forget to publish the liberary in config/app.php


msghdr as a private field in MsgHdr/MsgMutHdr

Hi, could anyone help me here, msghdr exists as a private field in MsgHdr/MsgMutHdr, I can't get/set ip packet info using libc::CMSG_FIRSTHDR/CMSG_DATA/CMSG_NXTHDR etc, maybe we can expose msghdr as a public field?
It's not clear to me what should be done here now, to complete the C implementation of this example: https://github.com/a-ba/udp_sas/blob/master/src/udp_sas.c
/// Receive a datagram (low-level function)
///
/// Parameters
///
/// * `buf`: buffer for storing the payload
///
/// Returns a tuple containing:
///
///   * the size of the payload
///   * the source socket address (peer)
///   * the destination ip address (local)
///
/// Note: the source (peer) and destination (local) addresses may not be present in the result if
/// the underlying socket does not provide them.
pub fn udp_recv(
    socket: RawFd,
    buf: &mut [u8],
) -> io::Result<(usize, Option<SocketAddr>, Option<IpAddr>)> {
    let socket = unsafe { socket2::Socket::from_raw_fd(socket) };

    let mut src = new_sock_addr_uninit();
    let mut dst = new_sock_addr_uninit();

    let mut iov = [socket2::MaybeUninitSlice::new(unsafe {
        slice::from_raw_parts_mut(buf.as_mut_ptr() as *mut MaybeUninit<u8>, buf.len())
    })];
    let mut ctl = Vec::with_capacity(256);
    let mut ctl = ctl.spare_capacity_mut();

    let mut msg = socket2::MsgHdrMut::new()
        .with_addr(&mut src)
        .with_buffers(&mut iov)
        .with_control(&mut ctl);
    let nb = socket.recvmsg(&mut msg, 0)?;

    // TODO: how to set dst address to msg ip packet info

    Ok((nb, src.as_socket(), dst.as_socket().map(|addr| addr.ip())))
}

/// Send datagram (low-level function)
///
/// Return the size of the sent payload
///
/// Note: the source (local) and destination (target) addresses are optional.
pub fn udp_send(
    socket: RawFd,
    buf: &[u8],
    src: Option<&IpAddr>,     // local
    dst: Option<&SocketAddr>, // target
) -> io::Result<usize> {
    let socket = unsafe { socket2::Socket::from_raw_fd(socket) };

    let src = src.map_or_else(new_sock_addr_uninit, new_sock_addr_from_ip);
    let dst = dst.map_or_else(new_sock_addr_uninit, new_sock_addr_from_addr);
    let iov = [io::IoSlice::new(buf)];
    let ctl = Vec::with_capacity(256);

    let msg = socket2::MsgHdr::new()
        .with_addr(&dst)
        .with_buffers(&iov)
        .with_control(&ctl);

    // TODO: how to set src address to msg ip packet info

    let nb = socket.sendmsg(&msg, 0)?;

    Ok(nb as usize)
}

Hi, could anyone help me here, msghdr exists as a private field in MsgHdr/MsgMutHdr, I can't get/set ip packet info using libc::CMSG_FIRSTHDR/CMSG_DATA/CMSG_NXTHDR etc, maybe we can expose msghdr as a public field?

The whole point of MsgHdr and MsgHdrMut is to expose msghdr in a cross-platform supported way. So we will not expose msghdr as a public field. However we can add a method to get and set the IP packet info, similar to the with_buffers or with_flags methods. A pr for that would be welcome.

Sure, thanks for your explain, I might try it after the feature version is stable if possible.


Fix Dark Mode.

Tested on Firefox (102.0). It does not affect the bright mode on Firefox (102.0).
need more test.

Solved.

还有后面的缩进来着，也麻烦你改一下吧


Tab style reset when tab used as reusable component.

Hi everyone,
I have created small tabed form with Tab and Tabs component. It works fine with the following of documentation. But what i want to achieve is that instead defining same tabStyle, activeTabStyle, textStyle, activeTextStyle for each Tab that im creating, Create one component that wraps around this tab element which is defined with all the above mentioned properties. And then use that to render whatever the child content that im passing. It works without error. But the thing is the styles that im applying are not applied with this approach. Is there a workaround this ?
I attached code snippets as well to get a better understanding of my issue.
const TabItem = (props) => {
  return (
  <Tab `heading={props.heading}
      tabStyle={FormTabStyles.header}
      activeTabStyle={FormTabStyles.activetabheader}
      textStyle={FormTabStyles.text}
      activeTextStyle={FormTabStyles.activetext}
      >
      {props.children}
    </Tab>
  );
}

and to get the render i want i use it like below.
<Tabs tabBarUnderlineStyle={FormTabStyles.tabBarUnder}>
     <TabItem heading="Phone">
        <Text>Hello Tab Phone</Text>
     </TabItem>
    <TabItem heading="Car">
        <Text>Hello Tab Car</Text>
     </TabItem>
 </Tabs>

Am i missing something or doing this the wrong way ?
Thanks in advance.

@z3us94 The docs use case is running fine as far as styling is concerned. May be you are missing something in your custom component. Refer https://docs.nativebase.io/Customize.html#custom-component-headref

@suvenduchhatoi Thank you for the response.
yeah as i mentioned the default usage works fine with me too. the problem happens when i try to wrap my tab element into another component. Both custom component and the usage of it is included in the issue i mentioned in the form of code snippets.

Check the styling specified in docs for custom components . Follow the steps in your customized component https://docs.nativebase.io/Customize.html#custom-component-headref


Fix links to Flexbox / ShadowPropTypesIOS / Transforms in styles

Closes #5450
Test plan: boot up website server, navigate to http://localhost:8079/react-native/docs/view.html#content and click on the Flexbox, ShadowPropTypesIOS and Transforms links under the style prop section.

@facebook-github-bot shipit

merged


Rejected and talked down to by two local startups, now I work at InVisionApp

Interviewed and rejected by two local startups in medical and education spaces. They talked down to me during my interview, wouldn't respond to emails, and left me hanging. The following week I landed my job at InVision. :)

Sorry to hear the first part but awesome that you landed a great job!


API changes to support FOM/Keycloak data load

Describe the task

~(DB) Drop client_name column on forest_client table.~ Done (#340)
(API) Revise role_name constraint on fam_role table to include application_id and I think client_id (not sure) (Role constraint - 337)
(DB) Change existing FOM roles to have names "Submitter", "Reviewer".
(DB) Change role_purpose to nullable on fam_role.

Acceptance Criteria

[ ] first
[ ] second
[ ] third

Additional context

Assume API work less than a '1' task, else more team discussion required

PR#384 is addressing point 2 (unique constraint - role_name, application_id), but not the inclusion of client_id. I didn't recall there was conversation about that, also don't feel there is a need to include client_id in the constraint.
Not clear about point 3 means... however, our FOM role records do have "Submitter"
and "Reviewer" as ("FOM_SUBMITTER" and "FOM_REVIEWER"). So we can also cross this out.
@ArogeG

I reviewed PR #340 and PR #384 . Looks good to me.

@ianliuwk1019 Agreed that PR #384 did not need to include client_id in the UK. That would have been a mistake, because it would have allowed two "forest client roles" to have the same name. The point is to have unique names for all the roles underneath a single application.


Upgrade dotnet to v8.0 and upgrade C#  dependencies

Description

Upgrading to Latest Dotnet version for test framework also upgrading to Microsoft.Data.SqlClient driver from System.Data.SqlClient as it is deprecated check link

Also upgraded other packages being used to latest versions

Couple of changes for migrating to newer driver

Add a new switch in config called runInRegression to turn off encryption for sqlclient driver as its by default on in the new Package , For More Context check link

Add a appcontext switch to avoid rounding on decimals instead of truncation. More details https://github.com/dotnet/SqlClient/issues/2905

Signed-off-by: Nirmit Shah<EMAIL_ADDRESS>Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage remained the same at 74.865%

Files with Coverage Reduction
New Missed Lines
%

contrib/babelfishpg_tsql/runtime/functions.c
1
83.16%

contrib/babelfishpg_tds/src/backend/tds/tds.c
1
92.41%

Totals

Change from base Build<PHONE_NUMBER>6:
0.0%

Covered Lines:
46599

Relevant Lines:
62244

💛  - Coveralls


Schema "pattern" keyword does not work properly

Hello, I'm using Node.js v4.1.1 and Ajv v1.4.2
Test case
var Ajv = require("ajv"),
    schema =  {
        "type": "object",
        "properties": {
            "name": {
                "type": "string",
                "pattern": "/^\w+$/"
            }
        }
    };

var ajv = Ajv();
var validate = ajv.compile(schema);
validate({name: "John"}); // returns false

console.log(validate.errors)

[ { keyword: 'pattern',
dataPath: '.name',
message: 'should match pattern "/^w+$/"' } ]

@urlin The pattern is the regular expression content, without the slashes (that's JavaScript you are thinking of. Try it with "^\w+$".

The same problem:
[ { keyword: 'pattern',
    dataPath: '.name',
    message: 'should match pattern "^w+$"' } ]

@urlin You need a backslash before the w, so two \\ in your JSON. Otherwise you're only trying to match w+ which will only work with www, etc.

I see, thank you

No worries. Glad it's working now :smile:

Thank you @blakeembrey !


Bump junit from 4.11 to 4.13.1

Bumps junit from 4.11 to 4.13.1.

Release notes
Changelog
Commits

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>

Add .patch or .diff to the end of URLs for Git’s plaintext views.
From 9e0e3254de69427f728424a8ab553988a15a5f0d Mon Sep 17 00:00:00 2001
From: "dependabot[bot]"<EMAIL_ADDRESS>Date: Mon, 12 Oct 2020 20:58:03 +0000
Subject: [PATCH] Bump junit from 4.11 to 4.13.1
Bumps junit from 4.11 to 4.13.1.

Release notes
Changelog
Commits

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index c681c045..d3bc3028 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@

junit
junit

 <version>4.11</version>

 <version>4.13.1</version>
 <scope>test</scope>

Pipeline demo


CLI parameters with spaces broken since v14.3.5

Software versions

OS: Ubuntu 24.04 LTS
Pact Node version: v12.5.0
Node Version: v20.13.0
Other Versions: pact-core v14.3.6

Issue Checklist
Please confirm the following:

[x] I have upgraded to the latest
[x] I have the read the FAQs in the Readme
[x] I have triple checked, that there are no unhandled promises in my code
[ ] I have set my log level to debug and attached a log file showing the complete request/response cycle
[ ] For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem

Expected behaviour
CLIs handle quoted parameters with spaces, e.g. "my pact.json", as a single parameter.
Actual behaviour
Since v14.3.5, CLIs now treat quoted parameters as individual parameters, e.g. "my pact.json" is treated as two parameters my pact.json.
Steps to reproduce
An easy way to reproduce the issue is to run a CLI from v14.3.5 or v14.3.6 using npx. e.g. npx --package=<EMAIL_ADDRESS>-c 'pact-broker publish "my pact.json" --consumer-app-version 1'
The error output highlights that the filename (in bold) has been truncated at the space.

Specified pact file 'my' does not exist.

Compared to running the same command with v14.3.4. npx --package=<EMAIL_ADDRESS>-c 'pact-broker  publish "my pact.json" --consumer-app-version 1'

Specified pact file 'my pact.json' does not exist.

This may have been introduced by #504 as that was the only change between v14.3.4 and v14.3.5

Thanks for the repro, I've tested out a fix
npx --package=<EMAIL_ADDRESS>-c 'pact-broker publish "my pact.json" --consumer-app-version=1'
it doesn't set shell unless its windows, and if shell value is set, it escapes arguments based on the detected shell
https://github.com/YOU54F/pact-js-core/pull/45/files
will get a pr raised against this repo shortly

Fix released in 14.3.7
https://github.com/pact-foundation/pact-js-core/releases/tag/v14.3.7


Select a Github repository name

Regarding naming, in the meeting a couple of names were suggested:

dist-bio
hts-sharded

@tomwhite would also like to put forward the following (in the Spark sequencing vein):

squark
speeq

Re:  Apache Spark Trademark Guidelines
Software products, whether commercial or open source, are not allowed to use “Spark” in their name, except in the form “powered by Apache Spark” or “for Apache Spark” when following these specific guidelines.

Names derived from “Spark”, such as “sparkly”, are also not allowed.
Company names may not include “Spark”.
Package identifiers (e.g., Maven coordinates) may include “spark”, but the full name used for the software package should follow the naming policy above.

Re: Basic Name Search Considerations

Use internet search tools to be sure that there is no "similar" product, i.e. software for a specific purpose.
Even if a product name cannot be found via a search, if you are aware that it is being used for a similar product then we cannot use it.
You may want to choose a name that is easily remembered, is not too long, and is not difficult to spell.
Be culturally sensitive and avoid names that might offend.
Consider using functional names.
Be good citizens, i.e. do unto others as you would expect that they should do unto you. For example, treat the product names of others with respect, i.e. do not try a twist that is close to the name of a similar product.
Choose a sensible name early in a product's development, e.g. before mailing lists, package names, etc. Better to spend time now - your project will not want to change its product's name later.
See this as an important marketing opportunity, rather than a bother.
By carefully validating the uniqueness of our chosen names and clearly establishing first use in the field, we reduce the chances of future confusion.

-0 to dist-bio, only because it is similar to my own project dsh-bio
Here is a rabbit hole a I started going down looking for inspiration for names
https://en.wikipedia.org/wiki/Distributed_computing
https://en.wikipedia.org/wiki/Massively_parallel
https://en.wikipedia.org/wiki/Embarrassingly_parallel
https://en.wikipedia.org/wiki/Amdahl's_law#Parallelization
https://en.wikipedia.org/wiki/Parallel_(geometry)
https://en.wikipedia.org/wiki/Posidonius
https://en.wikipedia.org/wiki/Parallel_postulate
http://sites.math.rutgers.edu/~cherlin/History/Papers2000/eder.html
The word cloud from the ADAM docs is rather boring

I agree with @tomwhite - the Spark variants (squark/speeq) sounds good.

Squark has grown on me.  👍 to it.

I think Squark is too close to Sqoop, which is a trademarked Apache project already in the Hadoop/Spark ecosystem.
https://sqoop.apache.org/
I also think it fails the Names derived from “Spark”, such as “sparkly”, are also not allowed. guideline.
And nothing about it says biology or medicine or genomics to me.  Anyone have a favorite biologist?  Perhaps this list may inspire.
I personally like the Consider using functional names. guideline.  What is the one-line description for this project?  Genomics at scale.  Parallel genomics.  Distributed genomics.

A library for manipulating bioinformatics sequencing formats in Apache Spark.

As a general rule, any code that does not have a Spark or Hadoop dependency, or does not have a "distributed" flavor belongs in htsjdk.

ADAM is a genomics analysis platform with specialized file formats built using Apache Avro, Apache Spark and Parquet.

GATK4 aims to bring together well-established tools from the GATK and Picard codebases under a streamlined framework, and to enable selected tools to be run in a massively parallel way on local clusters or in the cloud using Apache Spark.

Hmn.  It is very close to spark, so you're probably right that it's a violation.
Some bad / terrible alternatives:
frankenstein named after a famous biologist who also used spark
rddr RDDer, but dropping the e is all the rage these days
setter for when we eventually change to using datasets, has a good dog as a logo option
panspermia what biology is more distributed than outer space spores?
franklin another scientist who worked with spark
clusterbam sharded bams... maybe not good to name ourselves after a banned weapon system though?
borg highly parallel distributed software, different copyright issues
I'm drawing a blank on anything good.  The functional names are fine, but they're very clunky.

Some weird suggestions playing with @heuermh's short/functional descriptions:

gas-hts (Genomics At Scale for Hight Throughtput Sequencing)
genom-as (Genomics At Scale)
as-genomics (At Scale Genomics)

And even more weird, based on scattering letters on the words:

no-ge-mics (Ge-no-mics Scattered )
sci-mone-g (reversed with some nice features: starting with sci and reference to the conductor Claudio Scimone)

I haven't done an extensive search, so it might clash with other products in the wild.
P.S.: just for fun - I realized that my full-name initials fit for a project name - DGS (Distributed Genomics at Scale).

Yeah, a lot of good words in https://en.wikipedia.org/wiki/Panspermia
If only Anaxagoras or Wickramasinghe were easier to spell.  :)

A couple of new ones (playing on parallel, distributed, and sequencing):

pasq
disq

disq is too similar to Disqus and there is a java project for queue/task executor (https://github.com/intelie/disq)

Names don't have to be unique, they just have to not risk confusion. (Search for "confusing similarity" on the Apache Trademarks page https://www.apache.org/foundation/marks/#principles.) Neither of the examples you cite are in the bio or genomics space, so there is little chance of confusion in a user's mind IMO.

Some more:
bamblaster
bamifold
parnomics
seqstorm
splitomics
So far, I think squark is my favorite.

I'd like to compile a shortlist to vote on. Please nominate up to two names to add to the list. Here are mine:

disq
speeq

Sorry, still in brainstorm mode

galvani, https://en.wikipedia.org/wiki/Luigi_Galvani
torpedo, https://en.wikipedia.org/wiki/Torpedo_(genus)
hypnos, https://en.wikipedia.org/wiki/Coffin_ray
electro, https://en.wikipedia.org/wiki/Electric_organ_(biology)#Electrocytes
stargazer, https://en.wikipedia.org/wiki/Stargazer_(fish)
blackghostknife, https://en.wikipedia.org/wiki/Ghost_knifefish

For the short list:

seqstorm
zapbam

If we go with zapbam we could try to claim this punching lightning bolt logo for some added pow!

https://github.com/arasatasaygin/openlogos/issues/4

I think we're bikeshedding this - let's call it disq and move on. I haven't heard any real objection to disq; it's simple and short - and neutral.

+1 for disq.
We could get a dot bio domain and include the domain as part of the name to help distinguish from disq.us and related.  For a logo, I can find someone to do up something like this:

Distributed disq throwing!  Maybe with a double helix pattern on the discs.

I'm still a fan of zapbam.

Let's not block this: 👍 to disq


能否添加 nodemon 以支持自动重启?

Clear and concise description of the problem
在修改 electron main.js 时, 窗口无法得到实时响应, 需要重启.
Suggested solution
能否添加  nodemon 以支持自动重启?
Alternative
No response
Additional context
No response
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

https://cn.electron-vite.org/guide/hot-reloading.html


wait_for_completion not valid

wait_for_completion call on line 62 of vsphere_vm_disk_extend.rb is not valid
C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/vim/Task.rb:11 in 'wait_for_completion': InvalidDeviceOperation: Invalid operation for device '0'. (RbVmomi::Fault)

Hi, thanks for bringing this up. Can you paste the command and complete output, please? Also the version of the knife-vsphere gem you're using, please and thank you.

Going to close this, if you're still having issues here @chef09210 please post your error here and we can continue debugging.

@jjasghar I am seeing this same issue. Here are some details:
knife-vsphere: 1.2.21
vsphere: 5.5.0
command I am running is:
knife vsphere vm disk extend test-vm 1000000  --folder myfolder  --vsdc mydatacenter -p mypassword --vshost myvhost -u myuser -VV
the vm is in a powered off state when running this command.
full stack trace:
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/vim/Task.rb:11:in `wait_for_completion': InvalidDeviceOperation: Invalid operation for device '0'. (RbVmomi::Fault)
       	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/knife-vsphere-1.2.21/lib/chef/knife/vsphere_vm_disk_extend.rb:62:in `run'
       	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/knife.rb:421:in `block in run_with_pretty_exceptions'
       	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/local_mode.rb:44:in `with_server_connectivity'
       	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/knife.rb:420:in `run_with_pretty_exceptions'
       	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/knife.rb:219:in `run'
       	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/application/knife.rb:148:in `run'
       	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/bin/knife:25:in `<top (required)>'
       	from /usr/local/bin/knife:49:in `load'
       	from /usr/local/bin/knife:49:in `<main>'

let me know if you need any more information

What size is the disk already? It may not be well documented but the second command line parameter (1 million in your example) sets the new size of the disk in kB, and you can't shrink a disk. So my guess is you're trying to add a gig of space, when what it's trying to do is shrink it to a gig and throwing an error.

@swalberg that was exactly it! this is working as expected. thank you!

Note for future self or anyone wanting to contribute:

It's not obvious that we're setting a new size rather than extending

Improve documentation
Change the behaviour to read the current size and add the param, but consider backwards compatibility
Or read the current size and error out if we know it's shrinking
Or DWIM and add it to the current size if it's less than the current size (need to think this one through)
Support friendlier params like 10g instead of needing 10 zeroes.


Missing packages without esy.lock

If the esy.lock is untouched, this app works, but attempting to rebuild the esy.lock folder throws the following error:
error: build failed with exit code: 1
  build log:
    # esy-build-package: building: revery@github:revery-ui/revery#431e515a00ee46f7bc614a10c2a219aae13179e0
    # esy-build-package: pwd: ~/.esy/source/i/revery__b844da77
    # esy-build-package: running: 'dune' 'build' '-p' 'reason-harfbuzz,reason-skia,reason-sdl2,Revery'
    File "src/dune", line 6, characters 12-23:
    6 |  (libraries console.lib lwt lwt.unix sdl2 Revery_Core Revery_Font Revery_Draw
                    ^^^^^^^^^^^
    Error: Library "console.lib" not found.
    Hint: try:
    dune external-lib-deps --missing -p
    reason-harfbuzz,reason-skia,reason-sdl2,Revery @install
        discover packages/reason-sdl2/src/c_flags.sexp,packages/reason-sdl2/src/c_library_flags.sexp,packages/reason-sdl2/src/cxx_flags.sexp,packages/reason-sdl2/src/flags.sexp
    SDL2 Library Folder Path: /Users/samminnee/.esy/3______________________________________________________________/i/esy_sdl2-2.0.10008-de4f481b/lib
    File "src/Core/dune", line 7, characters 20-31:
    7 |  (libraries threads console.lib str lwt sdl2 skia flex Rench re Revery_Native
                            ^^^^^^^^^^^
    Error: Library "console.lib" not found.
    Hint: try:
    dune external-lib-deps --missing -p
    reason-harfbuzz,reason-skia,reason-sdl2,Revery @install
    File "packages/zed/src/dune", line 7, characters 18-23:
    7 |  (libraries bytes react uucp uutf result charInfo_width))
                          ^^^^^
    Error: Library "react" not found.
    Hint: try:
    dune external-lib-deps --missing -p
    reason-harfbuzz,reason-skia,reason-sdl2,Revery @install
             gcc packages/reason-skia/src/wrapped/c/c_stubs.o
    c_stubs.c:30:53: warning: incompatible pointer types passing 'void *(void *, const char *)' to parameter of type 'gr_gl_get_proc' (aka 'void (*(*)(void *, const char *))(void)') [-Wincompatible-pointer-types]
                gr_glinterface_assemble_gl_interface(0, reason_skia_sdl2_get);
                                                        ^~~~~~~~~~~~~~~~~~~~
    /Users/samminnee/.esy/3______________________________________________________________/i/esy_skia-c3eadd32/include/c/gr_context.h:40:97: note: passing argument to parameter 'get' here
    SK_C_API const gr_glinterface_t* gr_glinterface_assemble_gl_interface(void* ctx, gr_gl_get_proc get);
                                                                                ^
    c_stubs.c:29:23: warning: initializing 'gr_glinterface_t *' (aka 'struct gr_glinterface_t *') with an expression of type 'const gr_glinterface_t *' (aka 'const struct gr_glinterface_t *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        gr_glinterface_t *interface =
                          ^
    c_stubs.c:36:55: warning: incompatible pointer types passing 'void *(void *, const char *)' to parameter of type 'gr_gl_get_proc' (aka 'void (*(*)(void *, const char *))(void)') [-Wincompatible-pointer-types]
                gr_glinterface_assemble_gles_interface(0, reason_skia_sdl2_get);
                                                          ^~~~~~~~~~~~~~~~~~~~
    /Users/samminnee/.esy/3______________________________________________________________/i/esy_skia-c3eadd32/include/c/gr_context.h:41:99: note: passing argument to parameter 'get' here
    SK_C_API const gr_glinterface_t* gr_glinterface_assemble_gles_interface(void* ctx, gr_gl_get_proc get);
                                                                                ^
    c_stubs.c:35:23: warning: initializing 'gr_glinterface_t *' (aka 'struct gr_glinterface_t *') with an expression of type 'const gr_glinterface_t *' (aka 'const struct gr_glinterface_t *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        gr_glinterface_t *interface =
                          ^
    4 warnings generated.
    File "src/Utility/dune", line 6, characters 20-31:
    6 |  (libraries threads console.lib str lwt sdl2 skia flex Rench re Revery_Core
                            ^^^^^^^^^^^
    Error: Library "console.lib" not found.
    Hint: try:
    dune external-lib-deps --missing -p
    reason-harfbuzz,reason-skia,reason-sdl2,Revery @install

Attempting to run that suggested command gives
 dune external-lib-deps --missing -p  reason-harfbuzz,reason-skia,reason-sdl2,Revery @install
Error: The following libraries are missing in the default context:
- Rench
- bos
- brisk-reconciler
- brisk-reconciler.ppx
- console.lib
- ctypes
- ctypes.stubs
- flex
- integers
- lru
- lwt_ppx
- markup
- omd
- ppx_deriving.show
- rebez.lib
- timber
- uucp
Hint: try:
  opam install Rench bos brisk-reconciler console ctypes flex integers lru lwt_ppx markup omd ppx_deriving rebez timber uucp

Note that this seems to be fixed by

Unpinning revery from the specific SHA
Adding refmterr to the project

    "refmterr": "^3.3.2",
    "revery": "revery-ui/revery"


Unable to build docker with tf annotation

Hi,
I am trying to build this project with tf annotation/gpu enabled. I was able to built it successfully and I cross-checked it is up and running. But, I am unable to access it through a browser. Please see attached screenshots.
However, when I built without tf annotation it was working fine. Any thoughts?
Thanks

@savan77 ,
Could you please attach logs from cvat container (docker logs cvat) and the command which was used to build and run CVAT with TF annotation?

Thanks @nmanovic .
After spending too much time on GPU, I decided to give it a try on CPU. Initially, it worked. But now its kind of random. Sometimes, it works and sometimes it does not. I am unable to figure out what's wrong. Please find the the log below. Also, I built with docker-compose build with required modifications to use TF Annotation (i.e adding url_patterns, tf_annotations, and 'yes' in Dockerfile).
2018-10-25 09:57:16,499 INFO RPC interface 'supervisor' initialized
2018-10-25 09:57:16,500 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2018-10-25 09:57:16,500 INFO supervisord started with pid 1
2018-10-25 09:57:17,503 INFO spawned: 'rqworker_low' with pid 10
2018-10-25 09:57:17,507 INFO spawned: 'runserver' with pid 11
2018-10-25 09:57:17,511 INFO spawned: 'rqworker_default_0' with pid 12
2018-10-25 09:57:17,515 INFO spawned: 'rqworker_default_1' with pid 13
2018-10-25 09:57:17,534 DEBG 'rqworker_low' stderr output:
wait-for-it.sh: waiting for cvat_redis:6379 without a timeout
2018-10-25 09:57:17,539 DEBG 'runserver' stderr output:
wait-for-it.sh: waiting for cvat_db:5432 without a timeout
2018-10-25 09:57:17,541 DEBG 'rqworker_low' stderr output:
wait-for-it.sh: cvat_redis:6379 is available after 0 seconds
2018-10-25 09:57:17,542 DEBG 'rqworker_default_0' stderr output:
wait-for-it.sh: waiting for cvat_redis:6379 without a timeout
2018-10-25 09:57:17,543 DEBG 'rqworker_low' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
2018-10-25 09:57:17,543 DEBG 'rqworker_default_1' stderr output:
wait-for-it.sh: waiting for cvat_redis:6379 without a timeout
2018-10-25 09:57:17,546 DEBG 'runserver' stderr output:
wait-for-it.sh: cvat_db:5432 is available after 0 seconds
2018-10-25 09:57:17,548 DEBG 'runserver' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
2018-10-25 09:57:17,548 DEBG 'rqworker_default_0' stderr output:
wait-for-it.sh: cvat_redis:6379 is available after 0 seconds
2018-10-25 09:57:17,548 DEBG 'rqworker_default_1' stderr output:
wait-for-it.sh: cvat_redis:6379 is available after 0 seconds
2018-10-25 09:57:17,549 DEBG 'rqworker_default_0' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
2018-10-25 09:57:17,549 DEBG 'rqworker_default_1' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
2018-10-25 09:57:18,550 INFO success: rqworker_low entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-10-25 09:57:18,551 INFO success: runserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-10-25 09:57:18,551 INFO success: rqworker_default_0 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-10-25 09:57:18,551 INFO success: rqworker_default_1 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-10-25 09:57:18,873 DEBG 'rqworker_default_1' stderr output:
09:57:18 Registering birth of worker bece3e763906.13
2018-10-25 09:57:18,874 DEBG 'rqworker_default_1' stderr output:
09:57:18 RQ worker 'rq:worker:bece3e763906.13' started, version 0.10.0
2018-10-25 09:57:18,874 DEBG 'rqworker_default_1' stderr output:
09:57:18 *** Listening on default...
2018-10-25 09:57:18,875 DEBG 'rqworker_default_1' stderr output:
09:57:18 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
2018-10-25 09:57:18,877 DEBG 'rqworker_default_1' stderr output:
09:57:18 Cleaning registries for queue: default
2018-10-25 09:57:18,878 DEBG 'rqworker_default_1' stderr output:
09:57:18 *** Listening on default...
2018-10-25 09:57:18,878 DEBG 'rqworker_default_0' stderr output:
09:57:18 Registering birth of worker bece3e763906.12
2018-10-25 09:57:18,878 DEBG 'rqworker_default_1' stderr output:
09:57:18 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
2018-10-25 09:57:18,880 DEBG 'rqworker_default_0' stderr output:
09:57:18 RQ worker 'rq:worker:bece3e763906.12' started, version 0.10.0
2018-10-25 09:57:18,880 DEBG 'rqworker_default_0' stderr output:
09:57:18 *** Listening on default...
09:57:18 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
2018-10-25 09:57:18,881 DEBG 'rqworker_default_0' stderr output:
09:57:18 Cleaning registries for queue: default
2018-10-25 09:57:18,882 DEBG 'rqworker_default_0' stderr output:
09:57:18 *** Listening on default...
2018-10-25 09:57:18,882 DEBG 'rqworker_default_0' stderr output:
09:57:18 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
2018-10-25 09:57:18,906 DEBG 'rqworker_low' stderr output:
09:57:18 Registering birth of worker bece3e763906.10
2018-10-25 09:57:18,907 DEBG 'rqworker_low' stderr output:
09:57:18 RQ worker 'rq:worker:bece3e763906.10' started, version 0.10.0
2018-10-25 09:57:18,908 DEBG 'rqworker_low' stderr output:
09:57:18 *** Listening on low...
2018-10-25 09:57:18,908 DEBG 'rqworker_low' stderr output:
09:57:18 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
2018-10-25 09:57:18,908 DEBG 'rqworker_low' stderr output:
09:57:18 Cleaning registries for queue: low
2018-10-25 09:57:18,910 DEBG 'rqworker_low' stderr output:
09:57:18 *** Listening on low...
09:57:18 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
2018-10-25 09:57:19,050 DEBG 'runserver' stdout output:
Operations to perform:
Apply all migrations: admin, auth, contenttypes, engine, sessions
Running migrations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
2018-10-25 09:57:20,384 DEBG 'runserver' stdout output:
Successfully ran command.
Server URL         : http://localhost:8080/
Server Root        : /tmp/mod_wsgi-localhost:8080:1000
Server Conf        : /tmp/mod_wsgi-localhost:8080:1000/httpd.conf
Error Log File     : /dev/stderr (INFO)
Request Capacity   : 5 (1 process * 5 threads)
Request Timeout    : 60 (seconds)
Startup Timeout    : 15 (seconds)
Queue Backlog      : 100 (connections)
Queue Timeout      : 45 (seconds)
Server Capacity    : 20 (event/worker), 20 (prefork)
Server Backlog     : 500 (connections)
Locale Setting     : C.UTF-8
2018-10-25 09:57:20,420 DEBG 'runserver' stdout output:
httpd (pid 10) already running
2018-10-25 09:57:20,420 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>75008 for <Subprocess at<PHONE_NUMBER>33272 with name runserver in state RUNNING> (stdout)>
2018-10-25 09:57:20,420 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>75224 for <Subprocess at<PHONE_NUMBER>33272 with name runserver in state RUNNING> (stderr)>
2018-10-25 09:57:20,420 INFO exited: runserver (exit status 0; expected)
2018-10-25 09:57:20,420 DEBG received SIGCLD indicating a child quit

When I wrote above comment the container was up and running but I was not able to access it through browser. Then I shut down (docker-compose down) containers and closed terminal and tried again by running docker-compose up -d. It works now. I am new to Docker and don't know whether such behaviour is expected or not.
Also, what is the best way to force app reflect changes I made to code. Re-building docker image every time I change the code will take lot of time. I think there might be some workaround. Thanks

@savan77
I would recommend you read this manual for development.
Do you use the CVAT from the master branch? If I right, how did you run tensorflow on CPU? Have you any changes in source code?

@bsekachev
No, I did not make any changes. The script it self installed tensorflow, I removed tensorflow-gpu from requirement file.

@savan77

2018-10-25 09:57:20,420 DEBG 'runserver' stdout output: httpd (pid 10) already running

Usually the log mean that cvat container was killed or stopped. You should use up -d and down commands for docker-compose only. Don't try to stop a container and run it again. It can lead to different problems.

When I wrote above comment the container was up and running but I was not able to access it through browser. Then I shut down (docker-compose down) containers and closed terminal and tried again by running docker-compose up -d. It works now.

As you can see docker-compose down just solved your problems as I described above. It removed apache temporary data and apache started again without any problems. Similar problem is described here.

Hi, thanks for the information. I would also like to know how can I use other models given that they are compatible with default frozen graph's structure. I read I had to add an environment variable with the path to frozen graph, but I guess it won't work with Docker as normally it does. What kind of special changes I would have to make here? You can close this. Thanks

Hi @savan77 ,
I'm not sure that I understand your question. Could you please elaborate a little bit?

I would like to use other object detection models in this tools. How do I do that? I understand that it fetches path from environment variables. But I think I cannot add path to environment as we do because docker runs somewhere else. In fact, I tried to set that environment variable to absolute path of my frozen graph but it didn't work.
In the documentation, it is stated that 'This variable must be available from cvat runtime environment'. Can you elaborate on this?

@savan77 ,
I'm going to close the issue. Don't hesitate to reopen it if you still have more questions.


no alerting for failed upstream synchronizations with msft updates in sccm

Within sccm alerting, there is no option to alert and subscribe to failed upstream synchronizations. There is a bug where when product categories change in the update point catalog, the upstream synch fails. If you don't catch this, you are not getting updates.
This is not listed as one of the current alerts.

Thanks @chadparris for taking the time to provide feedback on Configuration Manager! This is an interesting feature idea, and I want to make sure it gets directly into the hands of the engineering team. Fortunately, we've got dedicated channels for that very purpose. :) See the Product feedback section in our docs. I think it’s important that you submit it directly, because that allows you to receive notifications and more closely monitor the progress. I'm closing this issue as there's nothing actionable for docs at this time.


Wrong interface for modifyBg (and modifyFg)

The interface to bg_modify is defined this way:
proc gtk_widget_modify_bg*(self: ptr Widget00; state: StateType; color: gdk.Color) {.
importc: "gtk_widget_modify_bg", libprag.}
proc modifyBg*(self: Widget; state: StateType; color: gdk.Color) =
gtk_widget_modify_bg(castptr Widget00, state, color)
As "gtk_widget_modify_bg" expects a pointer to color, it  should be:
proc gtk_widget_modify_bg*(self: ptr Widget00; state: StateType; color: var gdk.Color) {.
importc: "gtk_widget_modify_bg", libprag.}
proc modifyBg*(self: Widget; state: StateType; color: var gdk.Color) =
gtk_widget_modify_bg(castptr Widget00, state, color)

Thanks for testing.
I think gtk_widget_modify_bg() is deprecated -- I gave a CSS example for color setting in the tutorial.
Of course when it is a bug, I fill fix it. I am not sure if it is really a bug, as some object types are defined with byCopy pragma, so objects are passed to C lib as value types in API but compiler pass the pointer. I will try to investigate that soon...

Thanks for your quick answer. I am trying to convert a program written in Nim using Gtk2 to Gtk3, so I use, at least for now, the legacy interface as there are a lot of deprecated things in Gtk3 (HBox and VBox, for instance). By the way, I really appreciate the cleaner interface of "gintro", but the conversion is not so easy.
Presently, "modifyBg" crashes and adding "var" makes it work, but I agree this may not be the best way to solve the problem.

convert a program written in Nim using Gtk2 to Gtk3

You may try to use oldGtk3 nimble package or the single GTK3 files from github.com/ngtk3 as an intermediate step if your program is large. OldGtk3 package is low level, but should have very few bugs as it is generated by c2nim. Gintro package has bugs still, I am sure. So converting a large GTK2 program like Aporia or NEd is difficult currently. But for small programs like my chess board it should work already.
Currently I have to fix memory management of GTK boxed types, their memory is not freed in actual  version. If that is done I will investigate your issues.

Ah yes, I think you are absolutely right. When I now think about it -- it may have been a wrong wiring in my brain. I think I have marked some objects with byCopy pragma, but what I intended is the opposite .. byRef. ByRef is the default already, and byCopy is definitely wrong for GTK. You may test yourself -- search for byCopy string and replace with byRef. In single modules, or in tests/gen.nim. After replacing in gen.nim you have to do nimble prepare and nimble install again to generate all modules new. Have to leave for now -- bye...

I have changed in tests/gen.nim as you have described and, indeed, it works. It’s better that my work around and may have fix other interfaces too. Thanks !

Fixed. Note that modifyBg/modifyFg is deprecated and may not work properly for all widgets any more, as widgets may have gradients and such. Better use CSS, tutorial contains an example.
But this example seems to have an effect still:
# nim c button.nim
import gintro/[gtk, glib, gio, gobject, gdk]

proc buttonClicked (button: Button) =
  button.label = utf8Strreverse(button.label, -1)
  const c = (gdk.Color)(pixel: 0, red: 60000, green: 0, blue: 0) # makes window title red
  modifyFg(button.parent, StateType.normal, c) # deprected, may not work properly

proc activate (app: Application) =
  let window = newApplicationWindow(app)
  window.title = "GNOME Button" # will be red after button is clicked.
  window.defaultSize = (250, 50)
  let button = newButton("Click Me")
  window.add(button)
  button.connect("clicked",  buttonClicked)
  window.showAll

proc main =
  let app = newApplication("org.gtk.example")
  connect(app, "activate", activate)
  discard app.run

main()

Closing, please reopen if problems occur.


Creation of privacy optimized P2ID note

Feature description
Currently the input to the P2ID note is the account_id of the user that can consume the P2ID note.
P2ID inputs: [account_id, 0, 0, 0]

However, this not ideal from a privacy point of view if the P2ID note is public, since anyone can see who the P2ID note is addressed to.
In the Bitcoin world, this is solved with P2PKH (Pay-to-Public-Key-Hash), where the public key of the user who can "claim" the BTC in the UTXO must match the hashed input.
What if we implemented a similar note for the Miden VM?
The inputs to this P2IDH (Pay-to-ID-Hash) note would be: the hash of the account id and the serial number of the given P2IDH note. The serial number of the P2IDH would be used as a sort of "salt" to prevent the creation of a rainbow table of known account_id hashes.
hash(account_id, 0, 0, 0, P2ID_SERIAL_NUM)

P2IDH inputs: [ACCOUNT_ID_HASH]

Are there any potential issues that could arise when creating this type of note? If there is interest in creating this, I am more than happy to draft a PR.
Why is this feature needed?
privacy preservation

This is very cool! I think we should do it and I don't see any issues with this.
One question: if we have this, do we also need the current P2ID note? That is, do we get any meaningful benefits from keeping it around or could we replace it with P2IDH?

I guess one potential issue is that we may not get a meaningful level of privacy because someone can compute a "rainbow" table. This is a bit more complicated by including serial number into the hash - but is this complication meaningful?

Thinking about this a bit more: the way ACOUTN_ID_HASH is currently defined (i.e., hash(account_id, 0, 0, 0, P2ID_SERIAL_NUM)) would provide a pretty weak level of privacy. For example, if there are 100M accounts in the system, "inverting" ACCOUNT_ID_HASH for a given note by computing all possible combinations would take 100M hashes. This can be done on a laptop in about 2 minutes.
We can argue that if the throughput of the system is high enough, the level of privacy is higher. For example, at 10K TPS someone would need to have 100K - 100M machines (or much fewer GPUs/ASICs) to invert hashes of all the notes, and such level of resources is available only to a handful of entities - but it'll be a while before we get to this level of throughput.
On the other hand, the scheme is pretty simple and does not impose much computational complexity on the user. So, one can argue that even week level of privacy fine here. The counter-argument to this would be that this creates a false sense of security because it doesn't really guarantee that nobody can figure out account ID behind a given ACCOUNT_ID_HASH.

Feature description
Currently the input to the P2ID note is the account_id of the user that can consume the P2ID note.
P2ID inputs: [account_id, 0, 0, 0]

However, this not ideal from a privacy point of view if the P2ID note is public, since anyone can see who the P2ID note is addressed to.
In the Bitcoin world, this is solved with P2PKH (Pay-to-Public-Key-Hash), where the public key of the user who can "claim" the BTC in the UTXO must match the hashed input.
What if we implemented a similar note for the Miden VM?
The inputs to this P2IDH (Pay-to-ID-Hash) note would be: the hash of the account id and the serial number of the given P2IDH note. The serial number of the P2IDH would be used as a sort of "salt" to prevent the creation of a rainbow table of known account_id hashes.
hash(account_id, 0, 0, 0, P2ID_SERIAL_NUM)

P2IDH inputs: [ACCOUNT_ID_HASH]

Are there any potential issues that could arise when creating this type of note? If there is interest in creating this, I am more than happy to draft a PR.
Why is this feature needed?
privacy preservation

https://basescan.org/token/0xFeFa825f4858A304b6d1e37dc604Dd42803B008F


"CONTAINS" clause uses the index (although it performs full index scan)

[Enter feedback here]
The reccomendation on adding new predicates to enforce index usage says that CONTAINS don't use the index. According to this page it uses the full index  https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/query/string-functions so it's better to rephrase like performs full index scan instead
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: a32753f5-3b8a-c8cc-7a2f-58773b727e0d
Version Independent ID: 1eef2e5d-9f62-824f-ebc6-8aee6544a8cc
Content: Indexing in Azure Cosmos DB
Content Source: articles/cosmos-db/index-overview.md
Service: cosmos-db
Sub-service: nosql
GitHub Login: @seesharprun
Microsoft Alias: sidandrews

@DavideDelVecchio Thanks for your feedback! We will investigate and update as appropriate.

Hello @DavideDelVecchio, we are updating this article with multiple changes and have included your change in the list.
This should be live soon.


Feature Request: Add a toggle to dark theme to match the obsidian/system theme as found in browsers

Feature Requested
Many modern browsers have the ability to follow the system's theme, which allows sites to follow the browser's theme and, if they have a dark version, enable it. however, if you enable the dark version in obsidian, the theme of the page will not change. And it looks unpleasant
Relevant Screenshot

Checklist

[X] The feature would be useful to more users than just me.

Ok, today I found out that it turns out that the internal browser pulls up the theme of the system ( not obsidian ), and there it depends on the site...


clang 6.0: zero initialization warnings

zero initialization, that not causes clang 6.0 warnings

@mgonchar : please, review the updated change.

I think,
sLAInputTask finished_task = {0};
m_syncTasks.push_back(finished_task);
is more readable and have zero initializer.


'package:flutter/src/rendering/object.dart': Failed assertion: line 1507 pos 12 '

i'm getting this error  << 'package:flutter/src/rendering/object.dart': Failed assertion: line 1507 pos 12 ' >>
when i run this code https://gist.github.com/ahmedo100/1cfab59801570ff23fb5d8afd36dd108
**This error started when i added the ListTile **
sometimes i get this error : https://gist.github.com/ahmedo100/952c16556f4b57a4cfd8ef344c8d023c
but when i try hot reload : https://gist.github.com/ahmedo100/5f12dd7d93eb47b7ae892b787183f62b
Flutter doctor

C:\flutter_windows_v0.5.1-beta\flutter\bin\flutter.bat --no-color doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.6.0, on Microsoft Windows [Version 10.0.17134.228], locale en-GB)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.2)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[√] Android Studio (version 3.1)
[√] Connected devices (1 available)

! Doctor found issues in 1 category.
Process finished with exit code 0

Please add the full error output.
Your Flutter version is quite outdated. Can you please try with beta 0.6.0?

i updated flutter like 2 days ago , and for the error i provided 2 Gist links

Obviously I really didn't pay attention when I read your issue.
I'm sorry for that.
I missed the links and derived the Flutter version from C:\flutter_windows_v0.5.1-beta while it actually is [√] Flutter (Channel beta, v0.6.0 which is recent.
A reduced reproduction would be
import 'package:flutter/material.dart';

void main() => runApp(new MaterialApp(home: _myHomePage()));

class _myHomePage extends StatefulWidget {
  @override
  _myHomePageState createState() => _myHomePageState();
}

class _myHomePageState extends State<_myHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.transparent,
      body: ListView(
        children: [
          Card(
            child: Row(
              children: [
                Column(
                  children: [
                    ListTile(
                      leading: Text("Il domaca"),
                      title: Text("Il domaca"),
                      onTap: () {},
                      enabled: true,
                      subtitle: Text("78 5th AVENUE , NEW YORK "),
                    ),
                  ],
                ),
              ],
            ),
          ),
        ],
      ),
    );
  }
}

yeah , and i tried wrapping it with an expanded widget , it gave the same probleme

Limiting the with with a ConstrainedBox() to a fixed max with might help to unblock until someone comes up with a better suggestion. I didn't have time yet myself to fully dive into Flutter layout.

Merging with #18107


Broker: Unknown member

Description of the bug
Look into the KafkaException with message Broker: Unknown member and try to fix it.
It could be that we're using the wrong consumer group id.
Steps To Reproduce
The error happens when a consumer tries to commit. It happens in ConsumeMessage() in KafkaConsumerBase.
Additional Information
No response
Threat modeling
This is a bug fix and not a change.

Last entry of broker unknown member was on 11/10/2023, 9:32:00.830 AM.  Before consumer group id was altered and before rate limits in Communication services were raised. Health checks we're disabled a while before this date as well (nov 3rd)
Closing issue for now. We can reopen if error occurs again.


Teams: Media element support

Currently the Media element is not support in Microsoft teams. This work tracks adding that support.

Link to feature: https://adaptivecards.productboard.com/feature-board/planning/features/5300350

The Adaptive Cards SDK supports this. Teams is currently working on supporting media elements.


Use Sphinx for Python API docs

The pydoc API docs were ugly and broken, but it turns out that Sphinx can be used instead.
Unrelated to that, I added a commit to fix a version compatibility hack in sawtooth-dev-go.

Example page: https://build.sawtooth.me/job/Sawtooth-Hyperledger/job/sawtooth-core/job/PR-1164/1/artifact/docs/build/html/sdks/python_sdk/processor.html#module-processor.context


SPARQL get requests fail

$ cat test.sparql
SELECT ?t { wd:Q42 wdt:P31 ?t }
$ wd sparql -v test.sparql
Generated get query: https://query.wikidata.org/sparql?format=json&query=SELECT%20%3Ft%20%7B%20wd%3AQ42%20wdt%3AP31%20%3Ft%20%7D%0A
Error: 403 Forbidden

GET request to the same URL with curl works. Patching lib/make_sparql_query.js to force POST request also works. I also tests other SPARQL queries. Finally I found out that the SPARQL endpoints expects a User-Agent header.

patch to add a User-Agent published in v7.5.1


chore: static environment check

This PR adds the static environment check for GitHub Enterprise. Now when the app server run with GHE set but not custom app actor name, it fails right away.
Also modified a test to check that behavior.
Documentation for getting started with GitHub Enterprise is added as well.
Also switch from a file sync checking script to using GitHub action mirror-action for better reusability.

 Here is an overview of what got changed by this pull request:

Coverage decreased per file
===========================
- src/core/index.ts  -5

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Coverage decreased per file
===========================
- src/core/index.ts  -5

See the complete overview on Codacy


Commands only available on emulator

There are some commands via Telnet only available on emulator, how can we do something related on a real device ?

Yes, I am planing to replace the Telnet interface with an app installed on emulator/device.
Android provides APIs for mocking GPS location and phone-call, which are currently implemented using Telnet.


Add support for custom Chrome installation paths

On my workPC Chrome is here:
C:\ProgramData\App-V\59B860A4-01C5-4693-93C0-81E835526730\3C66E565-8B3B-4F79-8DA0-AC77B1C890EF\Root\VFS\ProgramFilesX86\GoogleChromePortable\App\Chrome-bin\chrome.exe --enable-websocket-over-spdy
So when I try to run the browserpreview, I get a popup error:
Failed to launch chrome! spawn C:\Program Files (x86)\Google\Chrome\Application\chrome.exe ENOENT
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
I guess that where-chrome doesn't provide it correctly... maybe your chrome location should be a setting ?

@LeonardoGentile Looks like a permission issue. See https://stackoverflow.com/questions/19009778/running-node-express-on-linux-produces-error-spawn-eacces

@auchenberg no, I have found the problem.
The path should be to the executable, which is stored within the .app container, that is, instead of this:
/Applications/Web/Google Chrome.app

use this:
/Applications/Web/Google Chrome.app/Contents/MacOS/Google Chrome

and it seems to work

@LeonardoGentile  Cool,  good to hear!

Having issues with my Google Chrome installation (it's a portable install)

The preview looks like this.

Cannot discern what the issue is.

Having issues with my Google Chrome installation (it's a portable install)

The preview looks like this.

Cannot discern what the issue is.

Did you figure this out already?

Having issues with my Google Chrome installation (it's a portable install)

The preview looks like this.

Cannot discern what the issue is.

Did you figure this out already?


Element ordering position of category item Barter is not respected

No matter where I put Barter in the element ordering options, it always gets appended at the end of all game categories.

Ok, the issue is bigger, the whole game categories are stuck, no matter what settings I change it still displays always the same.
Is there a way to delete game category data without deleting everything else?

Only if you delete it manually from the settings JSON and restore it, but I'll see if I can find out why it's getting stuck for you. Can you share your settings? That might help me reproduce it.

What exactly would I need to export for that, just the "settings" option?
esgst_data_2019-05-13T07_52_48.758Z.zip

Update: I've looked through the options again and noticed that one category was not enabled to run anywhere. I have activated it to run everywhere and that seems to have fixed it.
A bit strange that an option can get activated but remain disabled by the run at command.
Another test: when not having any categories enabled that require getting data, it seems to not update the positioning of all others. So that caused the general blockade.


Add a CHANGELOG.md

Would be awesome if we could get a CHANGELOG file to keep track of the changes being made

Yes thanks for opening the issue. We'll make sure to create a changelog before releaseing v0.2.0


Clicking a diagram connection displays related function calls

When clicking an edge between two nodes in the component diagram, the side panel should show a list of all the function calls that correspond to that edge. Clicking one of the related functions will switch to the event view for that function. If the selected function exists multiple times, a badge will be displayed showing how many instances, and will allow the user to cycle through these events.

Figma proto ->

Loom: https://www.loom.com/share/6f9ce6cf1d6b4790af398b71ff789b84

Loom: https://www.loom.com/share/6f9ce6cf1d6b4790af398b71ff789b84


Loss will be fixed with 34.5388 with more than 12288 edges when training a GAE network

🐛 Bug

To Reproduce
Steps to reproduce the behavior:

Training a GAE network with the number of edges (data.edge_index.size(1)) more than somewhere between 12288 and 16384, the loss will be fixed with 34.5388

import torch
import torch.nn as nn
import torchvision
import torch.nn.functional as F
from torch_geometric.nn import GAE, VGAE, GCNConv, GraphConv
from torch_geometric.data import Data
from tqdm import trange

class Encoder1(nn.Module):
    def __init__(self, in_channels = None, out_channels = None):
        super(Encoder1, self).__init__()
        self.conv1 = GCNConv(in_channels,2 * out_channels, cached = True)
        self.conv2 = GCNConv(2 * out_channels, out_channels, cached = True)

    def forward(self, x, edge_index):

        z = F.relu(self.conv1(x, edge_index))
        z = self.conv2(z, edge_index)

        return z

class Encoder2(nn.Module):
    def __init__(self, in_channels = None, out_channels = None):
        super(Encoder2, self).__init__()
        self.conv1 = GraphConv(in_channels,2 * out_channels)
        self.conv2 = GraphConv(2 * out_channels, out_channels)

    def forward(self, x, edge_index):

        z = F.relu(self.conv1(x, edge_index))
        z = self.conv2(z, edge_index)
        return z

def get_model(lr = 0.001, GCN = 1, in_channels = None, Z_num = 16, device = 'cuda'):
    if GCN == 1:
        encoder = Encoder1(in_channels = in_channels, out_channels = Z_num)
    elif GCN == 2:
        encoder = Encoder2(in_channels = in_channels, out_channels = Z_num)

    model = GAE(encoder = encoder).to(device)
    optimizer = torch.optim.Adam(model.parameters(), lr = lr)

    return model, optimizer

def train(model, optimizer, data):
    model.train()
    optimizer.zero_grad()
    with torch.autograd.detect_anomaly():
        z = model.encode(data.x, data.edge_index)
        loss = model.recon_loss(z, data.edge_index)
        #loss = recon_loss + (1 / data.num_nodes) * model.kl_loss()
        loss.backward()
        optimizer.step()
    return loss

def get_Z(model, optimizer, epoch, data):
    model.reset_parameters()
    for i in trange(epoch):
        loss = train(model, optimizer, data)

    model.eval()
    z = model.encode(data.x, data.edge_index)
    return z, loss

device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
datapath = 'test/result/S_8/imagedata/000002.pt'
data = torch.load(datapath).to(device)
print(data)
inchannels = data.num_features
model, optimizer = get_model(in_channels = inchannels, device = device)
print(model)
print(optimizer)
Z, loss = get_Z(model, optimizer, 200, data)
print(Z, loss)

Expected behavior
Loss doesn't changed

Environment

OS:ubuntu 18.04
Python version:3.7.4
PyTorch version:1.4.3
CUDA/cuDNN version:10.1
GCC version:7.4.0
Any other relevant information:

Additional context

So you are saying that the loss only stays the same in case the number of edges succeed a certain threshold? It's hard to believe that this is a PyG bug. It might instead be caused by your data. Is there a way for me to reproduce this error?

I get exactly this phenomenon when running the tutorial using the Planetoid dataset.

The solution is referenced in a different issue. Basically, you need to lower the LR.


Add station parameter to waqi sensor

Description:
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): https://github.com/home-assistant/home-assistant.github.io/pull/1739
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[X ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

@whhsw thank you for the update! I was hesitant to add any parameter like that which required searching for a station ID on a page. You can use more specific location names to avoid it.

@valentinalexeev thanks for advising. Have updated to use name from page.

Awesome! Is there anything more I need to do? Or just waiting for it do get merged? I didn't find what's next step from the dev doc.


Fix for #365

Guys, will appreciate if you'll look at my changes.

I don't know the rewriter well but the changes seem to make sense.
Does this handle odd cases like Contract.Ensures(Contract.ForAll(_collection, o => o != null)) or Contract.Ensures(Contract.ForAll(Contract.Result<IEnumerable<int>>(), o => o > _someVar))?

Looks fine.

@yaakov-h Yep, this should be covered as well. I think I even saw such kind of test cases when I worked on this (because once I've broke some of them).


Events aren't batched with async subscribing saga processors

I set up my Axon 3.1 app to use AsynchronousEventProcessingStrategy for several of its saga classes, including two that get a fairly high volume of events during request processing.
It seems like this causes each individual event to be processed in a separate root BatchingUnitOfWork, and the saga is loaded from the database and saved again for each one, even as events destined for the same saga pile up in the EventProcessorTask's queue.
As a quick-hack proof of concept, I added logic to EventProcessorTask.scheduleEvents() so that if there are existing items in the queue when new events arrive, the new events are added to the event list of the last item in the queue rather than added as a new item. This gave me a significant throughput increase; looking at my logs I can see that the saga instances now receive multiple events in a millisecond.
I'm filing this as an issue rather than a PR because it's probably only safe to combine events like that if they're going to be delivered to the same processor callback, and the callback is a lambda function which makes it tricky to efficiently test for equality. Fixing that would require a deeper change than my quick hack. In my setup, it seemed like each saga ended up with its own EventProcessorTask anyway, but I'm not sure if that's guaranteed to be the case in different configurations.

For async processing, we recommend using a TrackingEventProcessor, which does support batching.


Doc guide on how to convert images to icons.

Is your feature request related to a problem? Please describe.
Yes, I'm encountering an issue when trying to create icons from certain images. Despite resizing the images to standard icon dimensions like 32x32 or 16x16, the resulting icons appear distorted for reasons that are not immediately clear to me. This distortion makes it difficult to discern what the icon represents.
Describe the solution you'd like
A dedicated section in the documentation providing a simple step-by-step guide on converting standard image formats (e.g., .png) into icons would be extremely helpful. This could serve as a comprehensive resource for users facing similar issues.
Describe alternatives you've considered
I've experimented with resizing the images to various dimensions, but the distortion persists regardless of the size. The icons are so distorted that it's challenging to make out what they are supposed to represent.

At the moment, I've never tested using images as icons. However, I'll keep this in mind and check if it makes sense to add a guide for e.g., png files.

In the mean time, if your icon is a flat graphic you can try vectorizing it with a program like Adobe Illustrator (it can turn simple images into vectors by outlining them), that's called Image trace on desktop or Vectorize on iPad version if I'm not mistaken. (I can't outline a guide atm as I'm only on mobile, but check Adobe's site)
You could also try using the icon image as the fill/background of a basic shape like a square on a vector graphics editor like Illustrator or Figma (free) and then export it as SVG.

SVG is basically designed to fix the distortion issue you described because unlike raster images which are rendered from a grid of square pixels of individual colours, vector graphics are defined mathematically/algorithmically so the computer redraws it at whichever size it is — e.g. a perfect circle will be redrawn with a set radius every time it's rendered/resized — and it can be styled with CSS, plus it can be exported into other formats easily, that's why icon packs & icons in general are now typically SVG.


add support for kover

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@02d133a). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #6   +/-   ##
=========================================
  Coverage          ?   30.17%
=========================================
  Files             ?       12
  Lines             ?      169
  Branches          ?       56
=========================================
  Hits              ?       51
  Misses            ?      102
  Partials          ?       16

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Add initial @gridsome/source-airtable draft

Here is the first official draft of the @gridsome/source-airtable plugin. I had a version that worked, but started having issues with error relating to duplicate route names, so could not verify that this is 100% working before pushing:
TypeName > Failed to add node: Duplicate key for property path: /<routepath>/slug
Also had a version with class syntax, but with some issues. Decided to push simple object syntax version for now, instead of spending more time on potentially improved class syntax.
@hjvedvik please have a look and advice how to proceed in regards to "duplicate route names" issue, as well as the overall plugin.

Thanks, @robaxelsen :)
You can try to use :id in the default route instead. It will make sure every path is unique if no slug field exists. And maybe the plugin should have a route option to override the default route?
And you can spread item.fields in node options. Gridsome v0.6 doesn't need to have custom fields in a fields property.

Thanks for the help and feedback, @hjvedvik. I made the changes and improvements, and updated the README.md. Please review :smile_cat:

@hjvedvik all linting errors fixed, except async nodejs support error. Other source plugins are using the same async pattern, so I guess this error can be ignored?


Man-in-the-Middle vulnerability in dependency https-proxy-agent

Our customer reported a Man-in-the-Middle vulnerability in bluemix-autoscaling-agent caused by https-proxy-agent v2.2.4.
The module bluemix-autoscaling-agent uses the latest version appmetrics v5.1.1 and https-proxy-agent v2.2.4 is a dependency of appmetrics.
As it is mentioned https://hackerone.com/reports/541502, the vulnerability has been fixed in v3.0.0.
Could you take a look at it?

Appmetrics does not explicitly depend on https-proxy-agent, but one of our dependencies does:
appmetrics -> ibmapm-embed -> ibmapm-restclient -> https-proxy-agent
I've raised https://github.com/IBM/node-ibmapm-restclient/issues/4 to try and get ibmapm-restclient updated, and will follow up with an issue to ibmapm-embed once that is satisfactorily resolved.
One of our devDependencies also does, but that shouldn't affect your customer as devDependencies should not be installed outside of development environments.
appmetrics -> codecov -> teeny-request -> https-proxy-agent
The fix for this path is currently blocked by https://github.com/codecov/codecov-node/pull/158. I've asked for an update in that PR.

https://github.com/IBM/node-ibmapm-restclient/commit/7200d87bedc69596f35b6d1604046ae7a49fffb9 has updated the https-proxy-agent dependency for ibmapm-restclient to 4.0.0. This has percolated through to bluemix-autoscaling-agent successfully within existing dependency restrictions and therefore this issue can be closed.


juicer_tool version 1.14.08 hiccups [--ignore_sparsity] flag not recognized

Hi,
I was trying to use jucier_tool version 1.14.08 hiccups to call loops in my hi-c data. The software gave me a warning of sparse data and asked me to enable the --ignore_sparsity flag. But when I tried it, this version of software doesn't recognize the flag:
error code:
Exception in thread "main" jargs.gnu.CmdLineParser$UnknownOptionException: Unknown option '--ignore_sparsity'
at jargs.gnu.CmdLineParser.parse(CmdLineParser.java:475)
at jargs.gnu.CmdLineParser.parse(CmdLineParser.java:426)
at juicebox.tools.HiCTools.main(HiCTools.java:61)
I wonder is this a bug ? Can it be fixed ?
Thanks

Hi, yes this is a bug. You can use --ignore-sparsity for the moment.
Some usage flags were updated and merged in prior to updates to the documentation.
To clarify though, unless you have sufficient depth, the map is not likely to find loops. --ignore-sparsity does not enable any special options but merely runs HiCCUPS anyways to see what the resulting calls will be.

Please don't use this jar, we found it had several major issues.


Add support for older-style veoh links

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[ ] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Fixes several previous bug reports (that all get closed) about veoh extractor not working. Specifically it allows veoh extractor to recognize and download this link: http://www.veoh.com/watch/e152215AJxZktGS

Add a test.


CLOB data type give only EMPTY_CLOB

Hi:
This is a very useful project based on logminer.
My data is Oracle 12c release 2.
In the SQL_REDO=insert statement i get EMPTY_CLOB for the CLOB data type column.  every insert operation in the database i get one insert SQL and no other updates.
Do i need to make a separate query to lookup the CLOB column via JDBC.  I dont know what else needs to be done to get CLOB data values along with the insert statement.
Thanks

There is a bug in this project.
You can add some code in createDataSchema like this.
for (String col :dataMap.keySet()) {
String value = dataMap.get(col);
String keyTabCol=owner+"."+tableName+"." + col;
dataStruct.put(col, value.equals(NULL_FIELD) ? null : reSetValue(value, tabColsMap.get(keyTabCol).getColumnSchema()));
}
then you can  get CLOB data values along with the insert statement and update statement.


Close handle

This also doesn't fix https://github.com/fluent/fluentd-forwarder/pull/10#issuecomment-102349775


how it run on archlinux?

pip install gpt-computer-assistant

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.

    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.

    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

Run:
cd /home/your_user/some_folder
mkdir gpt-computer-assistant
python -m venv /home/your_user/some_folder/gpt-computer-assistant/
/home/your_user/some_folder/gpt-computer-assistant/bin/python /home/your_user/some_folder/gpt-computer-assistant/bin/pip install gpt-computer-assistant
You may also prefer install it in another folder. Just replace /home/your_user/some_folder with the path to the folder of your choice.