Execution failed for task ':flutter_libserialport:buildCMakeDebug[arm64-v8a]'.

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':flutter_libserialport:buildCMakeDebug[arm64-v8a]'.

com.android.ide.common.process.ProcessException: ninja: Entering directory `C:\Users\SHERAZ\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_libserialport-0.3.0\android.cxx\Debug\r1i3y4w6\arm64-v8a'
[1/5] Building C object CMakeFiles/serialport.dir/afa35b95405eb662a66b79b7fc88ba64/third_party/libserialport/linux_termios.c.o
FAILED: CMakeFiles/serialport.dir/afa35b95405eb662a66b79b7fc88ba64/third_party/libserialport/linux_termios.c.o
C:\Users\SHERAZ\AppData\Local\Android\Sdk\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=aarch64-none-linux-android21 --gcc-toolchain=C:/Users/SHERAZ/AppData/Local/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/SHERAZ/AppData/Local/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/sysroot -DLIBSERIALPORT_ATBUILD -Dserialport_EXPORTS -IC:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/libserialport -IC:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/libserialport/../../third_party/libserialport -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -fno-limit-debug-info  -fPIC -std=c99 -Wall -Wextra -pedantic -Wmissing-prototypes -Wshadow -MD -MT CMakeFiles/serialport.dir/afa35b95405eb662a66b79b7fc88ba64/third_party/libserialport/linux_termios.c.o -MF CMakeFiles\serialport.dir\afa35b95405eb662a66b79b7fc88ba64\third_party\libserialport\linux_termios.c.o.d -o CMakeFiles/serialport.dir/afa35b95405eb662a66b79b7fc88ba64/third_party/libserialport/linux_termios.c.o -c C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:98:9: error: invalid application of 'sizeof' to an incomplete type 'struct termiox'
return sizeof(struct termiox);
^     ~~~~~~~~~~~~~~~~
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:98:23: note: forward declaration of 'struct termiox'
return sizeof(struct termiox);
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:106:15: error: incomplete definition of type 'struct termiox'
*rts = (termx->x_cflag & RTSXOFF);
~~~~~^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:103:9: note: forward declaration of 'struct termiox'
struct termiox *termx = (struct termiox *) data;
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:106:27: error: use of undeclared identifier 'RTSXOFF'
*rts = (termx->x_cflag & RTSXOFF);
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:107:15: error: incomplete definition of type 'struct termiox'
*cts = (termx->x_cflag & CTSXON);
~~~~~^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:103:9: note: forward declaration of 'struct termiox'
struct termiox *termx = (struct termiox *) data;
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:107:27: error: use of undeclared identifier 'CTSXON'
*cts = (termx->x_cflag & CTSXON);
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:108:15: error: incomplete definition of type 'struct termiox'
*dtr = (termx->x_cflag & DTRXOFF);
~~~~~^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:103:9: note: forward declaration of 'struct termiox'
struct termiox *termx = (struct termiox *) data;
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:108:27: error: use of undeclared identifier 'DTRXOFF'
*dtr = (termx->x_cflag & DTRXOFF);
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:109:15: error: incomplete definition of type 'struct termiox'
*dsr = (termx->x_cflag & DSRXON);
~~~~~^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:103:9: note: forward declaration of 'struct termiox'
struct termiox *termx = (struct termiox *) data;
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:109:27: error: use of undeclared identifier 'DSRXON'
*dsr = (termx->x_cflag & DSRXON);
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:118:7: error: incomplete definition of type 'struct termiox'
termx->x_cflag &= ~(RTSXOFF | CTSXON | DTRXOFF | DSRXON);
~~~~~^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:116:9: note: forward declaration of 'struct termiox'
struct termiox *termx = (struct termiox *) data;
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:118:22: error: use of undeclared identifier 'RTSXOFF'
termx->x_cflag &= ~(RTSXOFF | CTSXON | DTRXOFF | DSRXON);
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:118:32: error: use of undeclared identifier 'CTSXON'
termx->x_cflag &= ~(RTSXOFF | CTSXON | DTRXOFF | DSRXON);
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:118:41: error: use of undeclared identifier 'DTRXOFF'
termx->x_cflag &= ~(RTSXOFF | CTSXON | DTRXOFF | DSRXON);
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:118:51: error: use of undeclared identifier 'DSRXON'
termx->x_cflag &= ~(RTSXOFF | CTSXON | DTRXOFF | DSRXON);
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:121:8: error: incomplete definition of type 'struct termiox'
termx->x_cflag |= RTSXOFF;
~~~~~^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:116:9: note: forward declaration of 'struct termiox'
struct termiox *termx = (struct termiox *) data;
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:121:21: error: use of undeclared identifier 'RTSXOFF'
termx->x_cflag |= RTSXOFF;
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:123:8: error: incomplete definition of type 'struct termiox'
termx->x_cflag |= CTSXON;
~~~~~^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:116:9: note: forward declaration of 'struct termiox'
struct termiox *termx = (struct termiox *) data;
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:123:21: error: use of undeclared identifier 'CTSXON'
termx->x_cflag |= CTSXON;
^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:125:8: error: incomplete definition of type 'struct termiox'
termx->x_cflag |= DTRXOFF;
~~~~~^
C:/Users/SHERAZ/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:116:9: note: forward declaration of 'struct termiox'
struct termiox *termx = (struct termiox *) data;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2/5] Building C object CMakeFiles/serialport.dir/e63de0ff05a26f9f0194e98a55097f85/flutter_libserialport-0.3.0/third_party/libserialport/linux.c.o
[3/5] Building C object CMakeFiles/serialport.dir/e63de0ff05a26f9f0194e98a55097f85/flutter_libserialport-0.3.0/third_party/libserialport/serialport.c.o
ninja: build stopped: subcommand failed.

C++ build system [build] failed while executing:
@echo off
"C:\Users\SHERAZ\AppData\Local\Android\sdk\cmake\3.18.1\bin\ninja.exe" ^
-C ^
"C:\Users\SHERAZ\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_libserialport-0.3.0\android\.cxx\Debug\r1i3y4w6\arm64-v8a" ^
serialport
from C:\Users\SHERAZ\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_libserialport-0.3.0\android

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 3m 28s
Exception: Gradle task assembleDebug failed with exit code 1
Getting this error after adding this package in my pubspec.yaml and running the project.

I am also having this issue.

This is a common problem
please fix it

Hi, I got this on Zorin OS, not on windows:
Launching lib/main.dart on sdk gphone x86 64 in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_libserialport:buildCMakeDebug[arm64-v8a]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `/home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/.cxx/Debug/h6o356w5/arm64-v8a'
  [1/2] Building C object CMakeFiles/serialport.dir/home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c.o
  FAILED: CMakeFiles/serialport.dir/home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c.o
  /home/sandor/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --gcc-toolchain=/home/sandor/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64 --sysroot=/home/sandor/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DLIBSERIALPORT_ATBUILD -Dserialport_EXPORTS -I/home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/libserialport -I/home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/libserialport/../../third_party/libserialport -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -fno-limit-debug-info  -fPIC -std=c99 -Wall -Wextra -pedantic -Wmissing-prototypes -Wshadow -MD -MT CMakeFiles/serialport.dir/home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c.o -MF CMakeFiles/serialport.dir/home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c.o.d -o CMakeFiles/serialport.dir/home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c.o -c /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:98:9: error: invalid application of 'sizeof' to an incomplete type 'struct termiox'
          return sizeof(struct termiox);
                 ^     ~~~~~~~~~~~~~~~~
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:98:23: note: forward declaration of 'struct termiox'
          return sizeof(struct termiox);
                               ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:106:15: error: incomplete definition of type 'struct termiox'
          *rts = (termx->x_cflag & RTSXOFF);
                  ~~~~~^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:103:9: note: forward declaration of 'struct termiox'
          struct termiox *termx = (struct termiox *) data;
                 ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:106:27: error: use of undeclared identifier 'RTSXOFF'
          *rts = (termx->x_cflag & RTSXOFF);
                                   ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:107:15: error: incomplete definition of type 'struct termiox'
          *cts = (termx->x_cflag & CTSXON);
                  ~~~~~^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:103:9: note: forward declaration of 'struct termiox'
          struct termiox *termx = (struct termiox *) data;
                 ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:107:27: error: use of undeclared identifier 'CTSXON'
          *cts = (termx->x_cflag & CTSXON);
                                   ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:108:15: error: incomplete definition of type 'struct termiox'
          *dtr = (termx->x_cflag & DTRXOFF);
                  ~~~~~^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:103:9: note: forward declaration of 'struct termiox'
          struct termiox *termx = (struct termiox *) data;
                 ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:108:27: error: use of undeclared identifier 'DTRXOFF'
          *dtr = (termx->x_cflag & DTRXOFF);
                                   ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:109:15: error: incomplete definition of type 'struct termiox'
          *dsr = (termx->x_cflag & DSRXON);
                  ~~~~~^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:103:9: note: forward declaration of 'struct termiox'
          struct termiox *termx = (struct termiox *) data;
                 ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:109:27: error: use of undeclared identifier 'DSRXON'
          *dsr = (termx->x_cflag & DSRXON);
                                   ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:118:7: error: incomplete definition of type 'struct termiox'
          termx->x_cflag &= ~(RTSXOFF | CTSXON | DTRXOFF | DSRXON);
          ~~~~~^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:116:9: note: forward declaration of 'struct termiox'
          struct termiox *termx = (struct termiox *) data;
                 ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:118:22: error: use of undeclared identifier 'RTSXOFF'
          termx->x_cflag &= ~(RTSXOFF | CTSXON | DTRXOFF | DSRXON);
                              ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:118:32: error: use of undeclared identifier 'CTSXON'
          termx->x_cflag &= ~(RTSXOFF | CTSXON | DTRXOFF | DSRXON);
                                        ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:118:41: error: use of undeclared identifier 'DTRXOFF'
          termx->x_cflag &= ~(RTSXOFF | CTSXON | DTRXOFF | DSRXON);
                                                 ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:118:51: error: use of undeclared identifier 'DSRXON'
          termx->x_cflag &= ~(RTSXOFF | CTSXON | DTRXOFF | DSRXON);
                                                           ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:121:8: error: incomplete definition of type 'struct termiox'
                  termx->x_cflag |= RTSXOFF;
                  ~~~~~^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:116:9: note: forward declaration of 'struct termiox'
          struct termiox *termx = (struct termiox *) data;
                 ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:121:21: error: use of undeclared identifier 'RTSXOFF'
                  termx->x_cflag |= RTSXOFF;
                                    ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:123:8: error: incomplete definition of type 'struct termiox'
                  termx->x_cflag |= CTSXON;
                  ~~~~~^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:116:9: note: forward declaration of 'struct termiox'
          struct termiox *termx = (struct termiox *) data;
                 ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:123:21: error: use of undeclared identifier 'CTSXON'
                  termx->x_cflag |= CTSXON;
                                    ^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:125:8: error: incomplete definition of type 'struct termiox'
                  termx->x_cflag |= DTRXOFF;
                  ~~~~~^
  /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/third_party/libserialport/linux_termios.c:116:9: note: forward declaration of 'struct termiox'
          struct termiox *termx = (struct termiox *) data;
                 ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  ninja: build stopped: subcommand failed.

  C++ build system [build] failed while executing:
      /home/sandor/Android/Sdk/cmake/3.18.1/bin/ninja \
        -C \
        /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/.cxx/Debug/h6o356w5/arm64-v8a \
        serialport
    from /home/sandor/.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/android

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 19s
Exception: Gradle task assembleDebug failed with exit code 1

I was working with Modbus serial communication and was using modbus_client_serial, this package is dependent on flutter_libserialport.
I was running my application on emulator/real android device and was facing this issue, then I installed Microsoft visual studio and install C++ desktop development then I ran my application on windows and the error was gone.
I don't know how it got solved but what I thought was serial communication is not possible with phone as I was unable to find any android application, in the mean time my windows software was doing well with serial so I tried this approach and it worked.
correct me if serial communication is possible with flutter android application.

@SherazAsghar37  There are several flutter packages which are saying that they are able to do it, but they say only on android. This one says that this is able to handle on Android, Linux, Windows. BTW on Linux you need to give permission because the serial communication is a security question, so you have to give the permission to the app if you want to run it.

@SherazAsghar37 Tried what you said, in VS code on Windows, an it not able to sand anything with serial...

@gabboraron I've tried a lot with my windows technique but also unable to exchange any data. I was working with virtual com port and was trying to do Modbus serial communication and at the end I shut It down.
Secondly this package claims about android but I think there are some errors with the package's android functionality.

I've tried several Packages but didn't found the appropriate one yet

same here

i got the same error on MacOs, anyone know the alternative package for flutter serial?

I am facing this issue. Please resolve this

/Users//.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/libserialport/config.h modifies this file on line 57 to #undef HAVE_STRUCT_TERMIOX

/Users//.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/libserialport/config.h modifies this file on line 57 to #undef HAVE_STRUCT_TERMIOX

Awesome!!! it worked. Thanks a lot.

/Users//.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/libserialport/config.h modifies this file on line 57 to #undef HAVE_STRUCT_TERMIOX

Can't find this file on mac, any tip?

/Users//.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/libserialport/config.h modifica este arquivo na linha 57 para #undef HAVE_STRUCT_TERMIOX

Não consigo encontrar este arquivo no mac, alguma dica?

Users//..... faz uma buscar pelo finder

/Users//.pub-cache/hosted/pub.dev/flutter_libserialport-0.3.0/android/libserialport/config.h modifica este arquivo na linha 57 para #undef HAVE_STRUCT_TERMIOX

Não consigo encontrar este arquivo no mac, alguma dica?

Users/nomedoseuusuario/..... faz uma buscar pelo finder
https://support.apple.com/pt-br/guide/mac-help/mchlp1236/mac

Por alguma razão a busca do finder não estava encontrando o arquivo, segui o caminho pelo terminal e consegui fazer a alteração, obrigado.


Add typescript to the generator interface list

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets

License
MIT

Doc PR

Simple PR to add the typescript generator to the list of the available generators in the CLI help string.

@dunglas @Fabious I've noticed that typescript was missing from the generator list in the CLI help string, so here it is

Good catch, thanks!


Example fails to build on Ubuntu 18.04 due to missing dependencies

Hello everyone!
After upgrading to v8.0.1, the caster example (src/example/caster) fails to build on Ubuntu 18.04 LTS.
This is because libcast.so requires libmysqlclient.so.21 and some other dependencies, that it did not require previously.
The build fails with a linker error:
/usr/bin/ld: warning: libmysqlclient.so.21, needed by ../../../vendor/clarius/lib/libcast.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libodbc.so.2, needed by ../../../vendor/clarius/lib/libcast.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpq.so.5, needed by ../../../vendor/clarius/lib/libcast.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libsybdb.so.5, needed by ../../../vendor/clarius/lib/libcast.so, not found (try using -rpath or -rpath-link)

The mysql shared library is provided by this package which is only available on Ubuntu 20.04.
I am curious why this dependency is required now. Was this done intentionally?
The mysql requirement is not documented anywhere.
I also noticed that the binary size of libcast.so increased from ~90MB to ~210MB.
Our entire dev team is using Ubuntu 18.04 at the moment, it would be very helpful if upgrading was not required.
Thanks in advance!

We've updated the Mobile API release packages to include the APK files as well, should you want to stick to a previous release.
For dependencies, we use Qt, and often upgrades bring many new items from those libraries in. we also like to stick to the latest LTS for builders, hence 20.04.

Hi @clariusk
I am also very concerned with this new development. libcast.so has 132 dependencies! This is extreme (I have actually never seen a library with that many dependencies before) and makes it very difficult to use in a professional software development, and is a license nightmare. We are also mainly still using 18.04 LTS. Changing main OS every second year can be quite counterproductive.
In short, this makes it difficult for us to use this library on Ubuntu, and I doubt I will be able to use clarius cast with FAST on Ubuntu after this. While the previous version was working perfectly with 18.04 and with only 37 dependencies.
Thus I really hope you will reconsider this and go through your dependencies and reduce it considerably.
For example, do you really need both mysql and sqlite3, they serve the same purpose; providing an SQL database. Do you really need all those sound codecs.. FLAC, ogg, vorbis, pulse .... Do you really need all those image compression formats: jpeg, jbig, lzma, zlib, png. Do you really need both GL and GL ES? I can't possibly think of a reason why. And then there is the 80+ other dependencies which I don't even recognize.
An alternative might be to create a "light" version of your libcast.so, which provides the same functionality as the previous version and thus with a reduced dependency list.
Regards,
Erik

Hi Erik, sorry for the late answer. Agreed the large size of the library is an issue and we will look into reducing it. Thanks for reporting--Julien

binaries should be smaller now in 8.6.0, we still have our build system installed with Ubuntu 20.04

Thank you for reducing the binary size


Adding reference to performance tests.

This will fix #77

higer is better

Are you sure?

Yeah, I wrote it myself.
I used the slowest implementation as "base". Then I looked how many times faster the others were.
However, Im not sure that this is the best way of showing performance. Do you have any other suggestion?

Looking at https://github.com/Nyholm/http-client-benchmark#result I see that Zend is slowest and this lib is the fastest. This pr means that Zend is fastest and lib is the slowest

This pr means that Zend is fastest and lib is the slowest

No. The table in this PR say that in the time Zend runs once (1x), Nyholm runs more than one and a half times (1.69x). When Zend has ran twice (2*1 = 2x), Nyholm has already ran thrice (2*1.69 = 3.38x).
The numbers aren’t saying how long it took, but how many more executions have happened in the same time.
Hope that clears it up for you!


pull request for e2e test at 12/27/2016 06:56:15

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add support for hardknott and upgrade to 7.13.2

@zboszor thanks for the PR Zoltan! I can't test for the time being, but it looks OK.
Regards,
Dimitris


[CMT-595-904] Greek

Description

Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context.

This pull request ...
Fixed issue

Please indicate the fixed issues with this exact format Fixes #232 where 232 is the number of the issue. This will trigger an auto-close if the issue when this PR is merged.
Supported keywords:
Fixes #1,#2,#3
close #1, #2, #3
fix #1 #2 #3
resolve #1,#2 #3
Resolves: #1,#2,#3
closed : #1, #2, #3

Fixes #(issue)
Type of change

Please delete options that are not relevant and check the box.

[ ] Add a new article/page
[ ] Fix a Typo
[ ] Add a new translation
[ ] Other

Resources

Any screenshots, links or relevant resources to explain better the changes.

Changes merged in main branch, so safe to close! @qosmonot


chore: add requirements.txt and review DEV_NOTES.md

will open a new PR, this one serve the purpose of discussing the project etc.


[13.0] Various CVEs

https://issues.redhat.com/browse/ISPN-15092
https://issues.redhat.com/browse/ISPN-15234

Thanks @tristantarrant


python3Packages.sagemaker: 2.31.0 -> 2.32.0

Motivation for this change
Update
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 117936 at 99c0c388 run on aarch64-linux 1

2 packages built successfully:

python38Packages.sagemaker
python39Packages.sagemaker


Ask for permission before overwriting an existing zathurarc file

Users might already have a zathurarc in place and losing it could be unfortunate. It would be nice if the program asked for permission before overwriting an existing file or could even refuse to do this.
Thanks.

Thank you for your suggestion! One way to implement this could be to provide a flag, say -f/--force, that defaults to false (thereby asking the user for confirmation). Something along the lines of
zathuraconf config.json  <--- prompts for permission

zathuraconf -f config.json <--- force the overwrite, don't ask

I will work on it these days and prepare a pull request, then we can test if this is the behaviour we want.

I have drafted https://github.com/gennaro-tedesco/zathuraconf/pull/4. It should behave like shown below

basically passing the -f forces overwrite, otherwise the user is prompted for explicit confirmation. Is this something along the lines of what you are imagining?

I have release a new version.
Go get it to fetch the latest version :)


Send EnableRbac=true on cluster create, add logs

https://github.com/rancher/rancher/issues/15230

LGTM

LGTM


Replace Copay v2.7.0 with BitPay Latest

Continued from https://github.com/caskroom/homebrew-cask/pull/28403

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked that the cask was not already refused in closed issues.

I've opened a new PR as requested by @vitorgalvao.
As of right now, Version and SHA256 are
  version '1.2.1'
  sha256 '4a2e400560e1e1d00fe7e6e9a8709d85fcc78d8ae1ef186905150220d730438d'

but I left them as :latest and :no_check because I thought they'd be likely to change whilst the URL stays the same?

I thought they'd be likely to change whilst the URL stays the same?

As I mentioned in the other PR, that is irrelevant. Seeing as this has an appcast, it needs a version. Please add it.

OK I just overwrote this PR/commit with --force to reflect the change requested.
Do there need to be any cleanup methods or instructions for users who already have Copay.app installed?


swapped out response data for successful login to be a user repository object

This addresses the issue in #6
I apologize if there are any errors in my code formatting.  Obviously, feel free to correct any issues or incorrect naming conventions I may have introduced.

Don't worry about code formatting, I need to set up linting/running of tests via continuous integration, which is the next step for me.
When it gets to the stage where i'm introducing this, I'll add a PHP linter to format the code properly according to some standard.


REST Server: Fix admin permission, Closes #2172

Will cherry-pick to master / pai-0.9.y

Coverage decreased (-5.5%) to 52.617% when pulling 25fdb6d811ac317509684cc16665a85f09c69479 on qixcheng/rest-server/fix-admin-permission into ee6945b0b78b16a05d1c1fab182534e27f466a99 on pai-0.10.y.

Coverage decreased (-5.5%) to 52.617% when pulling 25fdb6d811ac317509684cc16665a85f09c69479 on qixcheng/rest-server/fix-admin-permission into ee6945b0b78b16a05d1c1fab182534e27f466a99 on pai-0.10.y.


Allow vertex and index buffers

Different render functions may need to either use a buffer as an index or vertex buffer, while others use storage buffers. This PR makes that both such objects can use the same buffer objects (and thus use the same geometry).
This should fix an issue in #309, but I have not tested it :D

This should fix an issue in #309, but I have not tested it :D

I tested it，It works! :)


Add get_id_from_username() method

Please, add a method that allows getting the ID from a username. Otherwise, we would manually search and convert those usernames to IDs. Thanks.

Hi, @reddere. You can use user_by_login method and get id from User object. Do this cover what you need?
user = await api.user_by_login("twitter")
print(user.id, user.id_str)

thanks @vladkens ! What about gather(api.user_tweets(tweeter_id, limit=1)) not returning 1 result? I am actually getting way more than one result. What is this due to?

This is because twitter api return data in batches, like 20 tweets per request. Limit param stop iteration when total count of received tweets more that limit. So like limit=21, on first call we receive 20 tweets -> do next call -> +20 tweets (40 total received). Currently twscrape return all of this tweets. Maybe for not _raw methods need to filter count in code, and stop iteration. But not sure about this, more data is not less data.

Good catch. Need to update parser to support long messages.

Sure! So what is the limit referring to? The number of batches?
Great. If you need any help to implement that, let me know!
Also, is the translate button translation in the works? Translating with a normal translating library makes the translation so bad

Hi, @reddere.

Limit is number of objects (tweets or users depend of methods used). But now limit can return more objects, if api returns more object. Limit tries to return NOT LESS object than requested. I will think to add some flag how to manage this behaviour, in case if you need exact N objects.
Implemented in latest release, upgrade please: pip install --upgrade twscrape
Nope, this feature is not implemented. I know that twitter have some api for this. If you need this, create new issue please.

Great @vladkens !

All right! To me, if returning an exact N of object will not change the amount of limited request I can make, then it still works fine to me as it is right now.
Updated and thanks!
Sure, doing this shortly.

Hi. Limit fixed in v0.6.0. To update use: pip install --upgrade twscrape
Thank you for issues

Thanks! So now, what would we need to do to keep it as it was? If setting the limit won't change my api limit, it would be more convenient to get the whole batches of tweets

Also, feedback on 0.6.0: I had to downgrade to 0.5.0 as I wouldn't check the mail when logging in, for many logins I dont want to check the mail.
I would also add a way to keep the original functionality of api.user_tweets(), keeping the original full batches

@reddere please create new tickets if you have questions.
login and batches restored in v0.7.0


Update site distro and also build with jdk 22

coverage: 93.333%. remained the same
when pulling 256fbb75d5afe48c70c09109fa7ff9c3f85cbfbb on hazendaz:master
into 674ce8c0b63858b1bdd2e9ec449bd867ab756972 on mybatis:master.


macOS font issue

In Brave (Chrome based) and Safari so i guess its macOS related

Can you confirm this is also happening on https://fonts.google.com/specimen/Recursive?selection.family=Recursive#standard-styles ?

Can you confirm this is also happening on https://fonts.google.com/specimen/Recursive?selection.family=Recursive#standard-styles ?

Nop, there everything looks fine

Windows 10, Firefox

Finally resolved in #256


gulp build

Use gulp build, I can't find the dist folder.
You should add the return in clean task.

Thanks!
Good catch.


close the ipv4 channel when the ipv6 bind fails

Codecov Report

Merging #39 into master will decrease coverage by 0.42%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
- Coverage   74.06%   73.63%   -0.43%
==========================================
  Files          20       20
  Lines         960      971      +11
==========================================
+ Hits          711      715       +4
- Misses        249      256       +7

Flag
Coverage Δ

#KituraNIO
73.63% <66.66%> (-0.43%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/KituraNIO/HTTP/HTTPServer.swift
77.95% <66.66%> (-0.28%)
:arrow_down:

Sources/KituraNIO/ClientRequest.swift
69.15% <0%> (-1.18%)
:arrow_down:

Continue to review full report at Codecov.

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


OCPBUGS-2219: Empty string should be valid for i18n loadType

/assign @JoelSpeed

/jira refresh

We are making these changes for two reasons, one is to improve discoverability, secondly because of complications in the way the conversion webhooks are built.
It was found that the conversion webhook was initializing the loadType field as an empty string, this was then stored and became an invalid object (ie not passing the validation). This meant the garbage collector couldn't remove the object.
By adding the empty string as a valid value and removing omitempty from the parent struct, this will mean the value is marshalled even when empty, improving discoverability, and removing this GC bug

/lgtm cancel
Verify failed because the openapi hasn't been updated, please run make update-openapi

/jira refresh

/lgtm
/hold
Could we get QE to pre-merge verify this by building a branch for them to test that includes these updates?

Can confirm that the fix is solving the issue when trying to delete the CR on the foreground

/hold cancel


Remove litteral copycat code

Remove all the remaining artifacts of code that was just rustified in the beginning.
Being worked on in #86.

It should all be removed now.


10 implement configuration and basic logging

Based on the discussion - https://github.com/dmarro89/dare-db/discussions/8
Changes:

New configuration with viper using "TOML" format
Adding tests for the new configuration
Adapt existing test for the new configuration feature
Remove old configuration feature
Add basic loggig with custom formatter

New dependencies:

github.com/spf13/viper
github.com/sirupsen/logrus
github.com/stretchr/testify

Change .gitignore file and exclude generated files

Thanks for your contribution @vdmitriyev.
It's a good PR. I've added some comments just to keep the code flexible and maintainable - using dependency injection and maybe removing external dependencies.

@dmarro89 thank you for your fast response. I tried to respond to your comments you provided. The idea with the logger that uses log/slog could be re-implemented as part of another issue. That is why I just named it as "basic-logging" in this PR.


Example screenshots

Somehow I was expecting some screenshots of the customization examples given in the doc... This could help devs faster understand/learn the different property values and their impact.

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

ID: ffd79400-8154-9a7c-a36e-33077cfa4be9
Version Independent ID: fafc7523-a98a-fbff-9cc1-ca74a335c3ff
Content: Title bar customization - UWP app developer
Content Source: windows-apps-src/design/shell/title-bar.md
Product: uwp
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Shawn - please investigate if an image would help here - looks like it would - and maybe grab one? Thank you!


rkt: Export external states.

Add definitions for external states which are visible to users so
that other libraries and make use of them.
Fix #669

lgtm


The IT curriculum inception

This programming guide is a great starter of a broader 'IT curriculum'. How would this broader curriculum look like?
First braindump: the curriculum could be as follows:

Software Development

Introduction of basic principles and concepts (current repo)
From junior to senior learning curve (with examples) (current repo)
Command line terminal skills (minimal start in current repo)
Programming languages:

General introduction

Compiled vs. Interpreted
Static vs. Dynamic Typing
Strong vs. Weak Typing
Object Oriented Programming vs. Functional Programming

TypeScript
Python

Test Driven Development
Runtime environments, containers and platforms
Continuous Delivery & Pipelines (DevOps)

DataScience & AI

Introduction DataScience
Data cleaning
DataScience tooling
DataScience exercise
Introduction AI (see my introduction)
AI exercise ... or experience?

Cyber Security

Introduction internet and cyber security
Secure Programming experience

Architecture

Design Patterns
Martin Fowler
Clean Code & Clean Coders
C4 Model (vs box-box-cilinder 😅)
Event Sourcing (Paradigm Shift)

Low Code / No Code

Mendix platform experience

Each part should have:

Easy introduction and presentation of the subject
Loads of hands-on exercises
Loads of interaction with experts and classmates

Learning TypeScript collection:

ObservableHQ - Introduction to TypeScript
TutorialsTeacher - Learn TypeScript
TypeScriptLang.org has an online Playground

Continuous Delivery resources:

Kadaster Movie NL | Kadaster Movie EN
ContinuousDelivery.com

Missing parts:

Low Code Experience
Architecture !!! (and Event Sourcing 😇 )

Artificial Intelligence (and ML) Experience
(based on this LinkedIn post)

YOLOv5 🚀 is the world's most loved vision AI
video | Deep Learning: A Crash Course
Learn PyTorch
video | How Deep Learning Maths Works
video playlist | Background DL Classic Papers

Top toevoegingen!!! Thnx
Gelukkig had ik Git al wel in het vizier ... alleen niet in bovenstaande curriculum expliciet gemaakt, wel in deze repo ... maar goeie! Ga ik gelijk toevoegen voor a.s. donderdag 💪

Misschien parts:

UX !!


FirestoreAnimatedList defaultChild not used

The variable 'defaultChild' is not used anywhere.

You're right, it was used in the first versions instead of emptyChild. I'll remove it on the next update, thanks.


add new version

[x] added the new version number (and its PyPi SHA)
[x] added the new required versions for dependencies
[x] added the latest version for ubuntu (not 16), according to the fix here

All checks seem good, merging 👍


how to get gauss attribute in shader?

Hi, i want to add some test code, but got some errors.
 mat3 rot = quatToMat(getRotation());
 vec3 n_world = rot[2];
 vec4 n_view =  model_view * vec4(n_world, 1.0);
  float x = dot(splat_cam.xyz, n_view.xyz);
  if (dot(splat_cam.xyz, n_view.xyz) < 0.0) {
       gl_Position = discardVec;
       return;
   }

ERROR: 0:190: 'getRotation' : no matching overloaded function found
ERROR: 0:190: 'quatToMat' : no matching overloaded function found

can you give some advices? Thanks

Hi @zhouilu , sorry but I'll need more context of where you're doing this. Can you share your branch or file or...?

Hi, like render with cull back.. I want to add this oparation into splat-shader.ts, so i need gauss rotation to compute normal.
    // handle transforms
    mat4 model_view = matrix_view * model;
    vec4 splat_cam = model_view * vec4(center, 1.0);

  // cull back here ???

    // cull behind camera
    if (splat_cam.z > 0.0) {
        gl_Position = discardVec;
        return;
    }

Is the code location correct?

Hi @zhouilu,
The gaussians don't have a backface though? They're blobs in space and we construct a camera-facing quad over the blob in the vertex shader at render time.
Also, just so you know, the shader doesn't have the gaussian's rotation and scale. We calculate a covariance matrix from rotation and scale on CPU and upload this for render (as a performance optimisation).
Here you can see we read the covariance, not rotation/scale.
Perhaps if you can explain what you're trying to cull I can help more!

Hi @zhouilu,
The gaussians don't have a backface though? They're blobs in space and we construct a camera-facing quad over the blob in the vertex shader at render time.
Also, just so you know, the shader doesn't have the gaussian's rotation and scale. We calculate a covariance matrix from rotation and scale on CPU and upload this for render (as a performance optimisation).
Here you can see we read the covariance, not rotation/scale.
Perhaps if you can explain what you're trying to cull I can help more!

yes, i know use covariance matrix in shader. Backface though is a trick, it also as a performance optimisation. If gauss normal are calculated，we can cull backface when pre-rendering.
So, how to get gauss rotation and calc normal? Or have any better method? Thanks

Hi @zhouilu ,
This sounds very interesting, I'd love to know more!
Right now though, I don't understand enough to suggest anything useful.
Thanks!

Thanks for replying again. I solved by passing rotate texture info shader. So i close this issue.

Hi @zhouilu ,
I have been considering changing our render pipeline to use rotations and scales instead of covariance matrix precisely so we have more flexibility in the shader. Is that somewhat that would have helped in your situation?
Thanks!

Hi @zhouilu ,
I have been considering changing our render pipeline to use rotations and scales instead of covariance matrix precisely so we have more flexibility in the shader. Is that somewhat that would have helped in your situation?
Thanks!

yes, I think it will be very flexible.


Show search and card drawer in mobile mode

Have a full-screen card-drawer dialog, and a button in the sidebar to launch it

[ ] Buttons should be smaller in mobile mode, or have tighter margins, because they don't all show up

Card drawer will have to be put in a dialog or something in mobille mode, to get a background, and an x.
And then when you tap a card the card dialog should go away


Bitcoin single key wallet

Let's implement a bitcoin implementation of ports.WalletService as single-key wallet.
Actually 2 keys, one for the ark account and one for the ark-connector account.
As a single-key wallet, we don't need to persist utxos/txs as it's affordable to restore them at startup and not slow down the bitcoin version's development.

Cant' we use btcwallet out of the box? We may need some RPC to create/restore wallet (but those where steps needed also with Ocean)


Mh3 afr update

Description

Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sorry, this was not intended to be raised to this repo. So closing it.


Include geth update and start logic into shell

Consider using https://github.com/ethereumjs/geth.js
We should try to minimize the dependency footprint here as everything runs on main/privileged: no unnecessary 3rd party modules.

Requirements analysis based on Mist issues:

attach to running geth node: https://github.com/ethereum/mist/issues/3859,


WIP: Resend task statuses when reestablishing session

Oh boy this one is a doozy

Makes the status reporter support batch updates
Makes the agent support batch updates as a status reporter
Makes the places that use a status report use batch updates when
available
Makes the worker's Listen method callable multiple times with the
same status reporter, reporting all of the statuses to that reporter
every time it is called.
Makes the agent call the worker's Listen method every time it
reestablishes a session.

This fixes a race condition that results from the Dispatcher in the
manager batching updates, and telling the agent that task updates have
succeeded when they haven't actually been committed to the raft log.
This has the effect of making the managers drop status updates if there
is a leadership change while a batch of status updates is in the
pipeline. The fix here is that when agent's reestablish a session, they
re-send all of their task statuses, so the manager will DEFINITELY be
up to date.
This commit is marked "WIP" because I'm not totally confident on the
architecture and I want some review before I write unit tests for all
this new junk.
/cc @stevvooe for review, and also @aluzzardi, because this is...
quite an impactful change, and i'm not totally confident about this
approach.

This fixes a race condition that results from the Dispatcher in the
manager batching updates, and telling the agent that task updates have
succeeded when they haven't actually been committed to the raft log.

I want to understand this better. Why does the dispatcher tell the agent that the updates have succeeded when they haven't ? Is it possible to just either commit those updates to raft before ack-ing them, or to not ack at all ?

@anshulpundir I added a comment to the dispatcher UpdateTaskStatus method explaining the issue.

@anshulpundir the biggest reason not to have the manager confirm that a task update is committed is because I'm substantially less confident that I can write that pattern correctly on the first try.

@anshulpundir I'll update all of the tests when we've settled on the designed, and I'll remove WIP at that time.

I'd assume we've settled on this approach. I don't see any comments which indicate otherwise @dperny

I've updated the PR. I removed the whole concept of a "Batchable" status reporter, and change the statusReporterFunc, which is a test helper type, to support batch updates. In the process, I caught a nasty bug where later task updates would get overwritten by earlier task updates if the batch send failed. I think that this change should cover unit testing for the reporter, but someone can feel free to weigh in with unit tests they'd like to see. I'm removing "WIP" from this PR, it's ready for real, final review.

Still reviewing test code. Should have review out soon.

@anshulpundir PTAL

Also ping @nishanttotla @cyli @stevvooe for approval since they had previous comments.

@cyli addressed nits by fixing the spelling in one comment, and by adding a comment explaining why we don't need a second sr.closed check after reacquiring the lock in run.

@stevvooe i'd rather not change UpdateTaskStatus to coordinate batching because it feels more clever to me, and while i might be clever enough to write it, i don't think i'm clever enough to debug it. i'd rather merge this as-is instead of letting perfect be the enemy of good enough.

it seems like changing the UpdateTaskStatus function, if I'm understanding the conversation, which I may not be, can also be handled as add a new method signature, drop the old one, which would give us some time to convert the rest of the code over, too.

+1

I'm poking at what @stevvooe wants and it's honestly not the best idea, or I'm otherwise misunderstanding it.
Batching solely at the session or agent level involves keeping a state in the session through which we accrue updates and then write them out after a critical period or count, whichever comes first. It introduces complexity by maintaining yet another local state.
Batching solely at the reporter level (for example, by having 1 method which takes only a map, or having 1 method which takes only a task id and status) has the trade off of either requiring a separate method call with the associated overhead for every task status update in an obvious batch, or by requiring a map allocation (or related optimization) for every update to with just 1 status. This is less bad than keeping a batch state in the agent or session, but still sub-optimal.
The current solution has two methods, one for updating a single status and one for sending more than one status at once. These two separate methods are only ever actually used on the Reporter object, which keeps local state of status updates, and then writes out batches at at time to the agent. The current solution, having two methods, lets the caller choose the most appropriate method for sending 1 task status or sending many task statuses at once. There's not really any added complexity here: you use the one that takes a map if you have more than 1 update, or you use the one that takes an id and a status if you have just 1. After that, all of the batching is handled for you, and it's handled in only 1 place, the Reporter.

I think keeping a single API which let’s you report multiple statuses would be fine. I think a map allocation for a single status should have negligible overhead (if golang does it well).
I think this would address the concern about propagating the API change through since there would be only one API.
It is not obvious to me what the motivation is behind keeping status reporter to only report a single status at a time.
So, I’d rather push for a single API which let’s your report 1 or more statuses. If not, I'd suggest keeping the current change and reduce it down to a single which can report one or more statuses in a later PR.

It is not obvious to me what the motivation is behind keeping status reporter to only report a single status at a time.

This is about simplicity and granularity of error handling. If one only needs to worry about whether a single status failed or not, the retry algorithm can be as granular as need be. If it is batched together, retry needs to be built in for whole batches.
Looking at this change in detail, the unary UpdateTaskStatus is indeed the correct approach, as it allows the batching to be deferred to point where it can be most sensibly optimized.

@stevvooe @anshulpundir @cyli changed to 1 method, PTAL.

closing in favor of #2533


upgrade vega to 3.1.1

Make sure people are on the fully working version of vega transforms.

Would you be able to ship this @lgeiger? Last time I made a bit of a mess as I was out of practice with Atom package publishing.

👍 Shipped as v2.5.0


[Bug]: Host system is missing dependencies to run browsers - on Ubuntu 24.04

2024/05/09 23:57:14 Downloading browsers...
Playwright Host validation warning:
╔══════════════════════════════════════════════════════╗
║ Host system is missing dependencies to run browsers. ║
║ Missing libraries:                                   ║
║     libicudata.so.70                                 ║
║     libicui18n.so.70                                 ║
║     libicuuc.so.70                                   ║
║     libvpx.so.7                                      ║
╚══════════════════════════════════════════════════════╝
    at validateDependenciesLinux (/home/naimsulejmani/.cache/ms-playwright-go/1.42.1/package/lib/server/registry/dependencies.js:216:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Registry._validateHostRequirements (/home/naimsulejmani/.cache/ms-playwright-go/1.42.1/package/lib/server/registry/index.js:627:43)
    at async Registry._validateHostRequirementsForExecutableIfNeeded (/home/naimsulejmani/.cache/ms-playwright-go/1.42.1/package/lib/server/registry/index.js:725:7)
    at async Registry.validateHostRequirementsForExecutablesIfNeeded (/home/naimsulejmani/.cache/ms-playwright-go/1.42.1/package/lib/server/registry/index.js:714:43)
    at async t.<anonymous> (/home/naimsulejmani/.cache/ms-playwright-go/1.42.1/package/lib/cli/program.js:119:7)
2024/05/09 23:57:15 Downloaded browsers successfully

Recently, I upgraded my Ubuntu to the latest version, 24.04, and now my Go project is failing due to missing libraries as mention above. Are there any plans for a quick fix to address this issue?

 I'm pretty sure it ignores Firefox and Webkit and their dependencies.

也许你可以使用go run github.com/playwright-community/playwright-go/cmd/playwright@latest install chromium --with-deps。我很确定它会忽略 Firefox 和 Webkit 及其依赖项。

👍 good


omnibus: integrations: remove a centos6 relicate

What does this PR do?
This PR removes a final centos 6 leftover from our build recipes

Motivation
This isn't needed anymore

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Failed autocrafting request affecting future successful requests

Attempting to request an autocraft while not having enough ingredients makes the next successful autocraft happen 3 times. Attempting to craft the item you're lacking ingredients for again after that crafts a fourth of the previous item. Doesn't happen if the UI is left between the unsuccessful craft and the successful one.
Repro steps:
-set up 2 recipe discs with recipes requiring different materials, a chest and a furnace for example
-insert wood into the system
-request a furnace to be crafted, then, without leaving the UI, request a chest
-there should be 3 chests waiting for you in the output slot
-attempting to request a furnace again will make another chest, but only the first time, further clicks do nothing
Items consumed by the crafting appear to be the correct amounts, except for #14

Fixed.


Doc wrong path

In the Bonus: Running two applications concurrently section of software/docs/TutorialSession.md, the apps/tock_examples/hello_app/build/storm/app.bin path is incorrect.
May need changes to the template/Makefile

Fixed by 04ae2961156


evidence.config.json missing on initial init

To connect the data warehouse the docs say to "update evidence.config.json" file, but in my most recent pull that fill is missing and I had to add manually (which solves the "can't connect to warehouse" issue I was having"

Thanks @mikeyoungyoung. To confirm, did you initialize a fresh project (by running npm i @evidence-dev/new), or did you upgrade an existing project?

Fresh project
On Sun, Aug 8, 2021 at 6:29 PM Adam @.***> wrote:

Thanks @mikeyoungyoung https://github.com/mikeyoungyoung. To confirm,
did you initialize a fresh project (by running npm i @evidence-dev/new),
or did you upgrade an existing project?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/evidence-dev/evidence/issues/43#issuecomment-894864950,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAU25DBL6KLCONCLMUSYYKTT34AOFANCNFSM5BYYGQ4A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Thanks 🙏 I'll take a look

Closing this issue as we've switched the install process to be based on a template repo


⚠ Bofrost.be has degraded performance

In 4cd73e6, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1563 ms

Resolved: Bofrost.be performance has improved in f1d0235.


Update pysiaf with PRDOPSSOC-51

This PR updates pysiaf with the new PRD release PRDOPSSOC-51. SIAF data has been added to the prd_data directory and removed from the pre_delivery_data directory.

On my local copy (all recent updates, but not setup for the release process yet) I get the following:
`(pysiaf) minmei:tests dlong$ pytest -v -p no:warnings
========================================================= test session starts ==========================================================
platform darwin -- Python 3.9.12, pytest-7.1.1, pluggy-1.0.0 -- /Users/dlong/miniconda3/envs/pysiaf/bin/python
cachedir: .pytest_cache
rootdir: /Users/dlong/pysiaf, configfile: setup.cfg
collected 32 items
test_aperture.py::test_idl_to_tel PASSED                                                                                [  3%]
test_aperture.py::test_hst_fgs_idl_to_tel PASSED                                                                                [  6%]
test_aperture.py::test_jwst_aperture_transforms PASSED                                                                           [  9%]
test_aperture.py::test_jwst_aperture_vertices PASSED                                                                             [ 12%]
test_aperture.py::test_raw_transformations PASSED                                                                                [ 15%]
test_aperture.py::test_jwst_sky_transformations PASSED                                                                           [ 18%]
test_hst.py::test_hst_aperture_init PASSED                                                                                [ 21%]
test_hst.py::test_hst_siaf PASSED                                                                                [ 25%]
test_hst.py::test_hst_amudotrep PASSED                                                                                [ 28%]
test_iando.py::test_write_jwst_siaf_xml PASSED                                                                                [ 31%]
test_iando.py::test_write_jwst_siaf_xlsx PASSED                                                                                [ 34%]
test_match_v2v3.py::test_match_v2v3 PASSED                                                                                [ 37%]
test_miri.py::test_against_test_data PASSED                                                                                [ 40%]
test_nirspec.py::test_against_test_data PASSED                                                                                [ 43%]
test_nirspec.py::test_nirspec_aperture_transforms PASSED                                                                         [ 46%]
test_nirspec.py::test_nirspec_slit_transformations PASSED                                                                        [ 50%]
test_nirspec.py::test_sci_det_consistency PASSED                                                                                [ 53%]
test_plotting.py::test_aperture_plotting PASSED                                                                                [ 56%]
test_polynomial.py::test_poly PASSED                                                                                [ 59%]
test_polynomial.py::test_RotateCoeffs PASSED                                                                                [ 62%]
test_polynomial.py::test_two_step PASSED                                                                                [ 65%]
test_polynomial.py::test_invert PASSED                                                                                [ 68%]
test_polynomial.py::test_ShiftCoeffs PASSED                                                                                [ 71%]
test_projection.py::test_tangent_plane_projection_roundtrip PASSED                                                               [ 75%]
test_projection.py::test_project_to_tangent_plane PASSED                                                                         [ 78%]
test_projection.py::test_deproject_from_tangent_plane PASSED                                                                     [ 81%]
test_rotations.py::test_attitude PASSED                                                                                [ 84%]
test_rotations.py::test_attitude_matrix PASSED                                                                                [ 87%]
test_rotations.py::test_sky_to_tel PASSED                                                                                [ 90%]
test_rotations.py::test_axial_rotation PASSED                                                                                [ 93%]
test_rotations.py::test_unit_vector_from_cartesian PASSED                                                                        [ 96%]
test_tools.py::test_jwst_fgs_to_fgs_matrix PASSED                                                                                [100%]
========================================================= 32 passed in 30.34s ==========================================================`
Did you run the tests locally after you pulled the upstream version into your copy?

Hey @Witchblade101, I did pull the changes down. Let me double check, which python version are you using? I am using 3.8

I used 3.9, but I'll check with 3.7 and 3.8 just to be sure.

OK, with Python 3.7:
`(pysiaf37) minmei:tests dlong$ pytest -v -p no:warnings
========================================================= test session starts ==========================================================
platform darwin -- Python 3.7.13, pytest-7.1.1, pluggy-1.0.0 -- /Users/dlong/miniconda3/envs/pysiaf37/bin/python
cachedir: .pytest_cache
rootdir: /Users/dlong/pysiaf, configfile: setup.cfg
collected 32 items
test_aperture.py::test_idl_to_tel PASSED                                                                                [  3%]
test_aperture.py::test_hst_fgs_idl_to_tel PASSED                                                                                [  6%]
test_aperture.py::test_jwst_aperture_transforms PASSED                                                                           [  9%]
test_aperture.py::test_jwst_aperture_vertices PASSED                                                                             [ 12%]
test_aperture.py::test_raw_transformations PASSED                                                                                [ 15%]
test_aperture.py::test_jwst_sky_transformations PASSED                                                                           [ 18%]
test_hst.py::test_hst_aperture_init PASSED                                                                                [ 21%]
test_hst.py::test_hst_siaf PASSED                                                                                [ 25%]
test_hst.py::test_hst_amudotrep PASSED                                                                                [ 28%]
test_iando.py::test_write_jwst_siaf_xml PASSED                                                                                [ 31%]
test_iando.py::test_write_jwst_siaf_xlsx PASSED                                                                                [ 34%]
test_match_v2v3.py::test_match_v2v3 PASSED                                                                                [ 37%]
test_miri.py::test_against_test_data PASSED                                                                                [ 40%]
test_nirspec.py::test_against_test_data PASSED                                                                                [ 43%]
test_nirspec.py::test_nirspec_aperture_transforms PASSED                                                                         [ 46%]
test_nirspec.py::test_nirspec_slit_transformations PASSED                                                                        [ 50%]
test_nirspec.py::test_sci_det_consistency PASSED                                                                                [ 53%]
test_plotting.py::test_aperture_plotting PASSED                                                                                [ 56%]
test_polynomial.py::test_poly PASSED                                                                                [ 59%]
test_polynomial.py::test_RotateCoeffs PASSED                                                                                [ 62%]
test_polynomial.py::test_two_step PASSED                                                                                [ 65%]
test_polynomial.py::test_invert PASSED                                                                                [ 68%]
test_polynomial.py::test_ShiftCoeffs PASSED                                                                                [ 71%]
test_projection.py::test_tangent_plane_projection_roundtrip PASSED                                                               [ 75%]
test_projection.py::test_project_to_tangent_plane PASSED                                                                         [ 78%]
test_projection.py::test_deproject_from_tangent_plane PASSED                                                                     [ 81%]
test_rotations.py::test_attitude PASSED                                                                                [ 84%]
test_rotations.py::test_attitude_matrix PASSED                                                                                [ 87%]
test_rotations.py::test_sky_to_tel PASSED                                                                                [ 90%]
test_rotations.py::test_axial_rotation PASSED                                                                                [ 93%]
test_rotations.py::test_unit_vector_from_cartesian PASSED                                                                        [ 96%]
test_tools.py::test_jwst_fgs_to_fgs_matrix PASSED                                                                                [100%]
========================================================= 32 passed in 31.06s ==========================================================`
But I realized I was in my fgs_aperture_threshold branch. I changed to master without pulling and tried again:
`(pysiaf37) minmei:tests dlong$ pytest -v -p no:warnings
========================================================= test session starts ==========================================================
platform darwin -- Python 3.7.13, pytest-7.1.1, pluggy-1.0.0 -- /Users/dlong/miniconda3/envs/pysiaf37/bin/python
cachedir: .pytest_cache
rootdir: /Users/dlong/pysiaf, configfile: setup.cfg
collected 32 items
test_aperture.py::test_idl_to_tel PASSED                                                                                [  3%]
test_aperture.py::test_hst_fgs_idl_to_tel PASSED                                                                                [  6%]
test_aperture.py::test_jwst_aperture_transforms PASSED                                                                           [  9%]
test_aperture.py::test_jwst_aperture_vertices PASSED                                                                             [ 12%]
test_aperture.py::test_raw_transformations PASSED                                                                                [ 15%]
test_aperture.py::test_jwst_sky_transformations FAILED                                                                           [ 18%]
test_hst.py::test_hst_aperture_init PASSED                                                                                [ 21%]
test_hst.py::test_hst_siaf PASSED                                                                                [ 25%]
test_hst.py::test_hst_amudotrep PASSED                                                                                [ 28%]
test_iando.py::test_write_jwst_siaf_xml PASSED                                                                                [ 31%]
test_iando.py::test_write_jwst_siaf_xlsx PASSED                                                                                [ 34%]
test_match_v2v3.py::test_match_v2v3 PASSED                                                                                [ 37%]
test_miri.py::test_against_test_data PASSED                                                                                [ 40%]
test_nirspec.py::test_against_test_data PASSED                                                                                [ 43%]
test_nirspec.py::test_nirspec_aperture_transforms PASSED                                                                         [ 46%]
test_nirspec.py::test_nirspec_slit_transformations PASSED                                                                        [ 50%]
test_nirspec.py::test_sci_det_consistency PASSED                                                                                [ 53%]
test_plotting.py::test_aperture_plotting PASSED                                                                                [ 56%]
test_polynomial.py::test_poly PASSED                                                                                [ 59%]
test_polynomial.py::test_RotateCoeffs PASSED                                                                                [ 62%]
test_polynomial.py::test_two_step PASSED                                                                                [ 65%]
test_polynomial.py::test_invert PASSED                                                                                [ 68%]
test_polynomial.py::test_ShiftCoeffs PASSED                                                                                [ 71%]
test_projection.py::test_tangent_plane_projection_roundtrip PASSED                                                               [ 75%]
test_projection.py::test_project_to_tangent_plane PASSED                                                                         [ 78%]
test_projection.py::test_deproject_from_tangent_plane PASSED                                                                     [ 81%]
test_rotations.py::test_attitude PASSED                                                                                [ 84%]
test_rotations.py::test_attitude_matrix PASSED                                                                                [ 87%]
test_rotations.py::test_sky_to_tel PASSED                                                                                [ 90%]
test_rotations.py::test_axial_rotation PASSED                                                                                [ 93%]
test_rotations.py::test_unit_vector_from_cartesian PASSED                                                                        [ 96%]
test_tools.py::test_jwst_fgs_to_fgs_matrix PASSED                                                                                [100%]
=============================================================== FAILURES ===============================================================
____________________________________________________ test_jwst_sky_transformations _____________________________________________________
verbose = False
def test_jwst_sky_transformations(verbose=False):
    """ Test tel_to_sky and sky_to_tel transformations, using an attitude matrix
    """
    from ..utils import rotations
    from . import test_rotations as tr
    import astropy.units as u

    # let's borrow the attitude matrix set up code from test_rotations/test_attitude_matrix:
    ra = tr.ra_deg * u.deg
    dec = tr.dec_deg * u.deg
    pa = tr.pa_deg * u.deg
    v2 = tr.v2_arcsec * u.arcsec
    v3 = tr.v3_arcsec * u.arcsec
    attitude_matrix = rotations.attitude_matrix(v2, v3, ra, dec, pa)

    # Load an aperture and set it to that attitude matrix
    fgs_aperture = Siaf('FGS').apertures['FGS1_FULL']

    fgs_aperture.set_attitude_matrix(attitude_matrix)

    # Test that, with that attitude matrix, sky<->tel transforms at the reference point work as expected
    assert np.allclose( fgs_aperture.sky_to_tel(ra, dec), (tr.v2_arcsec, tr.v3_arcsec)), "Unexpected result for Tel coords"
    assert np.allclose( fgs_aperture.tel_to_sky(tr.v2_arcsec, tr.v3_arcsec), (tr.ra_deg, tr.dec_deg)), "Unexpected result for Sky coords"

    # test on some arbitrary points that sky_to_tel and tel_to_sky are inverses
    t1 = 123
    t2 = -456
    assert np.allclose(fgs_aperture.sky_to_tel(*fgs_aperture.tel_to_sky(t1,t2)), (t1,t2)), "sky_to_tel(tel_to_sky) was not an identity"

    s1 = 0.1
    s2 = -0.3
    assert np.allclose(fgs_aperture.tel_to_sky(*fgs_aperture.sky_to_tel(s1,s2)), (s1,s2)), "tel_to_sky(sky_to_tel) was not an identity"

    d1 = 512
    d2 = 1024
    # test to/from detector coords, to test all the intermediate transforms too

  assert np.allclose(fgs_aperture.sky_to_det(*fgs_aperture.det_to_sky(d1,d2)), (d1,d2)), "sky_to_det(det_to_sky) was not an identity"

E       AssertionError: sky_to_det(det_to_sky) was not an identity
E       assert False
E        +  where False = <function allclose at 0x7fdbd84c1320>((511.97856151561746, 1023.9582616987781), (512, 1024))
E        +    where <function allclose at 0x7fdbd84c1320> = np.allclose
E        +    and<PHONE_NUMBER>1561746, 1023.9582616987781) = <bound method Aperture.sky_to_det of <pysiaf.Aperture object AperName=FGS1_FULL >>(*(19.770854248747433, 69.73418978861316))
E        +      where <bound method Aperture.sky_to_det of <pysiaf.Aperture object AperName=FGS1_FULL >> = <pysiaf.Aperture object AperName=FGS1_FULL >.sky_to_det
E        +      and   (19.770854248747433, 69.73418978861316) = <bound method Aperture.det_to_sky of <pysiaf.Aperture object AperName=FGS1_FULL >>(512, 1024)
E        +        where <bound method Aperture.det_to_sky of <pysiaf.Aperture object AperName=FGS1_FULL >> = <pysiaf.Aperture object AperName=FGS1_FULL >.det_to_sky
test_aperture.py:278: AssertionError
======================================================= short test summary info ========================================================
FAILED test_aperture.py::test_jwst_sky_transformations - AssertionError: sky_to_det(det_to_sky) was not an identity
==================================================== 1 failed, 31 passed in 31.10s =====================================================`
After pulling in upstream changes to master:
`(pysiaf37) minmei:tests dlong$  pytest -v -p no:warnings
========================================================= test session starts ==========================================================
platform darwin -- Python 3.7.13, pytest-7.1.1, pluggy-1.0.0 -- /Users/dlong/miniconda3/envs/pysiaf37/bin/python
cachedir: .pytest_cache
rootdir: /Users/dlong/pysiaf, configfile: setup.cfg
collected 32 items
test_aperture.py::test_idl_to_tel PASSED                                                                                [  3%]
test_aperture.py::test_hst_fgs_idl_to_tel PASSED                                                                                [  6%]
test_aperture.py::test_jwst_aperture_transforms PASSED                                                                           [  9%]
test_aperture.py::test_jwst_aperture_vertices PASSED                                                                             [ 12%]
test_aperture.py::test_raw_transformations PASSED                                                                                [ 15%]
test_aperture.py::test_jwst_sky_transformations PASSED                                                                           [ 18%]
test_hst.py::test_hst_aperture_init PASSED                                                                                [ 21%]
test_hst.py::test_hst_siaf PASSED                                                                                [ 25%]
test_hst.py::test_hst_amudotrep PASSED                                                                                [ 28%]
test_iando.py::test_write_jwst_siaf_xml PASSED                                                                                [ 31%]
test_iando.py::test_write_jwst_siaf_xlsx PASSED                                                                                [ 34%]
test_match_v2v3.py::test_match_v2v3 PASSED                                                                                [ 37%]
test_miri.py::test_against_test_data PASSED                                                                                [ 40%]
test_nirspec.py::test_against_test_data PASSED                                                                                [ 43%]
test_nirspec.py::test_nirspec_aperture_transforms PASSED                                                                         [ 46%]
test_nirspec.py::test_nirspec_slit_transformations PASSED                                                                        [ 50%]
test_nirspec.py::test_sci_det_consistency PASSED                                                                                [ 53%]
test_plotting.py::test_aperture_plotting PASSED                                                                                [ 56%]
test_polynomial.py::test_poly PASSED                                                                                [ 59%]
test_polynomial.py::test_RotateCoeffs PASSED                                                                                [ 62%]
test_polynomial.py::test_two_step PASSED                                                                                [ 65%]
test_polynomial.py::test_invert PASSED                                                                                [ 68%]
test_polynomial.py::test_ShiftCoeffs PASSED                                                                                [ 71%]
test_projection.py::test_tangent_plane_projection_roundtrip PASSED                                                               [ 75%]
test_projection.py::test_project_to_tangent_plane PASSED                                                                         [ 78%]
test_projection.py::test_deproject_from_tangent_plane PASSED                                                                     [ 81%]
test_rotations.py::test_attitude PASSED                                                                                [ 84%]
test_rotations.py::test_attitude_matrix PASSED                                                                                [ 87%]
test_rotations.py::test_sky_to_tel PASSED                                                                                [ 90%]
test_rotations.py::test_axial_rotation PASSED                                                                                [ 93%]
test_rotations.py::test_unit_vector_from_cartesian PASSED                                                                        [ 96%]
test_tools.py::test_jwst_fgs_to_fgs_matrix PASSED                                                                                [100%]
========================================================= 32 passed in 31.11s ==========================================================`

Not posting the gory details, but with python 3.8 all 32 tests passed, as well.


No need to start upload if filesize is 0

fixes https://github.com/tus/tus-js-client/issues/106
This assumes that if upload_size equals 0 it will finish the upload after the file was successfully created (server side). No additional PATCH request will be fired.

Thank you very much, I merged this and added a test for it


Verbose is not verbose enough

When I build with the --verbose flag, it does output verbosely. After that, it says "Creating an optimized production build..." and that's where any form of verbosity ends in complete brevity.
To diagnose any problems that aren't errors, perhaps performance during compilation or what have you, the compilation step also needs to be verbose. That's what I'm asking for by adding the --verbose argument.
Now, I have noticed in the documentation that it's possible to add a webpack.config.js and do additional stuff there:
https://github.com/gsoft-inc/craco/blob/master/packages/craco/README.md#webpack-api
(I haven't actually tried this though)
But is that really the way to go? Surely it can't be too difficult for a --verbose argument to get passed down to CRA and webpack automagically?
Disclaimer: I'm not trying to solve an actual problem right now. I just noticed the lack of verbosity when asking for it.

If CRA have such a argument, why not!

I don't know if it does, I haven't used CRA without CO 😀


Specify Accordion to ExpansionPanel

Hi!
In docs i see that Expansion Panel has property accordion: MatAccordion
But i have no ideas how can i specify accordion...
Example in stackblitz: stackblitz
In this example Acoordion used in parent component, and Expansion panels used in child components (parent - task-list, child - task). So if u expand any of them, you will not see spaces between them.
But if u uncomment lines in app/task-list/task-list.component.html and expand top element in list, you will see spaces between top and other expansion panels.

Closing as duplicate of #6870 - see https://github.com/angular/material2/issues/6870#issuecomment-327847741


Can't install this package on symfony 6

Please adapt this package for Symfony 6 ASAP or explain how to install it on new version of Symfony.
Thank you 😀

Please see this bundle:
https://github.com/thecodingmachine/graphqlite-bundle


Pre-requisite missing

Please add this URL as requirement https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image

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

ID: c721f5ae-ece4-58ab-d00d-65856907c364
Version Independent ID: 7912f48e-25be-6efb-e770-c30404d84c58
Content: Support matrix for disaster recovery of on-premises Hyper-V VMs to Azure
Content Source: articles/site-recovery/hyper-v-azure-support-matrix.md
Service: site-recovery
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.

Thanks. Same comment as 35498
Thanks for your feedback. Can provide some more details about what prereq you think is missing? The URL points to a document.

@daspo. Hi, before we verify if anything needs updating, can you please provide some details about the prerequisite you think is missing. Thanks!

Same as for thread #35498
.daspo
From: Rayne Wiselman<EMAIL_ADDRESS>Sent: Monday, July 22, 2019 6:29 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Damian Spoltore<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Pre-requisite missing (#35499)
@daspohttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdaspo&data=02|01|daspolto%40microsoft.com|a5d0f8c7a27b443474cc08d70e8707ae|72f988bf86f141af91ab2d7cd011db47|1|0|636993845423015904&sdata=duGPnEeWXQakLVafrbDsr%2FPcDTW8Na94OCJRip%2BeSgo%3D&reserved=0. Hi, before we verify if anything needs updating, can you please provide some details about the prerequisite you think is missing. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F35499%3Femail_source%3Dnotifications%26email_token%3DAD4BUOQMEYAYFAWLSSE6YP3QAV4VZA5CNFSM4IFI5VP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2PKZHA%23issuecomment-513715356&data=02|01|daspolto%40microsoft.com|a5d0f8c7a27b443474cc08d70e8707ae|72f988bf86f141af91ab2d7cd011db47|1|0|636993845423025900&sdata=ltSwokQ2hm3IoN8dvmg5YjFgWA6%2BAbhVxSq%2Fdi7sYYU%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD4BUOWOEULO7U6FCKZ23QTQAV4VZANCNFSM4IFI5VPQ&data=02|01|daspolto%40microsoft.com|a5d0f8c7a27b443474cc08d70e8707ae|72f988bf86f141af91ab2d7cd011db47|1|0|636993845423025900&sdata=CJGnpL1RjA5IL1wKoXGiMo6Dc2j%2B%2FL5dI1FuDVhTxFE%3D&reserved=0.

I'm reviewing what's missing in our current articles re VM prereqs. I'm closing this issue in favor of a DevOps task
#please-close


Tour: Clicking on GT in 7 videos does something unexpected

The words GT in 7 videos look like a link to me. I click the link and then my screen looks like this, which is not what I expected.

It looks like I need to click on the tiny arrow to the right to get the link to expand below

Then I can click on the link with the little arrow out icon to the left and have the YouTube page open in my browser.
It would be helpful to explain the difference between regular blue links (to a Lepiter page?) and external blue links, as well as the use of the small arrow to the right that expands the regular blue link.

The external link has an icon next to it showing that it's an external link. Internal links do not have that icon.

The issue is that I, as a new user, don't know the difference between internal Lepiter links and external URL links at the time when I'm directed to view the 7-minute videos. A brief sentence to explain the difference, and to direct me to click on right arrow to the right of the link to expand the section, would eliminate any confusion.


Sheet Handle doesn't drag if scrolled at all

Current Behavior
Given a Sheet with a Sheet.ScrollView inside it, if the inner ScrollView is dragged at all, then it Handle won't drag
Expected Behavior
Ideally the Handle will continue to drag no matter what
I isolated this behaviour to these lines: https://github.com/tamagui/tamagui/blob/master/packages/sheet/src/SheetImplementationCustom.tsx#L277-L280
Removing those lines creates the desired behaviour for me. But I of course believe those lines exist for a reason. Maybe this should be configurable?
Tamagui Version
1.88.13

Platform (Web, iOS, Android)
Web - Chrome

Reproduction
Using the code from the Sheet docs, this should reproduce it (I just added a Sheet.ScrollView):

      <Sheet
        forceRemoveScrollEnabled={open}
        modal={modal}
        open={open}
        onOpenChange={setOpen}
        snapPoints={snapPoints}
        snapPointsMode={snapPointsMode}
        dismissOnSnapToBottom
        position={position}
        onPositionChange={setPosition}
        zIndex={100_000}
        animation="medium"
      >
        <Sheet.Overlay
          animation="lazy"
          enterStyle={{ opacity: 0 }}
          exitStyle={{ opacity: 0 }}
        />
        <Sheet.Handle />
        <Sheet.Frame padding="$4" justifyContent="center" alignItems="center" space="$5">
          <Sheet.ScrollView>
            <Button size="$6" circular icon={ChevronDown} onPress={() => setOpen(false)} />
            <Input width={200} />
            {modal && isPercent && (
              <>
                <InnerSheet open={innerOpen} onOpenChange={setInnerOpen} />
                <Button
                  size="$6"
                  circular
                  icon={ChevronUp}
                  onPress={() => setInnerOpen(true)}
                />
              </>
            )}
          </Sheet.ScrollView>
        </Sheet.Frame>
      </Sheet>

Note I've manually patched out the lines I mentioned above, and you can see that behaviour live on our site:
https://guild.host/guild and then click the "Donate" button in a small viewport

System Info
No response

Fix will go out in f6714594f1477f14406ea6d7e28165ae0cf13d24


example subcommand

$ terraform-docs example ecs-cluster

module "example" {
  source = "github.com/segmentio/stack/ecs-cluster
  foo       = "baz"
  baz      = "..."
}

@yields This issue seems to have become stale and I am unsure about what you're trying to show. Closing for now, but feel free to reopen in case you want to further elaborate on this enhancement.

oh, the idea was to output an example use of the module, so the defaults will be used.
so instead of you writing the module manually, you would just do this:
terraform-docs example ecs-cluster > ./mycluster.tf

and then just change the defaults, fill out the required variables and terraform plan -> apply.


Static MAC addresses on the master and compute nodes

I am trying to use cfncluster for running scientific computations. The software I use is licensed to specific MAC addresses.
How can I give my master node and compute nodes static MAC addresses every time I relaunch the cluster? I know I could use ENI with set MAC address but then it could only be attached to a master node?
Regarding the compute nodes. Here is an extract from the documentation.

In the case of very large clusters, it is often sufficient if you send us the output of the $ADFBIN/dirac info command from the head node and 2 or 3 compute nodes. As most compute node names have the same beginning, we can then add them with a wild card (for example Linuxchem*).

Can we somehow program names and MAC addresses of compute nodes to start with a pre-set string?
P.S. I might be speaking a good deal of nonsense. Please excuse me. I am not knowledgeable withe the subject of networking.
I would greatly appreciate you help. Thank you.

Hi @dennisthegitmenace ,
you could change the name by using custom bootstrap actions but I cannot confirm that everything will work correctly (it should be verified).
One idea could be to launch the cluster with maintain-initial-size = true and use the same public subnet for both master and compute nodes. In this way the nodes will have a "static" Public IPs and you can get the ENIs .
If you stop the Compute nodes the Public IPs and the ENI will be released, whereas the Elastic IP of the Master will be retained.
Another idea is to allocate some Elastic IPs and attach them to the nodes when they are running.

Thank you so much Enrico. That added few things on my "to try" list. Currently I am waiting for some bureaucracy to be over with and hopefully I will get to try all of the above very soon.

Ok @dennisthegitmenace , I'm going to close the issue, feel free to re-open it if you have other problems or to let us know what the final solution will be.
We suggest to use the latest version of AWS ParallelCluster (pip install aws-parallelcluster) that is the AWS supported tool built on the CfnCluster project.


Issues with Automatic Headers and Cookies in Scalar after Recent Updates (standalone.js)

Dear Team,
I want to express my gratitude for your ongoing dedication and hard work. Over the past two months, I have been utilizing Scalar by @elysiajs/swagger and have found its features to be quite beneficial.
Recently, however, I have encountered some issues that appear to stem from the latest updates. Initially, the functionality was seamless, but I have since observed some irregularities:

The Content-Type: application/json header, which was automatically included when using a t.Object schema for the request body, is no longer being applied.
There are persistent problems with cookies; specifically, the cookies from the current domain are not being sent with subsequent requests as they previously were.

Upon further investigation, I found that a request is made to the following URL during the documentation page load: . If this file cannot be retrieved, the browser's cached version is utilized. This leads me to suspect that the issue may be linked to modifications in this reference.
To further diagnose the problem:

I tested across various browsers and confirmed that the issue is not browser-specific.
I examined whether any browser extensions or updates might be contributing to the problem.
I conducted tests using Postman, where everything functioned correctly.
The issue only occurs when making requests through the Scalar interface.

As a temporary workaround, I have locked my swagger instance to scalarVersion: 1.25.7.
Here are the specific issues I have encountered with different versions:

In version 1.25.12, the automatic application of essential headers failed, along with the cookie attachment.
In version 1.25.16, the issue with the Content-Type: application/json header was resolved, but the cookie attachment problem persists.

Additionally, I noticed that version 1.25.15 was omitted from the version list. While this is not critical, it may cause confusion when searching for a stable version.
Best Regards,
demonarch

Thanks for reporting, and sorry for the trouble you’re going through with our package, this is great feedback! We’re trying to fix those asp.

Thanks for reporting, and sorry for the trouble you’re going through with our package, this is great feedback! We’re trying to fix those asp.

Maybe this is very helpful, every request from backend sets new cookies with sameSite "lax", changes to "none" after sending another request.


add bundle tekton support

got bundle support here: https://github.com/openshift/instaslice-operator/pull/156


For scp_recv, read_to_end never return.

Using read_to_end will cause the block.
Looping read(&mut [u8]) shows that read never return Err(e) or Ok(0), and block at the next request after transfer finished.
My environment:
stable-x86_64-pc-windows-msvc.
rustc 1.32.0 (9fda7c223 2019-01-16)
libssh2-sys 0.2.11

Error remains since commit 8e588457103bdb8a435a8bb29c8a04f49e912177

Possibly related to #109, in which time is misinterpreted as file size.

Couldn't get it working with any version of this crate.

@xiaoniu-578fa6bff964d005 Where you able to work around this?

Use Python LOL!

Closing this as a duplicate of #109


Multi-psn jobs don't respect all site thresholds

Diego noticed some merge jobs being sent to both CERN and HLT, even though HLT Merge task has 0 threshold (both sites are normal and have site thresholds, but only CERN has Merge thresholds > 0).

Just talked to Jean-Roch and it's not a big deal, so low prio it is :)


Prevented unnecessary call to getCultureList method on website change

Fixes #3922
Summary

onSitechange(event) will invoke getCultureList method only if portalId is changed and prevent otherwise.

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

@valadas and other @dnnsoftware/approvers  Looking at this it appears to be a valid change, if the state wasn't changed no need to do things and this worked for me.  However, please validate if you can from a React side if I missed something