dmabuf-capture doesn't work

On my desktop (AMD RX 580):
└─ env WAYLAND_DEBUG=1 examples/dmabuf-capture 29 vaapi /dev/dri/renderD129 libx264 nv12 12 test.mkv
[4053147.922]  -> wl_display@1.get_registry(new id wl_registry@2)
[4053147.943]  -> wl_display@1.sync(new id wl_callback@3)
[4053147.995] wl_display@1.delete_id(3)
[4053148.003] wl_registry@2.global(1, "wl_shm", 1)
[4053148.011] wl_registry@2.global(2, "zwp_linux_dmabuf_v1", 3)
[4053148.017] wl_registry@2.global(3, "wl_drm", 2)
[4053148.024] wl_registry@2.global(4, "wl_compositor", 4)
[4053148.033] wl_registry@2.global(5, "wl_subcompositor", 1)
[4053148.041] wl_registry@2.global(6, "wl_data_device_manager", 3)
[4053148.053] wl_registry@2.global(7, "zwlr_gamma_control_manager_v1", 1)
[4053148.060] wl_registry@2.global(8, "gtk_primary_selection_device_manager", 1)
[4053148.069] wl_registry@2.global(9, "zxdg_output_manager_v1", 3)
[4053148.076] wl_registry@2.global(10, "org_kde_kwin_idle", 1)
[4053148.083] wl_registry@2.global(11, "zwp_idle_inhibit_manager_v1", 1)
[4053148.091] wl_registry@2.global(12, "zwlr_layer_shell_v1", 2)
[4053148.099] wl_registry@2.global(13, "xdg_wm_base", 2)
[4053148.107] wl_registry@2.global(14, "zwp_tablet_manager_v2", 1)
[4053148.115] wl_registry@2.global(15, "org_kde_kwin_server_decoration_manager", 1)
[4053148.126] wl_registry@2.global(16, "zxdg_decoration_manager_v1", 1)
[4053148.136] wl_registry@2.global(17, "zwp_relative_pointer_manager_v1", 1)
[4053148.145] wl_registry@2.global(18, "zwp_pointer_constraints_v1", 1)
[4053148.154] wl_registry@2.global(19, "wp_presentation", 1)
[4053148.163] wl_registry@2.global(20, "zwlr_output_manager_v1", 1)
[4053148.172] wl_registry@2.global(21, "zwlr_export_dmabuf_manager_v1", 1)
[4053148.183]  -> wl_registry@2.bind(21, "zwlr_export_dmabuf_manager_v1", 1, new id [unknown]@4)
[4053148.196] wl_registry@2.global(22, "zwlr_screencopy_manager_v1", 2)
[4053148.207] wl_registry@2.global(23, "zwlr_data_control_manager_v1", 2)
[4053148.216] wl_registry@2.global(24, "zwp_primary_selection_device_manager_v1", 1)
[4053148.226] wl_registry@2.global(25, "zwp_virtual_keyboard_manager_v1", 1)
[4053148.236] wl_registry@2.global(26, "zwlr_input_inhibit_manager_v1", 1)
[4053148.246] wl_registry@2.global(27, "wl_seat", 7)
[4053148.255] wl_registry@2.global(28, "zwp_pointer_gestures_v1", 1)
[4053148.265] wl_registry@2.global(29, "wl_output", 3)
[4053148.278]  -> wl_registry@2.bind(29, "wl_output", 1, new id [unknown]@5)
[4053148.293] wl_registry@2.global(30, "wl_output", 3)
[4053148.303]  -> wl_registry@2.bind(30, "wl_output", 1, new id [unknown]@6)
[4053148.317] wl_callback@3.done(871)
[4053148.373] wl_output@5.geometry(0, 0, 600, 340, 2, "Dell Inc.", "Dell S2716DG", 0)
[4053148.398] wl_output@5.mode(0, 640, 480, 59940)
[4053148.411] wl_output@5.mode(0, 640, 480, 60000)
[4053148.424] wl_output@5.mode(0, 800, 600, 60317)
[4053148.437] wl_output@5.mode(0, 1024, 768, 60004)
[4053148.450] wl_output@5.mode(0, 1280, 720, 59951)
[4053148.461] wl_output@5.mode(0, 1280, 800, 59951)
[4053148.473] wl_output@5.mode(0, 1440, 900, 59951)
[4053148.485] wl_output@5.mode(0, 1280, 1024, 59951)
[4053148.497] wl_output@5.mode(0, 1680, 1050, 59951)
[4053148.509] wl_output@5.mode(0, 1600, 1200, 59951)
[4053148.521] wl_output@5.mode(0, 1920, 1080, 59951)
[4053148.532] wl_output@5.mode(0, 1920, 1200, 59951)
[4053148.544] wl_output@5.mode(0, 2560, 1440, 23971)
[4053148.556] wl_output@5.mode(0, 2560, 1440, 84983)
[4053148.568] wl_output@5.mode(0, 2560, 1440, 99946)
[4053148.579] wl_output@5.mode(0, 2560, 1440, 119998)
[4053148.590] wl_output@5.mode(1, 2560, 1440, 143998)
[4053148.609] wl_output@5.mode(2, 2560, 1440, 59951)
[4053148.622] wl_output@6.geometry(0, 0, 530, 300, 2, "Unknown", "G-SYNC 241910", 0)
[4053148.641] wl_output@6.mode(0, 640, 480, 60000)
[4053148.653] wl_output@6.mode(0, 800, 600, 60000)
[4053148.664] wl_output@6.mode(0, 1024, 768, 60000)
[4053148.676] wl_output@6.mode(0, 1280, 720, 60000)
[4053148.687] wl_output@6.mode(0, 1280, 800, 60000)
[4053148.698] wl_output@6.mode(0, 1440, 900, 60000)
[4053148.709] wl_output@6.mode(0, 1280, 1024, 60000)
[4053148.719] wl_output@6.mode(0, 1680, 1050, 60000)
[4053148.731] wl_output@6.mode(0, 1920, 1080, 59940)
[4053148.741] wl_output@6.mode(0, 1920, 1080, 84905)
[4053148.752] wl_output@6.mode(0, 1920, 1080, 99930)
[4053148.763] wl_output@6.mode(0, 1920, 1080, 119982)
[4053148.775] wl_output@6.mode(1, 1920, 1080, 144001)
[4053148.786] wl_output@6.mode(2, 1920, 1080, 60000)
Capturable output: Dell Inc. Model: Dell S2716DG: ID: 29
Capturable output: Unknown Model: G-SYNC 241910: ID: 30
[libx264 @ 0x559a43b42ec0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x559a43b42ec0] profile High, level 6.2, 4:2:0, 8-bit
[libx264 @ 0x559a43b42ec0] 264 - core 157 r2980 34c06d1 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=abr mbtree=1 bitrate=12000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'test.mkv':
    Stream #0:0: Video: h264, nv12, 2560x1440, q=2-31, 12000 kb/s, 144 fps, 1k tbn
[4053238.259]  -> zwlr_export_dmabuf_manager_v1@4.capture_output(new id zwlr_export_dmabuf_frame_v1@3, 1, wl_output@5)
[4053238.520] zwlr_export_dmabuf_frame_v1@3.frame(2560, 1440, 0, 0, 0, 1, 875713089, 16777215,<PHONE_NUMBER>, 1)
[4053238.572] zwlr_export_dmabuf_frame_v1@3.object(0, fd 9, 15728640, 0, 10240, 0)
[4053245.437] zwlr_export_dmabuf_frame_v1@3.ready(0, 296, 985693242)
[4053245.577]  -> zwlr_export_dmabuf_manager_v1@4.capture_output(new id zwlr_export_dmabuf_frame_v1@7, 1, wl_output@5)
[AVHWFramesContext @ 0x559a43b46b00] Failed to read image from surface 0x2: 1 (operation failed).
[4053245.721]  -> zwlr_export_dmabuf_frame_v1@3.destroy()
[libx264 @ 0x559a43b42ec0] AVFrame.format is not set
[libx264 @ 0x559a43b42ec0] AVFrame.width or height is not set
[4053245.758] zwlr_export_dmabuf_frame_v1@7.frame(2560, 1440, 0, 0, 0, 1, 875713089, 16777215,<PHONE_NUMBER>, 1)
[4053245.795] zwlr_export_dmabuf_frame_v1@7.object(0, fd 9, 15728640, 0, 10240, 0)
[libx264 @ 0x559a43b42ec0] Input picture width (2560) is greater than stride (0)
[dmabuf-capture @ 0x7ffc954ef0f0] Error encoding: Generic error in an external library!
[4053252.332] wl_display@1.delete_id(3)
[4053252.367] zwlr_export_dmabuf_frame_v1@7.ready(0, 296, 992605184)
^C[dmabuf-capture @ 0x7ffc954ef0f0] Quitting!
^C

On my laptop (Intel Core i5-5200U):
└─ env WAYLAND_DEBUG=1 examples/dmabuf-capture 29 vaapi /dev/dri/renderD128 libx264 nv12 12 test.mkv
[4121521.525]  -> wl_display@1.get_registry(new id wl_registry@2)
[4121521.578]  -> wl_display@1.sync(new id wl_callback@3)
[4121521.720] wl_display@1.delete_id(3)
[4121521.755] wl_registry@2.global(1, "wl_shm", 1)
[4121521.792] wl_registry@2.global(2, "zwp_linux_dmabuf_v1", 3)
[4121521.819] wl_registry@2.global(3, "wl_drm", 2)
[4121521.844] wl_registry@2.global(4, "wl_compositor", 4)
[4121521.867] wl_registry@2.global(5, "wl_subcompositor", 1)
[4121521.891] wl_registry@2.global(6, "wl_data_device_manager", 3)
[4121521.918] wl_registry@2.global(7, "zwlr_gamma_control_manager_v1", 1)
[4121521.942] wl_registry@2.global(8, "gtk_primary_selection_device_manager", 1)
[4121521.969] wl_registry@2.global(9, "zxdg_output_manager_v1", 3)
[4121521.993] wl_registry@2.global(10, "org_kde_kwin_idle", 1)
[4121522.021] wl_registry@2.global(11, "zwp_idle_inhibit_manager_v1", 1)
[4121522.051] wl_registry@2.global(12, "zwlr_layer_shell_v1", 2)
[4121522.089] wl_registry@2.global(13, "xdg_wm_base", 2)
[4121522.107] wl_registry@2.global(14, "zwp_tablet_manager_v2", 1)
[4121522.137] wl_registry@2.global(15, "org_kde_kwin_server_decoration_manager", 1)
[4121522.167] wl_registry@2.global(16, "zxdg_decoration_manager_v1", 1)
[4121522.195] wl_registry@2.global(17, "zwp_relative_pointer_manager_v1", 1)
[4121522.225] wl_registry@2.global(18, "zwp_pointer_constraints_v1", 1)
[4121522.266] wl_registry@2.global(19, "wp_presentation", 1)
[4121522.297] wl_registry@2.global(20, "zwlr_output_manager_v1", 1)
[4121522.325] wl_registry@2.global(21, "zwlr_export_dmabuf_manager_v1", 1)
[4121522.352]  -> wl_registry@2.bind(21, "zwlr_export_dmabuf_manager_v1", 1, new id [unknown]@4)
[4121522.395] wl_registry@2.global(22, "zwlr_screencopy_manager_v1", 2)
[4121522.424] wl_registry@2.global(23, "zwlr_data_control_manager_v1", 2)
[4121522.449] wl_registry@2.global(24, "zwp_primary_selection_device_manager_v1", 1)
[4121522.478] wl_registry@2.global(25, "zwp_virtual_keyboard_manager_v1", 1)
[4121522.503] wl_registry@2.global(26, "zwlr_input_inhibit_manager_v1", 1)
[4121522.532] wl_registry@2.global(27, "wl_seat", 7)
[4121522.565] wl_registry@2.global(28, "zwp_pointer_gestures_v1", 1)
[4121522.594] wl_registry@2.global(29, "wl_output", 3)
[4121522.633]  -> wl_registry@2.bind(29, "wl_output", 1, new id [unknown]@5)
[4121522.673] wl_callback@3.done(17814)
[4121522.775] wl_output@5.geometry(0, 0, 290, 170, 2, "Sharp Corporation", "0x1420", 0)
[4121522.855] wl_output@5.mode(3, 1920, 1080, 59934)
Capturable output: Sharp Corporation Model: 0x1420: ID: 29
[AVHWDeviceContext @ 0x559fd4e962c0] Failed to initialise VAAPI connection: -1 (unknown libva error).
[dmabuf-capture @ 0x7ffd67abb7a0] Failed to create a hardware device: Input/output error
[4121523.143]  -> zwlr_export_dmabuf_manager_v1@4.destroy()

vainfo for desktop:
└─ vainfo
vainfo: VA-API version: 1.5 (libva 2.5.0)
vainfo: Driver version: Mesa Gallium driver 19.3.1 for Radeon RX 580 Series (POLARIS10, DRM 3.26.0, 4.18.16-zen1-1-zen, LLVM 9.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

Issue one is that on AMD you can't use VAAPI to encode from the screen because the AMD drivers cannot implicitly convert from bgr0 to nv12, while Intel allows to do this implicitly while encoding.
This is a known limitation (https://github.com/swaywm/wlroots/pull/992#issuecomment-399088608), and could be solved with the libavutil Vulkan scaling filter that could do the conversion explicitly, whenever it gets merged. You need to use the opencl interop like ./dmabuf-capture vaapi /dev/dri/renderD128 libx264rgb bgr0 12 dmabuf_recording_01.mkv.
Issue two is probably that wlroots is sending dmabuf-capture a frame containing 2 dmabuf objects with 2 layers, but libavutil can only import single-object frames, "[AVHWFramesContext @ 0x55efabde80c0] VAAPI can only map frames made from a single DRM object.". This is a regression and incorrect, since all RGB drm format IDs are composed of single layer. Worse, it might cause other clients to crash because the number of layers is determined via the drm format sent, yet wlroots is referencing a second layer while sending objects.
The format id given is also 0x34325241, which corresponds to DRM_FORMAT_ARGB8888. This also seems like a regression because it should be and used to be DRM_FORMAT_XRGB8888. Its still okay as long as the alpha channel is all 0xff, but its not guaranteed like with XRGB, and to keep encoders and filters working would need to be relabled as XRGB by the client since interpreting the alpha channel on full screen capture is definitely not what you want.

This is the output with bgr0:
└─ env WAYLAND_DEBUG=1 examples/dmabuf-capture 29 vaapi /dev/dri/renderD129 libx264rgb bgr0 12 test.mkv
[3777168.054]  -> wl_display@1.get_registry(new id wl_registry@2)
[3777168.081]  -> wl_display@1.sync(new id wl_callback@3)
[3777168.156] wl_display@1.delete_id(3)
[3777168.166] wl_registry@2.global(1, "wl_shm", 1)
[3777168.175] wl_registry@2.global(2, "zwp_linux_dmabuf_v1", 3)
[3777168.181] wl_registry@2.global(3, "wl_drm", 2)
[3777168.187] wl_registry@2.global(4, "wl_compositor", 4)
[3777168.193] wl_registry@2.global(5, "wl_subcompositor", 1)
[3777168.201] wl_registry@2.global(6, "wl_data_device_manager", 3)
[3777168.212] wl_registry@2.global(7, "zwlr_gamma_control_manager_v1", 1)
[3777168.221] wl_registry@2.global(8, "gtk_primary_selection_device_manager", 1)
[3777168.231] wl_registry@2.global(9, "zxdg_output_manager_v1", 3)
[3777168.240] wl_registry@2.global(10, "org_kde_kwin_idle", 1)
[3777168.251] wl_registry@2.global(11, "zwp_idle_inhibit_manager_v1", 1)
[3777168.260] wl_registry@2.global(12, "zwlr_layer_shell_v1", 2)
[3777168.271] wl_registry@2.global(13, "xdg_wm_base", 2)
[3777168.281] wl_registry@2.global(14, "zwp_tablet_manager_v2", 1)
[3777168.291] wl_registry@2.global(15, "org_kde_kwin_server_decoration_manager", 1)
[3777168.301] wl_registry@2.global(16, "zxdg_decoration_manager_v1", 1)
[3777168.311] wl_registry@2.global(17, "zwp_relative_pointer_manager_v1", 1)
[3777168.321] wl_registry@2.global(18, "zwp_pointer_constraints_v1", 1)
[3777168.332] wl_registry@2.global(19, "wp_presentation", 1)
[3777168.342] wl_registry@2.global(20, "zwlr_output_manager_v1", 1)
[3777168.352] wl_registry@2.global(21, "zwlr_export_dmabuf_manager_v1", 1)
[3777168.363]  -> wl_registry@2.bind(21, "zwlr_export_dmabuf_manager_v1", 1, new id [unknown]@4)
[3777168.379] wl_registry@2.global(22, "zwlr_screencopy_manager_v1", 2)
[3777168.389] wl_registry@2.global(23, "zwlr_data_control_manager_v1", 2)
[3777168.399] wl_registry@2.global(24, "zwp_primary_selection_device_manager_v1", 1)
[3777168.409] wl_registry@2.global(25, "zwp_virtual_keyboard_manager_v1", 1)
[3777168.420] wl_registry@2.global(26, "zwlr_input_inhibit_manager_v1", 1)
[3777168.429] wl_registry@2.global(27, "wl_seat", 7)
[3777168.439] wl_registry@2.global(28, "zwp_pointer_gestures_v1", 1)
[3777168.449] wl_registry@2.global(29, "wl_output", 3)
[3777168.465]  -> wl_registry@2.bind(29, "wl_output", 1, new id [unknown]@5)
[3777168.481] wl_registry@2.global(30, "wl_output", 3)
[3777168.491]  -> wl_registry@2.bind(30, "wl_output", 1, new id [unknown]@6)
[3777168.505] wl_callback@3.done(144092)
[3777168.572] wl_output@5.geometry(0, 0, 600, 340, 2, "Dell Inc.", "Dell S2716DG", 0)
[3777168.620] wl_output@5.mode(0, 640, 480, 59940)
[3777168.632] wl_output@5.mode(0, 640, 480, 60000)
[3777168.647] wl_output@5.mode(0, 800, 600, 60317)
[3777168.668] wl_output@5.mode(0, 1024, 768, 60004)
[3777168.687] wl_output@5.mode(0, 1280, 720, 59951)
[3777168.706] wl_output@5.mode(0, 1280, 800, 59951)
[3777168.724] wl_output@5.mode(0, 1440, 900, 59951)
[3777168.743] wl_output@5.mode(0, 1280, 1024, 59951)
[3777168.762] wl_output@5.mode(0, 1680, 1050, 59951)
[3777168.780] wl_output@5.mode(0, 1600, 1200, 59951)
[3777168.799] wl_output@5.mode(0, 1920, 1080, 59951)
[3777168.818] wl_output@5.mode(0, 1920, 1200, 59951)
[3777168.828] wl_output@5.mode(0, 2560, 1440, 23971)
[3777168.846] wl_output@5.mode(0, 2560, 1440, 84983)
[3777168.864] wl_output@5.mode(0, 2560, 1440, 99946)
[3777168.881] wl_output@5.mode(0, 2560, 1440, 119998)
[3777168.898] wl_output@5.mode(1, 2560, 1440, 143998)
[3777168.917] wl_output@5.mode(2, 2560, 1440, 59951)
[3777168.937] wl_output@6.geometry(0, 0, 530, 300, 2, "Unknown", "G-SYNC 241910", 0)
[3777168.973] wl_output@6.mode(0, 640, 480, 60000)
[3777168.993] wl_output@6.mode(0, 800, 600, 60000)
[3777169.012] wl_output@6.mode(0, 1024, 768, 60000)
[3777169.027] wl_output@6.mode(0, 1280, 720, 60000)
[3777169.041] wl_output@6.mode(0, 1280, 800, 60000)
[3777169.054] wl_output@6.mode(0, 1440, 900, 60000)
[3777169.068] wl_output@6.mode(0, 1280, 1024, 60000)
[3777169.082] wl_output@6.mode(0, 1680, 1050, 60000)
[3777169.096] wl_output@6.mode(0, 1920, 1080, 59940)
[3777169.109] wl_output@6.mode(0, 1920, 1080, 84905)
[3777169.123] wl_output@6.mode(0, 1920, 1080, 99930)
[3777169.135] wl_output@6.mode(0, 1920, 1080, 119982)
[3777169.148] wl_output@6.mode(1, 1920, 1080, 144001)
[3777169.160] wl_output@6.mode(2, 1920, 1080, 60000)
Capturable output: Dell Inc. Model: Dell S2716DG: ID: 29
Capturable output: Unknown Model: G-SYNC 241910: ID: 30
[libx264rgb @ 0x55d73fd3a180] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264rgb @ 0x55d73fd3a180] profile High 4:4:4 Predictive, level 6.2, 4:4:4, 8-bit
[libx264rgb @ 0x55d73fd3a180] 264 - core 157 r2980 34c06d1 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=abr mbtree=1 bitrate=12000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'test.mkv':
    Stream #0:0: Video: h264, bgr0, 2560x1440, q=2-31, 12000 kb/s, 144 fps, 1k tbn
[3777253.142]  -> zwlr_export_dmabuf_manager_v1@4.capture_output(new id zwlr_export_dmabuf_frame_v1@3, 1, wl_output@5)
[3777253.264] zwlr_export_dmabuf_frame_v1@3.frame(2560, 1440, 0, 0, 0, 1, 875713089, 16777215,<PHONE_NUMBER>, 1)
[3777253.286] zwlr_export_dmabuf_frame_v1@3.object(0, fd 9, 15728640, 0, 10240, 0)
[3777254.507] zwlr_export_dmabuf_frame_v1@3.ready(0, 12905, 896814219)
[3777254.573]  -> zwlr_export_dmabuf_manager_v1@4.capture_output(new id zwlr_export_dmabuf_frame_v1@7, 1, wl_output@5)
[3777254.642] zwlr_export_dmabuf_frame_v1@7.frame(2560, 1440, 0, 0, 0, 1, [AVHWFramesContext @ 0x55d73fd3dd40] Failed to read image from surface 0x2: 1 (operation failed).
875713089, 16777215,<PHONE_NUMBER>, 1)
[3777254.706] zwlr_export_dmabuf_frame_v1@7.object(0, fd 10, 15728640, 0, 10240, 0)
[3777254.723]  -> zwlr_export_dmabuf_frame_v1@3.destroy()
[libx264rgb @ 0x55d73fd3a180] AVFrame.format is not set
[libx264rgb @ 0x55d73fd3a180] AVFrame.width or height is not set
fish: “env WAYLAND_DEBUG=1 examples/dm…” terminated by signal SIGSEGV (Address boundary error)

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f726b7acf73 in x264_8_trellis_coefn () from /usr/lib/libx264.so.157
[Current thread is 1 (Thread 0x7f71db498700 (LWP 64647))]

thread apply all bt full

Its probably because of issue 2 like I said.

Thanks for the explanation, @cyanreg

Ping?
Wanted to test ffmpeg's new vulkan code mapping but since kmsgrab has stopped working for me on newer kernel versions and wlroots seems to be doing something wrong with the protocol, I can't.

Issue two is probably that wlroots is sending dmabuf-capture a frame containing 2 dmabuf objects with 2 layers, but libavutil can only import single-object frames

What is the modifier? Many Intel modifiers use two planes.

kmsgrab has stopped working

Yes, they need to use drmModeGetFB2.

wlroots seems to be doing something wrong with the protocol

I don't think that's true, see above.

0x100000000000004 which seems to be I915_FORMAT_MOD_Y_TILED_CCS.
Now it makes sense, its a compressed texture, the second plane contains the color control surface. libavutil doesn't yet support such, so I think this bug can be closed.

Alright, closing as a libavutil bug. Note that one can disable modifiers temporarily by setting WLR_DRM_NO_MODIFIERS=1.

Although, I think the format wlroots gives should be BGR0, since it makes no sense for full screen recording post-compositing to have alpha. Otherwise users will need to correct it themselves.

I think it's fine if users need to strip the alpha channel manually. DMA-BUFs coming from clients may have an alpha channel, so clients should better be prepared for this anyway. Also some consumers might require an alpha channel (e.g. KMS planes sometimes accept ARGB but not XRGB).


improve performance of a crypt marshaller (ostracon#177)

The subject of the triage:

Finschia/ostracon#177

This is a PR for performance test and this PR says

Please note that it's not production ready quality

If we need this improvement in main branch, it may need other PRs improves it.

Performance seems to be improved, so we can create a PR after considering what we need for main branch.

@Mdaiki0730

Performance seems to be improved, so we can create a PR after considering what we need for main branch.

I think it is worth merging into the main form the view point of performance.
But, do you know why it's not production-ready quality? Or, do you know some improvements for it?

@loloicci
The custom marshaler code is duplicated and needs to be packaged.

we need more test code for production.
As for the further tests mentioned in the PR, I don't know what to do.

By the way, the relevant parts of the crypto package have changed significantly in cometbft v0.38.0.
Looks like it was changed in tendermint#4950.
cometbft v0.38.0: https://github.com/cometbft/cometbft/blob/v0.38.0/crypto/ed25519/ed25519.go#L68-L70
PR: https://github.com/tendermint/tendermint/pull/4950
Ostracon#177 doesn't seem to be necessary since it returns a byte slice directly instead of an amino-marshalled byte slice.

Thank you @Mdaiki0730 . I close this issue.


System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\PowerToys\modules\launcher\Plugins'

Microsoft PowerToys version
0.35.0
Running as admin

[X] Yes

Area(s) with issue?
Installer
Steps to reproduce
trying to upgrade
✔ Expected Behavior
upgrade
❌ Actual Behavior
Fails
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19042.0
IntPtr Length: 8
x64: True
Date: 5/10/2021 6:44:34 PM
Exception:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\PowerToys\modules\launcher\Plugins'.
at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)    at System.IO.Enumeration.FileSystemEnumerator1.Init()
at System.IO.Enumeration.FileSystemEnumerator1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)    at System.IO.Enumeration.FileSystemEnumerable1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories(String directory, String expression, EnumerationOptions options)
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at System.IO.Directory.GetDirectories(String path)
at System.IO.Abstractions.DirectoryWrapper.GetDirectories(String path)
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext()    at PowerLauncher.Plugin.PluginConfig.ParsePluginConfigs(IEnumerable1 directories)
at PowerLauncher.Plugin.PluginConfig.Parse(String[] pluginDirectories)
at PowerLauncher.Plugin.PluginManager.get_AllPlugins()
at PowerLauncher.Plugin.PluginManager.GetPluginsForInterfaceT
at PowerLauncher.ViewModel.MainViewModel.RegisterResultsUpdatedEvent()
at PowerLauncher.ViewModel.MainViewModel..ctor(PowerToysRunSettings settings)
at PowerLauncher.App.<>c__DisplayClass14_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Other Software
No response

@3kids5cats
is PowerToys installed in C:\Program Files\PowerToys?

yep....
On Wed, May 12, 2021 at 2:13 AM Enrico Giordani @.***>
wrote:

@3kids5cats https://github.com/3kids5cats
is PowerToys installed in C:\Program Files\PowerToys?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/11198#issuecomment-839486491,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADBCPNEWUME6ZSE6VRQUC4DTNIMCLANCNFSM44S3GL2Q
.

@3kids5cats
if you navigate to C:\Program Files\PowerToys\modules\launcher\Plugins the folder is there?
Does the problem happen every time you restart PowerToys?

Just looked, there is no plugins folder.. But power toys launches and
operates fine, its when it says there is an update and tries to install
that it fails with what I sent you
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Wed, May 12, 2021 at 8:26 AM Enrico Giordani @.***>
wrote:

@3kids5cats https://github.com/3kids5cats
if you navigate to C:\Program Files\PowerToys\modules\launcher\Plugins
the folder is there?
Does the problem happen every time you restart PowerToys?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/11198#issuecomment-839729140,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADBCPNC76JF2KR7IRBAZPD3TNJXX3ANCNFSM44S3GL2Q
.

@3kids5cats
digging in here.  the exception above is from PowerToys Run not being able to actually run due to the plugin folder being MIA.  But you're saying the installer is failing?
What anti-virus does your machine run?  Where did you get the installer?


installing pybind11 as a build time python package dependency

When we try to build docling-parse from source, it tries to clone the pybind11 repository and then set the includes path. However, we are running this build in a network isolated environment which causes the clone step to fail.
An alternate to this would be to install pybind11 as a build time python package dependency and use its API in build.py to set it up:

https://pybind11.readthedocs.io/en/stable/compiling.html#modules-with-setuptools
https://github.com/octavifs/poetry-pybind11-integration

I made a similar change to Triton a while ago, https://github.com/triton-lang/triton/pull/4450


Increase cmake minimum required [16437]

CI is testing agains CMake 3.16

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows


IAM - Set value of AccountSummary.AccountAccessKeysPresent

Edge case to be able to modify the value of AccountSummary AccountAccessKeysPresent from 0 to 1 and back.

That works for me! Never even thought of that. Stuck in the mindset that the data is protected and we need a function to update it.
That works for me. Any value in modify the tests to show this as an example or nah? I can close this if there's not value.

Any value in modify the tests to show this as an example or nah?

No, I don't think it's necessary. If someone asks for an example, I can always point them to this PR. :slightly_smiling_face:


Missing backends module in 0.4

The 0.4.1 release that adress this specific issue has been pushed to PyPi ;)


chore: Revert "chore: Move template library files to the top level of the project"

Reverts MatiPl01/react-native-library-template#17

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


mixedFractions simplification rule.

When fractionNumbers is turned on, mixedFractions should force improper fractions to be displayed as mixed fractions in TeX. No point in doing that in JME - it'd have to be something like 3+1/2, which doesn't help anyone.
To do this:

Add a key mixedfractions to Numbas.jme.displayFlags
In Numbas.jme.display.texRationalNumber, add a second argument settings, and make sure settings is passed in wherever texNumber is called. (Or, do we want to make up a version of the function which outputs mixed fractions, and set settings.texNumber to that? There's a lot of repeated code already between texRationalNumber and texRealNumber)
Where the TeX for the fraction is made, add a check for settings.mixedfractions and output a mixed fraction if appropriate.
Add documentation describing the rule.

HI @christianp Can i take this up?

@Kashyap12 sure! Have a look at our page on contributing to Numbas, and please try to get the editor running on your computer to test any changes you make.

Hello @christianp, not sure if there's been any activity on this issue. Can I give this a shot?
I'll stay tuned. Thanks!

I think I have fixed it with pull request #560


Geofiltering

Add geofiltering to setEvents to prevent events outside geo circle bound being added.

Solves part of issue:https://github.com/pilsprog/paraply2/issues/2
It will not filter out groups. Should perhaps consider adding that in the future.


changes done by me in schema.prisma and the rest was by prisma cli tool

Title

Changes 👷♀
So this changes were caused by prisma CLI I installed like in below example
https://www.prisma.io/docs/concepts/components/prisma-client
I ran prisma migrate command specifying schema.prisma while I was in database folder that's why it probably created additional package. json. This could be done other way in main package.json with updated prisma version and specyfing path to schema and other properties.
Migration scripts
Well before there was only 1 script, creating only 1 table, I haven't deleted it on this branch but it looks almost the same as one generated by prisma. We can either keep it or delete it and just let everything be done using prisma based on schema.prisma as a single source of truth.
How to test 🧪

- step 1 ...
Definition of done ✔

[ ] Acceptance criteria for each issue met
[ ] Unit tests written where needed and passing
[ ] End-to-end tests for happy path
[ ] Documentation updated
[ ] Project builds without errors
[ ] Non-functional requirements met
[ ] Code reviewed and functionality tested by the reviewer (locally, Heroku, etc.)
[ ] Feature verified and accepted by Product Owner
[ ] Project deployed to production environment

My only concern is whether it will work with existing db

Please check this one instead it has less mess https://github.com/OasisDEX/oasis-borrow/pull/340


OCM-6277 | feat: Support day 2 node pool for additional sceurity groups - bump OCM-SDK

Bump OCM-SDK version to supply security group IDs for the node pool builder.

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story (OCM-xxxx):
Fixes #
Change type

[x] New feature
[ ] Bug fix
[ ] Build
[ ] CI
[ ] Documentation
[ ] Performance
[ ] Refactor
[ ] Style
[ ] Unit tests
[ ] Subsystem tests

Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.

/retest


WorldEditor::unselectObject Crashes when Input ID is Invalid

Relatively simple issue, the engine will crash because this code fails to return if the input obj is NULL:
https://github.com/GarageGames/Torque3D/blob/development/Engine/source/gui/worldEditor/worldEditor.cpp#L2834
This stack is generated: http://pastebin.com/nUzFJN5u
So it pretty much just attempts to make a call against a NULL pointer if you don't give unselectObject a valid ID :) (Try EWorldEditor.unselectObject(0))
It also looks like you probably have similar issues floating around in things like selectObject, as well.

Fixed my line ending issues (which is why I didn't make a PR initially) and put them in a pull request at #1480

For future reference, we usually keep issues open until their associated PR is merged :)

Mostly habit from a previous codebase, pretty much the PR was the issue unless you didn't have the code for it. But I'll remember that, thanks!

All good! Not a problem. We don't typically create issues when a PR comes in directly - sometimes that wouldn't even make sense, like for a new feature. We keep issues open while a PR is happening because the PR might end up being rejected for various reasons, but the issue may still remain.


Update Documentation

Please update the documentation. It still says to wrap the material app in ResponsiveSizer instead of Sizer

duplicate of #23


[Support Request]: How to install Lets Encrypt via Nginx?

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
Hello! How to install Lets Encrypt via Nginx? My Nginx config:
nginx.conf.txt
I have modified the standard installation script for Ubuntu 20.04:
bookstack.sh.txt
I am getting an error 502 Bad Gateway. What am I doing wrong?
Exact BookStack Version
last
Log Content
No response
PHP Version
8.0
Hosting Environment
Ubuntu 20.04

Hi @aes4096,
This could be due to a number of things. The best method to find the issue would be to check your nginx error log (Often found at /var/log/nginx/error.log).
From a glance over your config, and due to the error observed, my suspicion would be the PHP passing location.
From my experience Ubuntu setups don't often have a /var/run/php-fpm path, with instead of FPM sockets being located in /var/run/php.
I typically use something like this for the PHP handling on Ubuntu: https://github.com/BookStackApp/devops/blob/0c0a2ccc4d74b7aed0301b08a391991eca7fa658/config/nginx#L14-L17

Hi @aes4096,
This could be due to a number of things. The best method to find the issue would be to check your nginx error log (Often found at /var/log/nginx/error.log).
From a glance over your config, and due to the error observed, my suspicion would be the PHP passing location. From my experience Ubuntu setups don't often have a /var/run/php-fpm path, with instead of FPM sockets being located in /var/run/php.
I typically use something like this for the PHP handling on Ubuntu: https://github.com/BookStackApp/devops/blob/0c0a2ccc4d74b7aed0301b08a391991eca7fa658/config/nginx#L14-L17

I replace php-sock, but it not work. My full Nginx config (BookStack + NextCloud):
nginx.conf.txt
BookStack not worked on HTTP. If I follow the link of bookstack.domain.ru, that redirects to other link (nextcloud.domain.ru).
I entered domain bookstack.domain.ru at the beginning of the installation.

I replace php-sock, but it not work. My full Nginx config (BookStack + NextCloud): nginx.conf.txt

Based upon that, you currently have no server block for server_name bookstack.aes4096.ru where you're listening on port 443. You only have a port 80 block for bookstack, which appears to be working when I visit that domain.

Yes you are right. Port 80 is working. Cleared browser cache. I managed to do it on port 443. It works. I'm attaching the config if anyone needs it.
`
server {
listen 80;
server_name bookstack.domain.ru;
return  301 https://$server_name$request_uri;
}
server {
listen 443;
listen [::]:443;
root /var/www/bookstack.domain.ru/bookstack/public;
index  index.php index.html index.htm;
server_name  bookstack.domain.ru;
client_max_body_size 100M;

 ssl_certificate    /etc/letsencrypt/live/bookstack.domain.ru/cert.pem;
 ssl_certificate_key    /etc/letsencrypt/live/bookstack.domain.ru/privkey.pem;
 ssl_stapling on;
 ssl_stapling_verify on;
 ssl_protocols TLSv1.1 TLSv1.2;
 add_header Strict-Transport-Security "max-age=31536000";

location / {
    try_files $uri $uri/ /index.php?$query_string;
   }

location ~ \.php$ {
    include snippets/fastcgi-php.conf;
    fastcgi_pass php-handler;
    fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
 }

}
`

Good to hear you got things working. Will therefore close this off.


error 420

node examples/login.js
when I try to get the key I get this error
{"error_code":420,"error":"unknown_error","error_message":"Unable to perform action. Please try again through the website or contact support if you need immediate assistance."}

Hello. Same problem here.

Same issue. I think airbnb have closed this manner of access their API.


Emscripten or WASI support

Hi, thanks for the amazing work with this library. I was wondering whether you had any plans to officially add Emscripten or WASI support? I ask because I was interested in building some web applications that can work with MF4 files. Would you otherwise be open to contributions for the same?

I am only using the C++ version in my other applications. I decided early to do binding to other "languages" as WebAssembly/JS, on request. Currently it exist a .NET assembly and I am currently working on the Python Interface.
If you want a WebAssembly interface, there should not be any problem to doing that. I have made a project for MDF application and task. I recommend to use that project for planning and setting up requirements. I recommend an on-line meeting before starting any work.
Note that my other applications/services, uses the Google RPC as standard interface.
If it is OK with you, I transfer this issue to the discussion area.


Fix wrong RepositoryUrl link

https://github.com/armutcom/iterable-client-dotnet/blob/8e8f51bd98964ca482c33f8a2d030630a565708a/src/Client/Client.csproj#L11
It should be https://github.com/armutcom/iterable-client-dotnet

Fixed !


tp_overlap need tensor parallel is equal world size ?

i want set tp size = 2 and the global world size = 2
the code is :

import os
import sys
import subprocess
import argparse

import torch
import torch.distributed as dist

import transformer_engine.pytorch as te
from transformer_engine.common.recipe import Format, DelayedScaling

def parse_args(argv=None, namespace=None):
    parser = argparse.ArgumentParser(
        description="Test a te.LayerNormMLP module with GEMM+comm overlap via Userbuffers."
    )
    parser.add_argument(
        "-i", "--num-iters", type=int, default=5, help="Number of dummy 'training' iterations."
    )
    parser.add_argument("-b", "--batch-size", type=int, default=2, help="Input batch size.")
    parser.add_argument("-s", "--seq-length", type=int, default=2048, help="Input sequence length.")
    parser.add_argument(
        "-n", "--num-heads", type=int, default=64, help="Number of attention heads."
    )
    parser.add_argument(
        "-d", "--head-dim", type=int, default=128, help="Dimension of each attention head."
    )
    parser.add_argument(
        "--mlp-expansion-factor",
        type=int,
        default=4,
        help="MLP block intermediate size as a factor of hidden dimension.",
    )
    parser.add_argument("--seed", type=int, default=1234, help="RNG seed.")
    parser.add_argument(
        "--fp8", action="store_true", default=False, help="Enables the te.fp8_autocast() context."
    )
    parser.add_argument(
        "--no-comm-overlap",
        action="store_true",
        default=False,
        help="Disable the comm+GEMM overlap.",
    )
    parser.add_argument("-v", "--verbose", action="store_true", default=False)
    return parser.parse_args(argv, namespace)

def train(opts):
    WORLD_RANK = int(os.getenv("RANK"))
    WORLD_SIZE = int(os.getenv("WORLD_SIZE"))

    def dist_print(msg, end="\n", all_ranks=False):
        if WORLD_RANK == 0 or all_ranks:
            print(f"[RANK-{WORLD_RANK}] {msg}", end=end)

    torch.cuda.set_device(WORLD_RANK)
    torch.manual_seed(opts.seed + WORLD_RANK)
    torch.cuda.manual_seed(opts.seed + WORLD_RANK)

    dist.init_process_group(
        backend="nccl",
        rank=WORLD_RANK,
        world_size=WORLD_SIZE,
        device_id=torch.device(f"cuda:{WORLD_RANK}"),
    )

    tp_group_0 = dist.new_group([0, 1],backend="nccl")
    tp_group_1 = dist.new_group([2, 3],backend="nccl")
    tp_group_2 = dist.new_group([4, 5],backend="nccl")
    tp_group_3 = dist.new_group([6, 7],backend="nccl")

    if WORLD_RANK in [0, 1]:
        tp_group = tp_group_0
    elif WORLD_RANK in [2, 3]:
        tp_group = tp_group_1
    elif WORLD_RANK in [4, 5]:
        tp_group = tp_group_2
    elif WORLD_RANK in [6, 7]:
        tp_group = tp_group_3

    tensor = torch.ones([2, 2]).cuda() * WORLD_RANK
    dist.all_reduce(tensor, op=dist.ReduceOp.SUM, group=tp_group)

    print("after allreduce is : {}".format(tensor))

    tp_size = dist.get_world_size(tp_group)

    ag_cfg = {
        "method": "ring_exchange",
        "num_splits": 8,
        "num_sm": 1,
        "set_sm_margin": False,
    }
    rs_cfg = {
        "method": "ring_exchange",
        "num_splits": 4,
        "num_sm": 1,
        "set_sm_margin": True,
    }
    hidden_size = opts.num_heads * opts.head_dim
    batched_size = opts.seq_length * opts.batch_size

    print("batched_size is : {}".format(batched_size))

    if not opts.no_comm_overlap:
        te.initialize_ub(
            [batched_size, hidden_size],
            tp_group,
            use_fp8=opts.fp8,
            dtype=torch.bfloat16,
            ub_cfgs={
                "fc1_fprop": ag_cfg,
                "fc1_dgrad": rs_cfg,
                "fc2_fprop": rs_cfg,
                "fc2_dgrad": ag_cfg,
            },
        )

    model = te.LayerNormMLP(
        hidden_size,
        opts.mlp_expansion_factor * hidden_size,
        params_dtype=torch.bfloat16,
        device="cuda",
        tp_group=tp_group,
        tp_size=tp_size,
        set_parallel_mode=True,
        sequence_parallel=True,
        seq_length=opts.seq_length,
        micro_batch_size=opts.batch_size,
        ub_overlap_rs_dgrad=not opts.no_comm_overlap,
        ub_overlap_rs=not opts.no_comm_overlap,
        ub_overlap_ag=not opts.no_comm_overlap,
    )

    optim = torch.optim.Adam(model.parameters(), lr=0.0001)

    fp8_format = Format.HYBRID
    fp8_recipe = DelayedScaling(fp8_format=fp8_format, amax_history_len=32, amax_compute_algo="max")

    for i in range(opts.num_iters):
        dist_print(f"Iter {i+1}", all_ranks=opts.verbose)

        dist_print("|-- Generate random input batch", all_ranks=opts.verbose)
        x = torch.rand(
            (opts.seq_length // tp_size, opts.batch_size, hidden_size),
            dtype=torch.bfloat16,
            device="cuda",
            requires_grad=True,
        )

        dist_print("|-- Forward pass", all_ranks=opts.verbose)
        with te.fp8_autocast(enabled=opts.fp8, fp8_recipe=fp8_recipe, fp8_group=tp_group):
            y = model(x)
            dist_print("|-- Compute loss", all_ranks=opts.verbose)
            loss = y.flatten().sum()

        dist_print("|-- Backward pass", all_ranks=opts.verbose)
        loss.backward()

        dist_print("|-- Optimizer step", all_ranks=opts.verbose)
        optim.step()

    te.destroy_ub()
    dist.destroy_process_group()

if __name__ == "__main__":
    if "TORCHELASTIC_RUN_ID" in os.environ.keys():
        args = parse_args()
        train(args)
    else:
        subprocess.run(
            ["torchrun", f"--nproc-per-node={torch.cuda.device_count()}", *sys.argv],
            env=os.environ,
            check=True,
        )
    os._exit(0)

and i run with torchrun --standalone --nnodes=1 --nproc-per-node=$(nvidia-smi -L | wc -l) te_sub_group.py
the error is :

the commit id of TransformerEngine is 4a4f05dadf7032ff2f4c0780d9adcde77878c7b1
and i use the docker image  is nvcr.io/nvidia/nemo:24.05

The tensor parallel group can be a subset of the world group. We frequently split the world group into orthogonal tensor-parallel, data-parallel, and pipeline-parallel groups.
Based on the error message, it looks like there's an error when NCCL is initializing IPC communicators: https://github.com/NVIDIA/TransformerEngine/blob/4a4f05dadf7032ff2f4c0780d9adcde77878c7b1/transformer_engine/pytorch/csrc/userbuffers/userbuffers-host.cpp#L501
To get more information, can you set NCCL_DEBUG=WARN in the environment?

i have set export NCCL_DEBUG=WARN and there is no additional message

@kuangdao TE in general supports TP size < world size, but the comm+GEMM overlap has some unique restrictions. The underlying device-to-device comms code currently assumes TP size == world size. You may be able to get around this limitation by running with UB_SKIPMC=1, but this leverages CUDA IPC Handles instead of CUDA Multicast so it may not be as performant.
As a disclaimer, comm+GEMM overlap is currently an experimental and somewhat fragile feature that is not yet fully supported in TE under all circumstances (and intentionally undocumented). That will change in the near future, as we improve the underlying device-to-device comms code and test it more rigorously on different platforms.

thanks, i know, i think comm+GEMM overlap is outstanding job, and i hope more documents such as design and Implementation will be give.

@kuangdao -- we merged some changes to comm+GEMM overlap in the last month specifically to address multi-node mixed DP/TP use-cases. This feature is still restricted to tp_size <= local_size where local_size is the # of GPUs in a single NVLink domain (currently a single physical node of max 8 GPUs), but it now functions correctly with model replication across node boundaries. Could you test again and confirm if this works for your use case?


ARM64 rancher/rke-tools:v0.1.72 confd Exec format error

rancher/rke-tools:v0.1.72
/usr/bin/nginx-proxy: line 4: /usr/bin/confd: cannot execute binary file: Exec format error

me too

/usr/bin/nginx-proxy: line 4: /usr/bin/confd: cannot execute binary file: Exec format error
2022/05/18 06:31:21 [notice] 7#7: using the "epoll" event method
2022/05/18 06:31:21 [notice] 7#7: nginx/1.20.1
2022/05/18 06:31:21 [notice] 7#7: built by gcc 10.2.1 20201203 (Alpine 10.2.1_pre1)
2022/05/18 06:31:21 [notice] 7#7: OS: Linux 4.18.0-193.28.1.el7.aarch64
2022/05/18 06:31:21 [notice] 7#7: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2022/05/18 06:31:21 [notice] 7#7: start worker processes
2022/05/18 06:31:21 [notice] 7#7: start worker process 8
2022/05/18 06:31:21 [notice] 7#7: start worker process 9


feat(amplify-dotnet-runtime-provider): added support for .NET Core

Issue #, if available:
Description of changes:
Adds support for .NET Core.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing in favor of #3803


added the fallback_application_name for debugging and troubleshooting

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2175/
Test PASSed.


Rxjs Error when deploy to vercel

Description
Halo,
i try to deploy my project to vercel but i got this rxjs error from @hashgraph/sdk npm package, do you know why this happen?
Steps to reproduce
run vercel in my project
got this error in vercel log

Additional context
No response
Hedera network
testnet
Version
2.29.0
Operating system
macOS

Hello harisalkarni, I see you're using an old version of 2.29.0 of the SDK. Have you tried deploying your project with the latest version of 2.40.0 of the SDK and checking if the problem still exists?

yes i already tried using 2.40.0 version but the error still the same
the rxjs error

i already fix it, i install rxjs package and the error is gone

Hello harisalkarni, we're going to close this ticket if there are no any other problems?


I'm on 6.0.1 and experimental build of youtube background playback. Phone doesn't boot up when activating the module

I'm on CyanogenMod 6.0.1 and youtube background playback latest experimental build. The phone doesn't boot up when I activate the module and restart
Any help?

Your likelihood of getting help with this increases if you provide a logcat around the time you experience an issue.

The experimental version works!

Try to download older version of youtube 11.41.54


show different visualization color for DNSSEC-only versus DNSSEC+DANE

Currently:

domains which only have DNSSEC are visualized with a green color padlock in the right side of the URL but.
domains which have DNSSEC+DANE are also visualized with a green color padlock in the right side of the URL.

This is non-ideal. Now when I want to find out which one is it, I have to click the padlock to then see the popup saying DNSSEC or DNSSEC secured + DANE valid.
Feature request: Could you please show a different visualization that communicates that DNSSEC is good but DANE (which as DNSSEC as a prerequisite) is better?
Since very few websites currently are DANE secured, it would be nice if this add-on could contribute the encourage getting the best possible security (DANE) visualization. Maybe one or another user would contact the site owner and suggest adding DANE. Your add-on has certainly motivated me to start working on adding DANE support for all websites where I am a sysadmin, thank you!
Suggestion:

DNSSEC-only domains: keep the currently used light green padlock
DNSSEC+DANE domains: use a darker green, perhaps a bigger green field spelling out DANE

The implementation specifics (colors, styles) on how to have visual distinction are of course just the first thing coming to mind. If there are better ways to illustrate it, even better.

I found a screenshot how DNSSEC Checker is doing a better visualization.
https://lh3.googleusercontent.com/eRUj44jFdmEKV_JwnMyd5avcvr6mrGRJRnnHBZIyqxLMS2LaSk2Cr_2Ju8y5ZINCzRW9EUjYEX9wMAyq13zY_wUEmg
(Should above link break, I recommend to go to the original link DNSSEC Checker and view the screenshots.)
Better than what I had in mind. A shield symbol (could also be a lock symbol) with two colors. Upper side is blue, lower side is green. Blue isn't as great a color as green (in context of security) and far away from red but good to show something "special", that is DNSSEC-only. The two different parts of the shield symbol diagonally separated by some white space and a red line.

Yet another solution would be to always have two different icons. Maybe a shield symbol for DNSSEC and a padlock symbol for DANE. Probably better than my above idea.

Hi @adrelanos could you clarify if this issue is for dohjs.org or another website? I'm not exactly sure where you're seeing this icon

Sorry, I posted in the wrong repository.

Ok no problem!


Added ServicesCard Component for the Second Theme

Signed-off-by: Abhijay Jain<EMAIL_ADDRESS>Description
Added services Card Component for the first theme
Resolves #257
Screenshots (In case of UI changes):

Desktop  View

Types of changes

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests have passed and it does not give any unexpected error for the same.

cc: @charithccmc @dinithminura


Fix classification notebook to download FordA dataset without error

Before submitting (must do checklist)

[x] Did you read the contribution guide?
[ ] Did you update the docs? We use Numpy format for all the methods and classes.
[ ] Did you write any new necessary tests?
[ ] Did you update the CHANGELOG?

Proposed Changes
Rewrite passage for downloadig FordA dataset.
Closing issues

Codecov Report

Merging #1298 (04ad3c1) into master (3f4ce91) will decrease coverage by 79.29%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master   #1298       +/-   ##
==========================================
- Coverage   88.75%   9.47%   -79.29%
==========================================
  Files         193     182       -11
  Lines       11743   11423      -320
==========================================
- Hits        10423    1082     -9341
- Misses       1320   10341     +9021

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


Convert project to Cargo Workspace

Split the package into multiple library crates to separate astarte-message-hub-types from the astarte-message-hub application allowing separate distribution of the astarte-message-hub-types crate.
Cargo offers a feature called workspaces that can help manage multiple related packages that are developed in tandem.
A workspace is a set of packages that share the same Cargo.lock and output directory.
Cargo-Workspace

Types and proto files are moved to astarte-message-hub-prot repo.
We still need to separate the repo into multiple workspace member, for example for better inclusion of e2etest.


Show icon when managing chrome extension

When I view the icon in chrome://extensions, its icon is just a blank C. It should probably be the Codecov umbrella?

Fixed in latest release


Unhandled Exception: mainWindow not found

Can't set app to full screen using the following command:
await DesktopWindow.setFullScreen(true);
Error:
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: mainWindow not found
#0      DesktopWindow.getWindowSize (package:desktop_window/desktop_window.dart:16:5)
<asynchronous suspension>

Environment:
MacOS 11.4 Big Sur
Mac Mini M1
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.55.2)
[✓] Connected device (1 available)
What could I have done wrong?

I have the same problem。
flutter: getWindowSize err: PlatformException(MAINWINDOW_NOT_FOUND, GtkWindow not found, null, null), #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7) #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:18) <asynchronous suspension> #2      DesktopWindow.getWindowSize (package:desktop_window/desktop_window.dart:12:17) <asynchronous suspension> #3      FutureExtensions.onError.<anonymous closure> (dart:async/future.dart) <asynchronous suspension>
Environment:
OS: Manjaro Linux x86_64
Kernel: 5.10.56-1-MANJARO

I got the same problem with the function setMinWindowSize. It was working before, but today it was not working but not logging any error to the console. So I made a print of the result of the function and it says "mainWindow not found". I'm using MacOS.

I have the same occurrence pattern as @hyungtaecf Everything runs fine as long as I keep my computer's focus on where the desktop simulator open.
Using MacOS, Flutter 2.13, beta channel

PR #33 will help you guys.
I also forked this repo, changed code like PR did, and it works.


ci: build with arm64 support

#711  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

not sure this will work but hopefully


[CN] Fix handle_case/3 to handle_call/3

Thank you and welcome @nanlong!  @cizixs could you review this when you have a moment?

LGTM. Merged.


SAK-29196 - Findbugs incorrect expression on WTUserIdTrans

LGTM, wonder how long our oldest copy/paste error is going to be.


ci: run all linter benchmarks

After #3221 we can re-enable the linter benchmarks which were disabled in #3172, as they won't hog so much CI time any more.

I still don't understand why the linter benchmark takes so long to build. The linter itself is an enormous bunch of code, so you'd expect it, but the benchmark crate also takes ages to build.
--timings output on CI:

Github action queues the jobs, adding too many linter benchmarks is pretty useless. Let me put this on hold.

OK, no problem. Actually we should probably drop the 5th benchmark (antd.js) anyway as it takes too long to run even all by itself.
My logic was that now that the jobs don't include building the benchmark and run in ~1 minute, they don't gum up the queue for long, so contention is less of a concern.

Feels like 2 linter benchmarks is enough for me, closing.


feature: enhance responsive sizing

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


replace '.jpg' instead of 'jpg' to guarantee replacing file ending

The Mapillary Vistas Dataset validation split contains random strings as filenames, one of which has 'jpg' as part of the random filename.
this results in a file not found error during validation when training with mapillary vistas dataset as a panoptic dataset
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
The Mapillary Vistas Dataset validation split contains random strings as filenames, one of which has 'jpg' as part of the random filename.
this results in a file not found error during validation when training with mapillary vistas dataset as a panoptic dataset
Modification
replace '.jpg' instead of 'jpg' with '.png'
BC-breaking (Optional)
no braking changes.
Use cases (Optional)
bug fix for widespread panoptic dataset: Mapillary Vistas Dataset.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMPreTrain.
The documentation has been modified accordingly, like docstring or example tutorials.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Live Video in React Native Video - Problem with start time and current playback time

Bug
When playing live video as soon as the video starts to play the video starts at the current time of the video. But in the controls it seems to be still at 0:00 seconds.
Platform
Observed this in Android.
Environment info
React native info output:
System:
    OS: macOS 10.15.4
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
    Memory: 169.54 MB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.21.0 - ~/.nvm/versions/node/v10.21.0/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v10.21.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.0 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 28, 29
      Build Tools: 28.0.3, 29.0.3
      System Images: android-R | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.69<IP_ADDRESS>14223
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_251 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Add the HLS url to to the uri tag
Observe the controls in the output. You will see its started at 0:00

Expected behaviour

The controls should show the user to see the correct playback time when the user is live.

Reproducible sample code
<Video source={{uri:'URL PATH.ism/manifest(format=m3u8-aapl)', type:'m3u8'}}
                    ref={(ref:any) => {
                        this.player = ref
                    }}
                    controls={true}
                    progressUpdateInterval={1000} //calls onProgress after every 1 second
                    onSeek={( seek : {currentTime: number, seekTime: number}) => {console.log(seek)}}
                    onProgress={( progress : {currentTime: number, playableDuration: number, seekableDuration: number}) => {console.log(progress)}}
                    style={{
                        width: Dimensions.get('window').width,
                        height: 400
                      }}
                />

Image sample

Above is using Manifest from #azuremediaservices

any update on this ?


Optimize descriptor set binding in Metal

Our bind_xxx_descriptor_sets shows up steadily within the top of our instrumented profiles on MacOS. The reason being our hot loops are too complex:

for each descriptor set

for each layout

for each stage

for each each of {buffers, textures, samplers}

for each binding

if it's changed

if we are in an immediately recorded pass - > execute
if we are in a deferred recorded pass - > own the command and add to the list
if not in a pass, ignore

That last branch would be nice to lift up quite a bit:

if we aren't in a pass, don't bother checking if the binding has changed, just change it and proceed
hot loops are going to be nicer, e.g. we can probably do extend on the deferred list
less closures and other compiler magic in place

Unfortunately, doing this would likely mean repeating more code, since it's no longer as easy to separate compute and graphics. At the same time, there is already code duplication there, so we might take this as an opportunity to rethink it.

Another interesting opportunity here is changing the internal representation of a descriptor set. Currently, representing it as a set of layouts, each having a range of values (for array descriptors) is overly general and doesn't work best for most common cases. What if we flatten the structure a bit, basically saying DescriptorSet = Set<Descriptor>?

Ideally, we should only be looking up at the resource override per set. Within a set, we should be able to compute both the descriptor index and the target resource index incrementally when processing the layouts. This would work if the layouts used on binding are exactly the same as the set layouts passed to pipeline layout creation, which I believe is a requirement anyway.
An unrolled semi optimal code would probably look like this:
- for descriptor set
  - for descriptor layout
    - for {buffer, texture, sampler}
      - fetch the descriptor value
      - for each affected shader stage
        - if the value is different
          - change the value
          - issue command (ideally, without branching)


Product created at default channel is visible in all channels.

Bug report
Product created at default channel is visible in all channels.
Issue Description
Product created at default channel is visible in all channels.
Preconditions
1. framework Version-0.1.7

Steps to reproduce
1. step1- Create a product at default channel
2. step2- Check the same product in all channel

Expected result
Product should display only in selected channel
Actual result
Product displays in all channels.

Can not reproduce this issue


Ignore changes to emacs auto-save files.

I guess there should be a .boring.sensei file eventually, but I thought this may be relevant enough (there are people using emacs out there!) and robust enough to have a chance to make it to master.  (-:
(Come to think of it: would it be a good idea to honor .boring and .gitignore whenever they are present?)

Hum, I ran into other files that I want to mark as boring.  This time to avoid getting loops (the test suite is touching those files), and on files that are very project-specific.
I would like to implement a better fix, but make sure that I'm doing something you think makes sense.  My current favourite would be an optional file called .sensei.boring located next to the socket file that lists prefixes (strarting with / or ^?) and infixes (starting with something else).  (Optional) honoring git and darcs ignore file could be added later.
Also, it would still help me if you would merge this as a quick "fix".
Any thoughts?

Other then my comment LGTM.
Regarding .sensei.boring, yes, I think this is a good idea.  Instead of prefixes and infixes I would prefer the same syntax and semantics as what is used for .gitignore.  But I think it's fine to start with a subset, e.g. I would not implement support for ** and ! for now.
@fisx would you want to give this a shot?
BTW, regarding files that are created / modified by tests, you may want to use Test.Mockery.Directory.inTempDirectory to work around this.

You are right, inTempDirectory is a the way to fix this.  Thanks!
I want to implement this, but with this fix, it may take a bit longer for me to get around to doing it.  If you wanted to force me, you could refuse to merge this.  (-:

I'm merging this now.  I still think .sensei.boring would be a nice thing.

cool, thanks!
(I agree that .sensei.boring would be nice.  I will try and find the time.)


Add shenyu-sdk-feign doc.

Add shenyu-sdk-feign doc.

It seems that the current version of node16 is not compatible with<EMAIL_ADDRESS>, see log detail,  Let's wait and review after upgrade node version merged.

It seems that the current version of node16 is not compatible with<EMAIL_ADDRESS>, see log detail,  Let's wait and review after upgrade node version merged.

Ok.


Add test for json adapted module class

Codecov Report
Base: 61.11% // Head: 60.56% // Decreases project coverage by -0.54% :warning:

Coverage data is based on head (4160f93) compared to base (7da8e75).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #145      +/-   ##
============================================
- Coverage     61.11%   60.56%   -0.55%
- Complexity      452      461       +9
============================================
  Files            91       93       +2
  Lines          1602     1651      +49
  Branches        178      187       +9
============================================
+ Hits            979     1000      +21
- Misses          570      594      +24
- Partials         53       57       +4

Impacted Files
Coverage Δ

...seedu/taassist/storage/JsonAdaptedModuleClass.java
95.00% <100.00%> (+30.29%)
:arrow_up:

...seedu/taassist/logic/parser/AddcCommandParser.java
71.42% <0.00%> (-28.58%)
:arrow_down:

...ava/seedu/taassist/logic/commands/AddcCommand.java
73.07% <0.00%> (-26.93%)
:arrow_down:

...n/java/seedu/taassist/logic/parser/ParserUtil.java
61.11% <0.00%> (-7.64%)
:arrow_down:

...va/seedu/taassist/logic/parser/TaAssistParser.java
59.25% <0.00%> (-2.28%)
:arrow_down:

...du/taassist/logic/parser/DeletesCommandParser.java
0.00% <0.00%> (ø)

.../seedu/taassist/logic/commands/DeletesCommand.java
0.00% <0.00%> (ø)

...ain/java/seedu/taassist/model/session/Session.java
61.53% <0.00%> (+7.69%)
:arrow_up:

.../seedu/taassist/logic/commands/SessionCommand.java
12.50% <0.00%> (+12.50%)
:arrow_up:

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add note about Foundry VTT v11 compatibility

I couldn't find any public information about v11 compatibility until I joined the Foundry Discord server and scrolled up a little. This will hopefully make it more visible to the general public.

This information is already in the system description for versioning {maximum: 10} and is accessible through the Foundry package info page: https://foundryvtt.com/packages/pf2e

Maintaining a seventh location in the readme is just asking us to miss another non-automated location and have conflicting data. Closing as wontfix.

Ah, I see! I couldn't access that page without cookies


make sure proxy is 2048 bit. Fix #11005

Fixes #11005
Status
ready
Description
will call voms-proxy-init with -bit 2048 option (default is 1024).
with reference to discussion in https://cms-talk.web.cern.ch/t/repost-fts-proxy-issues-it-uses-1024-bits/6827
I have tested the -bits 2048 option in CRAB TaskWorker and works as expected. As noted in that CMSTalks thread, this makes no difference in the end for CRAB since HTCondor creates new proxies on sched and WN's and makes them 2048 bits already, but it will help mind sanity to have all proxy files with same key length.
FWIW, in my testing myproxy-logon creates a 2048-bity proxy
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
None

I see no reason to hurry. When you have time I'd rather have a chat about setting up environment for job wrapper


Prisma Query Engine process not stopping after completion

Bug description
I have a graphql server running, that queries data using prisma. For every query or mutation, a process is launched by prisma. After query/mutation completion, the process doesn't die automatically and stays in the memory. After some more queries and mutations, my memory usage touches 90% and my instance crashes.
I ran htop to investigate which process was consuming memory. Please refer to the screenshot attached.
query-engine-debian-openssl-1.1.x process is the one that is launched on every operation and doesn't die.
Expected behavior
After the query succeeds, the process should die.
Environment & setup

OS: Ubuntu 18.04
Database: PostgreSQL
Prisma version: 2.0.0-beta.5
Node.js version: 12.18

Hi @gyash24x7
Can you please share a minimal reproduction? Also, please try using the latest version. Thanks!

Hi, @pantharshit00
I looked into the issue and it turns out that I was creating multiple instances of the PrismaClient in my app that was using up all the memory. The issue itself is resolved but, should there be a check to use existing PrismaClient instance, if any is active?If not, then create a new instance.

I am going to close this issue then.
Your other concern is related to https://github.com/prisma/prisma-client-js/issues/730


Remove Generation from Entity.

Given that we do not support dual representation of entities that can be both Frozen or Identifiable, having the Generation that expects an Identifiable Activity breaks deserialization when Entity is instantiated with a resource with a Frozen Activity.
For this reason, it is better not to have Generation at the Entity level and let the specific types handle the layout of their Generation shapes.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.09%. Comparing base (52f288b) to head (524a5b1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
- Coverage   80.12%   80.09%   -0.03%
==========================================
  Files          24       24
  Lines        1479     1477       -2
==========================================
- Hits         1185     1183       -2
  Misses        294      294

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Coverage not working

Hi,
After a git clone / npm install I can't run the npm test command properly. Unit tests are working but code coverage is not.
Finished in 0.024 secs / 0.263 secs

SUMMARY:
✔ 4 tests completed
19 12 2016 11:55:10.716:ERROR [coverage]: TypeError: remap is not a function
    at RemapCoverageReporter.onCoverageComplete (/home/theo/Documents/ionic2-boilerplate/node_modules/karma-remap-coverage/remap-coverage.js:23:23)

Am I missing something ? Thanks.

Could you try to change in package.json
"karma-remap-coverage": "^0.1.3",
in
"karma-remap-coverage": "0.1.3",
and run again npm install ? And see if it works ?

I just did, same error unfortunately...
Thanks for your quick answer !

Reverting to "karma-remap-coverage": "0.1.2", fixed the issue. Let me know if you have further problems, and Thank you for opening the issue.

It's working perfectly ! Thank YOU for fixing this in 15 minutes ! ;)


Refactor: Unify simple and advanced modes (Steps 1B)

Bugfix on simple mode
Use the new simulation object structure in the simple mode
TBD Use the new simulation object structure in the advanced mode

This PR applies the steps 1B outlined in our migration plan.

New set of changes:

Bugfix: Fix the download bug in advanced mode
Bugfix: Fix the last parameter issue in simulate function
Refactor: Unified Save and Download functions across modes
Refactor: Removed need for mode in displaySimulationResults + Used one unique all-simulations-wrapper
Refactor: Moved code out of main, Created store and simulate JS files to contain associated functions
Refactor: Miscellaneous renamings (removed unified)
Refactor: Removed all unused code e.g. mode-specific functions that weren't called anymore


There is a problem with prefetches because there is no specific value

# HELP unbound_prefetches_total Total number of cache prefetches performed.
# TYPE unbound_prefetches_total counter
unbound_prefetches_total{thread="0"} 0
unbound_prefetches_total{thread="1"} 0
unbound_prefetches_total{thread="2"} 0
unbound_prefetches_total{thread="3"} 0

This looks correct. What does unbound-control stats show for these metrics?

unbound-control stats

thread0.num.prefetch=0

Presumably because Unbound has not done any prefetches. You would need to consult the Unbound information for information about prefetching.


BTRX - 819 - Documents are not shown properly

Addresses
BTRX-819 : Documents are not shown properly

[x] Submitter: Verify all tests go green, including CI tests
[ ] Submitter: Get a thumb from Belatrix
[ ] Submitter: Get a thumb from @rushtong
[ ] Submitter: Merge to develop using github's "Squash and Merge" feature
[ ] Submitter: Delete branch after merge

@rushtong I created a document, I hope this  help to clarify it. Thanks!

Here is the original method that needs revision:
    Collection<Issue> findByKeys(Map<String, ConsentCollectionLink> keys, String projectKey) {
        if (keys && !keys.isEmpty()) {
            List<Issue> issues = Issue.findAllByProjectKeyInList(keys.keySet().toList())
            List<StorageDocument> documents = getAttachmentsForProjects(keys.keySet())

            def docsByProject = documents.groupBy({d -> d.projectKey})
            issues.each { issue ->
                List<StorageDocument> docs = new ArrayList<>()
                List<ConsentCollectionLink> links = findConsentCollectionLinksByProjectKeyAndConsentKey(projectKey, issue.projectKey)
                List<StorageDocument> collectionDocuments = findAllDocumentsBySampleCollectionIdList(links?.collect{it.id})
                List<StorageDocument> projectDocuments = docsByProject.get(issue.projectKey)
                if (CollectionUtils.isNotEmpty(collectionDocuments)) {
                    docs.addAll(collectionDocuments)
                }
                if (CollectionUtils.isNotEmpty(projectDocuments)) {
                    docs.addAll(projectDocuments)
                }
                issue.setAttachments(docs)
                issue.setStatus(keys.get(issue.projectKey).status)
            }
            issues
        } else {
            Collections.emptyList()
        }
    }

My suggestion is to simplify it - it's doing far too much work, adding complexity, and contains at least two bugs ... duplicate documents and mismatched statuses. My suggestion works conceptually, i.e. it only adds one set of docs to each issue and doesn't try to do anything else other than what a query method should do.
    Collection<Issue> findByKeys(Map<String, ConsentCollectionLink> keys, String projectKey) {
        if (keys && !keys.isEmpty()) {
            List<Issue> issues = findAllByProjectKeyInList(keys.keySet().toList(), null)
            List<StorageDocument> documents = getAttachmentsForProjects(keys.keySet())
            def docsByProject = documents.groupBy({d -> d.projectKey})
            issues.each { it.setAttachments(docsByProject.get(it.projectKey)) }
            issues
        } else {
            Collections.emptyList()
        }
    }

A good chunk of the problematic method was introduced in https://github.com/broadinstitute/orsp-pub/pull/243 and I didn't catch it then. My apologies @verovicario - I should have seen where this was going off the tracks.

:+1:


Fire time-changed after changing the minute

This is now obsolete with the latest commit. All public properties that change internally are notify: true.


Indicator to suggest when to scroll down

As you know in SwiftUI we do not have much support for scrolling things, for now I have to ignore this request :(

What about GeometryReader? I have an natively swiftUI solution.
ScrollViewOffset.swift.zip

Seems not working with List?, Also how can we know about fullHeight so that we can calculate how much we close to bottom.
Also if you were able to get it work, we can add scrollToBottom feature for iOS13, I mean you can create Pull Request it's much appreciated :) @WilderLopez


[entropy_src/rtl] Provide backpressure on core FIFOs

The DV changes added in PR #14643 immediately revealed that there are
some gaps in the backpressure pipeline in the entropy_src core, and
that stalls from the cs_aes_halt_ack can cause entropy to be dropped
before it gets SHA conditioner, which could lead to poor entropy
outputs if enough entropy is dropped.
This PR corrects the problem by applying consistent backpressure
throughout the entropy_src data processing chain.  With a
long enough delay entropy can be stalled all the way back at the
RNG input. Even if the external RNG source does not support
backpressure, this is fine because entropy dropped at the is not
counted when calculating the number of inputs gathered to create
the output seeds.
Applying backpressure all the way back to the RNG input also helps
for verification, as the test environement does support backpressure
at this interface.

This commit also manipulates the timing of the internal enable
signals, as the new backpressure changes introduce one timing wrinkle.
Since RNG bit-select mode introduces an additional packer fifo stage
this creates a one cycle delay that comes and goes whether the RNG
bit select fifo is enabled, which can cause dropped samples at
disable time, and these particular samples are difficult to handle in
verification.  Therefore the enable/disable signal for most of the core
is delayed by one additional clock cycle.
This delayed enable signal is only used by processing stages after the
RNG bit select FIFO (which is most of the core).  Inputs to the
bit-select and RNG input FIFOs use separate enable signals.
Signed-off-by: Martin Lueker-Boden<EMAIL_ADDRESS>

this lgtm ! although i think the simulation results are probably going to be more effective than my review :)
Clearly i missed these back pressure points during the initial code review.
@mwbranstad just a note that @martin-lueker removed specific error cases because of back-pressuing.  The reason does make sense to me, but I wanted to make sure you're okay with it too.

@tjaychen you actually did not miss anything. Two design statements were made in the past for ES:

the RNG will not respect backpressure, so ES will not provide support for it
the cs_aes_req/ack interface will be far faster than the first available RNG word ready for sha3, so don't worry about this case
@martin-lueker has found that the DV scoreboard is much easier to maintain with backpressure to RNG in place. I suppose we are "future proofing" in a way for any RNG that does support it, but in the meantime this is for DV primarily. With that in mind, the cs_aes interface needs to be tracked closer. Martin choose the 4 phase push/pull model, which is pretty close to the design. This seems to be working out well. Lastly, I am good on the error checking removal since we are allowing it now.

@martin-lueker thanks for pulling in the comments.


New sections disappear from configuration after service restart

Good afternoon.
I have a question about adding new accounts in emailproxy.config
The problem is that if I add a new section when emailproxy is running then without restarting this setting will not apply and I get the error "Proxy config file entry missing for account", at the same time if I restart the proxy "systemctl restart emailproxy" then the section I added disappears from the configuration file . It seems to be a defect.
So at the moment the only option is to stop the proxy, make changes to emailproxy.config and start again.
How relevant do you think it is for the settings to be applied on the fly.
Thanks.

Thanks for opening the discusion about this.
The proxy was initially designed as a GUI-only application, and if you run it in that mode you'll see that there's a menu option to reload the configuration file. If you make configuration changes and reload this way then your edits will not be overwritten (except in the unlikely event that an OAuth 2.0 token refresh happens while you are editing).
The proxy has subsequently been extended to support non-GUI operation, and in that mode you can use a SIGHUP signal to trigger reloading the configuration (e.g., pkill -SIGHUP -f emailproxy.py). However, this signal is not available on Windows, so in non-GUI mode there it is necessary to stop and start the proxy as you are doing.
The reason your changes are being overwritten is that when the proxy exits it automatically saves the most recent configuration state. This used to be essential, but the way configuration is managed has evolved over time, and I am tempted to remove this behaviour, at least in non-GUI mode.

Greetings Simon.
Thank you for your detailed reply.
I am using the application in headless mode on a Linux server, so SIGHUP is fine for me.
I have an idea for improvement.
It seems storing tokens in a config file becomes problematic, what if storing tokens in a separate file or SQLite?
This would not require overwriting the configuration file when updating the token. In this case, the application will open the configuration file for reading only and we will be able to freely reload the configuration on "Proxy config file entry missing for account" event and eliminate the need to restart/stop the application.

Great - SIGHUP should solve your issue here then.
The suggestion to separate cached tokens from configuration is something that has been discussed before, but there are benefits to having everything in one place, particularly in a server setting (for example, copying a fully-authenticated configuration from one setup to another). It's also normally the case that the configuration file is rarely updated, so for now I think the extra complexity (and potential for confusion) is not needed.

I'm going to close this issue as SIGHUP solves your issue. As outlined above, separating configuration and token caching is not currently a feature I'm planning.


⚠ BCR Bot has degraded performance

In 69ac99b, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1960 ms

Resolved: BCR Bot performance has improved in 677b242.


Non-test methods should not be converted to tests

In:
class PasswordsControllerTest < ActionController::TestCase
  def dumb_calculator
    2 + 2
  end
end

Out (expected):
RSpec.describe(PasswordsController, :type => :controller) do
  def dumb_calculator
    2 + 2
  end
end

Out (actual):
  it("dumb calculator") do
    2 + 2
  end

So i guess only methods starting with test_, and it, should, and test calls, should be converted to it specs.

Fixed by #13, released in 0.10.2

Thanks!
On Thu, Nov 9, 2017 at 12:28 PM, Jared Beck<EMAIL_ADDRESS>wrote:

Fixed by #13 https://github.com/jaredbeck/minitest_to_rspec/pull/13,
released in 0.10.2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jaredbeck/minitest_to_rspec/issues/12#issuecomment-343229343,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMIN3vRQhtEVs0nVgqYFwZ9bqweJqr3ks5s0zY3gaJpZM4QYMHX
.


Add support for later/lazy evaluation of Python code

For example if one command generates files and a second command needs to rely on them:
session.run('do', 'thing', 'to', 'files', nox.lazy(glob.glob, *args, **kwargs))

Obsoleted by #91 and #94.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-28-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4237

Questions ?
Please refer to the Backport tool documentation


Cowabungalite | Remove itunes depedency as it's missing required part

[ x] Have you signed the Contributor License Agreement?
[ x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ x] Have you tested your manifest locally with winget install --manifest <path>?
[x ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

So i had to comment this part out, b/c some parts that itunes uses to talk to the iPhone aren't installed using winget from the source winget/none-microsoft store.
I left what should be configured as a comment, incase mixed sources are allowed. For now users would only need to install the itunes depency seperatly (which really isn't much of a deal breaker)
Hope this is ok to submit, the app will startup but can't really be used beyond that.
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

2023-09-27 00:53:54.867 [FAIL] D:\a\1\s\src\AppInstallerRepositoryCore\SQLiteWrapper.cpp(281)\WinGetUtil.dll!00007FFBE95E2DEC: (caller: 00007FFBE960936A) Exception(1) tid(96c) 87AF0005 The database file is locked
Msg:[cannot open savepoint - SQL statements in progress]
2023-09-27 00:53:54.868 [REPO] Setting error JSON 1.0 fields

This appears to be an ephemeral pipeline/client error.

/AzurePipelines run

/AzurePipelines run

great! seems like that did the trick :) !

@wingetbot waivers Add Validation-Executable-Error


Add gif media type to the image inliner.

Fixes issue #63

I signed it!

It looks like I have my email masked for this request and I'm having trouble updating it. I'll close this request and create another with the proper email.

For future reference: to update the email to a @google.com one, you just need to amend the last commit + force-push your branch again (something like https://gist.github.com/trey/9588090)


Code Editor in challenges does not scroll in Firefox

Describe the bug
When viewing any challenge in Firefox, I can scroll in the instructions/theory part of the window, but the scrolling does not work in the code editor. I have tried with an external mouse as well as with the Trackpad in my Mac.
In the same computer and with the same devices it works perfectly using Chrome.
To Reproduce

Go to any challenge.
Try to scroll inside the code editor.
It does not work.

Expected behavior
It should scroll.
Desktop:

macOS 10.14.6
Mozilla Firefox 69.0.3

Additional context
So far, to scroll in Firefox I have to click and drag the side scrolling bar in order to navigate the code.
I think I'm only having this issue since the last redesign, but I may be wrong on this.

I've noticed this for quite a while - but I don't recall if it was present before the latest redesign.

This is definitely new with the update.

Having the same issue as you @ArielLeslie
Might take a dig in the code/inspector and see what's up.

It looks like a possible bug with the monaco editor (we are using monaco-editor": "^0.17.1")
https://github.com/Microsoft/monaco-editor/issues/1353
I confirmed the bug locally first and I then updated to the latest version of monaco 0.18.1 and the scroll works again in Firefox. So it has been fixed.
I'm just not sure how involved it is for us to update the editor?

@lasjorg Thanks for digging into this and finding the updates.
I think we should be able to update monaco-editor itself which we have as a dep:
https://github.com/freeCodeCamp/freeCodeCamp/blob/073ea9a4ef68e0e4381e5ac011edda582c659dce/client/package.json#L43
But the issue right now is to confirm if react-monaco-editor is going to play along as well:
https://github.com/freeCodeCamp/freeCodeCamp/blob/073ea9a4ef68e0e4381e5ac011edda582c659dce/client/package.json#L57
I think I could not bump it last time I was trying to update it.
Opening up for investigation and fix. A PR is most welcome, or any pointers are welcome as well.

I am also experiencing this problem after the update.
MacOS 10.14.6

Firefox 69.0.3

Both external mouse with a scroll wheel and Macbook Pro trackpad cannot scroll the code window however Chrome and Safari browser does not have this problem.

@raisedadead I was able to update react-monaco-editor to both 0.30.2 and 0.31.0.
I updated react-monaco to 0.18.1 and react-monaco-editor to 0.31.0, did a few challenges locally and didn't see any immediate issues from the editor update.
A PR would just be a chore update to package.json and package-lock.json correct?

I am also experiencing this problem after the update.

Thanks for reporting, please use the voting feature instead of confirming further.
We know this is a confirmed bug, more so in an underlying library that we have little control over. We are working on a solution. Keeping the thread free for solutions will help.

A PR would just be a chore update to package.json and package-lock.json correct?

Yes please. You are the rockstar.


Deprecate R.NET.Community nuget packages

There is still a substantial amount of recent downloads of these nuget packages (oddly, more of R.Net.Community 1.6.5 than 1.7.0 over the past 6 weeks).
R.Net.Community 1.7.0  depends on R.NET 1.7+ but will not automagically upgrade since, probably, different frameworks /profules are targetted in ulterior versions.
So, how to incentivise moving to R.NET short of de-listing (which might aggravate someone)?

Would this work to mark it as deprecated? https://github.com/NuGet/Home/wiki/Deprecate-packages


Developer may forget to generate chains

@andreogle
src/generated/ is not gitignore'd. This means that the developer needs to manually run chains:generate (or build) after updating chains/. Two options:

gitignore src/generated/ (my choice)
Add build to a git hook

A third option is to deepEqual check each JSON file's content matches the respective content in CHAINS. I wanted to add this to validate:chains but then forgot. Checking the only the number of chains matches isn't enough. It's very easy to add and no reason not to do this imo.
I couldn't decide if I wanted src/generated checked in or not. I don't really mind either way

That also works for me


[Bug]: Currency Input widget is accepting alphabet "e" along with numbers

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
In currency input widget, no alphabets and special characters are allowed since it only accepts number as a valid input.
Here "e" is allowed to type which throws error as invalid input.

Steps To Reproduce

Add currency input widget to canvas
Try adding input with alphabets and observe it accepts "e" as a input and numbers only

Environment
Production
Version
Cloud

Not an issue, expected behavior to handle large numbers


[FeatureRequest] Rotate Images

Hi, maybe it would be useful to be able to also rotate the images, besides resizing etc.

The old version has the ability to rotate, but I intentionally deleted the function since it requires more matrix transformation. Is there any benefits of rotating images inside the app over rotating the images before being imported to the app?

Not so much, besides sometimes you only realize it when the file is loaded. Minor Inconvenience.


Implement "requests-cache" package into requests.py

Description of feature/enhancement
The requests.py module should be a transparent middleware layer which caches requests made to the afltables.com domain. This serves three purposes:

Improve analytics speed;
Use HTML as a data-store, rather than curating a separate data store which mirrors the AFLtables database;
Being kind to the afltables webserver by not making hundreds of requests programatically.

Description of implementation

the current implementation is overly complex. It can be simplified by using the requests-cache python library .
hrefs from afltables.com use relative urls (not including the base domain name). This may cause problems depending on how requests-cache resolves hrefs in cached html pages. It may be necessary to parse the HTML, convert all URLs to absolute urls, and then cache the resulting HTML. This needs to be investigated.

https://github.com/RamParameswaran/pyAFL/blob/b7754bde22c32769c9674b799e6bf564ddd0bda8/pyAFL/requests/requests.py#L14-L73

Patched by #4.
Closed --


Improve the VotingService:getVotePermissionError function

The function returns "errors". A better way is to throw an error and catch them at another place.

Sure, make a suggestion for new names


Plugin approach

As Cookiecutter Django gets more and more features, it might be a good idea to pull some of these out into plugins.
This prevents bloat in the main project and makes life easier for the maintainers.
In order to make things easier to discover we could add a plugins.json file containing a curated list of plugins to use.
The prompt would then look something like this:
[snip]
use_docker [y]: n
install_plugins [n]: y
# this is where plugin.json kicks in and presents all available plugins
use_heroku [n]: y
use_compressor [n]: y
use_lets_encrypt [n]: n
use_pycharm [n]: y

Discuss!

I've started working on this in a separate project though I've only started writing documentation so far.  I usually write the docs first to give me a chance to think about the problem before I start writing code.
https://github.com/ssteinerx/cookiecutter-django-mixin

@ssteinerx I like the name plugin better than mixin. django already hasmixins and it could be confusing. I was reading the notes on the django channels integration pr where you started discussing this feature and it took me a while to realize that you were not really talking about django mixins.

The project is now named https://github.com/ssteinerx/cookiecutter-django-flux.
It is the goo that makes welding https://github.com/pydanny/cookiecutter-django/ projects to external dependencies less painful.

@jayfk I've now decided on the name.  It makes perfect sense -- flux is a compound that makes welding otherwise incompatible things possible with a firm weld as the result.

So what is next @ssteinerx ? Do you need any help ?

I wanted to let this sit a bit as I work on an actual project based on the cookiecutter-django layout in which I need to use React.

@ssteinerx I'd like to work with you on this. I'm about to deploy a Django project with channels support. I think that'd be a good fit for a flux/mixin/plugin.
What do you think?

@jayfk Love to!  I've also got a project in the same state.  This would be a great time to get the basic structure in for a flux (reconsidering that due to React Flux)/ mixin/ plugin.  Maybe it should just be called Django-chips (like chocolate chips, but for cookiecutter-django)?

@jayfk I'm about done messing with my prototype and am about to start fresh with a new cookiecutter installation and need to add channels into a brand new project.  Did you ever get started on this?


Applying to new data

Is there a way to apply an imputation model to new data without reestimating the model?
In a supervised setting you don't want to retrain your whole model every time you see a new test instance.
Thanks.

Not at the moment. I have a version of MICE that stores all of the n_imputation models made during fit, and then just applies them in the same order at predict. No time right now to get it into the codebase, sadly. And I am not sure how well this generalizes to the other methods.

Fair enough. I was hoping I was just missing something.
Might fit better with scikit-learn - we'll just steal all your cool stuff for which we can implement transform.

I agree. My implementation of basic MICE for sklearn is pretty much done, it just needs two things:
(1) An implementation of probabilistic mean matching.
(2) A lot of documentation.
I got super busy, so not sure when I'll have time to actually finish it. I can toss up a half-finished version if that is helpful.

maybe. I'm also too busy to do anything useful right now :-/

Sounds like we're both cursed in the same way =)

I can imagine trying to incrementalize KNN to work for new samples but you'd have to keep around the original dataset and compute distances of new samples to that stored data. For MICE, I guess we can keep the completed dataset, combine it with the new incomplete samples, and then run more iterations. Probably every method is amenable to that kind of "keep the data" approach -- but I suspect that's not going to be fast/efficient enough for many cases.
@sergeyf can you think of an imputation algorithm which can use just the models/parameters learned from one datasets to complete another?

For MICE, you don't need to keep the original dataset. You just need to keep each of the n_imputations * d models around.

Ah, you're right!

I think it's the best candidate for the sklearn API.

We definitely also want to KNN - memorizing all the data is standard for knn things. We have a PR but that's kinda stalled.

@iskandr there is a MICE pull request up on sklearn https://github.com/scikit-learn/scikit-learn/pull/8465
It could use some tests if you have some time to help =)

The MICE PR is pretty much done and waiting for comments. I'm closing this for now.


#25 added a default value for a parentTransactionId

Coverage remained the same at 100.0% when pulling 67068c6410af7ee389a7cd292f8713c4aa817ad1 on 25-ref-3d-auth into 281ba1b01ea08a255e3a64f680a375672eb63a22 on 25-ccard-authorize.