feat: intra-rundown breaks

This PR is being opened on behalf of TV 2 Norge.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Feature

What is the current behavior? (You can also link to an open issue here)

There's a concept of "breaks" in Sofie, but they only exist between rundowns.

What is the new behavior (if this is a feature change)?

This adds a break concept within a rundown. The idea is that a break is a special segment with the isBreak flag set, along with a breakStartTime and/or a breakEndTime.  Both Forward and Back timing modes should be supported, though because of the dizzying nature of timing, more testing is needed to ensure correctness. This PR is being opened somewhat early so that a formal, logged discussion around it may begin and that incremental feedback may be addressed.
Why add these intra-rundown breaks? The idea is that we want to count down to the next break, not to the end of the rundown. This is how several studios operate. The most important thing is hitting the next wall time.
Also added is a "WALL TIME" display to break segments. It's subtle but it's there. The segment header for non-breaks is unchanged.

Other information:

Time makes my head hurt.
Status

[x] Code documentation for the relevant parts in the code have been added/updated by the PR author
[ ] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report
Patch coverage has no change and project coverage change: +20.33 :tada:

Comparison is base (568c9a2) 56.05% compared to head (7909653) 76.38%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@              Coverage Diff               @@
##           release50     #945       +/-   ##
==============================================
+ Coverage      56.05%   76.38%   +20.33%
==============================================
  Files            487       31      -456
  Lines          77296     5747    -71549
  Branches        3777      572     -3205
==============================================
- Hits           43330     4390    -38940
+ Misses         33915     1355    -32560
+ Partials          51        2       -49

see 456 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@alvancamp TypeScript is failing because some component props are now missing: https://github.com/nrkno/sofie-core/actions/runs/5258125649/jobs/9501920871?pr=945
Can you fix this, and then I think this is ready to be merged.


Fix rubocop violations in runner.rb

review @KnVerey

All violations on the repo have since been fixed.


Do not fallback on caches from other cache groups

Closes #22.
Objective
Github Actions Caches have the ability to "fall back" to multiple caches, if the created cache key is not found. This is by setting the restore-key input, and let's us still use caches with outdated Cargo.lock and Cargo.toml files, as well as other cache groups.
This is an issue, because often cache groups do not do the same work. Let me give an example:
You have two jobs: one that runs cargo check and another that runs cargo test. Both have different cache requirements.

cargo check does not need to compile anything, so it generates less files. As a result, its cache is smaller, meaning that it downloads faster.
cargo test does need to compile into binaries, so it generates a lot more files. It's cache is larger, but that's fine because it uses the entire cache.

If we let the cache action fallback across multiple different jobs, cargo check could download cargo test's larger cache. Then, when cargo check saves a new cache, it contains all of the unnecessary binaries that cargo test generated, increasing the cache size and download time.
Solution
Prevent separate cache groups from sharing caches by removing the final restore key.

The question is now: Does this warrant v3 or can we stay v2?

I think v2 is fine; can you add a tag?

The question is now: Does this warrant v3 or can we stay v2?

I don't think this warrants v3. The only reason you would depend on this behavior was to share caches, but that's what cache groups for.


Powershell Trigger, Credential would be nice to have

Finally I've been able to set it up for a customer however not for the multi-partition support thought. So far it looks great however...
I would love to be able to pass in a credential into the Powershell trigger script for contacting a web service or whatever source I've got. I can of course store the credential object on disk using Export-CliXml however It would be nice to have all configuration stored in one place.
Edit: If there also would be a way of passing in a last import datetime value it would be easy to find out if there are any changes available in the connected system that could be a web service, database or what ever as long as the source allows it...

@Identitry I will look to add this functionality in. The credentials inside the service are encrypted so we can take advantage of this mechanism.
Regarding the last import time, use the pattern I use in my trigger script for ACMA to do what you are describing. The PS session remains in place at all times, so you can use global variables to store things like watermarks in between calls to Get-RunProfileToExecute
https://github.com/lithnet/miis-autosync/blob/master/src/Lithnet.Miiserver.AutoSync/Examples/Trigger-ACMA-CheckPendingImports.ps1

Done in https://github.com/lithnet/miis-autosync/releases/tag/v1.2.6692


⚠ Bofrost.de has degraded performance

In e81ce5f, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1275 ms

Resolved: Bofrost.de performance has improved in 7b39c8a after 22 minutes.


Revert "Merge pull request #19673 from markdroth/channel_grpc_init"

This unblocks the import.
This reverts commit 4e219807161f3cfe581ca8f79f5ae060c2631a8f, reversing
changes made to 62b8a783fa376d6bfe277d6e1877b31f89e16553.

Going ahead and merging since this is a pure revert.


Rough idea of a PEP summary tool for code review

Not sure about this yet, but it's proved helpful already. A bit easier than zavod crawl ...; zavod export --clear ...; jq . ... and we could perhaps run it on modified crawlers in CI using https://github.com/marketplace/actions/get-all-changed-files or something.
Generates output like
Katherine Ebanks-Wilks
  ky-la-ba12a0e07a974f1854460960ed04dfafeae529a1 ['Member of Parliament for West Bay Central']
    status=['current'] from=['2021'] until=['2025']
  ky-la-6784e9ae48cf107b234fff71e31f14f16e8e9676 ['Speaker of Parliament']
    status=['current'] from=['2021'] until=['2025']

Dwayne S. Seymour
  ky-la-a7d50950fbf9c565ffd4ba5aabb3e9ada8d7db39 ['Member of Parliament for Bodden Town East']
    status=['current'] from=['2021'] until=['2025']
  ky-la-bf43c83cd6d9b926d6d4d8699e83550aa2e016ad ['Minister of Border Control & Labour']
    status=['current'] from=['2021'] until=['2025']

Juliana Y O'Connor-Connolly
  ky-la-0f6a96dc88f789d10fd29680170abd5aa4f5b06f ['Member of Parliament for Cayman Brac East']
    status=['current'] from=['2021'] until=['2025']
  ky-la-fe3377879582c6143c8f06e38096620946d4edc4 ['Deputy Premier']
    status=['current'] from=['2021'] until=['2025']
  ky-la-c0b1b14a752d056675cf051d07c80863941f6546 ['Minister for Education']
    status=['current'] from=['2021'] until=['2025']
  ky-la-de4b62da871011534d076d04e9b18ed6d679fd9a ['Minister for District Administration & Lands']
    status=['current'] from=['2021'] until=['2025']

More generically, something with a bit of a graph query language could be nice, but maybe overkill at this stage

https://textual.textualize.io/

Just free-spinning here for a second:

I would love to be able to see all the statements different between two runs of the same crawler (maybe like "nk diff-statements X.csv Y.csv)
I would love to have a little CLI tool to load an FtM file or latch onto a Nomenklatura store and let me a) view an entity, b) search entities by a primitive search, c) filter based on schema? "nk browser -e Q7747", or "nk browser -s Person -q Jeff" would be super cool... Perhaps it lets me follow "hyperlinks" in the entity view to go to one of the adjacent entities.
On the zavod level, I'd love to have some metadata section like "audit", perhaps with something like "pct_max_change": "10%" to cancel exports and alert the team if they produce wildly divergent entity counts.


Enable TCP Keep Alive for Marathon Client and make value configurable

This pull request allows a configuration option for marathon called KeepAlive. It is used in the construction of the Marathon HTTP client and enables TCP Keep Alive on the connections used for both individual calls and connections to the Event API.
This is useful as in cases where the server goes away, it will force the events connection to timeout on read. Currently, unless the connection terminates cleanly it will stay connected to a non-existent event stream and the TCP connection is never torn down. An example of this is when Marathon is behind an AWS ELB. When ELB IPs change, we will not disconnect and reconnect unless Keep Alive is on. As such, without this change Traefik would stop updating configuration.

@vdemeester Oops! Done!
@emilevauge may be worth considering whether this affects any other providers.

@lewisheadden sorry for the delay, can you rebase again?

Rebased. Looks like golint is failing on other things.


Can Kyuubi be run without yarn?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Hi I am trying to use Kyuubi on my local computer which does have yarn running. I specified the master node as local instead:
$ bin/start-kyuubi.sh --master local[4] --driver-memory 10g --conf spark.kyuubi.frontend.bind.port=10009

Candidate Kyuubi lib /Users/pdharma/Git/kyuubi/lib doesn't exist, searching development environment...
Kyuubi Server: jar founded: /Users/pdharma/Git/kyuubi/kyuubi-server/target/kyuubi-server-0.4.0-SNAPSHOT.jar
starting yaooqinn.kyuubi.server.KyuubiServer, logging to /Users/pdharma/Git/kyuubi/logs/kyuubi-pdharma-yaooqinn.kyuubi.server.KyuubiServer-1-glide.local.out
failed to launch: bash /Users/pdharma/Git/kyuubi/bin/kyuubi-class.sh --class yaooqinn.kyuubi.server.KyuubiServer --master local[4] --driver-memory 10g --conf spark.kyuubi.frontend.bind.port=10009 /Users/pdharma/Git/kyuubi/kyuubi-server/target/kyuubi-server-0.4.0-SNAPSHOT.jar
  Error: Kyuubi only supports yarn as master.
  Run with --help for usage help or --verbose for debug output

Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

In theory, it is ok, you can remove this mandatory check for spark.master, and then try again.


argoscm image to too big

argoscm image is almost 500mb. Previous image version is ~100mb. We should check why image got bigger and remove unnecessary dependencies.

Do not plan to fix.


variableType attribute in XML breaks because of case (in)sensitivity

Note: this is blocking bringing back the list blocks
Expected Behavior
Please describe what should happen
When trying to get the list blocks working, I encountered an error with trying to use variableType as an xml attribute. It is automatically downcased to variabletype and then cannot be read back using getAttribute.
Steps to Reproduce
Explain what someone needs to do in order to see what's described in Actual behavior above

Create a variable in the playground and add a set <var> to block to the workspace.
Export to XML
Note how the xml is generated with lowercase variabletype=""
Change the variabletype to "list" and try to import the XML again.
If you put a break at line 617 of xml.js, you will see that the it tries to read variableType from an xml element with variabletype, and it fails to read the property.

Operating System and Browser
e.g. Mac OS 10.11.6 Safari 10.0
Chrome, Mac
@rachel-fenichel I would expect this might be a problem upstream as well.

See https://github.com/LLK/scratch-blocks/commit/eed4e33f845f842dfcd001508ddb442ffe55abdb#commitcomment-25202380


Misc fixes

Many small fixes with the most interesting parts being in tests/network-ovn where the workaround for
https://github.com/ovn-org/ovn/issues/124 was updated to be IPv6 only (IPv4 now works). For some reason, ICMP doesn't go through but TCP does which seems in line with that ovn-nbctl reports:
# lxc network forward create ovn-virtual-network <IP_ADDRESS> target_address=<IP_ADDRESS>
Network forward <IP_ADDRESS> created

# ovn-nbctl list load_balancer
_uuid               : 2610499d-ca24-4ddc-bb3e-d710cb572621
external_ids        : {}
health_check        : []
ip_port_mappings    : {}
name                : lxd-net22-lb-<IP_ADDRESS>-tcp
options             : {}
protocol            : tcp
selection_fields    : []
vips                : {"<IP_ADDRESS>"="<IP_ADDRESS>"}

Is this an OVN regression or simply that LXD doesn't provided the needed protocol list?
Anyway, with those changes, tests/network-ovn passes with 5.0/candidate:
# snap list lxd
Name  Version        Rev    Tracking       Publisher   Notes
lxd   5.0.3-974ce5c  26838  5.0/candidate  canonical✓  -

Hi @simondeziel here's the network forward icmp test working on focal:
lxc launch ubuntu-daily:focal v1 --vm
lxc exec v1 -- snap refresh lxd  --channel=5.0/candidate
lxc exec v1 -- lxd init --auto
lxc exec v1 -- apt install ovn-host ovn-central --no-install-recommends
lxc exec v1 --  ovs-vsctl set open_vswitch . \
    external_ids:ovn-remote=unix:/var/run/ovn/ovnsb_db.sock \
    external_ids:ovn-encap-type=geneve \
    external_ids:ovn-encap-ip=<IP_ADDRESS>

lxc exec v1 -- lxc network show lxdbr0
config:
  ipv4.address: <IP_ADDRESS>/24
  ipv4.nat: "true"
  ipv6.address: fd42:a94:b7b3:2f5e::1/64
  ipv6.nat: "true"

lxc exec v1 -- lxc network set lxdbr0 ipv4.dhcp.ranges=<IP_ADDRESS>-<IP_ADDRESS> ipv4.ovn.ranges=<IP_ADDRESS>-<IP_ADDRESS>
lxc exec v1 -- lxc network create ovntest --type=ovn network=lxdbr0
lxc exec v1 -- lxc network set lxdbr0 ipv4.routes=<IP_ADDRESS>/32

lxc exec v1 -- ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8189ms

lxc exec v1 -- lxc network forward create ovntest <IP_ADDRESS>

lxc exec v1 -- ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2046ms

lxc exec v1 -- lxc launch ubuntu:22.04 c1 -n ovntest
lxc exec v1 -- lxc ls
l+------+---------+--------------------+-----------------------------------------------+-----------+-----------+
| NAME |  STATE  |        IPV4        |                     IPV6                      |   TYPE    | SNAPSHOTS |
+------+---------+--------------------+-----------------------------------------------+-----------+-----------+
| c1   | RUNNING | <IP_ADDRESS> (eth0) | fd42:f265:7767:8a0a:216:3eff:feca:7604 (eth0) | CONTAINER | 0         |
+------+---------+--------------------+-----------------------------------------------+-----------+-----------+

lxc exec v1 -- lxc network forward set ovntest <IP_ADDRESS> target_address=<IP_ADDRESS>

lxc exec v1 -- ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=2.18 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=63 time=1.13 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=63 time=0.086 ms
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.086/1.130/2.178/0.854 ms

lxc exec v1 -- lxc stop c1

lxc exec v1 -- ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1021ms

Seems to also be working on jammy VMs too.

@simondeziel right this appears to be a change/regression in ovn in jammy compared to focal, as it works on Focal.
The difference in setup that works on Focal but not on Jammy is when a network forward's listen address is on a subnet different than that of the main uplink network.
E.g.
lxc network show ovntest
config:
  bridge.mtu: "1500"
  ipv4.address: <IP_ADDRESS>/24
  ipv4.nat: "true"
  ipv6.address: fd42:ffbb:3583:6c61::1/64
  ipv6.nat: "true"
  network: lxdbr0
  volatile.network.ipv4.address: <IP_ADDRESS>
  volatile.network.ipv6.address: fd42:a94:b7b3:2f5e:216:3eff:feb8:b63d

ip r add <IP_ADDRESS>/32 via <IP_ADDRESS> dev lxdbr0

lxc network get lxdbr0 ipv4.routes
<IP_ADDRESS>/32,<IP_ADDRESS>/32

lxc network forward show ovntest <IP_ADDRESS>
description: ""
config:
  target_address: <IP_ADDRESS>
ports: []
listen_address: <IP_ADDRESS>

lxc ls
+------+---------+--------------------+-----------------------------------------------+-----------+-----------+
| NAME |  STATE  |        IPV4        |                     IPV6                      |   TYPE    | SNAPSHOTS |
+------+---------+--------------------+-----------------------------------------------+-----------+-----------+
| c1   | RUNNING | <IP_ADDRESS> (eth0) | fd42:ffbb:3583:6c61:216:3eff:fe82:5625 (eth0) | CONTAINER | 0         |
+------+---------+--------------------+-----------------------------------------------+-----------+-----------+

ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=2.32 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=63 time=0.816 ms
^C
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.816/1.565/2.315/0.749 ms

ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1030ms

So I think we should report that to Frode and the OVN team.

Which kernel versions?

Which kernel versions?

Working: Focal with Linux v1 5.4.0-1105-kvm #112-Ubuntu SMP Wed Jan 17 16:04:46 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Not working: Jammy with Linux v2 5.15.0-1049-kvm #54-Ubuntu SMP Fri Jan 12 15:26:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux


Docs improvements

Overview table of the policies: name, proactive/reactive, description
For each policy list the possible errors
RateLimiter in the getting started as complete example

Closed in #41


inappsettingskit/IASKappsettingviewcontroller.h file not found

Hi,
I am new to IOS. I am trying to run client app in xcode but i am getting this error.
inappsettingskit/IASKappsettingviewcontroller.h file not found
In TCMainViewController.h file
please give a solution

You need to build Carthage dependencies.

@tananaev How can I build Carthage dependencies

Run carthage update --platform iOS. If you have any further questions, I would recommend to Google first.


Adding do_get, which is referenced by deploy_template

It looks like the problem is deploy_template is doing a do_get when it should be doing a do_put. I'll close this PR and fix the bug..


CRYOSPARC_SLACK_WEBHOOK_URL value

Hi,
What should the CRYOSPARC_SLACK_WEBHOOK_URL be pointing to? localhost:8000? Just not clear to me from the Readme, what this is.

I updated the readme accordingly -- please tell me if it works for you.

Thanks!  Looks like I wasn't far off. I will give it a shot. Probably won't be able to test for a few days due to running jobs.

Ok, I see. You can also re-run one of the old jobs like "Import movies" or even "Select 2D classes" to test it.
E M

Everything is working great with that config! Thanks for putting this all together. :)


[Mismatch of Codes] built libtensorflow_cc.so does not match the interface of Eigen

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version: 2.2.0
Python version: python3.6 （maintained by conda）
Installed using virtualenv? pip? conda?: conda
Bazel version (if compiling from source): 0.29.1 (according to requirements of tensorflow 2.2.0)
GCC/Compiler version (if compiling from source): 7.5.0
CUDA/cuDNN version: 10.1
GPU model and memory: ON 7 GB

Describe the problem
Provide the exact sequence of commands / steps that you executed before running into the problem
I built tensorflow from sources and exported both dependancies of files and the shared library to /usr/local/include/tensorflow, /usr/local/lib (soft link to /usr/lib/ ...)
Now I am building a cmake projects using tensorflow. Here is a cmake snopshot:
 cmake ..
[Semantic_Relocalization] Build type: Release
[Semantic_Relocalization] Install path: /usr/local
-- Using libstdc++(gcc). You can change the tool chain with clang/clang++ in Ubuntu/CentOS/MacOS
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_MAIN_LIBRARY)
-- Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- GFLAGS_INCLUDE_DIRS: /usr/include/gflags
-- GFLAGS_LIBRARIES: /usr/lib/x86_64-linux-gnu/libgflags.so
-- Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- GLOG_INCLUDE_DIRS: /usr/include/glog
-- GLOG_LIBRARIES: /usr/lib/x86_64-linux-gnu/libglog.so
-- Home directory : /home/yiakwy
CMake Warning at cmake/Relies.cmake:17 (message):
  System variable EXTERNAL_DIR is nonexist, using
  /home/yiakwy/mapping_external instead.
Call Stack (most recent call first):
  CMakeLists.txt:123 (include)

-- EXTERNAL_LIBS_DIR : /home/yiakwy/mapping_external/linux
-- Find Opencv (ver.) (include: /usr/local/include/opencv4, library: opencv_calib3d
-- opencv_core
-- opencv_dnn
-- opencv_features2d
-- opencv_flann
-- opencv_gapi
-- opencv_highgui
-- opencv_imgcodecs
-- opencv_imgproc
-- opencv_ml
-- opencv_objdetect
-- opencv_photo
-- opencv_stitching
-- opencv_video
-- opencv_videoio
-- opencv_aruco
-- opencv_bgsegm
-- opencv_bioinspired
-- opencv_ccalib)
CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:769 (message):
  Imported targets not available for Boost version 106501
Call Stack (most recent call first):
  /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
  cmake/Relies.cmake:58 (find_package)
  CMakeLists.txt:123 (include)

CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:769 (message):
  Imported targets not available for Boost version 106501
Call Stack (most recent call first):
  /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
  cmake/Relies.cmake:58 (find_package)
  CMakeLists.txt:123 (include)

-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   filesystem
-- EIGEN3_VERSION: 3.3.90
-- Eigen3_DIR: /usr/local/share/eigen3/cmake
-- Found Eigen3, inc: /usr/local/include/eigen3
-- Found Eigen3: inc /usr/local/include/eigen3 (ver: 3.3.90)
-- Protobuf compiler version: libprotoc 3.8.0

-- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found version "3.8.0")
-- Protobuf compiler version: libprotoc 3.8.0

-- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread;-lpthread (found version "3.8.0")
-- Using protobuf 3.8.0
-- Protobuf_PROTOC_EXECUTABLE: /usr/local/bin/protoc
-- Found Tensorflow, inc: /usr/local/include/google/tensorflow, lib: /usr/local/lib/libtensorflow_all.so
-- PROTO_FILES: /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/proto/runtime_block.proto
-- hw_proto_srcs: /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/build/proto_codec/runtime_block.pb.cc
-- hw_proto_hdrs: /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/build/proto_codec/runtime_block.pb.h
-- PROTOBUF_INCLUDE_DIRS: /usr/local/include
-- PROTOBUF_LIBRARIES: /usr/local/lib/libprotobuf.so
-- -lpthread
-- -lpthread
-- models PYTHON_INCLUDE_DIR: /home/yiakwy/anaconda3/envs/py36/include/python3.6m
-- models PYTHON_LIBRARY: /home/yiakwy/anaconda3/envs/py36/lib/libpython3.6m.so.1.0
-- PYTHONHOME: /home/yiakwy/anaconda3/envs/py36
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/build

However when I try to make it, something goes wrong with Eigen interface:
▶ make
[ 50%] Built target base
[ 62%] Building CXX object modules/models/CMakeFiles/models.dir/main.cpp.o
In file included from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint:42:0,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/numeric_types.h:24,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/allocator.h:26,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:22,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:49:76: error: wrong number of template arguments (5, should be at least 3)
 class TensorContractionBlocking<QInt16, QInt16, QInt16, Index, ShardingType> {
                                                                            ^
In file included from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:112:0,
                 from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:21,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h:25:7: note: provided for ‘template<class LhsMapper, class RhsMapper, class Index, int ShardingType> class Eigen::internal::TensorContractionBlocking’
 class TensorContractionBlocking {
       ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint:42:0,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/numeric_types.h:24,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/allocator.h:26,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:22,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:151:42: error: wrong number of template arguments (9, should be at least 6)
                      Conjugate, PanelMode> {
                                          ^
In file included from /usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/Core:429:0,
                 from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:14,
                 from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:21,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/BlasUtil.h:28:8: note: provided for ‘template<class Scalar, class Index, class DataMapper, int Pack1, int Pack2, int StorageOrder, bool Conjugate, bool PanelMode> struct Eigen::internal::gemm_pack_lhs’
 struct gemm_pack_lhs;
        ^~~~~~~~~~~~~
In file included from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint:42:0,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/numeric_types.h:24,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/allocator.h:26,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:22,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:160:76: error: wrong number of template arguments (9, should be at least 6)
                                      QInt16, ColMajor, Conjugate, PanelMode>::
                                                                            ^
In file included from /usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/Core:429:0,
                 from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:14,
                 from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:21,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/BlasUtil.h:28:8: note: provided for ‘template<class Scalar, class Index, class DataMapper, int Pack1, int Pack2, int StorageOrder, bool Conjugate, bool PanelMode> struct Eigen::internal::gemm_pack_lhs’
 struct gemm_pack_lhs;
        ^~~~~~~~~~~~~
In file included from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint:42:0,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/numeric_types.h:24,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/allocator.h:26,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:22,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:162:38: error: ‘void Eigen::internal::operator()(Eigen::QInt16*, const DataMapper&, Index, Index, Index, Index)’ must be a nonstatic member function
            Index stride, Index offset) {
                                      ^
/usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:549:24: error: wrong number of template arguments (5, should be at least 3)
     Index, ShardingType> {
                        ^
In file included from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:112:0,
                 from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:21,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h:25:7: note: provided for ‘template<class LhsMapper, class RhsMapper, class Index, int ShardingType> class Eigen::internal::TensorContractionBlocking’
 class TensorContractionBlocking {
       ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint:42:0,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/numeric_types.h:24,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/allocator.h:26,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:22,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:1793:42: error: wrong number of template arguments (9, should be at least 6)
                      Conjugate, PanelMode> {
                                          ^
In file included from /usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/Core:429:0,
                 from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:14,
                 from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:21,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/BlasUtil.h:28:8: note: provided for ‘template<class Scalar, class Index, class DataMapper, int Pack1, int Pack2, int StorageOrder, bool Conjugate, bool PanelMode> struct Eigen::internal::gemm_pack_lhs’
 struct gemm_pack_lhs;
        ^~~~~~~~~~~~~
In file included from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint:42:0,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/numeric_types.h:24,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/allocator.h:26,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:22,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:1802:75: error: wrong number of template arguments (9, should be at least 6)
                                      QInt8, ColMajor, Conjugate, PanelMode>::
                                                                           ^
In file included from /usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/Core:429:0,
                 from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:14,
                 from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:21,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/BlasUtil.h:28:8: note: provided for ‘template<class Scalar, class Index, class DataMapper, int Pack1, int Pack2, int StorageOrder, bool Conjugate, bool PanelMode> struct Eigen::internal::gemm_pack_lhs’
 struct gemm_pack_lhs;
        ^~~~~~~~~~~~~
In file included from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint:42:0,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/numeric_types.h:24,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/allocator.h:26,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:22,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:1804:38: error: ‘void Eigen::internal::operator()(Eigen::QInt8*, const DataMapper&, Index, Index, Index, Index)’ must be a nonstatic member function
            Index stride, Index offset) {
                                      ^
In file included from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:105:0,
                 from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:21,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h: In instantiation of ‘struct Eigen::TensorEvaluator<const Eigen::TensorMap<Eigen::TensorFixedSize<float, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>, Eigen::DefaultDevice>’:
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h:96:65:   required from ‘struct Eigen::TensorEvaluator<const Eigen::TensorForcedEvalOp<const Eigen::TensorMap<Eigen::TensorFixedSize<float, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>, Eigen::MakePointer>, Eigen::DefaultDevice>’
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h:61:42:   required from ‘std::ostream& Eigen::operator<<(std::ostream&, const Eigen::TensorBase<Derived, 0>&) [with T = Eigen::TensorMap<Eigen::TensorFixedSize<float, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>; std::ostream = std::basic_ostream<char>]’
/home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:48:54:   required from here
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:162:71: warning: ignoring attributes on template argument ‘Eigen::PacketType<float, Eigen::DefaultDevice>::type {aka __vector(8) float}’ [-Wignored-attributes]
     PacketAccess = (internal::unpacket_traits<PacketReturnType>::size > 1),
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:133:0,
                 from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:21,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h: In instantiation of ‘const int Eigen::TensorEvaluator<const Eigen::TensorForcedEvalOp<const Eigen::TensorMap<Eigen::TensorFixedSize<float, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>, Eigen::MakePointer>, Eigen::DefaultDevice>::PacketSize’:
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h:104:32:   required from ‘struct Eigen::TensorEvaluator<const Eigen::TensorForcedEvalOp<const Eigen::TensorMap<Eigen::TensorFixedSize<float, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>, Eigen::MakePointer>, Eigen::DefaultDevice>’
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h:61:42:   required from ‘std::ostream& Eigen::operator<<(std::ostream&, const Eigen::TensorBase<Derived, 0>&) [with T = Eigen::TensorMap<Eigen::TensorFixedSize<float, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>; std::ostream = std::basic_ostream<char>]’
/home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:48:54:   required from here
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h:100:20: warning: ignoring attributes on template argument ‘Eigen::PacketType<float, Eigen::DefaultDevice>::type {aka __vector(8) float}’ [-Wignored-attributes]
   static const int PacketSize = internal::unpacket_traits<PacketReturnType>::size;
                    ^~~~~~~~~~
In file included from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:139:0,
                 from /usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from /usr/local/include/google/tensorflow/tensorflow/core/framework/tensor.h:21,
                 from /usr/local/include/google/tensorflow/tensorflow/core/public/session.h:24,
                 from /home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:6:
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h: In instantiation of ‘static void Eigen::internal::TensorExecutor<Expression, Eigen::DefaultDevice, true>::run(const Expression&, const Eigen::DefaultDevice&) [with Expression = const Eigen::TensorEvalToOp<const Eigen::TensorMap<Eigen::TensorFixedSize<float, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>, Eigen::MakePointer>]’:
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h:128:109:   required from ‘bool Eigen::TensorEvaluator<const Eigen::TensorForcedEvalOp<ArgType, MakePointer_>, Device>::evalSubExprsIfNeeded(Eigen::TensorEvaluator<const Eigen::TensorForcedEvalOp<ArgType, MakePointer_>, Device>::CoeffReturnType*) [with ArgType = const Eigen::TensorMap<Eigen::TensorFixedSize<float, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>; Device = Eigen::DefaultDevice; MakePointer_ = Eigen::MakePointer; Eigen::TensorEvaluator<const Eigen::TensorForcedEvalOp<ArgType, MakePointer_>, Device>::CoeffReturnType = float]’
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h:66:3:   required from ‘std::ostream& Eigen::operator<<(std::ostream&, const Eigen::TensorBase<Derived, 0>&) [with T = Eigen::TensorMap<Eigen::TensorFixedSize<float, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>; std::ostream = std::basic_ostream<char>]’
/home/yiakwy/WorkSpace/Github/SEMANTIC_SLAM/modules/models/main.cpp:48:54:   required from here
/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h:61:17: warning: ignoring attributes on template argument ‘Eigen::TensorEvaluator<const Eigen::TensorEvalToOp<const Eigen::TensorMap<Eigen::TensorFixedSize<float, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>, Eigen::MakePointer>, Eigen::DefaultDevice>::PacketReturnType {aka __vector(8) float}’ [-Wignored-attributes]
       const int PacketSize = unpacket_traits<typename TensorEvaluator<Expression, DefaultDevice>::PacketReturnType>::size;
                 ^~~~~~~~~~
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-declaration’
modules/models/CMakeFiles/models.dir/build.make:62: recipe for target 'modules/models/CMakeFiles/models.dir/main.cpp.o' failed
make[2]: *** [modules/models/CMakeFiles/models.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:1163: recipe for target 'modules/models/CMakeFiles/models.dir/all' failed
make[1]: *** [modules/models/CMakeFiles/models.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

I have already downloaded and installed Eigen specified in tensorlfow/workspace.bzl (3.9.0, I have printed the version I extracted from "Eigen/src/Core/util/Macros.h")
However after searching a while, only to find some interfaces like "TensorContractionBlocking" defined in installed eigen3 (/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h) was different from the google version (/usr/local/include/google/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h)
Here is the captured snapshot from screen:

Any other info / logs
See above
Conclution
Since the source codes are incorrect, It is impossible to compile it in my cmake project. Any help ?

@gadagashwini
I have resolved the problem by manually adding the following path to my FindEigen3.cmake module:
~  44 # set EIGEN3_INCLUDE_DIR
~  45 # this is where I installed bazel eigen refered by tensorflow 2.2.0rc
~  46 unset(EIGEN3_FOUND)
~  47 # /usr/include/eigen3, ceres depended eigen
~  48 # /usr/local/include/eigen3/, extracted from bazel archive
~  49 # set(EIGEN3_INCLUDE_DIR "/usr/local/include/eigen3")
~  50 set (EIGEN3_INCLUDE_DIR "/home/yiakwy/.cache/bazel/_bazel_yiakwy/729cb3000927cd0e322e439998a82145/external/eigen_archive")
~  51 _eigen3_check_version()
~  52 set(EIGEN3_FOUND ${EIGEN3_VERSION_OK})

It seems that the released cmake-3.3.9 used by tensorflow-2.2.0-rc is patched. Only the correct version does not help. Hence I dig into the bazel building system and find the relevant eigen3 files used by tensorflow, it shows that they share template with same number of 5 arguments.

@yiakwy-enterprise-roborock, Glad it worked.

@yiakwy-enterprise-roborock
Hi, I encounter exactly the same issue with what you described. Can you tell me how you you solve this problem in details. I didn't catch your points clearly. Thanks.

@gadagashwini
I have resolved the problem by manually adding the following path to my FindEigen3.cmake module:
~  44 # set EIGEN3_INCLUDE_DIR
~  45 # this is where I installed bazel eigen refered by tensorflow 2.2.0rc
~  46 unset(EIGEN3_FOUND)
~  47 # /usr/include/eigen3, ceres depended eigen
~  48 # /usr/local/include/eigen3/, extracted from bazel archive
~  49 # set(EIGEN3_INCLUDE_DIR "/usr/local/include/eigen3")
~  50 set (EIGEN3_INCLUDE_DIR "/home/yiakwy/.cache/bazel/_bazel_yiakwy/729cb3000927cd0e322e439998a82145/external/eigen_archive")
~  51 _eigen3_check_version()
~  52 set(EIGEN3_FOUND ${EIGEN3_VERSION_OK})

It seems that the released cmake-3.3.9 used by tensorflow-2.2.0-rc is patched. Only the correct version does not help. Hence I dig into the bazel building system and find the relevant eigen3 files used by tensorflow, it shows that they share template with same number of 5 arguments.


Separate constraint tolerance from VMCON tolerance.  mdkdevelop3

In GitLab by @mkovari on Jun 21, 2019, 21:03
I created a branch mdkdevelop3 with some useful code, but the branch is now too old to make it practical to merge.  It will be easier to recode by hand if and when we choose to do so.
To see what there is, do a compare (or just visit this link).

Allow the constraint tolerance to be different from the optimiser tolerance.
New verbose diagnostics.

It is my opinion that this is no longer really necessary. #3238 ensures that the inequality constraints are satisfied, no exceptions. Do we still want to introduce a separate equality tolerance to PROCESS?
@jonmaddock @mkovari

To clarify the situation: the code as it stands ensures that the inequality constraints are satisfied, but it no longer has a separate explicit check on the equality constraints.  They should be guaranteed by the convergence criterion which also ensures the optimiser has converged.  I agree that there is probably no need for an additional check on the equalities.
I suggest keeping an eye on the constraint residues to check that they remain low.


Simplify Binder build configuration and notebook execution

@shaunagm This WIP PR updates the Binder build.
The todo.md file has some recommendations after I ran all the notebooks. If you want to walk through this later this week, I would be happy to do so.

Looks like the missing file is due to a data directory/submodule not being copied to this repo.
JupyterLab's demo repo for Binder has a nice layout for binder with separate directories for data files and notebooks. Also it uses pyinvoke which simplifies a local install.

The missing file issue (the usacturial.txt issue) was due to a problem with how our setup.py was configured.  The .txt file should actually be part of our HARK package which these notebooks use.  Unfortunately fixing this for one notebook involves changing the version of all our notebooks, which we'd strongly prefer not to do.
And yes, let's do a videocall later this week?

Sure. I'm not clear on why the notebooks would need to all change version unless there are major breaking changes in EconARK's API.
I could set up another branch on my repo that pulls the latest commit from master for EconARK so at least you could test it out if you want. Should only take 5 minutes.

We don't want them to change version - we'd like to reach a point with most of these notebooks where they're "done" and we don't ever touch them again.  Changing versions of Econ-ARK and then having to update the notebooks so they don't break when Econ-ARK has a breaking change is exactly what we're trying to avoid.  But newer notebooks will need newer versions of Econ-ARK.  If all notebooks must have the same version of Econ-ARK we are trapped having to occasionally update 30+ notebooks to use new versions.

@shaunagm This branch https://github.com/willingc/DemARK/tree/try-master-latest-sha uses the latest master on Binder and it looks like stuff is working.
Look at the binder folder requirements.txt and see how the version for binder is configured to pull from master. The notebooks with the missing file are working now.
As an FYI, you can have binder serve a different version of Econ-ARK than the repo itself. Binder will default to taking the requirements in the binder folder first and if not found use the requirements at the repo's root.

Oh, neat.  Could we do something like git+git://github.com/econ-ark/HARK.git@latest_stable_release so that, unless overwritten in the notebook itself, the notebooks would automatically get whatever SHA1 we'd tagged as the latest stable release?  That's probably safer than just pinning to master, which we introduce bugs into all the time.

Yep you can pin it to any SHA1, tag, or release.

This is related to a pet idea of mine, discussed and articulated in this PR
https://github.com/econ-ark/HARK/pull/275: Briefly, we should figure out
how to add, to our testing/CI regime, the *.py files of some subset of the
notebooks in the DemARK/REMARK repos.
If we had had that infrastructure in place, we would have caught a subtle
bug introduced by a PR that nearly derailed the weeklong class I am
teaching in Budapest this week.
Nobody seems to know an easy way to do this, which is surprising to me.
which is to choose
On Tue, Jul 23, 2019 at 9:28 PM Carol Willing<EMAIL_ADDRESS>wrote:

@shaunagm https://github.com/shaunagm This branch
https://github.com/willingc/DemARK/tree/try-master-latest-sha uses the
latest master on Binder and it looks like stuff is working.
Look at the binder folder requirements.txt and see how the version for
binder is configured to pull from master. The notebooks with the missing
file are working now.
As an FYI, you can have binder serve a different version of Econ-ARK than
the repo itself. Binder will default to taking the requirements in the
binder folder first and if not found use the requirements at the repo's
root.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/DemARK/pull/50?email_source=notifications&email_token=AAKCK74Z3UUGEUGN6YBGMH3QA5LWDA5CNFSM4IGHZLA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2UFYKY#issuecomment-514350123,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKCK7ZKBRVMY267XE5NMNDQA5LWDANCNFSM4IGHZLAQ
.

--

Chris Carroll

@llorracc Shauna and I chatted this morning. There are 3 general ways to test notebooks: nbval, nbconvert, and papermill. Typically using pytest as the test runner. A good resource for all things notebooks and reproducible research: https://github.com/jupyter-guide/jupyter-guide and its related https://github.com/jupyter-guide/ten-rules-jupyter.

@llorracc can you get us an initial list of notebooks you want to run, that should pass (or fail!) quickly?

@willingc Thanks very much for your extensive improvements on a bunch of fronts.
I was about to merge but then realized that this discussion is independently valuable and would be less prominent after a merge.
Having reread the discussion in the related issue I think my preferences have clarified.
Steps:

Get to a point where we have verified that ALL DemARKs and REMARKs work with the current stable release.

We are pretty close to that point right now; the Alphacruncher guys have tested all DemARKs and REMARKs and I think we have addressed most or all of the problems

Set things up so that, when there is a new dev release, that triggers a process to run all of the DemARK *.py files and all the REMARK do_min.py files

If there are notebooks that break, we can either:

Do a "quick fix" which is to pin the notebooks to the previous dev release and put the unpinned version on a "to-fix" branch; or
Actually fix the problem(s) and post the corrected versions

For every notebook that breaks, we therefore have a means to unbreak it.
I much prefer this workflow to pinning everything to the current (working) version, precisely because I think that trying to run existing notebooks on a new candidate release is an excellent tool for bug-finding in the new release.

I was about to merge but then realized that this discussion is independently valuable and would be less prominent after a merge.

No rush to merge. :smile:

Having reread the discussion in the related issue I think my preferences have clarified.
Steps:

Get to a point where we have verified that ALL DemARKs and REMARKs work with the current stable release.

Excellent plan!

We are pretty close to that point right now; the Alphacruncher guys have tested all DemARKs and REMARKs and I think we have addressed most or all of the problems

Nice!

Set things up so that, when there is a new dev release, that triggers a process to run all of the DemARK *.py files and all the REMARK do_min.py files

I would recommend to test the notebooks on all pushes to master. This way there should be minimal breakage at release time. Azure Pipelines may be a good CI tool instead of or in addition to Travis or CircleCI since it supports Windows and is usually much faster.

If there are notebooks that break, we can either:

Do a "quick fix" which is to pin the notebooks to the previous dev release and put the unpinned version on a "to-fix" branch; or
Actually fix the problem(s) and post the corrected versions

For every notebook that breaks, we therefore have a means to unbreak it.
I much prefer this workflow to pinning everything to the current (working) version, precisely because I think that trying to run existing notebooks on a new candidate release is an excellent tool for bug-finding in the new release.

Yep, getting tests written would simplify quite a bit since you should be able to have binder use the latest stable version which would be pulled into the container if it is unpinned.

Seems like the right way to do this is to have some way of tagging the notebooks that should be automatically run, maybe by adding something to the metadata, and then the script should just run those.  Either that or have in the DemARK (and REMARK) repos a /test-me folder or something like that with a list of the names of the .py files that should be run when there is a pull request.


Describing enums as strings in 5.0.0-rc4 works only for Newtonsoft.Json

There was some attemtp at fixing enum name generation in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/1061 but AFAICT it only works for Newtonsoft.Json and not for System.Text.Json.
Demonstration (the used JSON technology is the only difference, and what you see is the only change in code):
services
    .AddMvc(options =>
    {
        options.EnableEndpointRouting = false;
    })
    .AddNewtonsoftJson(options =>
    {
        options.SerializerSettings.Converters.Add(new StringEnumConverter());
    })

services
    .AddMvc(options =>
    {
        options.EnableEndpointRouting = false;
    })
    .AddJsonOptions(options =>
    {
        options.JsonSerializerOptions.Converters.Add(new System.Text.Json.Serialization.JsonStringEnumConverter());
    })

System.Text.Json is not fully supported yet … working on it, albeit in my limited free time 😉

Should be addresses by #1378. Preview nugets available on myget, official release coming real soon

Try to use Unchase.Swashbuckle.AspNetCore.Extensions to fix the display of enums.


Add test for #1486

Closes https://github.com/rakudo/rakudo/issues/1486
I really don't know where to put this, in literals there is nothing for hash literals and hash or hashes have nothing related also, instead testing just methods.

Closing as the problem is more complex


docker volume parameter

Hi, nice project.
Is it possible to share a volume and files using your library (ex: docker run -v /home/user/:/home/ container ) ?

@prvst yes. Anything docker API supports is also supported here. You can explore https://godoc.org/github.com/fsouza/go-dockerclient to see how you can pass the volume options.

cool, thanks


Create third section of landing page

Note: Please review this PR after #6 has been merged
What:
Create the third section of the landing page
Why:
Relates to: https://app.asana.com/0/1159164196409129/1190427257068963/f
How:

Add react-youtube component
Create the section

Media:
https://www.loom.com/share/20d019a4d4d24cfbbfca0b7b8b0fcbee

Have to say that looks confusing but seems to be OK!
Waiting for this to not be a draft

@duranmla ready for review 💯

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


Is this project dead?

Bot went offline and never came back.


Documentation of WebSocketCommonProtocol.wait_closed

I'm seeing two arguments to .wait_closed which is odd. It seems to be picked up as a function?


Add Python 3.7 to Tox and Travis configuration

As far as Travis is concerned, the officially-sanctioned method of supporting Python 3.7 appears to be something like:
matrix:
  include:
    - python: 3.7
      sudo: true
      dist: xenial
      env:
        - TOX_ENV=py37

c.f., https://github.com/travis-ci/travis-ci/issues/9815#issue-336465122

@moggers87: You seem to have a better handle on Tox + Travis than I do. Would you like to address this one?

Sure, I've added 3.7 support to a couple of my own projects already.


EnvHashConfig#create

Looks good. Is the version difference between .ruby_version and .travis.yml anything to be concerned about?

OK, it doesn't look like I can merge this, so knock yourself out.


qcodes driver OPX.set_sweep_parameters() - support non linear setpoints (or document limitation)

in opx_driver.py:
the set_sweep_parameters of axis1 / axis2 only works correctly if the setpoints argument is creatable using np.linspace.
The reason is that internally only the start/stop and number of points are stored and a new np.linspace is generated just before storing the axis into the QCoDeS dataset.
The request is to allow storing the exact setpoint values in an ArrayParameter or similar in case the received sequence is not linear.
Issue is not high priority but at least please document this limitation.

thank you for making the change! I will close the issue now


[SPARK-17215][SQL] Method SQLContext.parseDataType(dataTypeString: String) could be removed.

What changes were proposed in this pull request?
Method SQLContext.parseDataType(dataTypeString: String) could be removed, we should use SparkSession.parseDataType(dataTypeString: String) instead.
This require updating PySpark.
How was this patch tested?
Existing test cases.

Test build #64353 has started for PR 14790 at commit 2ad4db2.

Test build #64353 has finished for PR 14790 at commit 2ad4db2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64353/
Test PASSed.

Thanks - merging in master.


Add Foodora as company who uses it in prod

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


chore: 🔧  maintenance

Changes

plop.js caused generators to be updated
Unnecessary .eslintrc.js fields cleaned

Pull Request Test Coverage Report for Build 240614760

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

Totals

Change from base Build 240540361:
0.0%

Covered Lines:
244

Relevant Lines:
244

💛  - Coveralls


Are you able to build any autotools based projects with your w64devkit?

I tried to build the FOX Toolkit (http://www.fox-toolkit.org/) but failed.

That's normal. Autotools configure scripts are not actually so portable,
and will basically never work in a Windows environment. Sometimes these
projects include an independent Makefile-based build, and you just need to
invoke make on one of these Makefiles. That includes FOX Toolkit, which
includes Makefiles for various non-unix C compilers. You may be able to
modify one of these for Mingw-w64.


Add build action

Verify that impeller-cmake compiles with CI, similar to what we're doing in https://github.com/bdero/impeller-cmake-example

Build action was added with https://github.com/bdero/impeller-cmake/commit/783f1ea2567afa23878f779f224550d562e7f778.


Any support on multiple chart in one slide in the near future?

Hi, Steve,
I would like to generate a slide with some side by side charts together with some explanation notes for the chart. From your document, looks like you do not support it so far. Do you have any plan to support multiple charts in the near future? Or is there any work around that I can potentially use to accomplish this request?
Thanks,
Lin

Hi Lin, I'm not sure I've ever actually tried it, but I don't see why it shouldn't work. What leads you to believe it isn't supported?

Hi, Steve,
It turns out to be my poor interpretation of your help file. I got the
impression from
http://python-pptx.readthedocs.org/en/latest/user/charts.html, where it
says that "Most charts only have a single plot and python-pptxdoesn’t yet
support creating multi-plot charts, but you can access multiple plots on a
chart that already has them."
I misunderstood the plot concept with chart from above statement earlier. I
have tried it later and pptx does support multiple charts in one slide.
Sorry that I forgot to delete my original questions,
Lin
On Tue, Mar 17, 2015 at 9:15 PM, Steve Canny<EMAIL_ADDRESS>wrote:

Hi Lin, I'm not sure I've ever actually tried it, but I don't see why it
shouldn't work. What leads you to believe it isn't supported?
—
Reply to this email directly or view it on GitHub
https://github.com/scanny/python-pptx/issues/152#issuecomment-82732499.

--
*Lin Zhong  *

Applause gets Three Straight Years as one of Forbes’ Most Promising
Companies http://www.applause.com/awards

No worries Lin, the plot vs. chart distinction is a subtle and potentially confusing one. In many contexts (but not this one :), plot and chart are synonyms.
Just for anyone who encounters this on search, python-pptx supports multiple charts on a single slide. What it doesn't support yet is having more than one "chart type" in a single chart. The classic example would be a single chart having a line plot in the foreground, superimposed over a column chart in the background. This is what is termed a "multi-plot" chart in the python-pptx documentation.

Can you share a way through which we can put two charts in a single row side by side?
For now, I am using a table, with a single row having two columns and inserting two charts there.
But this breaks my purpose because the end user is ultimately interacting with a table

Just put them side by side. There's nothing stopping you placing more than one chart on a single slide. If you want the template to determine their locations, use two chart placeholders side by side.


Update README.md

As I ran into problems with a colleague using Anaconda Powershell Prompt (and probably an outdated version of Conda) with the old commands, I found a syntax that works with his Powershell and my WindowsSubsystemforLinux

Looks good to me. Thanks, Simon!


changed "getStaringPoseFromAutoFile" to non-misspelled version

our programmers tore their hair out over this

Can you add back a version of the method that is misspelled that just calls the correct method, then deprecate it? If the typo is just fixed this can't be released without breaking the code of everyone that uses that method.

added 👍
good catch, I should have thought of that originally.

No longer relevant as of #714


SEO updates

Learn Build status updates of commit b862684:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because ref +refs/pull/102978/merge has been deleted or has been force pushed.
 If this is pull request, please ensure it is mergeable (no merge conflict) and open (not closed).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Account.declare errors out when running test/declare-deploy.test.ts locally

I am erroring out when I at account.declare(contractFactory) - and I am able to reproduce the issue when I run the declare test in the starknet-hardhat-example repo (test/declare-deploy.test.ts).
StarknetPluginError: Could not declare class: Got ClientConnectorError while trying to access http://<IP_ADDRESS>:5050/feeder_gateway/get_nonce?contractAddress=0x40e9651ef7f8b36cc3ef6b8722e263bacd5d52896901de6db79ab62a4e767d1&blockNumber=pending.

The error is saying that the plugin is trying to connect to <IP_ADDRESS>:5050, that means you're probably connecting to integrated-devnet or an external starknet-devnet. You can read more about these networks here: link.
A few questions that will help with debugging:

Which command did you run to get this?
Can you show your hardhat.config.ts file?
What do you get when you run npx hardhat starknet-plugin-version? You can omit npx if you have hardhat installed locally.

I havent modified hardhat.config.ts in the repository.
Version: 0.6.8
❯ npx hardhat starknet-plugin-version
Starknet plugin using dockerized environment (shardlabs/cairo-cli:0.10.3-arm)
Version: 0.6.8

Here is my command + output
❯ npx hardhat test test/declare-deploy.test.ts
Starknet plugin using dockerized environment (shardlabs/cairo-cli:0.10.1-arm)
Using network integrated-devnet at http://<IP_ADDRESS>:5050

  Class declaration
    1) should declare and deploy a class

  0 passing (6s)
  1 failing

  1) Class declaration
       should declare and deploy a class:
     StarknetPluginError: Could not declare class: Got ClientConnectorError while trying to access http://<IP_ADDRESS>:5050/feeder_gateway/get_nonce?contractAddress=0x4cbdfcd49fae0ecd3a69a6fc2c96c2685bfc2831e513033ffbb0541d3fbf66c&blockNumber=pending.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1065, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1050, in create_connection
    sock = await self._connect_sock(
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 961, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 500, in sock_connect
    return await fut
  File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 535, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 5050)

I also should note that I am able to run test/decode-events.test.ts successfully... will update the repo to 0.7.0 and try again


Doc/Learn hub page or pages with summarized scientific "domain advice"

Content to cover which tool to use, when, and why. A conversational tone seems best. Sort of a "Best of" for sci advice. Not a true tutorial, but could serve as a summary/baseline for one at a future time (or may already be included in a tutorial, but hard to find for quick Q&A).

If opinion, state that.
If differing opinions exist, state those as alternatives.
If a tutorial includes that method (or compared methods), link in which one.
If prior Q/A or method guides exists on a mailing lists or at Galaxy Biostars (https://biostar.usegalaxy.org) or Biostars (https://www.biostars.org) exist or other trusted public forum (google forums with tool author feedback and the like), link that in.
If pubs, whitepapers, vetted opinion blogs, etc. exist that are appropriate to link in to help support the advice, include those. But I suggest not getting too hung up on this - domain expert advice can be subjective in many cases yet still valuable. Sci users can test out on own data.
side-by-side comparisons
considerations that touch on data content
usability with downstream tools (plus tips for usage to enable that, including important intermediate tools for prep and related)
performance/resource (e.g. tool X runs faster with less memory utilization)

Organize

Put in http://galaxyproject.org Hub. /learn but link on /support? Not really a tutorial, but rather opinions to help with "what would a domain expert do" questions (exact quote from @pvanheus below).

Examples (RNA-seq):

Hisat2 or Tophat?
Featurecounts or Ht-seq count?

Suggested on Gitter by:
pvanheus @pvanheus Mar 31 07:28
these kind of workflow-y decisions is what GalaxyScientists was meant to discuss (and document)
'cause I'm often asking those "what would a domain expert do" questions

And "is there an off the shelf, documented, community maintained workflow for X?"

just you and me, Jen?

Maybe we start it then pull in others with expertise depending on the "domains" we cover / who is attending the hacks (or wants to help anyway, even remote)?
Thinking about the domains to target seems like a good next step. Would be nice to get to those without much organized existing help. Maybe can start list in this issue or create a new one and link it in?
Would also be good to draft hub and domain pages specific pages as markdown templates, ideally before the hack (can always tune it there).

btw: https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-016-1457-z

Wow "Here, we evaluate 219 combinatorial implementations of the most commonly used analysis tools"


bug: Invalid check on RPC id

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
After sending a valid WS to open a WalletConnect v2 client to https://relay.walletconnect.com/, send RPC query :
{"jsonrpc":"2.0","id":1,"method":"irn_subscribe","params":{"topic":"sometopicid"}}
The relay service replies :
{"id":1,"jsonrpc":"2.0","error":{"code":-32602,"message":"Request validation error: Invalid request ID"}}
Expected Behavior
Should work, as before.
RPC id seems to requires a large integer, representing the current time. Any low integer such as 1 or 2 is rejected.
It should be compliant with JSON-RPC, it has broken compatibility with pywalletconnect.
In the case the filtering is legitimate nad here to stay, the published walletConnect standard documentation must be update to reflect this. The examples provided in the JSON-RPC page use the value "1" which is not working anymore.
Steps To Reproduce
After sending a valid WS to open a WalletConnect v2 client to https://relay.walletconnect.com/,
Send RPC query :
{"jsonrpc":"2.0","id":1,"method":"irn_subscribe","params":{"topic":"sometopicid"}}
Environment
Potentially all : the interface is the socket.

Relevant log output
DEBUG:pywalletconnect.client_v2irn:URI WC version 2 decoding
DEBUG:pywalletconnect.client_v2irn:wc v2 URI provided decoded successfully, now starting the WalletConnect client
DEBUG:pywalletconnect.client_v2irn:Opening a WalletConnect v2 client with https://relay.walletconnect.com/?auth=eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJkaWQ6a2V5Ono2TWtndDRTeGpzdXdTeFhTeHJnTkphSFJkWXBBaURCVXpYYjdoeUZrblQ2NVdlMSIsInN1YiI6ImUyNDgxOTE3ZTUzM2VmYjUyZjdlNzFiMWQyOGE2NDQxNTQ5NGVhNWM2NGNkMWI3ZTRjODJlMWQ0NjRjNjBhY2YiLCJhdWQiOiJ3c3M6Ly9yZWxheS53YWxsZXRjb25uZWN0LmNvbSIsImlhdCI6MTY4NzAyMTgxMCwiZXhwIjoxNjg3MTA4MjEwfQ.fae2cANuViZJigjSe9XerW5yEYwhOBXOBWDFmd8bpTDO1C6XWiFcnIjjpmgf_sHOzu268l6DeYI-QsIj39S_CA&projectId=338d2404fafcd317347e4da1c3de72b5&ua=wc-2/python-1/desktop/pyWalletConnect
DEBUG:pywalletconnect.tls_socket:Socket connected
DEBUG:pywalletconnect.websocket:Connecting to WebSocket Host=relay.walletconnect.com PathTarget=/?auth=eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJkaWQ6a2V5Ono2TWtndDRTeGpzdXdTeFhTeHJnTkphSFJkWXBBaURCVXpYYjdoeUZrblQ2NVdlMSIsInN1YiI6ImUyNDgxOTE3ZTUzM2VmYjUyZjdlNzFiMWQyOGE2NDQxNTQ5NGVhNWM2NGNkMWI3ZTRjODJlMWQ0NjRjNjBhY2YiLCJhdWQiOiJ3c3M6Ly9yZWxheS53YWxsZXRjb25uZWN0LmNvbSIsImlhdCI6MTY4NzAyMTgxMCwiZXhwIjoxNjg3MTA4MjEwfQ.fae2cANuViZJigjSe9XerW5yEYwhOBXOBWDFmd8bpTDO1C6XWiFcnIjjpmgf_sHOzu268l6DeYI-QsIj39S_CA&projectId=XXXX&ua=wc-2/python-1/desktop/pyWalletConnect
DEBUG:pywalletconnect.websocket:Waiting WebSocket handshake : 1th loop.
DEBUG:pywalletconnect.websocket:Waiting WebSocket handshake : 2th loop.
DEBUG:pywalletconnect.websocket:Waiting WebSocket handshake : 3th loop.
DEBUG:pywalletconnect.websocket:WebSocket connection established.
DEBUG:pywalletconnect.client_v2irn:wc v2 URI and project id accepted
Connecting with the Dapp ...
DEBUG:pywalletconnect.client_v2irn:Sending a subscription request for d41cc7568d89560a55a04a72ebd3d34364ff474e1447e81f55fece033bd4a1df.
DEBUG:pywalletconnect.client:WalletConnect message sending to relay : {"jsonrpc":"2.0","id":1,"method":"irn_subscribe","params":{"topic":"d41cc7568d89560a55a04a72ebd3d34364ff474e1447e81f55fece033bd4a1df"}}

Anything else?
This is a deviation from the JSOP-RPC protocol. It states one can use any string or positive integer number.
id is an identifier established by the Client that MUST contain a String, Number. The value SHOULD normally not be Null and Numbers SHOULD NOT contain fractional parts.
The Server MUST reply with the same value in the Response object if included. This member is used to correlate the context between the two objects.
In the case this is a deviation in the walletconnect standard from the JSON-RPC, it should be duly documented and stated in the relevant place, for the client implementers.

https://github.com/WalletConnect/walletconnect-docs/pull/775

Yoyo


Fix: fixed security issue where login form is not protected against CSRF attacks

This is the first step in a fix for #29

Consider this a WIP until I have fixed all forms!

Consider this a WIP until I have fixed all forms!

This is beginning to get complicated. I managed to refactor the registration form substantially, but in implementing the password field I stumbled across this BC break in SF2's form component:
https://github.com/symfony/symfony/issues/12792
So until they merge this fix I can't actually use the repeated field type for the password field. So I have two choices: a) wait or b) use two standard text fields and compare the input as you were doing before. I would prefer not to do this incorrectly and use the repeated field type, but it's going to delay this pull request.
In theory I could keep this PR as a fix for the login form CSRF and we could work on the other forms as individual PR's too.

As discussed, this can now be merged as an urgent security fix. I will work on the abstraction of forms as a separate branch.

On your demo app, this breaks the registration form. I'm testing at the moment.

I created a new 3.0 branch  ("3.0.x-dev" in composer) for BC-breaking changes. Would you mind issuing a new pull request against that branch? Thanks again for this important work.

I have downloaded the 3.0 branch and on the login after I remove the csrf token in the html no error is shown on submit.
I should add something more than the

and
$app['security.firewalls'] = array(
'login' => array(
'pattern' => '^/user/login$',
'anonymous' => true,
),
'register' => array(
'pattern' => '^/register$',
),
'callcenter' => array(
    'pattern' => '^.*$',
    'anonymous' => false,
    'form' => array(
        'login_path' => '/user/login',
        'check_path' => '/user/login_check',
        'csrf_provider' => 'form.csrf_provider',
    ),
    'logout' => array(
        'logout_path' => '/user/logout',
    ),
    'users' => $app->share(function($app) { return $app['user.manager']; }),
),

);
Regards

I've the same problem as rsantellan.
Checking the code of the Silex Security Provider learns me that you have to add an extra option 'with_csrf'.
Your config should look like this:
'secured_area' => array(
    'pattern' => '^.*$',
    'anonymous' => false,
    'form' => array(
        'login_path' => '/user/login',
        'check_path' => '/user/login_check',
        'csrf_provider' => 'form.csrf_provider',
        'with_csrf' => true,
    ),
    'logout' => array(
        'logout_path' => '/user/logout',
    ),
    'users' => $app->share(function($app) { return $app['user.manager']; }),
),

Regards


Write OOO samples to the WAL

This PR writes OOO samples to a separate WAL with directory name ooo_wal.
It also fixes a bug in the ingestion.

This still does not have marking when the chunk was m-mapped. I will do it in a follow up PR.


kmflow_re1000_rs256.yml doesn't work

Hi! I started directly from step 2 and ran python main.py --config kmflow_re1000_rs256.yml --seed 1234 --sample_step 1 --t 240 --r 30 in the main directory of this repo, but got the following message:
Traceback (most recent call last):
File "main.py", line 112, in
sys.exit(main())
File "main.py", line 94, in main
args, config, logger, log_dir = parse_args_and_config()
File "main.py", line 40, in parse_args_and_config
dir_name = 'recons_{}_t{}_r{}_lam{}'.format(config.data.data_kw,
AttributeError: 'Namespace' object has no attribute 'data_kw'
Can you please provide the scripts used in your experiments in order for me to reproduce the results?

Same issue here. It seems that there are a few things missing to get this script to actually run. If the authors could double-check this and make sure that the provided version runs, that would be greatly appreciated. From quickly glancing over the code, it seems like these are only minor issues.
Thanks in advance!

I have the same problem as above,do you have solve?

How did you solve this issue ?


If a contactmanager doesn't exist, create one

Trying to fix this crash, where contactmanager is nil:
https://appcenter.ms/orgs/5-Calls/apps/5-Calls-iOS/crashes/errors/769878387u/overview

This is just to ensure that the ContactsManager isn't nil before we use it. There's no (significant) time spent on init, so nothing to promise on until fetchContacts happens below the addition.


escaping new line in tables

Hello,
I'm thinking I'm doing something wrong as I see nobody else complain but I can't see \n translated to a new line in tables (neither examples table nor a step table). According to README \n should be translated to a new line whenever met. See:
  @pry_outline
  Scenario Outline: I want to pry an outline
    When I pry
    Examples: second test case
      |fff|ddd|
      |aaa|b\nbb|

$ cucumber features/test/debug.feature:24
From: /home/avalon/v3/features/step_definitions/debug.rb @ line 3 :

    1: When /^I pry$/ do
    2:   require 'pry'
 => 3:   binding.pry
    4: end
    5:
    6: When /^I pry in a step with table$/ do |table|
    7:   require 'pry'
    8:   binding.pry

[1] pry(#<CucuShift::DefaultWorld>)> cd scenario.source.last
[2] pry(#<Cucumber::Core::Ast::ExamplesTable::Row>):1> @data.values
=> ["aaa", "b\\nbb"]

So it appears to me as a literal \n. Same with step tables.
$ cucumber --version
2.1.0
gherkin3 (3.1.2)

This should have been fixed in #71 which went into the 3.1.1 release. Maybe there is a bug not caught by tests? I'll have a look.

I've only had a cursory look, but it seems to me gherkin3 is correctly unescaping \n into a newline character.
I've reproduced your problem though, so my theory is that cucumber somewhere converts the newline back to \n (backslash-n) somewhere?
@tooky @mattwynne @brasmusson any idea?

The gherkin_line.rb uses '\n' instead of "\n", so no the ruby-version of gherkin3 does not correctly unescaping \n into a newline character. #114 has a fix for this (when making the changes to allow regexp in table cells).

This is fixed on master

Can we have an official gherkin3 ruby gem release now this and other syntax related issues are resolved? I'd even version it 3.2.0 as changes are pretty serious.


not showing history

cmd + shift + c, copy and paste works, but history is not showing. I tried uninstalling several times, but didn't work. Am I doing it wrong?

The history will only be saved while Maccy is running. It won't shown anything coped before.

If it's grey - it means that Maccy is disabled. Just option+click the icon and it will enable again.


Request Webhook Feature

Please add webhook feature for receiving WhatsApp updates like new messages for each seasonid.

Bro are you working on this?

pending task ⏳

No problem, I will be waiting for it thanks

Yess, semoga bisa ada webhooknya.


[linux] Implement SystemNavigator.pop method

The flutter/platform channel has a method SystemNavigator.pop that when received should cause the application to shutdown.

Duplicate of https://github.com/flutter/flutter/issues/54857


Update UI for start page and fix bugs

Resolve #455
Resolve #480

the hint is not visible

the hint is not visible

It also occur on master branch


Update README.md for fallbackLogic example

Example code had fallbackConfig property, which was probably renamed. Also simplified the matching logic.

Thanks.


Enhance search database cache

The feature Define searchable fields at runtime introduced changes in the search database cache that could be rewritten in a better way, related comment:
https://github.com/meilisearch/meilisearch/pull/3834#pullrequestreview-1488380472

After more investigation, I discovered it is way more complex to implement than expected. The performance gain is not very important either.
The reason it is complex to change is that the DatabaseCache::get_value/get_value_from_keys functions are parametrized on a DC::Item type, which makes it impossible to return a RoaringBitmap as it is not necessarily constant (and we could ask for anything else).


Add ESLint and Prettier for VueJS

This PR adds the required packages and config for ESLint and Prettier.
They are both run over the client-app project with npm run lint
I've also added a github action to run this on PR submittal. Currently it doesn't re-commit the linted files and will just output any failures. Depends how fancy you want to get really!

[x] Add eslint and prettier plugins for vueJS.
[x] Update package.json to enable the use of prettier plugin.
[x] Run npm run lint over files to clean up and standardise previous commit.
[x] Add's github action to check files are linted on PR and a build is successful

Just gonna close whilst I figure out what I've goofed with the action.

:+1:


Enabling bash program on macOS doesn't install bash

Issue description
Unlike other shells I've tried enabling such as zsh, fish, and elvish. When I enable the bash program, home-manager does not install the program to my nix profile.
Installing bash using nix-env --install bash does make the program available in my nix-profile.
Meta
Maintainer CC
@rycee
@Gerschtli
@marsam
@maralorn
@jwiegley
@gmarmstrong
Technical details
 - system: `"x86_64-darwin"`
 - host os: `Darwin 19.5.0, macOS 10.15.5`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.3.6`
 - channels(davidlewis): `"home-manager, nixpkgs-20.09pre230446.a84cbb60f02"`
 - nixpkgs: `/Users/davidlewis/.nix-defexpr/channels/nixpkgs`

It seems that bashInteractive is not installed by this module. Apparently it was assumed to be installed inthe correct version.
You can add pkgs.bashInteractive in home.packages in modules/programs/bash.nix to fix this issue.

I'm temted to close this since it seems there are multiple version of bash available (4.4 and 5.0) and it would make sense for this module to not be opinionated about that. Also, I'm not comfortable enough with the Nix expression language just yet to make a contribution.
I'll keep this open for a few more days in case someone knows what the right thing to do is, then I'll close it.


fix: allow allowance fallback

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add Docs

The Rewrite middleware should eventually be documented within AspNetCore before 1.1 release. Stating what is implemented, references to IIS and mod_rewrite, etc.

Move this to https://github.com/aspnet/docs


Use test script from tools.git

Part of #1286

@dpw mind taking a look at this?

I really don't like the fact that this clones master of the tools repo.  The consequence of that is that a version of codebase that built today might not build tomorrow, due to a change in tools.  (And, yes, I don't like golang's package system for exactly that reason.)
So we should specify the version of tools that we clone.  But that raises the question, why not just use git submodules?  I'm no great fan of git submodules, but I'd rather we used it than ad-hoc substitute.  The git submodule update invocation can be incorporated into the Makefile so that there is no need to run it explicitly.

why not just use git submodules?

indeed.

@dpw PTAL

I don't see a reason to hide this away in .tools.  There seems to be some confusion in the Makefile changes whether it is tools or .tools.  (Though note that there are some obsolete references to a tools directory in .gitignore that should have been cleaned up in 795d0edc73).
A separate suggestion, and I can imagine the hassle of fixing this now, but while I'm looking at it: I don't think calling the repo "tools" is great.  Such over-generic names tend to lead to unkempt dumping grounds of unrelated stuff, in my experience.  That already looks like it might be the case: What does the socks thing have in common with the other contents of that repo?  So it might be better to call it build-tools (that seems an apt description of the rest of the contents) and remove the socks thing.

moved .tools -> tools
renamed tools.git to build-tools.git
raised separate issue for socks: https://github.com/weaveworks/build-tools/issues/4
tidy up confusion in Makefile
removed references to tools from .gitignore

Looks ok.  Are the circleci failures significant?

Yes in this case they are; need to think on how to fix that.


Indicator form from RF builder: "Save and add another" button -- Result level not pre-populated

Affects: Adding an indicator to an RF level via the RF builder
To reproduce

Click "Add indicator" from any result level. Note that the result level is pre-populated, as per #1275 and #1279.

Fill out all required fields and click "Save and add another" button.

Expected behavior: The next indicator form is pre-populated with the correct result level, just as the first one was.
Observed behavior: The result level has nothing selected.

PASSED. When I click "Save and add another [Thing], the result level is set in the new Thing.


BUG, VIZ: can't use fig.subplots_adjust on raw.plot figure

well, you can, but it looks awful:

Note especially the Help button and the extra-wide channel and time scrollbars. This resulted from:
eeg_picks = mne.pick_types(raw.info, meg=False, eeg=True)
fig = raw.plot(proj=False, order=eeg_picks, n_channels=len(eeg_picks))
fig.subplots_adjust(top=0.94)
fig.suptitle('No reference', size='xx-large', weight='bold')

Possible solutions include:

leaving enough room for a title at the top edge by default (and possibly putting the title on the plot instead of / in addition to in the window titlebar)
debugging to figure out why it gets so messed up currently, and fixing it so that subplots_adjust works more or less normally

I'd rather not add additional space for a title within the figure, because in interactive use this just takes away precious screen estate that should be used for the signal traces. So I'll definitely be +1 for debugging/improving the figure structure without changing the current layout. Alternatively, we might add options to hide the buttons (Help and Proj) as well as the scroll bars to produce a much simpler figure with basically only one axis containing the signals. This will make it straightforward to manipulate for further use.

Alternatively, we might add options to hide the buttons (Help and Proj) as well as the scroll bars to produce a much simpler figure with basically only one axis containing the signals.

+1 for "z" meaning "zen" mode :)
But yes I agree we should fix how we lay out the figure somehow so that subplots_adjust works

I dug into the code today, and it looks like this might be possible.  My current understanding of how this works is that:

main axes, scrollbars, and help button get initialized as subplots in _prepare_mne_browse_raw
positions of everything get modified in _layout_figure() any time the window is resized

I think we could get subplots_adjust to work correctly if:

subplots_adjust fires an event that we can listen for (not yet sure if it does), and
_layout_figure is called after that event, and
_layout_figure is modified to take fig.subplotpars into account

I'll take a little time tomorrow to follow up on those points.

I've made some progress here. on my branch I split _layout_figure into two functions (the new one called _update_layout.
There's a lot of duplicated code there that needs refactoring, but for now here's what works:
fig = raw.plot()
fig.subplots_adjust(top=0.9)

The plot will still be wonky, but after resizing the window it will look right, and the wider top border will persist through subsequent resizes.  I think I can fix the initial wonkyness by taking what I do here and doing something similar for each axes's position attributes instead of just for the subplotpars.

May have hit a wall on this one, so I've resorted to stackoverflow: https://stackoverflow.com/q/57503564/1664024


Off-by-one error on RowImpl.get(String columnName)

When calling get(String) on a Row, the result is off by one column.
This seems to be due to Column in Header being 1 indexed.
While cells in LineWithInfo is List which is 0 indexed.

@bsungur ok I cannot release this myself as I don't have permission.  I pinged @robert-bor to perform a release.  Please see ticket #113 and follow from there.  Thanks.