//tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test is flaky

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
git HEAD
Custom code
No
OS platform and distribution
Ubuntu 20.04
Mobile device
n/a
Python version
3.9.16
Bazel version
6.1.0
GCC/compiler version
10.2.1
CUDA/cuDNN version
n/a
GPU model and memory
n/a
Current behavior?
//tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test fails occasionally
x86 log
https://source.cloud.google.com/results/invocations/c5169019-316f-43e1-8310-67596d2aae9a/log
AARCH64 log
https://github.com/tensorflow/tensorflow/actions/runs/5330158020/jobs/9656553237#step:5:8169
Standalone code to reproduce the issue
bazel --bazelrc=/usertools/cpu.bazelrc test --config=pycpp --config=build_event_export --remote_cache=https://storage.googleapis.com/tensorflow-devinfra-bazel-cache/norbe --google_default_credentials

Relevant log output
FAIL: //tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test (shard 7 of 17) (see /root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test/shard_7_of_17/test.log)
INFO: From Testing //tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test (shard 7 of 17):
==================== Test output for //tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test (shard 7 of 17):
2023-07-04 13:14:35.474115: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2023-07-04 13:14:35.591768: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Running tests under Python 3.9.17: /usr/bin/python3
[ RUN      ] SnapshotFtTest.testLargeMultiSourceSnapshotRecoversAndCompletes_test_mode_graph_tfapiversion_1
[  SKIPPED ] SnapshotFtTest.testLargeMultiSourceSnapshotRecoversAndCompletes_test_mode_graph_tfapiversion_1
[ RUN      ] SnapshotFtTest.testRepeatedDatasetRecoversAndCompletes_test_mode_graph_tfapiversion_2
2023-07-04 13:14:39.585700: I tensorflow/core/data/service/dispatcher_impl.cc:223] Attempting to restore dispatcher state from journal in /root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/_tmp/b16384d7dce82bdf5680b78ace436b42jph8vvz5/tmpt0datbl4/tf_data_dispatcher_journal
2023-07-04 13:14:39.585733: I tensorflow/core/data/service/dispatcher_impl.cc:230] No journal found. Starting dispatcher from new state.
2023-07-04 13:14:39.585895: I tensorflow/core/data/service/server_lib.cc:82] Started tf.data DispatchServer running at <IP_ADDRESS>:46609
2023-07-04 13:14:39.587379: I tensorflow/core/data/service/worker_impl.cc:186] Worker registered with dispatcher running at localhost:46609
2023-07-04 13:14:39.587535: I tensorflow/core/data/service/server_lib.cc:82] Started tf.data WorkerServer running at <IP_ADDRESS>:43947
2023-07-04 13:14:39.588806: I tensorflow/core/data/service/worker_impl.cc:186] Worker registered with dispatcher running at localhost:46609
2023-07-04 13:14:39.588951: I tensorflow/core/data/service/server_lib.cc:82] Started tf.data WorkerServer running at <IP_ADDRESS>:43935
2023-07-04 13:14:39.590017: I tensorflow/core/data/service/worker_impl.cc:186] Worker registered with dispatcher running at localhost:46609
2023-07-04 13:14:39.590160: I tensorflow/core/data/service/server_lib.cc:82] Started tf.data WorkerServer running at <IP_ADDRESS>:46577
WARNING:tensorflow:From /usr/lib/python3.9/contextlib.py:87: TensorFlowTestCase.test_session (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use `self.session()` or `self.cached_session()` instead.
W0704 13:14:39.597163<PHONE_NUMBER>16640 deprecation.py:364] From /usr/lib/python3.9/contextlib.py:87: TensorFlowTestCase.test_session (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use `self.session()` or `self.cached_session()` instead.
2023-07-04 13:14:39.618944: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:382] MLIR V1 optimization pass is not enabled
2023-07-04 13:14:39.670608: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at distributed_save_op.cc:103 : UNIMPLEMENTED: Failed to get dispatcher version from dispatcher running at localhost:46609:
ERROR:tensorflow:Graph execution error:

Detected at node 'DistributedSave' defined at (most recent call last):
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 473, in <module>
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/test.py", line 56, in main
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 62, in main
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 60, in main_wrapper
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 51, in g_main
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2049, in main
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2156, in _run_in_app
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2568, in run_tests
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2537, in _run_and_get_tests_result
    File "/usr/lib/python3.9/unittest/main.py", line 101, in __init__
    File "/usr/lib/python3.9/unittest/main.py", line 271, in runTests
    File "/usr/lib/python3.9/unittest/runner.py", line 184, in run
    File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__
    File "/usr/lib/python3.9/unittest/suite.py", line 122, in run
    File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__
    File "/usr/lib/python3.9/unittest/suite.py", line 122, in run
    File "/usr/lib/python3.9/unittest/case.py", line 651, in __call__
    File "/usr/lib/python3.9/unittest/case.py", line 592, in run
    File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 357, in testRepeatedDatasetRecoversAndCompletes
Node: 'DistributedSave'
Failed to get dispatcher version from dispatcher running at localhost:46609:
	 [[{{node DistributedSave}}]]

Original stack trace for 'DistributedSave':
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 473, in <module>
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/test.py", line 56, in main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 62, in main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/benchmark.py", line 489, in benchmarks_main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 60, in main_wrapper
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/app.py", line 312, in run
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/app.py", line 258, in _run_main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 51, in g_main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2049, in main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2156, in _run_in_app
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2568, in run_tests
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2537, in _run_and_get_tests_result
  File "/usr/lib/python3.9/unittest/main.py", line 101, in __init__
  File "/usr/lib/python3.9/unittest/main.py", line 271, in runTests
  File "/usr/lib/python3.9/unittest/runner.py", line 184, in run
  File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__
  File "/usr/lib/python3.9/unittest/suite.py", line 122, in run
  File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__
  File "/usr/lib/python3.9/unittest/suite.py", line 122, in run
  File "/usr/lib/python3.9/unittest/case.py", line 651, in __call__
  File "/usr/lib/python3.9/unittest/case.py", line 592, in run
  File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/parameterized.py", line 314, in bound_param_test
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/test_combinations.py", line 360, in decorated
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/test_combinations.py", line 343, in execute_test_method
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 357, in testRepeatedDatasetRecoversAndCompletes
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/ops/distributed_save_op.py", line 56, in distributed_save
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/ops/gen_experimental_dataset_ops.py", line 2041, in distributed_save
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/op_def_library.py", line 795, in _apply_op_helper
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/ops.py", line 2647, in _create_op_internal
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/ops.py", line 1152, in from_node_def

E0704 13:14:39.671662<PHONE_NUMBER>16640 test_util.py:2067] Graph execution error:

Detected at node 'DistributedSave' defined at (most recent call last):
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 473, in <module>
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/test.py", line 56, in main
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 62, in main
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 60, in main_wrapper
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 51, in g_main
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2049, in main
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2156, in _run_in_app
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2568, in run_tests
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2537, in _run_and_get_tests_result
    File "/usr/lib/python3.9/unittest/main.py", line 101, in __init__
    File "/usr/lib/python3.9/unittest/main.py", line 271, in runTests
    File "/usr/lib/python3.9/unittest/runner.py", line 184, in run
    File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__
    File "/usr/lib/python3.9/unittest/suite.py", line 122, in run
    File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__
    File "/usr/lib/python3.9/unittest/suite.py", line 122, in run
    File "/usr/lib/python3.9/unittest/case.py", line 651, in __call__
    File "/usr/lib/python3.9/unittest/case.py", line 592, in run
    File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
    File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 357, in testRepeatedDatasetRecoversAndCompletes
Node: 'DistributedSave'
Failed to get dispatcher version from dispatcher running at localhost:46609:
	 [[{{node DistributedSave}}]]

Original stack trace for 'DistributedSave':
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 473, in <module>
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/test.py", line 56, in main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 62, in main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/benchmark.py", line 489, in benchmarks_main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 60, in main_wrapper
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/app.py", line 312, in run
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/app.py", line 258, in _run_main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 51, in g_main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2049, in main
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2156, in _run_in_app
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2568, in run_tests
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2537, in _run_and_get_tests_result
  File "/usr/lib/python3.9/unittest/main.py", line 101, in __init__
  File "/usr/lib/python3.9/unittest/main.py", line 271, in runTests
  File "/usr/lib/python3.9/unittest/runner.py", line 184, in run
  File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__
  File "/usr/lib/python3.9/unittest/suite.py", line 122, in run
  File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__
  File "/usr/lib/python3.9/unittest/suite.py", line 122, in run
  File "/usr/lib/python3.9/unittest/case.py", line 651, in __call__
  File "/usr/lib/python3.9/unittest/case.py", line 592, in run
  File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/parameterized.py", line 314, in bound_param_test
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/test_combinations.py", line 360, in decorated
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/test_combinations.py", line 343, in execute_test_method
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 357, in testRepeatedDatasetRecoversAndCompletes
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/ops/distributed_save_op.py", line 56, in distributed_save
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/ops/gen_experimental_dataset_ops.py", line 2041, in distributed_save
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/op_def_library.py", line 795, in _apply_op_helper
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/ops.py", line 2647, in _create_op_internal
  File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/ops.py", line 1152, in from_node_def

[  FAILED  ] SnapshotFtTest.testRepeatedDatasetRecoversAndCompletes_test_mode_graph_tfapiversion_2

@rishikasinha-tf flaky test


Darwin notification center wrappers

Wrappers for CFNotificationCenterAddObserver and friends would be useful, allowing callbacks to easily be made from Rust.
Relevant documentation:

CFNotificationCenter
CFNotificationCenterPostNotification
CFNotificationCenterAddObserver
CFNotificationCenterRemoveObserver

Also, a cfstr! macro would likely be needed, which acts like the CFSTR define.


Faulty device status

The problem
Hi.
When the phone devices are connected to the WiFi appear normally connected all the time. If a device goes away it appears constantly to connect for a second and disconnect from the WiFi

Your device model
RT-AX95Q
Firmware type
Stock
Firmware version
<IP_ADDRESS>.388.23285_g5068da5
Integration version with the issue
0.22.0
Method of the integration installation
HACS
What version and type of Home Assistant installation do you use
Home Assistant 2023.5.3
Is there anything useful in the logs?
No response
Diagnostics information
No response
Additional information
No response

Hi
Same here

home/at-home every 5mn all night long, phones were in flight mode

Hello again.
In my HA installation there are several WiFI Temperature & Humidity Tuja sensors, that fires every 5 mins to update Tuja cloud with the current state. During this period active WiFi the number of the connected devices increasing for a secs and decreases periodically.
Is this something to do with the wrong update of the status of the offline connected devices ?

Hello, @aventouris,
Thanks for your report. I'll take a closer look at it. Unfortunately, device tracking features are not perfect, but I am trying to improve them with time.
I'll let you know if some additional info is needed from your side

Hi Vaskivski.
After updating to the latest (<IP_ADDRESS>.388.23285_g5068da5) version, the problem vanished ;-)


DOC: special: Mention the sigmoid function in the expit docstring.

This function is not as well known as it should be.  Perhaps including the term "sigmoid function" in the docstring will make it more likely to be found.

LGTM, thanks Warren.


Bound slideToggle ID to boolean (so you can check if its open or closed)

Useful for showing open/closed icons on the toggle button

    Click for info

    ...

Do you have a better solution for this. This does not work using the controllerAs (this) pattern.

scope.sliderExpanded = attrs.expanded; works

I'm sure this would be out of date by now so closing


export to .glb with no color

I'm trying to set --model-save-format to .glb, but the exported model have no color.

The current version of TripoSR uses vertex color attributes to store the color information.
To display the color, for example in Blender, please create a material node and assign the "Color Attribute" to the basecolor (see the screenshot for reference).

Is it possible to achieve this automatically using script or package(like trimesh)? we are researching some operation directly on texture.png and want to use TripoSR as SOTA single-image to 3D model to generate base object. (We want to test this on MANY objects).

@pookiefoof - i think you can do this in trimesh with 1 additional line of code, see my comments here https://github.com/VAST-AI-Research/TripoSR/issues/76 and https://huggingface.co/spaces/stabilityai/TripoSR/discussions/8


Turn Args interfaces into types when passed to decorators

Turn Args interfaces into types when passed to decorators
Testing it in the monorepo

📦 Published PR as canary version: 0.0.2--canary.65.ef100c4.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

The type test is in the monorepo indeed! @shilman

:rocket: PR was released in v0.0.2-next.11 :rocket:


No table number

Why is there no table number on this page? It is ridiculous that I have to go search to find the table number to actually use the data contained in this otherwise helpful page.

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

ID: e5d2e8df-e8a5-e6ed-3127-13d6d0fa3604
Version Independent ID: ab6dc40e-8f4b-f39e-3ae9-ebd283eb7e7a
Content: Key Virtual Table - Dynamics NAV
Content Source: dynamics-nav/Key-Virtual-Table.md
Product: dynamics-nav-2018
GitHub Login: @jswymer

Hello, I see your point. The ID is<PHONE_NUMBER>. We have updated the other virtual table articles with IDs as well. The updated articles will be published soon. Thanks for the feedback!


Copying Text from the ZTI Screen

Hello,
I am currently using ZTI from the gnome terminal emulator on Redhat Linux. It works very well, however a major issue is that I have to way to copy text from the emulator. Is there any documentation of terminal emulators which support running ZTI in a way that text can be copied from the screen? If not, is this a feature that is being considered?
Thanks,
John C.

When running zti, zti will capture mouse clicks to provide the function where double-click moves the cursor and sends enter - like many 3270 emulators. Often, when mouse clicks are captured by the running program, ascii terminal emulators disable normal mouse selection. But often, they allow you to work around that disablement by holding down Alt or Ctrl or something while you use the mouse to select text. Unfortunately, I don't know if gnome terminal behaves this way or not. But if you haven't tried holding down a modifier key, it would be worth a shot.

Hi Neil, thanks for the response. I tried a few things out and found that for Gnome terminal it was the Shift key with Click + Drag to highlight text. Thanks for your help.


Protege - OnTop : Mappings are not effective when queried in SPARQL in Protege

I made 3 mappings in Protege under the OnTop mappings tab, all of them being almost similar in structure to each other, except that they talked about different columns and classes. When i fire SPARQL queries , I get results as if only the first mapping was present. Why does that happen ?

If this information helps : I deleted the first mapping to see if the result gets affected, but it didn't.  Am I supposed to do anything else other than saving the project for the query to execute using the lastest mappings ?

Thanks
Sahil Mathur
Trinity College, Dublin

Try restart the reasoner by "stop" and "start"? To make the changes effective, one needs to restart the Ontop reasoner.

Worked. Thanks a lot :-)


Is there any way I could overwrite the text size for atom-rails-model-schema?

This is a great tool. (y)
However sometimes the sidebar is just too big (over 1/3 of my 13" screen) due to long field name.
How could I resize it by overwrite the text size in my atom stylesheet?
Or another way I could resize the schema bar
Thanks!

You can set styles for element inside .rails-model-schema as they are in the stylesheet: https://github.com/platanus/atom-rails-model-schema/blob/master/styles/rails-model-schema.less. You can change the css whatever you want. Anyway, i have the following solutions in mind:

Make the right panel resizable: I'm currently just using atom.workspace.addRightPanel[https://atom.io/docs/api/v1.0.11/Workspace#instance-addRightPanel] and i found that this can help. Have to research a bit thought because the api documentation doesn't show a resizable option as this issue does.
Set some styles to make it more usable: Maybe a max-width: 20% or a combination of various styles.
Make the field names to only show a part of the name if the name is too big. So, if the name has more than 20 characters (or any number), we could show "thisisthenamefieldan..." and if the user hover the mouse, show the entire name: "thisisthenamefieldanisalargename". When copying the file via click in the name, the full name should be copied.

I will check out a good solution amoung those listed here later this week.

Thanks. After setting font-size: 0.8em, it looks much better now (y)


Identify router from hostname

can we use heuristics to extract useful information about internet router from dns names such as http://xe-11-1-0.edge1.newyork1.level3.net?
See: https://archive.nanog.org/sites/default/files/tuesday_steenbergen_troublshootingtraceroute_62.49.pdf (pp 17)
https://pages.cs.wisc.edu/~pb/hotplanet13b_final.pdf

Also extract the city: https://www.reddit.com/r/commandline/comments/1hfmepa/comment/m2l5wje/


Disparity between IP/URL information on this page and the JSON manifest for Microsoft cloud services

The IP and URL information contained on this page differs from the information published in the JSON manifest file that Microsoft publishes.  The JSON manifest file located at https://www.microsoft.com/en-us/download/confirmation.aspx?id=56519 contains IP/URL information that is used by third-party tools and integrations to build access control lists and other capabilities in which accurate and timeline endpoint information is required.
I am a product manager with Palo Alto Networks.  One of my automation features leverages the IP/URL information in the JSON manifest file to update our customers' NGFW devices with endpoint information for Azure Databricks.  Therefore, it is vitally important that the information outlined on this page is aligned with the endpoint information contained in the JSON manifest file.

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

ID: 4d0d628b-c7a0-ba06-680a-e2d592eec9eb
Version Independent ID: 4d0d628b-c7a0-ba06-680a-e2d592eec9eb
Content: Azure Databricks regions - Azure Databricks
Content Source: databricks/resources/supported-regions.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

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

@stealthllama
Thank you for bringing this to our attention.
I've delegated this to content author, who will review it and offer their insightful opinions.

Thanks for providing feedback that helps improve our documentation. We've created an internal work item (DOC-13882) to address your feedback. The timeline for resolution varies based on resourcing.
#please-close


Don't cache pyright results

It needs access to all files in the repository.

This is already the case


How do I test the detection and tracking on sample images/video?

I was not able to find a python file to test inference.  Could you please upload a test.py file to test inference on a batch of images/video?
The AP results in the paper look very promising.

please follow our validation code.


Edit Gear/Cog Missing

Home Assistant release with the issue:

0.91.0b5
Last working Home Assistant release (if known):
0.90.2
Operating environment (Hass.io/Docker/Windows/etc.):

Ubuntu VENV Home Assistant.
Component/platform:

UI
Description of problem:
Edit gear/cog in upper right hand corner of "more info" panels is not there.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
n/a

Traceback (if applicable):
n/a

Additional information:
n/a

/move to home-assistant-polymer


svg textAnchor not work

// input
<g textAnchor="middle"></g>
// expect
<g text-anchor="middle"></g>
// result
<g textAnchor="middle"></g>

https://facebook.github.io/react/docs/dom-elements.html#all-supported-svg-attributes

@danilobrinu Are you using preact-compat? Preact doesn't support camelCase. Just use kebab-case attribute name or use preact-compat for full React compaitable

Where is doc ??

Good point, need to call this out in the Preact docs.


Clarity on Externally exposing connect and kafka broker

Hello Community,
We are currently planning to use this helm deployments for our Dev environment. One issue that we are facing is current helms does not have ingress or external Ip load balancer for them.
Anyone with the knowledge on this can you please guide us on how to we manage to have consumer and producer onto the broker.
Any help will be appreciated.
Regards
Vishal Gavas

These charts are no longer maintained. Perhaps this blog can add clarity - https://strimzi.io/blog/2019/04/17/accessing-kafka-part-1/

@OneCricketeer
what do you mean?
is these charts deprecated! if yes which chart available there for kafka and it's assets like connect ?

These charts are deprecated for Confluent Operator for Kubernetes (CFK)
Kafka Connect isn't specific to Confluent, though, so you could also use Strimzi Kafka Connect CRDs


Sqlite: Implement metadata

Resolves: #875
Note, this uses the new syntax we discussed in API Review today. Fore example:
modelBuilder.Entity<Person>().SqliteTable("people");

Also note, entityType.Sqlite().Schema and model.Sqlite().Sequences return null and empty since those concepts don't exist on SQLite.

:shipit:

@bricelam I am trying to understand the purpose of implementing all this in each provider, can you "enlighten" me ? :-)

It's so that you can override things on a per-provider basis. E.g. one table name on SQLite, one on SQL Server, and one everywhere else. @rowanmiller commented on Friday that we may want to consider just removing it.

@bricelam  Thanks for the heads up, I will just leave it for now


Simple example to build Dockerfile in container

Hi!
It would be super cool if there was a template to show how I can build Dockerfiles in a job.
I have a Dockerfile in the root of my project. And when I push to my repo on Azure I'd like a job to run a Linux container which has Docker installed on it (this image fits the bill docker:18.09.6 from docker hub). I'd then in that container run the command in bash: docker build -t test .
As stated. There is no simple example as of today!
(to make it clear. I do not wish to use a VM at any stage)

Just use a Microsoft-hosted agent and run the ubuntu-16.04 image which has docker installed
Example yaml:
# https://aka.ms/yaml

trigger:
- master

variables: {
  DockerRegistry: 'my.registry.com'
}

stages:
- stage: dockerize
  jobs:
  - job: buildDocker
    pool:
      vmImage: 'Ubuntu-16.04'
    steps:
    - bash: |
        docker build -t $(DockerRegistry)/imagename:tag .
        docker push $(DockerRegistry)/imagename:tag


How to limit the input number to only 13 and user cannot enter invalid characters?

Hi :wave: ,
I appreciate your effort and struggle to develop this library. I just wanted to limit the input of phone number.
I didn't know is there any way exist to do this but I make some changes in index.js on line number 196.
<View style={{ flex: 1, marginLeft: this.props.offset || 10 }}>
          <TextComponent
            ref={ref => {
              this.inputPhone = ref;
            }}
            editable={!disabled}
            autoCorrect={false}
            style={[styles.text, this.props.textStyle]}
            onChangeText={text => {
              this.onChangePhoneNumber(text);
            }}
            keyboardType="phone-pad"
            underlineColorAndroid="rgba(0,0,0,0)"
            value={formattedNumber}
            {...this.props.textProps}

            // Custom add this to limit the number input
            maxLength={13}
          />
        </View>

So, would you like to add this feature or is this already exist then kindly enlighten me about this.
Thank you
Happy Code! :+1:

+1

Hey @badarshahzad , were you able to find a way to do this?


Update with requested changes (2 commits)

#288 Documentation Usability
Signed-off-by: Matt Snell<EMAIL_ADDRESS>

@rpaik

Please review commit 2: "Rpaik changes" 😁

@dabbish

Please review Commit 1: "Update with requested changes (2 commits)" 😁

LGTM! 👍


Support variant styles

From what I can tell dessert-box doesn't support variant styles yet, and I think it would be a great addition.
The API I'm looking for is something like
// Button
<Button variant="primary">Call to action</Button>
<Button variant="tertiary">Cancel</Button>

// Text
<Text variant="h1">Lorem ipsum dolor</Text>
<Text variant="h3">Lorem ipsum dolor sit amet</Text>

The variant prop would need to be able to set multiple style properties, e.g. setting variant=primary could change fontSize, backgroundColor etc

Yeah, this would be nice. Maybe
export const Box = createBox({
  atoms,
  variants
});

Similarly, I'd like to add extra styles. For example I could make a "Box" called Button that always included some base styles. This way dessert-box would become similar to styled components but for Vanilla-extract/Sprinkles.
Example code: https://github.com/graup/nf-new/blob/4fd97b7ef418787409704e95bd2522fbf84bdb04/src/foundation/Button/Button.tsx
This seems like it could be replaced by createBox({ atoms, variants, classNames })

@alexandernanberg @graup awesome, got it! Thank you so much for the feedback and sorry for the delay here. I'll hack something together in the weekend and notify here with some proposals, but I like the idea of the proposed API @graup, thanks!

Oops didn't mean to close.

@graup I have something working with this API:
tsx
const colorStyles = createAtomicStyles({
  conditions: {
    lightMode: { '@media': '(prefers-color-scheme: light)' },
    darkMode: { '@media': '(prefers-color-scheme: dark)' }
  },
  defaultCondition: false,
  properties: {
    backgroundColor: { green: 'green', red: 'red' }
  }
});

const atoms = createAtomsFn(layoutStyles);

const Button = createBox({
  atoms,
  variants: {
    success: { backgroundColor: 'green' },
    warning: {backgroundColor: 'red' }
  }
})

<Button variant="success" />

The idea is that variants can be defined as a group of box props with a certain values (this will be completely typed, so autocompletion will be there).
What do you think of this API?

@TheMightyPenguin I like this, seems to match Sprinkle's design better than what I suggested with styleVariants.

This looks great!

Awesome, @graup @tmm thanks for the feedback, expect a new release over the upcoming weekend 🙌

@TheMightyPenguin any luck? I'm so excited for this.

Hi all, sorry for the long delay, but here's the long awaited Variant API!
It's quite different from what we discussed here in this issue, but it goes more aligned with the vision for this library.
This library is meant to be used to create a Box component, and then to use that Box component as a low-level utility to consume design tokens, meaning it could be used once to create that Box, and then use that Box component to compose and build other components across your project. With this in mind, this is the API I ended up with:

Create your Box, which can be used across your whole project to build UIs using your design tokens and also to create more components on top of it, notice how the dessert-box API now also returns createVariants:

// Box.tsx
import { createBox } from 'dessert-box';
import { atoms } from './sprinkles.css';

// notice we export the createVariants function
const { Box, createVariants } = createBox({ atoms });

export default Box

Use your Box together with createVariants to implement new components, like a Text one:

// Text.tsx
import { Box, createVariants } from "./Box";

const variants = createVariants({
  h1: {
    fontSize: "extraLarge",
    fontWeight: "600",
  },
  h2: {
    // any design token from your sprinkles atoms can be used here
    fontSize: "large",
    fontWeight: "400",
  },
  p: {
    fontSize: {
       // Including conditional properties. All of this autocompletes with TS
      desktop: "medium",
      mobile: "large",
    },
  },
});

type Props = {
  variant: keyof typeof variants;
  children: React.ReactNode;
};

const Text = ({ variant, children }: Props) => {
  return <Box {...variants[variant]}>{children}</Box>;
};

export default Text;

You can check the docs here: https://github.com/TheMightyPenguin/dessert-box#variants
Please let me know how it works for you and any feedback, I hope this also works for your use cases! If there's some friction moving to this API or any questions let me know.
CC @tmm @graup @alexandernanberg

@TheMightyPenguin looks great!
Might be worth noting in the docs that you can apply multiple variants since it's not immediately obvious. Something like this:
// Button.tsx
import { Box, createVariants } from "./Box"

const variants = createVariants({
  primary: {
    background: 'blue',
  },
  secondary: {
    background: 'gray',
  },
})

const sizes = createVariants({
  md: {
    fontSize: 'large',
  },
  lg: {
    fontSize: 'extraLarge',
  },
})

type Props = {
  children: React.ReactNode;
  size?: keyof typeof sizes
  variant?: keyof typeof variants
  // More props...
}

export const Button = ({
  children,
  size = 'md',
  variant = 'secondary',
  // More props...
}: Props) => {
  return (
    <Box as="button" {...sizes[size]} {...variants[variant]}>
      {children}
    </Box>
  )
}

When trying it out, the as prop on Box was creating a type error (see below) when I spread any of the createVariants values (i.e. {...variants[variant]}):
Type '{ children: ReactNode; background?: ConditionalStyle<Values<MapLeafNodes<{ black: string; blue: string; current: string; transparent: string; white: string; }, CSSVarFunction>, { ...; }>>; ... 50 more ...; as: "button"; }' is not assignable to type 'Omit<AllHTMLAttributes<HTMLElement>, "as" | "width" | "height">'.
  Types of property 'color' are incompatible.
    Type 'ConditionalStyle<Values<MapLeafNodes<{ black: string; blue: string; current: string; transparent: string; white: string; }, CSSVarFunction>, { defaultClass: string; conditions: { ...; }; }>>' is not assignable to type 'string'.
      Type '{ sm?: "transparent" | "black" | "blue" | "current" | "white"; md?: "transparent" | "black" | "blue" | "current" | "white"; lg?: "transparent" | "black" | "blue" | "current" | "white"; xl?: "transparent" | ... 3 more ... | "white"; }' is not assignable to type 'string'.ts(2322)

@tmm great idea, added that into the example in the docs!
Thanks for pointing this out, working on fixing this type error.

@TheMightyPenguin np!
Maybe at some point. Looking into vanilla-extract more generally, but lack of simple responsive variants is sort of a blocker.

@tmm what variant API would help you to use this? I'm up for a meeting sometime as well btw, I love working on Design Systems (working at one at work at the moment and it uses dessert-box to build our foundational Box component), so I can share some lessons learned and we can talk about your use case!

@tmm @graup @alexandernanberg so as @vanilla-extract/recipes was released, that does provide a great API for variants when using vanilla extract. So with that in mind the createVariants API was removed, and instead I documented how to use this library with recipes:
https://github.com/TheMightyPenguin/dessert-box#variants
I'll be documenting more patterns, and common use cases in the README!

Closing as @vanilla-extract/recipes solves this use case!


add books

@mheriyanto LGTM. Could you rebase your commits (both look the same) into a single commit before I can merge? thanks
ex: git rebase -i xxxxx

@mheriyanto LGTM. Could you rebase your commits (both look the same) into a single commit before I can merge? thanks
ex: git rebase -i xxxxx

Okay @aaronhma , I will try. Thanks.


[JAS_863] | Bipul | Changes in model based on Spec

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

Complexity increasing per file
==============================
- src/In.ProjectEKA.HipService/Patient/Model/UserDemo.cs  1
- src/In.ProjectEKA.HipService/Patient/Model/Address.cs  1

See the complete overview on Codacy


feat: add events contract

[x] resolves #21
[x] tests written and all tests passing

PTAL @danielcdz

can you rename the directory from events to simple_contract_with_events

can you rename the directory from events to simple_contract_with_events

all changes done @danielcdz


fix: again with a test to trigger release

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


CIFS / symbolic links

Your Windows build number:
Microsoft Windows [Version 10.0.14393]

What you're doing and what's happening:

$ ln -s a b
ln: failed to create symbolic link 'b': Operation not supported

What's wrong / what should be happening instead:
Working symbolic link is created.

A Windows shared folder is mounted in an Ubuntu system (CIFS).
Creating a symlink inside the mounted shared folder fails.
Can support for symbolic links over network enabled in the new Windows Subsystem for Linux?
CIFS supports Unix Extensions for supporting symbolic links among other Unix typical features.

I'm having the same issue and this is important for me :(

I hit this trying to do web development where I am using bower link. It works in WSL, but I am using VSCode in Windows and so all my code is in /mnt/c/.... Since this doesn't work, VSCode gives an error:
Error: A system error occured (UNKNOWN: unknown error, stat 'c:\....')

I imagine I'd get the same problem with npm link (and I wonder if yarn has a similar mechanism).
[paths removed because they're irrelevant]

I access a shared folder on Windows using a Linux VM.
Currently I have to use a workaround which lets specific folders outside of the folder on a Linux file system that supports symbolic links: https://medium.com/@dtinth/isolating-node-modules-in-vagrant-9e646067b36

Adding @SvenGroot to see if he can help out here.

There seem to be two different issues in this thread. The original poster is talking about creating symbolic links on an SMB shared mounted on real Ubuntu Linux with CIFS. SMB does allow the creation of NT symbolic links, but they can't be followed after creation using the default security policy (which I believe can be turned off, but in that case the links are followed on the server, which is very different than how Linux symlinks behave on network shares). SMB does not support creating the type of symbolic links that DrvFs in WSL uses, and that's not something I expect will change in the near future.
@davidmaxwaterman is describing a different problem, namely that WSL symlinks can't be followed by regular Windows applications. This is a problem we are looking at addressing in the future.

@SvenGroot: Concerning symlinks on SMB share -
creating them doesn't seem to be supported at all, not only following them after their creation:
ln: failed to create symbolic link 'b': Operation not supported

I was talking about NT symbolic links, created with "mklink" from the Windows Command Prompt. I don't think you can create those with CIFS.

On recent WSL (1) this works perfectly. I can create (soft) symlinks on native file system and on the *nix file system without any issues.


docs(releases): add Matrix/pcm v1

@brian-armory wdyt about a columns saying something like:

supported by: Armory Backed, Community Backed
feature status: alpha, beta, stable, deprecated, etc

Nice @kevinawoo. I'm thinking we should split up infra and features into different pages

oh! have feature status link to feature definition... i don't know where that doc is

This is a great starting place!
In the past we've gotten bit pretty hard by different versions of the tools that we integrate with. Such as BitBucket Cloud 2.14 vs 2.13 or Kubernetes 1.11+ or Jenkins 2.x vs 1.x.
Would there be a way to incorporate those versions as well?

Yeah, we can put in a version column like the Database example

We should add dynamic accounts (spinnaker external account configuration) and what backends we support. For, example Vault

Thanks @danielpeach. This initial iteration of the matrix is pretty labor intensive. It should be easier going forward since we'll only have to make minor updates/changes instead of creating something from scratch.
I'm not clear on the purpose of automating this process going forward. Something being added to the most a Spinnaker release and available in OSS is not the same as Armory supporting/recommending it. The most obvious example is probably MPTv2 where we go out of our way to disable the UI by default.


PR_Frax.io | Chainlink Hackathon 2021

NFT & Gaming Prize Winners

hey ...
thnx for your feedback ... it will be fixed by tomorrow
On Tue, 20 Apr 2021, 21:00 Dietrich Ayala, @.***> wrote:

@.**** requested changes on this pull request.
Hi Frax team! Great to have you. A few changes needed below.
In templates/project-submission-template.md
https://github.com/ipfs/community/pull/482#discussion_r616956528:

Github repo
-
+https://github.com/FraxioOfficial
Hi! The repo appears empty, is the code somewhere there?
In templates/project-submission-template.md
https://github.com/ipfs/community/pull/482#discussion_r616958071:

-## How the community can engage
-GitHub Discussion:
Can you create a discussion topic per the instructions below, and update
the PR? thanks!
https://github.com/ipfs/community/#ecosystem-projects
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ipfs/community/pull/482#pullrequestreview-640322971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIEO2XOPDG6O73QJZQ4S4UDTJXFM3ANCNFSM43D2KDOQ
.

We are planning to run our own IPFS Node and also Pinning Service ...
We are still reading into the technical Details ...
is there a out of the box tutorial anywhere ?
We also need a IPFS Directory Structure for every Client that looks somewhat like :
-Client By Address
-- PYE Token By ID
--- Image
--- Image
--- Image

We are planning to run our own IPFS Node and also Pinning Service ...
We are still reading into the technical Details ...
is there a out of the box tutorial anywhere ?

You can see a pinning service example implementation here:
https://github.com/ipfs-shipyard/rb-pinning-service-api

We also need a IPFS Directory Structure for every Client that looks somewhat like :
-Client By Address
-- PYE Token By ID
--- Image
--- Image
--- Image

Sure, you can create that structure and then add the root folders to IPFS.

I think just waiting on a discussion thread to be created, per the instructions here: https://github.com/ipfs/community#ecosystem-projects

Woo fract.io is amazing

We are planning to run our own IPFS Node and also Pinning Service ...
We are still reading into the technical Details ...
is there a out of the box tutorial anywhere ?

You can see a pinning service example implementation here:
https://github.com/ipfs-shipyard/rb-pinning-service-api

We also need a IPFS Directory Structure for every Client that looks somewhat like :
-Client By Address
-- PYE Token By ID
--- Image
--- Image
--- Image

Sure, you can create that structure and then add the root folders to IPFS.

Thanks for the help!

Hey all, the content looks ready now, thanks for making the changes.
However, you have modified the template. You need to take the final file, and create a new file in the projects directory, named with your project. eg: frax.md
You can see the others here:
https://github.com/ipfs/community/tree/master/projects
It might be easier to start a new pull request with the completed file.


Is there a way for hot reloading with this setup?

I got the project building and running. This seems like a nice approach. Wonder what your workflow is for editing code and seeing changes. Code changes in angular and code changes in the electron area...

Hello @schaveyt, I was just thinking of that and some mechanism for removing the dist folder and such.
I guess you should write some webpack configuration steps.


DotNetFreamwork 3.5 required for windows

Describe the bug
When run exe installation file program show an unknown error that want to redirect user to error page on microsoft site ...
please show occur error clearly to user.
if possible make program sync to windows 10 defaults for dont need old dot net freamworks versions (like 3.5)

resolve in the new release.
thanks.


scale of y axis like x axis & intelligent scale function for both axi…

…s were added

scale of y axis like x axis & intelligent scale function for both axis were added.

I need to reverse now.


Const keyword not supported after public keyword

Description:
Consider the following snippet
public
const keyword is not supported after the public keyword
Affected Versions:
v0.991.0 at leats

Closing since the fix has been merged


Add a --fix CLI option to automatically attempt to fix syntax errors

Description
Since the primary purpose of this tool right now is to validate configuration file syntax it would be beneficial to have the validator tool to not only identify syntax issues but also fix them. This would be a fairly big undertaking and would likely have to come with "no warranty" - at least until the schema validation changes are incorporated into this tool [Link story here when created]. We'd have to determine if we want to fix the files in place (maybe requiring an extra flag), create new files, or display the changes in stdout like gofmt does by default.
Fixing the syntax errors would likely require implementing a loop that would repeatedly fix then validate until everything was correct. If a fix could not be determined it would provide an error stating why it couldn't be fixed (and revert back to the original file or work out of a temp file and only change the orig file when it passed validation.
A less aggressive implementation could be to output recommendations in the reporter output rather than actually trying to fix things.

I would be more than happy to start working on this if it's still something you'd like to implement.

@parkerstafford Yes go for it!


Image build system "variant" support, and initial onboard of Python images

Historically dev container definitions used a Dockerfile to pull a base image. This made it easy to reference different versions of something a given runtime. For example, python-3 can be tweaked to support 3.5, 3.6., 3.7, 3.8, etc.  However, if we pre-build these images, we loose this ability without creating a separate dev container for each version (python-3.5).
To avoid this problem, this PR updates the build system to support the idea of a "variant".  Consider this in the definition-build.json file for Python that is included in this PR:
	"build": {
		"rootDistro": "debian",
		"tags": [
			"python:${VERSION}-${VARIANT}"
		],
		"variants": ["3", "3.8", "3.7", "3.6", "3.5"]
	},
	"dependencies": {
		"image": "python:${VARIANT}",

The Dockerfile then just references the VARIANT build arg in the correct location.
ARG VARIANT=3
FROM python:${VARIANT}

The build system then generates the following:

vscode/devcontainers/python:3
vscode/devcontainers/python:3.8
vscode/devcontainers/python:3.7
vscode/devcontainers/python:3.6
vscode/devcontainers/python:3.5

The first item in the variant array is then used for latest tag (in this case python:3).
//cc: @chrmarti @brettcannon @egamma

Sounds good. One question that has come up with Node.js versions too: What about having a single image with multiple Python versions installed that can be switched between by using Python environments? Having less images might be easier to maintain and handle in the UI (think growing lists).

@chrmarti @brettcannon Setting aside Node (which really wasn't want drove this PR), for Python, I think that will result in a large image (with 3.5 through 3.8 installed) and then require the use of something like virtual env.  Feels like this breaks the "get going quick" promise - It could work, but I'm unsure that it is the right pattern to recommend here.
@brettcannon For Python, what are your thoughts on multiple images vs one with multiple versions in it?

@chrmarti FYI - Brett is away until the 26th. One other downside in having a unified image is that we'd end up needing to do a major version rev each time we deprecated a runtime version.  Right now, the image would continue to live for python 3.5 even after we deprecated it. If we merged into one image, that would not be the case.  There's a similar issue around the VSO image we need to think through.

Given the discussion here, I'll split this PR into two - one with the core variant support (this PR) and then a secondary PR for how we want to move forward with the Python definition specifically.


L.canvas() render forgets about zIndex

Hi all.
My application uses polygons and circles with the L.canvas() option enabled.
The polygons and circles are grouped in layerGroups. Each Layer has a different zIndex.
Finally the polygons are in a different Pane than the circles.
Example:
<!DOCTYPE html>

    <link rel="stylesheet"<EMAIL_ADDRESS>integrity="sha512-hoalWLoI8r4UszCkZ5kL8vayOGVae1oxXe/2A4AO6J9+580uKHDO3JdHb7NzwwzK5xr/Fs0W40kiNHxM9vyTtQ==" crossorigin=""/>

I noticed that the mouse click event is received ONLY by the last added Layer (or better PanCircle) ! Hiding the ones below even though the zIndex is different.
Resuming the example, the Circle does not receive the click event because the Polygon (or better the PanCircle) blocks the click event and the circle remains hidden to the mouse events despite the PanCircle.zIndex > PanPolyline.zIndex !
I know about the existence of "eventForwarder" (https://github.com/danwild/leaflet-event-forwarder), but this PlugIn handles only one Layer, and I need many more Layers.
The problem with my application is that Layers will be added and removed at the user's discretion. This means that whenever the user hides or shows a Layer, my application has to remove ALL the Layers every time and add them again so that the zIndex I want is respected.
Will this problem be fixed in 1.8.1 ?
Or do we have to give up ?
Thanks.
Leaflet is a beautiful project!
;-)

Duplicate of #6205 / #5739. Should be covered by  #6012 as well.

@IvanSanchez should not one of the issues are open? Else we don't know that this bug ist still there

@IvanSanchez should not one of the issues are open? Else we don't know that this bug ist still there

I... guess? My understanding is that the old reports were closed as "won't fix", but it might be a good idea to file a clean new one and put it in the "2.0" bucket.


Grab correlation ID and send as a response header

Description

As part of log forwarding, we are now generating a v4 UUID Correlation ID to attach to our MRT logs so that our logs can be searched for outside of MRT. In MRT, this is now added as a new header, x-correlation-id, to the event object, which is the json representation of the HTTP request. In pwa-kit, we then need to pull this new header, modify the response, and add this header to the response so that the correlation ID value is accessible and visible to the user.
GUS: W-15706159
Linked PR to generate Correlation ID and add to Log Center logs: https://git.soma.salesforce.com/cc-mobify/portal_app/pull/5770
Linked PR to add Correlation ID to Splunk logs and log tailing: https://git.soma.salesforce.com/cc-mobify/portal_app/pull/5806
Types of Changes

[ ] Bug fix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[ ] Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

Changes

In _setRequestId(), instead of the x-api-gateway-event header, the x-correlation-id header is now the value used to set the new requestId
In processLambdaResponse(), x-correlation-id is set as a response header if it exists

How to Test-Drive This PR

Navigate to https://yuna-production.mobify-storefront-staging.com , which has the mrt-template-reference-app deployed to it with the changes from this branch
Send a request
Verify that the x-correlation-id is set as a response header

Checklists

General

[ ] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[x] There are no changes to UI

or...

[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[ ] Changes comply with WCAG 2.0 guidelines levels A and AA
[ ] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

Before we merge this PR, is it possible to verify that the x-correlation-id from the incoming header, matches the SCAPI request headers, on both the server and the client side?


Unable to execute TM1py script from TI Process

Describe what did you try to do with TM1py
I created a TI with the following lines to execute my python script:
pyExe = '"D:\Anaconda3\python.exe"' ;
pyFile = '"D:\TM1\GFPMR\Import_Files\EMEA Drivers\scratch_Freight.py"' ;
EXECUTECOMMAND(pyExe |' '| pyFile,1);
It says successful but nothing happened.  I then tried using the command line and received the following:
F:>D:\Anaconda3\python.exe "D:/TM1/GFPMR/Import_Files/EMEA Drivers/scratch_Freight.py"
Traceback (most recent call last):
File "D:/TM1/GFPMR/Import_Files/EMEA Drivers/scratch_Freight.py", line 41, in
with TM1Service(**config["tm1srv01"]) as tm1:
File "D:\Anaconda3\lib\configparser.py", line 958, in getitem
raise KeyError(key)
KeyError: 'tm1srv01'
Describe what's not working the way you expect
Didn't get the expected result? Describe:
1.The TI to execute the script is not executing the script
2. I should note Anaconda is installed on D drive and there is no internet connection on the server
Version

TM1py 1.3.1
TM1 Server Version: 11.4

Additional context
If you encounter an error, please add the error message and the stack trace

Hi @jbeanz23 ,
you are getting this error because python does not find the config.ini file.
It's due to the relative path to the config.ini in your script.
There are two things you can do now:

Use an absolute path to the config.ini file
Set the CurrentDirectory at the start of the script like this:

def set_current_directory():
    abspath = os.path.abspath(__file__)
    directory = os.path.dirname(abspath)
    os.chdir(directory)
    return directory

CURRENT_DIRECTORY = set_current_directory()


Add multi cluster support to quickstart-setup script

Part of #495
Depends on #584
The changes in the PR are intended to give the same behaviour for the single cluster setup as documented in https://docs.kuadrant.io/getting-started-single-cluster/
The changes also allow the script to be used subsequently to add more clusters (as workers) to your local environment.
Changes:

Remove the cluster deletion on subsequent re-runs of the script. Any cluster deletion has to be done by the user with the kind cli themselves.
If a cluster named 'kuadrant-local' is already running locally, this is seen as a hub cluster (as well as a worker). The script then asks if the user wants to do a multi cluster setup.
When in multi cluster setup mode, all new clusters have a suffix of a number, and are worker only. For example, kuadrant-local-1, kuadrant-local-2 etc...

TODO:

[x] test that a distributed gateway example works in a multi cluster setup.
[x] how to use docker run for yq cmds (see TODO in utils/docker-network-ipaddresspool.sh)

👀

Gave this a spin yesterday, and it works well. Verified multiple clusters seem to be setup OK, and also seeing the dns-operator add each GW IP to records.


PyTorch Geometric Link Broken In Docs

🐛 Bug
The link on this page doesn't resolve
https://pytorch-lightning.readthedocs.io/en/latest/ecosystem/pytorch_ecoystem.html
We should consider highlighting other community ecosystem projects such as

https://github.com/manujosephv/pytorch_tabular
https://github.com/asteroid-team/asteroid

Not sure why there is only one item in PyTorch Ecosystem examples. Should we simply combine this with the section "Community Examples"?

Hey @awaelchli, I think the goal was to separate random projects using Lightning from PyTorch Ecosystem ones.
But it looks weird to have only 1.

One option is to have a single page with two sections until the list fills up with more examples.


CLI 1.1 does not download file in gulp-sass

I updated CLI to 1.1 with the following in Terminal: npm update -g foundation-cli.
I then ran: foundation-apps new my_project.
I got the following error after "Installing dependencies..." appeared in Terminal:
><EMAIL_ADDRESS>install /.../my_project/node_modules/gulp-sass/node_modules/node-sass
> node scripts/install.js

Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.1/darwin-ia32-node-0.12/binding.node

><EMAIL_ADDRESS>postinstall /.../my_project/node_modules/gulp-sass/node_modules/node-sass
> node scripts/build.js

module.js:338
    throw err;
          ^
Error: Cannot find module '/.../my_project/node_modules/gulp-sass/node_modules/node-sass/node_modules/pangyp/bin/node-gyp'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3
Build failed

npm version 2.5.1.
I can't work on my Foundation for Apps projects because of this.

Looks like some weird network issue. Can you try running everything manually? cd into the folder for the project that was created and run:
npm install
bower install
gulp

After running those commands in the project folder, I get:
Error: `libsass` bindings not found. Try reinstalling `node-sass`?
    at getBinding (/.../my_project/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:22:11)
    at Object.<anonymous> (/.../my_project/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:188:23)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/.../my_project/node_modules/gulp-sass/index.js:3:17)
    at Module._compile (module.js:460:26)
Error running task sequence: { task: 'sass',
  message: 'sass catch',
  duration: 0.012710486,
  hrDuration: [ 0, 12710486 ],
  err: [Error: `libsass` bindings not found. Try reinstalling `node-sass`?] }

Did you get any errors when you ran npm install?

No errors on npm install or on bower install.

Hmm, well you got an error the first time, so let's try again.
rm -rf node_modules
npm cache clean
npm install

See if you get the same errors with node-sass. Also, what version of Node are you running?
If this doesn't work, you'll likely need to ask the folks at node-sass for some help.

It seems from some node-sass forum posts that node-sass perhaps does not support older operating systems.
How can I compile with Ruby instead of libsass?
After running the commands suggested, I got the same error as I listed in the original post of this issue.
My node version is: 0.12.0.

Swapping for Ruby Sass is fairly easy. Install the gulp-ruby-sass library and then replace the code in the sass task of your Gulpfile with this code:
return gulp.src('client/assets/scss/app.scss')
  .pipe($.rubySass({
    loadPath: paths.sass,
    style: 'nested'
  })).on('error', function (e) {
    console.log(e);
  })
  .pipe($.autoprefixer({
    browsers: ['last 2 versions', 'ie 10']
  }))
  .pipe(gulp.dest('./build/assets/css/'));

When I use foundation-apps watch in Terminal, I get the following error:
[17:06:35] Starting 'sass'...
[17:06:35] 'sass' errored after 51 ms
[17:06:35] TypeError: Arguments to path.join must be strings
    at Object.posix.join (path.js:471:13)
    at Object.module.exports (/.../my_project/node_modules/gulp-ruby-sass/index.js:65:15)
    at Gulp.<anonymous> (/.../my_project/gulpfile.js:66:13)
    at module.exports (/.../my_project/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/.../my_project/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/.../my_project/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
    at /.../my_project/node_modules/gulp/node_modules/orchestrator/index.js:279:18
    at finish (/.../my_project/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
    at cb (/.../my_project/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)
    at Gulp.<anonymous> (/.../my_project/gulpfile.js:133:3)
Error running task sequence: { task: 'sass',
  message: 'sass catch',
  duration: 0.050536951,
  hrDuration: [ 0, 50536951 ],
  err: [TypeError: Arguments to path.join must be strings] }
Successfully built.

I used npm install gulp-ruby-sass.

New syntax was introduced for gulp-ruby-sass 1.x. This looks like it might be working:
gulp.task('sass', function() {
    return $.rubySass('client/assets/scss/app.scss', {
    		loadPath: paths.sass,
    		style: 'nested'
    	})
    	.pipe($.autoprefixer({
   			 browsers: ['last 2 versions', 'ie 10']
 		}))
        .pipe(gulp.dest('./build/assets/css/'));
});

Right! Forgot they have a new 1.0 alpha branch. One more thing, if you want to lock in the version of Sass you're using with a Gemfile, you can add one to the project root, run bundle install, and then add the setting bundleExec: true to the $.rubySass config object.

@Joe-5mith Were you able to get gulp-ruby-sass working properly?

Excuse me for the delay. Yes, the above steps work. Thank you for your rapid responses.
For those who use haven't used the older version of Foundation for Apps, here are the two Gemfiles that I placed in the root folder of my  Foundation for apps project and the final gulpfile.js code:
The Gemfile.lock file:
GEM
  remote: https://rubygems.org/
  specs:
    sass (3.4.9)

PLATFORMS
  ruby

DEPENDENCIES
  sass (~> 3.4.0)

The Gemfile file:
source "https://rubygems.org"

gem "sass", "~> 3.4.0"

The final code in gulpfile.js was:
gulp.task('sass', function() {
    return $.rubySass('client/assets/scss/app.scss', {
    		loadPath: paths.sass,
    		style: 'nested',
    		bundleExec: true
    	})
    	.pipe($.autoprefixer({
   			 browsers: ['last 2 versions', 'ie 10']
 		}))
        .pipe(gulp.dest('./build/assets/css/'));
});


Live Stream Brainstorming List

These are things i'm looking for help with for Hacktoberfest! (later i should break these into separate issues)

README that explains what the coding train is, an image of the logo, and what this repo is all about
Any changes that improve how the code reads for beginners and makes it easier to build upon
a system for people to add their own variations of the logo (this is a bigger project)
ports of the logo to other languages
what else?

I would love to help translate the logo into processing.py and processing. (If that's what you mean by point 4)

What is your opinion on ports? Do you wanna limit the ports or go for lots with community help?

@kaitabuchi314 We are open to ports of lots of different languages!  We are also open to multiple ports of a language if they are different implementations.


ci: allow long body commit message lines for dependabot

See #326

#328  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite

Testing with #322 (rebased against this PR)

It worked: https://github.com/davidlj95/website/actions/runs/8397722617/job/23001503236
Merging!


Creating a follower after using setPosition lags the world

Hi.
I've currently got followers added in my game world. Followers can be added and removed with no problem.
However, when I attempt to use setPosition before spawning a follower -- everything functions well until said follower is spawned in. When the follower is spawned in, the world begins to lag uncontrollably.
Here is the bug in action:
https://www.loom.com/share/5a49744b121d44fcad0f423ae0e7baaa
I attempted to show you the bug occurring after spawning a follower and then using setPosition, as well as using setPosition prior to any follower spawning.
Note that my follower creation code is simply adding a character and using .follow(). Remove is a bit more complicated than that, but the bug occurs prior to removing a follower.
This video also displays the bug occurring in #273.

@ok1a setPosition takes an optional 3rd param being the layer. have you tried setting that?

@zewa666 Wow. I have no idea how I missed that.
Seems like that fixed my issues in both #273 and #274, so I'll close these.
I understand it fixing #273, but I'm surprised it fixed #274.
Thanks a lot!

Maybe there is some bug in follow() that makes it slow whenever the character to be followed is on an unreachable char layer. I will check that out. Thanks for letting us know 👍

I could not replicate it. But there are some missing pieces such as:

How many characters do you have?
Who is following whom?
Which parameters are you using for follow?
Where in your code are you calling it exactly?
On which character are you calling setPosition?
How many char layers do you have and on which layers are the characters?
How large is your map?
...

So the best thing would be a minimum breaking example. But since it is working now, I think it is not worth the effort 😁

Replying because although the above was fixed by specifying the layer when using setPosition, I am experiencing a new bug: Creating a character and having them follow me (the WASD moving player)... it works well, until the follower has their path trapped. If follower has path trapped, and cannot proceed, the world will begin to lag after I myself have made 10-30 movements away from the follower. Prior to 10-30 movements, the world is okay. Seems like the path computation must be really expensive and ever growing as I continue to move farther away into the world.

10-30 characters on the map. Problem exists when there are only two characters, as well as 10-30.
I create a new character NPC, and I have them follow me, the character I control movement of.
Presently, I use all of the parameters. myId, theirId, charLayer.
I have a subscription for the createFollower command. On command, we create a new character and call setFollow.
I have 16 layers on my main map. Of that, I have 1 charLayer.
My map is 120x120 32px tiles.

What parameters do you use for the follow() call?
Can you elaborate more on what you mean by "path trapped"?

For follow(), I use the same parameters as I listed prior above.
this.gridEngine.follow(followerId, playerId, 0);.
I have verified that this also occurs when using:
this.gridEngine.follow(followerId, playerId, 0, true);.
Path blocked/trapped is referring to being stuck behind a collision tile.
I've included a demo below for clarity.
https://www.loom.com/share/f0312f2b88994f52a961c2a87d6dcc05

Thanks, I can reproduce this now on a large map 👍 . I will come back with updates.

I was thinking of handling this locally, in the meantime, by setting a subscription to follower movements and determining the delta between playerPos and followerPos. If the delta was something like +5 or +10 tiles away, I would despawn the follower.

I checked it out and indeed the pathfinding is the bottleneck. I was able to optimize it a bit by using bidirectional search instead of BFS (#85). Moreover there were some further optimizations. However, while making it much faster there is still a lag. I think the best optimization is to use Jump Point Search. I created #277 for this.

I've run into the same thing as described here with v2.24, though my conditions are a little different (using 1 NPC only):

I assign the NPC to follow the player using .follow()
I call .stopMovement() for the NPC so it will no longer follow.
I may call .follow() afterwards to again follow the player

Weirdly enough, I get the lag when my NPC has stopped following and when I'm moving away from it. The lag increases the more distance I create between player and NPC. I wouldn't expect this as the NPC no longer needs to follow.
Does grid-engine keep trying to calculate a path continuously if I once assigned follow() to a game object, even though it doesn't need to follow anymore? If so, can I (somehow) remove the follow assignment entirely?

That does at least partially sound like a bug to me and not only a performance issue, because after stopMovement() there should not happen any pathfinding anymore.
I will investigate.
How large is the map and the typical distance at which you start observing the lag?

I can confirm that there is a bug that causes the pathfinding to continue, even after calling stopMovement(). I am already working on a fix. However, it will not solve the performance issue you described.
The number of obstacles should not make too much of a difference, because the algorithm that is used (Bidirectional search) is kind of a BFS from start and end at the same time. That means it does not use a heuristic, like A* does. But A* is slower than bidirectional search in general. But bidirectional search can't be used in graphs with weights.
So using A* would also not solve the issue because it would optimize for best case scenarios with little obstacles, but make it worse for scenarios with many obstacles.
That means it would be interesting to know whether the performance issues you observe are caused by the limits of bidirectional search, or if there is a bug in the algorithm's implementation (or elsewhere).
That is why I am interested in the size of the map.

Thanks for all the details. I will take a closer look.
The problem with the ongoing pathfinding after calling stopMovement should be fixed with the just released version 2.25.1.

Actually, the fix could already fix your problem. The observables were not properly unsubscribed on stopMovement. So for every time you call stopMovement and start a new follow movement, there will be one pathfinding on each position change of the player (6 times per second in your case). That means if you stopped and started the follow movement n times. There will be n*6 pathfinding runs each second. Depending on the size of n this can make the game unplayable.
So let me know if the performance issues got better, because the scenario you described (map size etc) should easily be handled by the algorithm.

That makes sense, thanks for the explanation.
I've tested it and I no longer experience a drop in performance. The fix seems to have done the trick. 👍

Nice to hear. It should get more performant in the future with further optimizations.

@ok1a Is this still an issue? The above mentioned bug with stopMovement could already solve that issue.
There will still be pathfinding performance optimizations in the next release. However, if the above bugfix already solved it, we can close this issue already.


Add search by number of citations

It might be useful to have an opportunity to filter papers by number of citations

Contributions to the code are welcome!  The relevant file to edit for the back-end server is https://github.com/paperscape/paperscape-backend/blob/master/webserver/pscp.go


Adding KSIU

King Salman International University
KSIU

@Dessoky First stage of verification passed, official domain is ksiu.edu.eg as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Dessoky Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Additional test of multipart file creation with tag values

Should not have opened this before the bug was fixed on engine.  Running the tests killed the server.


Push notification when app is open

When the app is open (foreground), the onMessageReceived event triggers, but the notification doesn't appear in the device notification bar, only when the app is closed (background).
Maybe this is intentional, because I've seen other developers reporting or complaining about this as a bug. In my case, my client needs notifications to arrive also when the app is open. Actually, this used to work correctly in the past, but at some point we updated dependencies, made changes to the ionic project, and now notifications don't arrive. (So I can't tell him it's not possible, because he remembers it used to work).
I tried combining this plugin with the local-notifications plugin, to display a notification manually when onMessageReceived triggers, android OK, but as already reported in this page, then iOS doesn't work (both plugins conflict, and push stop working).
I've seen in some forums that it's possible to make changes to the native code directly to solve this problem, but that code wouldn't be included in the repository, which means that it wouldn't work for someone else who downloaded the project.

See Foreground notifications and try it in the example app project

@dpa99c ok, but according to your link, this option "notification_foreground", must be set in the backend, which is sending the notifications, there's nothing I can do from the app in ionic?. I'm saying this because someone else is programming the backend, not me. So there's nothing I can do, I need to report it so they make the change. Correct?

Yes, this plugin expects that you are in control of the FCM message payload being sent to the app and can add the necessary keys as outlined in the documentation.


BUG: Can't start momentum bot

when clicking start bot button, user is NOT taken to start bot page. There is an error in the console

@jamie088 reopening this issue as its also replicated on Curvebot https://www.curvebot.fi/curve-momentum/lists/?lag_return=6&vol_30=100000&market_cap=1000000. Not able to start any bots.


Update json4s-jackson to 4.0.0

Updates org.json4s:json4s-jackson from 3.6.11 to 4.0.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.json4s", artifactId = "json4s-jackson" } ]

labels: library-update, semver-major

https://github.com/sangria-graphql/sangria-json4s-jackson/pull/77


Added El Camino Real Charter High School

@Anonymas-Doge First stage of verification passed, official domain is facebook.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.facebook.com/ecrchs/posts/ecr-50th-anniversary-time-capsule-information-contact-the-following-if-you-can-d/2293382790951272/

@Anonymas-Doge Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Rate limit text updates

This addresses one of the concerns of #144 where the server is overwhelmed with messages to update the text at the bottom of figures. With this commit, we rate limit the messages to at least every 40 ms. This does not cause any visual degradation, but significantly improves performance.

Thanks @kboone this looks good to me!
Testing locally.


No rates available for ARS

Money.new(5, "ARS").exchange_to('EUR').to_f

CurrencyUnavailable: No rates available for ARS

Is there any fix for this in future?

This gem is using EU Central Bank's exchange rates, which are limited to these currencies — https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml.
Consider using other gems that provide exchange rates for a broader range of currencies — https://github.com/RubyMoney/money#implementations

It would be nice to override the rates for unsupported currencies manually, with something like:
config.add_rates( "USD", "ARS", 1.2345 )

That's how it's shown in the RubyMoney README:


Docker machine inject USB device

I'm currently creating my own docker image, and I'm trying to inject a USB camera device into my docker container. After searching/finding a lot of different answers, I've managed to do this.
docker run -p 80:80 -v /dev/usb/bus:/dev/bus/usb -t kerberosio

As I work on OSX, and thus using docker-machine, I forwarded the USB device into my VM, installed usbutils and there it is: my USB devices are visible to the docker image.
# lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/12p, 12M
|__ Port 1: Dev 2, If 0, Class=Video, Driver=, 12M
|__ Port 1: Dev 2, If 1, Class=Video, Driver=, 12M
|__ Port 1: Dev 2, If 2, Class=Vendor Specific Class, Driver=, 12M
|__ Port 2: Dev 3, If 0, Class=Video, Driver=, 12M
|__ Port 2: Dev 3, If 1, Class=Video, Driver=, 12M
|__ Port 2: Dev 3, If 2, Class=Audio, Driver=, 12M
|__ Port 2: Dev 3, If 3, Class=Audio, Driver=, 12M

My next step is to actually use the USB camera (on Port 1 and/or Port 2). However when trying to open these devices with e.g. fswebcam. I get an error:
# fswebcam -d /dev/bus/usb/001/002
--- Opening /dev/bus/usb/001/002...
Trying source module v4l2...
/dev/bus/usb/001/002 opened.
/dev/bus/usb/001/002: Not a V4L2 device?
Trying source module v4l1...
/dev/bus/usb/001/002 opened.
/dev/bus/usb/001/002: Not a V4L device?
VIDIOCGCAP: Inappropriate ioctl for device
/dev/bus/usb/001/002 closed.
Unable to find a source module that can read /dev/bus/usb/001/002.

So fswebcam found the device but doesn't know how to handle it. After doing some more research I've found out that the drivers are not found (see output above lsusb -t).
I'm wondering if someone can help me and tell me how to tackle this problem. Do I need to install the drivers myself, if yes, how should I do it? I'm pretty sure this has something to do with a docker-machine configuration.
My setup:
OSX 10.10.3
Docker version 1.9.1
Thanks in advance!

Hm, I'm not really sure.  Everything seems to be getting set up properly on the VM and container side, no?  It's possible you're missing some kind of dependency that is assumed to be around in normal systems.  Might want to run fswebcam with --verbose to see if that yields any useful info.

Thanks for your comment; verbose doesn't gives me any other information.
# fswebcam --verbose -d /dev/bus/usb/001/002
--- Opening /dev/bus/usb/001/002...
Trying source module v4l2...
/dev/bus/usb/001/002 opened.
/dev/bus/usb/001/002: Not a V4L2 device?
Trying source module v4l1...
/dev/bus/usb/001/002 opened.
/dev/bus/usb/001/002: Not a V4L device?
VIDIOCGCAP: Inappropriate ioctl for device
/dev/bus/usb/001/002 closed.
Unable to find a source module that can read /dev/bus/usb/001/002

Indeed some dependencies are missing, it looks like the drivers are missing for the attached USB devices. Don't know if I need to forward another directory in the container?

I would guess there may be libraries and/or kernel modules missing that you need to apt-get install (or equivalent, e.g. patch), but I admit this is definitely not my area of expertise.
@SvenDowideit @tianon Any ideas for a tough problem? :D
@jfrazelle You're the resident master of containerizing all the things, so if you have any ideas, would be great to have you chime in.

I've installed the Oracle Virtual Box extension pack, so USB 2.0 and USB 3.0 devices can be used. But that didn't helped either.

Does anyone can help on this?

Any update on this ticket guys?

No update on our end, but let us know if you figure anything else out.

I think it's probably too hard to make supporting this a priority, but we're happy to accept PRs.  Thanks!

@nathanleclaire it's been a while, is there any update on this ticket you're aware of?