Clangd does not find C++ headers with arm-none-eabi-gcc

I'm building an embedded project using ChibiOS with its Makefile infrastructure.
The compile_commands.json is generated using bear make -C demos/STM32/RT-STM32F407-DISCOVERY-G++/ -B -j TRGT=/usr/bin/arm-none-eabi- in the ChibiOS root directory. To trigger the error, I add #include <cstddef> to main.cpp.
Logs

Clangd log from VS code
I[22:38:13.028] clangd version 16.0.2 (https://github.com/llvm/llvm-project 18ddebe1a1a9bde349441631365f0472e9693520)
I[22:38:13.028] Features: linux+grpc
I[22:38:13.028] PID: 24367
I[22:38:13.029] Working directory: /home/hermann/turag/chibios-mirror
I[22:38:13.029] argv[0]: /home/hermann/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/16.0.2/clangd_16.0.2/bin/clangd
I[22:38:13.029] argv[1]: --log=verbose
V[22:38:13.029] User config file is /home/hermann/.config/clangd/config.yaml
I[22:38:13.029] Starting LSP over stdin/stdout
V[22:38:13.029] <<< {"id":0,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"markdown":{"parser":"marked","version":"1.1.0"},"positionEncodings":["utf-16"],"regularExpressions":{"engine":"ECMAScript","version":"ES2020"},"staleRequestSupport":{"cancel":true,"retryOnContentModified":["textDocument/semanticTokens/full","textDocument/semanticTokens/range","textDocument/semanticTokens/full/delta"]}},"notebookDocument":{"synchronization":{"dynamicRegistration":true,"executionSummarySupport":true}},"textDocument":{"callHierarchy":{"dynamicRegistration":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"disabledSupport":true,"dynamicRegistration":true,"honorsChangeAnnotations":false,"isPreferredSupport":true,"resolveSupport":{"properties":["edit"]}},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"insertReplaceSupport":true,"insertTextModeSupport":{"valueSet":[1,2]},"labelDetailsSupport":true,"preselectSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"completionList":{"itemDefaults":["commitCharacters","editRange","insertTextFormat","insertTextMode"]},"contextSupport":true,"dynamicRegistration":true,"editsNearCursor":true,"insertTextMode":2},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"diagnostic":{"dynamicRegistration":true,"relatedDocumentSupport":false},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":true,"labelSupport":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"foldingRange":{"dynamicRegistration":true,"foldingRange":{"collapsedText":false},"foldingRangeKind":{"valueSet":["comment","imports","region"]},"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"inlayHint":{"dynamicRegistration":true,"resolveSupport":{"properties":["tooltip","textEdits","label.tooltip","label.location","label.command"]}},"inlineValue":{"dynamicRegistration":true},"linkedEditingRange":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"codeDescriptionSupport":true,"dataSupport":true,"relatedInformation":true,"tagSupport":{"valueSet":[1,2]},"versionSupport":false},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"honorsChangeAnnotations":true,"prepareSupport":true,"prepareSupportDefaultBehavior":1},"selectionRange":{"dynamicRegistration":true},"semanticTokens":{"augmentsSyntaxTokens":true,"dynamicRegistration":true,"formats":["relative"],"multilineTokenSupport":false,"overlappingTokenSupport":false,"requests":{"full":{"delta":true},"range":true},"serverCancelSupport":true,"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"]},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"typeHierarchy":{"dynamicRegistration":true}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"applyEdit":true,"codeLens":{"refreshSupport":true},"configuration":true,"diagnostics":{"refreshSupport":true},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":true},"executeCommand":{"dynamicRegistration":true},"fileOperations":{"didCreate":true,"didDelete":true,"didRename":true,"dynamicRegistration":true,"willCreate":true,"willDelete":true,"willRename":true},"inlayHint":{"refreshSupport":true},"inlineValue":{"refreshSupport":true},"semanticTokens":{"refreshSupport":true},"symbol":{"dynamicRegistration":true,"resolveSupport":{"properties":["location.range"]},"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"workspaceEdit":{"changeAnnotationSupport":{"groupsOnLabel":true},"documentChanges":true,"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"Visual Studio Code","version":"1.78.2"},"initializationOptions":{"clangdFileStatus":true,"fallbackFlags":[]},"locale":"en","processId":22343,"rootPath":"/home/hermann/turag/chibios-mirror","rootUri":"file:///home/hermann/turag/chibios-mirror","trace":"off","workspaceFolders":[{"name":"chibios-mirror","uri":"file:///home/hermann/turag/chibios-mirror"}]}}

I[22:38:13.030] <-- initialize(0)
I[22:38:13.030] --> reply:initialize(0) 0 ms
V[22:38:13.030] >>> {"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"foldingRangeProvider":true,"hoverProvider":true,"implementationProvider":true,"inlayHintProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","definition","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","usedAsMutablePointer","constructorOrDestructor","userDefined","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","modifier","operator","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"standardTypeHierarchyProvider":true,"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 16.0.2 (https://github.com/llvm/llvm-project 18ddebe1a1a9bde349441631365f0472e9693520) linux+grpc x86_64-unknown-linux-gnu"}}}

V[22:38:13.031] <<< {"jsonrpc":"2.0","method":"exit"}

I[22:38:13.031] <-- exit
I[22:38:13.031] LSP finished, exiting with status 0
V[22:38:13.032] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}

I[22:38:13.032] <-- initialized
V[22:38:13.034] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"/*\n    ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n*/\n\n#include \"ch.hpp\"\n#include \"hal.h\"\n#include \"rt_test_root.h\"\n#include \"oslib_test_root.h\"\n\n#include <cstddef>\n\nusing namespace chibios_rt;\n\n/*\n * Message server thread class. It receives messages and does nothing except\n * reply after the specified time.\n */\nclass MessageServerThread : public BaseStaticThread<256> {\n\nprotected:\n  void main(void) override {\n\n    setName(\"server\");\n\n    while (true) {\n      ThreadReference sender = waitMessage();\n      time_msecs_t msecs = (time_msecs_t)sender.getMessage();\n      sleep(TIME_MS2I(msecs));\n      sender.releaseMessage(0);\n    }\n  }\n\npublic:\n  MessageServerThread(void) : BaseStaticThread<256>() {\n  }\n};\n\n/* Reference to the server thread.*/\nstatic ThreadReference sref;\n\n/*\n * LED blink sequences.\n * NOTE: Sequences must always be terminated by a GOTO instruction.\n * NOTE: The sequencer language could be easily improved but this is outside\n *       the scope of this demo.\n */\n#define SLEEP           0\n#define GOTO            1\n#define STOP            2\n#define BITCLEAR        3\n#define BITSET          4\n#define MESSAGE         5\n\ntypedef struct {\n  uint8_t       action;\n  union {\n    msg_t       msg;\n    uint32_t    value;\n    ioline_t    line;\n  };\n} seqop_t;\n\n// Flashing sequence for LED3.\nstatic const seqop_t LED3_sequence[] =\n{\n  {BITSET,      LINE_LED3},\n  {SLEEP,       800},\n  {BITCLEAR,    LINE_LED3},\n  {SLEEP,       200},\n  {GOTO,        0}\n};\n\n// Flashing sequence for LED4.\nstatic const seqop_t LED4_sequence[] =\n{\n  {BITSET,      LINE_LED4},\n  {SLEEP,       600},\n  {BITCLEAR,    LINE_LED4},\n  {SLEEP,       400},\n  {GOTO,        0}\n};\n\n// Flashing sequence for LED5.\nstatic const seqop_t LED5_sequence[] =\n{\n  {BITSET,      LINE_LED5},\n  {SLEEP,       400},\n  {BITCLEAR,    LINE_LED5},\n  {SLEEP,       600},\n  {GOTO,        0}\n};\n\n// Flashing sequence for LED6.\nstatic const seqop_t LED6_sequence[] =\n{\n  {BITSET,      LINE_LED6},\n  {SLEEP,       200},\n  {BITCLEAR,    LINE_LED6},\n  {SLEEP,       800},\n  {GOTO,        0}\n};\n\n// Message sequence.\nstatic const seqop_t msg_sequence[] =\n{\n  {MESSAGE,     50},\n  {SLEEP,       1000},\n  {GOTO,        0}\n};\n\n/*\n * Sequencer thread class. It can drive LEDs or other output pins.\n * Any sequencer is just an instance of this class, all the details are\n * totally encapsulated and hidden to the application level.\n */\nclass SequencerThread : public BaseStaticThread<128> {\nprivate:\n  const seqop_t *base, *curr;                   // Thread local variables.\n\nprotected:\n  void main(void) override {\n\n    setName(\"sequencer\");\n\n    while (true) {\n      switch(curr->action) {\n      case SLEEP:\n        sleep(TIME_MS2I(curr->value));\n        break;\n      case GOTO:\n        curr = &base[curr->value];\n        continue;\n      case STOP:\n        return;\n      case BITCLEAR:\n        palClearLine(curr->line);\n        break;\n      case BITSET:\n        palSetLine(curr->line);\n        break;\n      case MESSAGE:\n        sref.sendMessage(curr->msg);\n        break;\n      }\n      curr++;\n    }\n  }\n\npublic:\n  SequencerThread(const seqop_t *sequence) : BaseStaticThread<128>() {\n\n    base = curr = sequence;\n  }\n};\n\n/*\n * Tester thread class. This thread executes the test suite.\n */\nclass TesterThread : public BaseStaticThread<256> {\n\nprotected:\n  void main(void) override {\n\n    setName(\"tester\");\n\n    test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);\n    test_execute((BaseSequentialStream *)&SD2, &oslib_test_suite);\n    exit(chtest.global_fail);\n  }\n\npublic:\n  TesterThread(void) : BaseStaticThread<256>() {\n  }\n};\n\n/* Static threads instances.*/\nstatic TesterThread tester;\nstatic MessageServerThread server_thread;\nstatic SequencerThread blinker1(LED3_sequence);\nstatic SequencerThread blinker2(LED4_sequence);\nstatic SequencerThread blinker3(LED5_sequence);\nstatic SequencerThread blinker4(LED6_sequence);\nstatic SequencerThread sender1(msg_sequence);\n\n/*\n * Application entry point.\n */\nint main(void) {\n\n  /*\n   * System initializations.\n   * - HAL initialization, this also initializes the configured device drivers\n   *   and performs the board-specific initializations.\n   * - Kernel initialization, the main() function becomes a thread and the\n   *   RTOS is active.\n   */\n  halInit();\n  System::init();\n\n  /*\n   * Activates the serial driver 2 using the driver default configuration.\n   * PA2(TX) and PA3(RX) are routed to USART2.\n   */\n  sdStart(&SD2, NULL);\n  palSetPadMode(GPIOA, 2, PAL_MODE_ALTERNATE(7));\n  palSetPadMode(GPIOA, 3, PAL_MODE_ALTERNATE(7));\n\n  /*\n   * Starting the message server thread, storing the returned reference.\n   */\n  sref = server_thread.start(NORMALPRIO + 20);\n\n  /*\n   * Starts several instances of the SequencerThread class, each one operating\n   * on a different sequence.\n   */\n  blinker1.start(NORMALPRIO + 10);\n  blinker2.start(NORMALPRIO + 10);\n  blinker3.start(NORMALPRIO + 10);\n  blinker4.start(NORMALPRIO + 10);\n  sender1.start(NORMALPRIO + 10);\n\n  /*\n   * Serves timer events.\n   */\n  while (true) {\n    if (palReadPad(GPIOA, GPIOA_BUTTON)) {\n      ThreadReference tref = tester.start(NORMALPRIO);\n      tref.wait();\n    };\n    BaseThread::sleep(TIME_MS2I(500));\n  }\n\n  return 0;\n}\n","uri":"file:///home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G%2B%2B/main.cpp","version":21}}}

I[22:38:13.034] <-- textDocument/didOpen
I[22:38:13.039] Loaded compilation database from /home/hermann/turag/chibios-mirror/compile_commands.json
V[22:38:13.039] Broadcasting compilation database from /home/hermann/turag/chibios-mirror
I[22:38:13.039] ASTWorker building file /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp version 21 with command
[/home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++]
/usr/bin/arm-none-eabi-g++ --target=arm-none-eabi --driver-mode=g++ -c -mcpu=cortex-m4 -mthumb -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -flto -std=gnu++11 -fno-exceptions -fno-rtti -Wall -Wextra -Wundef -Wa,-alms=./build/lst/main.lst -DCORTEX_USE_FPU=FALSE -I.  -I ./cfg -I ../../../os/license -I ../../../os/common/portability/GCC -I ../../../os/common/startup/ARMCMx/compilers/GCC -I ../../../os/common/startup/ARMCMx/devices/STM32F4xx -I ../../../os/common/ext/ARM/CMSIS/Core/Include -I ../../../os/common/ext/ST/STM32F4xx -I ../../../os/hal/include -I ../../../os/hal/ports/common/ARMCMx -I ../../../os/hal/ports/STM32/STM32F4xx -I ../../../os/hal/ports/STM32/LLD/ADCv2 -I ../../../os/hal/ports/STM32/LLD/CANv1 -I ../../../os/hal/ports/STM32/LLD/CRYPv1 -I ../../../os/hal/ports/STM32/LLD/DACv1 -I ../../../os/hal/ports/STM32/LLD/DMAv2 -I ../../../os/hal/ports/STM32/LLD/EXTIv1 -I ../../../os/hal/ports/STM32/LLD/GPIOv2 -I ../../../os/hal/ports/STM32/LLD/I2Cv1 -I ../../../os/hal/ports/STM32/LLD/MACv1 -I ../../../os/hal/ports/STM32/LLD/OTGv1 -I ../../../os/hal/ports/STM32/LLD/QUADSPIv1 -I ../../../os/hal/ports/STM32/LLD/RTCv2 -I ../../../os/hal/ports/STM32/LLD/SPIv1 -I ../../../os/hal/ports/STM32/LLD/SDIOv1 -I ../../../os/hal/ports/STM32/LLD/SYSTICKv1 -I ../../../os/hal/ports/STM32/LLD/TIMv1 -I ../../../os/hal/ports/STM32/LLD/USART -I ../../../os/hal/ports/STM32/LLD/USARTv1 -I ../../../os/hal/ports/STM32/LLD/xWDGv1 -I ../../../os/hal/boards/ST_STM32F4_DISCOVERY -I ../../../os/hal/osal/rt-nil -I ../../../os/rt/include -I ../../../os/oslib/include -I ../../../os/common/portability/GCC -I ../../../os/common/ports/ARM-common -I ../../../os/common/ports/ARMv7-M -I ../../../os/various/cpp_wrappers -I ../../../os/test/include -I ../../../test/rt/source/test -I ../../../test/oslib/source/test -internal-isystem /usr/bin/../lib/clang-runtimes/arm-none-eabi/include/c++/v1 -internal-isystem /home/hermann/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/16.0.2/clangd_16.0.2/lib/clang/16/include -internal-isystem /usr/bin/../lib/clang-runtimes/arm-none-eabi/include -O2 -Wall -Wextra -Wundef -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir=/home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++ -ferror-limit 19 -fno-rtti -fno-signed-char -fgnuc-version=4.2.1 -vectorize-loops -vectorize-slp -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp
I[22:38:13.040] --> textDocument/clangd.fileStatus
V[22:38:13.040] >>> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"parsing includes, running Update","uri":"file:///home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G%2B%2B/main.cpp"}}

V[22:38:13.040] Building first preamble for /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp version 21
I[22:38:13.056] --> window/workDoneProgress/create(0)
V[22:38:13.057] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[22:38:13.057] Enqueueing 79 commands for indexing
V[22:38:13.057] <<< {"id":0,"jsonrpc":"2.0","result":null}

I[22:38:13.057] <-- reply(0)
I[22:38:13.057] --> $/progress
V[22:38:13.057] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[22:38:13.057] --> $/progress
V[22:38:13.057] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[22:38:13.087] BackgroundIndex: building version 1 after loading index from disk
V[22:38:13.099] BackgroundIndex: serving version 1 (8617139 bytes)
I[22:38:13.102] --> $/progress
V[22:38:13.102] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[22:38:13.102] --> $/progress
V[22:38:13.102] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[22:38:13.164] indexed preamble AST for /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp version 21:
  symbol slab: 18638 symbols, 4922152 bytes
  ref slab: 0 symbols, 0 refs, 128 bytes
  relations slab: 12 relations, 296 bytes
V[22:38:13.206] Build dynamic index for header symbols with estimated memory usage of 11595368 bytes
I[22:38:13.208] Built preamble of size 2842524 for file /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp version 21 in 0.17 seconds
I[22:38:13.208] --> workspace/semanticTokens/refresh(1)
V[22:38:13.208] >>> {"id":1,"jsonrpc":"2.0","method":"workspace/semanticTokens/refresh","params":null}

I[22:38:13.208] --> textDocument/clangd.fileStatus
V[22:38:13.208] >>> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"parsing includes, running Build AST","uri":"file:///home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G%2B%2B/main.cpp"}}

V[22:38:13.209] <<< {"id":1,"jsonrpc":"2.0","result":null}

I[22:38:13.209] <-- reply(1)
V[22:38:13.216] Ignored diagnostic. /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp:78:17:insert an explicit cast to silence this issue
V[22:38:13.216] Ignored diagnostic. /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp:80:17:insert an explicit cast to silence this issue
V[22:38:13.216] Ignored diagnostic. /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp:88:17:insert an explicit cast to silence this issue
V[22:38:13.216] Ignored diagnostic. /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp:90:17:insert an explicit cast to silence this issue
V[22:38:13.216] Ignored diagnostic. /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp:98:17:insert an explicit cast to silence this issue
V[22:38:13.216] Ignored diagnostic. /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp:100:17:insert an explicit cast to silence this issue
V[22:38:13.217] Ignored diagnostic. /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp:108:17:insert an explicit cast to silence this issue
V[22:38:13.217] Ignored diagnostic. /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp:110:17:insert an explicit cast to silence this issue
V[22:38:13.221] indexed file AST for /home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp version 21:
  symbol slab: 36 symbols, 12568 bytes
  ref slab: 91 symbols, 261 refs, 15488 bytes
  relations slab: 6 relations, 160 bytes
V[22:38:13.221] Build dynamic index for main-file symbols with estimated memory usage of 51416 bytes
I[22:38:13.221] --> textDocument/publishDiagnostics
V[22:38:13.221] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"pp_file_not_found","message":"'cstddef' file not found","range":{"end":{"character":18,"line":21},"start":{"character":9,"line":21}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"-Wc++11-narrowing","message":"Non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'msg_t' (aka 'int') in initializer list","range":{"end":{"character":25,"line":77},"start":{"character":16,"line":77}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject","range":{"end":{"character":25,"line":77},"start":{"character":16,"line":77}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":19,"line":78},"start":{"character":16,"line":78}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wc++11-narrowing","message":"Non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'msg_t' (aka 'int') in initializer list","range":{"end":{"character":25,"line":79},"start":{"character":16,"line":79}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject","range":{"end":{"character":25,"line":79},"start":{"character":16,"line":79}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":19,"line":80},"start":{"character":16,"line":80}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":17,"line":81},"start":{"character":16,"line":81}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wc++11-narrowing","message":"Non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'msg_t' (aka 'int') in initializer list","range":{"end":{"character":25,"line":87},"start":{"character":16,"line":87}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject","range":{"end":{"character":25,"line":87},"start":{"character":16,"line":87}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":19,"line":88},"start":{"character":16,"line":88}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wc++11-narrowing","message":"Non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'msg_t' (aka 'int') in initializer list","range":{"end":{"character":25,"line":89},"start":{"character":16,"line":89}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject","range":{"end":{"character":25,"line":89},"start":{"character":16,"line":89}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":19,"line":90},"start":{"character":16,"line":90}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":17,"line":91},"start":{"character":16,"line":91}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wc++11-narrowing","message":"Non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'msg_t' (aka 'int') in initializer list","range":{"end":{"character":25,"line":97},"start":{"character":16,"line":97}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject","range":{"end":{"character":25,"line":97},"start":{"character":16,"line":97}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":19,"line":98},"start":{"character":16,"line":98}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wc++11-narrowing","message":"Non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'msg_t' (aka 'int') in initializer list","range":{"end":{"character":25,"line":99},"start":{"character":16,"line":99}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject","range":{"end":{"character":25,"line":99},"start":{"character":16,"line":99}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":19,"line":100},"start":{"character":16,"line":100}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":17,"line":101},"start":{"character":16,"line":101}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wc++11-narrowing","message":"Non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'msg_t' (aka 'int') in initializer list","range":{"end":{"character":25,"line":107},"start":{"character":16,"line":107}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject","range":{"end":{"character":25,"line":107},"start":{"character":16,"line":107}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":19,"line":108},"start":{"character":16,"line":108}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wc++11-narrowing","message":"Non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'msg_t' (aka 'int') in initializer list","range":{"end":{"character":25,"line":109},"start":{"character":16,"line":109}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject","range":{"end":{"character":25,"line":109},"start":{"character":16,"line":109}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":19,"line":110},"start":{"character":16,"line":110}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":17,"line":111},"start":{"character":16,"line":111}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":18,"line":117},"start":{"character":16,"line":117}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":20,"line":118},"start":{"character":16,"line":118}},"relatedInformation":[],"severity":2,"source":"clang"},{"code":"-Wmissing-braces","message":"Suggest braces around initialization of subobject (fix available)","range":{"end":{"character":17,"line":119},"start":{"character":16,"line":119}},"relatedInformation":[],"severity":2,"source":"clang"}],"uri":"file:///home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G%2B%2B/main.cpp","version":21}}

I[22:38:13.221] --> textDocument/clangd.fileStatus
V[22:38:13.221] >>> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"idle","uri":"file:///home/hermann/turag/chibios-mirror/demos/STM32/RT-STM32F407-DISCOVERY-G%2B%2B/main.cpp"}}

System information
Output of clangd --version:
clangd version 16.0.2 (https://github.com/llvm/llvm-project 18ddebe1a1a9bde349441631365f0472e9693520)
Features: linux+grpc
Platform: x86_64-unknown-linux-gnu

Editor/LSP plugin:
VS code 1.78.2 with clangd extension v0.1.24
Operating system:
Windows 10 with Ubuntu 20.04.6 LTS in WSL
The build succeeds, the affected headers are in the compiler's implicit include path:
$ arm-none-eabi-gcc -xc -E -v /dev/null
Using built-in specs.
 search starts here:
#include <...> search starts here:
 /usr/lib/gcc/arm-none-eabi/9.2.1/include
 /usr/lib/gcc/arm-none-eabi/9.2.1/include-fixed
 /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/include
End of search list.
# 1 "/dev/null"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/dev/null"
COMPILER_PATH=/usr/lib/gcc/arm-none-eabi/9.2.1/:/usr/lib/gcc/arm-none-eabi/9.2.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/9.2.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/
LIBRARY_PATH=/usr/lib/gcc/arm-none-eabi/9.2.1/:/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/lib/
COLLECT_GCC_OPTIONS='-E' '-v' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'

$ arm-none-eabi-g++ -xc++ -E -v /dev/null
Using built-in specs.
 search starts here:
#include <...> search starts here:
 /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/include/c++/9.2.1
 /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/include/c++/9.2.1/arm-none-eabi
 /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/include/c++/9.2.1/backward
 /usr/lib/gcc/arm-none-eabi/9.2.1/include
 /usr/lib/gcc/arm-none-eabi/9.2.1/include-fixed
 /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/include
End of search list.
# 1 "/dev/null"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/dev/null"
COMPILER_PATH=/usr/lib/gcc/arm-none-eabi/9.2.1/:/usr/lib/gcc/arm-none-eabi/9.2.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/9.2.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/
LIBRARY_PATH=/usr/lib/gcc/arm-none-eabi/9.2.1/:/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/lib/
COLLECT_GCC_OPTIONS='-E' '-v' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'

After some trying around, I fixed the issue by adding the C++ compiler explicitly to the query-driver arg: --query-driver=/usr/bin/arm-none-eabi-gcc,/usr/bin/arm-none-eabi-g++

After some trying around, I fixed the issue by adding the C++ compiler explicitly to the query-driver arg: --query-driver=/usr/bin/arm-none-eabi-gcc,/usr/bin/arm-none-eabi-g++

This seems to be the state-of-the-art solution of the problem you had. You may also be interested in #539.

After some trying around, I fixed the issue by adding the C++ compiler explicitly to the query-driver arg: --query-driver=/usr/bin/arm-none-eabi-gcc,/usr/bin/arm-none-eabi-g++

This seems to be the state-of-the-art solution of the problem you had. You may also be interested in #539.

When reading the docs, I did add the C compiler to the --query-driver argument, however, I did not add the C++ compiler at first.
I would consider adding a note to the docs to explicitly add the C++ compiler to the --query-driver argument.

I would consider adding a note to the docs to explicitly add the C++ compiler to the --query-driver argument.

Documentation does not seem to make any distinction between C and C++, I am not sure where you would like this note to be added...
The source of clangd's documentation is here, feel free to submit a PR.


Use Ruff for linting and code formatting

Quote from Ruff

An extremely fast Python linter and code formatter, written in Rust.

Ruff is a fantastic tool that combines the features of flake8 linter, isort, Black code formatter, and (to some degree) pylint in one tool. It comes with over 800 linting rules. Ruff is not only blazing fast, it can also fix most code violation. The code fixer is a fantastic quality of life feature for developers. I have been using Ruff in my projects for a while and haven't had a major problem, yet.
I'm not the only person that prefers Ruff. @thrix has started PR #519. IMHO the PR is doing a bit too ambitious and changes too much at once. I recommend to aim lower and start with fewer checkers, or even no checker and just code formatting.
Black
We can use Ruff as a full replacement for Black with this configuration:
[tool.ruff]
# Same as Black.
line-length = 88
target-version = "py39"

isort (import sorter)
The project configures isort to insert headings. The import_heading_* options are one of few features lacking in Ruff. If we want to keep the headings, then we need to keep using isort for now. Heading settings feature request: https://github.com/astral-sh/ruff/issues/6371
pylint
pylint can perform checks that are not implemented in Ruff, e.g. AST inference and plugins. The downside of pylint is that it's very slow and that all dependencies must be installed first. Even with some tricks, a tox virtual env with Torch and other dependencies is > 1.5 GiB.
Ruff's linters work differently and do not require dependencies to be installed. At the moment, we have only a few pylint checks enabled. It looks like we can replace most to all checks with Ruff + get tons of additional checks for free.
https://docs.astral.sh/ruff/faq/#how-does-ruffs-linter-compare-to-pylint

Closing since https://github.com/instructlab/instructlab/pull/923 merged


License declaration missing

This package does not have a declaration of what license applies.
I want to use this package in my application, so could you locate LICENSE file on this repository?

done

Thank you!


Pallets: Assets destroy_accounts releases the deposit

Destroy accounts should release the existence deposits if any.
Currently, when accounts are being destroyed, deposits are not released. The dead_account function is executed forcefully, allowing the removal of the asset even if some accounts were not removed correctly.
In the PR we release the deposits on the account destroy and do not force the  dead_account function.

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3067865

bot merge

bot rebase

bot merge


Throw 'lifetimes do not match method in trait' when use CustomValidator trait

Expected Behavior
No error throw here.
Actual Behavior

Steps to Reproduce the Problem
official docs
// main.rs
use async_graphql::*;

struct MyValidator {
    expect: i32,
}

impl MyValidator {
    pub fn new(n: i32) -> Self {
        MyValidator { expect: n }
    }
}

#[async_trait::async_trait]
impl CustomValidator<i32> for MyValidator {
    async fn check(&self, value: &i32) -> Result<(), String> {
        if *value == self.expect {
            Ok(())
        } else {
            Err(format!("expect 100, actual {}", value))
        }
    }
}

fn main() {
    println!("hello world.");
}

cargo.toml
[package]
name = "r"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
async-trait = "*"
async-graphql = "*"

Specifications

Version:
rustc: 1.56.0 (09c42c458 2021-10-18)
async-trait: 0.1.51
async-graphql: 3.0.10
Platform: Win10 21H1
Subsystem: None

I updated the book.

Work fine now, thank you.


Expose Integration Flow Endpoint as API and Test the Flow

Tutorials: https://developers.sap.com/tutorials/cp-starter-isuite-api-management.html
I can not find package Connect to SAP Business Technology Platform Services under Discover.

@edwin7 - do you mean that you are not able to find the package in the API Portal Discover space? Or in the Cloud Integration Discover space? In this step, you are requested to find the package in the API Portal Discover space.
Could you please try again and let me know?
Regards,
Karuna

Hello @edwin7 - I checked sometime back and I was able to find the package "Connect to SAP Business Technology Platform Services" in the API Portal Discover space. Could you please check again?

No package found. Am I in the right page?


Skip download in unittests

Tests where the population data is downloaded cause errors in the CI. Thus they should be skipped and later replaced with test sets (see Issue #309.

There still are tests that download data.

I think this can only be a workaround for the moment


Added scroll bar for better user experience

Your code creates issue.
Please check guidelines and code before creating PR.


PowerShell Cmdlet using -Encoding byte is wrong

Hello there, could you please check the PowerShell snippet using -Encoding byte? This does not work.
Affected line:
C:> $content = Get-Content "C:\tmp\customMoH1.mp3" -Encoding byte -ReadCount 0
Please also see PowerShell cmdlet reference for the Get-Content cmdlet https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-content?view=powershell-7.2
"... -Encoding
Specifies the type of encoding for the target file. The default value is utf8NoBOM.
The acceptable values for this parameter are as follows:
ascii: Uses the encoding for the ASCII (7-bit) character set.
bigendianunicode: Encodes in UTF-16 format using the big-endian byte order.
bigendianutf32: Encodes in UTF-32 format using the big-endian byte order.
oem: Uses the default encoding for MS-DOS and console programs.
unicode: Encodes in UTF-16 format using the little-endian byte order.
utf7: Encodes in UTF-7 format.
utf8: Encodes in UTF-8 format.
utf8BOM: Encodes in UTF-8 format with Byte Order Mark (BOM)
utf8NoBOM: Encodes in UTF-8 format without Byte Order Mark (BOM)
utf32: Encodes in UTF-32 format. ..."
Thank you.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 416f3cdb-ca75-8224-bc04-985e5f7ea9dd
Version Independent ID: 6e8c6f33-8043-e367-b44b-74b5f5ee96f2
Content: Music on Hold - Microsoft Teams
Content Source: Teams/music-on-hold.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

@erik365online Thanks for the feedback.
The PS cmdlet sample referenced on this page is based on Windows PS 5.1. I'll add that to the page.
In the PS cmdlet page for Import-CsOnlineAudioFile we have example 4 that shows how to do it for Windows PS 6.0 or later using AsByteStream as you found out.
Feel free to close this issue


H Title not working

Hello,
in the newest release from the 30.03 is the hx popup not showen up / working :-/
regards,
Tim

Works for me (the release without autocomplete as well as from GIT)
Could you explain how to reproduce this issue?


PlatformIO: i cannot use the Wifi Shield ESP8266 to build the sample wifi project with the Nucleo F429ZI

Describe the bug
I want to build a wifi sample with nucleo_f439zi with esp_8266 as Wi-Fi shield on virtual studio code using PlatformIO. When i use west in the console on linux. i use this command "west build -b nucleo_f429zi samples/net/wifi -- -DSHIELD=esp_8266"
But  in PlatformIO,  i don't have the possibility to add this parameter for the Wi-Fi shield.  Do you know how to add this parameter for build options in PlatformIO ?
I tried in the platformio.ini, and I added this parameter "build_flags= -DSHIELD = esp_8266" but it's still not working...
Impact
the Nucleo F429ZI Board is trying to use the network interface (Ethernet port) for the Wi-Fi sample project and not the Wi-Fi shield ESP8266.
Logs and console output

Environment (please complete the following information):

OS: Linux
Toolchain  Zephyr SDK, Visual Studio Code, PlatformIO

Please report to the platformio github project, as we do not support specifying build flags on the command line in that fashion yet.


FizzBee Test adaptor proof of concept

Oops, I am writing a document and sharing the early draft to get some feedback. (Since I am mostly working alone and could easily be blinded by obvious issues and hidden complexities)
The PR includes the Refinement mapping code required on Slate DB side to execute the tests. Refinement mapping just shows how the concrete implementation maps to the abstract model. It has two parts

Mapping for actions: For example: how action Put in the model translates to db.PutWithOptions(...) in the Go code. This is actually trivial, and easily generated (ChatGPT got it correct with careful prompting and GitHub Copilot got it mostly correct without any prompting, but had to manually edit the code).
Mapping for states: For example, How the DB's state or the ObjectStore with SSTs map to the Python dictionary in the model. This, at present, needs some careful thinking. I believe this could be simplified and improved to automate the code generation, I will work on it in parallel.

The test runner and the specific test cases are not included in this PR.

Test Cases: The test cases are just data files generated when the fizzbee model checker is run. For the first model that is merged in the main slatedb repo, the data files are 100s of MB. So this must end up in some object store, and figure out how to make the workflow smooth.

Test Runner: The test runner would be part of fizzbee, I will create a docker image.

At present, I have implemented only the tests for single threaded usage. For example Put(k1, v1), Get(k1, "committed"), Get(k1, "uncommitted"), Flush(), .... and so on one after another, and verify the states and the return values match what is expected based on the model. This is equivalent to most manually created tests. This covers only around 10% of the possible cases created by the FizzBee model.
Validating the concurrent behavior: This is the most interesting part and not currently testing in the slatedb-go implementation. For example, there is no test to ensure of Get(uncommitted) does not look at Immutable WALs. Because that will happen only if we have a way to pause a thread after freeze but before the immutable WALs are flushed. I will start with linearizability testing as it is easy to implement but resource intensive, but I actually want to implement a linear time atomicity testing but that's a bit complex though.


Add kernel 5.15 project

Change-Id: I5d17a63d9001bcd13218693721706b534cc67634
Tracked-On: OAM-103397
Signed-off-by: Jeevaka Prabu Badrappan<EMAIL_ADDRESS>

Valid Commit Message
Improper Jira Status, jira status not in ['In Progress','Implemented']

Merged internally, /absp/builders/celadon-mergerequest/builds/2969


Move the date up in the JSON file

Even if a plugin doesn't have any update, its date is updated in the JSON file.
It produces a big git diff : https://github.com/Mariosmsk/qgis-plugins-downloads/commit/cf7d66590a8cc46b71c8baa8eb2f4bc5389ae155
The date is the same for all plugins, so it would be better to move the date up in the JSON file, as a general properties for all plugins, no ?
So then the diff file would be way smaller, only for a plugin having a different number of downloads.
What do you think ?

Ok, it was just an idea, to be able to read a diff file easily in github with way fewer lines updated.
I won't work on that, as I guess you know the code better than me


translated how-to-open-a-pull-request.md to arabic in docs

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Thank your for your contribution, @oussamabouchareb :)


Setup and Infrastructure for AgentM Python Migration

Overview
This issue covers the initial setup and infrastructure needed to migrate the AgentM library from JavaScript to Python. It includes setting up the development environment, configuring dependencies, and establishing the basic project structure.
Tasks

[x] Setup Python Environment

[x] Install pipenv for managing Python dependencies and virtual environments.
[x] Create a Pipfile and Pipfile.lock to manage project dependencies.
[x] Generate a requirements.txt file for compatibility with other Python environments.

[ ] Configure Project Layout

[ ] Set up a basic project directory structure:

src/ for the main application code.
tests/ for unit and integration tests.
docs/ for documentation files.
config/ for configuration files.

[x] Initialize Version Control

[x] Initialize a new Git repository or configure the existing repository.
[x] Set up .gitignore to exclude unnecessary files and directories (e.g., virtual environments, compiled Python files).

[ ] Setup Continuous Integration (CI)

[ ] Choose a CI service (e.g., GitHub Actions, Travis CI).
[ ] Create a basic CI pipeline to run tests and checks on pull requests.
[ ] Integrate Python linters (e.g., flake8, black) into the CI pipeline.

Subtasks Overview

Install and configure pipenv: Ensure the Python environment is isolated and dependencies are managed effectively.
Create project structure: Set up directories for source code, tests, and documentation.
Initialize Git and GitHub integration: Prepare the project for version control and collaboration.
Configure CI/CD pipeline: Automate testing and code quality checks to ensure robust development practices.

Thanks for driving all of this @debuggerone


server: fix exception in DeploymentPlanningManagerImplTest

previously
[INFO] Running com.cloud.deploy.DeploymentPlanningManagerImplTest

java.lang.NullPointerException
	at com.cloud.deploy.DeploymentPlanningManagerImpl.planDeployment(DeploymentPlanningManagerImpl.java:403)
	at com.cloud.deploy.DeploymentPlanningManagerImplTest.failEncRootLastHostNotSupportingEncryptionTest(DeploymentPlanningManagerImplTest.java:644)

...
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.407 s - in com.cloud.deploy.DeploymentPlanningManagerImplTest

with this PR
[INFO] Running com.cloud.deploy.DeploymentPlanningManagerImplTest

[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.481 s - in com.cloud.deploy.DeploymentPlanningManagerImplTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0

Description
This PR...

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[] Minor
[x ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 4344

I dont' see any unit test failures.


Make possible to add extraIncludePaths for cloud functions in node sdk

Fixes #148

@pjbizon Thanks so much for the contribution! I updated your PR description just so it has the magic words to close the related issue when this PR is merged.

/run-acceptance-tests

@pjbizon Acceptance tests look good. Just waiting for review from someone more familiar with the node mixins.

I have a question, when can this change be expected to happen? I must admit that it would also be useful to me in production. Thank you in advance for the information.

Hi @pjbizon
thanks for the work here - sorry we didn't merge this sooner! This will go out as part of the next release of the provider
Paul


Feature/splunk observability scaler

With this pull request, I would like to add a new custom KEDA scaler that interacts with the Splunk Observability Cloud Platform. It is able to query metrics from Splunk Observability Cloud and scale a deployment according to a predefined target value.
As for now, I do not have the created a pull request to update the Helm chart, becasue I did not think it necessary. However, my knowledge about Helm charts is admittedly limited, and I am happy to fix this in hindsight if that is necessary.
Thank you.
Checklist

[X] When introducing a new scaler, I agree with the scaling governance policy
[X] I have verified that my change is according to the deprecations & breaking changes policy
[X] Tests have been added
[X] Changelog has been updated and is aligned with our changelog requirements
[ ] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[x] A PR is opened to update the documentation on (repo) (if applicable) -> https://github.com/kedacore/keda-docs/pull/1477
[X] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Relates to:

Initial proposal: #6190
Pull request containing the documentation on this scaler: #1477

The only files we should be changing under pkg/ in this PR is scalers/ and scaling/. We should remove the other changes introduced.

We should probably set this PR to WIP/Draft state

Thank you for reviewing, @zroubalik. I will work during the next days on fixing the things pointed out.

Hi @zroubalik,
thanks for the heads-up. Unfortunately, I will not be ready for the new release on November 7th, and I ask you to go ahead without this Splunk Observability Scaler.
I work towards being ready for the next release after November 7th. Apologies if I slowed things down.

Somehow the diff now shows 4400+ files changed


[Task] Ensure that new app can be created for same org twice

We need to write a test that addresses issue: #1712

Click create new app
Go back to the applications page
Click create app
Ensure that a new app can be created

Fixed with #1871

Fixed with #1871


Uglify build mode does not handle "globals"

Uglify appears to handle 'globals' as a user-defined variable. When I build the following code with uglifiy:
print globals
the resulting uglified code  is this:
print(H)
Greyhack then errors because H was never defined. I believe it should instead generate this:
print(globals)

Hey,
thanks for reporting.
Seems like this issue is already open since 14.01 which is kinda odd since I didn't see it. Anyway I'll look into it.

Just released a new version for greybel-js, greybel-vs and miniscript-vs. Should fix the issue for all of those. In case you're still expiring the same problems feel free to reopen this issue.

Thanks ayecue, I'll take a look. As for the issue date, my GitHub had been silently flagged and I didn't realize the issue was hidden.


Fix anchors in README.md

Overview
Currently all anchors in README.md cause address change. E.g. setRNConfiguration link in Methods section should lead to
https://github.com/react-native-community/react-native-geolocation#setrnconfiguration

but leads to
https://github.com/react-native-community/react-native-geolocation/blob/master/README.md#setrnconfiguration

This PR fixes that.
Test Plan
Try clicking on the same link in Methods section with the fix.

Thanks!


Is there any specific usecase for multiple servers with Load balancers

Description
I am using Adonis 5 on Kubernetes with a Load Balancer.
I am planning of executing some tasks using the Scheduler ( Adonis5-scheduler)
I am wondering how it is going to work in my use case.
Please share if you have any idea of how I can go about this
Thanks in Advance.

You need run single instance with command "node ace scheduler:run".  And run multiple instances your app "node ace serve"


[mgmt] sql release

https://github.com/Azure/sdk-release-request/issues/5379

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/arm-sql

Seems like a large number of broken links are getting caught in the pipeline from this change: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4173044&view=logs&j=d41e9505-d81b-5b3c-5b50-be71bc9b0ccb&t=2521f384-3a28-5bc9-41e5-2f3e6ef99ecd
@kazrael2119 is this something you can clean up?

v10-beta folder doesn't exist in main https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/sql/arm-sql/samples/

I feel like it might be a transient result of when this PR is merging? Let's wait for https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4177264&view=results the aggregate reports for today see if it still exists.


Refs 276: Fixes Tag on popular_repositories list api

will let mike merge :)

https://issues.redhat.com/browse/HMSCONTENT-276

⚠ This task currently requires qe-approval, but this PR does not fully resolve the task.  Please contact QE to determine appropriate testing required.

/retest

https://issues.redhat.com/browse/HMSCONTENT-309

Thanks @Andrewgdewar !


[Bug] Incorrect traits on Dark Minotaur

Descent monster type Dark Minotaur has:
traits=melee cursed civilized small
Here: valkyrie/unity/Assets/StreamingAssets/content/D2E/h&m/soe/monsters.ini
https://github.com/NPBruce/valkyrie/blob/ff574fb760e51bb86004b7208dcce9c7a6790625/unity/Assets/StreamingAssets/content/D2E/h%26m/soe/monsters.ini
It should be 'dark' not 'cursed', so:
traits=melee civilized dark small

It also looks odd that it has:
info={ffg:DARK_MINOTAUR_INSTRUCTION}
Where all other monsters seem to have INSTRUCTION_MONSTERNAME... Not sure where to check to see if this is valid or not...

In the imported Localization_en.txt, it is correct. There are quite a few strange keys like this, which is why they are all manually specified for every monster.


Is DateTime.now constructor result unique?

(1) I suppose that executing only one Isolate, every time this constructor is executed would create a different DateTime value (maybe close, but with different microseconds). But I have this doubt.
(2) Another doubt would be if my Dart Server is using only one isolate or multiple, because I'm using Http Shelf library and maybe is creating multiple isolates to handle requests.
UPDATE: By default it is run only in one isolate
https://pub.dev/documentation/shelf/latest/shelf_io/serve.html
https://api.flutter.dev/flutter/dart-io/HttpServer/bind.html
Thank you

(1) I suppose that executing only one Isolate, every time this constructor is executed would create a different DateTime value (maybe close, but with different microseconds). But I have this doubt.

Nothing ensures they are unique. It depends on multiple factors including how often the time is set to "ticking" on your running platform since no platform have infinite precision when it comes to definition of time (even if your OS have microseconds it does not mean the value is updated for each microsecond ongoing).
E.g. this program returns true on my Windows 11 machine running with a i9-12900K:
void main() {
  final d1 = DateTime.timestamp();
  final d2 = DateTime.timestamp();

  print(d1 == d2);
  print(d1.microsecondsSinceEpoch);
  print(d2.microsecondsSinceEpoch);
}

But returns false on my Linux server running with a i7-4770.

@julemand101 There is the Uuid Dart package which is supposed to generate unique identifiers:
// Generate a v1 (time-based) id
uuid.v1(); // -> '6c84fb90-12c4-11e1-840d-7b25c5ee775a'

// Generate a v4 (random) id
uuid.v4(); // -> '110ec58a-a0f2-4ac4-8393-c866d813b8d1'

// Generate a v5 (namespace-name-sha1-based) id
uuid.v5(Uuid.NAMESPACE_URL, 'www.google.com'); // -> 'c74a196f-f19d-5ea9-bffd-a2742432fc9c'

V1 says it is time based, so  will I have the same problem that you mentioned?

@busslina
Need to look into the actual implementation of UUIDv1 in that package but based on the wiki article, the UUIDv1 algorithm are suppose to handle the cases where multiple UUID's ends up being generated before the clock have yet to advance:
https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)

@busslina Ok, based on the code in the uuid package, it does look like they attempt taking care of this scenario:
https://github.com/daegalus/dart-uuid/blob/main/lib/v1.dart
They even make sure to throw an error in case of too many UUID's is generated at a given time before the clock is advanced. So I think it handles the "issue" of the clock not being guarantee to be unique every time being asked.

@julemand101 Thank you very much.
For now I resolved it by adding a few lines of code:
static DateTime generateUniqueTimestamp() {
    var ret = now();

    while (ret == _timestampIndex) {
      ret = now();
    }

    return _timestampIndex = ret;
  }

Not using async delays (sleep) because it is needed in class constructor.

@busslina Maybe a bit weird to call it generateUniqueTimestamp since nothing prevents a computer from changing the clock to a previous point in time (e.g. network sync of clock).
Timestamps are just really bad for unique ID's.... I would recommend allowing duplicate timestamps in your design and use something else as the ID.

Well, I need some logic to discard previous versions of objects. Until today I was using an integrity index (incremented int value). It was working okay, but as I introduced a timestamp field for other purpose I thought I could use also for version controlling, so I removed the integrity index mechanism... I will think next move... haha

Agree that there are no guarantees that DateTime.now or DateTime.timestamp are unique. In fact, it's a requirement that they are not all distinct if you call them multiple times within a single microsecond. That might not be physically possible, but web code only has millisecond granularity, so there it's within the same millisecond, which is much more likely. And while native code might have microsecond precision, but it might not have microsecond granularity.
So the answer is, officially, "no".
(And if you run in different isolates, it's even more "no", since it's technically possible to run both isolates at the exact same time.)


Tools - Add digitalearthau

Requester: Bex Dunn

No longer required due to copying the required wofs_fuser func to dea_datahandling in DEA Notebooks: https://github.com/GeoscienceAustralia/dea-notebooks/pull/403


SkyWalking metrics are shown to single session at a time

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Recently we have configured Apache Skywalking 8.1.0 version and Java agent send metrics to OAP service and I can see the metrics. If my team members are trying to see the dashboard in same time they dont get metrics.
Java version I am using: openjdk version "11.0.8" 2020-07-14

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happened?
If possible, provide a way to reproduce the error. e.g. demo application, component version.

Requirement or improvement

Please describe your requirements or improvement suggestions.

I am confused, what is the different? Do you set the same time and timezone?

@wu-sheng  if I open installed skywalking URL in two different system, i can see metrics in only one machine. Another system I can see only blank page without metrics.

I don't know why. Maybe local browser cache?


feat!: add raise_on_fail to send_transaction()

What I did
Added raise_on_fail per https://github.com/ApeWorX/ape/pull/957
How to verify it
Added new test to verify
Checklist

[x] Passes all linting checks (pre-commit and CI jobs)
[x] New test cases have been added and are passing
[x] Documentation has been updated
[x] PR title follows Conventional Commit standard (will be automatically included in the changelog)

@unparalleled-js I just moved this to a feature base branch, should be ready for review now

Just a note that the tests will fail due to the core changes being on an unreleased feature branch


Problem with escope dependency

Just cloned your repo and after doing npm install and npm start I got an issue with 'visitClass' which is caused by the library escope. For more info, read https://github.com/babel/babel-eslint/issues/243 , but the basic work around is:
npm uninstall<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>
This fixes it the problem, but I am not sure if this should be added to the readme, as they seem to be working on a solution and the problem might be fixed by updating babel-eslint in the near future.

Expect upgrade the version of the babel-eslint.

PR：https://github.com/taobaofed/react-web/pull/68 fix this issues.


MudTabSlider does not appear when displayed dynamically

Bug type
Component
Component name
MudTabs
What happened?
Hello, when using MudTabs and displaying a tab dynamically using an if else condition then the slider does not appear correctly on the dynamic tab.
The width of the slider is at 0px for some unknown reason.

Expected behavior
The slider should work as with other tabs which are not dynamic.
Reproduction link
https://try.mudblazor.com/snippet/cEmxPwmEJkQmeBzo
Reproduction steps

Click on both tabs to verify that it works properly.
Click on the button to make tab 2 disappear and 3 appear using the if else condition
Click on tab 1 then 2/3 and vice versa to see that the slider does not work with the tab which appears dynamically

Relevant log output
No response
Version (bug)
6.11.2
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge, Safari, Other
On what operating system are you experiencing the issue?
Windows, Linux, iOS, Android
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

After clicking the "Change Tab" button and clicking the "Tab Two" tab
I'd expect the slider to show up, it does not.

@TDroogers I think it should do like @Yomodo said.
If you still don't understand I can make a video showing the problem.


Improve scheduling of nightlies scraper

Maybe try around 6AM PST every day? Per @alexcrichton.

Bumped up the frequency of the scraper on the server, quick hack but it works.


Create supported-browsers.md

Added a short documentation of the supported browsers.
Description :sparkles:
Many developers need the information about the decision on browser support: which ones to test and support?
This short documentation tries to answer to that question.

This is a helpful addition! I would consider mentioning specifically that IE11 is not supported.
Also keep in mind that many (if not all) projects use something called browserslist and that it will be helpful to have an example configuration for reference. Here is the configuration from kukkuu-ui's package.json:
"browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],

This is a helpful addition! I would consider mentioning specifically that IE11 is not supported.
Also keep in mind that many (if not all) projects use something called browserslist and that it will be helpful to have an example configuration for reference. Here is the configuration from kukkuu-ui's package.json:
"browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],

I added the remark on IE11 not needing support. But I don't have enough understanding of the browser lists so that I could write any guidelines on those. I agree it would be a good idea :)


Better list deals API

Idea here is to consolidate deal record querying as much as possible and get set up to provide API that FFS needs.

Remove extra functions, just one func for querying storage deals and one for retrieval deals
Provides options for including pending deals, sorting, address and data cid filters
Updates to this new API from the deals module to the rpc layer to the client to the cli

Snuck a quick fix in that closes #507

Ok in the end I decided to just make IncludeFinal default to false. So now there are no strange defaults, but you do have to supply one or the other or both of WithIncludeFinal or WithIncludePending to get any results. Slightly harder to use API to avoid all confusion. Seems like an ok trade off.


You can change this setting?

before
Apply enchanted books to any item in an anvil, ignoring item type and conflicting enchantments.  Now you can finally put both Infinity and Mending on your favorite bow.  Or Bane of Arthropods on a stack of dirt blocks.  I don't judge.  (New in version 1.1.0)
after
Apply enchanted books ignoring conflicting enchantments.
Ignore item type is too abnormal condition and there are too many bugs

Not sure what you mean by "too many bugs".  If you have some good examples where this breaks the game, please explain and I can try to split out the config.  If the only problem is that it's "abnormal" or feels weird to put protection on a hoe or unbreaking on cobblestone, then don't do that in your game.
Closing because of stale issue


ARCH: Use game start time as seed

So I implemented a very boilerplate heavy solution for sending seeds between peers, which currently still doesn't work, but then I realized that you could just use the start time of the game (GameState::InGame) as a seed. Given that the game must be deterministic, the game should start at the same second. There is one catch to this however: The game could start at the end/start of a second, for instance
Peer1: 15.990
Peer2: 16.020

If we just take the seconds we will get different seeds, and that will result in instant desyncs. However we can simply round to the nearest integer and the problem is solved. Unless the peers don't have a enomers delay this will work pretty well. Even in that case, we could simply disregard the last digit of the second and round to 10 seconds, this will make sure that even peers with far distances can at least have the same seed (even if the playing experience will be less then ideal).

This is only a suggestion for myself, in case the current implementation doesn't work for whatever reason.

This wouldn't work. Not matter how high you choose these rounding sections, you can always find two numbers which will have different rounding points.


PlayerToken and UID is shown in the console

PlayerToken and UID is shown in the console, I got hacked because of it, it should not display it in the console.

a

UIDs are public information, can be got from the origin API from a username, as for player tokens, I was not aware of us logging origin tokens? Can you provide a screenshot (censor the token though) or something?

As @ASpoonPlaysGames says, UIDs have basically the same sensitivity as usernames with the only difference being that they cannot be changed. Anyone with an Origin account can lookup someone else's UID based on username and vice versa.
On the note of PlayerToken, I couldn't find anything in my logs when checking rn. But even then, tokens should be one-time use, meaning they are invalidated the moment they get sent once.
(screenshots are of course still welcome if you have any to make sure we're talking about the same thing ^^)

UIDs are public information, can be got from the origin API from a username, as for player tokens, I was not aware of us logging origin tokens? Can you provide a screenshot (censor the token though) or something?

We don't log them, it is shown in the console when northstar starts up, meaning if you are sharing your screen or have someone next to you, your account token is compromised

They are arguing it shouldn't be shown in console, because they were streaming and showed the console for a couple seconds and someone got their token

But even then, tokens should be one-time use, meaning they are invalidated the moment they get sent once.

Yeah, totally... They definitely aren't permanent... 💀

But even then, tokens should be one-time use, meaning they are invalidated the moment they get sent once.

Yeah, totally... 💀

it is shown in the console when northstar starts up, meaning if you are sharing your screen or have someone next to you, your account token is compromised

This is literally just wrong, wot? Console never prints token. It will show UID though:

Origin account UIDs are neither sensitive information nor useful for anything other than knowing someone's account. Usernames are the same way.
If a streamer doesn't want anyone to know their username, just don't show console? (also dont play on any servers or launch any multiplayer stuff)

You are wrong, it does print out the origin token, this is how they changed my pfp and signed into titanfall as me as TTV-iTz_Nao(1) while in karma's server.

thats... rather annoying

( UID is basically public information, the token part is problematic though )

I cant rly seem to get the game to be printing that the console at all, I assume it's printing it roughly here for you

void MasterServerManager::AuthenticateOriginWithMasterServer(char* uid, char* originToken)
{
	if (m_bOriginAuthWithMasterServerInProgress)
		return;

	// do this here so it's instantly set
	m_bOriginAuthWithMasterServerInProgress = true;
	std::string uidStr(uid);
	std::string tokenStr(originToken);

	std::thread requestThread(
		[this, uidStr, tokenStr]()
		{
			spdlog::info("Trying to authenticate with northstar masterserver for user {}", uidStr);

			CURL* curl = curl_easy_init();
			SetCommonHttpClientOptions(curl);
			std::string readBuffer;
			curl_easy_setopt(
				curl,
				CURLOPT_WRITEFUNCTION,
				CURLOPT_URL,
				fmt::format("{}/client/origin_auth?id={}&token={}", Cvar_ns_masterserver_hostname->GetString(), uidStr, tokenStr).c_str());
			curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "GET");
			curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, CurlWriteToStringBufferCallback);
			curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer);

			CURLcode result = curl_easy_perform(curl);

			if (result == CURLcode::CURLE_OK)
			{
				m_successfullyConnected = true;

				rapidjson_document originAuthInfo;
				originAuthInfo.Parse(readBuffer.c_str());

				if (originAuthInfo.HasParseError())
				{
					spdlog::error(
						"Failed reading origin auth info response: encountered parse error \"{}\"",
						rapidjson::GetParseError_En(originAuthInfo.GetParseError()));
					goto REQUEST_END_CLEANUP;
				}

				if (!originAuthInfo.IsObject() || !originAuthInfo.HasMember("success"))
				{
					spdlog::error("Failed reading origin auth info response: malformed response object {}", readBuffer);
					goto REQUEST_END_CLEANUP;
				}

				if (originAuthInfo["success"].IsTrue() && originAuthInfo.HasMember("token") && originAuthInfo["token"].IsString())
				{
					strncpy(m_ownClientAuthToken, originAuthInfo["token"].GetString(), sizeof(m_ownClientAuthToken));
					m_ownClientAuthToken[sizeof(m_ownClientAuthToken) - 1] = 0;
					spdlog::info("Northstar origin authentication completed successfully!");
				}
				else
					spdlog::error("Northstar origin authentication failed");
			}
			else
			{
				spdlog::error("Failed performing northstar origin auth: error {}", curl_easy_strerror(result));
				m_successfullyConnected = false;
			}

			// we goto this instead of returning so we always hit this
		REQUEST_END_CLEANUP:
			m_bOriginAuthWithMasterServerInProgress = false;
			m_bOriginAuthWithMasterServerDone = true;
			curl_easy_cleanup(curl);
		});

	requestThread.detach();
}

This is what is causing it, i dont know cpp LOL so imma have a wild guess.
Ive looked online and they say this is how to make curl not print:
			curl_easy_setopt(
				curl,
				CURLOPT_WRITEFUNCTION,
				CURLOPT_URL,
				fmt::format("{}/client/origin_auth?id={}&token={}", Cvar_ns_masterserver_hostname->GetString(), uidStr, tokenStr).c_str());

Just a wild guess 😄

You are wrong, it does print out the origin token, this is how they changed my pfp and signed into titanfall as me as TTV-iTz_Nao(1) while in karma's server.

Thanks, this is the screenshot I was looking for! :D
So looks like Bob already made a PR that disables curl logging by default, it just wasn't released yet. I'll look into pushing out an update that includes it within the next few days when I get the time ^^
On a sidenote, I suggest updating your Origin password if you haven't already. Not because the auth token gives any form of access to your password but changing the password should reset and log-out all other sessions, cutting off anyone who might have gotten access to your account using that token.

Pushed the update today already. Player token leak via screenshare should be fixed with v1.7.2 by disabling curl logs by default.

Not because the auth token gives any form of access to your password but changing the password should reset and log-out all other sessions, cutting off anyone who might have gotten access to your account using that token.

I tried this and my token didn't change lol, they might be permanent

I tried this and my token didn't change lol, they might be permanent

They are definitely not permanent based on the master server logs I've seen. The first three characters are. The next 5 characters stay mostly the same, the rest after that seems to change quite frequently.


removed outdated comment

I think this comment is misleading, because it makes a difference if MBEDTLS_SSL_PRESET_SUITEB or another value is passed as "preset".
Off-topic: as this is my first contribution I am thankful for any hints, about contributing.

LGTM


PHP: Add enum and keyword, and modify types

enum keyword added in PHP 8.1.  See PHP: Basic enumerations - Manual.
match keyword added in PHP 8.2.  See PHP: match - Manual.
The decremented keywords (boolean and integer) are aliases for the type name and are not valid as keywords for type declaration.
<?php

function f1(): int {} // Valid type declaration as primitive type name
function f2(): integer {} // Valid type declaration, but that means "integer" class name
function f3(): resource {} // Valid type declaration, but that means "resource" class name

https://www.php.net/manual/reserved.other-reserved-words.php

@zyedidia Could you review this PR?


[s2geometry] update code & fix windows builds

[X] Changes comply with the maintainer guide
[X] SHA512s are updated for each updated download
[X] The "supports" clause reflects platforms that may be fixed by this new version
[X] Any fixed CI baseline entries are removed from that file.
[X] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

I was able to get a PR accepted upstream that fixes the issues preventing a builds on Windows (or more specifically MSVC) and have an open PR adding proper CMake config targets similar to the current portfile patch, but I'm uncertain whether the latter will get merged in the near term.  As such I'm updating the current port code to target the fixes with the existing (updated) patches in order to unblock another new port I'd like to get added to vcpkg in the near future, but which depends on s2geometry.

While I appreciate the intent to integrate upstream fixes, diverging from the official release schedule and changing the versioning scheme is not typically recommended in vcpkg. Different versioning schemes can lead to difficulties in version comparison and dependency management.
If the purpose is to include specific fixes that have been merged upstream, a more appropriate approach would be to apply those patches directly to this port. This way, we can incorporate necessary updates without deviating from the established upstream release versions.
Please ensure any applied patches are well-documented in the port file, including details about their origin and necessity. We will update the port to the new official release when it becomes available from the upstream project.

OK, well, I guess I'll ask them to cut a release and see what they say.  https://github.com/google/s2geometry/issues/341

this is waiting on the upstream repo to add the tag.  once it does the CI should pass.

And please add the following codes to Config.cmake.in.
include(CMakeFindDependencyMacro)
find_dependency(absl CONFIG)

Fix the error:
1> [CMake] CMake Error at F:/PRreview/vcpkg/installed/x64-windows/share/s2/s2Targets.cmake:61 (set_target_properties):
1> [CMake]   The link interface of target "s2s2" contains:
1> [CMake]
1> [CMake]     absl::base
1> [CMake]
1> [CMake]   but the target was not found.  Possible reasons include:

Usage test passed on x64-windows.


Community member shared a bug

It seems, that it's Safari.
I don't see exactly, but link is here: https://box.bw-sw.com/f/a097ca3781/?raw=1
Let's try to find it.

solved in master

Its google chrome. @wowshakhov is docker container updated with latest?

@karuturi, Yes it should be in docker hub already. Just pull latest. Write me if it still has problems.

I pulled the latest. Still facing the same problem. (tried on firefox as well and same issue)

Is the fix for this in PR #92 ?
I dont think the js on my local app reflects the new js added in that PR. (here is the js code I see https://gist.github.com/karuturi/3a2bddbeb047a4bd46c2c32e2d8e5a03 )

@karuturi
What version of ACS you are using?
Is it simulator or real deployment?

simulator and ACS master(4.10)

@karuturi
Do you have a guide how to deploy it and test against it? Since, we are developing and testing against real deploment of ACS 4.9.2.

These are the steps I followed on mac

git checkout master
mvn clean install -Pdeveloper,systemvm -Dsimulator -DskipTests=true
mvn  -Pdeveloper -pl developer -Ddeploydb
mvn  -Pdeveloper -pl developer -Ddeploydb-simulator
mvn -pl client jetty:run -Dsimulator
docker pull bwsw/cloudstack-ui
docker run -d -p 80:80 --name cloudstack-ui -e API_BACKEND_URL=http://localhost:8096/client/api bwsw/cloudstack-ui

@karuturi cool, we the code test against it.
@wowshakhov take a look.

@karuturi
Try to specify API_BACKEND_URL to host ip, not to localhost, I suppose it may be the problem the bootstrap code inside the docker doesn't see localhost.

yes. thats the issue. thank you. It obviously cant see localhost. I feel stupid now -_-

Can I suggest for a better error message when it cant reach the cloudstack endpoint?

@karuturi
Probably, such improvement is good and meaningful)
also, don't add /client/api to ip (i suppose it's a buggy way, and request to change it). So, basically we put in a backlog two things based on your issue:

better diagnosis during container bootstrap
remove automatic "/client/api" addition by the bootstrap code.

superb. thanks.

Moved to #101. The issue is closed.


APT source whitelist request for Elasticsearch 1.6

This replaces travis-ci/travis-ci#4265.
The original text by @saveriomiroddi follows

This repository contains the Elasticsearch v1.6 Debian repository, which is compatible with Ubuntu [verified on Trusty].
Deb source line: deb http://packages.elastic.co/elasticsearch/1.6/debian stable main
Key: https://packages.elastic.co/GPG-KEY-elasticsearch

+1

ES 1.7.1 is released already: https://www.elastic.co/blog/elasticsearch-1-7-1-and-1-6-2-released. Tested, works with Ubuntu.

I've added elasticsearch-1.6 and elasticsearch-1.7.
addons:
  apt:
    sources:
      - elasticsearch-1.7
    packages:
      - elasticsearch

Closing this now.


Documentation For Transactions With Multiple Signers

Issue To Be Solved
I've spent a lot of time trying to find some guidance on how to sign transactions that require multiple signers using the CLI. There are also many people requesting this in the Flow Discord. The closest thing I can find to an example is in this external repository which provides the following example:
flow transactions build ./cadence/transactions/add_minter.cdc --arg "String:TEST_TOKEN_1" --authorizer deployer --authorizer minter --proposer deployer --payer minter -n testnet --filter payload --save built.rlp
flow transactions sign ./built.rlp --signer deployer -n testnet --filter payload --save signed.rlp
flow transactions sign ./signed.rlp --signer deployer -n testnet --filter payload --save signed.rlp
flow transactions sign ./signed.rlp --signer minter -n testnet --filter payload --save signed.rlp
flow transactions send-signed ./signed.rlp -n testnet

However, this seems strange because we are signing the transaction twice with the same account. After playing around with the CLI, I believe that this is because there is some sort of loss of information when repeatedly signing this way. I.e. earlier signatures seem to be lost after re-signing the payload later on. However, this is just from some experimental testing, I'm not sure.
In any event, it seems unclear how to do this, andI've been unsuccessful using a similar approach to that above.
(Optional): Suggest A Solution
Some documentation on signing transactions with multiple signers would be great! Either within the existing docs, or as a separate example.

@samwise2 thank you for reporting this, we will revisit the docs and make sure there are more examples on how to do building/signing of transactions. Meanwhile, if you want assistance with your case ping me on discord, I have the same handle as here


Allow attaching a path

It's common that users pass a file path (usually for a png or jpg file) as the first argument to the attach method. This leads to attachments that cannot displayed. One of the reasons users attach paths is that tools like Capybara's save_screenshot method returns a path instead of image data. Many users don't realise they have to IO.read the path before passing it to attach.
I think the attach method should behave as follows:
If the argument is a string, and the file exists, read the file and attach that.
Use a file extension to media type lookup to determine the media type. If a media type was specified, throw an error if the specified media type is different from the inferred one.

@mpkorstanje @davidjgoss @vincent-psarga @charlierudolph what do you think about doing the same for Cucumber.js and Cucumber-JVM?

No objections in principle.
What would the protobuf look like?

If the argument is a string, and the file exists, read the file and attach that.

For java and other typed languages we can use File/Path.

Use a file extension to media type lookup to determine the media type. If a media type was specified, throw an error if the specified media type is different from the inferred one.

I would imagine that if the user provides the media type we don't second guess that - imagine application/json vs text/json. If none is provided we might guess, but that seems like a separate feature.

Perhaps we can also make the question clear in the API.
Currently the method name is attach. Perhaps a more verbose set of names could make it clear that there is a question about what might be attached by having an api that say attachFile, attachStream, attachBytes, ect.

What would the protobuf look like?

I don't anticipate any protobuf changes to implement this. This is just about changing the logic that constructs the Attachment protobuf message.

Perhaps we can also make the question clear in the API.

I think it's more idiomatic in Ruby to have a single polymorphic method that accepts different types for the same argument. I don't see any problems doing the same with Java, where polymorphism is verified by the compiler. Same for TypeScript.

Anecdotally I don't think this is much of a problem for cucumber-js - for screenshots, webdriver gives you a base64 string, puppeteer gives you a buffer - but I don't see an issue with adding this in the way you describe.

After studying the code base, one quick question: do we update formatter/message_builder in order to fix all formatter which rely on it? Or do we go one step further and update runtime/user_interface to open a potentially given path?
At the moment, the former json formatter is the only one opening a given path.
Updating message_builder would fix formatters which rely on it like the html formatter.
Updating user_interface would update all existing and incoming formatter without having to even think about that specific case.
Also, I may have missed something, so feel free to correct me / drive me to another path if needed :D
What do you think everyone?


Adds create_cluster script to generate OCM clusters

This commit adds a Python script to create clusters easily, generating
cluster names and using the latest version available in OCM, or allowing
the user to specify a name and cluster version.
This allows for creating custom or generic clusters with random names
containing the user's OCM id for easy identification.  Cluster can be
created easily with 0 arguments if desired.
Signed-off-by: Christopher Collins<EMAIL_ADDRESS>

I like it soo much and want to merge (bit I need to test first)
What do you think about a ocm-plugin that will look like:
ocm generate cluster

I like it soo much and want to merge (bit I need to test first)
What do you think about a ocm-plugin that will look like:
ocm generate cluster

@georgettica I'm not opposed to an ocm plugin, but that's a bit outside my wheelhouse at the moment.  I can certainly look into it, though!  Maybe, if cool, we could put this in for now to close the gap and I'll figure out how to make a plugin out of it?
Either way, though.  Thanks!

@georgettica I'm not opposed to an ocm plugin, but that's a bit outside my wheelhouse at the moment.  I can certainly look into it, though!  Maybe, if cool, we could put this in for now to close the gap and I'll figure out how to make a plugin out of it?
Either way, though.  Thanks!

I guess it's gonna be merged tomorrow, as I will look and see how it goes :)

I guess it's gonna be merged tomorrow, as I will look and see how it goes :)

An ocm plugin should be simple to implement.
All we need to do is move the create-cluster.sh script to the container's $PATH and rename it to be of the format ocm-*,
Therefore, this script would need to renamed to ocm-generate and it would have to support cluster as command line arg.
You can read about it hear https://github.com/openshift-online/ocm-cli#extend-ocm-with-plugins
You can verify if ocm recognises it as a plugin by running: ocm plugin list

An ocm plugin should be simple to implement.
All we need to do is move the create-cluster.sh script to the container's $PATH and rename it to be of the format ocm-*,
Therefore, this script would need to renamed to ocm-generate and it would have to support cluster as command line arg.
You can read about it hear https://github.com/openshift-online/ocm-cli#extend-ocm-with-plugins
You can verify if ocm recognises it as a plugin by running: ocm plugin list

But yeah, can be a separate PR  :)

But yeah, can be a separate PR  :)

Looks good to me.  Tested and working.  /lgtm

Looks good to me.  Tested and working.  /lgtm

/lgtm
because I forgot it needs its own line.

/lgtm
because I forgot it needs its own line.

merging as it's tested and no bot for merging :)

merging as it's tested and no bot for merging :)


fix: 3899 - back to the main photo page after cropping from gallery

What

UX improvement

we select "choose an existing image"
then we go to the uploaded images gallery
we select an image, we crop it, we send it to the server
and then, we used to go back to the previous page: the uploaded images gallery
which is not optimal, as now we don't care anymore about the uploaded images gallery: with this PR we go back an extra page

Fixes bug(s)

Fixes: #3899

Files

app_cs.arb: unrelated warning fix
app_pl.arb: unrelated warning fix
app_pt.arb: unrelated warning fix
app_ro.arb: unrelated warning fix
crop_page.dart: unrelated fix - the new CropImage we use does already dispose the controller
uploaded_image_gallery.dart: when a file was returned from the crop page, we go back to the previous page

Codecov Report

Merging #3938 (bb671fd) into develop (fb164cb) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop    #3938   +/-   ##
========================================
  Coverage    11.01%   11.01%
========================================
  Files          264      264
  Lines        13033    13031    -2
========================================
  Hits          1435     1435
+ Misses       11598    11596    -2

Impacted Files
Coverage Δ

packages/smooth_app/lib/pages/crop_page.dart
0.00% <ø> (ø)

...th_app/lib/pages/image/uploaded_image_gallery.dart
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


not getting good clarity of screen

[ ] I have read the FAQ.
[ ] I have searched in existing issues.

Environment

OS: [e.g. Debian, Windows, macOS...]
scrcpy version: [e.g. 1.12.1]
installation method: [e.g. manual build, apt, snap, brew, Windows release...]
device model:
Android version: [e.g. 10]

Describe the bug
A clear and concise description of what the bug is.
On errors, please provide the output of the console (and adb logcat if relevant).
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#the-quality-is-low

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#the-quality-is-low


Document configuration

https://github.com/TheTorProject/ooni-backend/issues/72
(Made this with Github's editor, which autogens the medium-helpful "Update README.rst" commit message.)

Coverage remained the same at 60.753% when pulling 7e925c3754c1a59939312e1dd7d78c8021734a3b on document-configuration-1 into 9437610ec476c2c20150a905fbeac7e01908c8b7 on master.

Added one more commit removing the old-style tor_hidden_service config option from the example config file.

Coverage remained the same at 60.753% when pulling d1c9e3a4d6dbcbb172c766f0d498f4c4717019ba on document-configuration-1 into 9437610ec476c2c20150a905fbeac7e01908c8b7 on master.

This looks good. Thanks!


Infinite session prolongation for TLS 1.3

@mdounin from NGINX has drawn my attention to
<EMAIL_ADDRESS>TL;DR
"On the other hand, as implemented for TLSv1.3 at least in OpenSSL
... every ticket sent to the client
actually creates a new session with updated expiration time. As
such, it is possible to create a session authenticated with a client
certificate, and use this session indefinitely, even after the
certificate will expire and/or will be revoked.
This seems to be a security issue in OpenSSL."
The behavior in the TLS 1.2 case is different.
BoringSSL has a different behavior introduced by
https://boringssl.googlesource.com/boringssl/+/17b30833737b32ecab1f12c105e1b5cae6d49458^!/
The issue was discussed by the OTC, and not accepted as a security vulnerability. But it still looks like not covered by the TLS 1.3 specification.
Looks reasonable that application should have a suitable API for terminating such everlasting sessions. Also there can be possible concerns when the session is bound to a client cert revoked after the session establishment.

Note that there is existing API to limit session lifetime, SSL_CTX_set_timeout(). Current OpenSSL (and BoringSSL) behaviour with TLSv1.3 clearly violates guarantees provided by this API.
In nginx 1.23.2, we worked this around by manually updating session timeout and session creation time (and invalidating session going to expire) in the info callback (http://hg.nginx.org/nginx/rev/496241338da5), so the timeout configured is actually respected. It would be great to see this actually fixed in OpenSSL, so we'll be able to remove the workaround at some point in the future.

It is not that clear. The SSL_CTX_set_timeout() talks about new sessions. The newly issued tickets in 1.3 could be seen as new sessions in some interpretation.

Well, "in some interpretation" every session can be seen as a new one.
Formally speaking, based solely on the SSL_CTX_set_timeout() documentation, this is still very simple though: since changes to the timeout value by SSL_CTX_set_timeout() do not affect these sessions, these are already established sessions, not new ones.
Speaking practically, new sessions are required to re-verify client certificates used, as well as to re-apply various settings from SSL_CTX. Failure to do so immediately results in security issues, such as the one with client certificates being valid forever. Additional potential issues include ciphers being used long after they were disabled in the configuration, and so on. While at least some of these issues probably can be addressed on a case-by-case basis while still "seeing tickets as new sessions", I very much doubt this can be a safe and complete solution even not taking client certificates into account.
Further, I would like to add that current OpenSSL approach when each new TLSv1.3 ticket essentially creates a new SSL_SESSION structure is very inefficient when sessions are stored on the server in a session cache (that is, when using SSL_OP_NO_TICKET and therefore using session ids with TLSv1.2 and stateful tickets with TLSv1.3; a configuration seen in practice due to forward secrecy concerns). It might be a good idea to abandon the whole concept of creating additional SSL_SESSION structures for TLSv1.3 tickets.

Good points. I agree we should address this deficiency in one way or another.

When creating the new SSL_SESSION objects from sessions that were already resumed we could cap the maximum lifetime of the new object by the lifetime of the resumed session object, couldn't we?


Validate YAML using schema

Addressing a Problem?
Help identify errors in YAML indicator definition by validating config against schema.
Potential Solution
No response
Additional context
No response
Contribution

[ ] I would be willing/able to open a Pull Request to contribute this feature.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

This is also a recommendation made in LFD121.


Fix brew pull with git commit.gpgsign enabled

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew tests with your changes locally?

Because of environment filtering, git tries to sign the commit but can't find gpg, which means that the patch won't be applied.

@alyssais Thanks again!