Skip to content

Instantly share code, notes, and snippets.

View xanderdunn's full-sized avatar

Xander Dunn xanderdunn

View GitHub Profile
0 verbose cli [
0 verbose cli '/opt/homebrew/Cellar/node/16.10.0/bin/node',
0 verbose cli '/opt/homebrew/lib/node_modules/npm/bin/npm-cli.js',
0 verbose cli 'install',
0 verbose cli '--force',
0 verbose cli '--cache=/Users/xander/.npm',
0 verbose cli '--prefer-offline=false',
0 verbose cli '--prefer-online=false',
0 verbose cli '--offline=false',
0 verbose cli '--no-progress',
@xanderdunn
xanderdunn / 72b434b_warning.txt
Created May 11, 2021 05:31
72b434b Thread Sanitizer warning
==================
WARNING: ThreadSanitizer: data race (pid=8785)
Read of size 8 at 0x7b4c00000640 by thread T1:
#0 quill::detail::UnboundedSPSCEventQueue<quill::detail::BaseEvent>::try_pop() /home/xander/dev/quill/quill/include/quill/detail/spsc_queue/UnboundedSPSCEventQueue.h:140 (test.exe+0x165fc)
#1 quill::detail::BackendWorker::_read_event_queue(quill::detail::ThreadContext*) /home/xander/dev/quill/quill/include/quill/detail/backend/BackendWorker.h:352 (test.exe+0x165fc)
#2 quill::detail::BackendWorker::_populate_priority_queue(std::vector<quill::detail::ThreadContext*, quill::detail::CacheAlignedAllocator<quill::detail::ThreadContext*> > const&) /home/xander/dev/quill/quill/include/quill/detail/backend/BackendWorker.h:335 (test.exe+0x16516)
#3 quill::detail::BackendWorker::_exit() /home/xander/dev/quill/quill/include/quill/detail/backend/BackendWorker.h:605 (test.exe+0x18643)
#4 quill::detail::BackendWorker::run()::{lambda()#1}::operator()() const::{lambda()#1}::operator()() const
@xanderdunn
xanderdunn / tsan.log
Created April 28, 2021 21:18
Minimal quill Example Thread Sanitizer output
==================
WARNING: ThreadSanitizer: data race (pid=30925)
Read of size 8 at 0x7b04000004a0 by thread T1:
#0 std::__shared_ptr<quill::detail::ThreadContext, (__gnu_cxx::_Lock_policy)2>::get() const <null> (test.exe+0x11e36)
#1 quill::detail::ThreadContextCollection::backend_thread_contexts_cache() /home/xander/dev/vcpkg/buildtrees/quill/src/v1.6.2-b72390cb62.clean/quill/src/detail/ThreadContextCollection.cpp:67 (test.exe+0x52511)
#2 quill::detail::BackendWorker::run()::{lambda()#1}::operator()() const::{lambda()#1}::operator()() const <null> (test.exe+0xe1a6)
#3 void std::__invoke_impl<void, quill::detail::BackendWorker::run()::{lambda()#1}::operator()() const::{lambda()#1}>(std::__invoke_other, quill::detail::BackendWorker::run()::{lambda()#1}::operator()() const::{lambda()#1}&&) <null> (test.exe+0x25d8c)
#4 std::__invoke_result<quill::detail::BackendWorker::run()::{lambda()#1}::operator()() const::{lambda()#1}>::type std::__invoke<quill::detail::BackendWorker::run()::{lambda()#
@xanderdunn
xanderdunn / quill_tsan_output.txt
Created April 25, 2021 02:35
Thread Sanitizer warning with no log statements, only quill initialization
==================
WARNING: ThreadSanitizer: data race (pid=2708)
Read of size 8 at 0x7b4800002680 by thread T2:
#0 quill::detail::BackendWorker::_read_event_queue(quill::detail::ThreadContext*) <null> (MyDataPreProcessor+0x4314ea)
#1 quill::detail::BackendWorker::_main_loop() <null> (MyDataPreProcessor+0x430935)
#2 quill::detail::BackendWorker::run()::'lambda'()::operator()() const::'lambda'()::operator()() const <null> (MyDataPreProcessor+0x504447)
#3 std::thread::_State_impl<std::thread::_Invoker<std::tuple<quill::detail::BackendWorker::run()::'lambda'()::operator()() const::'lambda'()> > >::_M_run() <null> (MyDataPreProcessor+0x5042d9)
#4 execute_native_thread_routine /home/conda/feedstock_root/build_artifacts/ctng-compilers_1618239181388/work/.build/x86_64-conda-linux-gnu/src/gcc/libstdc++-v3/src/c++11/thread.cc:80:18 (libstdc++.so.6+0xc9066)
Previous write of size 8 at 0x7b4800002680 by main thread:
@xanderdunn
xanderdunn / quill_tsan_debug.log
Created April 23, 2021 18:34
Thread Sanitizer on Quill in DEBUG mode
==================
WARNING: ThreadSanitizer: data race (pid=13313)
Read of size 8 at 0x7b4800002680 by thread T2:
#0 quill::detail::BackendWorker::_read_event_queue(quill::detail::ThreadContext*) <null> (MyDataPreProcessor+0x43284a)
#1 quill::detail::BackendWorker::_main_loop() <null> (MyDataPreProcessor+0x431c95)
#2 quill::detail::BackendWorker::run()::'lambda'()::operator()() const::'lambda'()::operator()() const <null> (MyDataPreProcessor+0x51bcd7)
#3 std::thread::_State_impl<std::thread::_Invoker<std::tuple<quill::detail::BackendWorker::run()::'lambda'()::operator()() const::'lambda'()> > >::_M_run() <null> (MyDataPreProcessor+0x51bb69)
#4 execute_native_thread_routine /home/conda/feedstock_root/build_artifacts/ctng-compilers_1618239181388/work/.build/x86_64-conda-linux-gnu/src/gcc/libstdc++-v3/src/c++11/thread.cc:80:18 (libstdc++.so.6+0xc9066)
Previous write of size 8 at 0x7b4800002680 by main thread:
@xanderdunn
xanderdunn / quill_tsan_release.log
Created April 23, 2021 18:33
Thread Sanitizer on Quill in RELEASE mode
==================
WARNING: ThreadSanitizer: data race (pid=12607)
Read of size 8 at 0x7b4800002680 by thread T2:
#0 quill::detail::BackendWorker::_read_event_queue(quill::detail::ThreadContext*) <null> (MyDataPreProcessor+0x43284a)
#1 quill::detail::BackendWorker::_main_loop() <null> (MyDataPreProcessor+0x431c95)
#2 quill::detail::BackendWorker::run()::'lambda'()::operator()() const::'lambda'()::operator()() const <null> (MyDataPreProcessor+0x51bcd7)
#3 std::thread::_State_impl<std::thread::_Invoker<std::tuple<quill::detail::BackendWorker::run()::'lambda'()::operator()() const::'lambda'()> > >::_M_run() <null> (MyDataPreProcessor+0x51bb69)
#4 execute_native_thread_routine /home/conda/feedstock_root/build_artifacts/ctng-compilers_1618239181388/work/.build/x86_64-conda-linux-gnu/src/gcc/libstdc++-v3/src/c++11/thread.cc:80:18 (libstdc++.so.6+0xc9066)
Previous write of size 8 at 0x7b4800002680 by main thread:
/usr/bin/xcrun --sdk macosx --show-sdk-path
/usr/bin/xcrun --sdk macosx --show-sdk-platform-path
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2020-12-05-a.xctoolchain/usr/bin/swiftc -print-target-info
/usr/bin/xcrun --sdk macosx --find xctest
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2020-12-05-a.xctoolchain/usr/bin/swiftc -print-target-info
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2020-12-05-a.xctoolchain/usr/bin/swiftc -print-target-info
/usr/bin/xcrun vtool -show-build /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2020-12-05-a.xctoolchain/usr/lib/swift/pm/4_2/libPackageDescription.dylib
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2020-12-05-a.xctoolchain/usr/bin/swiftc -L /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2020-12-05-a.xctoolchain/usr/lib/swift/pm/4_2 -lPackageDescription -Xlinker -rpath -Xlinker /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2020-12-05-a.xctoolchain/usr/lib/swift/pm/4_2 -target x86_64-apple-
@xanderdunn
xanderdunn / Package.resolved
Created November 12, 2020 16:51
periphery master build Package.resolved using Swift for Tensorflow 0.11
{
"object": {
"pins": [
{
"package": "AEXML",
"repositoryURL": "https://github.com/tadija/AEXML",
"state": {
"branch": null,
"revision": "502c4d43a6cc9c395d19111e09dc62ad834977b5",
"version": "4.6.0"
Company Founded Product Type Furthest Research Started Fate Outcome Notes
Wyeth Pharmaceuticals (Pfizer) stamulumab (MYO-029) antibody Phase 2 Clinical Muscular Dystrophy 2005 dead didn't achieve significant muscle gain
Novartis & MorphoSys 1992 bimagrumab (BYM-338) antibody Phase 2b/3 Sporadic Inclusion Body Myositis 2013 dead didn't achieve significant muscle gain
Phase 2 Hip Fracture 2014 ongoing
Phase 2 Sarcopenia 2012 completed
Phase 2 Chronic Obstructive Pulmonary Disease 2012 completed
Phase 2 Cachexia 2011 completed
Phase 2 Diabetes 2016 ongoing
Scholar Rock 2012 SRK-015 antibody Expected to file IND Q2 2018 for spinal muscular atrophy ongoing
Atara (Amgen) 2012 PINTA-745 peptibody Phase 2 End Stage Renal Disease 2013 dead didn't achieve significant muscle gain
@xanderdunn
xanderdunn / keybase.md
Created September 10, 2016 00:40
Keybase Public ID

Keybase proof

I hereby claim:

  • I am xanderdunn on github.
  • I am xanderai (https://keybase.io/xanderai) on keybase.
  • I have a public key whose fingerprint is 683C D738 FC97 000B 79DA 19E7 E0A9 EA38 1B7D 2BAD

To claim this, I am signing this object: