Seg fault in Linux integration tests (electron)

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=175703&view=results
./scripts/test-integration.sh: line 102:  4075 Segmentation fault      (core dumped) "$INTEGRATION_TEST_ELECTRON_PATH" $LINUX_EXTRA_ARGS $ROOT/extensions/markdown-language-features/test-workspace --extensionDevelopmentPath=$ROOT/extensions/markdown-language-features --extensionTestsPath=$ROOT/extensions/markdown-language-features/out/test $API_TESTS_EXTRA_ARGS
##[error]Bash exited with code '139'.
Finishing: Run integration tests (Electron)

Crash dmp: Archive.zip

Stack trace:
Operating system: Linux
                  5.4.0 -1085-azure #90~18.04.1-Ubuntu SMP Fri Jun 10 18:32:22 UTC 2022 x86_64
CPU: amd64
     family 6 model 85 stepping 7
     4 CPUs

GPU: UNKNOWN

Crash reason:  SIGSEGV /SEGV_ACCERR
Crash address: 0x3822013f8000
Process uptime: 0 seconds

Thread 0 (crashed)
 0  keymapping.node + 0xc479
    rax = 0x00003822013f7fe0   rdx = 0x0000382201a6e000
    rcx = 0x00007f17e2fdb8a4   rbx = 0x00003822007d9c00
    rsi = 0x0000000000000001   rdi = 0x00003822007d9c00
    rbp = 0x00007ffdcf8bb440   rsp = 0x00007ffdcf8bb310
     r8 = 0x0000000000000000    r9 = 0x0000000000000004
    r10 = 0x00003822003340b2   r11 = 0x0000000000000010
    r12 = 0x0000382201a64fd0   r13 = 0x0000000000000033
    r14 = 0x0000000000000020   r15 = 0x0000000000000004
    rip = 0x00007f17e2fd5479
    Found by: given as instruction pointer in context
 1  code-insiders!v8impl::(anonymous namespace)::FunctionCallbackWrapper::Invoke(v8::FunctionCallbackInfo<v8::Value> const&) [js_native_api_v8.cc : 312 + 0x8]
    rbp = 0x00007ffdcf8bb4a0   rsp = 0x00007ffdcf8bb450
    rip = 0x000055f3f8eede6b
    Found by: previous frame's frame pointer
 2  code-insiders!v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [api-arguments-inl.h : 152 + 0x3]
    rbx = 0x000055f3f967ffc0   rbp = 0x00007ffdcf8bb5f0
    rsp = 0x00007ffdcf8bb4b0   r12 = 0x000055f3f8eede00
    r14 = 0x00003822003c8000   r15 = 0x00003822003c8000
    rip = 0x000055f3f47bfe41
    Found by: call frame info
 3  0x55f377f0cd38
    rbx = 0x000055f3f47bf9b0   rbp = 0x00007ffdcf8bb610
    rsp = 0x00007ffdcf8bb600   r12 = 0x0000000000000005
    r13 = 0x00003822003c8000   r14 = 0x0000059000000000
    r15 = 0x00007ffdcf8bb640   rip = 0x000055f377f0cd38
    Found by: call frame info
 4  0x55f377e8c562
    rbp = 0x00007ffdcf8bb698   rsp = 0x00007ffdcf8bb620
    rip = 0x000055f377e8c562
    Found by: previous frame's frame pointer
 5  0x55f377e8c562
    rbp = 0x00007ffdcf8bb6e8   rsp = 0x00007ffdcf8bb6a8
    rip = 0x000055f377e8c562
    Found by: previous frame's frame pointer
 6  0x55f377e8c562
    rbp = 0x00007ffdcf8bb740   rsp = 0x00007ffdcf8bb6f8
    rip = 0x000055f377e8c562
    Found by: previous frame's frame pointer
 7  0x55f377e8c562
    rbp = 0x00007ffdcf8bb7b8   rsp = 0x00007ffdcf8bb750
    rip = 0x000055f377e8c562
    Found by: previous frame's frame pointer
 8  0x55f377ec2081
    rbp = 0x00007ffdcf8bb7f8   rsp = 0x00007ffdcf8bb7c8
    rip = 0x000055f377ec2081
    Found by: previous frame's frame pointer
 9  0x55f377f5f678
    rbp = 0x00007ffdcf8bb830   rsp = 0x00007ffdcf8bb808
    rip = 0x000055f377f5f678
    Found by: previous frame's frame pointer
10  0x55f377eb3b5e
    rbp = 0x00007ffdcf8bb898   rsp = 0x00007ffdcf8bb840
    rip = 0x000055f377eb3b5e
    Found by: previous frame's frame pointer
11  0x55f377e8a4c7
    rbp = 0x00007ffdcf8bb900   rsp = 0x00007ffdcf8bb8a8
    rip = 0x000055f377e8a4c7
    Found by: previous frame's frame pointer
12  code-insiders!v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [simulator.h : 156 + 0x5]
    rbp = 0x00007ffdcf8bba40   rsp = 0x00007ffdcf8bb910
    rip = 0x000055f3f4869e38
    Found by: previous frame's frame pointer
13  code-insiders!v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [execution.cc : 483 + 0xb]
    rbx = 0x00007ffdcf8bba58   rbp = 0x00007ffdcf8bbab0
    rsp = 0x00007ffdcf8bba50   r12 = 0x00007ffdcf8bbac8
    r13 = 0x00003822003c8000   r14 = 0x00003822003c8000
    r15 = 0x00003822003c8000   rip = 0x000055f3f486a900
    Found by: call frame info
14  code-insiders!v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) [execution.cc : 593 + 0x8]
    rbx = 0x000055f3f967fa30   rbp = 0x00007ffdcf8bbb20
    rsp = 0x00007ffdcf8bbac0   r12 = 0x00003822006c4000
    r13 = 0x00003822003c8000   r14 = 0x00003822003c8000
    r15 = 0x000038220028d530   rip = 0x000055f3f486aabd
    Found by: call frame info
15  code-insiders!v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [microtask-queue.cc : 173 + 0xb]
    rbx = 0x000055f3f967fa30   rbp = 0x00007ffdcf8bbbd0
    rsp = 0x00007ffdcf8bbb30   r12 = 0x00003822006c4000
    r13 = 0x00003822003c8000   r14 = 0x00003822003c8000
    r15 = 0x000038220028d530   rip = 0x000055f3f4893c31
    Found by: call frame info
16  code-insiders!node::InternalCallbackScope::Close() [callback.cc : 126 + 0xc]
    rbx = 0x00007ffdcf8bbcd0   rbp = 0x00007ffdcf8bbc20
    rsp = 0x00007ffdcf8bbbe0   r12 = 0x00003822006c4000
    r13 = 0x0000382200b76420   r14 = 0x00003822003c8000
    r15 = 0x00003822002fd180   rip = 0x000055f3f8e83198
    Found by: call frame info
17  code-insiders!node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) [callback.cc : 212 + 0x8]
    rbx = 0x00007ffdcf8bbdd0   rbp = 0x00007ffdcf8bbd60
    rsp = 0x00007ffdcf8bbc30   r12 = 0x00003822006c4000
    r13 = 0x0000382200b76420   r14 = 0x000038220061c008
    r15 = 0x00007ffdcf8bbcd0   rip = 0x000055f3f8e83554
    Found by: call frame info
18  code-insiders!node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) [async_wrap.cc : 659 + 0x10]
    rbx = 0x00003822006c4000   rbp = 0x00007ffdcf8bbdc0
    rsp = 0x00007ffdcf8bbd70   r12 = 0x00007ffdcf8bbdd0
    r13 = 0x0000000000000008   r14 = 0x0000382200b76420
    r15 = 0x000038220033df00   rip = 0x000055f3f8e99bdf
    Found by: call frame info
19  code-insiders!node::fs::FSReqCallback::Resolve(v8::Local<v8::Value>) [async_wrap-inl.h : 80 + 0xe]
    rbx = 0x000038220061c000   rbp = 0x00007ffdcf8bbe00
    rsp = 0x00007ffdcf8bbdd0   r12 = 0x00007ffdcf8bbe10
    r13 = 0x000055f3f96d0d08   r14 = 0x0000000000000001
    r15 = 0x000038220033df00   rip = 0x000055f3f8f3098c
    Found by: call frame info
20  code-insiders!node::fs::AfterNoArgs(uv_fs_s*) [node_file.cc : 665 + 0x9]
    rbx = 0x000038220033df58   rbp = 0x00007ffdcf8bbe60
    rsp = 0x00007ffdcf8bbe10   r12 = 0x00007ffdcf8bbe10
    r13 = 0x000055f3f96d0d08   r14 = 0x00007ffdcf8bbe20
    r15 = 0x000038220033df00   rip = 0x000055f3f8f30f8f
    Found by: call frame info
21  code-insiders!uv__work_done [threadpool.c : 311 + 0x3]
    rbx = 0x00000000ffffff83   rbp = 0x00007ffdcf8bbea0
    rsp = 0x00007ffdcf8bbe70   r12 = 0x000055f3f96d0d70
    r13 = 0x000055f3f96d0d08   r14 = 0x000055f3f2efa8e0
    r15 = 0x00007ffdcf8bbe70   rip = 0x000055f3f2efa8bd
    Found by: call frame info
22  code-insiders!uv__async_io [async.c : 163 + 0x5]
    rbx = 0x0000000000000000   rbp = 0x00007ffdcf8bc2f0
    rsp = 0x00007ffdcf8bbeb0   r12 = 0x000055f3f96d0d70
    r13 = 0x000055f3f96d0d08   r14 = 0x000055f3f96d0c50
    r15 = 0x000055f3f96d0e08   rip = 0x000055f3f2efe090
    Found by: call frame info
23  code-insiders!uv__io_poll [epoll.c : 374 + 0xa]
    rbx = 0x0000000000000001   rbp = 0x00007ffdcf8bf400
    rsp = 0x00007ffdcf8bc300   r12 = 0x0000000000000001
    r13 = 0x000055f3f96d0e20   r14 = 0x000055f3f96d0c50
    r15 = 0x00007ffdcf8bc300   rip = 0x000055f3f2f0cb06
    Found by: call frame info
24  code-insiders!uv_run [core.c : 389 + 0x8]
    rbx = 0x00007ffdcf8bf400   rbp = 0x00007ffdcf8bf470
    rsp = 0x00007ffdcf8bf410   r12 = 0x000055f3f2207e00
    r13 = 0x000055f3f96d0ca0   r14 = 0x000055f3f96d0c01
    r15 = 0x000055f3f96d0c50   rip = 0x000055f3f2efe462
    Found by: call frame info
25  code-insiders!electron::NodeBindings::UvRunOnce() [node_bindings.cc : 650 + 0xa]
    rbx = 0x000038220022a000   rbp = 0x00007ffdcf8bf500
    rsp = 0x00007ffdcf8bf480   r12 = 0x0000000000000000
    r13 = 0x00003822006c4000   r14 = 0x00003822002fd180
    r15 = 0x0000000000000000   rip = 0x000055f3f3043083
    Found by: call frame info
26  code-insiders!base::TaskAnnotator::RunTaskImpl(base::PendingTask&) [callback.h : 142 + 0x3]
    rbx = 0x0000382200f17000   rbp = 0x00007ffdcf8bf590
    rsp = 0x00007ffdcf8bf510   r12 = 0x0000000000000000
    r13 = 0x0000382200222200   r14 = 0x0000000000000000
    r15 = 0x00007ffdcf8bf568   rip = 0x000055f3f582e046
    Found by: call frame info
27  code-insiders!non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() [task_annotator.h : 74 + 0x8]
    rbx = 0x000055f3f967f1a0   rbp = 0x00007ffdcf8bf700
    rsp = 0x00007ffdcf8bf5a0   r12 = 0x0000000000000000
    r13 = 0x0000382200222200   r14 = 0x0000000000000000
    r15 = 0x0000382200f17000   rip = 0x000055f3f584a6e9
    Found by: call frame info
28  code-insiders!base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) [message_pump_glib.cc : 375 + 0x8]
    rbx = 0x000038220022f180   rbp = 0x00007ffdcf8bf740
    rsp = 0x00007ffdcf8bf710   r12 = 0x0000000000000000
    r13 = 0x0000382200bb2e80   r14 = 0x00007ffdcf8bf710
    r15 = 0x0000000000000000   rip = 0x000055f3f57fab5f
    Found by: call frame info
29  libglib-2.0.so.0!g_main_context_dispatch [gmain.c : 3829 + 0x287]
    rbx = 0x0000382200278d80   rbp = 0x0000000000000000
    rsp = 0x00007ffdcf8bf750   r12 = 0x0000000000000000
    r13 = 0x0000382200bb2e80   r14 = 0x000038220028cce0
    r15 = 0x0000000000000000   rip = 0x00007f181aeab537
    Found by: call frame info
30  libglib-2.0.so.0!g_main_context_iterate.isra.26 [gmain.c : 3902 + 0x8]
    rbx = 0x0000382200278d80   rbp = 0x0000000000000001
    rsp = 0x00007ffdcf8bf7e0   r12 = 0x0000382200ced060
    r13 = 0x0000000000000001   r14 = 0x00007f181aebb070
    r15 = 0x0000000000000004   rip = 0x00007f181aeab770
    Found by: call frame info
31  libglib-2.0.so.0!g_main_context_iteration [gmain.c : 3963 + 0x14]
    rbx = 0x0000382200278d80   rbp = 0x0000000000000001
    rsp = 0x00007ffdcf8bf840   r12 = 0x000038220022f180
    r13 = 0x7fffffffffffffff   r14 = 0x00007ffdcf8bf868
    r15 = 0x0000000000000000   rip = 0x00007f181aeab7fc
    Found by: call frame info
32  code-insiders!base::MessagePumpGlib::Run(base::MessagePump::Delegate*) [message_pump_glib.cc : 401 + 0x5]
    rbx = 0x0000382200222200   rbp = 0x00007ffdcf8bf8d0
    rsp = 0x00007ffdcf8bf860   r12 = 0x000038220022f180
    r13 = 0x7fffffffffffffff   r14 = 0x00007ffdcf8bf868
    r15 = 0x0000000000000000   rip = 0x000055f3f57fa8eb
    Found by: call frame info
33  code-insiders!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) [thread_controller_with_message_pump_impl.cc : 497 + 0x6]
    rbx = 0x0000382200222200   rbp = 0x00007ffdcf8bf910
    rsp = 0x00007ffdcf8bf8e0   r12 = 0x00003822002222c8
    r13 = 0x7fffffffffffffff   r14 = 0x0000000000000001
    r15 = 0x00003822002222a8   rip = 0x000055f3f584b154
    Found by: call frame info
34  code-insiders!base::RunLoop::Run(base::Location const&) [run_loop.cc : 141 + 0x12]
    rbx = 0x0000382200ecaf40   rbp = 0x00007ffdcf8bf9c0
    rsp = 0x00007ffdcf8bf920   r12 = 0x00007ffdcf8bfab8
    r13 = 0x0000000000000000   r14 = 0x00007ffdcf8bf988
    r15 = 0x00007ffdcf8bf9d8   rip = 0x000055f3f5817b32
    Found by: call frame info
35  code-insiders!content::BrowserMainLoop::RunMainMessageLoop() [browser_main_loop.cc : 1056 + 0x2a]
    rbx = 0x00007ffdcf8bf9d8   rbp = 0x00007ffdcf8bfa10
    rsp = 0x00007ffdcf8bf9d0   r12 = 0x00007ffdcf8bfab8
    r13 = 0x0000000000000000   r14 = 0x0000382200ecaf40
    r15 = 0x00007ffdcf8bfae0   rip = 0x000055f3f406c31f
    Found by: call frame info
36  code-insiders!content::BrowserMainRunnerImpl::Run() [browser_main_runner_impl.cc : 155 + 0x5]
    rbx = 0x0000382200214880   rbp = 0x00007ffdcf8bfa30
    rsp = 0x00007ffdcf8bfa20   r12 = 0x00007ffdcf8bfab8
    r13 = 0x0000000000000000   r14 = 0x00007ffdcf8bfa48
    r15 = 0x00007ffdcf8bfae0   rip = 0x000055f3f406de92
    Found by: call frame info
37  code-insiders!content::BrowserMain(content::MainFunctionParams) [browser_main.cc : 30 + 0x5]
    rbx = 0x00000000ffffffff   rbp = 0x00007ffdcf8bfaa0
    rsp = 0x00007ffdcf8bfa40   r12 = 0x00007ffdcf8bfab8
    r13 = 0x0000000000000000   r14 = 0x00007ffdcf8bfa48
    r15 = 0x00007ffdcf8bfae0   rip = 0x000055f3f4069b2e
    Found by: call frame info
38  code-insiders!content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*) [content_main_runner_impl.cc : 639 + 0x8]
    rbx = 0x00007ffdcf8bfb20   rbp = 0x00007ffdcf8bfb70
    rsp = 0x00007ffdcf8bfab0   r12 = 0x00007ffdcf8bfab8
    r13 = 0x0000000000000000   r14 = 0x00007ffdcf8bfae0
    r15 = 0x00007ffdcf8bfb20   rip = 0x000055f3f3178bc1
    Found by: call frame info
39  code-insiders!content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool) [content_main_runner_impl.cc : 1172 + 0x8]
    rbx = 0x00007ffdcf8bfb80   rbp = 0x00007ffdcf8bfc40
    rsp = 0x00007ffdcf8bfb80   r12 = 0x00000000ffffffff
    r13 = 0x0000000000000000   r14 = 0x0000382200274080
    r15 = 0x00007ffdcf8bfc50   rip = 0x000055f3f317a058
    Found by: call frame info
40  code-insiders!content::ContentMainRunnerImpl::Run() [content_main_runner_impl.cc : 1039 + 0xf]
    rbx = 0x00007ffdcf8bfc50   rbp = 0x00007ffdcf8bfd30
    rsp = 0x00007ffdcf8bfc50   r12 = 0x000055f3f2228421
    r13 = 0xaaaaaaaaaaaaaaaa   r14 = 0x000038220022e100
    r15 = 0x0000382200274080   rip = 0x000055f3f3179b4b
    Found by: call frame info
41  code-insiders!content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) [content_main.cc : 405 + 0x8]
    rbx = 0x0000000000000000   rbp = 0x00007ffdcf8bffe0
    rsp = 0x00007ffdcf8bfd40   r12 = 0x0000000000000000
    r13 = 0x00007ffdcf8c0010   r14 = 0x0000382200274080
    r15 = 0x0000000000000000   rip = 0x000055f3f31773bd
    Found by: call frame info
42  code-insiders!content::ContentMain(content::ContentMainParams) [content_main.cc : 433 + 0x5]
    rbx = 0x00007ffdcf8c00b0   rbp = 0x00007ffdcf8c0050
    rsp = 0x00007ffdcf8bfff0   r12 = 0x00007ffdcf8c0008
    r13 = 0x00007ffdcf8c0010   r14 = 0x00007ffdcf8c0020
    r15 = 0x00007ffdcf8c0060   rip = 0x000055f3f3177ba4
    Found by: call frame info
43  code-insiders!main [electron_main_linux.cc : 53 + 0x8]
    rbx = 0x00007ffdcf8c00b0   rbp = 0x00007ffdcf8c0140
    rsp = 0x00007ffdcf8c0060   r12 = 0x0000000000000010
    r13 = 0x00007ffdcf8c00e0   r14 = 0x000055f3f24532c0
    r15 = 0x00007ffdcf8c0060   rip = 0x000055f3f2f0f2db
    Found by: call frame info
44  libc.so.6!__libc_start_main [libc-start.c : 310 + 0x1a]
    rbx = 0x0000000000000000   rbp = 0x000055f3f2ecbc40
    rsp = 0x00007ffdcf8c0150   r12 = 0x000055f3f2b93000
    r13 = 0x00007ffdcf8c0220   r14 = 0x0000000000000000
    r15 = 0x0000000000000000   rip = 0x00007f18164f7c87
    Found by: call frame info
45  code-insiders!_start + 0x2a
    rbx = 0x0000000000000000   rbp = 0x0000000000000000
    rsp = 0x00007ffdcf8c0210   r12 = 0x000055f3f2b93000
    r13 = 0x00007ffdcf8c0220   r14 = 0x0000000000000000
    r15 = 0x0000000000000000   rip = 0x000055f3f2b9302a
    Found by: call frame info
46  0x7ffdcf8c0218
    rbx = 0x0000000000000000   rbp = 0x0000000000000000
    rsp = 0x00007ffdcf8c0218   r12 = 0x000055f3f2b93000
    r13 = 0x00007ffdcf8c0220   r14 = 0x0000000000000000
    r15 = 0x0000000000000000   rip = 0x00007ffdcf8c0218
    Found by: call frame info

https://github.com/microsoft/vscode/blob/a72212f1f4950dac3bcb7dbfcf805d96adf3c564/src/vs/platform/keyboardLayout/electron-main/keyboardLayoutMainService.ts#L51 is the only place to call into vscode_keyboard::GetKeyMapImpl but nothing jumps out that could cause a segmentation fault when initializing the module.
Also, https://github.com/microsoft/vscode/commit/d257875a04fe7d06c784bbaa199848e6be975d36 is the only change that was made recently related to this module but this only affects layout changes and not initialization path, there are also no explicit changes in the native module itself.

@deepak1556 Is it possible to find out the line in GetKeyMapImpl where the crash happened?

ping @deepak1556☝

Sorry missed the notification,

Is it possible to find out the line in GetKeyMapImpl where the crash happened?

Not from the current set of traces, we can try to get a trace from debug build of the module. I can set this up.

I'm seeing lots of crashes in my tests on GitHub actions lately but I don't have much info. I'm wondering if it's likely the same issue as this and if not, whether there's more useful information I could capture? I'm running using the @vscode/test-electron package the output is fairly sparse besides SIGSEGV:
Downloading VS Code [==============================] 100%Found existing install in /home/runner/work/Dart-Code/Dart-Code/.vscode-test/vscode-linux-x64-1.71.2. Skipping download
[2837:1005/142435.836602:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2837:1005/142435.836663:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2837:1005/142436.043092:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[main 2022-10-05T14:24:36.081Z] update#ctor - updates are disabled by the environment
[2837:1005/142436.128892:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
SIGSEGV
Exit code:   SIGSEGV
############################################################

Thanks! Closing this issue, we haven't seen the crash again since the original report.


jQuery v10: object dosen't support method, countdownMessage

Near line 61, had to change:
opt.countdownMessage.replace(
to:
opt.countdownMessage.toString().replace(

countdownMessage has a boolean value, therefore the error.
Just change it as follows:
countdownMessage: ' your message when modal is shown'


Intel RealSense depth map format

I'm trying to create my own point clouds from the realsense depth frames, as opposed to calculating one using the provided functionality. One key aspect I need to know is whether each depth pixel in the depth frame is distance relative to the center of one of the cameras, or whether the depth of each pixel is represented perpendicular to the XY plane.
Would really appreciate if anyone could let me know.
Cheers.

Basics
See this:
https://github.com/IntelRealSense/librealsense/wiki/Projection-in-RealSense-SDK-2.0
Details
You are specifically interested in this function:
rs2_deproject_pixel_to_point
This is exactly what you want to do.
Camera intrinsics and depth units
You will need to get depth units and camera intrinsics (focal points, principal points) and feed unprojection with this data.
See example here (camera intrinsics)
Shortcuts
If you are using D435 (no distortion model) the unprojection simplifies to just few lines of code.
See independent example of unprojection working with D435 data here
Caveats
Camera intrinsics are expressed in pixel units and are valid only for the resolution you get them for.
Under realistic assumptions intrinsics scale with resolution (but this also depends on factors like changing FOV along changing resolution).
On the other hand the distortion model doesn't scale with resolution (if your camera uses it).
If you don't know those details it's simplest to read the intrinsics and distortion model directly from the device for the resolution you use.
Final notes
Good luck!

Please let us know if we can close this ticket or there is any further question.
Thank you.


Update build instructions

Changes in the instructions:

Use cmake version 3.14 as minimum (required as per CMakeLists.txt).
Build inside a ./build/ directory instead of a parent directory, as it is usual in cmake projects (and it is already in .gitignore).
Use cmake -B.

Note: we could also change cd build && ctest to ctest --test-dir ./build but that requires cmake v3.20+.

Thanks!


STORM-2745 : Added ClosingPolicy

I'm not familiar of storm-hdfs so may not be able to review, but I can see there're some style issues which requires you to increase max allowed violations. I encouraged you to track the warning message from checkstyle and fix it.

Ok I can change it back.
On Thu, Sep 21, 2017 at 10:39 AM, Jungtaek Lim<EMAIL_ADDRESS>wrote:

I'm not familiar of storm-hdfs so may not be able to review, but I can see
there're some style issues which requires you to increase max allowed
violations. I encouraged you to track the warning message from checkstyle
and fix it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/storm/pull/2332#issuecomment-331195829, or mute
the thread
https://github.com/notifications/unsubscribe-auth/APutewl7wzgRUkahnzvOnVoE1VkGG5bdks5skoMpgaJpZM4Pc9Ko
.

Some newly added files are not having license header. Please add them.

external/storm-hdfs/src/test/java/org/apache/storm/hdfs/bolt/rotation/TickTupleBasedClosingPolicyTest.java
external/storm-hdfs/src/main/java/org/apache/storm/hdfs/bolt/rotation/ClosingFilesPolicy.java
external/storm-hdfs/src/main/java/org/apache/storm/hdfs/bolt/rotation/TickTupleBasedClosingPolicy.java


Add sync-terriajs-dependencies gulp task.

This new task makes the package versions in the application's package.json match the ones in TerriaJS's package.json, for all dependencies that they have in common.

I've just restarted the travis build, which was showing as failing.

This is awesome!


How to deploy on vercel with nextjs

Deploying to vercel with nextjs is not working. Can you please describe the steps?

Hi Amit,
Thank you for using Burdy!
We deploy our application using SSG. Our Burdy application is hosted separately on DigitalOcean.
In case you would like to use SSR, you would need a custom infrastructure.
Vercel deployment is on edge and even if Burdy worked with Vercel deployment, the performance would be negatively impacted by distance of server from the database.
If you would like to host your application via SSR our suggestion is to use DigitalOcean or AWS.
Let me know if you need more details. Feel free to refer to documentation on our website for DigitalOcean deployment.


Update start time of the SDK Review meetings to +5min

Meetings should start at 2:05pm PT instead of 2:00pm PT

Thanks to https://github.com/Azure/azure-sdk-tools/issues/4554 we can do this change directly from the Admin app. We will wait until the fix is in PROD and then we will do this issue.
Moving to next release cycle

Fixed:


new wallet created in vulnerable state

Current behavior
Created a new wallet, closed neo-python, opened neo-python, tried to open the new wallet, I get the message:

neo> open wallet retrieve_issue_wallet
Could not open wallet: This wallet is currently vulnerable. Please execute the "reencrypt_wallet.py" script on this wallet before continuing

Expected behavior
new wallets should be in the final secure state from the moment we create them
How to reproduce
neo> create wallet retrieve_issue_wallet
[password]> **********
[password again]> **********

The help message can also be improved, as people might not know that the reencrypt_wallet.py script is located under ./neo/bin/
Your environment
Let us know in what environment you're running into the issue:

OS: OSX high sierra
neo-python version: 0.7.8-dev
Python version: (hint: python -V) 3.6.5

This issue was recently fixed, and I can't currently reproduce on dev.
Also, the wallet's were not created in a vulnerable state, but the persisted flag indicating it is not vulnerable was not being persisted.

I was in a rush for an appointment so didn't really investigate in depth, but I just tried again and it's not working 🤔
(venv) Eriks-Air:neo-python erik$ git show
commit 951de3a902a398ce6b178481e837ce96014affbd (HEAD -> CityOfZion/development, CityOfZion/development)
Merge: cfc8361 0cc9c03
Author: localhuman<EMAIL_ADDRESS>Date:   Tue Sep 18 10:20:29 2018 +0200

    Merge pull request #611 from CityOfZion/persist-reset-fix

    Persist reset fix

(venv) Eriks-Air:neo-python erik$ python neo/bin/prompt.py
[I 180919 15:05:32 LevelDBBlockchain:115] Created Blockchain DB at /Users/erik/.neopython/Chains/SC234
[I 180919 15:05:40 NotificationDB:73] Created Notification DB At /Users/erik/.neopython/Chains/Test_Notif
NEO cli. Type 'help' to get started

neo> create wallet test_wallet
[password]> **********
[password again]> **********
[I 180919 15:05:53 UserWallet:193] contract does not exist yet
[I 180919 15:05:53 UserWallet:539] Script hash b'E\xbb:a<\xd0\xd9\xfeo\xeb\x9c\xc2^\xf4oY\xa4x\x07\xf5' <class 'bytes'>
Wallet {
    "path": "test_wallet",
    "addresses": [
        {
            "address": "AN8aZZrnCoCBze7tnn95ySKvGc7s7eLejD",
            "script_hash": "45bb3a613cd0d9fe6feb9cc25ef46f59a47807f5",
            "tokens": null
        }
    ],
    "height": 0,
    "percent_synced": 0,
    "synced_balances": [],
    "public_keys": [
        {
            "Address": "AN8aZZrnCoCBze7tnn95ySKvGc7s7eLejD",
            "Public Key": "03835e5c5ff9582b893aad07de0d10b559c48371c9d8de95f7ee6001cd70794d6d"
        }
    ],
    "tokens": [],
    "claims": {
        "available": "0.0",
        "unavailable": "0.0"
    }
}
Pubkey b'03835e5c5ff9582b893aad07de0d10b559c48371c9d8de95f7ee6001cd70794d6d'
neo> exit
Shutting down. This may take a bit...
Closed wallet test_wallet
(venv) Eriks-Air:neo-python erik$ python neo/bin/prompt.py
[I 180919 15:06:14 LevelDBBlockchain:115] Created Blockchain DB at /Users/erik/.neopython/Chains/SC234
[I 180919 15:06:22 NotificationDB:73] Created Notification DB At /Users/erik/.neopython/Chains/Test_Notif
NEO cli. Type 'help' to get started

neo> open wallet test_wallet
Could not open wallet: This wallet is currently vulnerable. Please execute the "reencrypt_wallet.py" script on this wallet before continuing

and the reencrypt script also doesn't seem to work
neo> exit
Shutting down. This may take a bit...
(venv) Eriks-Air:neo-python erik$ python neo/bin/reencrypt_wallet.py test_wallet
[new password]> **********
[new password again]> **********
Looking for key MigrationState
The wallet is vulnerable, will proceed with the operation.
Looking for key MasterKey
Looking for key PasswordHash
Looking for key IV
A new wallet was created with your master key encrypted with the new password, with the name new_test_wallet. You can now open this new wallet with the new version of neo-python
(venv) Eriks-Air:neo-python erik$ python neo/bin/prompt.py
[I 180919 15:07:56 LevelDBBlockchain:115] Created Blockchain DB at /Users/erik/.neopython/Chains/SC234
[I 180919 15:08:03 NotificationDB:73] Created Notification DB At /Users/erik/.neopython/Chains/Test_Notif
NEO cli. Type 'help' to get started

neo> wallet open new_test_wallet
Please open a wallet
neo> open wallet new_test_wallet
Could not open wallet: This wallet is currently vulnerable. Please execute the "reencrypt_wallet.py" script on this wallet before continuing

will close for now as I can't seem to reliable reproduce it. First 4-5 tries it failed, now when I create a new wallet it works fine 🤔


Overide ClassName for Modal Component

Overide ClassName for Modal Component  not working at all?
any suggestion
example :
 <Navbar color="lightBlue" className="flex flex-wrap items-center justify-between py-2.5 px-3 mb-0">

I believe this is a duplicate of #51


[BEAM-11971] Fix directrunner timer consistency

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java PreCommit

Run Java_PVR_Flink_Batch PreCommit

R: @rezarokni

Run Java PreCommit

Run Java PreCommit

@reuvenlax - we rolled this back because several tests were failing #16748

Which tests were failing?
On Mon, Feb 7, 2022 at 3:04 PM Kyle Weaver @.***> wrote:

@reuvenlax https://github.com/reuvenlax - we rolled this back because
several tests were failing #16748
https://github.com/apache/beam/pull/16748
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/16650#issuecomment-1032023147, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAYJVPLXNAUMCN4QBXCZULU2BFYNANCNFSM5NCOGP3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


trouble with mapped network drive being recognized as a valid path

Expected Behavior
javinizer should run without errors in the path made in the settings file, which in my case is a mapped network drive with the letter Z (Z:)
Current Behavior
Warning thrown, Javinizer doesn't run
"WARNING: [Javinizer] Path [Z:\UnsortedJav] is not a valid path"
Steps to Reproduce (for bugs)
i recently updated this version from, i think 2.1.6 to 2.3.3 so it's possible i could have messed something up during the upgrade process. i manually re-edited the settings json myself to be closely similar to my original settings in 2.1.6
Your Environment

Module version used: 2.3.3
Operating System and PowerShell version: ps 7.1.0, windows 10 home 64-bit VM

Can powershell see your Z:\ drive? For example, can you do cd z:\ successfully?
This is sometimes an issue if you're running PowerShell in administrator mode and your network drive isn't mapped in an admin scope. If so, then switch back to a non-admin shell and try again.

Can powershell see your Z:\ drive? For example, can you do cd z:\ successfully?
This is sometimes an issue if you're running PowerShell in administrator mode and your network drive isn't mapped in an admin scope. If so, then switch back to a non-admin shell and try again.

oh yeah i got i figured out, thanks. something with administrator mode on all of my programs doesn't want to recognize mapped drives. seems like my VM has been causing me all sorts of issues lately


[Model Adaptor] Update readme

Only update readme, the related demo links will updated in next pr

Let's wait for @Jian-Zhang review this PR. Hi, Jian, this is PR for model adaptor README update

@xuechendi @Jian-Zhang Have updated according to Jian's refinement, please have a check and it's ready to merge.


[BUG] Generator asset fails to generate some UnityEngine types.

Describe the bug
Trying to generate types from the UnityEngine namespace doesn't work, or provides weird results. For example, in the case of UnityEngine.Camera some variable scripts are generated, but they are missing the Camera prefix. See screenshot below. In the case of UnityEngine.Grid it generates the subclass, GridLayout.
To Reproduce
Steps to reproduce the behavior:

Create an Atom Generator asset
Paste this line into the Full Qualified Name field
UnityEngine.Camera, UnityEngine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
or
UnityEngine.Grid, UnityEngine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

Expected behavior
Unity types are able to be generated via the Atom Generator asset
Screenshots
Results

Environment

OS: Windows 11
Unity Version: 2021.3.24f1
Version of Unity Atoms: canary branch

hm ... can't reproduce with unity 2022.2 and Atoms canary branch...

Fixed in #409


xgboost.core.XGBoostError array_interface.cu:44: Check failed: err == cudaGetLastError()

This is my simple code
from sklearn.datasets import load_iris
from sklearn.model_selection import train_test_split
import xgboost as xgb

data = load_iris()
X_train, X_test, y_train, y_test = train_test_split(data['data'], data['target'], test_size=.2)
print(X_train.shape, X_test.shape,y_train.shape,y_test.shape,)
dtrain = xgb.DMatrix(X_train, y_train)

This is the output and errors
(120, 4) (30, 4) (120,) (30,)
Traceback (most recent call last):
  File "...\xg_cuda_error.py", line 8, in <module>
    dtrain = xgb.DMatrix(X_train, y_train)
  File "...\Anaconda3\lib\site-packages\xgboost\core.py", line 726, in inner_f
    return func(**kwargs)
  File "...\Anaconda3\lib\site-packages\xgboost\core.py", line 890, in __init__
    self.set_info(
  File "...\Anaconda3\lib\site-packages\xgboost\core.py", line 726, in inner_f
    return func(**kwargs)
  File "...\Anaconda3\lib\site-packages\xgboost\core.py", line 954, in set_info
    self.set_label(label)
  File "...\Anaconda3\lib\site-packages\xgboost\core.py", line 1092, in set_label
    dispatch_meta_backend(self, label, "label", "float")
  File "...\Anaconda3\lib\site-packages\xgboost\data.py", line 1354, in dispatch_meta_backend
    _meta_from_numpy(data, name, dtype, handle)
  File "...\Anaconda3\lib\site-packages\xgboost\data.py", line 1295, in _meta_from_numpy
    _check_call(_LIB.XGDMatrixSetInfoFromInterface(handle, c_str(field), interface_str))
  File "...\Anaconda3\lib\site-packages\xgboost\core.py", line 284, in _check_call
    raise XGBoostError(py_str(_LIB.XGBGetLastError()))
xgboost.core.XGBoostError: [14:06:26] C:\buildkite-agent\builds\buildkite-windows-cpu-autoscaling-group-i-0015a694724fa8361-1\xgboost\xgboost-ci-windows\src\data\array_interface.cu:44: Check failed: err == cudaGetLastError() (0 vs. 4
6) :

The versions are
numpy                         2.0.1
xgboost                       2.1.1

and nvidia-smi shows
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 537.70                 Driver Version: 537.70       CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                     TCC/WDDM  | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  GRID A100-20C                TCC   | 00000000:02:00.0 Off |                    0 |
| N/A   N/A    P0              N/A /  N/A |      1MiB / 20480MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

on my other machine with a different NVIDIA card, different NVIDIA driver version and different CUDA version (shown below),
same xgboost code works just fine.
NVIDIA Driver Version: 546.59       CUDA Version: 12.3     NVIDIA RTX A2000 8GB

So is the NVIDIA version or CUDA version or xgboost an issue ?
Thanks for your help.

Hi, the error code 4 corresponds to cudaErrorInitializationError, according to CUDA's document:
The API call failed because the CUDA driver and runtime could not be initialized.

I can't be sure what's the cause yet. Maybe try to update the CUDA version to >= 12.4?

thanks for your quick response,
error code actually is 46, not 4
Check failed: err == cudaGetLastError() (0 vs. 46) :

Err, missed the next line. But still seems to be a CUDA issue:
    /**
     * This indicates that all CUDA devices are busy or unavailable at the current
     * time. Devices are often busy/unavailable due to use of
     * ::cudaComputeModeProhibited, ::cudaComputeModeExclusiveProcess, or when long
     * running CUDA kernels have filled up the GPU and are blocking new work
     * from starting. They can also be unavailable due to memory constraints
     * on a device that already has active CUDA work being performed.
     */
    cudaErrorDevicesUnavailable           =     46,

Thanks. I will see what can be done about that.

Feel free to reopen if there are further information.


Improve OSX Gstreamer-send example

I am trying to run the example of GStreamer-send in OSX but I am struggling to follow the mentioned docs.
The instructions for installing GStreamer in OSX are non-existent but I've managed to install it by using the direct packages in their website. (If anyone stumbles upon this and struggles due GStreamer not finding libffi, use Homebrew to install it, then locate libffi.pc and append the pkgconfig to your PKG_CONFIG_PATH).
The other required step to get the example working would be to copy the session description generated from JSFiddle (I assume? It isn't much clear in the docs) and pipe it to gstreamer-send.
Somehow, this step is failing on my computer. I've assured that I've run the go get github.com/pions/webrtc/examples/gstreamer-send command first, but still I am not being able to proceed.
Is there anything I might be missing out?
Thanks for such an awesome project.

Got it working.
Just needed to build with go build inside the package.

Hey @IvoPereira thanks for using pion WebRTC and the positive feedback :)
This feedback is great! I will update the instructions for using brew and installing GStreamer. If there is anything you think isn't documented well I would love to hear about it, I am pretty biased because I wrote things so data from others is super helpful.
thanks!


aws-sso-cli: 1.16.1 -> 1.17.0

Description of changes
https://github.com/synfinatic/aws-sso-cli/compare/v1.16.1...v1.17.0

move to by-name

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4251

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 326572 run on x86_64-linux 1

1 package built:

aws-sso-cli


[Enhancement]: List widget reskinning

https://www.notion.so/appsmith/List-4ef5910007254260b3fdb7c92b79594f

I am working on this widget for re-skinning. The estimated completion date is the 17th.
FIGMA

Tested this and LGTM

@jsartisan Raised an issue wrt list widget reskinning here: #17253


Segfault during GPU export of Reshape after importing model from ONNX

When you load a Reshape node, an OnnxReshape instance is created with custom logic for the torch.onnx export. (See https://github.com/ENOT-AutoDL/onnx2torch/blob/main/onnx2torch/node_converters/reshape.py#L32-L33 )
However, I'm getting segmentation faults when exporting the torch model using the GPU with this logic. Removing this if-condition (from the link above) entirely fixes the issue for me. What is the reason for this handling and is there a way around this or could it be extended to work with cuda too?
        if torch.onnx.is_in_onnx_export():
            return DefaultExportToOnnx.export(forward_lambda, 'Reshape', input_tensor, shape, {})

I'm running torch==1.13.1 and exporting with onnx opset 14. CPU export works fine but that's not really an option in my case unfortunately.
Standalone reproducer:
import os
import onnx2torch
import tempfile
import torch

class ReshapeModel(torch.nn.Module):
    def forward(self, x):
        return x.reshape(-1, 512)

def test_export():
    tmp_path = tempfile.mkdtemp()
    sample = torch.rand((1, 512, 1, 1))
    model = ReshapeModel()
    out_path = os.path.join(tmp_path, "temp.onnx")
    torch.onnx.export(model, sample, out_path)
    model_reconstructed = onnx2torch.convert(out_path)
    model_reconstructed.to("cuda")
    torch.onnx.export(model_reconstructed, sample, out_path)

if __name__ == "__main__":
    test_export()

Hi, @jan-haug!
I can't reproduce:
❯ docker run --rm --gpus all -ti -v $(pwd):/io pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime bash
root@7c0263e9a633:/workspace# cd /io
root@7c0263e9a633:/io# pip3 install onnx2torch
Collecting onnx2torch
  Downloading onnx2torch-1.5.6-py3-none-any.whl (115 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.6/115.6 kB 722.2 kB/s eta 0:00:00
Requirement already satisfied: torch>=1.8.0 in /opt/conda/lib/python3.10/site-packages (from onnx2torch) (1.13.1)
Requirement already satisfied: torchvision>=0.9.0 in /opt/conda/lib/python3.10/site-packages (from onnx2torch) (0.14.1)
Collecting onnx>=1.9.0
  Downloading onnx-1.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.5/13.5 MB 14.1 MB/s eta 0:00:00
Requirement already satisfied: numpy>=1.16.4 in /opt/conda/lib/python3.10/site-packages (from onnx2torch) (1.22.3)
Collecting protobuf<4,>=3.20.2
  Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 19.6 MB/s eta 0:00:00
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in /opt/conda/lib/python3.10/site-packages (from onnx>=1.9.0->onnx2torch) (4.4.0)
Requirement already satisfied: requests in /opt/conda/lib/python3.10/site-packages (from torchvision>=0.9.0->onnx2torch) (2.28.1)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/conda/lib/python3.10/site-packages (from torchvision>=0.9.0->onnx2torch) (9.3.0)
Requirement already satisfied: charset-normalizer<3,>=2 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision>=0.9.0->onnx2torch) (2.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision>=0.9.0->onnx2torch) (2022.9.24)
Requirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision>=0.9.0->onnx2torch) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision>=0.9.0->onnx2torch) (1.26.13)
Installing collected packages: protobuf, onnx, onnx2torch
Successfully installed onnx-1.13.1 onnx2torch-1.5.6 protobuf-3.20.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@7c0263e9a633:/io# python3 reshape_segfault.py
root@7c0263e9a633:/io#

What is the reason for this handling and is there a way around this or could it be extended to work with cuda too?

The reason is to ensure backward compatibility: ONNX -> PyTorch -> ONNX, sometimes converted PyTorch code is exported to ONNX as set of operations, not as original ONNX operation.
In other words it ensures the following: ONNX Gather -> PyTorch Gather implementation -> ONNX Gather.

I have reproduced the problem. Thanks for your report, I think the problem is in the C++ code, I'll try to debug it.

Thanks! FWIW, this also pertains to (some) other ops where a custom mapping is implemented in this way, for example Slice. So it doesn't seem to be specific to the exact operation the mapping is used in

Any update on this?

@jan-haug
We think that the problem is in the export mechanism of PyTorch, we are unlikely to be able to do something about it now.
Maybe in 2.0. export is better :no_good: .
Sorry for the late reply.


Functions returning TABLE types do not work

Version
1.11.0
What happened?
When a function returns a TABLE type, you get an "empty list" error or something like that. I'm sorry I saw this earlier today and don't have the exact output, but the repro below should work.
sqlc generate fails due to an error.
Relevant log output
No response
Database schema
CREATE TABLE accounts (
  id         INTEGER GENERATED ALWAYS AS IDENTITY PRIMAR KEY,
  username   TEXT NOT NULL UNIQUE,
  password   TEXT NOT NULL
);

-- this is a useless and horrifying function cause we don't hash
-- the password, this is just to repro the bug in sqlc
CREATE OR REPLACE FUNCTION register_account(
    _username TEXT,
    _password VARCHAR(70)
)
RETURNS TABLE (
    account_id   INTEGER
)
AS $$
BEGIN
  INSERT INTO accounts (username, password)
       VALUES (
         _username,
         _password
       )
    RETURNING id INTO account_id;

  RETURN NEXT;
END;
$$ LANGUAGE plpgsql;

SQL queries
-- name: Foo :one
SELECT * FROM register_account('a', 'b');

Configuration
No response
Playground URL
No response
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

Okay, some helpful progress, dumping the catalog.
The return type for this turns into pg_catalog.record, and the arguments have multiple parameters for each col type of mode == Table. I'm super new to this codebase, but my guess is you need to build a model for each possible function TABLE return type and then resolve to that.

Here's a rough diff I have so far that I think will generate model structs for function returns (lots of opinions in here I didn't know the answer to), but maybe helpful to get you on your way:
diff --git a/internal/codegen/golang/result.go b/internal/codegen/golang/result.go
index b213826..b0b9a52 100644
--- a/internal/codegen/golang/result.go
+++ b/internal/codegen/golang/result.go
@@ -10,6 +10,7 @@ import (
        "github.com/kyleconroy/sqlc/internal/config"
        "github.com/kyleconroy/sqlc/internal/core"
        "github.com/kyleconroy/sqlc/internal/inflection"
+ "github.com/kyleconroy/sqlc/internal/sql/ast"
        "github.com/kyleconroy/sqlc/internal/sql/catalog"
 )

@@ -95,6 +96,61 @@ func buildStructs(r *compiler.Result, settings config.CombinedSettings) []Struct
                        }
                        structs = append(structs, s)
                }
+
+         // Functions that return TABLE types need to have structs created.
+         for _, f := range schema.Funcs {
+                 var cols []*catalog.Argument
+                 for _, arg := range f.Args {
+                         if arg.Mode == ast.FuncParamTable {
+                                 cols = append(cols, arg)
+                         }
+                 }
+
+                 // If empty, this isn't a table type return argument.
+                 if len(cols) == 0 {
+                         continue
+                 }
+
+                 var tableName string
+                 if schema.Name == r.Catalog.DefaultSchema {
+                         tableName = f.Name
+                 } else {
+                         tableName = schema.Name + "_" + f.Name
+                 }
+                 structName := tableName
+                 if !settings.Go.EmitExactTableNames {
+                         structName = inflection.Singular(structName)
+                 }
+                 s := Struct{
+                         Table:   core.FQN{Schema: schema.Name, Rel: f.Name},
+                         Name:    StructName(structName, settings),
+                         Comment: f.Comment,
+                 }
+                 for _, column := range cols {
+                         tags := map[string]string{}
+                         if settings.Go.EmitDBTags {
+                                 tags["db:"] = column.Name
+                         }
+                         if settings.Go.EmitJSONTags {
+                                 tags["json:"] = JSONTagName(column.Name, settings)
+                         }
+                         s.Fields = append(s.Fields, Field{
+                                 Name: StructName(column.Name, settings),
+                                 Type: goType(r, compiler.ConvertColumn(&ast.TableName{
+                                         Catalog: column.Type.Catalog,
+                                         Schema:  column.Type.Schema,
+                                         Name:    column.Type.Name,
+                                 }, &catalog.Column{
+                                         Name:      column.Name,
+                                         Type:      *column.Type,
+                                         IsNotNull: false, // func args are always nullable
+                                         IsArray:   false, // parser can't currently detect this?
+                                 }), settings),
+                                 Tags: tags,
+                         })
+                 }
+                 structs = append(structs, s)
+         }
        }
        if len(structs) > 0 {
                sort.Slice(structs, func(i, j int) bool { return structs[i].Name < structs[j].Name })

This is fixed in v1.23.0 by enabling the database-backed query analyzer. We added a test case for this issue so it won’t break in the future.
You can play around with the working example on the playground


[Bug]: Docker Compose - Cant start Container

Is there an existing issue for this?

[] I have searched the existing issues

Description
I'm trying to create a local AppSmith Instance with the provided docker-compose.yml. After running docker compose up -d im getting following error and the container exits itself.
appsmith-ce  | /opt/appsmith/entrypoint.sh: line 136:    14 Illegal instruction     (core dumped) mongod --fork --port 27017 --dbpath "$MONGO_DB_PATH" --logpath "$MONGO_LOG_PATH"

OS: Linux docker 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux
Docker: Docker version 23.0.1, build a5ee5b1
Docker Compose: Docker Compose version v2.16.0
Steps To Reproduce

Create a docker-compose.yml with the provided content
Run docker compose up -d

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Self Hosted - Latest (v1.9.12)

Hey @sharat87,
thank you for the advice! Actually you were right. My Docker is running within a VM from Proxmox. The default processor dont expose the AVX instructions by default. You have to change the Processor Type to host so the AVX instructions are getting exposed to the VM.
The Container is now running successful. Thank you!

Got it. I didn't know that, thanks for sharing. 🍰

Can this be added to the community docs:

https://docs.appsmith.com/getting-started/setup/installation-guides/docker
https://docs.appsmith.com/getting-started/setup
I've been searching for it wondering what would be the issue only to find it in this closed GitHub issue. Maybe adding it to the entrypoint.sh would be nice as well


cmd/cue: JSONSchema import translates a definition with nested sub-definitions as being equal to top

Is your feature request related to a problem? Please describe.
I'm cue importing a specific JSONSchema document, and a "definition" that it contains is translated into an empty constraint, unifying it with top. (I'm filing this as a feature request as the emitted CUE isn't technically invalid or incorrect, but is merely unhelpfully unconstrained (modulo https://github.com/cue-lang/cue/issues/2698, filed in parallel with this, and which /feels/ unrelated)).
The source document is wget'd in the txtar repro, instead of including it here, as it's over a thousand lines long. The emitted CUE is <25% of that, but feels too long to embed in this Issue. I'll assume you can fetch, import, and view the emitted CUE.
exec wget -q https://raw.githubusercontent.com/buildkite/pipeline-schema/6396f68d5e983e0d2acbf829c565027a4cfd69bc/schema.json
exec cue import schema.json
exec grep commonOptions: schema.cue
cmp stdout the-only-constraint.txt
-- the-only-constraint.txt --
#commonOptions: _

Describe the solution you'd like
I'd like cue import to delve deeper into the contents of commonOptions and include its constraints in the CUE that's emitted.
Describe alternatives you've considered
I've considered hand-cranking a schema.
Additional context
commonOptions contains several different fields which are used as isolated containers for constraints,  referenced elsewhere in the source document. cue import appears to correctly figure this out, emitting references to contained sub-fields that should be expected to exist inside commonOptions.
IIRC @myitcv suggested the possibility that it's the "$ref" use of a field inside commonOptions (and not directly referencing a top level JSONSchema "definition" such as commonOptions itself) that's prompting cue import to emit the useless top level _ constraint and to omit the constraints contained within the definition's member fields.

The reason for this is that definitions should contain a list of schemas, but commonOptions is not a schema: it's a map that contains schemas. In general, referring into non-schemas is (not necessarily supported](https://json-schema.org/draft/2020-12/json-schema-core#section-9.4.2), and if we see an arbitrary map entry that's not a keyword, it should be ignored.
That said, the new refactored reference implementation does generate schemas for internal structure that's been referred to directly within the schema itself, and this does indeed in this case result in the definitions in commonOptions being defined, albeit in a private field. Initially it won't be possible to change that on the command line, but it certainly could/will be in the future.

@rogpeppe - could/should we be suggesting an upstream fix in this case?

@rogpeppe - could/should we be suggesting an upstream fix in this case?

Yup. As it turns out, I've actually done that already - I just forgot that that fix was for this particular schema :)

@jpluscplusm @rogpeppe - please can you confirm if there is anything outstanding here therefore?

The only outstanding thing here is that there's currently no way on the command-line to specify that all subschemas are made available as part of the API. It should be possible to work around that shortcoming in this particular case by adding some code in the same package, but I've created #3628 to track the more general request.
I'll close this as fixed for now.


[Bug] Inconsistent cursor behaviour in comment mode

We have an inconsistency in how the cursor interacts with widgets. Some widgets still work, while most don’t.In the comment mode, I can still interact with the table columns, tabs, but not with other widgets with actions. I think disabling interaction everywhere does make sense but I was hoping we could let users leave comments on the dropdown list for example.

Stats

Stat
Values

Reach
23

Effort (months)
1


how to detect all objects in the image?

You can try to use RAM or LLaVA for phrase generation and then use the generated results as input for grounding. If this requirement is urgent, we will consider supporting it in demo.

You can try to use RAM or LLaVA for phrase generation and then use the generated results as input for grounding. If this requirement is urgent, we will consider supporting it in demo.

We will consider supporting Grounding DINO 1.5 API in Grounded SAM with this function


Imagescan Rebuild: 2021-09-22

Rebuilding imagescan for open-cluster-management/search-aggregator repo.

Rebuild for the issue: https://github.com/open-cluster-management/backlog/issues/16398

Closing the PR since the vulnerability has been closed and resolved.


Remix bug with oblivion

Describe the bug

all player models and npc models are stretched out towards lights and invisible world cameras  game dosent crash I don't have the logs on my phone

Attach logs!

NvRemixBridge.log
d3d9.log
The game specific log will be named gamename_d3d9.log

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

yes and can confirmed, it does not use dxvk as stated in this, why it was compatible with the portal dlls, which used dxvk and thus the repros being released now do not. it can be reproduced. Try the portal ones for yourself, look at the logs. Go to the repros released after try those and compare trex folder remix logs.

yes and can confirmed, it does not use dxvk as stated in this, why it was compatible with the portal dlls, which used dxvk and thus the repros being released now do not. it can be reproduced. Try the portal ones for yourself, look at the logs. Go to the repros released after try those and compare trex folder remix logs.

the reason it needs dxvk is because of the render issues

We fixed an issue I think is related to this in the commit: https://github.com/NVIDIAGameWorks/dxvk-remix/commit/f3cb674467e24bdf4576e6ab608cac543febc469


HUE-3989 : [oozie] Hue doesn't work with oozie in secure way as it miss a required param in all its call to oozie

@romainr : fyi

You probably have configuration issue, user.name will come from the kerberos ticket in secure mode.
Could you detail more your problem?

More details :

http://community.cloudera.com/t5/Web-UI-Hue-Beeswax/Hue-oozie-integration-not-working-in-secure-mode/m-p/41311#U41311
https://issues.cloudera.org/browse/HUE-3989

Basically , in secure mode I am able to connect to hdfs / yarn / hive etc from hue but not with oozie from hue. When I added a log statement for every oozie call that is made from hue to oozie , I see user.name to be missing.I retraced and found that in the hue code we have condition that don't add user.name when it is a secure mode and hence I removed that condition in this pull request.
Earlier there were errors coming in both the cases that is when I click on oozie workflow and  when I load admin config page of hue where it shows which of the connected apps are down, it was showing oozie down even though it was up. Now after fixing the code both the issues are resolved.
Are you looking for any specific info, then I can look for that ?


Fix: ci-vagrant

Fix: Vagrant box was failing to install. Set the version differently.
Fix: Jenkins apt-key was failing. Updated this.

Many thanks @codep0tato - LGTM!
I'll look into updating and testing the latest Ubuntu box version tomorrow (UK time). The current one is quite old, as I worked on this pre-holidays, and wasn't sure when the accompanying book would be released


Any way to make good polygons from dirty data?

This is really an issue of dirty data rather than anything to do with GEOSwift, but...
I have an application that uses data provided by the FAA. It includes, among other things, various airspaces (sections of the sky) that are allocated for use by the military. My application draws those spaces on a moving map, helping pilots of recreational aircraft avoid unwanted interactions with mlitary aircraft.
Most of the data is good, but I have a few items that arrive in an XML format that apparently does not require the last point in a polygon match the first point in the polygon. That data gets converted in Spatialite, then gets extracted as GeoJSON text which gets serialized into a dictionary and then turned into a geometry object:
    func convertToDictionary(text: String) -> [String: Any]? {
        if let data = text.data(using: .utf8) {
            do {
                return try JSONSerialization.jsonObject(with: data, options: []) as? [String: Any]
            } catch {
                return nil
            }
        }
        return nil
    }

    func getGeometries(json:String) -> [Geometry]? {
            if let dictionary = self.convertToDictionary(text: json) {
                if let geometries = Geometry.fromGeoJSONDictionary(dictionary as Dictionary<String, AnyObject>) {
                  return geometries
                }
            }
            return nil
    }

When this gets one of the JSON strings with an unclosed polygon, it fails. Understandable - the data doesn't conform to the GeoJSON rules. This results in lots of this:
14:28:42.584 - No geometries for MAXWELL 1 MOA, CA
GEOSwift # IllegalArgumentException: Points of LinearRing do not form a closed linestring.
GEOSwift # Shell is not a LinearRing.

So my question: is there any way to get GeoSwift / GEOS to automagically close unclosed polygons, or am I going to have to scrub the data manually?

Hi @ssokol. This problem seems specific to your use case, so I think scrubbing the data before you feed it into GEOSwift makes sense to me. I’m going to close this issue for now.
Sent with GitHawk


feat(playground): visualize symbols and scopes

It would be nice to see symbol and scope information on the playground, ideally adding a new view for it https://oxc-project.github.io/oxc/playground
See https://github.com/oxc-project/oxc/tree/main/website for instructions

Wow, so looking forward to this, it will help me to write linter rules and understand OXC. I don't know the difference between symbols and scopes yet!

The link is broken since the oxc has been transferred to oxc-project

Could be related to https://github.com/oxc-project/oxc/issues/1227. Maybe they could share the same code.


No mention of snap_proxy in README

README documentation could do with updating as Proxy Configuration has no mention of snap_proxy configuration option which is required when deploying behind a HTTP proxy.

When #269 is landed it will negate the need to perform this.
I'll leave this open as its a good call out for the current condition of the charms.


Added missing translation for event participation, closes #554

This is strange. My local rake task does not find any missing translations. But the one on the ci does. Can someone help me to investigate this?

Lokal kriege ich den gleichen Fehler, und:
% i18n-tasks missing                                                                                !10014
Missing translations (4) | i18n-tasks v0.7.10
+--------+-----------------------------------+----------------------------+
| Locale | Key                               | Details                    |
+--------+-----------------------------------+----------------------------+
|   de   | subscriptions.delete.confirmation | You no longer participate. |
|   de   | subscriptions.push.confirmation   | You now participate.       |
|   en   | single_events.delete.confirmation | Du nimmst nicht mehr teil. |
|   en   | single_events.push.confirmation   | Du nimmst jetzt teil.      |
+--------+-----------------------------------+----------------------------+

Weiter habe ich da nicht reingeschaut, hilft dir das?

Das sollte eigentlich von 4d6d626 repariert werden :disappointed: .

Was du committest wollte ich gerade schreiben.
Anmerkung: Ich wäre dafür explizit {delete,push} statt einmal alles * zu nutzen.

Okay, Found the problem. Pebcab

What. The keys seem to be unused and missing at the same time on my setup sigh

Soooo, I don't know why glebm/i18n-tasks seems to recognizes those 4 keys as missing and unused, but well, it works like this.
I'd like to rebase this, objections?

Nope, go ahead.

I opened glebm/i18n-tasks#127 to ask for help on this, I don't want to block on this though and would rather have a strange i18n-tasks config instead of missing the keys.

This is rebased and can be reviewed and if applicable merged once the CIs are through.


[ISSUE #3680] Add shenyu-client-http-springmvc unit test

Hi, community
I have finished unit test "shenyu-client-http-springmvc".
see Issues #3680
please review code.

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3681 (9cbdf6c) into master (59e7a95) will decrease coverage by 0.32%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3681      +/-   ##
============================================
- Coverage     62.96%   62.63%   -0.33%
+ Complexity     5878     5854      -24
============================================
  Files           902      904       +2
  Lines         24609    24743     +134
  Branches       2229     2252      +23
============================================
+ Hits          15494    15497       +3
- Misses         7715     7836     +121
- Partials       1400     1410      +10

Impacted Files
Coverage Δ

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
75.00% <0.00%> (-25.00%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

...nyu/plugin/motan/cache/ApplicationConfigCache.java
52.00% <0.00%> (-5.00%)
:arrow_down:

...che/shenyu/admin/model/vo/DashboardUserEditVO.java
60.86% <0.00%> (-4.35%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
59.57% <0.00%> (-4.26%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
85.71% <0.00%> (-4.09%)
:arrow_down:

...he/shenyu/plugin/grpc/client/ShenyuGrpcClient.java
8.00% <0.00%> (-4.00%)
:arrow_down:

...ging/rocketmq/client/RocketMQLogCollectClient.java
58.00% <0.00%> (-4.00%)
:arrow_down:

... and 25 more

Continue to review full report at Codecov.

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

I will review it later.


Rafs config v2 compatibility

Nydusd that is started and configured by v1 config file has a deserialization problem.
nydusctl --sock /var/lib/containerd-nydus/socket/ce4qur458hm6mgircbag/api.sock info

Version:                "v2.1.0"
Status:                 "RUNNING"
Profile:                "release"
Commit:                 "9a3e2698380aed15da223523775b7666dadfd907"
Instances:
	Instance Mountpoint:  /1118
	Type:  Rafs
	Mounted Time:  2022-12-05 7:54:06.454605712 +00:00:00
Error: Invalid argument (os error 22)

Could you please help to attach an configuration file generated by snapshotter? So we can add a unit test case for it.

{
"device": {
"backend": {
"type": "registry",
"config": {
"readahead": false,
"host": "",
"repo": "vke/golang",
"auth": "",
"scheme": "https",
"proxy": {
"fallback": false
},
"timeout": 5,
"connect_timeout": 5,
"retry_limit": 2
}
},
"cache": {
"type": "blobcache",
"compressed": true,
"config": {
"work_dir": "/var/lib/containerd-nydus/cache",
"disable_indexed_map": false
}
}
},
"mode": "direct",
"digest_validate": false,
"enable_xattr": true,
"fs_prefetch": {
"enable": true,
"prefetch_all": true,
"threads_count": 8,
"merging_size": 1048576,
"bandwidth_rate": 0
}
}

It turns out the the configuration v2 doesn't support an empty host.
So is it legal to have an empty device.backend.config.host?
The failure get fixed by setting a value to host, such as "localhost".

@changweige with the master, I can't reproduce the issue anymore.
root@liujiang-ecs-dev:~/ws/image-service.git# target/debug/nydusctl --sock /var/lib/containerd-nydus/socket/cf3rgoupavj0bc7q791g/api.sock info
Version:                "v2.2.0-rc.1-13-g99ba5000"
Status:                 "RUNNING"
Profile:                "debug"
Commit:                 "99ba5000a734315ac8549c8ec21cebfc61d26e7f"
Instances:
Instance Mountpoint:  /
Type:  Rafs
Mounted Time:  2023-01-30 2:29:04.387481445 +00:00:00
Mode:  direct
Prefetch:  true
Prefetch Merging Size:  0


ability to track progress of video during play, pause, and stop events

This PR will allow for tracking the progress of the video during the play, pause, and stop events. This is done by utilizing the event.value field. This is done by passing one of the below values in the configuration.
values:
true: does not track the progress
'time': tracks the current progress in seconds
'percent' tracks the current progress in percent completed

Thank you for your contribution!
Can you send this PR to the development repository? This is only for distribution, sorry!
https://github.com/videogular/videogular

No need to do the PR, I'm merging manually :smile:

Awesome, Thanks for your quick response, and great plugin.


COOK-44 Move compression libs to helper recipe

HDP ships LZO, so create a common recipe for compression libraries which aren't actually a part of Hadoop.

LGTM


Link to view example code for playground are broken.

Change Type
Correction
Proposed Changes
The link to view source code at https://www.shadcn-svelte.com/examples/playground are broken and gives 404.
They are currently leading to https://github.com/huntabyte/shadcn-svelte/tree/main/apps/www/apps/www/app/examples/playground
Update link to https://github.com/huntabyte/shadcn-svelte/tree/main/apps/www/src/routes/examples/playground

Hey thanks for pointing that out, feel free to open a PR if you have the time!


Product QA 3.2

Going through the docs...

Docs should not have external and discovery ports anymore
Peers list on the CLI is too long, visually unappealing
Faucet bot need to be up for requesting funds
Will we have echo service up for this release?
In Creating an Account, we should specify that you will need to specify a password for the account. We need to remind people to save this password so they can unlock in the next step.
Participating in Consensus: are we going to have a list of accounts that people can delegate to if they want to?

Closing this issue as it is stale for a long time.


cloudapi: Replace upload types with image types

Because there's only a few combinations of upload types and image types
that make sense, enforce correct combinations by eliminating upload
types.

I added the uploadTypes back in, as they're needed in the uploadstatus.

opened https://github.com/osbuild/osbuild-composer/issues/1854 to deal with the GCP region; we'll drop bucket at some point.


ApiCreateArtifactRequest only allows a body of type *os.File

Multiple body types are supported by setBody called by APIClient.prepareRequest, but the top level ApiCreateArtifactRequest.Body only accepts *os.File rather than interface{}

This is happening because the FileContent schema format is "binary" which OpenAPI Generator translates into os.File. (see here) This is how OAS expects file uploads to be handled: https://swagger.io/docs/specification/describing-request-body/file-upload/

Files use a type: string schema with format: binary or format: base64, depending on how the file contents will be encoded. For example:

setBody supports any type because it is generic and used by all API request methods which is why there is a difference in the types.
@EricWittmann what do you think? Are we expecting to be able to support non file uploads here? If so maybe the format should be changed in the OAS.
@acranbury As a workaround you could create a temporary file to put your contents into and use this to create the artifact?

I've implemented the workaround and it's working for creation/deletion of artifacts, but I'm running into a similar issue for GetArtifactVersion. GetArtifactVersionExecute passes &localVarReturnValue which is a ***os.File into Client.decode, which is looking for a **os.File instead.
Maybe binary FileContent is being incorrectly translated to *os.File rather than os.File?

Are we expecting to be able to support non file uploads here? If so maybe the format should be changed in the OAS.

Yeah I would expect we should support passing in the artifact content in any number of ways.  In java I would expect something like an InputStream.  Not sure what would make sense for Go.  Or alternatively having multiple variants of the same method that accept various types of inputs (string, file, etc).
I don't know enough about Go to comment on the *os.File vs os.File suggestion.

I modified the source of GetArtifactVersion to return *os.File instead of the generated **os.File and it works as I expect. Without the modification I get back nil instead of anything useful.

We're working on a solution to this currently, it might take a few days but hang tight! We really appreciate your feedback on this!

Why not using an interface like fs.file which would allow to use something else than real files?

This SDK is generated automatically using the OpenAPI Generator project. This maps binary types in OpenAPI to os.File. To fix that we would need to contribute a fix/improvement to this project or eject from their templates to go with our own. We have a fix in progress but it requires lots of testing to ensure backwards compatibility and we will also need to update other dependant projects.

Awesome @craicoverflow let me know if I could help somehow. Good luck!

Fix is out in v0.4.0


Document upserts

We do use ON CONFLICT in https://docs.citusdata.com/en/v7.0/sharding/data_modeling.html#events-with-roll-ups
@sumedhpathak anything else we want to add in other parts of the docs?

This does look like it's still a valid issue. There are no ON CONFLICT clauses in the real-time use case guide. https://docs.citusdata.com/en/v7.3/use_case_guide/real_time_dashboards.html


Imports with . and no explicit file extension no longer work

Acknowledgements

[X] I read the documentation and searched existing issues to avoid duplicates
[X] I understand this is a bug tracker and anything other than a proven bug will be closed
[X] I understand this is a free project and relies on community contributions
[X] I read and understood the Contribution guide

Minimal reproduction URL
https://github.com/Jiralite/tsx-4.15.8-1
Problem & expected behavior (under 200 words)
Imports with a . in them fail to resolve without an extension. This worked fine in 4.15.7 and before, but not with https://github.com/privatenumber/tsx/releases/tag/v4.15.8 which was recently released.
Bugs are expected to be fixed by those affected by it

[ ] I'm interested in working on this issue

Compensating engineering work will speed up resolution and support the project

[ ] I'm willing to offer $10 for financial support

I can confirm this is happening here to. We are using in our package.json the script:
"scripts": {
   "dev": "pnpx tsx ./server.js",
   ...

}

Which automatically uses the latest tsx, our code works perfectly with v4.15.7 but now, without having touched anything, it stopped working.
I understand that the way we were using tsx would have blown on our faces anyway, but maybe some other people is getting caught by this and they don't automatically update their tsx dependency.
So at least you should have bumped a major version, as this is a breaking change.

:tada: This issue has been resolved in v4.15.9
If you rely on this project, please consider making a donation :heart: :pray:

As per the Contributing Guide, I've hid comments that don't contribute towards fixing the bug.


Database [Advanced]

[ ] Code API basic methods
[x] Code user login / password

User login / password temporarily done, later need to make auth throw other server (firebase)


tooltip in navbar doesn't work

Tooltip doesn't appear when is in navbar.
JS
$(document).ready(function(){
	$("[data-toggle='tooltip']").tooltip();
});

HTML

		      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-menu">
		        Toggle navigation

		      </button>

dobrze opisane oferty nieruchomości

					Dodaj ofertę

The line

works when is in body.

The navbar component has some very specific markup structure requirements, and yours looks a bit wonky (e.g. navbar-nav should be on a
 rather than a
).
Tooltips seem to work fine with correct navbar markup: http://jsbin.com/kulape/1/edit
Fully debugging the errors in your navbar's structure for you is outside the scope of this issue tracker. Use the examples in the docs (http://getbootstrap.com/components/#navbar) as your guide for what's valid, and/or ask on StackOverflow. Thanks!

Hi @cvrebert!
You appear to have posted a live example (http://jsbin.com/kulape/1/edit), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

W002:  is missing X-UA-Compatible <meta> tag that disables old IE compatibility modes
W003:  is missing viewport <meta> tag that enables responsiveness

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

I found it's because ```ui-view="menu"````
AngularJS do something magic ( i don't have any idea what ) what disturb tooltip.

When using Angular, you should generally use an Angular reimplementation of Bootstrap's JavaScript, such as http://angular-ui.github.io/bootstrap/ , rather than Bootstrap's jQuery plugins.


Address sanitizer on clang linux

will turn off memory leak checker automatically

Coverage remained the same at 99.833% when pulling b961c91f7653368dca56e8d273d969c458986031 on basvodde:master into 0cabd9ff7af9c5ee9ad25d668bd3b7d694ee5176 on cpputest:master.


Update _nav.scss

Description
Add in a cursor: pointer style update for the theme switcher.
Checklist
Yes, I included all necessary artefacts, including:

[x] Tests
[x] Documentation
[x] Implementation (Code and Ressources)
[x] Example

Testing Checklist
Yes, I ensured that all of the following scenarios were tested:

[x] Desktop Light Mode (Default)
[x] Desktop Dark Mode
[x] Desktop Light RTL Mode
[x] Desktop Dark RTL Mode
[x] Mobile Light Mode
[x] Mobile Dark Mode
[x] Mobile Light RTL Mode
[x] Mobile Dark RTL Mode

@mcspud Can you take of the issue?


Insert el before target - Uncaught TypeError: Cannot read property 'parentNode' of null

Issue:
I've a component repeated seven times, outputing a list for each day of the week. I'm using a drag and drop library so users can drag from one list to the next. It mostly works. When users rearrange the list, I use underscore to update the order of the data object so that problems solved.
However when a list that had items on it is cleared (completed or deleted tasks) and a new item is added/dragged to that list I see this error:
Uncaught TypeError: Cannot read property 'parentNode' of null
And the console points me to this:
 * Insert el before target
 *
 * @param {Element} el
 * @param {Element} target

exports.before = function (el, target) {
  target.parentNode.insertBefore(el, target)

target is null.
Vue version: 1.0.0-alpha
Am working on a repo however any idea what may be the cause given the above info?

This really depends on the drag and drop lib you are using, because v-repeat/for's render mechanism my be in conflict with what the 3rd party lib is trying to do.

Closing (no repro)


chore(release): v1.1.0 🎉

:robot: I have created a release beep boop
1.1.0 (2023-07-16)
Features

init: initialize based on simple-in-memory-cache (8c98e48)

Bug Fixes

cicd: reference correct npm auth token (7d29c1f)
cicd: remove publish-on-tag action in favor of publish (ef056f9)
deploy: bump commit version (b6c02b7)
deps: bump to latest best practices (6bb1561)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/simple-in-memory-queue/releases/tag/v1.1.0 :sunflower:


Configuration file

Hi,
Would you consider adding support for a configuration file ?
A simple ini-type file that allows setting defaults for the command line flags would be nice, as I basically only use dvtm with the -c flag, and don't want to litter my shell with a dedicated alias (or recompile it every-time there's a new version out). I also like to version my configuration files with vcsh so I can deploy my dot files easily to a new system, and I can't do that with dvtm at the moment because I would have to recompile dvtm on every system I want it on.
Thanks.

Could you be a bit more specific what you would like to store in such a configuration file? Why don't shell aliases or a simple wrapper script work for you? I assume your shell configuration file is already under version control, hence these should be easy to deploy?
Generally I'm hesitant to add the complexity for a configuration file parser. For smaller projects like dvtm  compile time based configuration (i.e. config.def.h) using the C pre-processor should be sufficient. This also forces us to chose good default values. Besides that, the most important options are already runtime configurable via command line switches (e.g. -m ^a to the change the command key modifier). For  projects which justify more extensive configuration (such as my editor) I settled for Lua. Again, this avoids a custom parser and gives you a lot of flexibility. However, for dvtm this is probably already overkill.

I do versioning on a per-project basis, where all the tools I use have their own repository. I could add an alias to my shell's configuration file but like I said in my previous post I don't like to introduce aliases that have side effects (such as setting configuration variables, as opposed to making typing commands less hard).
Also if I were to deploy a particular configuration of dvtm on several machines with multiple users, things would be much easier if all I had to do was a pull of a repository dedicated to dvtm containing a custom dvtm.cfg, as opposed to modifying the configuration of all the available shells on the system (or compiling a customized version).
I could use a wrapper script, but it looks more like a consequence of not having a configuration file rather than an alternative to having one. That also makes it hard for multiple users to use the same program with different settings, so a configuration file would nullify those issues (which again occur because there's not configuration file).
I get where you're coming from, in theory a single user can get away with a compile-time configuration, but leaving that scope turns the lack of file-based user independent configuration settings into an inconvenience. Hence my proposal to have a configuration file in ${XDG_CONFIG_HOME}/dvtm/config. I'm particularly interested into the cmd-fifo option, it'd be convenient to provide a format used to generate a semi-random name for the FIFO (so that multiple instances of dvtm don't end up using the same command FIFO).
Cheers.

vis has both a configuration file in lua, and default keybindings in the config.h.  Maybe dvtm could have the same kind of configuration.
By adding more actions to the config.h by default, and creating the command FIFO by default.  This would make a binary install of dvtm (through package manager) still customizable.
The tweaking of the config.h would still be useful to add more actions available in the startup file.  Maybe even with contributions back to dvtm like for #35.
Maybe we could go with a simple shell script sourced at startup from dvtm-status after all FIFOs creation, with calls to some dvtm-cmd.
Their arguments would be executed by being piped through the dvtm command FIFO.
A shell script could even implement this all.

I also like to version my configuration files with vcsh so I can deploy my dot files easily to a new system
...
things would be much easier if all I had to do was a pull of a repository
...
I could use a wrapper script, but it looks more like a consequence of not having a configuration file rather than an alternative to having one. That also makes it hard for multiple users to use the same program with different settings

If I understand correctly, a wrapper script would suit your use case perfectly fine; the problems you've stated only apply if you create a system wide wrapper. You can, of course, just create a wrapper for dvtm that exists in your versioned dotfiles and will be just as easy to pull as a config file.
Add a folder .bin to your dotfiles and add that folder to PATH in your .profile. Create your dvtm wrapper there. Now you have a config in your dotfiles which does not require recompiling or otherwise intefering with a multi-user system.

Or you can also have dvtm compiled and installed in ~/.local/bin or equivalent and backup your config.h in your dotfiles.
And it’s not like dvtm is big (70~90K for amd64) and takes time to compile(less than 1s).

Those workarounds are all great but they're not solutions that would make everything so much easier when deploying the software, not just using it on a single personal machine.

Going by your own mention of using a wrapper script, I had assumed you were using vanilla dvtm. If that's the case, my suggestion is the literal equivalent of a config file; it is just as easy as having a config.
If you're not using vanilla dvtm, backing up your dvtm binary in dotfiles as @lenormf suggested is just as easy as a config, too.
I also consider the 'ease of deploying' a program from source the responsibilty of the distro or your build environment. With something like ArchLinux ABS or FreeBSD ports, I can use a config.h as easily as I can use a config...

I made a script to compile a programs in ~/.local from simple recipes with this format:
# 1 line description

tar=http://github.com/martanne/dvtm/master/archive.tar.gz

# This is optional as the default build function can totally build dvtm
build()
{
    cp ~/.config/dvtm/config.h ./config.h
    make PREFIX="$PREFIX" install
}

If you want to use local libraries, man pages and include headers, you have to source this very same script on your .profile.
You can add recipes in ~/.local/share/build, each one with the name of a package.
Here are my recipes

When I say 'vanilla dvtm in a wrapper script' I mean installing dvtm from your distro's package manager, and placing a script named 'dvtm' on your PATH which contains your preferred switches.
$HOME/.local/bin/dvtm
#!/bin/sh
/usr/bin/dvtm -M "$@"

Ah, my bad.  Thank you for explaining.


Develop branch build fail

After recent last update of develop branch it does not more build successfully on my machine:
https://gist.github.com/luckychess/47e8df7a1d0f494f78fb7975dfd9f725
I use Gentoo Linux, cmake 3.7.2, gcc 5.4.0. Master branch builds fine and 2-days-ago develop also builds fine. I removed flatbuffers library I had in my system and did a git clone into new directory but without any effect. Any ideas?

It was a problem with old gRPC. Fixed it in a next way:
$ git clone -b $(curl -L http://grpc.io/release) https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
$ make
$ [sudo] make install


Update versioning documentation for .NET Core 2.1

This change updates and clarifies how we version .NET core starting with .NET Core 2.1.
This should only be merged in sync with other .NET Core 2.1 documentation.

Duplicated by existing topic #4352

Duplicate of #4352


io_uring: io_submit_state_end does not flush overflow cqes

I've noticed this in the 5.19 kernel, that for small cqrings that cause overflow, that:

advancing the cqring
submitting some sqes
enough sqes from the comp_list (that were just submitted) fill up the cqring
cq overflows never flushed
and the cqes in the cq_overflow_list are starved
This is true even if IORING_ENTER_GETEVENTS is set

I haven't tested this on the Linux 6.1 kernel but I have checked the source code (sync'd with master on github's remote) for any changes (that I could notice without spending too much time) and I believe it may still be affected.
I'm not sure if this is intentional, but a solution for userspace on older kernels would to be call getevents without submitting, then call again to submit.

This isn't a liburing issue but I am not familiar with the linux kernel mailing list

If I understand correctly, on every loop you are submitting more which produces enough CQEs to fill the CQ ring, and so the overflows never get into the CQ ring?
If so this is a little bit expected, in that overflows are very much the slow path. Ideally your application should never have overflows.
Periodic get_events, if io_uring_cq_has_overflow() returns true would fix this, or alternatively if you change the completion loop to peek again after advancing the pointer.
By the way - there is a new change (in 6.1) that will always overflow CQEs while there are any, which is useful to protect CQE ordering, but will in actuality probably slow down this case as all CQEs will go via the overflow ring: https://github.com/torvalds/linux/commit/aa1df3a360a0c50e0f0086a785d75c2785c29967

Also it would be nice (though I don't know the side effects) if instead of alloc'ing a cqe overflow, the req is just simply put in the comp_list and the req is released when the cq entry is posted. That way, for example a lost cqe that was supposed to carry a file descriptor can be gracefully closed

I think we can do something like this with IORING_SETUP_DEFER_TASKRUN, but it requires a bit of thought and might need to be opt in. My general idea is to only run IO if there is space for completions and so you should in general not hit overflows (except for with multishot)

If I understand correctly, on every loop you are submitting more which produces enough CQEs to fill the CQ ring, and so the overflows never get into the CQ ring?

Yes, this is correct. The application processes an event and immediately queues another up, before processing the next cqe. After the sqring fills up, submit has to be called before processing of cqes can continue. I usually use cqring sizes of 65536 but but noticed that a smaller one causes this issue.

Ideally your application should never have overflows

That does make sense, as 65K is more than I think can be handled by a single thread

there is a new change (in 6.1) that will always overflow CQEs

It looks like it fixes the issue
Thanks

From what I see, io_submit_flush_completions doesn't attempt to flush any cqes?
That would mean even if GETEVENTS was set and there was a single overflow but the cqring has enough space, it would still
fill the comp_list in the overflow.
Since 5.19 tries to fill in cqes even without GETEVENTS, I think 6.1 should copy the behavior and try to flush any overflow in the submit path.

From what I see, io_submit_flush_completions doesn't attempt to flush any cqes?

yeah - that is only for batching the completions that happen straight away in submits. batching here is a decent perf win.
GETEVENTS will flush overflows. my suggestion is to call GETEVENTS before submitting until you have fully flushed completions.
I think it would probably be reasonable for liburing to provide a "best practice" helper for all of this. something like
int io_uring_process_cqes(struct io_ring *ring, void (process_cqe*)(struct io_uring_cqe *cqe, void *data), void *data);

5.19 tries to fill in cqes even without GETEVENTS

it does not flush overflows I believe?

it does not flush overflows I believe?

no, but it does fill in some completed cqes

my suggestion is to call GETEVENTS before submitting until you have fully flushed completions

Yeah that would probably be best


Update Nano S SDK, LLVM and Ubuntu versions

Nano S SDK 1.5.5 still can compile apps with CX_COMPLIANCE_141

Thanks for the contribution!
Sorry, could you just explain what you mean about compatibility?
Will this change break existing default behaviour? Will this change target more recent Ledger firmware versions by default?

Will this change break existing default behaviour?

No, everything should work as it was before

Will this change target more recent Ledger firmware versions by default?

Not sure about default to be honest. I've never tried to compile using updated SDK without using CX_COMPLIANCE_141 (is it even possible?) and running app on Ledger with BOLOS 1.4.

Ah, ok, so CX_COMPLIANCE_141 is set in the project. I thought it was something that we needed to document and get users to manually pass into the Docker env or something.
If it's used in the default Ledger makefiles then that's fine, we don't need to document it.

Thanks!

Pushed to Docker Hub.

Pushed to Docker Hub.

@lukechilds thank you! ❤


[consoleApp] [Manage] Updating permissions of newly created roles via console fails

Describe the issue:
Updating permissions of newly created roles via console fails
How to reproduce:

Access https://localhost:9443/console as the super tenant admin
Go to Manage > Roles  and create a new Role
Go to Manage > Roles > {New Role Name} > edit option > Permissions tab > Select some permissions > Update
Go to another tab and return

Observation:
UI says changes updated successfully. If you go back and see updated permissions are not available.
Environment information:

Product Version: IS 5.11.0-Beta6-SNAPSHOT
OS: Mac
Database: MySQL 8
Userstore: JDBC

The same behavior was experienced in the following environment as well :

Product Version: IS 5.11.0-Beta6-SNAPSHOT

OS: Ubuntu 18.04 LTS

Database: Maria DB 10.4

Userstore: JDBC

Related to https://github.com/wso2/product-is/issues/10103

This issue has been fixed with https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/pull/300 and https://github.com/wso2/charon/pull/293. The fix is not included in the BETA6 pack.

Closing this as this is fixed in the latest 5.11.0-beta6-SNAPSHOT pack.


new feature: Add deleted for list_with and lister_with

Feature Description
Allow users to list deleted files from storage services.
Problem and Solution
It is common practice for storage services to list deleted files, allowing users to recover them. However, we have not implemented this feature yet, which slightly limits the usefulness of our version support.
Additional Context
Public API changed, will need an RFC first before working on it.
Are you willing to contribute to the development of this feature?

[ ] Yes, I am willing to contribute to the development of this feature.

We may also need to add deleted in Metadata to mark this file is a deleted one.


Adjust projected motion/topic/election to new detail view

closes #2729

needs rebase for final test


contact us and feedback both are displaying same form

i have changed the feedback form option which is similar to contacct us
Pull Request Checklist

[x] I have added screenshots and videos to show before and after the working of my code.
[x] I have ensured that the screen size is set to 100% while making the video.
[x] I have synced the latest fork with my local repository and resolved any conflicts.
[x] I have mentioned the issue number which I created before making this PR .(format to mention issue number is : fixes #(issue number) )
[x] I understand that if any the above conditions are not met , my PR will not be MERGED .

followed


[RNTester][Flipper] Make Android consistent with 0.62 template. Add Flipper to iOS

Summary
0.62 Flipper Support items: https://github.com/facebook/react-native/issues/27565
Made RNTester's Android Flipper implementation consistent with the template.
Added Flipper to the iOS build.

Changelog

[Internal] [Added] - RNTester iOS Fipper support
[Internal] [Added] - RNTester Android Fipper updates
Test Plan
Run RNTester and see if it connects to Flipper.

Could you rebase and take a look at the failures?

I rebased onto master and tested iOS

Seems like the failing tests are failing on master as well so unrelated


dotnet 2.1 RC crashes immediately after Angular SPA Build

Looking at the logs immediately after the angular/cli dev server finishes building everything kestrel crashes:
Unhandled Exception: Unhandled Exception: System.AggregateException: One or more errors occurred. (An existing connection was forcibly closed by the remote host) ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at System.Net.Sockets.Socket.Shutdown(SocketShutdown how)
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.Shutdown()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.Abort()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.TransportConnection.Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature.Abort()
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1OutputProducer.Abort(Exception error)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.Abort(Exception error)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.Abort(Exception ex)
at System.IO.Pipelines.PipeCompletionCallbacks.Execute()
--- End of inner exception stack trace ---
at System.IO.Pipelines.PipeCompletionCallbacks.Execute()
at System.IO.Pipelines.Pipe.<>c.<.cctor>b__79_2(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
This wasn't happening in Preview2.  Although downgrading doesn't help and nothing else has changed.
The project does build with ng build without issues and the debug console shows a successful build by ng serve.
If I manually run npm start and set UseSpa to use my manually created spa development server like so:
spa.UseProxyToSpaDevelopmentServer("http://localhost:4202");
It works fine and doesn't crash.  Which leads me to believe that this is an issue with JavaScriptServices.

Thanks for the report. This will be fixed in RTM. In the meantime, you can work around the issue by manually selecting the libuv transport https://github.com/aspnet/KestrelHttpServer/issues/2554#issuecomment-387894772.