Can't relocate image, no relocation flag

Hi,
this situation must be handled internally by the emulator. If you edit the header manually, the emulation hangs.
unicorn_pe cpuid.exe -disasm
BlackBone: Allocate: Allocating at address 0x000002A6F2DC0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x000002A6F2DD0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x000002A6F2DE0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'cpuid.exe' with flags 0x1d001
BlackBone: ManualMap: Loading new image 'cpuid.exe'
BlackBone: ManualMap: Image base allocated at 0x000002a6f2df0000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Relocating image 'cpuid.exe'
BlackBone: ManualMap: Can't relocate image, no relocation flag
BlackBone: Free: Free at address 0x000002A6F2DF0000
BlackBone: Free: Free at address 0x000002A6F2DC0000
BlackBone: Free: Free at address 0x000002A6F2DD0000
BlackBone: Free: Free at address 0x000002A6F2DE0000
failed to MapImage
cpuid_.zip

on the last update nothing works at all...
unicorn_pe cpuid.exe -disasm
BlackBone: Allocate: Allocating at address 0x0000027C75920000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x0000027C75930000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x0000027C75940000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'cpuid' with flags 0x5d001
BlackBone: ManualMap: Failed to load image 'cpuid'/0x0000000000000000. Status 0xC0000034
failed to MapImage
BlackBone: Free: Free at address 0x0000027C75920000
BlackBone: Free: Free at address 0x0000027C75940000
BlackBone: Free: Free at address 0x0000027C75930000

Build 22.04.2021
unicorn_pe cpuid.exe -disasm
BlackBone: Allocate: Allocating at address 0x000001F8CEEA0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x000001F8CEEB0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x000001F8CEEC0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'cpuid.exe' with flags 0x5d001
BlackBone: ManualMap: Loading new image 'cpuid.exe'
BlackBone: ManualMap: Image base allocated at 0x000001f8ceed0000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Relocating image 'cpuid.exe'
BlackBone: ManualMap: Image does not use relocations
BlackBone: ManualMap: Loading new dependency 'kernel32.dll'
BlackBone: ManualMap: Dependency path resolved to 'C:\Windows\system32\kernel32.dll'
BlackBone: ManualMap: Loading new image 'C:\Windows\system32\kernel32.dll'
BlackBone: ManualMap: Image base allocated at 0x000001f8d0900000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Relocating image 'c:\windows\system32\kernel32.dll'
BlackBone: ManualMap: Loading new dependency 'kernelbase.dll'
BlackBone: ManualMap: Dependency path resolved to 'c:\windows\system32\kernelbase.dll'
BlackBone: ManualMap: Loading new image 'c:\windows\system32\kernelbase.dll'
BlackBone: ManualMap: Image base allocated at 0x000001f8d3b80000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Relocating image 'c:\windows\system32\kernelbase.dll'
BlackBone: ManualMap: Loading new dependency 'ntdll.dll'
BlackBone: ManualMap: Dependency path resolved to 'c:\windows\system32\ntdll.dll'
BlackBone: ManualMap: Loading new image 'c:\windows\system32\ntdll.dll'
BlackBone: ManualMap: Image base allocated at 0x000001f8d42e0000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Relocating image 'c:\windows\system32\ntdll.dll'
BlackBone: ManualMap: Performing security cookie initializtion for image 'ntdll.dll'
BlackBone: ManualMap: Performing security cookie initializtion for image 'kernelbase.dll'
BlackBone: ManualMap: Performing security cookie initializtion for image 'kernel32.dll'
BlackBone: ManualMap: Loading new dependency 'msvcrt.dll'
BlackBone: ManualMap: Dependency path resolved to 'C:\Windows\system32\MSVCRT.dll'
BlackBone: ManualMap: Loading new image 'C:\Windows\system32\MSVCRT.dll'
BlackBone: ManualMap: Image base allocated at 0x000001f8d3a50000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Relocating image 'c:\windows\system32\msvcrt.dll'
BlackBone: ManualMap: Performing security cookie initializtion for image 'msvcrt.dll'
BlackBone: Free: Decommit at address 0x000001F8D44CF000 (0x1000 bytes)
BlackBone: Free: Decommit at address 0x000001F8D3DFE000 (0x25000 bytes)
BlackBone: Free: Decommit at address 0x000001F8D09B1000 (0x1000 bytes)
BlackBone: Free: Decommit at address 0x000001F8D3AED000 (0x1000 bytes)
1f8ceed1000                     enter           0x80, 0
1f8ceed1004                     sub             rsp, 0x200
1f8ceed100b                     lea             rax, [rbp - 0xf8]
1f8ceed1012                     mov             qword ptr [rbp - 0x78], rax
1f8ceed1016                     mov             rcx, qword ptr [rbp - 0x78]
1f8ceed101a                     call            0x1f8ceed17a0
1f8ceed17a0                     mov             r11, rbx
1f8ceed17a3                     mov             r10, rcx
1f8ceed17a6                     xor             rax, rax
1f8ceed17a9                     cpuid
1f8ceed17ab                     mov             dword ptr [r10], ebx
1f8ceed17ae                     mov             dword ptr [r10 + 4], edx
1f8ceed17b2                     mov             dword ptr [r10 + 8], ecx
1f8ceed17b6                     mov             byte ptr [r10 + 0xc], 0
1f8ceed17bb                     mov             rbx, r11
1f8ceed17be                     ret
1f8ceed101f                     mov             rcx, qword ptr [rip + 0x10b1]
1f8ceed1026                     call            0x1f8ceed17c0
1f8ceed17c0                     enter           0x80, 0
1f8ceed17c4                     sub             rsp, 0x80
1f8ceed17cb                     mov             qword ptr [rbp - 0x78], r14
1f8ceed17cf                     mov             qword ptr [rbp - 0x80], r15
1f8ceed17d3                     mov             r14, rcx
1f8ceed17d6                     mov             rax, r14
1f8ceed17d9                     sub             rax, 1
1f8ceed17dd                     add             rax, 1
1f8ceed17e1                     cmp             byte ptr [rax], 0
UC_MEM_READ_UNMAPPED from 1400020d4
UC_MEM_READ_UNMAPPED rip at cpuid.exe+17e1
BlackBone: ManualMap: Unmapping image 'cpuid.exe'
BlackBone: Free: Free at address 0x000001F8CEED0000
BlackBone: ManualMap: Unmapping image 'msvcrt.dll'
BlackBone: Free: Free at address 0x000001F8D3A50000
BlackBone: ManualMap: Unmapping image 'kernel32.dll'
BlackBone: Free: Free at address 0x000001F8D0900000
BlackBone: ManualMap: Unmapping image 'kernelbase.dll'
BlackBone: Free: Free at address 0x000001F8D3B80000
BlackBone: ManualMap: Unmapping image 'ntdll.dll'
BlackBone: Free: Free at address 0x000001F8D42E0000
uc_emu_start return: 0
entrypoint return: 1400020d4
last rip: 1f8ceed17e1 (cpuid.exe+17e1)
BlackBone: Free: Free at address 0x000001F8CEEA0000
BlackBone: Free: Free at address 0x000001F8CEEC0000
BlackBone: Free: Free at address 0x000001F8CEEB0000
This message - UC_MEM_READ_UNMAPPED - appears on any file.

looks like the cpuid.exe is mapped at wrong address (1f8ceed0000 instead of 140000000)?

unicorn_pe XOR_20200817194428.exe_20200829_162834.vmp.exe -disasm
BlackBone: Allocate: Allocating at address 0x000001BC4DC90000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x000001BC4DCA0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x000001BC4DCC0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'XOR_20200817194428.exe_20200829_162834.vmp.exe' with flags 0x5d001
BlackBone: ManualMap: Loading new image 'XOR_20200817194428.exe_20200829_162834.vmp.exe'
BlackBone: ManualMap: Image base allocated at 0x000001bc4f540000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Relocating image 'xor_20200817194428.exe_20200829_162834.vmp.exe'
BlackBone: ManualMap: Image does not use relocations
1bc4f541000                     jmp             0x1bc4f57a103
1bc4f57a103                     push            0x2babe72
1bc4f57a108                     call            0x1bc4f5f3319
1bc4f5f3319                     push            r13
1bc4f5f331b                     jmp             0x1bc4f574608
1bc4f574608                     pushfq
1bc4f574609                     stc
1bc4f57460a                     cmp             r8, 0x22040e88
1bc4f574611                     push            r8
1bc4f574613                     push            rbp
1bc4f574614                     not             r8b
1bc4f574617                     push            rdi
1bc4f574618                     push            rax
1bc4f574619                     movsxd          r8, r12d
1bc4f57461c                     shl             r8w, 0xd
1bc4f574621                     push            r15
1bc4f574623                     sub             r8b, r9b
1bc4f574626                     inc             r8b
1bc4f574629                     push            r14
1bc4f57462b                     adc             edi, esp
1bc4f57462d                     push            rdx
1bc4f57462e                     push            rsi
1bc4f57462f                     xor             r8b, r15b
1bc4f574632                     push            r11
1bc4f574634                     btc             si, r10w
1bc4f574639                     or              esi, r11d
1bc4f57463c                     push            r12
1bc4f57463e                     push            r10
1bc4f574640                     push            rcx
1bc4f574641                     mov             r10b, r12b
1bc4f574644                     push            rbx
1bc4f574645                     push            r9
1bc4f574647                     or              r9, 0x41962761
1bc4f57464e                     test            r12d, 0x391771bc
1bc4f574655                     bsf             r11, r11
1bc4f574659                     movabs          r8, 0
1bc4f574663                     stc
1bc4f574664                     push            r8
1bc4f574666                     mov             dil, 0x20
1bc4f574669                     shl             r11b, 0xf7
1bc4f57466d                     sar             r10, 0xa
1bc4f574671                     mov             rdi, qword ptr [rsp + 0x90]
1bc4f574679                     shr             r11w, cl
1bc4f57467d                     clc
1bc4f57467e                     not             edi
1bc4f574680                     movsx           esi, r13w
1bc4f574684                     add             edi, 0x1f430407
1bc4f57468a                     movzx           si, r14b
1bc4f57468f                     bswap           edi
1bc4f574691                     add             edi, 0x6bfd5f9b
1bc4f574697                     add             rdi, r8
1bc4f57469a                     sar             si, 0xee
1bc4f57469e                     mov             r11, rsp
1bc4f5746a1                     sub             rsp, 0x140
1bc4f5746a8                     and             rsp, 0xfffffffffffffff0
1bc4f5746af                     cmp             r15w, bx
1bc4f5746b3                     mov             r9, rdi
1bc4f5746b6                     or              si, r9w
1bc4f5746ba                     rol             sil, cl
1bc4f5746bd                     btc             r10, r9
1bc4f5746c1                     movabs          r8, 0
1bc4f5746cb                     sub             r9, r8
1bc4f5746ce                     rcl             sil, 0xf7
1bc4f5746d2                     sal             r10, 0xce
1bc4f5746d6                     neg             r10b
1bc4f5746d9                     lea             rsi, [rip - 7]
1bc4f5746e0                     sbb             r10b, 0xe2
1bc4f5746e4                     mov             r10d, dword ptr [rdi]
UC_MEM_READ_UNMAPPED from 42e7b7
UC_MEM_READ_UNMAPPED rip at xor_20200817194428.exe_20200829_162834.vmp.exe+346e4
BlackBone: ManualMap: Unmapping image 'xor_20200817194428.exe_20200829_162834.vmp.exe'
BlackBone: Free: Free at address 0x000001BC4F540000
uc_emu_start return: 0
entrypoint return: 0
last rip: 1bc4f5746e4 (xor_20200817194428.exe_20200829_162834.vmp.exe+346e4)
BlackBone: Free: Free at address 0x000001BC4DC90000
BlackBone: Free: Free at address 0x000001BC4DCC0000
BlackBone: Free: Free at address 0x000001BC4DCA0000

unicorn_pe procexp.exe -disasm
1778d85ec3b                     je              0x1778d85ec45
1778d85ec45                     cmp             r8, r12
1778d85ec48                     je              0x1778d85ed27
1778d85ec4e                     mov             esi, dword ptr [rbp]
1778d85ec51                     mov             rbx, qword ptr [r14 + rsi8 + 0x151948]
1778d85ec59                     test            rbx, rbx
1778d85ec5c                     je              0x1778d85ec6c
1778d85ec6c                     mov             r14, qword ptr [r14 + rsi8 + 0xfe5f8]
1778d85ec74                     xor             edx, edx
1778d85ec76                     mov             rcx, r14
1778d85ec79                     mov             r8d, 0x800
1778d85ec7f                     call            qword ptr [rip + 0x2b933]
UC_MEM_FETCH_PROT from ntdll.dll+2a1b0
UC_MEM_FETCH_PROT rip at ntdll.dll+2a1b0
BlackBone: ManualMap: Unmapping image 'procexp.exe'
BlackBone: Free: Free at address 0x000001778D7B0000
BlackBone: ManualMap: Unmapping image 'psapi.dll'
BlackBone: Free: Free at address 0x0000017794520000
BlackBone: ManualMap: Unmapping image 'winhttp.dll'
BlackBone: Free: Free at address 0x0000017794430000
BlackBone: ManualMap: Unmapping image 'comdlg32.dll'
BlackBone: Free: Free at address 0x0000017794360000
BlackBone: ManualMap: Unmapping image 'uxtheme.dll'
BlackBone: Free: Free at address 0x0000017793AB0000
BlackBone: ManualMap: Unmapping image 'wtsapi32.dll'
BlackBone: Free: Free at address 0x00000177939A0000
BlackBone: ManualMap: Unmapping image 'aclui.dll'
BlackBone: Free: Free at address 0x00000177924D0000
BlackBone: ManualMap: Unmapping image 'xmllite.dll'
BlackBone: Free: Free at address 0x0000017793460000
BlackBone: ManualMap: Unmapping image 'oleaut32.dll'
BlackBone: Free: Free at address 0x00000177938D0000
BlackBone: ManualMap: Unmapping image 'ole32.dll'
BlackBone: Free: Free at address 0x00000177935C0000
BlackBone: ManualMap: Unmapping image 'shell32.dll'
BlackBone: Free: Free at address 0x0000017792D70000
BlackBone: ManualMap: Unmapping image 'cryptsp.dll'
BlackBone: Free: Free at address 0x00000177942E0000
BlackBone: ManualMap: Unmapping image 'windows.storage.dll'
BlackBone: Free: Free at address 0x0000017793B60000
BlackBone: ManualMap: Unmapping image 'kernel.appcore.dll'
BlackBone: Free: Free at address 0x0000017794C80000
BlackBone: ManualMap: Unmapping image 'powrprof.dll'
BlackBone: Free: Free at address 0x0000017794B80000
BlackBone: ManualMap: Unmapping image 'umpdc.dll'
BlackBone: Free: Free at address 0x0000017794BD0000
BlackBone: ManualMap: Unmapping image 'shcore.dll'
BlackBone: Free: Free at address 0x0000017794AD0000
BlackBone: ManualMap: Unmapping image 'profapi.dll'
BlackBone: Free: Free at address 0x0000017794A70000
BlackBone: ManualMap: Unmapping image 'ntdsapi.dll'
BlackBone: Free: Free at address 0x0000017792D20000
uc_emu_start return: 8
entrypoint return: 22
last rip: 1778d85ec7f (procexp.exe+aec7f)

unicorn_pe Autoruns64.exe -disasm
28a35712b60                     sub             rsp, 0x98
28a35712b67                     lea             rcx, [rsp + 0x20]
28a35712b6c                     call            qword ptr [rip + 0x158f6]
UC_MEM_FETCH_UNMAPPED from kernelbase.dll+c7f0
UC_MEM_FETCH_UNMAPPED rip at kernelbase.dll+c7f0
BlackBone: ManualMap: Unmapping image 'autoruns64.exe'

unicorn_pe cpudata.exe -disasm
BlackBone: Allocate: Allocating at address 0x00000183791B0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791C0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791D0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'cpudata.exe' with flags 0x5d001
BlackBone: ManualMap: Loading new image 'cpudata.exe'
BlackBone: ManualMap: Image base allocated at 0x000001837aad0000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Relocating image 'cpudata.exe'
BlackBone: ManualMap: Loading new dependency 'kernel32.dll'
BlackBone: ManualMap: Dependency path resolved to 'C:\Windows\system32\kernel32.dll'
BlackBone: ManualMap: Loading new image 'C:\Windows\system32\kernel32.dll'
BlackBone: Free: Free at address 0x00000183791D0000
LdrLoadDllByName failed to MapImage dxcore.dll, status C0000034
BlackBone: Allocate: Allocating at address 0x00000183791B0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791C0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791D0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'dxcore.dll' with flags 0x1d001
BlackBone: ManualMap: Failed to load image 'dxcore.dll'/0x0000000000000000. Status 0xC0000034
BlackBone: Free: Free at address 0x00000183791B0000
BlackBone: Free: Free at address 0x00000183791C0000
BlackBone: Free: Free at address 0x00000183791D0000
LdrLoadDllByName failed to MapImage dxcore.dll, status C0000034
BlackBone: Allocate: Allocating at address 0x00000183791B0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791C0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791D0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'dxcore.dll' with flags 0x1d001
BlackBone: ManualMap: Failed to load image 'dxcore.dll'/0x0000000000000000. Status 0xC0000034
BlackBone: Free: Free at address 0x00000183791B0000
BlackBone: Free: Free at address 0x00000183791C0000
BlackBone: Free: Free at address 0x00000183791D0000
LdrLoadDllByName failed to MapImage dxcore.dll, status C0000034
BlackBone: Allocate: Allocating at address 0x00000183791B0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791C0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791D0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'dxcore.dll' with flags 0x1d001
BlackBone: ManualMap: Failed to load image 'dxcore.dll'/0x0000000000000000. Status 0xC0000034
BlackBone: Free: Free at address 0x00000183791B0000
BlackBone: Free: Free at address 0x00000183791C0000
BlackBone: Free: Free at address 0x00000183791D0000
LdrLoadDllByName failed to MapImage dxcore.dll, status C0000034
BlackBone: Allocate: Allocating at address 0x00000183791B0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791C0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791D0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'dxcore.dll' with flags 0x1d001
BlackBone: ManualMap: Failed to load image 'dxcore.dll'/0x0000000000000000. Status 0xC0000034
BlackBone: Free: Free at address 0x00000183791B0000
BlackBone: Free: Free at address 0x00000183791C0000
BlackBone: Free: Free at address 0x00000183791D0000
LdrLoadDllByName failed to MapImage dxcore.dll, status C0000034
BlackBone: Allocate: Allocating at address 0x00000183791B0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791C0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791D0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'dxcore.dll' with flags 0x1d001
BlackBone: ManualMap: Failed to load image 'dxcore.dll'/0x0000000000000000. Status 0xC0000034
BlackBone: Free: Free at address 0x00000183791B0000
BlackBone: Free: Free at address 0x00000183791C0000
BlackBone: Free: Free at address 0x00000183791D0000
LdrLoadDllByName failed to MapImage dxcore.dll, status C0000034
BlackBone: Allocate: Allocating at address 0x00000183791B0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791C0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791D0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'dxcore.dll' with flags 0x1d001
BlackBone: ManualMap: Failed to load image 'dxcore.dll'/0x0000000000000000. Status 0xC0000034
BlackBone: Free: Free at address 0x00000183791B0000
BlackBone: Free: Free at address 0x00000183791C0000
BlackBone: Free: Free at address 0x00000183791D0000
LdrLoadDllByName failed to MapImage dxcore.dll, status C0000034
BlackBone: Allocate: Allocating at address 0x00000183791B0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791C0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791D0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'dxcore.dll' with flags 0x1d001
BlackBone: ManualMap: Failed to load image 'dxcore.dll'/0x0000000000000000. Status 0xC0000034
BlackBone: Free: Free at address 0x00000183791B0000
BlackBone: Free: Free at address 0x00000183791C0000
BlackBone: Free: Free at address 0x00000183791D0000
LdrLoadDllByName failed to MapImage dxcore.dll, status C0000034
BlackBone: Allocate: Allocating at address 0x00000183791B0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791C0000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000183791D0000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'ext-ms-win-gdi-desktop-l1-1-0.dll' with flags 0x1d001
BlackBone: ManualMap: Failed to load image 'ext-ms-win-gdi-desktop-l1-1-0.dll'/0x0000000000000000. Status 0xC0000034
BlackBone: Free: Free at address 0x00000183791B0000
BlackBone: Free: Free at address 0x00000183791C0000
BlackBone: Free: Free at address 0x00000183791D0000
LdrLoadDllByName failed to MapImage ext-ms-win-gdi-desktop-l1-1-0.dll, status C0000034
BlackBone: ManualMap: Performing security cookie initializtion for image 'user32.dll'
BlackBone: ManualMap: Loading new dependency 'msvcrt.dll'
BlackBone: ManualMap: Dependency path resolved to 'C:\Windows\system32\MSVCRT.dll'
BlackBone: ManualMap: Loading new image 'C:\Windows\system32\MSVCRT.dll'
BlackBone: ManualMap: Image base allocated at 0x000001837dde0000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Relocating image 'c:\windows\system32\msvcrt.dll'
BlackBone: ManualMap: Performing security cookie initializtion for image 'msvcrt.dll'
BlackBone: Free: Decommit at address 0x000001837DF05000 (0x1000 bytes)
BlackBone: Free: Decommit at address 0x000001837E373000 (0x1000 bytes)
BlackBone: Free: Decommit at address 0x000001837DE7D000 (0x1000 bytes)
BlackBone: Free: Decommit at address 0x000001837AADB000 (0x1000 bytes)
1837aad1000                     enter           0x80, 0
1837aad1004                     sub             rsp, 0x60
1837aad1008                     xor             rcx, rcx
1837aad100b                     call            qword ptr [rip + 0x3057]
UC_MEM_FETCH_UNMAPPED from kernelbase.dll+e090
UC_MEM_FETCH_UNMAPPED rip at kernelbase.dll+e090
BlackBone: ManualMap: Unmapping image 'cpudata.exe'
BlackBone: Free: Free at address 0x000001837AAD0000
BlackBone: ManualMap: Unmapping image 'msvcrt.dll'
BlackBone: Free: Free at address 0x000001837DDE0000
BlackBone: ManualMap: Unmapping image 'user32.dll'
BlackBone: Free: Free at address 0x000001837E1E0000
BlackBone: ManualMap: Unmapping image 'gdi32.dll'
BlackBone: Free: Free at address 0x000001837DEE0000
uc_emu_start return: 8
entrypoint return: 0
last rip: 1837aad100b (cpudata.exe+100b)

looks like the cpuid.exe is mapped at wrong address (1f8ceed0000 instead of 140000000)?
Hi hzqst,

looks like, but I'm not sure, since the addresses don't always match.

.\x64\Debug\unicorn_pe.exe
BlackBone: PDB: Failed to load msdia140.dll, error 0x0000007e
BlackBone: PDB: blackbone::PDBHelper::Init: (CoCreateDiaDataSource()) failed with HRESULT 0x8007007e
BlackBone: PatternData: LdrProtectMrdata not found
usage: unicorn_pe (filename) [-k] [-disasm]

.\x64\Debug\unicorn_pe.exe C:\Users\Brandon\Desktop\redacted.exe
BlackBone: PDB: Failed to load msdia140.dll, error 0x0000007e
BlackBone: PDB: blackbone::PDBHelper::Init: (CoCreateDiaDataSource()) failed with HRESULT 0x8007007e
BlackBone: PatternData: LdrProtectMrdata not found
BlackBone: Allocate: Allocating at address 0x00000272C9910000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000272C9920000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x00000272C9930000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image 'C:\Users\Brandon\Desktop\redacted.exe' with flags 0x5d001
BlackBone: ManualMap: Loading new image 'C:\Users\Brandon\Desktop\redacted.exe'
BlackBone: ManualMap: Image base allocated at 0x00000272cbc40000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Relocating image 'c:\users\brandon\desktop\redacted.exe'
BlackBone: ManualMap: Can't relocate image, no relocation flag
BlackBone: Free: Free at address 0x00000272CBC40000
failed to MapImage
BlackBone: Free: Free at address 0x00000272C9910000
BlackBone: Free: Free at address 0x00000272C9930000
BlackBone: Free: Free at address 0x00000272C9920000

.\x64\Debug\unicorn_pe.exe -k C:\Users\Brandon\Desktop\redacted.exe
BlackBone: PDB: Failed to load msdia140.dll, error 0x0000007e
BlackBone: PDB: blackbone::PDBHelper::Init: (CoCreateDiaDataSource()) failed with HRESULT 0x8007007e
BlackBone: PatternData: LdrProtectMrdata not found
BlackBone: Allocate: Allocating at address 0x000002423C840000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x000002423C850000 (0x1000 bytes)
BlackBone: Allocate: Allocating at address 0x000002423C860000 (0x4000 bytes)
BlackBone: ManualMap: Mapping image '-k' with flags 0x5d001
BlackBone: ManualMap: Failed to load image '-k'/0x0000000000000000. Status 0xC0000034
failed to MapImage
BlackBone: Free: Free at address 0x000002423C840000
BlackBone: Free: Free at address 0x000002423C860000
BlackBone: Free: Free at address 0x000002423C850000

Could it be that Windows Defender hates the bundled BlackBone .sys file from a virus protection perspective?


Enhance identity transformation to rewrite matrix variable

Currently, thanks to #512, we can rewrite e.g. a mat2x2, m, to e.g. mat2x2(m[0], IDENTITY(m[1])).
It would be nice if we also gave the fuzzer the option to rewrite the matrix as e.g. mat2x2(m[0][0], IDENTITY(m[0][1]), m[1][0], m[1][1]).  (I may not have got this right - can never remember whether rows or columns come first in GLSL!).

Fixed by #527.


[Cloud Firestore] Rules request.auth.token.firebase.identities["phone"] not update on Ios

Describe the bug
I using request.auth.token.firebase.identities["phone"] != null to make sure number is verified.Android are works fine (immediately update) but on IOS after user verified their phone number I need to wait like half hour for update.
To Reproduce
Steps to reproduce the behavior:

Put request.auth.token.firebase.identities["phone"] != null in rules
Do verify phone number on IOS

Expected behavior (Android is work as I expected)
I expected that once the phone verified i can immediate using request.auth.token.firebase.identities["phone"] != null to make sure phone is verified.
Additional context
I don't know which part when wrong it's bug or it's api difference between two platform.
Other like  request.auth.token.firebase.identities["facebook.com"] or  request.auth.token.firebase.identities["google.com"] all work fine.
only request.auth.token.firebase.identities["phone"] didn't work on IOS.

Currently fix by call FirebaseUser firebaseUser = await _firebaseAuth.currentUser(); await firebaseUser.getIdToken(refresh: true);to make token update after phone verified and app started.But i still don't know why this only happen on ios.

Hi @ClassSadStranger
I'm glad that you found a workaround
I'm closing the issue for now;
if the problem will occur again,
please write in the comments and I'll reopen the issue
thank you


Add pagination support for /api/v1/apikeys endpoints

Addresses: https://github.com/StackStorm/st2/issues/3369
$  curl -v -X GET -H  'Connection: keep-alive' -H  'Accept-Encoding: gzip, deflate' -H  'Accept: */*' -H  'User-Agent: python-requests/2.14.2' -H  'X-Auth-Token: <token>' 'http://<IP_ADDRESS>:9101/v1/apikeys/?limit=1'

*   Trying <IP_ADDRESS>...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 9101 (#0)
> GET /v1/apikeys/?limit=1 HTTP/1.1
> Host: <IP_ADDRESS>:9101
> Connection: keep-alive
> Accept-Encoding: gzip, deflate
> Accept: */*
> User-Agent: python-requests/2.14.2
> X-Auth-Token: <token>
>
< HTTP/1.1 200 OK
< Server: gunicorn/19.6.0
< Date: Fri, 16 Jun 2017 16:15:07 GMT
< Connection: keep-alive
< Content-Type: application/json
< Content-Length: 245
< X-Total-Count: 2
< X-Limit: 1
< Access-Control-Allow-Origin: http://<IP_ADDRESS>:3000
< Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
< Access-Control-Allow-Headers: Content-Type,Authorization,X-Auth-Token,St2-Api-Key,X-Request-ID
< Access-Control-Expose-Headers: Content-Type,X-Limit,X-Total-Count,X-Request-ID
< X-Request-ID: 658ab5e1-b874-4acb-b0af-d47ece4ff7a1
<
[
    {
        "uid": "********",
        "key_hash": "********",
        "created_at": "2017-06-14T19:44:47.496745Z",
        "enabled": true,
        "user": "st2admin",
        "id": "5941922fde59a4212d147155",
        "metadata": {}
    }
* Connection #0 to host <IP_ADDRESS> left intact

To do:

[x]  Fix corner cases of invalid limit and offset count
[x]   Add Unit tests

Thanks.
Added a couple of comments. Mostly looks good to me, just need to clarify some things in regards to code duplication.


Ceylon annotations @Ignore, @Ceylon, etc ..., not found when running the plugin

When compiling a simple Ceylon module inside the plugin, the following warnings are emitted during the build :
Warning:java: Cannot find annotation method 'major()' in type 'com.redhat.ceylon.compiler.java.metadata.Ceylon': class file for com.redhat.ceylon.compiler.java.metadata.Ceylon not found
Warning:java: Cannot find annotation method 'description()' in type 'ceylon.language.DocAnnotation$annotation$': class file for ceylon.language.DocAnnotation$annotation$ not found
Warning:java: Cannot find annotation method 'value()' in type 'com.redhat.ceylon.compiler.java.metadata.Annotations': class file for com.redhat.ceylon.compiler.java.metadata.Annotations not found
Warning:java: Cannot find annotation method 'value()' in type 'com.redhat.ceylon.compiler.java.metadata.Annotation': class file for com.redhat.ceylon.compiler.java.metadata.Annotation not found
Warning:java: Cannot find annotation method 'arguments()' in type 'com.redhat.ceylon.compiler.java.metadata.Annotation'
Warning:java: Cannot find annotation method 'value()' in type 'com.redhat.ceylon.compiler.java.metadata.Annotation'
Warning:java: Cannot find annotation method 'value()' in type 'com.redhat.ceylon.compiler.java.metadata.Annotations'
Warning:java: Cannot find annotation method 'value()' in type 'com.redhat.ceylon.compiler.java.metadata.TypeInfo': class file for com.redhat.ceylon.compiler.java.metadata.TypeInfo not found

This is due to the fact that .car archives found in the  /lib sud-directory of a pluging are not added to the plugin class-loader URLs.
Then we need to add them manually when the plugin is started, probably in the initComponent() method of a plugin ApplicationComponent.

After more analysis, the error here come from the fact the the Java builder of a Java module that depends on a Ceylon module doesn't have the ceylon.language archive in its classpath.
This specific case should be managed by having the Java dependencies of a Ceylon module automatically added.
However the problem of the car archives being omitted in the Plugin classpath still needs to be solved.


fix a Warning in recovery.go

Find a Warning by go vet :
declaration of "err" shadows declaration at recovery.go:155
I fixed it .

Codecov Report

Merging #220 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #220   +/-   ##
=======================================
  Coverage   88.73%   88.73%
=======================================
  Files           6        6
  Lines         222      222
=======================================
  Hits          197      197
  Misses         19       19
  Partials        6        6

Impacted Files
Coverage Δ

recovery.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Hi @Wang-Kai ,
Thanks for opening this!
In this particular case, I think it would actually be clearer to rename the variable so that readers would know that it is only used in that scope rather than setting the value of a variable in an outer scope to be used later. What do you think?
Also, which version of go was this with? With 10.1 I don't see this warning.

I think you are right , i checked go vet document

Vet uses heuristics that do not guarantee all reports are genuine problems

So , we can ignore it's prompt .

:+1: thanks for bringing the conversation up all the same.


Error during Fastlane installation on MacOS Catalina

OS version: v.10.15.7
xcode-select: v.2373
gem: v.3.2.8
I tried to install it via:
sudo gem install fastlane -NV

and
https://github.com/fastlane/fastlane/issues/15183#issuecomment-548602350
but nothing helped me, every time installation failed with the following error:
Building native extensions. This could take a while...
current directory: /Library/Ruby/Gems/2.6.0/gems/unf_ext-<IP_ADDRESS>/ext/unf_ext
["/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby", "-I", "/Library/Ruby/Site/2.6.0", "-r", "./siteconf20210203-22406-f1dew1.rb", "extconf.rb"]
checking for -lstdc++... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/$(RUBY_BASE_NAME)
	--with-static-libstdc++
	--without-static-libstdc++
	--with-stdc++lib
	--without-stdc++lib
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:467:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:546:in `block in try_link0'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tmpdir.rb:93:in `mktmpdir'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:543:in `try_link0'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:570:in `try_link'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:789:in `try_func'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1016:in `block in have_library'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:959:in `block in checking_for'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block (2 levels) in postpone'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block in postpone'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:357:in `postpone'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:958:in `checking_for'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1011:in `have_library'
	from extconf.rb:6:in `<main>'
ERROR:  Error installing fastlane:
	ERROR: Failed to build gem native extension.

    current directory: /Library/Ruby/Gems/2.6.0/gems/unf_ext-<IP_ADDRESS>/ext/unf_ext
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /Library/Ruby/Site/2.6.0 -r ./siteconf20210203-22406-f1dew1.rb extconf.rb
Building has failed. See above output for more information on the failure.
To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/unf_ext-<IP_ADDRESS>/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/unf_ext-<IP_ADDRESS> for inspection.
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/unf_ext-<IP_ADDRESS>/gem_make.out

I also tried
xcrun gem install fastlane

but got permission error:
...
Fetching artifactory-3.0.15.gem
ERROR:  While executing gem ... (Errno::EACCES)
    Permission denied @ dir_s_mkdir - /Library/Ruby/Gems/2.6.0

It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env 👍

can't provide output of fastlane env because I wasn't able to install it

@egor-sorokin
Hi. we've recently updated the document about the installation. We now don't recommend using "sudo" to install fastlane. Could you please try rbenv + Bundler to set up the project? System Ruby is already deprecated by Apple so you won't be able to use fastlane in that way soon.
https://docs.fastlane.tools/getting-started/ios/setup/
If you really don't want to install Ruby, there is a way to install RubyGems to your own directories introduced by CocoaPods team. You can do the same for fastlane. Do that at your own risk. This is much safer than using "sudo" though.
https://guides.cocoapods.org/using/getting-started.html#sudo-less-installation


Ignore Cloud files which are not synced locally

Output of restic version
restic 0.13.0 compiled with go1.18 on linux/amd64

What should restic do differently? Which functionality do you think we should add?
I am using the cloud every now and then, and when I am backing up my Windows machine, I get the following error if the file is not present locally:
{'during': 'archival',
'error': {'Err': 381,
'Op': 'read',
'Path': '\\\\?\\GLOBALROOT\\Device\\HarddiskVolumeShadowCopy11\\Users\\flo\\OneDrive\\Bilder\\xyz.jpg'},
'item': 'c:\\Users\\flo\\OneDrive\\Bilder\\xyz.jpg',
'message_type': 'error'}

Err 381 seems to be ERROR_CLOUD_FILE_READ_ONLY_VOLUME. As you can see, I am using VSS, so this error makes sense. Windows can not download and store this file on a shadow copy. I would go so far and say, Windows (triggered by restic) should never download those files - even if backing up without shadow copy.
Therefore I propose the following:

Never try to backup files that are not locally present.
I guess, at the moment, restic will trigger a download of all files which are not locally available during backup (if not using VSS).
I think this is wrong behavior. A backup program should not make such large modifications to the state of the system being backed up.
Maybe add a switch like --force-download-cloud-files which will activate this behavior explicitly,
as of course there might be people that want to backup their cloud files, too. (Maybe even myself, but it should be done explicitly.)
Abort with an error message if this switch and vss are used together.

What are you trying to do? What problem would this solve?
Backing up cloud synced directories without errors.

Did restic help you today? Did it make you happy in any way?
It helps me everyday since months!

We'd need a way to know when we're encountering OneDrive files. Any idea how restic could detect these files?

It seems that you have to check FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS.
If this is true, the file data is not available locally and the file should be skipped during backup.
See also: https://stackoverflow.com/questions/49301958/how-to-detect-onedrive-online-only-files
I created a simple test program for getting the cloud-specific file attributes.
It is written in Rust, but you should get the idea.
https://github.com/fkusche/test-cloudfile
I think the easiest way to get the file attributes in Go would be to call syscall.GetFileAttributes.
This would mean an additional syscall per file. But possibly, the speed loss will be neglectible.
I guess doing it this way would lead to cleaner code than calling FindFirstFileW, etc directly for listing directories on windows as it would introduce a much larger windows-specific code path.

Hi, I'd be happy to work on this. Do you have a preferred design? @MichaelEischer


Discuss about reverting #16937 "skip mis-configured resource usage(>100%) in load balancer"

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
https://github.com/apache/pulsar/pull/16937 has corrected the misconfigured resource usage. But if the user configs the wrong one, the error log will print all the time. See the below logs:

And after diving into the modification, we find out that it's a breaking change.
Before #16937,  the below test could pass, but after #16937, the below test fails

    @Test
    public void testBrokerThreshold() {
        LoadData loadData = new LoadData();
        LocalBrokerData broker1 = new LocalBrokerData();
        broker1.setCpu(new ResourceUsage(70, 100));    // Need to set `loadBalancerCPUResourceWeight=2`
        broker1.setMemory(new ResourceUsage(10, 100));
        broker1.setDirectMemory(new ResourceUsage(10, 100));
        broker1.setBandwidthIn(new ResourceUsage(500, 1000));
        broker1.setBandwidthOut(new ResourceUsage(500, 1000));
        broker1.setBundles(Sets.newHashSet("bundle-1", "bundle-2"));
        broker1.setMsgThroughputIn(Double.MAX_VALUE);

        LocalBrokerData broker2 = new LocalBrokerData();
        broker2.setCpu(new ResourceUsage(10, 100));
        broker2.setMemory(new ResourceUsage(10, 100));
        broker2.setDirectMemory(new ResourceUsage(10, 100));
        broker2.setBandwidthIn(new ResourceUsage(500, 1000));
        broker2.setBandwidthOut(new ResourceUsage(500, 1000));
        broker2.setBundles(Sets.newHashSet("bundle-3", "bundle-4"));

        BundleData bundleData = new BundleData();
        TimeAverageMessageData timeAverageMessageData = new TimeAverageMessageData();
        timeAverageMessageData.setMsgThroughputIn(1000);
        timeAverageMessageData.setMsgThroughputOut(1000);
        bundleData.setShortTermData(timeAverageMessageData);
        loadData.getBundleData().put("bundle-1", bundleData);

        loadData.getBrokerData().put("broker-1", new BrokerData(broker1));
        loadData.getBrokerData().put("broker-2", new BrokerData(broker2));

        assertFalse(thresholdShedder.findBundlesForUnloading(loadData, conf).isEmpty());
    }

This means the real CPU usage is only 70%, but we configure loadBalancerCPUResourceWeight= 2, so the current CPU usage is 140%. This will cause the broker to unload some bundles before https://github.com/apache/pulsar/pull/16937. But now, it won't.
And since https://github.com/apache/pulsar/pull/6772 has supported configured resources weight, #16937 breaks the case #6772 mentioned

It is hard to determine the threshold value, the default threshold is 85%. But for a broker, the max resource usage is few to reach 85%, which will lead to unbalanced traffic between brokers. The heavy traffic broker's read cache hit rate will decrease.

When you restart the most brokers of the pulsar cluster at the same time, the whole traffic in the cluster will goes to the rest brokers. The restarted brokers will have no traffic for a long time, due to the rest brokers max resource usage not reach the threshold.

So I think we need to revert #16937
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Unfortunately https://github.com/apache/pulsar/pull/16937 has been released also with 2.10.2 !
Do you mean that now you cannot configure a weight that makes the usage over 100% ?

Unfortunately #16937 has been released also with 2.10.2 !
Do you mean that now you cannot configure a weight that makes the usage over 100% ?

Ah, suppose the real CPU usage is only 20%, but we configure loadBalancerCPUResourceWeight= 100, so the current CPU usage is 2000%. This will cause the broker to unload some bundles before #16937.  But now, it won't.

https://github.com/apache/pulsar/pull/16937 added some useful logs.
The "problem" you are pointing out is here
https://github.com/apache/pulsar/pull/16937/files#diff-e1bcbd73e100f8ab5f179644dc45ee684a77ec10edbfe17f957e77ee2a043417R197
I am not sure that this is a real problem or not, it looks like that setting loadBalancerCPUResourceWeight= 100 and see CPU usage as 2000% is like a hack.
Maybe we can add a flag to allow the old behaviour.
I am not aware of production clusters with this kind of hacks.
Do you know some legit usecase ?
Currently I lean toward keeping the current version, and at most add a flag to allow the previous behaviour if you are aware of some user who can be hurt by this change.
(As I said before, this change is already in 2.10.2, if we revert here we should revert on branch-2.10 as well)

I discussed this issue with Hang a few days ago. Hang is the initial designer of the threshold shedder. The weight is not required to <= 1. I think we mistakenly merged https://github.com/apache/pulsar/pull/16937. Users can use any non-negative number for the weight. I support reverting the PR first and revisiting the issue that @heesung-sn wants to fix.

I am not sure that this is a real problem or not, it looks like that setting loadBalancerCPUResourceWeight= 100 and see CPU usage as 2000% is like a hack.

I think the demo test is not clear, I have updated the test.

In the Pulsar load balance strategy, including OverloadShedder and ThresholdShedder, the weight of each resource is not ensured in [0, 1]. The total resourceUsage of each broker won't ensure to be less than 100%.

For the motivation of https://github.com/apache/pulsar/pull/16937, the weight of the resource is not misconfigured, and it will break the old behavior, and lead to load balance not working after applying this PR in their cluster.
I support reverting this PR.

Sure. If resourceUsage * weight is expected to be more than 100%, we should revert this change. The motivation does not hold.
Thanks for taking care of this.

Note:
If resourceUsage > 100% becomes the winner, the moving avg function will decay it more slowly than others( unfair signal treatment).
But I assume this is the intention of the weighted configs too.

@lhotari @Jason918 Could you give some ideas for this?

+1 for reverting the PR. And I don't think this feature (set the weight over 1.0) is widely used, So let's just do this the right way.
Please do the same with the 2.10 branch and we should add an important-note label as it's a breaking change.

Thanks for your explanations. I agree to revert the patch here and in 2.10


In GoGi Editor -> CSS map dialog, color bleeds outside 'Add' button

that is actually the proper styling for a button in a toolbar -- just not very clear that it is a toolbar with just one button.  added stretch to all toolbars so it is clearer that they are bars and not just buttons.


Implement MutableTagsEvent Interface

Events and Tasks (and Activity) should have mutable tags. The interface serves to make methods TaskMan easier to implement (eg. syncTags...)

[x] Create MutableTagsEvent Interface

[ ] Implement interface for Event, Task and Activity

[ ] Refactor method in TaskMan

Coverage remained the same at 46.282% when pulling f10e200fa080cd2f4d59e0e59a726eee2d4001a5 on new/interface/mutabletagsevent into a3dfbb475449ba98362e143121f3f05db12a7cf9 on new/class/editcommand.

Coverage remained the same at 46.282% when pulling eff26c58fdcb58882309542e970b1dff13d92229 on new/interface/mutabletagsevent into a3dfbb475449ba98362e143121f3f05db12a7cf9 on new/class/editcommand.

Coverage decreased (-0.06%) to 46.22% when pulling dcf213d788edd1d982f1ef3838475ebd1e3529e1 on new/interface/mutabletagsevent into a3dfbb475449ba98362e143121f3f05db12a7cf9 on new/class/editcommand.

Coverage decreased (-0.06%) to 46.22% when pulling 3255c4c4cbd8d9f256912992aa314e3d23ca8e5a on new/interface/mutabletagsevent into a3dfbb475449ba98362e143121f3f05db12a7cf9 on new/class/editcommand.

@AlexFJW @jia1 @inaba1231 Ready for review


Unable to define SVG elements conflicting with HTML

TypeScript Version:  master
Expected behavior:
interface SVGElementTagNameMap {
    'a': SVGAElement;
}
interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap {
}

But deriving from both HTMLElementTagNameMap and SVGElementTagNameMap still throw an error by conflicts. To resolve this, ElementTagNameMap has to be defined using Diff type as follows.
interface ElementTagNameMap extends HTMLElementTagNameMap, Diff<SVGElementTagNameMap, HTMLElementTagNameMap> {
}

type Diff<T, U> = Pick<T, DiffKey<keyof T, keyof U>>;
type DiffKey<T extends string, U extends string> = (
  & { [P in T]: P; }
  & { [P in U]: never; }
  & { [x: string]: never; }
)[T];

However, defining ElementTagNameMap is originally wrong. It should be removed later.
Actual behavior:
interface ElementTagNameMap {
    'a': SVGAElement; // error, conflicts with 'a': HTMLAnchorElement;
}

related: #20134, #14783

We should not include Diff in the library.  For ones that conflict having them default to the HTMLElement seems like a reasonable compromise.

We can resolve this issue without Diff type by removing ElementTagNameMap: https://github.com/Microsoft/TSJS-lib-generator/pull/326


xrange not defined in python 3

Describe the bug
Currently, computational_form relies on xrange, which was deprecated in python 3 and replaced by range, which returns objects as a list, not an xrange object.
Additional context
https://www.geeksforgeeks.org/range-vs-xrange-python/

I can fix this in the current pull. I only noticed it because flake8 pointed it out.  In terms of the iterator vs non-iterator version, does this make a difference in intention?

It makes no difference in use except for the fact that the old xrange used less memory than old range.

Ok. Updating.

Closed with merge of #272.


Can't Login

Somethin is broken with the login window, looks like this (Atom 1.11.2):

You might try uninstalling imdone-atom and installing again.  It looks like
there may be some css missing.
On Fri, Nov 4, 2016 at 11:27 AM, Tobias Lohse<EMAIL_ADDRESS>wrote:

Somethin is broken with the login window, looks like this (Atom 1.11.2):
[image: screen shot 2016-11-04 at 17 26 40]
https://cloud.githubusercontent.com/assets/1285032/20013570/f37e4820-a2b3-11e6-9ca7-4c8314de60e0.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/imdone/imdone-atom/issues/174, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOQIYZbsVP9yST9ZYnPVQ75X4nv0B9Zks5q610LgaJpZM4Kpu96
.

--
Jesse Piaścik
Founder @imdoneIO https://twitter.com/imdoneIO | imdone.io
about.me/jesse.piascik

Did this finally work for you?

it seems to be working now. Thanks a lot. Great plugin.

Thanks!  What do you think of the integration with github?  In your opinion is it something worth paying for?

Yes maybe. A full integration with the new github projects would be very interesting. And I am not convinced by the comments that are generated yet. They are very confusing. I'd prefer just updating the title of the issue and going to github for comments, or possibly syncing them to the task board in atom, but not into the code.

Thanks for all your feedback.  I find this very useful.
Why not into the code?  Did you know you could also comment on an issue by creating a new TODO comment with the same issue number? like this...
// TODO: This would be a new comment on issue 174 gh:174

That's interesting. But in the end I don't know how much communication I really wanna do inside my code, that becomes a bit bloated if I can't hide it and it's probably very rare anyways. Because the real discussions happen on features and not on single todos in the code so much.
I think it's a tuff sell. It's great to have todos in code organized but that's often not the stuff I track on GitHub. And switching to github for communication on bugs and features is not a big pain point. The main value for me is to add issues from inside my code and track todos.

So adding and not updating.  What about closing and adding labels?  Would you like closing issues by changing the token part of the comment, like // TODO: to // DONE: or adding labels by adding a +label-name to the comment with a gh:issue-number?  I'll add some configuration options to the creator and label bots so you can have more control over comments.  I can see leaving the comments off by default, and/or add some more smarts to what they say.

Yeah closing issues from inside the code and adding labels is very nice.
Seeing the discussion from within the code could be nice, but then I would want it as a modal/popup or something, not just all in my code. But even then, I personally wouldn't have many use cases for that.


Mantra Methods?

I finally got this to work and I like it, a lot. I'd like to have a tool like this that where I could feed it a schema and out comes a set of Mantra like create, update, and remove methods, for the document and also create, update and remove items from various sub document approaches.  Are you familiar with such a tool.  I'm new to this.  When I was working with relational DB, years ago, generating crud codes was a breeze.  Thanks for this nifty tool. If only I could generate methods and publications my models

There are related issues https://github.com/mantrajs/mantra-cli/issues/43 and https://github.com/mantrajs/mantra-cli/issues/7. Feel free to join the discussion and PR is welcome.


Add ChangeAnalysis /resourceChanges API

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
It's already available
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
One week to check in?
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[x] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[x] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.
This is the approved PR in private repo: https://github.com/Azure/azure-rest-api-specs-pr/pull/1276
The changes between this PR and the one in the private repo:

Reference the "ErrorReponse" from common definition instead of defining our own
Drop the fetchPropertyChanges parameter, we decide always set it to false and don't expose it as an option

/azp run automation - sdk

@chunyu3 We are merging this PR from private repo to public repo. It's a new API so firstly it's unclear to me why it's a breaking change.
Our partner team has already adopted this API and we are working on GA, so this needs to be added to the public repo.

Close this one and will go ahead with stable version


Attempting to post to a locked thread gives weird error message

I was editing the first (original) post in a thread because the OP had deleted his code, and his question, to our annoyance. In the process I checked "Lock this topic" checkbox, so that the OP wouldn't edit the post and delete it again.
(Thread: http://forum.arduino.cc/index.php?topic=277436 )
However when I went to post it (the amended first post) I got this message:

This doesn't make any sense.
Working through it:

I gather another moderator locked the topic while I was finding the code to put back into the original post.
Thus the thread is now locked.
However since I had also checked "lock this topic" no harm is done.
But the message says I have to uncheck "lock this topic" if I want it to stay locked.
Huh?

Why should I uncheck "lock this topic" to keep it locked?

I'm going to change it to "Warning - while you were typing the topic was locked. Please uncheck the "Lock this topic" box under "Attachments and other options" below if you wish to unlock it"

No wait, it means that if you do not uncheck the box you cannot post it.

"Warning - while you were typing the topic was locked. Please uncheck the "Lock this topic" box under "Attachments and other options" below to save your message and unlock the topic"

It's not the wording of the message that is the issue.

Make a test post
Reply to the test post, along the lines of "this discussion is now closed - moderator" and lock the thread (expand "Attachments and other options" and check "Lock this topic").
You cannot make the post - it says Warning - while you were typing the topic was locked. Please uncheck the "Lock this topic" box under "Attachments and other options" below if you do not wish to undo this action.

It wasn't locked "while I was typing" - I locked it as part of the post options.
First, being a moderator I should be able to post to a locked thread.
Second, it should make the post, and then lock the thread.
This used to work. It isn't a feature request. This is a bug report.

If I do it as separate actions, I can achieve it:

Make a reply
Go back and lock the thread
I can still reply to the locked thread as I am a moderator

The test (which generates the error message) should, at the very least, respect the moderator flag. This is just a bogus "you can't do that" message because I can - if I do it as two steps!

Fixed by this weeks switch to the Discourse-based forum.


Docs for Upgrading from 7.0.4 to 8.0.0

@justin808 upgrade-to-version-8-0-0.md explains how someone can upgrade their app. It's been tested on scratch-app.

This change is

Coverage remained the same at 98.007% when pulling 2edef5a08d9de95d0c5636d8c40c2269745be6f5 on Conturbo:docs-for-upgrading into 3c70914a3294dd32366ee591e5c867dd3456aed3 on shakacode:master.

@Conturbo what's the status of this one?

@Conturbo This will need revisiting soon. Refer to https://github.com/shakacode/react_on_rails/pull/835


[<IP_ADDRESS>] timeouts for statistics after restart

though it doesn't prevent the server from starting up, it is strange that timeouts would happen on a restart?
[monitor] 2015/09/26 21:17:01 Storing statistics in database '_internal' retention policy '', at interval 10s
[wal] 2015/09/26 21:17:01 WAL starting with 30720 ready series size, 0.50 compaction threshold, and 20971520 partition size threshold
[wal] 2015/09/26 21:17:01 WAL writing to /var/opt/influxdb/wal/_internal/monitor/1
[wal] 2015/09/26 21:17:01 WAL starting with 30720 ready series size, 0.50 compaction threshold, and 20971520 partition size threshold
[wal] 2015/09/26 21:17:01 WAL writing to /var/opt/influxdb/wal/_internal/monitor/10
[monitor] 2015/09/26 21:17:16 failed to store statistics: timeout
[monitor] 2015/09/26 21:17:26 failed to store statistics: timeout
[monitor] 2015/09/26 21:17:36 failed to store statistics: timeout
[monitor] 2015/09/26 21:17:46 failed to store statistics: timeout
[wal] 2015/09/26 21:17:48 WAL starting with 30720 ready series size, 0.50 compaction threshold, and 20971520 partition size threshold
[wal] 2015/09/26 21:17:48 WAL writing to /var/opt/influxdb/wal/mantis/default/11
[wal] 2015/09/26 21:17:48 reading WAL files to flush to index
[wal] 2015/09/26 21:17:48 writing 0 series from WAL file /var/opt/influxdb/wal/mantis/default/11/01.000009.wal to index
[handoff] 2015/09/26 21:17:48 Starting hinted handoff service
[handoff] 2015/09/26 21:17:48 Using data dir: /var/opt/influxdb/hh
[tcp] 2015/09/26 21:17:48 Starting cluster service

also happens on 0.9.5_nightly_b079d20-1

should add that it seems the larger the database gets, the more timeouts that happen. with a few gigs of data, I am noticing a 5 minute delay on restart


move add/remove Autoload to enable/disable plugin

Hi!
I made it so the Autoload is being added when the plugin is enabled and removed when disabled instead of every time Godot opens/closes.
This fixes the error messages printed in the console every time Godot starts (unfortunately, the errors still remain if the plugin is disabled) and stops the Autoload from moving to the bottom of the list by itself
Side effect: users who update from a previous version will have to disable and re-enable the plugin once.

Hi, thank you for your contribution! I didn't know of those two entrypoints for plugins, but indeed the changes seems sensible.
However, I'm not seeing any "error messages printed in the console every time Godot starts", nor do I see the ControllerIcons autoload "moving to the bottom of the list by itself" either. Could you provide more details on such errors and/or show this issue ocurring in your setup?
I think the changes make sense and I'm happy to merge them as-is, but I'd like to confirm such issues and ensure this does properly fix them, more as a precaution :slightly_smiling_face:

I'll happily share a video of those happening as well as the exact text printed on the console once I get back home from my day job. For now all I can do is let you know the behavior only happens if you close Godot and reopen it, not if you simply reload the project.

So, I did some further investigation, and it only seems to happen on my project and only if I also have Dialogic enabled. I tried to copy both plugins to a new project and everything works as expected.
As promised, here's the video:
https://github.com/rsubtil/controller_icons/assets/75632714/f0fd0499-af21-41dc-a0b1-c9025e28019b
(ignore the black square in the top left, it's from another plugin)
and the output of the console:
Godot Engine v4.2.2.stable.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
--- Debug adapter server started ---
--- GDScript language server started on port 6005 ---
  res://addons/controller_icons/objects/path_selection/InputActionSelector.gd:68 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/path_selection/InputActionSelector.gd:71 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/path_selection/InputActionSelector.gd:71 - Parse Error: Cannot infer the type of "default_actions" variable because the value doesn't have a set type.
  res://addons/controller_icons/objects/path_selection/InputActionSelector.gd:78 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  modules/gdscript/gdscript.cpp:2726 - Failed to load script "res://addons/controller_icons/objects/path_selection/InputActionSelector.gd" with error "Parse error". (User)
  res://addons/controller_icons/objects/path_selection/SpecificPathSelector.gd:81 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  modules/gdscript/gdscript.cpp:2726 - Failed to load script "res://addons/controller_icons/objects/path_selection/SpecificPathSelector.gd" with error "Parse error". (User)
  res://addons/controller_icons/objects/ControllerIconTexture.gd:107 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:109 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:114 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:114 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:116 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:116 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:137 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:165 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:166 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:167 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:167 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:168 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:168 - Parse Error: Cannot infer the type of "event" variable because the value doesn't have a set type.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:169 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:170 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:175 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:321 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconTexture.gd:324 - Parse Error: Identifier "ControllerIcons" not declared in the current scope.
  res://addons/controller_icons/objects/ControllerIconEditorInspector.gd:-1 - Compile Error:
  res://addons/controller_icons/plugin.gd:-1 - Compile Error:
  modules/gdscript/gdscript.cpp:2726 - Failed to load script "res://addons/controller_icons/plugin.gd" with error "Compilation failed". (User)
  Parent node is busy setting up children, `add_child()` failed. Consider using `add_child.call_deferred(child)` instead.
Add Autoload
Remove Autoload
Add Autoload
Add Autoload


[docs] Document jss-nested rule reference feature

A bit more clarity around how to use the internal state variables, specially if decide to change their names from the defaults (ie, $formLabelFocused vs just $focused)
In some cases, one may want to use a more descriptive name to define references classes. For example overriding FormLabelClasses in TextField. Instead of using classes.root or classes.focused, one may instead do classes.formLabelRoot and classes.formLabelFocused to avoid confusion with the other InputProps and InputLabelProps classes. In this scenario, it is important to note that in order to override &$focused, one would instead need to reference it using &$formLabelFocused and use the same key when creating the empty reference

@i8ramin Thanks, I'm going take a second stab at this pull-request. The feature comes from:
http://cssinjs.org/jss-nested/?v=v6.0.1#use-rulename-to-reference-a-local-rule-within-the-same-style-sheet

@i8ramin Thanks


Pep8 compliance

So I've done basic integration for pyflake8 (#102)  and found 400+ errors: some just skipped (e.g.: error for using lambda instead of def), but some was useful.
For example: F821 tells on py35 about unicode undefined world, but in py27 doesn't.
May be revert it and fix those problem?

Ok, thank you! But I'm gonna ask you some changes in order to merge this:

ignore pep8 E265. This won't make the code less readable, since the majority of comments in weppy start with "#:" which is my notation to briefly describe the next block. Moreover I see some false positives like in https://github.com/gi0baro/weppy/pull/103/files#diff-4cdf38a9a4e12e67ab1d0f25c7b5157eL16 and generally in all the regex rules
watch out carefully where you apply E711/E712, since in all ORM queries you can't use db(Model.field is None) but the wrong pep notation db(Model.field == None) or the query cannot be built.

Also, If you don't mind, rebase your branch into a single commit so we can have a better commit log :)

About E265: may be we can still use '# :' with space instead of '#:'? Or may be better replacement like '# *'.
Can you provide code example why it has behavior like this? It is only semantic difference, when you eq None it force to check for identity, because None is singleton in Python. And to show difference better to use is.

query = 0
query = query == None // False

query = 0
query = query is None // Also False

I think it would be best to just ignore E265 at the moment, then I will figure out a decent way to replace my comments
It's not just semantic, since you can override the built-in methods for equality comparison, but not for identity comparison; since weppy uses those methods to build queries from ORM objects it's the only way to operate. In weppy when you want to query for data with NULL values, you have to write db.where(Model.field == None).select() since I can't override Python behaviour to write db.where(Model.field is None).select(). Model.field == None builds an SQL string, not just a boolean ;)


Compatibility patch for Character Body Overhaul

Character Body Overhaul on Loverslab
Dunno how hard it is, but will be nice if one will exist.

@DivannKokos : Done in the latest release.


Create a Build/Deployment pipeline for JosephGuadagno.Broadcasting.Web

Implemented in https://github.com/jguadagno/jjgnet-broadcast/commit/d9648a049b172cd600dcfb8a5847ff6e852ddbc9


SMACv2 baseline QMIX in smacv2/RUNNING_EXPERIMENTS.md error

I'm trying to run SMACv2 baseline QMIX in smacv2/RUNNING_EXPERIMENTS.md. However, I keep running into this error:
Hello from the pygame community. https://www.pygame.org/contribute.html
[DEBUG 20:07:32] git.util Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory')
[DEBUG 20:07:32] git.cmd Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/source, stdin=None, shell=False, universal_newlines=False)
Traceback (most recent call last):
  File "src/main.py", line 19, in <module>
    ex = Experiment("pymarl")
  File "/opt/conda/lib/python3.8/site-packages/sacred/experiment.py", line 119, in __init__
    super().__init__(
  File "/opt/conda/lib/python3.8/site-packages/sacred/ingredient.py", line 75, in __init__
    ) = gather_sources_and_dependencies(
  File "/opt/conda/lib/python3.8/site-packages/sacred/dependencies.py", line 728, in gather_sources_and_dependencies
    experiment_path, main = get_main_file(globs, save_git_info)
  File "/opt/conda/lib/python3.8/site-packages/sacred/dependencies.py", line 599, in get_main_file
    main = Source.create(globs.get("__file__"), save_git_info)
  File "/opt/conda/lib/python3.8/site-packages/sacred/dependencies.py", line 460, in create
    repo, commit, is_dirty = get_commit_if_possible(main_file, save_git_info)
  File "/opt/conda/lib/python3.8/site-packages/sacred/dependencies.py", line 440, in get_commit_if_possible
    is_dirty = repo.is_dirty()
  File "/opt/conda/lib/python3.8/site-packages/git/repo/base.py", line 820, in is_dirty
    if osp.isfile(self.index.path) and len(self.git.diff("--cached", *default_args)):
  File "/opt/conda/lib/python3.8/site-packages/git/cmd.py", line 736, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/git/cmd.py", line 1316, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/opt/conda/lib/python3.8/site-packages/git/cmd.py", line 1111, in execute
    raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(129)
  cmdline: git diff --cached --abbrev=40 --full-index --raw
  stderr: 'Not a git repository
To compare two paths outside a working tree:
usage: git diff [--no-index] <path> <path>'

I've tried a few things but I'm not sure how to solve this. Is this a conda error or a git error? Any help on solving this would be much appreciated! Thank you.

Hi! Thanks for raising an issue 😄. I will get to this when I am back from travelling next week. To help me can you tell me:

What command you were exactly running?
What you had done before that?

To my mind this looks like a git error but I'm not sure.

For now, I ran the QMIX algorithm without the docker and it ran fine. I guess you can close this issue for now.


A problem with change detection on dialog close

Component bindings do not update on dialog close.
Version<EMAIL_ADDRESS><EMAIL_ADDRESS>Example:
https://github.com/NativeScript/tests-app-ng/blob/master/app/modal/modal-dialogs/modal-dialog.component.ts#L65

This turned out to be the expected behavior when using ChangeDetectionStrategy.OnPush. The recommended solution is to explicitly schedule a change detection pass:
this.modal.showModal(ModalContent, options).then((res: string) => {
    this.result = res || "empty result";
    this.cdRef.markForCheck();
});


RFC: Using rebase model for git commits/pull requests

When using "Merge" button for pull requests in github web ui, the default setup is to always perform git merge operation.
Many projects instead use rebase-based model, where merge commits are never used, and new changes instead integrated into the main codebase in a seamless (merge-less) manner. Github UI supports that way either, it just should be set as the default in project settings, as describe here: https://help.github.com/en/articles/configuring-commit-rebasing-for-pull-requests (The recommended setup is that among 3 checkboxes, only "Allow rebase merging" is ticked).
@windelbouwman, I hope you would agree this is useful setup and can make this change.

Hi, I changed the setting in the github settings, I forgot to use it, but other than that this seems good to me. I lean more toward the merge strategy, since it preserves actual history (no history rewrite), but I have no super strong preference. I might decide from time to time to merge when the change is somewhat larger, but for smaller changes I will apply the rebase strategy.

I lean more toward the merge strategy, since it preserves actual history (no history rewrite), but I have no super strong preference.

Thanks for the change! I would argue (actually I did in the original description) that it's merges "bend" the actual history, e.g. there was no "merge" commit in someone's original PR, but that merge commit appears in the mainline history. Then depending on the timing of the PR's commits and how much went into the mainline in the meantime, "merge" commit and actual commits may be quite distant. All that rather complicates tracking project history, why again many project with enough commit number and activity select the rebase model. With it, the situation is simple - the changes appear in the project history exactly at the point they were merged into the project, i.e. when they become a part of it. And then there's no need for "merge commit" placeholder, which is again, only adds noise.
I hope this model will serve PPCI well either.


How to pass variable from local state

I have simple Query with variable:
<Query
  pollInterval={2000}
  variables={{ programId: activeProgram }}
  query={FETCH_PROGRAM_EDITOR}
>...

with query:
const FETCH_PROGRAM_EDITOR = gql`
  query ProgramEditor($programId: String!) {
    program(_id: $programId) {
      _id
      name
      desc
    }
  }`

activeProgram is coming from local state (cache). Is there a way to use local state variables directly in query ? How to pass local state to query variable ?

For better or worse, at present, I believe that the simplest way to pass a local variable is simply to compose two Query components -- the remote component inside of the local component.
Something like this, where the first query matches the structure of your local cache:
<Query
    query={gql`
      query getActiveProgram {
        activeProgram @client {
          id
        }
      }
    `}
  >
    {({
      data: {
        activeProgram: { id }
      }
    }) => <Query query={FETCH_PROGRAM_EDITOR} variables={{programId: id}}>
        {() => ...}
    </Query>}
</Query>

The good news is that, according to this slide from a presentation given at the beginning of the month, an @export directive will soon be available to solve the same problem!

Wouldn't this solve your problem?
https://www.apollographql.com/docs/react/essentials/local-state.html#combine-data
I'm new to Apollo and exploring a  lot of use cases for a new app.


Gabriel

 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.:x: GabrielChavesSI sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Pass through arguments from plan.sh to terraform plan

So we can do targeted plans.

We’ve rearranged this so much now that this issue doesn’t really make sense in its current form.


bitsandbytes==0.43.3 can't be installed on mac

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

Current behaviour

Steps to reproduce

Config yaml
No response
Possible solution
No response
Which Operating Systems are you using?

[ ] Linux
[X] macOS
[ ] Windows

Python Version
3.12
axolotl branch-commit
main
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Found https://github.com/axolotl-ai-cloud/axolotl/issues/1436


theme color changed

This is a screenshot of my nvim yesterday （June 28)

Screenshot of current nvim

What do I need to do to change the color scheme back?

git checkout 3352c12
# Back to previous colors

bufferline config
require("bufferline").setup({

nvim-tree colors also change

before

after

Thank you, it has been solved, it needs to be loaded at the front


Add support for --archive flag

I'm currently trying to deploy a rather big code base (20,000+ files).
The Vercel CLI has a limit of 15,000 files. To mitigate this I would like to add an input to enable the --archive=tgz flag.
PR will follow in a second.

Pull Requst

#23


Fixing observables in simulate

This builds on #24 and #27 which need to be merged first (after which this branch might need to be rebased on master)
This rewrites random_truth of LXeSource to solve issue #23.
When simulating events, random true values are drawn using random_truth. It was possible to fix the position of events by passing an event (in the form of a one-row pandas DataFrame) with fix_truth. This PR makes fix_truth also accept a dictionary whose keys can be any event observable and whose values are used for the simulated events instead of random values. This allows us to fix either the position, time or energy (or a combination thereof) when simulating events.
As a side effect of this more general implementation the WIMPSource now also works with an optional spatial response histogram.
Requirements on fix_truth:

a one-row pandas DataFrame that has at least the keys ['x', 'y', 'z', 'r', 'theta', 'event_time', 'drift_time']. Exactly these variables will be fixed to the passed values during simulation.
a dictionary with keys: ['x', 'y', 'z'] and/or ['r', 'theta', 'z'] and/or event_time and/or energy to set either position, time, energy or any combination thereof.

When passing the position of events in Cartesian format, the cylindrical coordinates are automatically calculated as well and vice versa. When passing the position, the drift time is recalculated since it depends on the depth.

Sorry, rebase fail


[Bug]: Unable to do local testing

What happened?
This demo (or paddle in general) can't be executed in local dev env even though the documentation says so

https://developer.paddle.com/build/checkout/build-branded-inline-checkout#prerequisites-default-payment-link
I'm running in test mode:

Using stripped down example from the checkout.tsx
"use client";

import { Environments, initializePaddle, Paddle } from "@paddle/paddle-js";
import { useEffect, useState } from "react";
import { CheckoutEventsData } from "@paddle/paddle-js/types/checkout/events";

const PaddleCheckoutPage: React.FC = () => {
  const priceId = "<my price id>";
  const [paddle, setPaddle] = useState<Paddle | null>(null);
  const [checkoutData, setCheckoutData] = useState<CheckoutEventsData | null>(
    null,
  );
  const userEmail = "";

  const handleCheckoutEvents = (event: CheckoutEventsData) => {
    setCheckoutData(event);
  };

  useEffect(() => {
    const handleInitializePaddle = async () => {
      if (
        !paddle?.Initialized &&
        process.env.NEXT_PUBLIC_PADDLE_CLIENT_TOKEN &&
        process.env.NEXT_PUBLIC_PADDLE_ENV
      ) {
        await initializePaddle({
          token: process.env.NEXT_PUBLIC_PADDLE_CLIENT_TOKEN,
          environment: process.env.NEXT_PUBLIC_PADDLE_ENV as Environments,
          eventCallback: (event) => {
            if (event.data && event.name) {
              handleCheckoutEvents(event.data);
            }
          },
          checkout: {
            settings: {
              displayMode: "inline",
              theme: "dark",
              allowLogout: !userEmail,
              frameTarget: "paddle-checkout-frame",
              frameInitialHeight: 450,
              frameStyle:
                "width: 100%; background-color: transparent; border: none",
              successUrl: "/checkout/success",
            },
          },
        }).then(async (paddle) => {
          if (paddle && priceId) {
            setPaddle(paddle);
            paddle.Checkout.open({
              //   ...(userEmail && { customer: { email: userEmail } }),
              items: [{ priceId: priceId, quantity: 1 }],
            });
          }
        });
      } else {
        console.log("Paddle already initialized");
        console.log("no key or env");
      }
    };

    void handleInitializePaddle();
  }, [paddle?.Initialized, priceId, userEmail]);

  return (

Checkout Page

Price seciton

          {/* <PriceSection checkoutData={checkoutData} quantity={quantity} handleQuantityChange={setQuantity} /> */}

            Payment details

  );
};

export default PaddleCheckoutPage;

.env
NEXT_PUBLIC_PADDLE_ENV="sandbox"
NEXT_PUBLIC_PADDLE_CLIENT_TOKEN="<my token>"

visual output:

error in console:

Steps to reproduce

fill env variables
run sandbox env in localhost
encounter error

What did you expect to happen?
As per documentation, paddle inline checkout should be able to run on localhost. However this is not possible and the https://sandbox-vendors.paddle.com/request-domain-approval doesn't take the localhost as a valid domain.
Logs
No response

Hi @peksi, you should be able to ignore the frame ancestors error, it looks like the 400 to the checkout service is what you need to check, are you able to check the response from there and make sure the args you're passing to paddle.Checkout.open are all valid?

Thank you @danbillson for your time! I indeed had issue with the args passed to paddle.Checkout.open


http://docs.identityserver.io/ doesn't have valid SSL certificate

I'm enjoying the irony, but it would probably give a better impression if it can be updated...

Interesting - readthedocs does an automatic redirect. That's new.
Which irony exactly are you enjoying?

Irony because a guide about security doesn't have a working security cert :)
It's not concerning since it's a very read only site so I wasn't sure whether to raise as a bug.

OK. thanks.


Possible to make void arrays, expand as ubyte arrays?

I have a lot of void buffers, when I inspect them, they look like this:

They have length elements, but it doesn't show any values.

Until a new release of Visual D is available, you can replace "c:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Packages\Debugger\MagoNatCC.dll" with the file from this archive:
MagoNatCC.zip


Bug: Custom map style is not retained upon workbook save

When using a custom map style (added through the kepler interface) in the Tableau Extension the map style is not be retained on save => close tableau => re-open workbook. Sometimes it seems to save it, but when moving from one computer to another or publishing to server the custom map style is no longer saved. We should look at how custom map styles are being saved as part of the kepler config props.

@heshan0131 was this fixed via https://github.com/keplergl/kepler.gl-tableau/pull/17?

This appears to be fixed via https://github.com/keplergl/kepler.gl-tableau/pull/17, closing the bug for now.


Renaming problems report prior to adding another

Changing the name 'problems' to 'workshops_with_problems' so that we can add an 'instructors_with_problems' report as well.

instructors_with_problems sounds really bad, at least in Polish.

:-) Suggest alternate wording?  It should be consistent with the
workshops_with_problems naming.

@gvwilson "Problems amongst instructors"?

This PR was superseded by #530.


Can now add custom html after the option text

The custom element can also have a tool tip.

Gotta reject this. Let's keep the API simple - just pass in a list of options with label property as react component. This presents a simple API with plenty of flexibility. Only thing I think you have to change in react-xzibit-select itself is change this prop type to a ".any"  https://github.com/BI/react-xzibit-select/blob/master/lib/components/option-list-item.jsx#L8

Changes Unknown when pulling b46e5f891352eb41c3784da5f3aa66f94c211dec on customOptionTags into ** on master**.


Generating timestamps - Json file

@red-bashmak
Thank you :) I am able to publish the message using ElFileBody as below.
Really appreciate the reply. I am getting started with Gatling and facing an another issue. I have seeked help from community as well. It would be really helpful, if you can give some inputs.
package simulations
import io.gatling.core.Predef._
import io.gatling.core.structure.{ChainBuilder, ScenarioBuilder}
import ru.tinkoff.gatling.amqp.Predef._
import ru.tinkoff.gatling.amqp.protocol.AmqpProtocolBuilder
class PublishWithFeeeder extends Simulation{
val csvFeederVINNumber = csv("testData/vinNumber.csv").circular
val amqpConf: AmqpProtocolBuilder = amqp
.connectionFactory(rabbitmq
.host("hasty-whale.rmq.cloudamqp.com")
.port(5672)
.username("username")
.password("password")
.vhost("host"))
.declare(queue("measurement_data_hino_us_pilot_uat",autoDelete = false))
def publishMessageWithFeeder(): ChainBuilder ={
feed(csvFeederVINNumber)
.exec(amqp("publish to us_pilot_uat")
.publish
.queueExchange("measurement_data_hino_us_pilot_uat")
.textMessage(ElFileBody("testData/publish.json"))
.priority(0)
.contentType("application/json"))
.pause(1)
}
val scn: ScenarioBuilder = scenario("Message Publish with Feeder")
.exec(publishMessageWithFeeder())
setUp(
scn.inject(atOnceUsers(1))).protocols(amqpConf)
}
Issue Link : https://stackoverflow.com/questions/66950680/using-timestamp-in-json-file-in-gating
Description :
I have json file in below format
Scenario :
Publishing message into RabbitMQ using Gatling.
I have saved the json file in resource folder.
Passing json file using "ElFileBody" builder.
i have to get the current timestamp and increment current time accordingly in the downstream dapoints. Attached below ex
Could you please help in generating the timestamp, how can we increment/decrement the current timestamps by seconds/minutes/hours/days and pass directly in json file.
{
"series": {
"uid": "60329dd7-cc15-43ca-ac5d-6907126b017a",
"seriesName": "APP",
"valueType": "DOUBLE",
"description": "",
"signalCollectionId": "ed6a6744-32c7-4f96-969c-8e1bd1b26f41",
"sourceId": "70f15369-9ac0-4533-8f49-c7f0326a2a05",
"sourceName": "v7r2_J_ENG_DEC",
"unit": "%",
"protocol": "CAN_RAW",
"type": "SIGNAL",
"samplingRate": 1000
},
"dataPoints": [
{
"uniqueId": "34ad93e0-bdb3-4cbc-8354-ab59a808960f",
"timeStamp": "2021-03-15T13:13:01.111Z", //Current timestamp
"value": 0
},
{
"uniqueId": "f901ec1e-5fd5-4015-97ad-b14aadae17ff",
"timeStamp": "2021-03-15T13:13:11.111Z", //Current timestamp + 10 seconds
"value": 0
},
{
"uniqueId": "abc79341-2388-447c-8bd1-4671c791f9b9",
"timeStamp": "2021-03-15T13:13:21.111Z", //Current timestamp + 20 seconds
"value": 0
}
]
}
Thank you :)
Naveen.

I am closing your problem because it is not related to any bugs in the plugin. To make what you want, you need to read the documentation for java.time package


config: set the docs-tiem branch of docs-cn as protected

config: set the docs-tiem branch of docs-cn as protected

/ok-to-test

/merge


WFLY-12471 Upgrade Narayana to 5.9.8.Final

Thanks for submitting your Pull Request!
Please make sure your PR meets the following requirements:

[x] Pull Request title is properly formatted: [WFLY-XYZ] Subject or WFLY-XYZ Subject
[x] Pull Request contains link to the JIRA issue(s)
https://issues.jboss.org/browse/WFLY-12471
[x] Pull Request contains description of the issue(s)
Component upgrade to latest Narayana release
[x] Pull Request does not include fixes for issues other than the main ticket
[x] Attached commits represent units of work and are properly formatted

For bigger changes, major and minor component upgrades make sure your PR also meets following requirements:

[ ] Pull Request requires a change to the documentation
[ ] Documentation have been updated accordingly
[ ] Tests were added to cover changes

For new features ensure as well:

[ ] Analysis was done
[ ] Test Plan has been done
[ ] Tests were verified in advance

If you are not an active contributor of the WildFly project you can request sponsorship by one of the members to help guide you through the process.

retest this please

@jamezp At this point this has passed on all the jobs. One is still running from a re-test but that job passed before.


Reading 1B row file using Java NIO lib.

I used the Java NIO library only to read the file and process using Map and TreeMap.
Time Taken to read and process 1 billion rows: 52974ms
System Specification:
OS: RHEL 8.9
CPU:
Core: 8
Architecture: x86_64
Model: Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz
RAM: 16GB
Check List:

[x] Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
[x] All formatting changes by the build are committed
[x] Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
[x] Output matches that of calculate_average_baseline.sh
[x] For new entries, or after substantial changes: When implementing custom hash structures, please point to where you deal with hash collisions (line number)

Execution time:
Execution time of reference implementation:

All checked list is passed

As per the README and the PR template, new entries should run in ~10 sec or less, this one is at 00:36.424. Still merging it as you put in the effort already, but any potential follow-up PRs should be somewhere up there.


dbc: Watch 360converters.com

dbc requests the watch of the watch_keyword 360converters\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

360converters\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ


Enable metadata sharing between tunnel filters and child filters

Title: Enable metadata sharing between tunnel filters and child filters
Description:
What  I have in mind corresponds to the terminate_http_in_http2_connect example. The tunnel listener (listener_0) handles http2 requests (with headers), the CONNECT stream is upgraded so that several HTTP requests hit the decap internal listener. Because those are separate listeners, with separate filter chains, there is no way to transmit metadata between them (or maybe I am missing something). I would like to collect data from the tunnel http2 headers, set some metadata on the child filter chain, and re-add the headers to the subsequent child requests.
This is one scenario this would enable:

A remote workload is producing  HTTPS traffic that you want to intercept, but you don't want to expose the private key to the remote workload.
The traffic is tunneled (HTTP2/connect)  adding headers to each HTTP2 tunnel request with information that is only available in the remote environment.
egress gateway receives the tunnel requests, converts headers to metadata, upgrades the stream, and sends the HTTPS requests to an internal decap listener.
decap listener terminates HTTPS and examines the request.
The new mechanism would enable a Lua filter to retrieve metadata from the tunnel filter chain and use it to set headers in the child requests.

cc: @alyssawilk

This is solved with https://www.envoyproxy.io/docs/envoy/latest/configuration/other_features/internal_listener#internal-upstream-transport. Concretely, a filter state object in the tunnel listener marked as SharedWithUpstreamConnection is shared with the listener terminating the inner stream.

Great thanks!
Trying to get this to work, Is there a sample config somewhere with:
typed_config:
  "@type": type.googleapis.com/envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport
  passthrough_metadata:
  ...

I don't think there's on in this repo, but here's one in istio https://github.com/istio/proxy/blob/master/testdata/cluster/internal_outbound.yaml.tmpl.

It looks like only cluster and host metadata can be passed upstream in the current state, so there is probably still a gap there to generalize the functionality. I'll keep an eye on it thx.

@sebv Yes, that's right, route and request metadata haven't been implemented due to some internal framework limitations. Filter state is supported, and that can be used in place of request metadata.

tunnel_filter_state.tgz
Attached is the setup I am using. Trying to pass the MY_CUSTOM_METADATA header into my_custom_meta upstream.
I think what I am missing is where you specify which tunnel state category/field you want to pass other. I don't seem to be able to put anything in passthrough_metadata other than cluster or host metadata because it is strongly typed.

From a quick look at your sample, you're using Lua which doesn't support the filter state out of the box unfortunately. Filter state is not the same as the request dynamic metadata (yes, it's pretty confusing). You might need to make a custom filter to write the filter state until either Lua starts supporting it, or the internal upstream support the request metadata passthrough.