Expose new functions to manually push/pop CUDA contexts

This PR adds helpers to switch CUDA contexts.
For OptiX, we expose a OptixDeviceContext throught jit_optix_context(). This context depends on a CUDA context and if users want to re-use it for other OptiX computations outside of Dr.Jit they cannot do it without setting the same CUDA context.
These new helpers will allow users to do exactly this or, more generally, scope any other CUDA computations they might want to do without Dr.Jit.

This is very anecdotal and my memory is a little foggy: Early in the development of Dr.Jit (then called Enoki), I tried to use this push/pop context feature and ran into issues with other tensor libraries (PyTorch or Tensorflow). Somehow popping the stack wasn't consistently returning things to the original condition, and that caused issues when intermingling Dr.Jit calls with those of the other framework. Hence the current raw way of setting/getting the context in Dr.Jit with the "stack" being maintained by a RAII wrapper.

Good to know, the way I am currently using these the new functions is Mitsuba is also through a new RAII wrapper (I couldn't expose the existing one because of the C interface)


Crashing on certain web link

HI,
I have tried the following command
./phantomjs-1.9.8-linux-x86_64/bin/phantomjs  --ssl-protocol=any --ignore-ssl-errors=false --web-security=false nice.js "https://www.vizury.com/campaign/rtb/adx/cmr.php?google_gid=CAESEAxXWqYIjZRWeOkVaT5xbEk&google_cver=1"
And phantomjs crash.
Dumped data is as below:
Operating system: Linux
0.0.0 Linux 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64
CPU: amd64
family 6 model 58 stepping 9
1 CPU
Crash reason:  SIGSEGV
Crash address: 0x0
Thread 0 (crashed)
0  phantomjs!WebCore::ImageDocumentParser::appendBytes [ImageDocument.cpp : 135 + 0x0]
rbx = 0x00007ffea7137d80   r12 = 0x0000000000000000
r13 = 0x00007ffea7137e20   r14 = 0x00007f8c57e62d00
r15 = 0x0000000001d5f340   rip = 0x000000000079d637
rsp = 0x00007ffea7137d70   rbp = 0x00007f8c5c0da200
Found by: given as instruction pointer in context
1  phantomjs!WebCore::DocumentWriter::endIfNotLoadingMainResource [DocumentWriter.cpp : 208 + 0x12]
rbx = 0x00007f8c57e0e070   r12 = 0x0000000000000001
r13 = 0x00007ffea7137e20   r14 = 0x00000000030f4b20
r15 = 0x0000000001d5f340   rip = 0x000000000084b532
rsp = 0x00007ffea7137dc0   rbp = 0x00007f8c5c0da200
Found by: call frame info
2  phantomjs!QWebFrame::setUrl [qwebframe.cpp : 759 + 0x7]
rbx = 0x00007f8c57e0e070   r12 = 0x00007ffea7137e90
r13 = 0x00007ffea7137e20   r14 = 0x00000000030f4b20
r15 = 0x0000000001d5f340   rip = 0x00000000004822da
rsp = 0x00007ffea7137de0   rbp = 0x0000000003342740
Found by: call frame info
3  phantomjs!Phantom::doExit [phantom.cpp : 476 + 0x21]
rbx = 0x00007ffea7137e90   r12 = 0x00000000030f4ad0
r13 = 0x0000000000000000   r14 = 0x00000000030f4b20
r15 = 0x0000000001d5f340   rip = 0x0000000000408b20
rsp = 0x00007ffea7137e60   rbp = 0x00007ffea7137e80
Found by: call frame info
4  phantomjs!Phantom::exit [phantom.cpp : 400 + 0x9]
rbx = 0x00000000030f4ad0   r12 = 0x00000000030f4ad0
r13 = 0x000000000000000e   r14 = 0x0000000000000000
r15 = 0x0000000001d5f340   rip = 0x0000000000408c8f
rsp = 0x00007ffea7137ef0   rbp = 0x0000000000000000
Found by: call frame info
5  phantomjs!Phantom::qt_static_metacall [moc_phantom.cpp : 124 + 0x6]
rbx = 0x00007ffea71386f0   r12 = 0x00000000030f4ad0
r13 = 0x000000000000000e   r14 = 0x0000000000000000
r15 = 0x0000000001d5f340   rip = 0x000000000046960f
rsp = 0x00007ffea7137f20   rbp = 0x00007ffea71386f0
Found by: call frame info
6  phantomjs!Phantom::qt_metacall [moc_phantom.cpp : 169 + 0xe]
rbx = 0x0000000000000000   r12 = 0x00000000030f4ad0
r13 = 0x000000000000000e   r14 = 0x0000000000000000
r15 = 0x0000000001d5f340   rip = 0x00000000004698ef
rsp = 0x00007ffea7137f50   rbp = 0x00007ffea71386f0
Found by: call frame info
7  phantomjs!JSC::Bindings::QtRuntimeMetaMethod::call [qt_runtime.cpp : 1455 + 0x17]
rbx = 0x00007ffea71384c0   r12 = 0x00007ffea71386f0
r13 = 0x00007ffea7138890   r14 = 0x0000000000000000
r15 = 0x0000000001d5f340   rip = 0x0000000000553007
rsp = 0x00007ffea7137ff0   rbp = 0x0000000000000001
Found by: call frame info
8  phantomjs!JSC::cti_op_call_NotJSFunction [JITStubs.cpp : 2191 + 0x3]
rbx = 0x0000000000000000   r12 = 0x00007f8c5c936100
r13 = 0x00007f8ca04589a0   r14 = 0x00007ffea7138df8
r15 = 0x00007f8c5c9360b8   rip = 0x0000000000f5d175
rsp = 0x00007ffea7138da0   rbp = 0x00007ffea7138e00
Found by: call frame info
9  0x7f8c5cd8ac18
rbx = 0x00007f8c5cd8bff3   r12 = 0x00000000000001ff
r13 = 0x00007f8c5c9360b8   r14 = 0xffff000000000000
r15 = 0xffff000000000002   rip = 0x00007f8c5cd8ac19
rsp = 0x00007ffea7138e00   rbp = 0x00007ffea7138ea0
Found by: call frame info
10  phantomjs!JSC::Interpreter::executeCall [JITCode.h : 77 + 0x16]
rip = 0x0000000000f2e476   rsp = 0x00007ffea7138eb0
Found by: stack scanning
11  phantomjs!JSC::call [CallData.cpp : 38 + 0x21]
rbx = 0x00007ffea71390e0   r12 = 0x00007f8ca045be20
r13 = 0x00007f8c57d98950   r14 = 0x00007f8ca045c150
r15 = 0x00007f8ca04998f0   rip = 0x0000000000f72a1d
rsp = 0x00007ffea7138f80   rbp = 0x00007f8c57d98cd0
Found by: call frame info
12  phantomjs!JSC::Bindings::QtConnectionObject::execute [qt_runtime.cpp : 1863 + 0x17]
rbx = 0x00007ffea71390e0   r12 = 0x00007f8ca045be20
r13 = 0x00007f8c57d98950   r14 = 0x00007f8ca045c150
r15 = 0x00007f8ca04998f0   rip = 0x0000000000542fce
rsp = 0x00007ffea7138f90   rbp = 0x00007f8c57d98cd0
Found by: call frame info
13  phantomjs!JSC::Bindings::QtConnectionObject::qt_metacall [qt_runtime.cpp : 1807 + 0xa]
rbx = 0x0000000000000000   r12 = 0x00007ffea7139360
r13 = 0x000000000333d3f0   r14 = 0x0000000000000004
r15 = 0x00000000033704b0   rip = 0x0000000000543a0c
rsp = 0x00007ffea7139210   rbp = 0x0000000000000000
Found by: call frame info
14  phantomjs!QMetaObject::activate [qobject.cpp : 3555 + 0x1f]
rbx = 0x0000000000000004   r12 = 0x0000000003341201
r13 = 0x0000000000000000   r14 = 0x0000000000000004
r15 = 0x00000000033704b0   rip = 0x0000000001cf7260
rsp = 0x00007ffea7139240   rbp = 0x000000000333d3f0
Found by: call frame info
15  phantomjs!WebPage::loadFinished [moc_webpage.cpp : 428 + 0x4]
rbx = 0x0000000003341280   r12 = 0x0000000003341280
r13 = 0x0000000003090ab0   r14 = 0x000000000308e208
r15 = 0x00000000033b7a90   rip = 0x000000000046a263
rsp = 0x00007ffea7139360   rbp = 0x00000000033b7a50
Found by: call frame info
16  phantomjs!WebPage::finish [webpage.cpp : 735 + 0x7]
rbx = 0x0000000003341280   r12 = 0x0000000003341280
r13 = 0x0000000003090ab0   r14 = 0x000000000308e208
r15 = 0x00000000033b7a90   rip = 0x0000000000412cd2
rsp = 0x00007ffea7139380   rbp = 0x00000000033b7a50
Found by: call frame info
17  phantomjs!WebPage::qt_static_metacall [moc_webpage.cpp : 294 + 0xb]
rbx = 0x0000000003341280   r12 = 0x0000000003341280
r13 = 0x0000000003090ab0   r14 = 0x000000000308e208
r15 = 0x00000000033b7a90   rip = 0x000000000046a3b5
rsp = 0x00007ffea71393a0   rbp = 0x00000000033b7a50
Found by: call frame info
18  phantomjs!QObject::event [qobject.cpp : 1191 + 0x8]
rbx = 0x0000000003341280   r12 = 0x00000000033b7a90
r13 = 0x0000000003090ab0   r14 = 0x000000000308e208
r15 = 0x00000000033b7a90   rip = 0x0000000001cefd28
rsp = 0x00007ffea71394d0   rbp = 0x0000000000000000
Found by: call frame info
19  phantomjs!QApplicationPrivate::notify_helper [qapplication.cpp : 4562 + 0xc]
rbx = 0x00007ffea7139e80   r12 = 0x00000000033b7a90
r13 = 0x0000000003090ab0   r14 = 0x000000000308e208
r15 = 0x00000000033b7a90   rip = 0x00000000015dedaf
rsp = 0x00007ffea7139670   rbp = 0x0000000003341280
Found by: call frame info
20  phantomjs!QApplication::notify [qapplication.cpp : 4423 + 0x17]
rbx = 0x00007ffea7139e80   r12 = 0x00000000033b7a90
r13 = 0x00007ffea7139e80   r14 = 0x000000000308e208
r15 = 0x00000000033b7a90   rip = 0x00000000015e7a3b
rsp = 0x00007ffea71396a0   rbp = 0x0000000003341280
Found by: call frame info
21  phantomjs!QCoreApplication::notifyInternal [qcoreapplication.cpp : 946 + 0x2]
rbx = 0x000000000308e1c0   r12 = 0x00000000033b7a90
r13 = 0x00007ffea7139e80   r14 = 0x000000000308e208
r15 = 0x000000000308e1fc   rip = 0x0000000001cde4d4
rsp = 0x00007ffea7139b70   rbp = 0x0000000003341280
Found by: call frame info
22  phantomjs!QCoreApplicationPrivate::sendPostedEvents [qcoreapplication.h : 231 + 0x1f]
rbx = 0x00000000033b7a90   r12 = 0x000000000308e1c0
r13 = 0x0000000003341280   r14 = 0x000000000308e208
r15 = 0x000000000308e1fc   rip = 0x0000000001cdf434
rsp = 0x00007ffea7139bc0   rbp = 0x00000000033b7af0
Found by: call frame info
23  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 909 + 0xc]
rbx = 0x000000000333f1e0   r12 = 0x00007ffea7139cd0
r13 = 0x000000000308d560   r14 = 0x0000000000000000
r15 = 0x000000000308e2d8   rip = 0x0000000001d08123
rsp = 0x00007ffea7139c80   rbp = 0x0000000003092030
Found by: call frame info
24  phantomjs!QEventDispatcherQPA::processEvents [qeventdispatcher_qpa.cpp : 246 + 0x4]
rbx = 0x000000000333f1e0   r12 = 0x0000000000000000
r13 = 0x000000000308d560   r14 = 0x00007ffea7139d10
r15 = 0x000000000308e2d8   rip = 0x000000000163a7a4
rsp = 0x00007ffea7139cd0   rbp = 0x0000000003092030
Found by: call frame info
25  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x000000000333f1e0   r12 = 0x00007ffea7139da0
r13 = 0x00007ffea7139db0   r14 = 0x000000000308e230
r15 = 0x000000000308e2d8   rip = 0x0000000001cdd5b5
rsp = 0x00007ffea7139d10   rbp = 0x00007ffea7139d50
Found by: call frame info
26  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x000000000333f1e0   r12 = 0x00007ffea7139da0
r13 = 0x00007ffea7139db0   r14 = 0x000000000308e230
r15 = 0x000000000308e2d8   rip = 0x0000000001cdda18
rsp = 0x00007ffea7139d40   rbp = 0x00007ffea7139e80
Found by: call frame info
27  phantomjs!QCoreApplication::exec [qcoreapplication.cpp : 1218 + 0x4]
rbx = 0x000000000308e1c0   r12 = 0x00007ffea7139e80
r13 = 0x00007ffea713a050   r14 = 0x00007ffea7139df0
r15 = 0x0000000000000000   rip = 0x0000000001cdf8cb
rsp = 0x00007ffea7139da0   rbp = 0x000000000308e1c0
Found by: call frame info
28  phantomjs!main [main.cpp : 121 + 0x4]
rbx = 0x00000000030f4ad0   r12 = 0x00007ffea7139e80
r13 = 0x00007ffea713a050   r14 = 0x00007ffea7139df0
r15 = 0x0000000000000000   rip = 0x0000000000427db2
rsp = 0x00007ffea7139de0   rbp = 0x00007ffea713a018
Found by: call frame info
29  libc-2.19.so + 0x21ec4
rbx = 0x0000000000000000   r12 = 0x0000000000407cc0
r13 = 0x00007ffea713a010   r14 = 0x0000000000000000
r15 = 0x0000000000000000   rip = 0x00007f8c9ecc5ec5
rsp = 0x00007ffea7139f40   rbp = 0x0000000000000000
Found by: call frame info
30  phantomjs + 0x27b5f
rip = 0x0000000000427b60   rsp = 0x00007ffea7139f60
Found by: stack scanning
Thread 1
0  libpthread-2.19.so + 0xc414
rbx = 0x0000000002a84208   r12 = 0x0000000002a76160
r13 = 0x00007f8ca059cce0   r14 = 0x0000000002a7e1a0
r15 = 0x0000000002a7e170   rip = 0x00007f8c9f895414
rsp = 0x00007f8c9dd36e20   rbp = 0x0000000002a76160
Found by: given as instruction pointer in context
1  phantomjs!WTF::TCMalloc_PageHeap::scavengerThread [FastMalloc.cpp : 2495 + 0x7]
rip = 0x00000000004ddbfc   rsp = 0x00007f8c9dd36e50
Found by: stack scanning
2  phantomjs!WTF::TCMalloc_PageHeap::runScavengerThread [FastMalloc.cpp : 1618 + 0x4]
rbx = 0x00007f8c9dd37700   r12 = 0x0000000000000000
r13 = 0x0000000000000000   r14 = 0x00007f8c9dd379c0
r15 = 0x00007f8c9dd37700   rip = 0x00000000004ddd99
rsp = 0x00007f8c9dd36ed0   rbp = 0x0000000000000000
Found by: call frame info
3  libpthread-2.19.so + 0x8181
rbx = 0x00007f8c9dd37700   r12 = 0x0000000000000000
r13 = 0x0000000000000000   r14 = 0x00007f8c9dd379c0
r15 = 0x00007f8c9dd37700   rip = 0x00007f8c9f891182
rsp = 0x00007f8c9dd36ee0   rbp = 0x0000000000000000
Found by: call frame info
4  libc-2.19.so + 0xfa47c
rip = 0x00007f8c9ed9e47d   rsp = 0x00007f8c9dd36f80
Found by: stack scanning
Thread 2
0  libc-2.19.so + 0xf1da3
rbx = 0x0000000000000000   r12 = 0x00007f8c9d535db0
r13 = 0x0000000000000008   r14 = 0x00007f8c58000a98
r15 = 0x00007f8c58000d30   rip = 0x00007f8c9ed95da3
rsp = 0x00007f8c9d535b80   rbp = 0x00007f8c580008e0
Found by: given as instruction pointer in context
1  phantomjs!qt_safe_select [qcore_unix.cpp : 83 + 0x15]
rip = 0x0000000001d06427   rsp = 0x00007f8c9d535b90
Found by: stack scanning
2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
rbx = 0x00007f8c580012b0   r12 = 0x00007f8c9d535db0
r13 = 0x00007f8c580008e0   r14 = 0x0000000000000000
r15 = 0x00007f8c58000d30   rip = 0x0000000001d076e7
rsp = 0x00007f8c9d535c20   rbp = 0x00007f8c580008e0
Found by: call frame info
3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
rbx = 0x00007f8c580012b0   r12 = 0x00007f8c9d535db0
r13 = 0x00007f8c580008c0   r14 = 0x0000000000000001
r15 = 0x000000000330f1d8   rip = 0x0000000001d08192
rsp = 0x00007f8c9d535d60   rbp = 0x00007f8c580008e0
Found by: call frame info
4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x00007f8c580012b0   r12 = 0x00007f8c9d535e40
r13 = 0x00007f8c9d535e50   r14 = 0x000000000308e230
r15 = 0x000000000330f1d8   rip = 0x0000000001cdd5b5
rsp = 0x00007f8c9d535db0   rbp = 0x00007f8c9d535df0
Found by: call frame info
5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x00007f8c580012b0   r12 = 0x00007f8c9d535e40
r13 = 0x00007f8c9d535e50   r14 = 0x000000000308e230
r15 = 0x000000000330f1d8   rip = 0x0000000001cdda18
rsp = 0x00007f8c9d535de0   rbp = 0x00007ffea7139e80
Found by: call frame info
6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
rbx = 0x000000000330f150   r12 = 0x000000000330f1d8
r13 = 0x0000000000000001   r14 = 0x00007f8c9d5369c0
r15 = 0x00007f8c9d536700   rip = 0x0000000001bdfef6
rsp = 0x00007f8c9d535e40   rbp = 0x000000000330f1d8
Found by: call frame info
7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x000000000330f1d8   r12 = 0x00000000030ea510
r13 = 0x0000000000000001   r14 = 0x00007f8c9d5369c0
r15 = 0x00007f8c9d536700   rip = 0x0000000001be2dc2
rsp = 0x00007f8c9d535e90   rbp = 0x00000000030de480
Found by: call frame info
8  libpthread-2.19.so + 0x8181
rbx = 0x00007f8c9d536700   r12 = 0x0000000000000000
r13 = 0x0000000000000000   r14 = 0x00007f8c9d5369c0
r15 = 0x00007f8c9d536700   rip = 0x00007f8c9f891182
rsp = 0x00007f8c9d535ee0   rbp = 0x0000000000000000
Found by: call frame info
9  libc-2.19.so + 0xfa47c
rip = 0x00007f8c9ed9e47d   rsp = 0x00007f8c9d535f80
Found by: stack scanning
Thread 3
0  libc-2.19.so + 0xf1da3
rbx = 0x00007f8c57d95d60   r12 = 0x000000000000047a
r13 = 0x000000000000000a   r14 = 0x00007f8c50000a98
r15 = 0x00007f8c50000d30   rip = 0x00007f8c9ed95da3
rsp = 0x00007f8c57d95b80   rbp = 0x0000000000042ede
Found by: given as instruction pointer in context
1  phantomjs!qt_safe_select [qcore_unix.cpp : 93 + 0x16]
rip = 0x0000000001d06328   rsp = 0x00007f8c57d95b90
Found by: stack scanning
2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
rbx = 0x00007f8c500012b0   r12 = 0x00007f8c57d95db0
r13 = 0x00007f8c500008e0   r14 = 0x00007f8c57d95d60
r15 = 0x00007f8c50000d30   rip = 0x0000000001d076e7
rsp = 0x00007f8c57d95c20   rbp = 0x00007f8c500008e0
Found by: call frame info
3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
rbx = 0x00007f8c500012b0   r12 = 0x00007f8c57d95db0
r13 = 0x00007f8c500008c0   r14 = 0x0000000000000001
r15 = 0x0000000003380698   rip = 0x0000000001d08192
rsp = 0x00007f8c57d95d60   rbp = 0x00007f8c500008e0
Found by: call frame info
4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x00007f8c500012b0   r12 = 0x00007f8c57d95e40
r13 = 0x00007f8c57d95e50   r14 = 0x000000000308e230
r15 = 0x0000000003380698   rip = 0x0000000001cdd5b5
rsp = 0x00007f8c57d95db0   rbp = 0x00007f8c57d95df0
Found by: call frame info
5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x00007f8c500012b0   r12 = 0x00007f8c57d95e40
r13 = 0x00007f8c57d95e50   r14 = 0x000000000308e230
r15 = 0x0000000003380698   rip = 0x0000000001cdda18
rsp = 0x00007f8c57d95de0   rbp = 0x00007ffea7139e80
Found by: call frame info
6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
rbx = 0x0000000003380610   r12 = 0x0000000003380698
r13 = 0x0000000000000001   r14 = 0x00007f8c57d969c0
r15 = 0x00007f8c57d96700   rip = 0x0000000001bdfef6
rsp = 0x00007f8c57d95e40   rbp = 0x0000000003380698
Found by: call frame info
7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x0000000003380698   r12 = 0x0000000003380750
r13 = 0x0000000000000001   r14 = 0x00007f8c57d969c0
r15 = 0x00007f8c57d96700   rip = 0x0000000001be2dc2
rsp = 0x00007f8c57d95e90   rbp = 0x00000000033805f0
Found by: call frame info
8  libpthread-2.19.so + 0x8181
rbx = 0x00007f8c57d96700   r12 = 0x0000000000000000
r13 = 0x0000000000000000   r14 = 0x00007f8c57d969c0
r15 = 0x00007f8c57d96700   rip = 0x00007f8c9f891182
rsp = 0x00007f8c57d95ee0   rbp = 0x0000000000000000
Found by: call frame info
9  libc-2.19.so + 0xfa47c
rip = 0x00007f8c9ed9e47d   rsp = 0x00007f8c57d95f80
Found by: stack scanning
Thread 4
0  libpthread-2.19.so + 0xc7ce
rbx = 0x00007f8c50006b30   r12 = 0x0000000000000001
r13 = 0x00007f8c5758ddf0   r14 = 0xffffffffffffff92
r15 = 0x00007f8c50006a00   rip = 0x00007f8c9f8957ce
rsp = 0x00007f8c5758dd70   rbp = 0x00007f8c50006e10
Found by: given as instruction pointer in context
1  phantomjs!QWaitCondition::wait [qwaitcondition_unix.cpp : 84 + 0x7]
rip = 0x0000000001be3ad7   rsp = 0x00007f8c5758ddd0
Found by: stack scanning
2  phantomjs!QThreadPoolThread::run [qthreadpool.cpp : 141 + 0x1d]
rbx = 0x00007f8c50006a50   r12 = 0x00007f8c50006ad9
r13 = 0x0000000000000002   r14 = 0x00007f8c5758e9c0
r15 = 0x00007f8c5758e700   rip = 0x0000000001bd793d
rsp = 0x00007f8c5758de50   rbp = 0x00007f8c50006e10
Found by: call frame info
3  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x00007f8c480012b0   r12 = 0x00007f8c50006fb0
r13 = 0x0000000000000001   r14 = 0x00007f8c5758e9c0
r15 = 0x00007f8c5758e700   rip = 0x0000000001be2dc2
rsp = 0x00007f8c5758de90   rbp = 0x00007f8c50006e10
Found by: call frame info
4  libpthread-2.19.so + 0x8181
rbx = 0x00007f8c5758e700   r12 = 0x0000000000000000
r13 = 0x0000000000000000   r14 = 0x00007f8c5758e9c0
r15 = 0x00007f8c5758e700   rip = 0x00007f8c9f891182
rsp = 0x00007f8c5758dee0   rbp = 0x0000000000000000
Found by: call frame info
5  libc-2.19.so + 0xfa47c
rip = 0x00007f8c9ed9e47d   rsp = 0x00007f8c5758df80
Found by: stack scanning
Loaded modules:
0x00400000 - 0x0268dfff  phantomjs  ???  (main)
0x7f8c566fe000 - 0x7f8c56757fff  DejaVuSerif.ttf  ???
0x7f8c56758000 - 0x7f8c5695dfff  libnss_dns-2.19.so  ???
0x7f8c5695e000 - 0x7f8c56b69fff  libnss_files-2.19.so  ???
0x7f8c56b6a000 - 0x7f8c56d82fff  libresolv-2.19.so  ???
0x7f8c9dd38000 - 0x7f8c9df96fff  libssl.so.1.0.0  ???
0x7f8c9df97000 - 0x7f8c9e36dfff  libcrypto.so.1.0.0  ???
0x7f8c9e372000 - 0x7f8c9e63afff  locale-archive  ???
0x7f8c9e63b000 - 0x7f8c9e864fff  libexpat.so.1.6.0  ???
0x7f8c9e865000 - 0x7f8c9ea8afff  libpng12.so.0.50.0  ???
0x7f8c9ea8b000 - 0x7f8c9eca3fff  libz.so.1.2.8  ???
0x7f8c9eca4000 - 0x7f8c9f063fff  libc-2.19.so  ???
0x7f8c9f069000 - 0x7f8c9f27efff  libgcc_s.so.1  ???
0x7f8c9f27f000 - 0x7f8c9f584fff  libm-2.19.so  ???
0x7f8c9f585000 - 0x7f8c9f873fff  libstdc++.so.6.0.19  ???
0x7f8c9f889000 - 0x7f8c9faa2fff  libpthread-2.19.so  ???
0x7f8c9faa7000 - 0x7f8c9fcaefff  librt-2.19.so  ???
0x7f8c9fcaf000 - 0x7f8c9feb2fff  libdl-2.19.so  ???
0x7f8c9feb3000 - 0x7f8ca00eefff  libfontconfig.so.1.8.0  ???
0x7f8ca00ef000 - 0x7f8ca0391fff  libfreetype.so.6.11.1  ???
0x7f8ca0392000 - 0x7f8ca03b4fff  ld-2.19.so  ???
0x7f8ca05ae000 - 0x7f8ca05b1fff  d589a48862398ed80a3d6066f4f56f4c-le64.cache-4  ???
0x7ffea71e5000 - 0x7ffea71e6fff  linux-gate.so  ???

Please test PhantomJS 2.0.  2.0 contains a newer Webkit which may well have fixed this bug.
If you can reproduce this problem with 2.0, please test a nightly build of Webkit and, if you still observe a crash, report the problem directly to them: https://www.webkit.org/quality/reporting.html We do not have the manpower to fix bugs in Webkit ourselves.

Thanks for the update, even though, I labeled it as 1.9.. It was crashing on both 1.9 and 2.0. Anyway, I understand that this is caused by third party software. I will do as you have suggested.


preflight: support IBM repositories installation

This makes the preflight playbook support IBM repositories.

This looks good to me, I like the usage of _ceph_repo. I think we just need to verify the correct values for the new ceph_ibm_* variables now.


add docker image and nginx config

@KonradUdoHannes Thanks for the review! Cannot hurt to speed up build times, so I added the omit flag 🫣.


is-type-pattern6.cs - Use correct variable in null check

Summary
The wrong variable o was used in a null-check. Should be e.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Add Kednar's bumper to Kednar's Variant

I exported new bumper.fbx from @kednar 's table fbx file, and then imported it into unity. Set the correct asset labels for the variant-kednar folder(I had to add a new one), but for some reason I don't understand the bumpers won't show up and, if you check them they say the mesh is missing.
here's a branch with the changes
https://github.com/fragmental/pongball/tree/AddKednarBumperToVariants
and here's a video in case my text didn't explain well enough
https://youtu.be/2xXOv5rml-s
I apologize that the volume seems kind of loud, and the sound cuts out.

Did I miss a step, or something, @lightsoda ?

The only potential mismatch I can see, are the materials. I can't for sure say if that's what's causing issues though, but variants are very picky about everything being named and linked correctly. I would probably look into using prefabs, instead of meshes.

I tried taking the bumper from one of the other variants and putting it in the kednar variant folder, and it still had the same issue where it said the mesh was missing.  This makes me think that I must have failed in the creation of the new variant, somehow.


Added heartbeat stat

Coverage increased (+0.02%) to 97.359% when pulling 260ecc07f55ddea0f21243b1f6bccf7318c706d4 on heartbeat into b36f62b64a5159c18dacec6aa4b9c7fc705720d7 on master.


Type annotation fixes

Attempts to fix an issue with #873 where type annotations were incorrect and raising warnings in pycharm.

cc: @RONNCC


Remove duplicate unmount function

Minor: unmountText is exactly the same as unmountVoid.

@trueadm thanks for having a look at it 👍  PR is rebased and squashed

Sorry, mind rebuilding to fix the conflict? Thanks mate. Great work BTW

done 👍


How to turn wt-tracker into service and always run like Nginx

When I run ./bin/wt-tracker config.json the Terminal showing
listening <IP_ADDRESS>:443
listening <IP_ADDRESS>:80
and wt-tracker works perfectly but when I close the Terminal window it will stop wt-tracker.
Thanks!

hi, i use screen.
apt install screen
screen ./bin/wt-tracker
then press Ctrl+a+d
and the team is already working on the screen

Thanks! :D
On Wed, Mar 11, 2020 at 7:25 PM Alexdrr<EMAIL_ADDRESS>wrote:

hi, i use screen.
apt install screen
screen ./bin/wt-tracker
then press Ctrl+a+d
and the team is already working on the screen
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Novage/wt-tracker/issues/22#issuecomment-597603072,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKILKOWYUL2FACRMSV5DRDLRG57KRANCNFSM4LFUPIRQ
.

Thanks!
It worked for me.
But it is not a long term solution, I think.

Yes, this is a temporary solution that has been working on my server for more than a month. I couldn’t get to work as a system service.

Running a program as a service is very common task that differs depending on OS.
If your system supports system.d than you can just create a .service file like:
/etc/systemd/system/tracker.service
[Unit]
Description=WebTorrent Tracker

[Service]
Type=simple
Restart=always
RestartSec=1
User=root
WorkingDirectory=/opt/wt-tracker
ExecStart=/opt/wt-tracker/bin/wt-tracker

[Install]
WantedBy=multi-user.target

Running a program as a service is very common task that differs depending on OS.
If your system supports system.d than you can just create a .service file like:
/etc/systemd/system/tracker.service
[Unit]
Description=WebTorrent Tracker

[Service]
Type=simple
Restart=always
RestartSec=1
User=root
WorkingDirectory=/opt/wt-tracker
ExecStart=/opt/wt-tracker/bin/wt-tracker

[Install]
WantedBy=multi-user.target

You are my savior. Thank you!

Running a program as a service is very common task that differs depending on OS.
If your system supports system.d than you can just create a .service file like:
/etc/systemd/system/tracker.service
[Unit]
Description=WebTorrent Tracker

[Service]
Type=simple
Restart=always
RestartSec=1
User=root
WorkingDirectory=/opt/wt-tracker
ExecStart=/opt/wt-tracker/bin/wt-tracker

[Install]
WantedBy=multi-user.target

You are my savior. Thank you!

as there r "WorkingDirectory=", the "ExecStart=" should not contain that local twice.

i trying to install on ubuntu 18 but getting error
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/usr/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'uNetworking/uWebSockets.js'
1 verbose cli ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose npm-session dbb6f421ca22774d
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData error for github:uNetworking/uWebSockets.js premature close
8 timing stage:rollbackFailedOptional Completed in 3ms
9 timing stage:runTopLevelLifecycles Completed in 27405ms
10 verbose stack Error: premature close
10 verbose stack     at PassThrough.onclose (/usr/local/lib/node_modules/npm/node_modules/end-of-stream/index.js:47:67)
10 verbose stack     at PassThrough.emit (events.js:322:22)
10 verbose stack     at emitCloseNT (internal/streams/destroy.js:69:8)
10 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:83:21)
11 verbose cwd /root
12 verbose Linux 4.4.0-177-generic
13 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "install" "-g" "uNetworking/uWebSockets.js"
14 verbose node v12.16.3
15 verbose npm  v6.14.4
16 error premature close
17 verbose exit [ 1, true ]


addressed previous QA issues brought up by Alex

Description of proposed changes

Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[ ] The positive scenario is exercised
[ ] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

Codecov Report

Merging #1202 (a683491) into dev (4dc2655) will decrease coverage by 62.68%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev   #1202       +/-   ##
==========================================
- Coverage   69.52%   6.85%   -62.68%
==========================================
  Files         100      25       -75
  Lines       11765     744    -11021
  Branches       87      87
==========================================
- Hits         8180      51     -8129
+ Misses       3585     693     -2892

see 75 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


"Always on top" function for every software.

Description of the new feature/improvement
The "Always on top" function would help the developers to solve problems faster.
"Always on top" is a function that allows the user to keep the window always on top.

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #3038 for more discussion.
/dup #3038


Bower don't worked with windows 10

I started a new project but bower dont work in my project
change for git bash and nothing is change
same alert:
'bower'  is not a recognized command

https://github.com/bower/bower/wiki/Troubleshooting#bower-install-issues

This computer use a node old version
reason for nothing work
But thanks for your help


[deploy] Deployment to maven central randomly threw MavenCentralAPIException 401 Unauthorized, which killed the task

Actual Behaviour
I don't know what caused it because it seems like a fluke of https://central.sonatype.com/api/v1/publisher, but IMHO it should be handled anyway. But as you can see, the credentials are not incorrect, otherwise the upload.bundle step would not pass and neither would the first 4 checks of publish.deployment
[INFO]  Deploying Maven artifacts
[INFO]    [maven] Deploying all staged artifacts
[INFO]      [mavenCentral] Deploying to sonatype
[INFO]      [mavenCentral] Verifying prerequisites
[INFO]      [mavenCentral] Verifying POMs
[INFO]      [mavenCentral] Signing key FDC1B69A9BFA044 expires at 2034-11-10T15:41:28
[INFO]      [mavenCentral] Checking if key FDC1B69A9BFA044 has been published
[WARN]      [mavenCentral] Key FDC1B69A9BFA044 was NOT found as published
[INFO]      [sign] build/staging-deploy/org/framefork/typed-ids-hibernate-63/0.3.2/typed-ids-hibernate-63-0.3.2.module
[INFO]      [sign] build/staging-deploy/org/framefork/typed-ids-hibernate-63/0.3.2/typed-ids-hibernate-63-0.3.2.jar
[INFO]      [sign] build/staging-deploy/org/framefork/typed-ids/0.3.2/typed-ids-0.3.2.pom
[INFO]      [sign] build/staging-deploy/org/framefork/typed-ids/0.3.2/typed-ids-0.3.2.module
[INFO]      [sign] build/staging-deploy/org/framefork/typed-ids-hibernate-63/0.3.2/typed-ids-hibernate-63-0.3.2.pom
[INFO]      [sign] build/staging-deploy/org/framefork/typed-ids-hibernate-63/0.3.2/typed-ids-hibernate-63-0.3.2-sources.jar
[INFO]      [sign] build/staging-deploy/org/framefork/typed-ids/0.3.2/typed-ids-0.3.2.jar
[INFO]      [sign] build/staging-deploy/org/framefork/typed-ids-hibernate-63/0.3.2/typed-ids-hibernate-63-0.3.2-javadoc.jar
[INFO]      [sign] build/staging-deploy/org/framefork/typed-ids/0.3.2/typed-ids-0.3.2-sources.jar
[INFO]      [sign] build/staging-deploy/org/framefork/typed-ids/0.3.2/typed-ids-0.3.2-javadoc.jar
[INFO]      [mavenCentral]  - org.framefork-typed-ids-0.3.2-bundle.zip
[INFO]      [mavenCentral] maven.central.upload.bundle
[INFO]      [mavenCentral] Attempt 1 of 101
[INFO]      [mavenCentral] maven.central.publish.deployment
[INFO]      [mavenCentral] Attempt 1 of 101
[INFO]      [mavenCentral] Attempt 2 of 101
[INFO]      [mavenCentral] Attempt 3 of 101
[INFO]      [mavenCentral] Attempt 4 of 101
[INFO]      [mavenCentral] Attempt 5 of 101
[INFO]  Writing output properties to build/jreleaser/output.properties
Error:  JReleaser failed after 03:47 m

Caused by: org.jreleaser.sdk.mavencentral.MavenCentralException: Unexpected error
	at org.jreleaser.sdk.mavencentral.MavenCentral.wrap(MavenCentral.java:166)
	at org.jreleaser.sdk.mavencentral.MavenCentral.status(MavenCentral.java:120)
	at org.jreleaser.sdk.mavencentral.MavenCentral.lambda$waitForState$4(MavenCentral.java:174)
	at dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243)
	at dev.failsafe.Functions.lambda$get$0(Functions.java:46)
	at dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74)
	at dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187)
	... 137 more
Caused by: org.jreleaser.sdk.mavencentral.api.MavenCentralAPIException: 401: Unauthorized
	at org.jreleaser.sdk.mavencentral.MavenCentral$MavenCentralErrorDecoder.decode(MavenCentral.java:272)
	at feign.InvocationContext.decodeError(InvocationContext.java:133)
	at feign.InvocationContext.proceed(InvocationContext.java:80)
	at feign.RedirectionInterceptor.intercept(RedirectionInterceptor.java:46)
	at feign.ResponseInterceptor.lambda$apply$2(ResponseInterceptor.java:68)
	at feign.ResponseHandler.handleResponse(ResponseHandler.java:69)
	at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:109)
	at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:53)
	at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:104)
	at jdk.proxy5/jdk.proxy5.$Proxy147.status(Unknown Source)
	at org.jreleaser.sdk.mavencentral.MavenCentral.lambda$status$0(MavenCentral.java:123)
	at org.jreleaser.sdk.mavencentral.MavenCentral.wrap(MavenCentral.java:158)
	... 143 more

Full stacktrace at https://github.com/framefork/typed-ids/actions/runs/11802112348/job/32877025386
Expected Behaviour
I think that the jreleaser should remember that the token worked, and in case that the API returns 401 or 403 after it has seen the token work at least once, it should instead just retry.
Also, when I look at the deployments on https://central.sonatype.com/publishing/deployments, its showing a deployment status. I think it would be nice if the [mavenCentral] Attempt X of Y would also print the status, e.g.
...
[INFO]      [mavenCentral] Attempt 3 of 101 (PUBLISHING)
[INFO]      [mavenCentral] Attempt 4 of 101 (PUBLISHING)
[INFO]      [mavenCentral] Attempt 5 of 101 (Status checking failed with '401: Unauthorized', retrying anyway)
[INFO]      [mavenCentral] Attempt 6 of 101 (PUBLISHING)
...

Environment Information

Operating System: Ubuntu  22.04.5
JReleaser Version: 1.15.0
JDK Version: Java_Temurin-Hotspot_jdk/21.0.5-11/x64

I wonder if the 401 was returned due to the signing key not being found at a public server. See the warning logged by JReleaser
[WARN]      [mavenCentral] Key FDC1B69A9BFA044 was NOT found as published

Despite this, JReleaser should be better at handling errors as suggested.

The signing key is not the reason for the failure, as

I'm certain it is published so not sure why maven central even complains
the other tries did not result in 401
a later attempt also reports that warning, but passes

Seems suspiciously easy to fix, so I've attempted it -> https://github.com/jreleaser/jreleaser/pull/1761

🎉 This issue has been resolved in v1.16.0 (Release Notes)


Workflow failing on the eciYali step

In the latest long runs of the automated pipeline (run1, run2, run3) it has been observed an error in the MATLAB command for the iYali case. All of these errors point out to the same line (429) in the corresponding manualModifications script, however this script is much shorter for this case, which makes conclude that the pipeline is not substituting the iYali-specific scripts into GECKO, therefore an error pops-up in MATLAB and our pipeline is crashing.
Any ideas on how to solve this? I also think that we've seen happening before but don't remember so well.

@mihai-sysbio

It seems that the Matlab code moving the files has no effect. I suspect what it has to do with the git command being slow, so the Matlab command is invoked before the git clone step finished. If so, then this is fixed by changing how the commands are invoked.

It was a good idea to change check_call to check_output, but to solve the problem the base branch of the pipeline has to be different than the pull_request_target in config.ini. Things look promissing in line 5

INFO:main:Pipeline started on branch fix/issues-with-scripts-folder

Alright, this has been resolved.


Card field isn't closing

Describe the bug
Can't close cardfield. It doesn't respond to pressing the x button. Also it  doesn't respond to pressing "Add card" button. And even after reloading app it's still visible
Screenshot after reloading:

To Reproduce
Steps to reproduce the behavior:

Follow this docs: https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=payment-sheet-custom#integrate-payment-sheet

Expected behavior
I want to be able to close this modal. But I don't have access to its functionality

Please provide details about your RN, Expo (if applicable), and stripe versions. E.g. providing the content of your package.json file is helpful. Thanks.

@Pavel-Ananich snippet of your code also would be helpful

Please provide details about your RN, Expo (if applicable), and stripe versions. E.g. providing the content of your package.json file is helpful. Thanks.

"react": "16.13.1",
"react-native": "0.63.3",
"@stripe/stripe-react-native": "^0.2.0",
the whole file:
{
"name": "HebePilates",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"@eva-design/eva": "^2.0.0",
"@expo/vector-icons": "^10.2.1",
"@react-native-async-storage/async-storage": "^1.14.1",
"@react-native-community/hooks": "^2.6.0",
"@react-native-community/slider": "^3.0.3",
"@react-native-firebase/app": "^11.4.1",
"@react-native-firebase/auth": "^11.4.1",
"@react-native-firebase/crashlytics": "^11.4.1",
"@react-native-picker/picker": "^1.8.3",
"@react-navigation/bottom-tabs": "^5.11.1",
"@react-navigation/material-bottom-tabs": "^5.3.15",
"@react-navigation/material-top-tabs": "^5.3.11",
"@react-navigation/native": "^5.8.9",
"@react-navigation/stack": "^5.12.6",
"@stripe/stripe-react-native": "^0.2.0",
"@ui-kitten/components": "^5.0.0",
"@ui-kitten/eva-icons": "^5.0.0",
"expo-constants": "^9.3.5",
"expo-file-system": "^11.0.2",
"expo-font": "^8.3.0",
"expo-in-app-purchases": "^10.1.0",
"expo-keep-awake": "^8.4.0",
"expo-linking": "^1.0.4",
"expo-location": "^12.0.4",
"expo-notifications": "^0.7.2",
"expo-screen-orientation": "^2.1.0",
"i": "^0.3.6",
"moment": "^2.29.1",
"npm": "^7.12.1",
"opentok-react-native": "^0.15.0",
"react": "16.13.1",
"react-native": "0.63.3",
"react-native-android-location-enabler": "^1.2.2",
"react-native-appsflyer": "^6.2.60",
"react-native-camera": "^3.43.1",
"react-native-collapsible": "^1.5.3",
"react-native-device-info": "^8.0.0",
"react-native-elements": "^3.0.0-alpha.1",
"react-native-gesture-handler": "^1.8.0",
"react-native-keyboard-aware-scroll-view": "^0.9.3",
"react-native-maps": "0.27.1",
"react-native-open-maps": "^0.3.6",
"react-native-paper": "^4.8.1",
"react-native-password-strength-meter": "^0.0.5",
"react-native-permissions": "^2.2.2",
"react-native-picker-select": "^8.0.4",
"react-native-qrcode-scanner": "^1.5.3",
"react-native-reanimated": "^1.13.2",
"react-native-rename": "^2.7.0",
"react-native-responsive-screen": "^1.4.2",
"react-native-safe-area-context": "^3.1.8",
"react-native-screens": "^2.12.0",
"react-native-slider": "^0.11.0",
"react-native-snackbar": "^2.4.0",
"react-native-splash-screen": "^3.2.0",
"react-native-star-rating": "^1.1.0",
"react-native-status-bar-height": "^2.6.0",
"react-native-svg": "^9.13.6",
"react-native-swift": "^1.2.3",
"react-native-tab-view": "^2.15.2",
"react-native-tracking-transparency": "^0.1.1",
"react-native-unimodules": "^0.11.0",
"react-native-vector-icons": "^7.1.0",
"react-native-video": "^5.1.1",
"react-native-webview": "^11.6.4"
},
"devDependencies": {
"@babel/core": "7.12.3",
"@babel/runtime": "7.12.1",
"@react-native-community/eslint-config": "1.1.0",
"babel-jest": "25.5.1",
"eslint": "6.8.0",
"jest": "25.5.4",
"metro-react-native-babel-preset": "0.59.0",
"react-test-renderer": "16.13.1"
},
"jest": {
"preset": "react-native"
}
}

@Pavel-Ananich snippet of your code also would be helpful

As I understood, it was ejected from expo

what you mean? this library is available using expo and without, if your project uses Expo please follow instruction how to install it properly https://github.com/stripe/stripe-react-native#expo

I fixed problem, you can remove this issue


URLEnabled & hashtagEnabled properties not available in CocoaPod 0.4.1

Hey just ran my app with the latest Cocoapod (0.4.1) and it crashed cause the URLEnabled and hashtagEnabled properties are missing.
Here's an image of the log:
(https://cloud.githubusercontent.com/assets/4806770/13538667/c7e140e2-e200-11e5-8ec8-9537483de568.png)

These properties are no longer existing. See https://github.com/optonaut/ActiveLabel.swift/pull/51


Added some support for HTTP/2.0

Added some (for now does not works due to a bug in third-party library) support for HTTP/2.0

Hi @KOLANICH, You have created pull reqeust only to semi-official mirror of pywikibot. If You want to merge your change, see: Developing pywikibot on https://www.mediawiki.org/wiki/Manual:Pywikibot

Closed per @magul's comment


[HUDI-3478] Support CDC for Spark in Hudi

Change Logs
This PR is going to support CDC on Spark.
The changes are listed:

add a new field named cdcPath in HoodieWriteStat to hold the cdc file.
upgrade HooideMergeHandle and its sub-classes to persist the cdc data to the cdc log file if needed.
extract some cdc common classes in hudi-common that will be used to implement CDCReader for different engines;
CDCReader to response the CDC query on spark.

Impact
Low

nice work!

@prasannarajaperumal @xushiyan
This pr has been updated according to the updated RFC: https://github.com/apache/hudi/pull/6256
please help to review this.

@xushiyan have updated this, and solved the comments above. pls review again.

@prasannarajaperumal Thank you for reviewing this pr.
maybe I prefer to one single pr. i think these changes are easy to judgement which related to write or read. and one pr is better to run the whole process tests.

I am not too convinced about moving the log writer code into HoodieMergeHandle, I am still thinking what an alternative here would be.

One key reason that put the log writer code in HoodieMergeHandler is that: persisting CDC data need to get the old value and the current value, these values can be get directly in HoodieMergeHandler without any other overhead.

@xushiyan @prasannarajaperumal update pr to solve the comments above. please continue to review, thanks.

@hudi-bot run azure

Split into read and write PRs


eslint-publish-html with proposal decorators yields exception.

I have some issues with eslint-publish-html combined with esdoc-ecmascript-proposal-plugin and decorators feature.
When I combine those two i get this in the terminal:
Error: DocBuilder: can not resolve file name.
    at ClassDocBuilder._getOutputFileName (/SomePath/esdoc-publish-html-plugin/out/src/Builder/DocBuilder.js:613:15)
    at ClassDocBuilder._getURL (/SomePath/esdoc-publish-html-plugin/out/src/Builder/DocBuilder.js:573:29)
    at ClassDocBuilder._buildDocLinkHTML (/SomePath/esdoc-publish-html-plugin/out/src/Builder/DocBuilder.js:784:24)
    at ClassDocBuilder._buildTypeDocLinkHTML (/SomePath/esdoc-publish-html-plugin/out/src/Builder/DocBuilder.js:748:23)
    at ClassDocBuilder._buildSignatureHTML (/SomePath/esdoc-publish-html-plugin/out/src/Builder/DocBuilder.js:835:27)
    at ice.loop (/SomePath/esdoc-publish-html-plugin/out/src/Builder/DocBuilder.js:335:34)
    at IceCap.loop (/SomePath/ice-cap/out/src/IceCap.js:261:9)
    at ClassDocBuilder._buildSummaryDoc (/SomePath/esdoc-publish-html-plugin/out/src/Builder/DocBuilder.js:331:9)
    at ClassDocBuilder._buildSummaryHTML (/SomePath/esdoc-publish-html-plugin/out/src/Builder/DocBuilder.js:307:27)
    at ClassDocBuilder._buildClassDoc (/SomePath/esdoc-publish-html-plugin/out/src/Builder/ClassDocBuilder.js:115:36)

DocBuilder#_getOutputFileName laks of handling case where doc.kind == "index".
Any ideas why those two won't click?

I tracked the problem. It's not related to esdoc-ecmascript-proposal-plugin tho. "decorators": false option blocked a file from being parsed and after turning it on, eslint-publish-html parsed types and tried to find a file based some kind of assumption.
When you have a old codebase and somebody annotated some unknown type in @param comment like this:
@param {???} param

eslint-publish-html have a case that tries to resolve an optional type ?number and tried to find a file or generate an url using filename "?" which somehow ended up being resolved to file of kind: index.
Can't reproduce it now on a smaller codebase 😢


macOS documentation missing, for development server (and Windows is impossible?)

Apparently, I develop on MacOS, and I can successfully run Isso, albeit outside virtualenv.
I have read though, that you cannot install Isso on Windows

Install pyenv
Install Python 3.8.0 (latest stable Python at the time)
Tried to install virtualenv via PIP... and tried to create /opt/isso -- I need to sudo; I don't want to sudo, so I just install to global PIP
Create isso.cfg

[general]
; database location, check permissions, automatically created if not exists
dbpath = comments.db
; your website or blog (not the location of Isso!)
; you can add multiple hosts for local development
; or SSL connections. There is no wildcard to allow
; any domain.
host =
  http://health-it.polvcode.dev/
  http://localhost:3000/

[server]
listen = http://localhost:1234/

Run with isso -c isso.cfg run

What is the problem this ticket is reporting? Do we mention somewhere in the docs that Mac OS is not supported?

closing due to inactivity; feel free to reopen when you follow up.


Escape user input to generated js

Single quotes are not escaped by json_encode() but do need to be when used in Javascript.

ping @codeliner

thx @JorisVanEijden


failed install of clouddrift on HPC triton at UM

Installing the developper version of clouddrift fails even after loading a module to have a recent version of cmake. Error is below. Note it says clouddrift built successfully but it is not available in my environment
``
...
copying pyarrow/tests/data/parquet/v0.7.1.some-named-index.parquet -> build/lib.linux-ppc64le-cpython-310/pyarrow/tests/data/parquet
running build_ext
creating /tmp/pip-install-dc72ev4z/pyarrow_d29963b5e592436b82282ff9a8c4a3d3/build/cpp
-- Running CMake for PyArrow C++
cmake -DARROW_BUILD_DIR=build -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-dc72ev4z/pyarrow_d29963b5e592436b82282ff9a8c4a3d3/build/dist -DPYTHON_EXECUTABLE=/home/selipot/miniconda3/envs/research/bin/python3.10 -DPython3_EXECUTABLE=/home/selipot/miniconda3/envs/research/bin/python3.10 -DPYARROW_CXXFLAGS= -DPYARROW_WITH_DATASET=off -DPYARROW_WITH_PARQUET_ENCRYPTION=off -DPYARROW_WITH_HDFS=off -DPYARROW_WITH_FLIGHT=off /tmp/pip-install-dc72ev4z/pyarrow_d29963b5e592436b82282ff9a8c4a3d3/pyarrow/src
-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 8.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/rh/devtoolset-8/root/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/rh/devtoolset-8/root/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:63 (find_package):
By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Arrow", but
CMake did not find one.
    Could not find a package configuration file provided by "Arrow" with any of
    the following names:

      ArrowConfig.cmake
      arrow-config.cmake

    Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH or set
    "Arrow_DIR" to a directory containing one of the above files.  If "Arrow"
    provides a separate development package or SDK, be sure it has been
    installed.

  -- Configuring incomplete, errors occurred!
  See also "/tmp/pip-install-dc72ev4z/pyarrow_d29963b5e592436b82282ff9a8c4a3d3/build/cpp/CMakeFiles/CMakeOutput.log".
  error: command '/share/builds/ppcle/spack/opt/spack/linux-rhel7-power9le/gcc-8.3.1/cmake-3.20.2-ghhqkkvhbflxpgxyzumbfrip46j4ga3f/bin/cmake' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow
Successfully built clouddrift
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects
``

Here's what I found works for me. This is with conda 22.11.1:
conda create -n clouddrift
conda install netCDF4 pyarrow
pip install clouddrift

In summary, first install netCDF4 and pyarrow dependencies using conda, then install clouddrift using pip.
As I understand it, the extra step is needed because netCDF4 and pyarrow don't have pre-built distributions for ppc64 in PyPI, but they do in the conda repo. The rest is installable via pip.


Remove accordion anchor focus border

The orginal bootstrap accordion has no anchor focus border:
http://getbootstrap.com/javascript/#collapse-example-accordion
The ng2-bootstrap accordion has an ugly anchor focus border:
http://valor-software.com/ng2-bootstrap/#/accordion

@xmlking already complained about this in https://github.com/valor-software/ng2-bootstrap/issues/457
The first point is that the anchor has no role="button" in ng2-boostrap, the orginal bootstrap accordion has this role. The button role triggers this original bootstrap JS code:
// BUTTON DATA-API
// ===============

$(document)
  .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
    var $btn = $(e.target).closest('.btn')
    Plugin.call($btn, 'toggle')
    if (!($(e.target).is('input[type="radio"], input[type="checkbox"]'))) {
      // Prevent double click on radios, and the double selections (so cancellation) on checkboxes
      e.preventDefault()
      // The target component still receive the focus
      if ($btn.is('input,button')) $btn.trigger('focus')
      else $btn.find('input:visible,button:visible').first().trigger('focus')
    }
  })
  .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
    $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
  })

We should add role="button" and set the anchor focus in toggleOpen() in accordion-group.component.ts so that the bootstrap CSS for the a href focus style matches.

Awesome description! Need to implement it

I'm also experiencing this problem in angular 2 and setting style classes in a component css file seems not working.

BTW fixed starting v1.1.16-9


Add Medium Theme

This PR essentially guts the entire old theme and uses a medium-inspired one.
It might be best to just checkout to this branch, run jekyll serve and poke around.

Thanks! 🎉


Adding gitSha as a step kwarg and env var

To be able to find the pull request for intermittent issues, we need to add the gitSha into the build steps so the PR can be queried from github. More information here: https://github.com/servo/saltfs/issues/597. In support of: https://github.com/servo/servo/wiki/Tracking-intermittent-failures-over-time-project

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @aneeshusa (or someone else) soon.


Removed Miscellaneous Item Bar Button Items & Project Cleanup

"Customizable" bar button items provided no purpose, were confusing, and caused the app to crash.

I


Rework JS class constructor generation

Instead of post-transforming the trees generated by GenJSExport, we
re-factor the right parts and generated the proper trees right away.
This was neccessary to give the generated trees the right
type (partial #4442).

I have re-based #4439 on this to see if it actually fixes the issue :P

The previous scheme had a fast-path to produce good code when there is no secondary constructor:
https://github.com/scala-js/scala-js/blob/f4027d8b2c98bd557033ab4ee118f99e5033ac7c/compiler/src/main/scala/org/scalajs/nscplugin/GenJSCode.scala#L1677-L1687
How does the new scheme fare in that situation? Should we re-add a specific fast path?

For a simple class:
class A(x: Int) extends js.Object {
  def z = 2 * x
}

We'll get:
 js class helloworld.A extends scala.scalajs.js.Object {
   val x: int
   def "constructor"(arg: any): any = {
-    val prep0: int = arg.asInstanceOf[int];
-    val x: int = prep0;
+    var x: int = 0;
+    val overload: int = {
+      x = arg.asInstanceOf[int];
+      0
+    };
     super();
     this.helloworld.A::x = x;
     (void 0)
   }
   get "z"(): any = {
     helloworld.A::z;Lhelloworld.A;I(this)
   }
   static def z;Lhelloworld.A;I(this{this}: any): int = {
     (2 *[int] this.helloworld.A::x.asInstanceOf[int])
   }
 }

I believe I should have addressed everything.

For a simple class:
[...]
We'll get:
[...]

It is a bit worse, especially the fact that the values are not vals anymore. That said, given that the optimizer doesn't run on JS methods currently, it probably won't make much real difference. Also it seems difficult to reintroduce the fast path in the new implementation, so oh well...

I believe I have addressed all the comments now.


redirectURIHost should be settable in the kpt package

redirectURIHost should be settable in the kpt package

Both redirectURIHost and redirectURIPath have been added to kpt package.


Azure App Registration Changes

Hello, I tried to set up the solution according to the installation guide, but Azure App Registration is changed completely and Reply URLs and Dynamics CRM API are not available now. So what should be the suggested installation process in Azure now? Thank you.

This has been on my list for a while now (updating the install docs). I'll try to get updated documentation published by the end of the week.
In the meantime, you can get the reply URL when you create the customer connector in Power Automate (Flow). The API permissions for the AD app registration may show up as either CDS or Dynamics 365 now (don't remember without checking). If you find one that has "user_impersonation" that should be the correct one.
Get Outlook for Androidhttps://aka.ms/ghei36

From: janhla<EMAIL_ADDRESS>Sent: Wednesday, December 4, 2019 7:35:49 AM
To: bguidinger/Xrm.ReportScheduler<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [bguidinger/Xrm.ReportScheduler] Azure App Registration Changes (#36)
Hello, I tried to setup the solution according to the instalation guide, but Azure App Registration is changed completely and Reply URLs and Dynamics CRM API are not available now. So what should be the suggested installation process in Azure now?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/bguidinger/Xrm.ReportScheduler/issues/36?email_source=notifications&email_token=AAE7QNETVSO5JD2672MOPN3QW6W3LA5CNFSM4JVIXIZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H6AGESQ, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAE7QNFLP7YHDASBGXLZRXTQW6W3LANCNFSM4JVIXIZA.

Nice, it would be really great. Now I'm stuck trying to connect Flow Connector with Azure App.

I have updated the documentation.


input_calibration

I want to quantize custom yolov3.
Could you introduce how to get input_calibration?

Run command:
./darknet detector calibrate data/obj.data yolo-obj.cfg yolo-obj_2700.weights -input_calibration 100
will be created file input_calibration.txt
in the obj.data file should be parameter valid = data/train.txt where is file train.txt contains list of 100 images.

Thank you for your information.
I will try that.
By the way, can we run 8bit quantized yolov3 on Tensor Core?

@daniel89710
I think yes. Update your code from GitHub, I just added these lines: https://github.com/AlexeyAB/yolo2_light/blob/d93979f51e3e54a223fc4e1a1d6a0b1947aa263a/src/additionally.c#L1684-L1686
On Volta/Turing architectures, for example on RTX 2080Ti, INT8 (215 Tflosp) is 2x-4x times faster than Tensor-Cores(FP16/FP16 107 Tflops - FP16/FP32 26 Tflops), so I think INT8 is processed on Tensor Cores too.

That's awesome!
Thank you very much.
I'll try.

It seems that INT8 on Tensor Cores is supported only for CC 7.2: Jetson Xavier, DRIVE PX Xavier/Pegasus
with Xavier SoC.
And it isn't supported for Tesla V100 (CC 7.0) and GeForce RTX 2080 Ti - 2070 (CC 7.5).
https://docs.nvidia.com/deeplearning/sdk/cudnn-developer-guide/index.html#tensor-ops-speedup-tips

Note: Note that this CUDNN_DATA_INT8x32 is only supported by sm_72.

About it: https://github.com/AlexeyAB/yolo2_light/issues/18#issuecomment-431380610

Sir, I have used yolo v3 for detection of faces in image. I have four classes . For my test mAP I got 98.41. I test for 56 images and got 48 images detected correctly with their respective class. The problem is how to make confusion matrix from it. Please help me

Run command:
./darknet detector calibrate data/obj.data yolo-obj.cfg yolo-obj_2700.weights -input_calibration 100
will be created file input_calibration.txt
in the obj.data file should be parameter valid = data/train.txt where is file train.txt contains list of 100 images.

But it shows "there isn't such command"
Could you tell me what's problem ?


Missing dependency on httpretty

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
The pypi package from which the conda package is built depends on httpready (see https://github.com/andycasey/ads/blob/master/requirements.txt, which is loaded by setup,py). The conda package, however, doesn't (e.g. check out https://github.com/conda-forge/ads-feedstock/blob/63d7a8f966abd4ed7a382eac792950f802cdb00d/recipe/meta.yaml#L26).
This means that when a package that depends on ads is installed from conda-forge, it doesn't bring in httpready. When that package subsequently runs pip check, pip check returns an error because of the missing dependency.
Proposed solution(s):

simple: add httpready to run requirements in meta.yaml
better: as httpready only seems to be used for tests, rework upstream setup.py to install it only in .[test] installs

Installed packages
-

Environment info
-

Could I persuade you to file an issue/PR upstream to alert Andy? It looks like he's keeping the package fairly well-maintained so hopefully we can get a new release with your "better" solution promptly.

I think this has been fixed from my end. I'll leave it for @mjuric to close both issues if it is truly resolved.

I'm confirming this works, thanks!


Add explosive cord.

About the PR

Adds explosive cord. "cables" that look sorta like MV wire, but explode!
Why / Balance

Adds explosive cable and detonators as a researchable tech and makes it available to security for controlled demolition / breaches. Also makes it available in the emaged autolathe. They are intended to be a NT brand explosive and have some practical purposes for the station crew.
The detonators can be constructed similar to a modular grenade by adding a modular trigger and then a length of explosive cable. The detonators can then be stickied to a placed explosive cable to set them off safely from a distance.
This PR also adds a box which contains some detonators and triggers.
In getting them to work the way I want, I also made it possible to interact with TimerTriggers via the e-key (Interact) while in world / on the ground.
I also made it possible to interact with c4 or other stickied explosives after they are stuck. gonna wait on this in another PR since the interaction update.
(ignore old sprite, explosion is the same size)

Technical details

I added some fields to cable placer system to let it work with entities that aren't power specific.
Made it possible to interact with OnUseTimerTriggerComponent in world.
Made it possible to interact with stickied entities in world.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

add: Explosive cord and detonators have been added for precise demolition!
tweak: grenades and explosives with timers can now be interacted with in world via the interact key.

"Det" is a very questionable abbreviation for it, I thought you were talking about detectives at first...

Boom cord

I don't think they should reuse the MV cable sprite and position

If the cord is going to be used by the crew in controlled demolition, it should have a different identifier, such as a striped pattern or different thickness, to avoid any mistakes.

I don't think they should reuse the MV cable sprite and position

Its to make them blend in at least potentially. The det cord appears above tiles to make it non-trivial to hide them for long runs. Also the MV cables already has the center-tiles sprites so a new set would be weirdly off-center.
The other issue, is to make them look like cables I need the cableviz system, but that works based on node groups, so if I want a separate node group the det cord would need an empty system since I have no other use for one of those.
I could make the sprites striped though I guess.

i would just make em red

We are trying to shift away from using pure green and pure red where color is the only distinction, for accessibility reasons. If detcord is to intentionally look distinct then it should probably have a telltale texture, like stripes as it was suggested
(And generally we have been trying to shift to blue/blueish-green vs orange-red from green vs red)

if you want it to be able to blend in add a way to change the colour of the cable to look normal or make a traitor item that’s the same colour as normal cables
by default the explosive should be labelled

Test fails are unrelated AdvertisementSystem bulldozed PRs from earlier today.

This one's ready for a review I think

What would happen if you stacked a bunch of explosive cord in a satchel?  Questionable balance concerns here if that hasnt been tested

They stack like mats do in bags, and the stacks have pre-set explosion sizes. Maybe one day they'll scale dynamically with stack size, but this PR already touches too many thingies.

Closed due to feature freeze May 10th-June 14th. Comment to have it reopen after this.

This looks really good 👀

Increased the lathe price to 15 plastic, 10 plasma, 5 gold.

Increased the lathe price to 15 plastic, 10 plasma, 5 gold.

this seems extremely expensive for an already niche item, this way i don't think anyone would ever make it besides sci antags that bought lobbying bundles to get lots of materials
besides, i'm not sure what the usecase of this would be even if it were cheap, besides being something antags would use?

Increased the lathe price to 15 plastic, 10 plasma, 5 gold.

this seems extremely expensive for an already niche item, this way i don't think anyone would ever make it besides sci antags that bought lobbying bundles to get lots of materials besides, i'm not sure what the usecase of this would be even if it were cheap, besides being something antags would use?

I feel like this ignores how clearly useful and attainable this is for salvage since they can mine gold and plasma pretty easily and it makes scavenging and mining a breeze, it could make projects like largescale mining of the local asteroid a lot more accessible, and it's existence could act as an incentivization for salvage to mine.

I feel like this ignores how clearly useful and attainable this is for salvage since they can mine gold and plasma pretty easily and it makes scavenging and mining a breeze, it could make projects like largescale mining of the local asteroid a lot more accessible, and it's existence could act as an incentivization for salvage to mine.

consider the radius of its explosion, are you going to spend 15 plastic, 10 plasma and 5 gold just to blow up an amount of rock you could destroy in approximately 5 seconds?

With #32822 the sprites don't overlay completely over the MV either.

How much explosive cord is produced each time you make it in the lathe? Cables are usually 1 piece (not stack) each time produced in a lathe, i assume theres a stack of it each time priduced or something considering the amount of mats needed to make it?

How much explosive cord is produced each time you make it in the lathe? Cables are usually 1 piece (not stack) each time produced in a lathe, i assume theres a stack of it each time priduced or something considering the amount of mats needed to make it?

Yeah sure Ill switch it to individuals, I like that better.


Uniswap between EVM and SOL

I faced a problem when develop unisway between EVM and SOL
In the past I used x*y = const formula
but I realized nowadays x^2 + y^2 = const formula is used
How to implement?

Now that we have the intuition of what is happening, we will try to formalize a bit how prices evolves with trades. We know that the trade preserves the invariant x * y = K so we can write x₀ y₀ = K = (x₀ + δₓ) (y₀- δᵧ)
Users can also deposit liquidity. This should not affect the current price of liquidity, and therefore should preserve the proportion of asset A and B.
Given the current reserve (x, y) and the reserves user wants to add (xᵤ, yᵤ), we want to find (xₚ, yₚ) such that xₚ ≤ xᵤ, yₚ ≤ yᵤ:

can you provide detailed code?

you can use https://github.com/Dodecahedr0x/amm-tutorial
This github source is common Uniswap

Thanks for your support


Update strings.xml

For new version.

Can you please update it on Crowdin? https://crowdin.com/project/xinstaller
If possible... if not, I will do it manually. Thanks.


Split docker builds into single parallel context

Split parallel builts into context of single build paths.
Should be downwards compatible and should work with empty path key
Change-type: minor
Signed-off-by: fisehara<EMAIL_ADDRESS>

@balena-ci I self-certify!


iOS build broken

What

[ ] iOS build broken

[ ] Core issue is related to a failing import

[ ] This might be related to changing deployment targets for mlkit: https://github.com/flutter/flutter/issues/54599

[ ] Remove deprecated use of 'isStatusBarHidden' (non blocking)

Part of

[ ] Devops

Build output
    ** BUILD FAILED **

Xcode's output:
↳
════════════════════════════════════════════════════════════════════════════════
Building a deployable iOS app requires a selected Development Team with a
Provisioning Profile. Please ensure that a Development Team is selected by:
  1- Open the Flutter project's Xcode target with
       open ios/Runner.xcworkspace
  2- Select the 'Runner' project in the navigator then the 'Runner' target
     in the project settings
  3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team.
     You may need to:
         - Log in with your Apple ID in Xcode first
         - Ensure you have a valid unique Bundle ID
         - Register your device with your Apple Developer Account
         - Let Xcode automatically provision a profile for your app
  4- Build or run your project again

For more information, please visit:
  https://flutter.dev/docs/get-started/install/macos#deploy-to-ios-devices

Or run on an iOS simulator without code signing
════════════════════════════════════════════════════════════════════════════════
Encountered error while building for device.
    /Users/runner/work/smooth-app/smooth-app/packages/smooth_app/ios/Runner/AppDelegate.swift:11:5: warning: setter for 'isStatusBarHidden' was deprecated in iOS 9.0: Use -[UIViewController prefersStatusBarHidden]
        UIApplication.shared.isStatusBarHidden = false
        ^
    /Users/runner/work/smooth-app/smooth-app/packages/smooth_app/ios/Runner/AppDelegate.swift:10:9: warning: initialization of variable 'flutter_native_splash' was never used; consider replacing with assignment to '_' or removing it
        var flutter_native_splash = 1
        ~~~~^~~~~~~~~~~~~~~~~~~~~
        _
    remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
    remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
    /Users/runner/work/smooth-app/smooth-app/packages/smooth_app/ios/Runner/AppDelegate.swift:11:5: warning: setter for 'isStatusBarHidden' was deprecated in iOS 9.0: Use -[UIViewController prefersStatusBarHidden]
        UIApplication.shared.isStatusBarHidden = false
        ^
    /Users/runner/work/smooth-app/smooth-app/packages/smooth_app/ios/Runner/AppDelegate.swift:10:9: warning: initialization of variable 'flutter_native_splash' was never used; consider replacing with assignment to '_' or removing it
        var flutter_native_splash = 1
        ~~~~^~~~~~~~~~~~~~~~~~~~~
        _
    /Users/runner/work/smooth-app/smooth-app/packages/smooth_app/ios/Runner/GeneratedPluginRegistrant.m:12:9: fatal error: module 'camera' not found
    @import camera;
     ~~~~~~~^~~~~~
    1 error generated.

https://github.com/openfoodfacts/smooth-app/commit/017a57749330637530f0ae7a7b71a64eb5e1538b

For what it's worth, I had troubles lately (last week) with flutter run, probably because of mlkit.
I upgraded flutter, I upgraded pubspec.yaml (except for splash-screens), and finally managed to compile and run flutter from mac on an iphone emulator.

@monsieurtanuki, did it maybe look something like this:
Xcode's output:
↳
  ../../../../.pub-cache/hosted/pub.dartlang.org/fwfh_text_style-2.5.0+1/lib/fwfh_text_style.dart:15:13: Error: The method 'FwfhTextStyle.apply' has fewer named arguments than those of overridden method 'TextStyle.apply'.
   TextStyle apply({
        ^
  ../../../flutter/packages/flutter/lib/src/painting/text_style.dart:890:13: Context: This is the overridden method ('apply').
   TextStyle apply({
        ^
  ../../../../.pub-cache/hosted/pub.dartlang.org/fwfh_text_style-2.5.0+1/lib/fwfh_text_style.dart:15:13: Error: The method 'FwfhTextStyle.apply' doesn't have the named parameter 'package' of overridden method 'TextStyle.apply'.
   TextStyle apply({
        ^

@M123-dev exactly!

@M123-dev exactly!

Yes I see that thing very often, and even before starting with ML Kit (@justinmc encounterd the same).
flutter pub upgrade fixes this for me every time

That became the usual tap dancing around flutter: flutter pub get, flutter pub outdated, flutter pub upgrade. In smooth_app and in smooth_ui_library.
And here too: flutter upgrade.
For the record that's my current flutter doctor:
[✓] Flutter (Channel stable, 2.8.1, on Mac OS X 10.15.5 19F101 darwin-x64,
    locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[!] Xcode - develop for iOS and macOS (Xcode 12.4)
    ! Flutter recommends a minimum Xcode version of 13.0.0.
      Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Connected device (2 available)

I actually know nothing about Xcode or something like that, so I can't say anything about that @monsieurtanuki

@teolemon I saw you wanted to try to fix the build by increasing the min deploy target to 10 and this will probably fix it since we need it for ML Kit, I've updated it in the Podfile here but I don't know if thats enouph

I managed to fix it, it's now broken again, but for a new reason :-)
Closing this one


JoinRoom and LeaveRoom

I notice these methods on the SocketIOClient but I cannot find any documentation on how to use them and what there are to be used for. Can someone help me out with this? Is it for a chat room? What exactly are they for?

room is the server side feature.  Look at the following method, which i add two event listener to the server. once the client side emit signal, and these event catches them, the server will automatically establish a room and let that client in.

server side using netty-socketio

    /**
     * join: participate into a room that could have private chat
     * leave: exit from the room
     */
    private void addRoomEvents() {

        server.addEventListener("join", String.class, new DataListener<String>() {
            @Override
            public void onData(SocketIOClient socketIOClient, String roomName, AckRequest ackRequest) throws Exception {
                log.info("<join room name> " + roomName);
                socketIOClient.joinRoom(roomName);
            }
        });

        server.addEventListener("join", String.class, new DataListener<String>() {
            @Override
            public void onData(SocketIOClient socketIOClient, String roomName, AckRequest ackRequest) throws Exception {
                log.info("<leave room name>" + roomName);
                socketIOClient.leaveRoom(roomName);
            }
        });
    }

client side using socket.io-client-java

Socket fromUser = ...
Socket toUser=...
.... some other setting of socket client ...

String roomId = "Hello";
fromUser.emit("join", roomId);
toUser.emit("join", roomId);

I want to know If the socket join a room and then it broadcast a message，the message broadcast to the sockets connected to the server  or  joined the room?


Members are not correctly differenciated

When using the two following configuration files:
twine.txt
crawl.txt
A single writerd instance thinks there is two of it on the cluster and balances the load. Whereas the second instance is in fact Anansi.

Given that neither has a cluster registry URI specified, they're both running with the static cluster mechanism, which means there's no persistent storage of cluster information, and instances don't have any mechanism to interact with each other, thus the fact you're running two separate processes which happen to link with libcluster is a red herring.

Ooops sent the version with the cluster commented out. That's what we just did to work around the issue until we figure out where it comes from (https://github.com/bbcarchdev/acropolis/commit/d16f498b36340d76a0eedf9a791b3233cab58cb9). Crawl as the correct config though so it is indeed surely not an issue between the two as I initially thought. Did some more investigation yesterday and it could be a issue with the other twine instance we use to bridge with Anansi but putting those two on two different clusters still yield the same result of writerd seeing two instances. I will try some more today...

The problem appears to be that the value of the parameter "cluster-name" is not correctly picked up. Instead "twine" is always used and running one instance of twine to pick items up from Anansi, and another to process them using generate end up balancing the load among each other. This despite setting the former to a cluster "twine-anansi" and the latter to another cluster "twine-spindle" in their respective config files...

Rather than self-selecting load-balancing clustering, it'd be simpler to just let processors pick up items from a queue. Pros: much simpler code, can't "miss" items.

Problem fixed with https://github.com/bbcarchdev/twine/commit/8e33544df074e68d90059fbb706ac918cda9c723


[3-1-stable] Fix setting braintree_id in address

Resolves #132

Hi @PascalSenn can you do it against master branch? Master supports Spree 3.1, 3.2 and 3.3 - thanks!

Sure, I will do it on Monday 👍


[Feature suggestion] Add SSL on VestaCP panel

Hi guys,
I'm looking here and on mine test was possible to put Let's encrypt SSL on VestaCP panel in port 8083.
Then, is possible to automate this with this script? I'm looking here if we can use the hostname for this or other variable.

+1 to this. Loving the script, works perfectly for me so far. Would just be great if it could also do the panel itself on port 8083 as well.

Thanks for your support.  I'm glad you find my tool useful.  I am not a VestaCP developer, but there is at least one feature request in the VestaCP bug queue requesting built-in support for Let's Encrypt, and it's marked "in progress." (https://bugs.vestacp.com/issues/67)
I wrote this tool because I wanted a quick way to manage my certs and I didn't want to invest the time into trying to learn to hack Vesta.  Integrating Let's Encrypt into Vesta, while similar in functionality, whole be drastically different in how it's coded.
I'd love to see an integrated solution, but that's outside the scope of this project, so I'm going to close this ticket.  If you really want to see integration, please add your feedback to the Vesta ticket linked above to encourage the developers over there to make that feature a priority.  In the meantime, please keep sharing your feedback, and I'll keep trying to make letsencrypt-vesta even better.


Tcpip.4.1.0

this depends on the not-yet-released tcpip 4.1.0 which changes the type of Fragments.Cache.t
in addition, this as well removes some unnecessary dependencies from mirage-nat
and reverts the change from Lru.F.t to Lru.M.t (for the overall reasons mentioned in https://github.com/mirage/mirage-tcpip/pull/423 // https://github.com/mirage/qubes-mirage-firewall/issues/93)
//cc @talex5 @xaki23

tcpip-4.1.0 looks merged now, so +1 for merging this one
https://github.com/ocaml/opam-repository/pull/15808

I don't know much about this code, but this PR looks reasonable to me.


Default GC setting update

changed gc settings, idea is to cope with bigger requests better
Lowered overal heap size to give more to OS and set XX:G1ReservePercent (default is 10), which I understand helps in preserving a bigger chunk before GC is called.

Coverage remained the same at 68.623% when pulling 3be9c76c0d660be0917983c9353d94d152330621 on gc-settings-tuning into 4a6a7d5fa5b783e0039532a37108b8df2385c263 on master.


lightbox: Remove Pan/Zoom enable button.

With the recent changes to lightbox image handling in #21145 and #20788
it is no longer necessary to have panning and zooming disabled by
default. This commit removes the enable/disable button and instead
replaces it with a "Reset Image" button, and enables panning and zooming
as the default state of the lightbox.

Implementation looks pretty reasonable; @alya can you do a UX testing pass on it?

Implementation looks pretty reasonable; @alya can you do a UX testing pass on it?

When testing keep in mind this PR includes a prep-commit that addresses https://github.com/zulip/zulip/issues/21058 so if one wants to test that, make sure you include some images with super long titles and/or filenames.

Nice! The "Reset image" button seems good!

For the layout, the "x" looks too low to me in these screenshots. Also, in the narrow window view, I think the buttons should be left-aligned with the title.

Also, I found a pre-existing bug (not new in this PR): if you edit the message to change the title of an image, it doesn't get updated in the preview.
Is this easy to fix, or should I file a separate issue for it?

Also not new, but I was thinking that the title in the screenshots above looks really weird/confusing. What in the world does it mean that it says "Download  "? And this sort of thing is going to happen a lot if you don't bother to rename the image.
Would there be anything wrong with just showing the image title (the part inside [ ]) and not the file name? We can put the file name in the tooltip if we think it's useful, with a clear label.

Also, I found a pre-existing bug (not new in this PR): if you edit the message to change the title of an image, it doesn't get updated in the preview.
Is this easy to fix, or should I file a separate issue for it?

It looks like the issue is here: https://github.com/zulip/zulip/blob/8ed7dcf4c07753ae75e8ce7e89a23b4bc77c7261/static/js/lightbox.js#L278
There is some caching of the image metadata, but it doesn't seem like it is invalidated when the associated message is edited. My gut says this would probably be better as a separate issue.

For the layout, the "x" looks too low to me in these screenshots. Also, in the narrow window view, I think the buttons should be left-aligned with the title.

I've pushed an update that should fix these alignment issues.

I've pushed an update that should fix these alignment issues.

Cool, could you please post updated screenshots?

Normal layout, long title:

Mobile layout, long title:

Cool, thanks -- looks great!

Maybe we should discuss this on CZO? I'm not super comfortable making this judgement call yet, it seems like the kind of thing that people might have some opinions on.

Yeah, agreed, I'll kick of a #design discussion. Brought it up here while it was on my mind. :)

The X still looks a bit below grade to me:

We should also change the string to "Reset zoom"; I know it resets position too, but that'll be the only hint we have in the UI that you can zoom/pan at all, and I think it's more important to hint that than to be precise here.

I changed the text to "Reset zoom".
@timabbott Did your css reload with the latest changes? This is what I'm seeing on my side, the X should be aligned with the text in the buttons.

OK, it seems to work now; must have been a browser caching issue since I triple-checked I had the updated branch. Can we delete the 200px max-width for the uploader column?

Otherwise lgtm.

Ok, got rid of that max-width. Good catch.

OK, this is great, scheduled to merge once CI passes again.


fix: ignore inventory in check cursor when it is disabled

Change starting node in check_cursor.gd for Inventory layer to ensure that disabled inventory is excluded from check.
Fixes deep-entertainment/issues#34

Thanks a lot! 🎁


Allow logged-in users to "star" pre-trained results to sort by popularity (3.1d)

In the 'published' list of outputs ( #136 ), create an interface for logged-in users to see those published results, and mark them as favorites.

[ ] database structure to hold 'favorites' per user
[ ] UI to star results  in published results UI from #136
[ ] UI and or data structure to add counts of stars per result
[ ] UI (filter?) to let user see only their favorites in list of published results

dependent on #134 and #136

features and issues deferred for rewrite --closing here.


Fix MIP solution statuses in Mosek

A fix for the Mosek interface. It corrects two situations when solving a problem with integer variables in Mosek resulted in SolverError:

When the problem is infeasible - now returns s.INFEASIBLE.
When an integer solution was found, but is not optimal - now returns s.OPTIMAL_INACCURATE. I'm not sure this is the best status here, but I don't see a better one. This happens for example when a time limit was set for the solver.

Coverage decreased (-0.004%) to 80.388% when pulling e56f99fca0ca447ed96d3c42092521be64b94bb9 on aszekMosek:mosek-fix-mip-status into 43270fcc8af8fc4742f1b3519800b0074f2e6693 on cvxgrp:master.

Thanks!


fixed fetch input file creation path (solving FileNotFoundError)

OS: Windows 10, python 3.12
On a clean install, I tried to run a default template python file (year 2024, day 1). I encountered this error:

Traceback (most recent call last):
File "c:\Users\guill\Documents\Python\Advent_Of_Code\2024\day_01.py", line 3, in

RAW = aoc_lube.fetch(year=2024, day=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\guill\Documents\Python\Advent_Of_Code.venv\Lib\site-packages\aoc_lube_init_.py", line 107, in fetch
input_file.mkdir()
File "C:\Users\guill\AppData\Local\Programs\Python\Python312\Lib\pathlib.py", line 1311, in mkdir
os.mkdir(self, mode)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\Users\guill\.aoc_lube\2024\01.txt'

After investigating, I found that this error is raised because in the path \\guill\\.aoc_lube\\2024\\01.txt, both the .txt file and 2024 folder don't exist the first time it's run. If you check the python doc:

If parents is false (the default), a missing parent raises FileNotFoundError.

So I modified the fetch function to first check if a year folder exists and create it if necessary.
(line 105-108, you can ignore other changes, it's just formatting).
I tried with this new version and I have the countdown appearing in the terminal as expected.

Thanks for the fix!


dualhooked and ratted do not use

this extension is dual hooked (the creator will get the cookies too) and also ratted (kant) and this explains why its ecnrypted.

imagine using this b64 infested shit


Widevine for linux-arm64

I'm wondering if #114 is still the latest status on Linux ARM64 builds since there seems to be some new developments:
http://archive.raspberrypi.org/debian/pool/main/w/widevine/
https://github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/248
Does this mean that, in the near future, castLabs would also be able to offer linux-arm64 builds?

Unfortunately these are not official CDMs for use outside of ChromeOS, and they are not available through the Component Updater, so it is nothing we can support. Google may turn a blind eye to them being used in this context, but would likely react on more widespread use, especially in commercial contexts.
To my knowledge there is no timeline for officially supporting non-x86_64 CDMs on Linux at this time.

Right, that makes sense, thanks for the quick answer! 💚


Removed closure as it cause serialization issues

Serialization issues on debug log when the assets are rendered

Thanks.


Remove borders on epheremalIframe

iFrame borders can show up depending on the underlying CSS of the site.

Good point. Merged.


🚀  Options Button for Post and Comment

Adding an options dropdown button for each post and each comment.
The dropdown will include 'edit' and 'delete' options.
The options will only be visible for the author of the specific comment or post.
In this PR the only working link is the delete post one, while the other ones doesn't exist yet (There are issues regarding them).
The relevant delete-post URL tests can be found here.
The buttons look like the following (top right corner of posts or comments):

The dropdown menu looks like:

The links will get updated once issues #107 #115 will resolve.
Close #124

@paOmer Please suggest how to test it, please add a test

Added a link to the relevant tests in the PR description.
Adding it here also.

@paOmer Please suggest how to test it, please add a test

Thanks


unable load firmware

Version
Microsoft Windows [Version 10.0.22000.651]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
Linux version <IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Gentoo/Funtoo
Other Software
No response
Repro Steps

run the following command in cmd:
usbipd wsl attach -b 1-X
after usb driver init, load another mod

modprobe carl9170
Expected Behavior
firmware carl9170-1.fw load successfully
Actual Behavior
firmware carl9170-1.fw can not be loaded
Diagnostic Logs
kernel log after enable dynamic debug:
[  719.134445] usb 1-1: new high-speed USB device number 4 using vhci_hcd
[  719.284377] usb 1-1: SetAddress Request (4) to port 0
[  719.349176] usb 1-1: New USB device found, idVendor=0846, idProduct=9001, bcdDevice= 1.06
[  719.349185] usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[  719.349189] usb 1-1: Product: USB2.0 WLAN
[  719.349191] usb 1-1: Manufacturer: ATHER
[  719.349193] usb 1-1: SerialNumber: 12345
[  719.494320] usb 1-1: reset high-speed USB device number 4 using vhci_hcd
[  719.644405] usb 1-1: SetAddress Request (4) to port 0
[  719.839554] firmware_class: __allocate_fw_priv: fw-carl9170-1.fw fw_priv=000000009a54a0a0
[  719.839579] usb 1-1: loading /lib/firmware/updates/<IP_ADDRESS>-microsoft-standard-WSL2/carl9170-1.fw failed for no such file or directory.
[  719.839585] usb 1-1: loading /lib/firmware/updates/carl9170-1.fw failed for no such file or directory.
[  719.839590] usb 1-1: loading /lib/firmware/<IP_ADDRESS>-microsoft-standard-WSL2/carl9170-1.fw failed for no such file or directory.
[  719.839594] usb 1-1: loading /lib/firmware/carl9170-1.fw failed for no such file or directory.
[  719.839598] usb 1-1: Direct firmware load for carl9170-1.fw failed with error -2
[  719.839603] firmware_class: __free_fw_priv: fw-carl9170-1.fw fw_priv=000000009a54a0a0 data=0000000000000000 size=0
[  719.839608] usb 1-1: firmware not found.
but firmware is present in /lib/modules:
wsl2 ~ # ls -l /lib/firmware/carl9170-1.fw
-rw-r--r-- 1 root root 13388  4月26日 12:21 /lib/firmware/carl9170-1.fw

the firmware load code shows kernel read file from init namespace
(drivers/base/firmware_loader/main.c)
/* load firmware files from the mount namespace of init */ rc = kernel_read_file_from_path_initns(path, fw_priv->offset,        &buffer, msize,        file_size_ptr,        READING_FIRMWARE);
I have checked with init file, it is mounted with 9p protocol:
tools on /init type 9p (ro,relatime,dirsync,aname=tools;fmask=022,loose,access=client,msize=65536,trans=fd,rfd=7,wfd=7)

Unless this is a known issue with WSL, I would suggest filing this issue with the usbipd library, which you can find here. Marking as external and converting to discussion.


Abuse rate limits avoidance

This introduces changes to the GitHub request behavior.
The script now meets the abuse rate limits avoidance requirements provided by the GitHub support for interaction with the API.
I also changed the GitHub import API, which is described here. The GitHub support claims to not send out any notifications, when editing repositories over this API, but this did not seem to be true. So there is no real benefit of this change yet, but this gets fixed it would be better to stay on this API.
Last but not least I changed the HTTP error handling. The script now forwards the errors it receives from the APIs to the user to avoid confusion.

@pepper-jk ,  Could you resubmit your PR with one commit / one PR ASAP?
And it seems that your PR 2,3,4 are redundant. Please check it.


file manager plugin .. go up not work

Hi
micro Version: 2.0.13
plugin list
The following plugins are currently installed:
filemanager (3.5.1)
go (2.0.2)
autoclose (1.0.0)
comment (1.0.0)
diff (1.0.0)
options (1.0.0)
linter (1.0.0)
literate (1.0.0)
status (1.0.0)
i install file manager & up no any keybinding
But I can not go up to the folder use ..

Does tab work when your caret is on ..?
And which OS are you using?
https://github.com/micro-editor/updated-plugins/tree/master/filemanager-plugin

Hi
Thx reply
also, test it when I click .. don't go up


Add recursive fib js

Assigned Issue Number ?
#120
Language Opted ?
JavaScript
Number of files added or updated ?
1
Name of these files ?
Algorithms/Dynamic_Programming/Fibonacci_Series/fibonacci.js
example :
Algorithm => Search_Algorithm => Linear_Search => Linear_Search.py
Checklist

[X] I've read the contribution guidelines.
[X] I've referred the correct issue number.
[X] I've fill up this entire template correctly.

@Mihir2527 @ahampriyanshu pls review, thank you!


test_numpy_op.py::test_np_empty_like hangs

Description
test_numpy_op.py::test_np_empty_like hangs on unix-gpu
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-gpu/detail/PR-18025/59/pipeline/425

In the linked CI run test_numpy_op.py::test_np_empty_like is not run and thus can't be responsible for the hang. Thus there must be more triggers besides test_np_empty_like.
Related https://github.com/apache/incubator-mxnet/issues/18090

Wow this issue is VERY INTERESTING, in the first link given in the issue description I'm not even seeing test_np_empty_like being run at all, and the last test run before the final timeout process kill was test_np_bincount. Also as @leezu pointed out in the above comment, even removing test_np_empty_like does not solve the issue. So to conclude, so far I'm not seeing any solid evidence supporting test_np_empty_like to be the root cause for the hang.
To be clear, I'm not saying that I don't think we should re-implement empty_like with a native implementation in the future, simply want to suggest that maybe you guys are attacking the wrong target at this moment.

@haojin2 you can check #18090 for the evidence.

@leezu I understand the goal, but my point is that we should avoid providing un-related info in the issue's description (the hang in the first provided link is not related at all), shouldn't we? It'd be better if link to #18090 was provided in the first place to avoid such confusions.

I agree.


expose functionality equivalent to zfs list filesystem_name

The volume manager needs to be able to determine the existence (or non-existence) of a filesystem of a particular name in its local storage pool.  It does this as part of the negotiation process with another node to determine if replicating the filesystem from one node to another requires a full data stream or if an incremental data stream can be constructed.
The implementation uses zfs list because that's an obvious way to use the command line tool to check if a filesystem exists.  If there's a better API for determining this that happens to have nothing to do with zfs list, that would be a fine resolution to this issue.
Expose libzfs_core functionality to accomplish this.

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-778. You are welcome to file additional issues in GitHub if that's easier for you.


Tag the current version of DyCI

We're using the master version of DyCI. It would be great if you could tag it with a version number so we can depend on the specific version instead of having to use master.
Thanks for a great library!

+1

Well, this one is easy :)
https://github.com/DyCI/dyci-main/releases/tag/v<IP_ADDRESS>

Thanks :)


[RPC/Events] sui_getEvents returns unexpected empty response after ~60s

Multiple reports of transactions where events are visible in the explorer (and via responses from sui_getTransaction):
$ curl --location --request POST 'https://fullnode.devnet.sui.io' \
    --header 'Content-Type: application/json' \
    --data-raw '{
      "jsonrpc": "2.0",
      "id": 1,
      "method": "sui_getTransaction",
      "params": [ "<tx-digest>" ],
    }' | jq .

But queries using sui_getEvents that attempt to filter by Transaction Digest or Move Event (copied from the response of sui_getTransaction) return an empty response, or a 504 Gateway Timeout.
$ curl --location --request POST 'https://fullnode.devnet.sui.io' \
    --header 'Content-Type: application/json' \
    --data-raw '{
      "jsonrpc": "2.0",
      "id": 1,
      "method": "sui_getEvents",
      "params": [{ "Transaction": "<tx-digest>"}],
    }' | jq .

$ curl --location --request POST 'https://fullnode.devnet.sui.io' \
    --header 'Content-Type: application/json' \
    --data-raw '{
      "jsonrpc": "2.0",
      "id": 1,
      "method": "sui_getEvents",
      "params": [{ "MoveEvent": "<struct-type>" }],
    }' | jq .

Metrics for response times from sui_getEvents also show regulaly high latency (p50 at 25s+, p90 at 60s+) and high latency across a number of event_by_* query types (75 to 80s) since 26th December.
Not all transactions and event types are affected -- some return the expected response.
Example Transactions and Event Types for (from devnet v0.19, 2022-01-02):

digest: 9WS1xsSLLkyvKirnbkaTGi3gupdXfuANs22zcizoaCP5 returns a response with events from sui_getTransaction, but an empty response for sui_getEvents with a Transaction filter, and empty responses (or timeouts) for MoveEvent queries with the following types (which all show up in the sui_getTransaction response):

0x2::coin::CurrencyCreated<0xc0ca2bee2836dc24755df81e249556af01864ade::USDT::USDT>
0x2::coin::CurrencyCreated<0xc0ca2bee2836dc24755df81e249556af01864ade::USDT::USDC>
0x2::coin::CurrencyCreated<0xc0ca2bee2836dc24755df81e249556af01864ade::ETH::ETH>
0x2::coin::CurrencyCreated<0xc0ca2bee2836dc24755df81e249556af01864ade::DAI::DAI>
0x2::coin::CurrencyCreated<0xc0ca2bee2836dc24755df81e249556af01864ade::BTC::BTC>
0x2::coin::CurrencyCreated<0xc0ca2bee2836dc24755df81e249556af01864ade::BNB::BNB>

digest: 6iEnV7fd6xwCasqMyoadfRKau1nAYzoRT2Px31aTKLFs, same as above, but the package in question (and all the long addresses in the type above) become 0x1b02a168c20320559a8bb8cdc3d208b6f1ccdf30.
digest: GVCg1VF2tMthN21JK5T996w3Lg2QiJn8hgzNu1Tox6d9, however, does return a response, e.g. for a MoveEvent query with type:

0x2::coin::CurrencyCreated<0x530de59d2b0f861a9d61896e585a47d1493b8576::eth::ETH>

EDIT (2022-01-02): Updated the devnet version the examples  were from.

I looked into Devnet releases, we had one for 0.19 on 27th December, with a re-genesis which lines up with when the events table queries stopped taking ages to run.  I also didn't spot any suspicious looking commits that went into 0.19 to cause these issues (relative to 0.18).
I suspect what we're seeing is a pre-existing issue with the events table failing to scale well to demand, when the network is up for longer than usual.


Build fails on Win 10 pro

Overview / Motivation
This blocks running the local testnet or hacking on go-spacemesh by outside contributors running Win 10 Pro.
The Issue

Clone the dev repo
Run make or make dockerbuild-go
Result: make errors in both cases
Expected: make to complete w/o errors

Windows make error message: https://pastebin.com/Mxpn8KPf
Dockerized build under windows error message: https://pastebin.com/9JcHr1SD
btw, there's also a typo in the build script 'spacmsh' -> 'spacemesh'...
Might be 2 separate issues here.
@zalmen @beckmani

Still buildable using the repo readme build instructions. Need improved instructions on how to install deps that will allow one to build on win 10 pro.


[fix][broker] Set ServiceUnitStateChannel topic compaction threshold explicitly, improve getOwnerAsync, and fix other bugs

Motivation
We better set the compaction threshold of the serviceUnitStateChannel topic instead of relying on other components' init.
Also, we need to fix the issue that lookup and unload often timeout with  500 error.
Modifications

Set the compaction threshold of the serviceUnitStateChannel topic in the monitor thread
Release metadataAndPayload buffer in RawBatchMessageContainerImpl.
Automatically restart load data store producer and table view if inactive.
Updated getOwnerAsync for better synchronization of ownership checks, deferred lookups and active broker checks
added minor retry logic in the ExtensibleLoadManager tests

Verifying this change

[x] Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: https://github.com/heesung-sn/pulsar/pull/61

@heesung-sn  Is there a need to backport the ExtensibleLoadManager related fixes all the way to 3.0.x ?

@heesung-sn Is there a need to backport the ExtensibleLoadManager related fixes all the way to 3.0.x ?

Yes, I am trying to backport other PRs.
This one, too.
https://github.com/apache/pulsar/pull/22112

@lhotari plz review this cherry-pick PR : https://github.com/apache/pulsar/pull/22154


Bayside Drugs, Sandy Sheriff Interior

How do I use this resource without the interiors for the Bayside Drugs in Paleto and Sandy Sheriff's station default interiors not creating invisible barriers when using a custom ymap/mlo?

AFAIK I didn't add specific code to enable these interiors.
Does your custom ymap's author recommends to disable certain IPLs?