Skip to content

Instantly share code, notes, and snippets.

View grefab's full-sized avatar

Gregor Fabritius grefab

View GitHub Profile
INFO: MatchStage::iterate(default_memory_instance/operations/5779f8a7-5fca-45bc-b12b-436b41021485): 0.0670000 ms (1247.76 ms stalled) Success,
Dec 06, 2019 6:55:15 PM build.buildfarm.worker.PipelineStage logStart,
INFO: MatchStage::iterate(): Starting,
Dec 06, 2019 6:55:15 PM build.buildfarm.worker.PipelineStage logStart,
INFO: InputFetchStage::iterate(default_memory_instance/operations/5779f8a7-5fca-45bc-b12b-436b41021485): 1/4,
Dec 06, 2019 6:55:15 PM build.buildfarm.worker.InputFetcher fetchPolled,
INFO: fetching inputs: default_memory_instance/operations/5779f8a7-5fca-45bc-b12b-436b41021485,
Dec 06, 2019 6:55:15 PM build.buildfarm.worker.PipelineStage logComplete,
INFO: InputFetchStage::iterate(default_memory_instance/operations/5779f8a7-5fca-45bc-b12b-436b41021485): 125.199 ms (0.0250000 ms stalled) Success, 0/4,
Dec 06, 2019 6:55:15 PM build.buildfarm.worker.PipelineStage logStart,
Dec 06, 2019 6:55:32 PM build.buildfarm.worker.PipelineStage logStart,
INFO: MatchStage::iterate(): Starting,
Dec 06, 2019 6:55:32 PM build.buildfarm.worker.PipelineStage logStart,
INFO: InputFetchStage::iterate(default_memory_instance/operations/4baf233c-3eab-46c5-989a-f884854b2006): 1/4,
Dec 06, 2019 6:55:32 PM build.buildfarm.worker.InputFetcher fetchPolled,
INFO: fetching inputs: default_memory_instance/operations/4baf233c-3eab-46c5-989a-f884854b2006,
Dec 06, 2019 6:55:32 PM build.buildfarm.worker.PipelineStage logComplete,
INFO: InputFetchStage::iterate(default_memory_instance/operations/4baf233c-3eab-46c5-989a-f884854b2006): 8.18900 ms (0.0140000 ms stalled) Success, 0/4,
Dec 06, 2019 6:55:32 PM build.buildfarm.worker.PipelineStage logStart,
INFO: ExecuteActionStage::iterate(default_memory_instance/operations/4baf233c-3eab-46c5-989a-f884854b2006): 1/4,
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/root/.cache/bazel/_bazel_root/22b2ce98f78eae3c9d86faa2e234755f/external/com_google_protobuf_protobuf_java/jar/com_google_protobuf_protobuf_java.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Jul 08, 2019 5:45:44 PM io.grpc.internal.SerializingExecutor run
SEVERE: Exception while executing runnable io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed@34507f2e
java.lang.NullPointerException
at build.buildfarm.instance.memory.MemoryInstance.putOperation(MemoryInstance.java:437)
@grefab
grefab / gist:ad454ef4440bb543a31f094c641b1ffc
Created June 17, 2019 11:26
buildfarm-server OOM stacktrace
Exception in thread "grpc-default-executor-353" Exception in thread "grpc-default-executor-404" com.google.common.util.concurrent.ExecutionError: java.lang.OutOfMemoryError: Java heap space,
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2046),
at com.google.common.cache.LocalCache.get(LocalCache.java:3850),
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4712),
at build.buildfarm.cas.Writes.get(Writes.java:66),
at build.buildfarm.cas.Writes.getNonEmpty(Writes.java:58),
at build.buildfarm.cas.Writes.get(Writes.java:50),
at build.buildfarm.cas.MemoryCAS.getWrite(MemoryCAS.java:187),
at build.buildfarm.instance.AbstractServerInstance.getBlobWrite(AbstractServerInstance.java:190),
at build.buildfarm.server.ByteStreamService.getUploadBlobWrite(ByteStreamService.java:273),
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\algorithm(2309): error C2672: 'operator __surrogate_func': no matching overloaded function found
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\algorithm(2329): note: see reference to function template instantiation '_FwdIt std::_Lower_bound_unchecked<std::pair<T,optics::radius_search<T,2>::idx_t>*,_Ty,_Pr>(_FwdIt,_FwdIt,const _Ty &,_Pr &)' being compiled
with
[
_FwdIt=std::pair<char,optics::radius_search<char,2>::idx_t> *,
T=char,
_Ty=std::pair<int,optics::radius_search<int,2>::idx_t>,
_Pr=std::less<void>
]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\algorithm(2337): note: see reference to function template instantiation '_FwdIt std::lower_bound<_FwdIt,_Ty,std::less<void>>(_FwdIt,_FwdIt,const _Ty &,_Pr)' being compiled
[ 50%] Building CXX object CMakeFiles/cudnn_test.dir/cudnn_dlibapi.cpp.o
/Users/gregor/source/dlib_dnn/dlib/dlib/dnn/cudnn_dlibapi.cpp:115:13: error: thread-local storage is not supported for the current target
thread_local cudnn_context c;
^
/Users/gregor/source/dlib_dnn/dlib/dlib/dnn/cudnn_dlibapi.cpp:154:13: error: thread-local storage is not supported for the current target
thread_local cudnn_activation_descriptor des(CUDNN_ACTIVATION_RELU, CUDNN_PROPAGATE_NAN,0);
^
/Users/gregor/source/dlib_dnn/dlib/dlib/dnn/cudnn_dlibapi.cpp:160:13: error: thread-local storage is not supported for the current target
thread_local cudnn_activation_descriptor des(CUDNN_ACTIVATION_SIGMOID, CUDNN_PROPAGATE_NAN,0);
^
/Users/gregor/source/dlib_dnn/dlib/dlib/cmake_utils/test_for_cuda/../../dnn/../matrix/../pixel.h(967): error: more than one instance of overloaded function "pow" matches the argument list:
function template "std::__1::__lazy_enable_if<<expression>, std::__1::__promote<_A1, _A2, void>>::type std::__1::pow(_A1, _A2)"
function template "std::__1::enable_if<<expression>, std::__1::__promote<_Tp, _Up, void>::type>::type std::__1::pow(_Tp, _Up)"
argument types are: (double, int)
/Users/gregor/source/dlib_dnn/dlib/dlib/cmake_utils/test_for_cuda/../../dnn/../matrix/../pixel.h(968): error: more than one instance of overloaded function "pow" matches the argument list:
function template "std::__1::__lazy_enable_if<<expression>, std::__1::__promote<_A1, _A2, void>>::type std::__1::pow(_A1, _A2)"
function template "std::__1::enable_if<<expression>, std::__1::__promote<_Tp, _Up, void>::type>::type std::__1::pow(_Tp, _Up)"
argument types are: (double,
#include "3rdparty/benchmark/include/benchmark/benchmark.h"
#include "src/cvlab/video_processing_engine.h"
#include "src/cvlab/tools/weighted_moving_average.h"
cv::Mat frame = cv_tools::cv_mat_from_file("frame.cvmat");
weighted_moving_average::storage frames_wma(frame.size(), "sum_frames");
cv::Mat localize_in = cv_tools::as_gray_mat(calculate_average_mat(frames_wma));
const int border_fraction = 8;
int h_border = frame.cols / border_fraction;
@grefab
grefab / bt_presence.rb
Created September 2, 2012 18:17
Script that checks for presence of a specific bluetooth device
require 'open3'
def log s
p Time.now.to_s + " #{s}"
end
def is_device_there?(mac_addr)
exit_status = -1
Open3.popen3("sudo l2ping -c1 -v #{mac_addr}") do |stdin, stdout, stderr, wait_thr|
exit_status = wait_thr.value