Crash of PhantomJS 1.9.7 on Linux x86_64

Here is the stack trace:
Operating system: Linux
                  0.0.0 Linux 3.8.0-32-generic #47~precise1-Ubuntu SMP Wed Oct 2 16:19:35 UTC 2013 x86_64
CPU: amd64
     family 6 model 58 stepping 9
     4 CPUs

Crash reason:  SIGSEGV
Crash address: 0x18

Thread 0 (crashed)
 0  phantomjs!JSC::MarkStack::drain [Bitmap.h : 85 + 0x0]
    rbx = 0x00007f0fd4fa0bc8   r12 = 0x00007f0fd4fa0868
    r13 = 0x00007f0f8a4c4ec0   r14 = 0x00007f0f8a4c4800
    r15 = 0x00007f0fd4fa0bd0   rip = 0x0000000000f286bd
    rsp = 0x00007fff0a8d0170   rbp = 0x00007f0f8a132870
    Found by: given as instruction pointer in context
 1  phantomjs!JSC::Heap::markRoots [Heap.cpp : 225 + 0x7]
    rbx = 0x0000000000000001   r12 = 0x00007f0fd4fa0868
    r13 = 0x000000000000008d   r14 = 0x00007f0f8a4c4800
    r15 = 0x00007fff0a8d01e0   rip = 0x0000000000f25738
    rsp = 0x00007fff0a8d01c0   rbp = 0x00007f0fd4fa0bc8
    Found by: call frame info
 2  phantomjs!JSC::Heap::reset [Heap.cpp : 397 + 0x4]
    rbx = 0x0000000000000001   r12 = 0x00007f0fd4fa0870
    r13 = 0x000000000000008d   r14 = 0x00007f0f8a4c4800
    r15 = 0x00000000000000d4   rip = 0x0000000000f25a31
    rsp = 0x00007fff0a8d0a70   rbp = 0x00007f0fd4fa0868
    Found by: call frame info
 3  phantomjs!JSC::Heap::reportExtraMemoryCostSlowCase [Heap.cpp : 389 + 0xc]
    rbx = 0x00007f0fd4fa0868   r12 = 0x00007f0f8a189a00
    r13 = 0x000000000000008d   r14 = 0x00007f0f8a4c4800
    r15 = 0x00000000000000d4   rip = 0x0000000000f25ba1
    rsp = 0x00007fff0a8d0aa0   rbp = 0x0000000000000240
    Found by: call frame info
 4  phantomjs!JSC::JSArray::increaseVectorPrefixLength [Heap.h : 169 + 0x4]
    rbx = 0x0000000000000460   r12 = 0x00007f0f8a189a00
    r13 = 0x000000000000008d   r14 = 0x00007f0f8a4c4800
    r15 = 0x00000000000000d4   rip = 0x0000000000f7ac4d
    rsp = 0x00007fff0a8d0ac0   rbp = 0x00007f0f8a140000
    Found by: call frame info
 5  phantomjs!JSC::JSArray::unshiftCount [JSArray.cpp : 856 + 0x10]
    rbx = 0x000000000000008c   r12 = 0x00007f0f8a142850
    r13 = 0x00007f0fd16884e8   r14 = 0x00007f0f8a142850
    r15 = 0x000000000000008c   rip = 0x0000000000f80a2c
    rsp = 0x00007fff0a8d0b10   rbp = 0x000000000000008c
    Found by: call frame info
 6  phantomjs!JSC::arrayProtoFuncUnShift [ArrayPrototype.cpp : 640 + 0xa]
    rbx = 0x000000000000008c   r12 = 0x00007f0fd16884e8
    r13 = 0x0000000000000001   r14 = 0x00007f0f8a142850
    r15 = 0x000000000000008c   rip = 0x0000000001498353
    rsp = 0x00007fff0a8d0bc0   rbp = 0x000000000000008c
    Found by: call frame info
 7  0x7f0f8c0001e7
    rbx = 0x00007f0f8c60e985   r12 = 0x00000000000000af
    r13 = 0x00007f0fd1688488   r14 = 0xffff000000000000
    r15 = 0xffff000000000002   rip = 0x00007f0f8c0001e8
    rsp = 0x00007fff0a8d0c80   rbp = 0x00007fff0a8d0d30
    Found by: call frame info
 8  phantomjs!JSC::Interpreter::executeCall [JITCode.h : 77 + 0x16]
    rip = 0x0000000000f2e376   rsp = 0x00007fff0a8d0d40
    Found by: stack scanning
 9  phantomjs!JSC::call [CallData.cpp : 38 + 0x21]
    rbx = 0x00007f0fd1688070   r12 = 0x00007f0fd16880a0
    r13 = 0x00007f0fd1688038   r14 = 0xffff000000000000
    r15 = 0xffff000000000002   rip = 0x0000000000f7291d
    rsp = 0x00007fff0a8d0e10   rbp = 0x00007fff0a8d1080
    Found by: call frame info
10  phantomjs!JSC::functionProtoFuncApply [FunctionPrototype.cpp : 132 + 0x20]
    rbx = 0x00007f0fd1688070   r12 = 0x00007f0fd16880a0
    r13 = 0x00007f0fd1688038   r14 = 0xffff000000000000
    r15 = 0xffff000000000002   rip = 0x00000000014ab77d
    rsp = 0x00007fff0a8d0e20   rbp = 0x00007fff0a8d1080
    Found by: call frame info
11  0x7f0f8c0001e7
    rbx = 0x00007f0fd1688038   r12 = 0x0000000000000200
    r13 = 0x00007f0fd1688038   r14 = 0xffff000000000000
    r15 = 0xffff000000000002   rip = 0x00007f0f8c0001e8
    rsp = 0x00007fff0a8d0fd0   rbp = 0x00007fff0a8d1080
    Found by: call frame info
12  phantomjs!JSC::Interpreter::executeCall [JITCode.h : 77 + 0x16]
    rip = 0x0000000000f2e376   rsp = 0x00007fff0a8d1090
    Found by: stack scanning
13  phantomjs!JSC::call [CallData.cpp : 38 + 0x21]
    rbx = 0x0000000002a9ed10   r12 = 0x00007f0fd0f931b8
    r13 = 0x00007f0fd0f931b0   r14 = 0x00007f0fd4f483d0
    r15 = 0x00007fff0a8d11b0   rip = 0x0000000000f7291d
    rsp = 0x00007fff0a8d1160   rbp = 0x0000000000000000
    Found by: call frame info
14  phantomjs!WebCore::ScheduledAction::executeFunctionInContext [JSMainThreadExecState.h : 48 + 0xb]
    rbx = 0x0000000002a9ed10   r12 = 0x00007f0fd0f931b8
    r13 = 0x00007f0fd0f931b0   r14 = 0x00007f0fd4f483d0
    r15 = 0x00007fff0a8d11b0   rip = 0x00000000010130f9
    rsp = 0x00007fff0a8d1170   rbp = 0x0000000000000000
    Found by: call frame info
15  phantomjs!WebCore::ScheduledAction::execute [ScheduledAction.cpp : 132 + 0x29]
    rbx = 0x00007f0fd1161200   r12 = 0x00007f0fd0f931b0
    r13 = 0x00007f0fd0e56c00   r14 = 0x0000000000000001
    r15 = 0x00007f0fd0e56cd0   rip = 0x00000000010137cd
    rsp = 0x00007fff0a8d12e0   rbp = 0x00007f0fd4f483d0
    Found by: call frame info
16  phantomjs!WebCore::DOMTimer::fired [DOMTimer.cpp : 148 + 0xa]
    rbx = 0x00007f0fd0d0caf8   r12 = 0x00007f0fd0f931b0
    r13 = 0x0000000002a9bb08   r14 = 0x0000000000000032
    r15 = 0x00007fff0a8d1380   rip = 0x00000000008b46e9
    rsp = 0x00007fff0a8d1340   rbp = 0x00007f0fd0e56cd0
    Found by: call frame info
17  phantomjs!WebCore::ThreadTimers::sharedTimerFiredInternal [ThreadTimers.cpp : 112 + 0x8]
    rbx = 0x00007f0fd0d0caf8   r12 = 0x0000000000000000
    r13 = 0x0000000003700ab0   r14 = 0x00000000000046d9
    r15 = 0x00007fff0a8d1b10   rip = 0x0000000000993983
    rsp = 0x00007fff0a8d13d0   rbp = 0x00007f0fd4fb57a8
    Found by: call frame info
18  phantomjs!QObject::event [qobject.cpp : 1156 + 0x8]
    rbx = 0x0000000003759a60   r12 = 0x00007fff0a8d1b10
    r13 = 0x0000000003700ab0   r14 = 0x00000000000046d9
    r15 = 0x00007fff0a8d1b10   rip = 0x0000000001cefbc4
    rsp = 0x00007fff0a8d1410   rbp = 0x0000000003759a60
    Found by: call frame info
19  phantomjs!QApplicationPrivate::notify_helper [qapplication.cpp : 4562 + 0xc]
    rbx = 0x00007fff0a8d1d90   r12 = 0x00007fff0a8d1b10
    r13 = 0x0000000003700ab0   r14 = 0x00000000000046d9
    r15 = 0x00007fff0a8d1b10   rip = 0x00000000015decaf
    rsp = 0x00007fff0a8d15b0   rbp = 0x0000000003759a60
    Found by: call frame info
20  phantomjs!QApplication::notify [qapplication.cpp : 4423 + 0x17]
    rbx = 0x00007fff0a8d1d90   r12 = 0x00007fff0a8d1b10
    r13 = 0x00007fff0a8d1d90   r14 = 0x00000000000046d9
    r15 = 0x00007fff0a8d1b10   rip = 0x00000000015e793b
    rsp = 0x00007fff0a8d15e0   rbp = 0x0000000003759a60
    Found by: call frame info
21  phantomjs!QCoreApplication::notifyInternal [qcoreapplication.cpp : 946 + 0x2]
    rbx = 0x00000000036fe1c0   r12 = 0x00007fff0a8d1b10
    r13 = 0x00007fff0a8d1d90   r14 = 0x00000000000046d9
    r15 = 0x00007fff0a8d1b10   rip = 0x0000000001cde3d4
    rsp = 0x00007fff0a8d1ab0   rbp = 0x0000000003759a60
    Found by: call frame info
22  phantomjs!QTimerInfoList::activateTimers [qcoreapplication.h : 231 + 0x14]
    rbx = 0x0000000003702898   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x00000000000046d9
    r15 = 0x00007fff0a8d1b10   rip = 0x0000000001d07ecd
    rsp = 0x00007fff0a8d1b00   rbp = 0x00000000000aa76c
    Found by: call frame info
23  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 941 + 0x7]
    rbx = 0x0000000000000000   r12 = 0x00007fff0a8d1be0
    r13 = 0x00000000036fd560   r14 = 0x0000000000000001
    r15 = 0x00000000036fe2d8   rip = 0x0000000001d080e0
    rsp = 0x00007fff0a8d1b90   rbp = 0x0000000003702030
    Found by: call frame info
24  phantomjs!QEventDispatcherQPA::processEvents [qeventdispatcher_qpa.cpp : 246 + 0x4]
    rbx = 0x00000000039455a0   r12 = 0x0000000000000000
    r13 = 0x00000000036fd560   r14 = 0x00007fff0a8d1c20
    r15 = 0x00000000036fe2d8   rip = 0x000000000163a6a4
    rsp = 0x00007fff0a8d1be0   rbp = 0x0000000003702030
    Found by: call frame info
25  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
    rbx = 0x00000000039455a0   r12 = 0x00007fff0a8d1cb0
    r13 = 0x00007fff0a8d1cc0   r14 = 0x00000000036fe230
    r15 = 0x00000000036fe2d8   rip = 0x0000000001cdd4b5
    rsp = 0x00007fff0a8d1c20   rbp = 0x00007fff0a8d1c60
    Found by: call frame info
26  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
    rbx = 0x00000000039455a0   r12 = 0x00007fff0a8d1cb0
    r13 = 0x00007fff0a8d1cc0   r14 = 0x00000000036fe230
    r15 = 0x00000000036fe2d8   rip = 0x0000000001cdd918
    rsp = 0x00007fff0a8d1c50   rbp = 0x00007fff0a8d1d90
    Found by: call frame info
27  phantomjs!QCoreApplication::exec [qcoreapplication.cpp : 1218 + 0x4]
    rbx = 0x00000000036fe1c0   r12 = 0x00007fff0a8d1d90
    r13 = 0x00007fff0a8d1f78   r14 = 0x00007fff0a8d1d00
    r15 = 0x0000000000000000   rip = 0x0000000001cdf7cb
    rsp = 0x00007fff0a8d1cb0   rbp = 0x00000000036fe1c0
    Found by: call frame info
28  phantomjs!main [main.cpp : 121 + 0x4]
    rbx = 0x0000000003742be0   r12 = 0x00007fff0a8d1d90
    r13 = 0x00007fff0a8d1f78   r14 = 0x00007fff0a8d1d00
    r15 = 0x0000000000000000   rip = 0x0000000000427cb2
    rsp = 0x00007fff0a8d1cf0   rbp = 0x00007fff0a8d1f28
    Found by: call frame info
29  libc-2.15.so + 0x2176c
    rbx = 0x0000000000000000   r12 = 0x0000000000407cc0
    r13 = 0x00007fff0a8d1f20   r14 = 0x0000000000000000
    r15 = 0x0000000000000000   rip = 0x00007f0fd37ee76d
    rsp = 0x00007fff0a8d1e50   rbp = 0x0000000000000000
    Found by: call frame info
30  phantomjs + 0x27a5f
    rip = 0x0000000000427a60   rsp = 0x00007fff0a8d1e70
    Found by: stack scanning

Thread 1
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000002a84208   r12 = 0x0000000002a76160
    r13 = 0x00007f0fd2a899c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f0fd43aad84
    rsp = 0x00007f0fd2a88df0   rbp = 0x0000000002a76160
    Found by: given as instruction pointer in context
 1  phantomjs!WTF::TCMalloc_PageHeap::scavengerThread [FastMalloc.cpp : 2495 + 0x7]
    rip = 0x00000000004ddafc   rsp = 0x00007f0fd2a88e20
    Found by: stack scanning
 2  phantomjs!WTF::TCMalloc_PageHeap::runScavengerThread [FastMalloc.cpp : 1618 + 0x4]
    rbx = 0x0000000000000000   r12 = 0x00007f0fd43b0880
    r13 = 0x00007f0fd2a899c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00000000004ddc99
    rsp = 0x00007f0fd2a88ea0   rbp = 0x0000000000000000
    Found by: call frame info
 3  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007f0fd43b0880
    r13 = 0x00007f0fd2a899c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f0fd43a6e9a
    rsp = 0x00007f0fd2a88eb0   rbp = 0x0000000000000000
    Found by: call frame info
 4  libpthread-2.15.so + 0x1187f
    rip = 0x00007f0fd43b0880   rsp = 0x00007f0fd2a88f58
    Found by: stack scanning
 5  libc-2.15.so + 0xf43fc
    rip = 0x00007f0fd38c13fd   rsp = 0x00007f0fd2a88fc0
    Found by: stack scanning

Thread 2
 0  libc-2.15.so + 0xed763
    rbx = 0x0000000000000000   r12 = 0x00007f0fd2287d80
    r13 = 0x0000000000000008   r14 = 0x00007f0fcc000a98
    r15 = 0x00007f0fcc000d30   rip = 0x00007f0fd38ba763
    rsp = 0x00007f0fd2287b50   rbp = 0x00007f0fcc0008e0
    Found by: given as instruction pointer in context
 1  phantomjs!qt_safe_select [qcore_unix.cpp : 83 + 0x15]
    rip = 0x0000000001d06327   rsp = 0x00007f0fd2287b60
    Found by: stack scanning
 2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
    rbx = 0x00007f0fcc0012b0   r12 = 0x00007f0fd2287d80
    r13 = 0x00007f0fcc0008e0   r14 = 0x0000000000000000
    r15 = 0x00007f0fcc000d30   rip = 0x0000000001d075e7
    rsp = 0x00007f0fd2287bf0   rbp = 0x00007f0fcc0008e0
    Found by: call frame info
 3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
    rbx = 0x00007f0fcc0012b0   r12 = 0x00007f0fd2287d80
    r13 = 0x00007f0fcc0008c0   r14 = 0x0000000000000001
    r15 = 0x0000000003937ea8   rip = 0x0000000001d08092
    rsp = 0x00007f0fd2287d30   rbp = 0x00007f0fcc0008e0
    Found by: call frame info
 4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
    rbx = 0x00007f0fcc0012b0   r12 = 0x00007f0fd2287e10
    r13 = 0x00007f0fd2287e20   r14 = 0x00000000036fe230
    r15 = 0x0000000003937ea8   rip = 0x0000000001cdd4b5
    rsp = 0x00007f0fd2287d80   rbp = 0x00007f0fd2287dc0
    Found by: call frame info
 5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
    rbx = 0x00007f0fcc0012b0   r12 = 0x00007f0fd2287e10
    r13 = 0x00007f0fd2287e20   r14 = 0x00000000036fe230
    r15 = 0x0000000003937ea8   rip = 0x0000000001cdd918
    rsp = 0x00007f0fd2287db0   rbp = 0x00007fff0a8d1d90
    Found by: call frame info
 6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
    rbx = 0x0000000003937e20   r12 = 0x0000000003937ea8
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001bdfdf6
    rsp = 0x00007f0fd2287e10   rbp = 0x0000000003937ea8
    Found by: call frame info
 7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
    rbx = 0x0000000003937ea8   r12 = 0x00000000037500f0
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001be2cc2
    rsp = 0x00007f0fd2287e60   rbp = 0x0000000003939440
    Found by: call frame info
 8  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fff0a8d1270
    r13 = 0x00007f0fd22889c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f0fd43a6e9a
    rsp = 0x00007f0fd2287eb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 3
 0  libcrypto.so.1.0.0 + 0xbe16d
    rbx = 0x00007f0fd09ddb80   r12 = 0x0000000000000054
    r13 = 0x00007f0f842dbfa8   r14 = 0x00007f0f842dad30
    r15 = 0x00007f0f842dbf90   rip = 0x00007f0fd2da616d
    rsp = 0x00007f0fd09dd840   rbp = 0x00007f0fd09ddbc0
    Found by: given as instruction pointer in context
 1  libcrypto.so.1.0.0 + 0xbec3f
    rip = 0x00007f0fd2da6c40   rsp = 0x00007f0fd09dd860
    rbp = 0x00007f0fd09ddbc0
    Found by: stack scanning

Thread 4
 0  libpthread-2.15.so + 0xc0fe
    rbx = 0x00007f0f84006930   r12 = 0x000000000000000d
    r13 = 0x00007f0f8bffedc0   r14 = 0xffffffffffffff92
    r15 = 0x0000000000000000   rip = 0x00007f0fd43ab0fe
    rsp = 0x00007f0f8bffed40   rbp = 0x00007f0f84006c00
    Found by: given as instruction pointer in context
 1  phantomjs!QWaitCondition::wait [qwaitcondition_unix.cpp : 84 + 0x7]
    rip = 0x0000000001be39d7   rsp = 0x00007f0f8bffeda0
    Found by: stack scanning
 2  phantomjs!QThreadPoolThread::run [qthreadpool.cpp : 141 + 0x1d]
    rbx = 0x00007f0f84006850   r12 = 0x00007f0f840068d9
    r13 = 0x0000000000000002   r14 = 0x00007f0f841c7910
    r15 = 0x0000000000000003   rip = 0x0000000001bd783d
    rsp = 0x00007f0f8bffee20   rbp = 0x00007f0f84006c00
    Found by: call frame info
 3  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
    rbx = 0x00007f0f800012b0   r12 = 0x00007f0f84006da0
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001be2cc2
    rsp = 0x00007f0f8bffee60   rbp = 0x00007f0f84006c00
    Found by: call frame info
 4  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007f0fd09ddce0
    r13 = 0x00007f0f8bfff9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f0fd43a6e9a
    rsp = 0x00007f0f8bffeeb0   rbp = 0x0000000000000000
    Found by: call frame info

Loaded modules:
0x00400000 - 0x0268dfff  phantomjs  ???  (main)
0x7f0f8af4f000 - 0x7f0f8af60fff  n019004l.pfb  ???
0x7f0f8afcb000 - 0x7f0f8b1d2fff  libnss_dns-2.15.so  ???
0x7f0f8b1d3000 - 0x7f0f8b3d5fff  libnss_mdns4_minimal.so.2  ???
0x7f0f8b3d6000 - 0x7f0f8b5e2fff  libnss_files-2.15.so  ???
0x7f0f8b5e3000 - 0x7f0f8b7fcfff  libresolv-2.15.so  ???
0x7f0fd0011000 - 0x7f0fd00abfff  DejaVuSansCondensed-Bold.ttf  ???
0x7f0fd00ac000 - 0x7f0fd0149fff  DejaVuSansCondensed.ttf  ???
0x7f0fd0171000 - 0x7f0fd0184fff  n019003l.pfb  ???
0x7f0fd2a8a000 - 0x7f0fd2ce6fff  libssl.so.1.0.0  ???
0x7f0fd2ce8000 - 0x7f0fd30befff  libcrypto.so.1.0.0  ???
0x7f0fd30c3000 - 0x7f0fd338bfff  locale-archive  ???
0x7f0fd338c000 - 0x7f0fd35b5fff  libexpat.so.1.5.2  ???
0x7f0fd35b6000 - 0x7f0fd37ccfff  libz.so.<IP_ADDRESS>  ???
0x7f0fd37cd000 - 0x7f0fd3b87fff  libc-2.15.so  ???
0x7f0fd3b8d000 - 0x7f0fd3da2fff  libgcc_s.so.1  ???
0x7f0fd3da3000 - 0x7f0fd409efff  libm-2.15.so  ???
0x7f0fd409f000 - 0x7f0fd4389fff  libstdc++.so.6.0.16  ???
0x7f0fd439f000 - 0x7f0fd45b7fff  libpthread-2.15.so  ???
0x7f0fd45bc000 - 0x7f0fd47c3fff  librt-2.15.so  ???
0x7f0fd47c4000 - 0x7f0fd49c7fff  libdl-2.15.so  ???
0x7f0fd49c8000 - 0x7f0fd4bfdfff  libfontconfig.so.1.4.4  ???
0x7f0fd4bfe000 - 0x7f0fd4e99fff  libfreetype.so.6.8.0  ???
0x7f0fd4e9a000 - 0x7f0fd4ebbfff  ld-2.15.so  ???
0x7f0fd5094000 - 0x7f0fd509cfff  945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-3  ???
0x7f0fd50a8000 - 0x7f0fd50b0fff  6d41288fd70b0be22e8c3a91e032eec0-le64.cache-3  ???
0x7f0fd50b1000 - 0x7f0fd50b9fff  e13b20fdb08344e0e664864cc2ede53d-le64.cache-3  ???
0x7fff0a9fe000 - 0x7fff0a9fffff  linux-gate.so  ???

Please upgrade to PhantomJS 2. 1.9.x is no longer supported, and known to have many crasher bugs that are fixed in 2.0.


Increase minimum stability to stable

Tighten any @dev dependencies to real tags.

LGTM. Feel free to merge, assuming you've compser installed and run the test suite.


package install issue

Hi,
thanks for creating this repo!
I think you may have an issue with the name definition of the package.
import returns a ModuleNotFoundError: No module named 'infini_transformer_pytorch' after installation.

@compmonks hey Pierre, think it should be ok in 0.1.6


Add database formatted DateTime to GraphQL

Here I am adding support for Database formatted DateTime.
Some of my imported data appear to be in this format and querying it via GraphQL yields an error, but moment.js can successfully parse the format.
I hope this subtle change helps other projects facing the same Date type issue.
example:
2011-02-25 23:59:59.999 +0530

Thanks, @kylewelsby :) It seems like a good idea to support those formats too.


IMAP: Tests for fetchPart and other uncovered areas of code

Rebased and fixed the points I saw when self-reviewing. Hopefully this is okay to merge now?

Thanks!


Command az aks enabled-addons failed

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks enable-addons
Errors:
The command failed with an unexpected error. Here is the traceback:
cannot import name 'case_insensitive_dict' from 'azure.core.utils' (/opt/az/lib/python3.10/site-packages/azure/core/utils/__init__.py)
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 112, in handler
    client = self.client_factory(self.cli_ctx, command_args) if self.client_factory else None
  File "/home/liwen/.azure/cliextensions/aks-preview/azext_aks_preview/_client_factory.py", line 31, in cf_managed_clusters
    return get_container_service_client(cli_ctx).managed_clusters

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
Please follow the steps in this doc: https://docs.microsoft.com/en-us/azure/aks/web-app-routing#import-certificate-to-azure-keyvault
az aks enable-addons --resource-group <myResourceGroup> --name <myAKSCluster> --addons azure-keyvault-secrets-provider,open-service-mesh,web_application_routing

Expected Behavior
Environment Summary
Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.31, Ubuntu 20.04.4 LTS
Python 3.10.4
Installer: DEB

azure-cli 2.37.0 *

Extensions:
account 0.2.2
aks-preview 0.5.94

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

route to CXP team

@lam-man Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@lam-man I am unable to replicate this issue using the same version of aks-preview extension. The only difference was that I am using most recent version of Azure CLI.
I could see that you are using an older version of azure-cli 2.37.0 * . To isolate this issue, Could you please use the most recent version of AzCLI and test again ?
Tagging another similar issue here https://github.com/Azure/azure-cli-extensions/issues/5215

Hi @navba-MSFT
Thank you very much. You are correct. After upgrading the az module, the problem got resolved. I think a reminder might be able to help others in the document here:  https://docs.microsoft.com/en-us/azure/aks/web-app-routing#import-certificate-to-azure-keyvault .
Thanks again for help.

@lam-man Thanks for getting back. I am glad that the issue is resolved. More details about the fix is explained here. We will now proceed with closure of this GitHub issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.


Extended support for the -nameopt flag

Provided support for the -nameopt flag
in s_client, s_server and s_time commands.
They were the last cmdline utils without nameopt management.
Checklist

[x] documentation is added or updated
[ ] tests are added or updated

Description of change
Provided support for the -nameopt flag
in s_client, s_server and s_time commands.

a7c04f2 in master.
You know what would be nice?  Some certs we can display with -nameopt to add to the test suite. :)


Add attribute closed to CachedResponse

Add attribute closed to CachedResponse for compatibility to work with aiohttp-try. Fix #191

Thank you!


Linefeed Repo Maintaining

Hello there @murarth
Our team has been using your linefeed library in our project and while its very good, it does have some bugs (seemingly centered around Windows machines) and would like to help resolve them, if you would be kind enough to provide some attention to this.
Our developers and users do enjoy the functionality that linefeed gives you, but these flaws certainly spoil the overall image of it. Also I’m convinced that our users would be of a similar mind.
I do see some of our issues are outlined on open Issue cards, so we will do our best to summarize below.

Windows specific from what we can see  - the terminal’s cursor stays statically printed on the screen at a certain line although we’ve already moved to another line (one or far away) with an active cursor, blinking.
After you reset the terminal or scroll out of the area and come back then, you cannot see it anymore as the inner area of the terminal window has been re-rendered. I assume that it’s something to do with what you’re doing with hiding and showing the cursor (for example, at on our test, we saw some suspicious escape sequences in the output, which was supposed to be blank string; this pointed us to that thought too).

Again mainly Windows, as far as we know - certain machines (the latest or modern Windows distributions) we experience unpleasantly slow backspacing. It’s most noticeable if you have long sequence of chars at the command line and you want to delete a bigger amount of them.  In this way you cannot control how many characters should be deleted exactly.

Its preferred to give our users possibility to use some of those standard key combinations meant to tell to carry out certain action. For example, we’d like to have ctrl+c working. However, despite your library contains API for handling signals, these signals turn out unresponsive in the end. And this time it seems like it groups all platforms together (Linux, Windows, Mac) in this matter.
Note: ctrl+d is the only signal that can be currently handled.

I'm sorry, I no longer have the time to maintain this project or to make improvements. If you want to make improvements to linefeed, I welcome you to fork it and publish to crates.io under a new name.

Maybe the fact that the library is unmaintained should be stated explicitly in README then?


kora-icon-theme: 1.5.4 -> 1.5.6

Description of changes
Update to version 1.5.6
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 222890 run on aarch64-linux 1

1 package built:

kora-icon-theme


How do I cite your excellent work in my paper?

I am doing blink detection work and want to cite your package. May I know how do I cite your excellent work in my paper?

Hi, and thank you for using Face Analyzer. I didn't publish a paper about this work as it is a library I've built on my spare time aiming to help those who need to do face processing (face recognition, face angle estimation etc). But it heavily relyes on Google's Mediapipe library and I think you can cite them since most of the important hard stuff is handled by this library. My work is a layer on top of that.
But if you want, just put a link to the github page.


JSON body param with embedded schema generates FormData

Given the following spec with an embedded schema for the in body, Guardrail generates a client method (see below) that takes name and body and uses them as form parameters. It also takes a body: io.circe.Json which is ignored.
This could be related to #237, but since we're consuming JSON here, the form params seem definitely wrong here. It also clashes with the name path parameter.
As soon as I move the schema into a definition and reference that, everything works fine.
Ideally, Guardrail would generate a case class and codecs for the embedded schema (perhaps using the name field for the class name?). At least it should not create form params but just use the JSON body instead.
swagger: '2.0'
info:
  title: JupyterHub
  description: The REST API for JupyterHub
produces:
  - application/json
consumes:
  - application/json
paths:
  /users/{name}:
    patch:
      operationId: changeUser
      summary: Modify a user
      description: Change a user's name or admin status
      parameters:
        - name: name
          description: username
          in: path
          required: true
          type: string
        - name: data
          in: body
          required: true
          description: Updated user info. At least one key to be updated (name or admin) is required.
          schema:
            type: object
            properties:
              name:
                type: string
                description: the new name (optional, if another key is updated i.e. admin)
              admin:
                type: boolean
                description: update admin (optional, if another key is updated i.e. name)
      responses:
        '200':
          description: The updated user info

  def changeUser(name: String, name: String, admin: Boolean, body: io.circe.Json, headers: List[HttpHeader] = Nil): EitherT[Future, Either[Throwable, HttpResponse], ChangeUserResponse] = {
    val allHeaders = headers ++ scala.collection.immutable.Seq[Option[HttpHeader]]().flatten
    makeRequest(HttpMethods.PATCH, host + basePath + "/users/" + Formatter.addPath(name), allHeaders, FormData(List(List(("name", Formatter.show(name))), List(("admin", Formatter.show(admin)))).flatten: _*), HttpProtocols.`HTTP/1.1`).flatMap(req => EitherT(httpClient(req).flatMap(resp => resp.status match {
      case StatusCodes.OK =>
        resp.discardEntityBytes().future.map(_ => Right(ChangeUserResponse.OK))
      case _ =>
        FastFuture.successful(Left(Right(resp)))
    }).recover({
      case e: Throwable =>
        Left(Left(e))
    })))
  }

I'd be happy too look into this but I guess I could use some hints where to start looking.

This is a duplicate of #76, let's continue the discussion there

Independent of the more interesting general approach for nested object structures discussed in #76, I'd argue the form parameters and the ignored JSON body (see example) are a bug worth fixing, because based on the spec this clearly should be a JSON body and not FormData. What do you think?

Seems like extractParamsFromRequestBody is resonsible for generating these form parameters, and does so even when we just consume application/json.
https://github.com/twilio/guardrail/blob/418ad1d23c5363677ae9dbb0bea18b09ff3b36f2/modules/codegen/src/main/scala/com/twilio/guardrail/terms/SwaggerTerm.scala#L126-L142

Completely missed that, I just focused on the data: io.circe.Json
I don't have time to review this until later this week, but this is definitely a separate bug from #76, as you've indicated.


Issue #SC-000 feat:status update while bulk upload

Codecov Report

Merging #267 into release-1.13 will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             release-1.13     #267   +/-   ##
===============================================
  Coverage           42.15%   42.15%
  Complexity            763      763
===============================================
  Files                 110      110
  Lines                7358     7358
  Branches              828      828
===============================================
  Hits                 3102     3102
  Misses               3938     3938
  Partials              318      318

Impacted Files
Coverage Δ
Complexity Δ

...n/java/org/sunbird/common/models/util/JsonKey.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9ff6cb...3e1edc5. Read the comment docs.


Use ProfiledPIDController for arm move PID

Arm max speed is determined by Arm/Profile/Arm Max Velocity now

Just tune it an this made the arm move so much smoother!


add OTX to anti-malware section

Thanks, @paralax - mind putting at the top of this section, so it's in alphabetical order, please? Thanks!

Thanks @paralax!!


CORS handling refactor #379

setup centralized CORS handler for registered routes
updated associated tests to new structure

closes #379

Pull Request Test Coverage Report for Build 1008

13 of 13 (100.0%) changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 46.768%

Files with Coverage Reduction
New Missed Lines
%

provider/gpkg/binary_header.go
2
100.0%

Totals

Change from base Build 1006:
-0.06%

Covered Lines:
5760

Relevant Lines:
12316

💛  - Coveralls


Add 42-Trapping-Rain-Water.js

Added solution for 42-Trapping-Rain-Water in javascript

Solution already exists.


Not work if class number is not 80

Retraining a yolov8 model with 20 classes, and it doesn't work in the example.
Since I'm not familiar xTensor we did a work around to solve this issue.  Not sure if this change is correct but at least it works for us.
Below diff for your info.
yolov8_cpp/x86_64/yolov8_postprocess.cpp
(-)        auto output_scores = xt::view(dequantized_output_s, xt::all(), xt::all(), xt::all());
(+)       auto output_scores = xt::view(dequantized_output_s, xt::all(), xt::all(), xt::range(0, NUM_CLASSES));

Changed NUM_CLASSES  is not enough to run this example with the non-80-classes network.
Attached a 20-classes yolov8 network for test (cut out 21th-80th classes of coco128, still work for bus.jpg prediction).
yolov8m_20classes.zip

@Numb-66
I looked at your model the output tensors data type is uint8.
If you look at the README.md of the yolo8 example, you'll see that there are notes there that the example is meant for a model with output data type of 16bit, but it can be easily changed to support an 8bit output model as well.
I checked with your model after changing the NUM_CLASSES to 20 and changing all the relevant data structures (in lines mentioned in the README.md) from uint16_t to uint8_t, and I was able to run inference successfully.
Please change the code to support 8bit outputs and try running inference again.

After clean the output director build and rebuild the example, now the network work like a charm. Thanks


Initiate charm modernisation

This commit adds basic configuration to linters and formatters. This commit also satisfies the linters and formatters. This commit also creates jobs for github actions.

@morphis Have a look at this one. Not sure why the GHA aren't running.


componentDidMount called twice after upgrade from 8.0.1 to 8.1.0 in some case

hi~ @developit
After i upgrade from 8.0.1 to 8.1.0,
I found the component's lifecycle methods called not as i expected in some case
It seem like that the flushMount conflict with re-render's diff method
Here is the demo, pls take a look:
https://codepen.io/ryan_ou/pen/jwQWoR?editors=0011

open the console tool
click show title button
Title ComponentDidMount and App ComponentDidMount called twice

Yup, definitely looks like a bug.  The only culprit I could find is this line, which I'm testing now:
https://github.com/developit/preact/compare/8.0.1...8.1.0#diff-86702919356dad82cf58b1e4150288f5R178

@robertknight I think I might have to revert the mount fix at least temporarily, can't seem to get it passing tests while also fixing this repro.  Thoughts?


Activity ID generation breaks sampling score calculation

The current way of Activity ID generation is sequential and produces quite close sampling scores:

This was produced by the sample code like this:
            for (int i = 0; i < 1000000; i++)
            {
                Activity act = new Activity("MyOperation");
                act.Start();
                double samplingScore = (double)GetSamplingHashCode(act.Id) / int.MaxValue * 100;
                Console.WriteLine("{0}:{1}", samplingScore, act.Id);
                act.Stop();
            }

GetSamplingHashCode link.
Almost identical sampling score would mean that items are sampled out way more often then they are supposed to leading to the drop of items that would otherwise be delivered. The weight assigned to the items that are sampled in will be incorrect because actually way more items were sampled out.

The issue affects the case when root operation id is generated on the first instrumented service.
Details about Id generation and how it works with AppInsights sampling score are described in the https://github.com/dotnet/corefx/issues/18418.
Workaround (until the https://github.com/dotnet/corefx/issues/18418 is resolved in Activity):
In case there was no Request-Id (x-ms-request-id) in the incoming request, feed randomly generated Id (OperationTelemetry.Id) to  the Activity (to avoid Activity's generation algorithm).
It will work for absolute majority of the existing scenarios:

If multiple clients (e.g. web page) generate Id and provides it in Request-Id (x-ms-request-id) header, Id will be random even if Activity is used to generate it (since coming from different machines at different time)
If clients do not pass Id, AppInsights will generate one from the OperationTelemetry.Id that is proven to work well with sampling

It will not work in one corner case:

If between client and the first service instrumented with ApplicationInsights, there is one (or more) service that are not instrumented with AI

AND

this service is instrumented with Activity

AND

this service has a small number of instances

Since Activity API has been implemented a couple of months ago and package with it was released on the nuget today, and considering the other conditions, this corner case seems to almost impossible.
So with the workaround suggested, it does not seem to block 2.4.0-beta1 as per offline discussion with @Dmitry-Matveev
Activity needs to be updated to work well with hashing algorithms and the issue (https://github.com/dotnet/corefx/issues/18418) needs to be solved with the stable 2.4.0 release
I'm going tol submit PR for dotnet-server repo with the workaround


Added Password, Label and Note.

Added two new options for Input()

Password, toggle-able true-false option that will basically set the input from for example hello to *****, very useful for passwords
Label, text that is set before the input has focus, will be consumed on focus and set to "", can be reset if needed, also, it acts as text too, so do check if the input is the label...

Note: Added a note for people that want backspace to handle like classic GUIs

This is broken for unicode input (string.len vs utf8.len). Can you fix this and remove the change in the readme?

Closung due to lack of activity


fix: typo in comments of Path

I was just trying to familiarize myself with the code and found this. My first contribution!

Very cool bot, but I didn't add a period at the end of each sentence so that's interesting. I also don't know how it's possible for a test to be failing because I changed a comment, probably flaky.

Thank you


Config changes

I have an issue: after adding customisation network (last commit), script BlackBot.py (script updated too) can't parse an configuration. I've modified it (network added), PK omitted:
[main]
node = http://nodes.wavesnodes.com
# select the network: testnet or mainnet
network = mainnet
matcher = http://nodes.wavesnodes.com
order_fee = 300000
order_lifetime = 900

[account]
private_key =(omitted)

[market]
amount_asset = WAVES
price_asset = 8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS

[grid]
interval = 0.005
tranche_size =<PHONE_NUMBER>0
grid_levels = 5
# base price calculation: LAST, BID, ASK, nnnnn (fixed constant price)
base = ask
# grid type: SYMMEMTRIC, BIDS only, ASKS, only
type = symmetric

[logging]
logfile = bot.log

But every time I have this error in log:
[Feb 16 2018 10:51:42 UTC] : --------------------------------------------------------------------------------
[Feb 16 2018 10:51:42 UTC] : Error reading config file
[Feb 16 2018 10:51:42 UTC] : Exiting.

Where I am wrong?
Env:
Ubuntu 14.04 LTS
Python 2.7.10

Have you installed ConfigParser?
pip install ConfigParser (python 2.7)

once you fix that issue it still won't work because also you need to update your config file with the new matcher that has been updated.


Pernosco integration v2

some GitHub Actions branch shenanigans are happening in #1346.

Ahh GitHub Actions don't run on branches when there are merge conflicts
https://github.community/t/run-actions-on-pull-requests-with-merge-conflicts/17104/2


The switch-to-configuration.pl logic is hard to follow and not really documented

I'm trying to figure out which variable I need to set if I don't want switch-to-configuration to stop my service. Poking around switch-to-configuration.pl, I find several variables that seem relevant, buried in a sea of nested conditionals in perl that make it rather hard to figure out when it makes sense to use each variable.
Here's a few of those variables:

X-StopOnRemoval
X-StopOnReconfiguration
X-ReloadIfChanged
X-RestartIfChanged
X-StopIfChanged
RefuseManualStop
RefuseManualStart

It also seems like the suggested possible "space of variation" of these variables is larger than you'll actually benefit from. For example, eyeballing the logic, it seems like setting X-ReloadIfChanged means that X-RestartIfChanged, RefuseManualStop, and X-StopIfChanged will be ignored.
Not fully understanding the logic enough to have a strong opinion on this, it seems at first glance like some of those variables would be easier to follow if they turned into e.g., X-ActionIfChanged (which could take on values like Reload, Restart, or Stop). Either way I'm still having trouble distinguishing semantic differences between "changed" and "reconfiguration".
cc @edolstra

Any news on this issue?

@mmahut it seems like someone just needs to dig into the source, figure it out, and then write some documentation I guess.

At some point @flokli had interest on this topic, but I'm not sure what the situation is now. This issue is still relevant, though.

Yeah, I did some digging in May on this, and came up with this:
https://github.com/NixOS/nixpkgs/issues/49528#issuecomment-622196884
I didn't find the time to change anything in the script, though.

I still think there is value in having the ability to express changes which require a reload and changes that require a restart. With httpd, for example, if you modify the extraModules option this requires a restart, and most other changes a reload is sufficient.

still relevant.

@dasJ @ajs124 wasn't there now more documentation on this?

Are you referring to https://nixos.org/manual/nixos/unstable/index.html#sec-switching-systems?

Yeah, that's what I wrote

I think we should link from the top of switch-to-configuration.pl to the docs, and explain behaviour is documented there - maybe just a "look in the NixOS manual, section …", and then this issue can be closed.
The main idea is that people looking at the perl script know where to find the behaviour documentation.


Test SilverShop 2.x / SS3.7 with PHP7.1

Good idea. What about 7.2? Isn't that more important than the change from 7.0 to 7.1?

I tried 7.2 locally but it broke due to PHPUnit3. Let's test if it works on travis ;)

Ah yes. I remember that I tried that at some point as well… didn't work on travis either :(


[build-script] Add --llvm-enable-modules

What's in this pull request?
Add an option to build-script-impl to enable building llvm/clang with modules. Ultimately, the goal is to turn this on by default.
Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@adrian-prantl Is -DLLVM_ENABLE_MODULES the only flag needed?

Yes this is the only option that is needed. The LLVM Cmake has the defaults for LLVM_ENABLE_MODULE_DEBUGGING(=1) and LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY(=0) that we'd want on Darwin and Linux.
You may need to cherry-pick LLVM r274196+r274227 for this to work.
PS: Could you please mark the commit with rdar://problem/27019000 and update the radar when it landed?
PPS: It might be good to manually verify that swift-ci test actually rebuilt LLVM with the correct flags. We want to see -fmodules and -gmodules.
PPPS: LGTM. Thanks a lot!

Thanks for the pointers! After cherry-picking LLVM r274196+r274227 onto the stable branch, I see:
FAILED: lib/LTO/CMakeFiles/LLVMLTO.dir/ThinLTOCodeGenerator.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++   -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/LTO -I/Users/vk/github-swift/llvm/lib/LTO -Iinclude -I/Users/vk/github-swift/llvm/include -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -std=c++11 -fmodules -fmodules-cache-path=module.cache -fcxx-modules -fcolor-diagnostics -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9    -fno-exceptions -fno-rtti -MMD -MT lib/LTO/CMakeFiles/LLVMLTO.dir/ThinLTOCodeGenerator.cpp.o -MF lib/LTO/CMakeFiles/LLVMLTO.dir/ThinLTOCodeGenerator.cpp.o.d -o lib/LTO/CMakeFiles/LLVMLTO.dir/ThinLTOCodeGenerator.cpp.o -c /Users/vk/github-swift/llvm/lib/LTO/ThinLTOCodeGenerator.cpp
/Users/vk/github-swift/llvm/lib/LTO/ThinLTOCodeGenerator.cpp:73:1: fatal error: import of module 'Darwin.sys.param' appears within namespace '(anonymous)'
#include <sys/param.h>
^
/Users/vk/github-swift/llvm/lib/LTO/ThinLTOCodeGenerator.cpp:66:1: note: namespace '(anonymous)' begins here
namespace {

Do you have suggestions on where I can look, or what bits of history I can compare against to get the stable branch ready?

@adrian-prantl Just to note -- after cherry-picking the commits you mentioned the build is getting substantially further.

@vedantk I would start by diffing that file and the LLVM module map against trunk, (which is definitely building: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-modulesRDA/)

@adrian-prantl @gottesmm Hm, I'm 30+ commits in and can't see the end of the tunnel. Would it make sense to apply the build-script change to master-next instead of master? The module build seems to work on that branch.

That's entirely reasonable. Since the stable branch isn't supposed to change very much and LLVM's module build is tested by CI, I would suggest inverting the patch so it adds a --disable-llvm-modules option and enables the option by default.

Please don't add negated options.  Use default values in build-script-impl instead.

I confirmed that a module build on master-next completes. I created a new pull request: PR 3916.


Chromecast is functioning with certain videos but encountering issues with others.

Environment
"@oplayer/core": "^1.2.31",
"@oplayer/danmaku": "^1.2.23",
"@oplayer/dash": "^1.2.22",
"@oplayer/hls": "^1.2.22",
"@oplayer/mpegts": "^1.2.22",
"@oplayer/plugins": "^1.0.7",
"@oplayer/react": "^1.2.8",
"@oplayer/torrent": "^1.2.23",
"@oplayer/ui": "^1.2.32",
browser: chrome
Bug Report
I am using Oplayer and using chromecast in it
Chromecast is working perfectly fine but on some movies chromecast is not playing
.Chromcast get connected with tv and it shows the icon of chromecast on it and the movie is not played why this is happening and how can i detect it.
I also used the movie link and played it on vlc and cast it on tv it work absolutely fine there.
I am also adding video recording.
https://github.com/shiyiya/oplayer/assets/80455451/6744e24a-1b76-4a85-bb02-29abc0bfa613

In Case video is not playing i am also adding screenshot.

https://github.com/shiyiya/oplayer/assets/80455451/2438d9bb-435f-4b9c-9851-0bf698d358b8

In case video is not playing i am also attaching screenshots

https://github.com/shiyiya/oplayer/assets/80455451/e1cd1e20-af50-4553-adbd-9e2597733629

could u try on https://oplayer-git-refactor-chromecast-shiyiya.vercel.app/player ?


[examples] two-listeners; add message

it would be cool if we had a message on connecting to the server like in https://github.com/tokio-rs/mio/blob/master/examples/udp_server.rs#L32-L34

Closed by #115


RecyclerView binding item type count

I think that your recycler view adapter should contains the "itemTypeCount" as well, because when list of items is empty the static item doesn't appear. When list of items already have some elements the static item take place of first list's item.
if getItemCount() return 0 recycler view won't call onCreateViewHolder() etc.
    @Override
    public int getItemCount() {
        return items == null ? 0 : items.size();
    }

so developer should bind its item type count or something like that
    @Override
    public int getItemCount() {
        return items == null ? itemTypeCount : items.size() + itemTypeCount;
    }

"static item doesn't appear" what do you mean by this? There isn't a concept of a "static item" in the lib, it shows exactly what's in your collection. itemTypeCount represents the number of different kinds of layouts you may have, there is no relation between it and item count.

As a static item I understand: a header or a different kind of layout. It's possible to add any element to the list but the adapter that you have written does not include the quantity of the additional elements.. The RecyclerView adapter must know the quantity of these additional view types. RecyclerView relays on the number of the items and the onCreateViewHolder won't work if the method getItemCount will return 0.

The sample now includes an example with a header and footer. Should be pretty clear how you should implment this, but let me know if it isn't.


How can i add custom extension to existing linter?

Help me please! If i copy existing linter (linter-coffeelint for example) and try to change
  # The syntax that the linter handles. May be a string or
  # list/tuple of strings. Names should be all lowercase.
  @syntax: ['source.coffee', 'source.litcoffee']

to
  # The syntax that the linter handles. May be a string or
  # list/tuple of strings. Names should be all lowercase.
  @syntax: ['source.coffee', 'source.cjsx', 'source.litcoffee']

after reload atom Linter not works with *.cjsx files. What can i do to Linter run files with custom extension?

I think what you did should work, so I'm not sure what's wrong.

in linter-view.coffee
 # Public: Initialize new linters (used on grammar chagne)
  #
  # linters - global linter set to utilize for linting
  initLinters: ->
    @linters = []
    grammarName = @editor.getGrammar().scopeName
    console.log grammarName
    for linter in @allLinters
      if (_.isArray(linter.syntax) and grammarName in linter.syntax or
          _.isString(linter.syntax) and grammarName is linter.syntax or
          linter.syntax instanceof RegExp and linter.syntax.test(grammarName))
        @linters.push(new linter(@editor))

grammarName for *.cjsx files is  text.plain.null-grammar
grammarName for *.coffee files is  source.coffee
i think need to check extensions too

Since JSX grammar works with the linter, I suspect this might be a problem
with the CJSX grammar. But I haven't investigated it.
On 31 January 2015 at 14:59, jonywtf<EMAIL_ADDRESS>wrote:

in linter-view.coffee
Public: Initialize new linters (used on grammar chagne)

linters - global linter set to utilize for linting
initLinters: ->
@linters = []
grammarName = @editor.getGrammar().scopeName
console.log grammarName
for linter in @allLinters
if (_.isArray(linter.syntax) and grammarName in linter.syntax or
_.isString(linter.syntax) and grammarName is linter.syntax or
linter.syntax instanceof RegExp and linter.syntax.test(grammarName))
@linters.push(new linter(@editor))
grammarName for *.cjsx files is text.plain.null-grammar
grammarName for *.coffee files is source.coffee
i think need to check extensions too
—
Reply to this email directly or view it on GitHub
https://github.com/AtomLinter/Linter/issues/399#issuecomment-72341362.

Need to add CJSX language support in Atom!
language-cjsx https://atom.io/packages/language-cjsx
This package add CJSX grammar.


Correction for packZpk excluding by default .svn, .git and .cvs patterns

Hi @slaff, these are the changes I made in order to not include **/ directory and its contents inside the zpk.
I really think the documentation section about the default exclusion list should change (https://github.com/zendtech/zendserver-sdk-java/wiki/Deployment-Properties-File#default-exclusion-list). since the tools\conf\excludes.default file no longer exists. Either that or the file should be read and the patterns included as they were on the legacy java version (http://zend-sdk.googlecode.com/svn/trunk/org.zend.sdk.cli/sdkcli/org/zend/sdkcli/internal/mapping/CliMappingLoader.java).
I also did minor format corrections and changed a few messages that where not grammatically correct in English.
With the changes made a pattern **/something may be included and if there is a "something" directory in the includes tree the directory and its contents will not be packed. The files or directories ending with "something" will be included, though.
I also noticed most of the tests from the testGetAbsolute method of the PathInvokableTest class do not pass on Windows, only on Linux (did not test on Mac OS X, but they should pass). I did not correct them since I did not know exactly what should be achieved by the test.

Please, separate different changes in different commits. First make a commit that is changing the coding style, then make a commit with grammar changes and then add commits that change the logic or fix Windows compatibility.
Having hard-coded the default exclusions is not a good idea. It would be better to add the default exclusions in the deployment.properties that is coming when someone calls initZpk. This way the developer has control over the properties without the need to change the source code of the zs-client.

1 - Ok, I will separate the commits. Can't promise I'll have time to make
this today.
2 - The last commit removed the hard coded default exclusions. I agree it
is a bad idea. The docs should change, though.
On Tue, Aug 4, 2015 at 6:37 AM, slaff<EMAIL_ADDRESS>wrote:

Please, separate different changes in different commits. First make
a commit that is changing the coding style, then make a commit with grammar
changes and then add commits that change the logic or fix Windows
compatibility.
Having hard-coded the default exclusions is not a good idea. It
would be better to add the default exclusions in the deployment.properties
that is coming when someone calls initZpk. This way the developer has
control over the properties without the need to change the source code of
the zs-client.

—
Reply to this email directly or view it on GitHub
https://github.com/zend-patterns/ZendServerSDK/pull/72#issuecomment-127541881
.

Ok, just to be clear.
Do you want me to make one pull request per commit? Or just separate the
commits and make one single pull request is fine?
On Tue, Aug 4, 2015 at 9:32 AM, Marcelo T. de Melo Filho <
<EMAIL_ADDRESS>wrote:

1 - Ok, I will separate the commits. Can't promise I'll have time to make
this today.
2 - The last commit removed the hard coded default exclusions. I agree it
is a bad idea. The docs should change, though.
On Tue, Aug 4, 2015 at 6:37 AM, slaff<EMAIL_ADDRESS>wrote:

Please, separate different changes in different commits. First
make a commit that is changing the coding style, then make a commit with
grammar changes and then add commits that change the logic or fix Windows
compatibility.
Having hard-coded the default exclusions is not a good idea. It
would be better to add the default exclusions in the deployment.properties
that is coming when someone calls initZpk. This way the developer has
control over the properties without the need to change the source code of
the zs-client.

—
Reply to this email directly or view it on GitHub
https://github.com/zend-patterns/ZendServerSDK/pull/72#issuecomment-127541881
.

One pull request is enough. Separate the commits as recommended above. In the message for commits that are 100% related to this ticket add sentence like  See #71..  One commit per change. For example one commit  for all coding-style changes. One commit for all grammar + typos. One commit for all Windows compatibility issues. And so on. You already have the data just need to rebase (and/or squash) the current commits. This way I can more easily cherry-pick plus we will have better history of the discussion(s).
For commits that are related to "Better Windows Compatibility" may be you can create a new issue and associate the commits with that issue.


Add a new exception type

Adds a new exception class required for the HTMLTableElement. It also adds phpdoc to the base class DOMomException.
Was not sure how to go about the read-only property "name".

Hi @speich ,
Please see how I've added the MagicProp trait to the base DOMException, so it can use property getter and setter functions. This concept is used throughout the DOM because of the expectation of having either read-only properties, or "live" properties that update according to the state of the live document.
Thanks for your efforts on this so far, let me know if you have any other questions about contributing and I'll see if I can improve the documentation for other contributors.
Greg.

Thanks again for your contribution.

How should I/we go about specific error messages when setting a property ? For example when setting the HTMLTableCaption property, the specs say to throw a HierarchyRequestError error. But since the method protected function __prop_set_caption(?HTMLTableCaptionElement $value): void {} does a type check, a TypeError is thrown by php before I can even test for the type and throw the custom HierarchyRequestError

What about relaxing the method argument type to HTMLElement and then test for the correct type inside the method?

This is a good question. It's something that hasn't been decided yet so
it's a good opportunity to debate it.
Personally, I think that if we've got a type system in the language, we
should utilise it because it will only make things clearer for the
developer using it. If there can only ever be an HTMLTableCaptionElement as
a valid type, my vote is to allow PHP to enforce this, otherwise we're only
reimplementing the functionality of a type check.
That would mean we have less to implement as a lot of exceptions could be
ignored.
I'm interested to hear your views on the best approach.
Greg.
On Tue, 23 Mar 2021, 19:09 Simon Speich, @.***> wrote:

What about relaxing the method argument type to HTMLElement and then test
for the correct type inside the method?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PhpGt/Dom/pull/268#issuecomment-805160385, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AG3634QCIPXOBXS4WKYDXETTFDRNDANCNFSM4ZRUS2IQ
.

Hi @speich,
This is a good question. It's something that hasn't been decided yet so it's a good opportunity to debate it.
Personally, I think that if we've got a type system in the language, we should utilise it because it will only make things clearer for the developer using it. If there can only ever be an HTMLTableCaptionElement as a valid type, my vote is to allow PHP to enforce this, otherwise we're only reimplementing the functionality of a type check.
That would mean we have less to implement as a lot of exceptions could be ignored.
Also, we could easily change the type to mixed, but then the type hints in editors wouldn't be as useful.
I'm interested to hear your views on the best approach, and your feedback on the above.
Greg.

I agree with what you say. It certainly would make the code shorter, easier to read and maintain if we used php's type system.
The only two things we would loose, are the faithfulness to the spec and the information content of the error, which is slightly different. The former just tells me that I used the wrong type, the latter tells my that I can't insert my node into the DOM at this parent. But I don't think that difference is really relevant, or is it?
And anyway, we can still change this at a later time, by just changing the passed types and adding the error checks, if we wanted to be closer to the spec (for the sake of it).
BTW, I'm really impressed with your facade. It's a pleasure to work with and I will open a PR for the HTMLTableElement including Tests soon.
Simon

That's really great to hear. Looking forward to it. I'll get many of the other elements implemented alongside.

Just FYI @speich, I've started implementing some HTMLElements this morning. I'll push through while my coffee's still hot, but later I have to pick up client work.
In the process of starting with HTMLAnchorElement, I created a new TestCase class that can be used to automate the repetitive task of asserting that the attribute:property relationship is correct. For example, the HTMLAnchorElement has a hreflang property that directly relates to the value of the hreflang HTML attribute... I'm predicting there will be many getters/setters like this, so please check out the HTMLElementTestCase and the first unit tests for HTMLAnchorElement.

ok, thanks for the tip, ill check it out


Error adding layers is not specific when over limit

Context
Adding a layer to a map using the builder when it is already at its maximum amount of layers.
Steps to Reproduce

Create a map with 8 layers
Add a layer using the add layer button

Current Result
Generic error:

Expected result

Disabling the Add layer button when already at layer limit
A more specific error (such as the one that popups when dragging a node while at layer limit)

We finish the ticket on CartoDB/Design
https://github.com/CartoDB/design/issues/634
Solve

On the navbar, we can add the indicator (n/n) next to the item. Like this "LAYER (2/8)". It's a small detail that can help as user a know the limit in all moment.

When the user add the latest (8) It shows an InfoBox Alert informing about the fact and we give them the possibility to upgrade their plan.

When the user add the latest (8), the "Add Button" pass to disabled. In this way, we avoid the error on the modal window.

closing since this is being attacked in #12167


Any plans to add more tweening functions to this wrapper? Such as floats and vectors.

yep, also for other tweens and the sequence of them. you can PR if you've created them ;)


Move binary op operand swap to compiler

We're currently swapping the operands for binary ops in runtime if the lhs operand is smaller (and requires broadcast onto the rhs operand). We should add this check in the compiler.
  // Switch the order of operands if the second operand requires broadcast
  if ((*rhs)->volume() < (*lhs)->volume()) {
    std::swap(*lhs, *rhs);
  }

We don't intend to fix it in the compiler as it should be fixed in tt-metal, this is the reported issue in tt-metal to track it. https://github.com/tenstorrent/tt-mlir/issues/582
Once tt-metal fixes it on their end, this workaround can be removed, but until then it can be guarded as a workaround in runtime.

Thanks @uazizTT I'll keep this issue open to track this on the mlir side, once metal merges a fix and we uplift it, I'll remove the workaround and close this issue.


[WIP: bots] Framework for simplified/reliable bot use/creation

Rather than explicitly writing a handle_message function and handling each command, this framework involves registering commands and their associated text/function, which are then returned upon being used by someone interacting with it. It's very similar in style to libraries which parse command line arguments, perhaps like getopt or later versions?
There are two demos, one simple and showing basic features, another a port of the xkcd bot (which required adding handling an 'int' as a 'command') - which one is run involves specifying the handler at the end of the file.
At this point I'm mainly seeking feedback; I'm sure it doesn't really belong as a separate bot, but I'm not sure if it is appropriate to be in the core bot code?

Automated message from Dropbox CLA bot
@neiljp, it looks like you've already signed the Dropbox CLA. Thanks!

Oops, accidentally closed this due to a typo.

Heads up @neiljp, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the upstream/master branch and resolve your pull request's merge conflicts accordingly.

Closing this since the equivalent features will now hopefully be integrated within something akin to zulip/python-zulip-api#66, or a derivative of it.


The Sound Play everytime u lose durability while the inventory is open!! Plz Fix!

Duplicate of #7


Why are Mocha tests each run as a separate suite?

I have multiple Mocha test suites in the same NTVS project. When I run the tests in this project from Test Explorer by right clicking and selecting 'Run All Tests', each test is run as its own test suite. Is this by design or is there a way to control how VS runs the test? This same behavior occurs when running the tests as part of a TFS build.
Please let me know if you need me to elaborate on anything.
Thanks!
Expected Behavior
before()
run test 1
run test 2
run test 3
after()
Actual Behavior
before()
run test 1
after()
before()
run test 2
after()
before()
run test 3
after()

NTVS Version: 1.1
Visual Studio Version: 2013 Professional Update 5
Node.js Version: 4.4.7

Steps to Reproduce

Create simple Mocha test suite with multiple tests and before() and after()
Right click on project in Test Explorer and select 'Run All Tests'
Observer that before() and after() are called for each test

Thanks for the report. This is a known issue and being tracked by #518
The root cause is that we spin up a separate instance of node for each test, which causes the multiple calls to before, as well as major perf problems. Please let me know if you would like some pointers or any help investigating a fix.
Closing as dup of #518

Thank you for your response.
Right now I'm working on some integration tests which require a certain order of events to work properly. Are there any known workarounds (aside from running tests from command-line) that might preserve the intended functionality of before()?
Cheers!


Fix creating invalid malfeasance proofs

Motivation
In rare occasions a node can create a malfeasance proof against a malicious identity that isn't valid. This only happens when the identity is actually malicious, just that the proof that is created cannot be validated by other nodes.
Description
When handling V1 ATXs in some cases a re-validation of the VRFNonce is necessary. Due to an oversight this re-validation modifies the ATX that is validated. Normally this isn't an issue because the object isn't used any more and the bytes we store for the ATX are the bytes we received (not a re-encoding of the modified object). However in the case we detect a malicious ATX during contextual validation the ATX that is used to create the InvalidPrevATXProof will be the modified object.
This causes the node to store an invalid proof (but for an identity that is malicious), which cannot be broadcast to peers. This PR fixes this issue.
Additionally to prevent spam InvalidPost malfeasance proofs are not broadcast any more for identities we already know to be malicious.
Another oversight causes nodes to log proofs for identities they already know to be malicious as ERROR with an error message saying validation ignored. This misleading log message should now not appear again.
Test Plan
new tests were added for the modified behaviour.
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed
[ ] Update changelog as needed

bors merge


Multiple workflow-controller support in a single cluster

A user may run multiple controllers for different purposes (e.g. a controller per namespace, or controller per application). The workflow-controller configmap supports this via label selectors. Currently these labels are not propagated to the created pods so this functionality will not yet work.

Correction: we already support namespaced controllers. To configure a controller to only operate on workflows in a particular namespace, edit the configmap and add a namespace field to the config:
$ kubectl edit cm workflow-controller-configmap -n kube-system
...
...
  config: |
    namespace: default
    executorImage: argoproj/argoexec:2.0.0-alpha2
...

Then restart the controller for the new watch to take effect:
$ kubectl delete pod -n kube-system -l app=workflow-controller

Operating workflows by labels will not work yet because of the propagation issue that I mentioned in the first comment.


Enable ppc64le support for IBM FHIR

Hi,
Thanks for the very well articulated documentation that helped build IBM/FHIR from source and run
successfully on IBM Power architecture (in short, ppc64le). Currently, some of the container images are not available for ppc64le today like these https://github.com/IBM/FHIR#running-the-ibm-fhir-server
What is IBM Power architecture?
It is a RISC architecture and is IBM's prodigy, IBM has recently made its ISA (Instruction Set Architecture) opensource, and in doing so, they have significantly contributed back to the opensource community at large. Many of the pioneers of banking and HPC industries today run on ppc64le architecture.
As an ongoing effort to enable open-source projects to which ppc64le architecture can add value, we are trying to enable this project. We have seen absolutely no deviation in build/test instructions. I plan to submit a PR to enable building corresponding docker images for ppc64le.
What would it take from us to enable ppc64le in the CI/CD pipeline?
I see GitHub Action is being used for this project. As of today, GHA runs on ppc64le as architecture.
https://github.com/marketplace/actions/run-on-architecture

Dear @krishvoor While I appreciate where you are coming from, please coordinate with the team before raising a PR/change.  It increases our overall build time and cost, and implies a wider support beyond what is enabled today. Please contact us on Zulip or Slack, where we will need to engage the Business owners.

Discussed with @krishvoor
Next steps:

a plan / proposed plan on ci/cd
when the ci/cd will run for the architecture (how) - avoid blowing out the minutes (maybe just run on merge to main?)
discuss with the team

Thoughts...


Bump AbstractDifferentiation compat

Tests pass for me locally if I fix the problems caused by https://github.com/JuliaDiff/ChainRules.jl/issues/769 by manually defining methods for one and zero.

Edit: oops, I messed up when testing locally, there is more work to do here to accomidate AbstractDiff 0.6

Dup of https://github.com/JuliaDiff/Diffractor.jl/pull/228?

yeah, apparently the change is breaking in more subtle ways, closing in favor of the PR where @oxinabox was working

Oops dont know how I missed that PR 😅


How to limit the number of inputs of a node[VUE 3]

How to limit the number of inputs so that only one node can be connected

View example to restrict the node to single input https://github.com/jerosoler/Drawflow/issues/35


[FR] Add code formatter

Hello there,
many other language plugins are providing a code formatter to format the given code using the Format Document command within VSCode. For now I am using the method mentioned here to generate readable pkl files from json, but I would really like the option within VSCode.
Thanks for your work on Pkl so far!

A formatter is definitely something we want in the language. It'll probably come either in the LSP or as a command in the CLI itself.

Coding without a proper formatter is extremely frustrating, there is definitely the need to add this functionality!


Enable ecosystem-ci for the quarkus-updates repo

Description

Add ecosystem CI
Add one test that generate 2.X app then migrate it and check the result.

Implementation ideas
No response

FWIW, these projects are very good candidates for testing (at least as a start):

https://github.com/quarkiverse/quarkus-github-app/
https://github.com/quarkusio/quarkus-github-bot/

This is done, for now it udpate a code quarkus basic project


Adding workbox

Shifting PR from earlier repo to here

Awesome! This will be a breaking change of the CLI, but it'll be really nice to get out there.
I wonder if we want to merge this into a branch? WDYT Justin?

Thanks for moving the PR here @prateekbh and the review @jeffposnick !
I think what we'll want for backwards compatibility is to keep --add-service-worker with no value to mean use sw-precache and read sw-precache-config.js, and make --add-service-worker=workbox do the new behavior here.
@prateekbh we could move this into a branch here and take over that part, or you could do it. Mostly I think it would involve making two separate service-worker worker modules and choosing one based on the value of the flag.

Maybe I'm asking too much, but it would also be great to be able to use injectManifest instead of (or as an optional alternative to) generateSW to make it possible to add some additional functionality to the SW instead of using it just for caching purposes, WDYT?

@prateekbh a deprecation warning would be great.

@prateekbh This is awesome work -- I am starting a major porting to PWA (from the old PSK) and am making sure I am using the "latest everything" for it -- and workbox falls in that category!

@justinfagnani I am fixing the tests and lets take it to a different branch. Once all looks good then wither you guys can add the flag or i'll create new files to help with the new workbox option.
Can you create a new branch and edit the PR please?

@justinfagnani @rictic:
I've modified the PR to use a different flag addWorkboxServiceWorker and shifted the changes to new files, so that it no more requires a major version bump. 😃

@justinfagnani Can y'all chime in on this and see if the PR now makes sense? Wondering if perhaps @prateekbh needs to squash the commits?

We are waiting for Workbox... Please merge asap. :hammer_and_wrench:

@justinfagnani @rictic i reloved the last comment about removing object.assign.
I am not sure t=what is causing the tests to fail, can you some help

@rictic @justinfagnani can you please restart task: https://travis-ci.org/Polymer/tools/jobs/414764209
its a connection timeout error. All other tests are passing

So in theory all tests are paying bit every other run of Travis fails on some or other connection timeout.
Waiting from someone in polymer cli team to look into it

Any news about merging this PR? Thanks!

Any news?

@justinfagnani Would you be willing to merge this after review?

The world is waiting with bated breath...

@prateekbh Still willing to work on it? Can you think of a reason why this is not  moving forward?

Guys, web pages are becoming so cool that we might just use it "to the bones". No tools. lit-element might be the only remaining. Don't know. Service workers are becoming so cool that we must use it directly, without "doormans" or intermediaries. It was a time, comprehensive time, where "service workers" needed to be "abstracted away" and keep distant and handled by others. No, time's changed. This request is a photograph of this old time: people begging to use workbox, to get closer to their own service worker; while programmer gurus don't have time to do this big change of behavior. It is indeed a big change of behavior, isn't it? It is still happening. Service worker craftsmanship must be directly handled by ourselves, lovely programmers. Let's not keep service workers distant anymore. Let's deal with cache changing without giving away, not anymore, our baby, our beloved service worker. It is incredibly doing each time better stuff. Why use a server?, we can start to ask more times, with beautiful processors and service workers each day more powerful.
Ignore the poetry and the sentiment. I am just saying that service workers are now babies that we can not afford to handle to others, to keep it distant, even with good reasons like dealing with new builds and cache invalidation. Not an expert, you should already have noticed. Can only give this "general" opinion and sentiment.

The PR is extremely old and outdated closing this one

@prateekbh  Wait... really?
Am I right in saying that this is a fully functional PR, and all tests should pass (apart from technical hiccups), it was even checked by developers, and yet it's being dropped?
@justinfagnani  @rictic  are there other plans to move to Workbox?

well yes most tests passed, but this is over an year old PR. workbox has rolled out many versions after this and i have no idea how much work would go in to actually get it updated and in.
I would happily do a fresh one if there's buy in from polymer team


Download error when downloading with LinkedIn account

Please follow the guide below

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

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2<IP_ADDRESS>. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[X ] I've verified and I assure that I'm running youtube-dl 2<IP_ADDRESS>

Before submitting an issue make sure you have:

[ X] At least skimmed through README and most notably FAQ and BUGS sections
[ X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
computer@computer:~/$ youtube-dl --verbose --print-traffic --dump-pages -u private --cookies cookies1.txt https://www.lynda.com/C-tutorials/C-Essential-Training/182674-2.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--print-traffic', u'--dump-pages', u'-u', u'PRIVATE', u'--cookies', u'cookies1.txt', u'https://www.lynda.com/C-tutorials/C-Essential-Training/182674-2.html']
Type account password and press [Return]:
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.10 - Linux-4.2.0-27-generic-x86_64-with-Ubuntu-15.10-wily
[debug] exe versions: none
[debug] Proxy map: {}

...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
I am trying to download some videos and followed every tutorial around.
I could fix the cookies prerequisites and start the download but, since my account come from linkedin it thrown an error:
ERROR: Unable to login: Please use the "Sign in with LinkedIn" option to sign in.
ExtractorError: Unable to login: Please use the "Sign in with LinkedIn" option to sign in.
There is something can be done about it ?

If you authenticate with cookies you should not specify -u.

When I do that it shows to me :
WARNING: 93 videos are only available for members (or paid members) and will not be downloaded.

I have the same problem with passing cookies. I am using organizational login. Also, I tried to download a single locked video, I got ERROR: lynda returned error: Session has expired  But I can play the video in browser fine.

An approach to get 3-month premium account: (thanks Mark Mushailov for sharing this)

you can get a free account (3 month premium account to both linkedin learning and pluralsight and many more) by signing up to
Steps:

Sign up for the FREE Visual Studio Dev Essentials program that you can find here: https://www.visualstudio.com/en-us/products/visual-studio-dev-essentials-vs.aspx
After you create your account, Click on the “Get Code” under the Linkedin Learning Tile


Feature Request: Provide a means for clients to define custom Xcode schemes

Today, rules_xcodeproj generates an Xcode scheme for each target. It would be useful for clients to be able to define and configure the Xcode schemes as one can do in the Xcode user interface.
Suggested Features

Specify a custom name
Specify the targets to build in each scheme.
Identify the test targets in the build list and use them as the testables.
Specify the launch target.

Tasks

[x] #592
[x] #612
[x] #626
[x] #630
[x] #637
[x] #646
[x] #662
[x] #664
[x] #656
[x] #733
[ ] Generate custom Xcode schemes.

[x] #748
[x] #801
[x] #807
[x] #803
[x] #808
[x] #809
[ ] Remove or adjust top-level target logic: top-level inference, isTopLevel logic
[ ] Adjust unknown label errors: alias labels
[ ] Update the "best" host logic to select based upon an sorted platform list (e.g. like XcodeScheme).

[ ] Migrate Hashable implementation for XCScheme.BuidableReference to tuist/XcodeProj.
[ ] Add support for top_level_only mode for scheme_autogeneration_mode.
[ ] Document use of functions instead of constants when sharing target lists generated by schemes with xcodeproj_fixtures

Deferred Items

Be sure that typos in any of the labels specified in the schemes are checked for validity. Slack thread

It turns out that Label() does not validate that a label is valid (i.e., exists).
@brentleyjones and I discussed some options for other ways to validate the existence of a label. Namely, we could add an attribute to the _xcodeproj rule that references all of the labels that are specified in the schemes. The downside to this approach is that it may cause analysis of the specified targets using the default (i.e., incorrect) configuration. Also, if a failure occurs, it could be confusing to understand what is causing the error (e.g., xcodeproj vs the scheme definition).
In short, we are punting on this for now.

I'd also add one more feature we'd like to support:

Specify custom "Argument Passed On Launch" and "Environment Variables".

I will put together a design proposal for review. I should be able to put up a first pass at the design by the end of the week.

FYI @erikkerber since you've expressed interest in this in the past as well.

@brentleyjones For the rule/macro names, do you want to prefix xcodeproj_ to the names. For example, for a scheme rule, would you like xcodeproj_scheme?  Other options that come to mind: xcode_scheme, scheme? I, personally, think that scheme seems a bit naked and could collide with another rule.

People can rename rules when loading, so I'm not concerned with prefixing, and would like scheme or schemes depending on how the design unfolds.

Maybe xcode_scheme for clarity though, since someone else reading the build files might not know what a generic "scheme" is.

We need to adjust any error messages related to unknown labels, as using an alias label will work for project generation, but will fail to resolve to Target.label.

I believe we need to remove the inferring of top level targets, as it doesn't work with device_and_simulator: it results in improperly configured top-level targets being added to xcodeproj.

The logic for isTopLevel is wrong, as we can have top-level targets listed in build_action, but nowhere else. For example, a scheme setup like this:
xcodeproj(
    name = "xcodeproj",
    project_name = "Multiplatform",
    schemes = [
        xcode_schemes.scheme(
            name = "All",
            build_action = xcode_schemes.build_action([
                "//examples/multiplatform/iMessageApp",
                "//examples/multiplatform/tvOSApp",
                "//examples/multiplatform/Tool",
            ]),
            launch_action = xcode_schemes.launch_action(
                "//examples/multiplatform/iOSApp",
            ),
        ),
    ],
    tags = ["manual"],
    top_level_targets = XCODEPROJ_TARGETS,
)

results in this error:
No `TargetID` value found for "//examples/multiplatform/tvOSApp:tvOSApp"

We need to adjust any error messages related to unknown labels, as using an alias label will work for project generation, but will fail to resolve to Target.label.

@brentleyjones Do you have an example that fails?

Create an alias for a top level target, use that alias in the scheme.

I moved the top_level_only task to its own feature request issue, as it is related to but not required for custom, Xcode schemes.

Excerpt from Slack conversation about buildFor changes.

Related, we need to change the buildFor logic. Something like this:
buildActionInfo can define which ones (in BUILD files), but defaults to all (like today)
testActionInfo implies testing if buildActionInfo hasn't set any, and an error if buildActionInfo has excluded the testing action
launchActionInfo implies running if buildActionInfo hasn't set any, and an error if buildActionInfo has excluded the running action
profileActionInfo is defaulted to launchActionInfo's target if it's not defined, and if buildActionInfo hasn't excluded the profiling for the target. Then it implies profiling if buildActionInfo hasn't set any, and an error if buildActionInfo has excluded the profiling action
archivingActionInfo is defaulted to launchActionInfo's target if it's not defined, and if buildActionInfo hasn't excluded the archiving for the target. Then it implies archiving if buildActionInfo hasn't set any, and an error if buildActionInfo has excluded the archiving action
Finally, after all of that, if no targets have running set (say a custom scheme with just testActionInfo set), then all targets gain running
Reason: to not build tests when building a custom scheme, unless the test action is taken. This combined with https://ios-dev-at-scale.slack.com/archives/C03JZFP9PHC/p1659390651088049?thread_ts=1659014885.455309&cid=C03JZFP9PHC will prevent the over-building RH is reporting.

Nice!
We should open a new issue for the test_env request from our Slack discussion.


Updates MI creation steps to reflect mg commands

OK - should we stop using the v1.1 process that we have so far, then? We've used it on at least 1 new MI. Do you think it's necessary to revert the creation instructions to the last state of v1.0 (and add v1.1 instructions in the appropriate folder)?


Handle migration impacts of changing JWT token signing default behavior

Describe the issue:
Need to handle the migration introduced with [1]
[1]https://github.com/wso2/product-is/issues/13402
With this behavioural change, we have identified the below impact areas.

Customers who use SaaS applications.
Token validation at application level will be unsuccessful for new tokens obtained after the migration.
They can continue their existing behaviour of signing JWT tokens by the user's tenant by changing the configuration value to determine token signer, which will continue to successfully validate their new JWT tokens at application level.
If they wish to migrate to sign by service provider, migration changes will be required at their application level.
Customers who have already obtained a JWT token signed with default behaviour.
Customers who have already taken a JWT token can also choose to continue their current behaviour by changing the configuration value to determine token signer.
Customers who do not use SaaS applications. (No direct impact)
The behavioural change will not have a direct impact on validation as the service provider's tenant and the user's tenant will be the same in non-SaaS service providers.
But if at application level, the validation has been implemented to use the user's tenant, they can choose to change the signature validation implementation or continue with the previous behaviour by changing the configuration.

Added to docs with https://github.com/wso2/docs-is/pull/2991, https://github.com/wso2/docs-is/pull/2997


Benchmarking

Implementation of a simple macro benchmark executing ec validate image with the fixed state and no external dependencies.
For this the OCI distribution registry is run in a container with the data from the data/registry/data and the git repository mirrored in the data/git/rhtap-ec-policy.git.
The benchmark outputs in the golang standard benchmark format that can be utilized with tools in the golang benchmarking ecosystem.
Reference: https://issues.redhat.com/browse/EC-968
Changes needed to be done to eliminate mutable global state that would influence the execution unfavorably (b0f2ecffd69b4ce335398dc1a25d79f370601aa4).
Data needed for the benchmark to be local and deterministic is in a separate commit (eb2f1d6caf4a4963313300f290aa3697575706f7).

I ran the benchmark on main (this branch) and with reverted #2184, this gives us some data to work with:
$ make benchmark > new.txt
$ git revert --no-commit --mainline 1 b8c77a098e2e0aa661d2f61cb7d44569494fe195
$ make benchmark > old.txt
$ go run golang.org/x/perf/cmd/benchstat@latest old.txt new.txt
pkg: golang.org/x/benchmarks
goos: linux
goarch: amd64
          │   old.txt   │             new.txt             │
          │   sec/op    │   sec/op     vs base            │
Simple-12   21.08 ± 24%   22.64 ± 28%  ~ (p=0.475 n=10+7)

          │       old.txt        │                 new.txt                  │
          │ GC-bytes-from-system │ GC-bytes-from-system  vs base            │
Simple-12           7.450Mi ± 4%           7.452Mi ± 0%  ~ (p=1.000 n=10+7)

          │   old.txt   │             new.txt              │
          │ STW-sec/GC  │  STW-sec/GC   vs base            │
Simple-12   72.11µ ± 5%   76.71µ ± 15%  ~ (p=0.109 n=10+7)

          │   old.txt   │             new.txt              │
          │ STW-sec/op  │  STW-sec/op   vs base            │
Simple-12   3.678m ± 8%   3.989m ± 10%  ~ (p=0.193 n=10+7)

          │      old.txt       │                new.txt                 │
          │ allocated-bytes/op │ allocated-bytes/op  vs base            │
Simple-12         3.531Gi ± 0%         3.529Gi ± 0%  ~ (p=0.601 n=10+7)

          │   old.txt   │             new.txt             │
          │  allocs/op  │  allocs/op   vs base            │
Simple-12   74.91M ± 0%   74.90M ± 0%  ~ (p=0.417 n=10+7)

          │      old.txt      │                new.txt                │
          │ bytes-from-system │ bytes-from-system  vs base            │
Simple-12        336.5Mi ± 6%        331.6Mi ± 8%  ~ (p=0.109 n=10+7)

          │        old.txt         │                  new.txt                   │
          │ heap-bytes-from-system │ heap-bytes-from-system  vs base            │
Simple-12             313.2Mi ± 5%             309.3Mi ± 7%  ~ (p=0.103 n=10+7)

          │         old.txt         │                   new.txt                   │
          │ other-bytes-from-system │ other-bytes-from-system  vs base            │
Simple-12             13.06Mi ± 22%             12.19Mi ± 18%  ~ (p=0.315 n=10+7)

          │    old.txt     │              new.txt               │
          │ peak-RSS-bytes │ peak-RSS-bytes  vs base            │
Simple-12     374.0Mi ± 4%     375.0Mi ± 4%  ~ (p=0.216 n=10+7)

          │    old.txt    │              new.txt              │
          │ peak-VM-bytes │ peak-VM-bytes  vs base            │
Simple-12    2.594Gi ± 0%    2.593Gi ± 0%  ~ (p=0.364 n=10+7)

          │         old.txt         │                   new.txt                   │
          │ stack-bytes-from-system │ stack-bytes-from-system  vs base            │
Simple-12             2.531Mi ± 15%             2.625Mi ± 32%  ~ (p=0.757 n=10+7)

          │     old.txt     │                 new.txt                  │
          │ user+sys-sec/op │ user+sys-sec/op  vs base                 │
Simple-12        16.81 ± 1%        17.29 ± 5%  +2.89% (p=0.003 n=10+7)


Allow links to keybase profiles from ghuser profiles

Keybase is a compelling secure user-centric identity / collaboration / chat / encrypted git / ... hub with an open source client.
Allow users to point to their keybase profiles (e.g. https://keybase.io/nealmcb) from their ghuser profiles (e.g. https://ghuser.io/nealmcb) in their ghuser.io.settings repo fork.
https://github.com/ghuser-io/ghuser.io/blob/master/docs/user-settings.md

I'd be happy to take this on! I can issue a pull request with the change.

Thank you @sharontlin !


support for .env file config

Add support for loading .env files with config
This will make it easier to run ror from the terminal or with an extermal debugger
an env var to specify .env file location would also be nice to keep config out of the repo. (e.g user can specify an .env file that is in their home dir)

Wrong repo


spanish translations for the reset password bundle

Translations were AI Generated by AWS Translate Machine Learning Platform and need to be Validated by humans
Includes all of the Spanish translations for Symfony Cast's Reset Password Bundle in PR #1100

Closing because the related #1100 proposal was closed. Sorry! And thank you!


MM-31185 Added localization to date picker used when searching for posts around a given date with momentjs

Summary
Enabled localization of react-day-picker in /components/suggestion/search_date_suggestion with momentjs packages.
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/16520

Hello @shuang2411,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Thanks for making those changes! I believe the other reviewer is out until next week, but he should be back to review it sometime then

Thank you so much!

Thanks for making those changes! I believe the other reviewer is out until next week, but he should be back to review it sometime then

Thank you so much!

/update-branch

/update-branch

/update-branch

/update-branch

Thanks again for your PR, @shuang2411! This'll be available on Mattermost Cloud in mid-February and in Mattermost 5.33 in March!

Thanks again for your PR, @shuang2411! This'll be available on Mattermost Cloud in mid-February and in Mattermost 5.33 in March!


Nicole add bootstrap link to index.js

I just added the line of bootstrap code to index.js so the NaviBar will render properly for now.
Brielle may want to change styling later on in the project.

No longer needed.


Overriding node image using css

I'm using 3.3.0 and I'm trying to use a class. Now I can add my class using "icon": "icon-class" but there are classes overriding my class. My class is defined:
.js_tree_folder {
background-image: url(resources/images/folder.svg);
background-size: 16px;
}
The resulting css is this and my style is overwritten as shown by the image attached.

There is no way to make the jstree selector less specific, so make sure your selector is more specific. For example go for: .jstree .js_tree_folder or add a container ID.
Best regards,
Ivan

Ah, sorry. Missed the "-default" and works now. Thanks!


Support interior mutability in prost-reflection

Feature Request
Enable interior mutability within ReflectionService to enable to dynamically register/deregister services.
Crates
prost-reflection
Motivation
I have a use case where I use some tonic components to proxy between grpc services. I would like to reuse prost-reflection to implement grpc reflections, but I lack the ability to dinamically register/deregister services.
Proposal
I wonder if it would be possible to change the state of ReflectionService to something like Arc<ArcSwap<>> or similar, and then expose some handle to this state to mutate it from somewhere else. This handle should have methods such as add service/remove service. WDYT?
Alternatives
Right now I'm left with 2 alternatives:

Manually wrap the whole service in an Arc and replace the full instance at once everytime there is a service change. Might be problematic when dealing with a reasonably large number of services, as this requires me to reinitialize ReflectionService every time
Not use prost-reflection, and build everything on my own.

Yeah, I think we could add support for this. Prob just need a regular mutex and copy.


complete task 11 - CORE: GET /api/articles (topic query)

add tests for GET /api/articles (topic query)
update app.js
update article controller & model

not done, need to update endpoints.json


Syntax : internal modules and ES6 modules

Maybe internal modules should be renamed to something else? For example, the following code declares an ES6 module:
declare module "MyLib" {
}

But this one declares an internal module:
declare module MyLib {
}

The syntax is confusing.

See #2159

Tanks.