iOS #error Unsupported architecture

EDIT: This seems to be the solution.
I was able to build on Big Sur with iPhone SDK ~14. This is a freshly installed system, it feels like I'm missing something.
Instructions from here
Branch: develop
MacOS: Monterey x86
Xcode 13.2.1 12.0
iPhoneOS SDK 15.2

error

In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:68:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/cdefs.h:825:2: error: Unsupported architecture
#error Unsupported architecture
 ^
In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_types.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
 ^
In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_types.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'; did you mean '__int128_t'?
typedef __int64_t       __darwin_blkcnt_t;      /* total blocks */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_blksize_t;     /* preferred block size */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_dev_t;         /* dev_t */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_gid_t;         /* [???] process and group IDs */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_id_t;          /* [XSI] pid_t, uid_t, or gid_t*/
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'; did you mean '__uint128_t'?
typedef __uint64_t      __darwin_ino64_t;       /* [???] Used for 64 bit inodes */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
typedef __uint16_t      __darwin_mode_t;        /* [???] Some file attributes */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'; did you mean '__int128_t'?
typedef __int64_t       __darwin_off_t;         /* [???] Used for file sizes */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_pid_t;         /* [???] process and group IDs */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_sigset_t;      /* [???] signal set */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_suseconds_t;   /* [???] microseconds */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_uid_t;         /* [???] user IDs */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */
        ^
note: '__uint128_t' declared here
In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:71:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_wctype_t;
        ^
note: '__uint128_t' declared here
In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:75:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types/_va_list.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
 ^
In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types/_va_list.h:32:9: error: unknown type name '__darwin_va_list'
typedef __darwin_va_list va_list;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [getarch] Error 1
Makefile.system:283: Makefile.conf: No such file or directory
Makefile.system:1434: Makefile.: No such file or directory
make: *** No rule to make target `Makefile.'.  Stop.

Sorry, I know next to nothing about xcode but have you checked that the ".../SDKs/iPhoneOS15.2.sdk/..." path actually exists in your xcode 12 installation ? To me, the lineup (of available options in the Azure CI system I use for testing) at https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md seems to suggest one may need xcode 13.2.x for this (?)

...at least my test build (OSX 11, xcode 13.2.1) in #3526 passed without any further changes

Yes the SDK path does exist, I was even able to build flang against it.
Also I'm on Xcode 13.2.1. I misread it, sorry.

I can fix Makefile.system:1434: Makefile.: No such file or directory by adding ARCH=ARM64.
But Makefile.system:283: Makefile.conf: No such file or directory remains. Scroll to line 279 and you will see it calls Makefile.prebuild to make Makefile.conf and conf.h but I have none of those. It's still not clear to me why that's the case.

...at least my test build (OSX 11, xcode 13.2.1) in #3526 passed without any further changes

I only now noticed that you set macOS 11 (Big Sur), I'm on macOS 12 (Monterey).

Those files are generated by a perl script, you need to to install "xcode command line tools" to get a working perl interpreter.

Unfortunately I cannot test on Monterey as that platform is still not available in Azure CI or github runners.
If you were able to build for SDK14 on the same box, availability of perl (or other command line tools) is probably not an issue.

Makefile.conf: No such file or directory

PERL ...

Both perl and xcode command line tools are installed.
$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

$ perl --version

This is perl 5, version 30, subversion 3 (v5.30.3) built for darwin-thread-multi-2level

If I uninstall perl on CentOS I get exactly that error after typing make

That helps to narrow down the problem I guess but I do have /usr/bin/perl:
perl -de1

DB<1> print "Hello World\n";
Hello World

Reviewing the error message, this looks more like an internal error of the xcode installation - I wonder what is around line 825
of file Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/cdefs.h where it concludes that it encountered an unsupported architecture ?
Must be some kind of "ifdef x86 .. or arm... or whatever" there

All files with architecture errors have similar checks.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/cdefs.h
/*
 * Architecture validation for current SDK
 */
#if   !defined(__sys_cdefs_arch_unknown__) && defined(__arm__)
#elif !defined(__sys_cdefs_arch_unknown__) && defined(__arm64__)
#else
#error Unsupported architecture
#endif

I'm able to run this command manually:
perl ./c_check Makefile.conf config.h clang -isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch arm64

Generated Makefile.conf
OSNAME=Darwin
ARCH=arm64
C_COMPILER=CLANG
BINARY32=
BINARY64=1
FU=_
CROSS=1
CEXTRALIB= -lto_library -lSystem

Generated config.h
#define OS_DARWIN       1
#define ARCH_ARM64      1
#define C_CLANG 1
#define __64BIT__       1
#define FUNDERSCORE     _
#define HAVE_C11        1
#define PTHREAD_CREATE_FUNC     pthread_create

After generating the files with the perl command the output is slightly different

In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:                                                                 In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:68:                                                                /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/cdefs.h:825:2: error: Unsupported architecture
#error Unsupported architecture
 ^
In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_types.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
 ^
In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_types.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'; did you mean '__int128_t'?
typedef __int64_t       __darwin_blkcnt_t;      /* total blocks */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_blksize_t;     /* preferred block size */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_dev_t;         /* dev_t */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_gid_t;         /* [???] process and group IDs */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_id_t;          /* [XSI] pid_t, uid_t, or gid_t*/
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'; did you mean '__uint128_t'?
typedef __uint64_t      __darwin_ino64_t;       /* [???] Used for 64 bit inodes */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
typedef __uint16_t      __darwin_mode_t;        /* [???] Some file attributes */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'; did you mean '__int128_t'?               typedef __int64_t       __darwin_off_t;         /* [???] Used for file sizes */                                                                                ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_pid_t;         /* [???] process and group IDs */
        ^
note: '__int128_t' declared here

note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_sigset_t;      /* [???] signal set */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_suseconds_t;   /* [???] microseconds */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_uid_t;         /* [???] user IDs */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */
        ^
note: '__uint128_t' declared here
In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:71:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_wctype_t;
        ^
note: '__uint128_t' declared here
In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:75:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types/_va_list.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
 ^
In file included from getarch.c:80:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/_stdio.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/sys/_types/_va_list.h:32:9: error: unknown type name '__darwin_va_list'
typedef __darwin_va_list va_list;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [getarch] Error 1
OpenBLAS: Detecting fortran compiler failed. Cannot compile LAPACK. Only compile BLAS.
clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk -arch arm64 -O2 -DMAX_STACK_ALLOC=2048 -Wall -march=loongson3a -fPIC -DNO_LAPACK -DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER= -DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1 -DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"0.3.19.dev\" -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME=_saxpy -DASMFNAME=_saxpy -DNAME=saxpy -DCNAME=saxpy -DCHAR_NAME=\"saxpy\" -DCHAR_CNAME=\"saxpy\" -DNO_AFFINITY -I.. -I. -UDOUBLE  -UCOMPLEX -c axpy.c -o saxpy.o
clang-10: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX' [-Wincompatible-sysroot]
clang-10: error: the clang compiler does not support '-march=loongson3a'
make[1]: *** [saxpy.o] Error 1
make: *** [libs] Error 1

It's trying to target macOS with -march=loongson3a and using the wrong clang (version 10 in /usr/local/bin/clang).
I fixed the wrong clang version by specifying $(xcrun --sdk iphoneos --find clang) instead of clang in the perl and make commands but I was still getting the -march=loongson3a error.
Then I tried $(xcrun --sdk iphoneos --find clang) --print-supported-cpus and it listed only x86 cpus? I'm lost now. I installed Xcode from the app store.... shouldn't the compiler support arm cpus?

The supported cpus

        alderlake
        amdfam10
        athlon
        athlon-4
        athlon-fx
        athlon-mp
        athlon-tbird
        athlon-xp
        athlon64
        athlon64-sse3
        atom
        barcelona
        bdver1
        bdver2
        bdver3
        bdver4
        bonnell
        broadwell
        btver1
        btver2
        c3
        c3-2
        cannonlake
        cascadelake
        cooperlake
        core-avx-i
        core-avx2
        core2
        corei7
        corei7-avx
        generic
        geode
        goldmont
        goldmont-plus
        haswell
        i386
        i486
        i586
        i686
        icelake-client
        icelake-server
        ivybridge
        icelake-server
        ivybridge
        k6
        k6-2
        k6-3
        k8
        k8-sse3
        knl
        knm
        lakemont
        nehalem
        nocona
        opteron
        opteron-sse3
        penryn
        pentium
        pentium-m
        pentium-mmx
        pentium2
        pentium3
        pentium3m
        pentium4
        pentium4m
        pentiumpro
        prescott
        sandybridge
        sapphirerapids
        silvermont
        skx
        skylake
        skylake-avx512
        slm
        tigerlake
        tremont
        westmere
        winchip-c6
        winchip2
        x86-64
        x86-64-v2
        x86-64-v3
        x86-64-v4
        yonah
        znver1
        znver2
        znver3

Weird, I do not see where it is getting the Loongson3 arch from (only spot in the build system is in Makefile.system where it adds that if and only if the cpu is Loongson3R3 or R4). I'll let my test PR print out the supported cpus from the clang it finds.

The correct command would be -arch arm64 --print-supported-cpus, which does list a bunch of arm cpus but the problem remains.
Ultimately -march=loongson3a is a symptom of something else. I'm installing Xcode on big sur, let's see how it goes.

Right - took a while for the CI job to come to the same conclusion, apparently default arch is the host on which it is running, no matter what sdk was selected. Loongson3A is MIPS64 so very weird to come up in your context...

I tested it on Big Sur, same error (but it worked before). I must have not instelled or configured something on this fresh system.
I did instal, Xcode, sudo xcode-select --install and I do have perl.

I think I know where the loongson3a is coming from. I generated Makefile.confand config.h manually by calling the perl line but I did not call getarch or getarch_2nd.
This fixes the loongson3a problem and gets me a bit further down the line, but the Unsupported architecture errors persist.
perl ./c_check Makefile.conf config.h "$(xcrun --sdk iphoneos --find clang) -isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch arm64 -target arm64-apple-ios9.0"

$(xcrun --find clang) -o getarch getarch.c  cpuid.S
./getarch 0 >> Makefile.conf
./getarch 1 >> config.h

$(xcrun --find clang) -I. -DFORCE_ARMV8 -DUSER_TARGET -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_AVX -DNO_AVX2 -DNOAVX512 -DHAVE_GAS=1 -o getarch_2nd getarch_2nd.c
./getarch_2nd 0 >> Makefile.conf
./getarch_2nd 1 >> config.h

make TARGET=ARMV8 BINARY=64 HOSTCC=$(xcrun --find clang) CC=$(xcrun --sdk iphoneos --find clang) CFLAGS="-isysroot $SDKROOT -arch arm64 -target arm64-apple-ios9.0" NOFORTRAN=1 libs

The output is extremely long.

Why getarch on x86 is getting aarch64 headers? Seems HOSTCC (used to build getarch) somehow gets arm64 headers ( it is in first 2 screens from massive log)

I just noticed that all the errors happen when building getarch.c, that's an util and supposed to be called on the host. It makes perfect sense for the compilation to break with an iPhone sysroot (stdio.h isn't available and HOSTCC targets x86).
Sure enough
make TARGET=ARMV8 BINARY=64 HOSTCC="$(xcrun --find clang) -isysroot $(xcrun --show-sdk-path)" CC="$(xcrun --sdk iphoneos --find clang)" CFLAGS="-isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch arm64 -target arm64-apple-ios" NOFORTRAN=1 libs

compiles with no warnings[1].
lipo -info libopenblas.a
Non-fat file: libopenblas.a is architecture: arm64

lipo -info libopenblas_armv8p-r0.3.19.dev.a
Non-fat file: libopenblas_armv8p-r0.3.19.dev.a is architecture: arm64

Besides my general bad luck, why didn't anyone else run into this problem?
[1] there are some warnings but they look "normal", can anyone tell me if they see it too? (ctrl+f "warning")

Try HOSTCC=cc It just compiles native CPUID and emits those few text files.

Try HOSTCC=cc It just compiles native CPUID and emits those few text files.

What do you mean? HOSTCC=CC gives the same error as before.

in small letters - a POSIX C compiler cc should serve to compile a basic program for platform.

Does not work with the wiki command line. Does work with the command line I posted above.

Hm, wiki command line contains HOSTCC=clang, so would be expected to work unless the PATH is set up in such a way that the wrong (crosscompiler) clang is found first. (Your "xcrun --find ..." does look safer in comparison)

I do have another clang in /usr/local but I also had it in the previous system and everything worked just fine.
I can build with the custom clang as long as I specify the SDKROOT of the HOSTCC.
All things considered I do agree that xcrun is a better approach. Would you like me to edit the wiki? (It would be better to test in the CI first).

If you have time, please do.
HOSTCC is essential mark for cross-build, it avoids local tests and is used to compile getarch that completes Makefile-s

Done.

What do you mean by that? Documentation wiki is not subject to any testing.

Proodreading: you should not set CFLAGS, you can set CCOMMON_OPT+=$(sdkroot-is-where)
The problem is that CFLAGS environment is passed to LAPACK build system, no fortran on OSX->IOS but if one appears stuff will break.

Looks good to me, thanks.
(@brada4 : setting CFLAGS was also part of the previous entry, and if and when a Fortran compiler becomes available the wiki page is likely to be rewritten anyway.


Album-art for Google music wrong

The link to the album-art of music played via Google-music all-inclusive is not fully working. You have to add the lms-server's url and even then it only links to one other cover in the playlist and not to the actual playing one.

Thanks for your report.
A few questions, I would like you to answer:

Can you please provide a screenshot of how the URL looks like in ioBroker.admin.
Can you please provide a log file with ioBroker.squeezebox running at the highest log level?
Is there a way to test this without a Google Music account?
Do the covers work with players? (software and/or hardware?)

URL in ioBroker.admin is eg: googlemusicimage/lh4.ggpht.com/d-Gc0Bm_ZdK4WhqPx6NomGpBRAxfNQJB6pcf_ZU7itopeg4wFyDmidRI0AZx/image.jpg (i have to put the LMS-ip:port in front of it to use it.)
Logfile: http://pastebin.com/XzjPXqQD (IP & MAC anonymized)
I think you can test it with the free google-Play-Music account too. But you have to install the [code=https://github.com/hechtus/squeezebox-googlemusic]Google-Music plugin [/code]on your LMS.
The Covers work on all Hardware-players and the Squeezectrl on android and the WebIF.

@mrMuppet Please have a look at my update and let me know if this fixes your issue.
Unfortunately I can't install this plug-in easily on my NAS (which is running LMS), so I can't test it.


OK for a first effort..

The main problem I see with CONPty is that it seems inextricably linked to using pipes for communications, and the Windows implementation of pipes has a number of severe limitations that make them difficult to use for ported code from Unix.  I can enumerate a couple of the issues here:
First of all, pipe handles are not waitable handles.  There is no easy way to do something select()-like with pipe handles - you have to resort to polling to determine if the pipe is readable, and determining writability in any real way is next to impossible.
The fact that CONPty doesn't support asynchronous I/O for pipe handles makes this problem doubly difficult - otherwise one might use named pipes with overlapped IO to help prevent blockages.
There still exist certain pipe operations which can block indefinitely if there is a different process that is blocked in a ReadFile() on the same pipe handle.  This bug has existed for ages - I have not seen any sign that this has ever been corrected.  I have a testcase that I just ran on the latest Win10 (with ConPTY) and I still see the thing deadlocking until the read is satisfied.  In the past I have seen such deadlocks involving CloseHandle(hPipe), GetFileInformationByHandle(hPipe, ...), and I believe a few others.
If you clean up some of the issues related to pipes, then I might be a lot more interested in trying to use CONPty in production code.

Doesn't this belong in https://github.com/Microsoft/console?
/cc @zadjii-msft


Switch from markdownlint-cli to markdownlint-cli2

Is your feature request related to a problem?
markdown-lint supports configuration files per directory.
Example:
root directory
default: true
MD013: false

sub directory docs/decisions
default: true
MD013: false
MD024: false

When running on such a repository and a file in docs/decisions violates MD024, markdown-cli reports an error:
$ npx markdownlint-cli '**/*.md' --ignore node_modules
docs/decisions/0010-support-categories.md:103 MD024/no-duplicate-heading/no-duplicate-header Multiple headings with the same content [Context: "#### Examples"]
docs/decisions/0015-include-consulting-informed-of-raci.md:32 MD024/no-duplicate-heading/no-duplicate-header Multiple headings with the same content [Context: "### Include "Consulted" and "I..."]

Since this action is based on markdownlint-cli, it does not support multiple markdownlint configuration files - and thus also reports errors.
When running markdown-cli2, no error is reported:
$ npx markdownlint-cli2 "**/*.md" "#node_modules"
markdownlint-cli2 v0.4.0 (markdownlint v0.25.1)
Finding: **/*.md !node_modules
Linting: 31 file(s)
Summary: 0 error(s)

Describe the solution you'd like
Change from markdownlint-cli to markdown-cli2.
Additional context
Blog post on markdownlint-cli2: https://dlaa.me/blog/post/markdownlintcli2

I drafted a PR at https://github.com/koppor/markdown-lint/pull/1. Will create a PR to this repository as soon as upstream issues are fixed.

I apologize for the long answer.
Did I understand you correctly.
In this issue, you suggest switching to the official image davidanson/markdownlint-cli2
Now the check will go through the configuration file inside the checked directory.
For example:
src/
├─ docs/
│  └─ api/
│     ├─ changelog.yaml
│     ├─ README.md
│     ├─ API.md
│     ├─ UPDATES.md
│     └─ version2/
│        ├─ changelog.yaml
│        ├─ VERSION_2.md
│        └─ TO_UPDATE/
│           └─ UPDATES_V2.md
├─ changelog.yaml
└─ CHANGELOG.md

Directory /src

CHANGELOG.md uses ./src/changelog.yaml

Directory /src/docs/api

README.md uses ./src/docs/api/changelog.yaml
API.md uses ./src/docs/api/changelog.yaml
UPDATES.md uses ./src/docs/api/changelog.yaml

Directory /src/docs/api/version2

VERSION_2.md uses ./src/docs/api/version2/changelog.yaml

Directory /src/docs/api/version2/TO_UPDATE

UPDATES_V2.md uses ./src/docs/api/version2/changelog.yaml

@eldario Partially. The configuration file is .markdownlint.yaml if not configured differently. Thus, directory /src/docs/api/version2/TO_UPDATE tries to read src/docs/api/version2/TO_UPDATE/.markdownlint.yaml. If that does not exist, it tries to read src/docs/api/version2/markdownlint.yaml.
I still need to work on https://github.com/DavidAnson/markdownlint-cli2/issues/49 and https://github.com/DavidAnson/markdownlint-cli2/issues/50 to be able to get markdownlint-cli2 running "properly" with this custom CHANGELOG configurations. In my draft-PR, I need to copy configurations files back and forth. E.g., https://github.com/koppor/markdown-lint/blob/c2a97fcebfb4d65d83ffc2be13fb6f6d76675d0a/.github/workflows/ci.yml#L31

@eldario shall we close this issue?

You can close this issue. The work-around is to use this action for validating CHANGELOG.md files and markdownlint-cli2-action for validating all other Markdown files.


Preview fail running inside bash on Windows

[X] I have read through the manual page (man fzf)
[X] I have the latest version of fzf
[X] I have searched through the existing issues

Info

OS

[ ] Linux
[ ] Mac OS X
[X] Windows
[ ] Etc.

Shell

[X] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
Running fzf inside bash on Windows (either running directly bash.exe or inside MSYS2 environment), the preview doesn't work!
If I run this command: fzf --preview 'cat {}', the preview window shows for any selected file:
exec : "C:\\Users\\Rafael Dominiquini\\bash": file does not exist
My bash is located on '/usr/bin/bash' or 'C:\Developing\MSYS2\usr\bin\bash.exe'
Everything works fine inside powershell, pwsh, cmd! It works even inside zsh (Running on Windows provided by MSYS2)!
Thanks.

Found the bug! Some script was overwriting the SHELL variable!

@Dominiquini I'am running into the same problem, can you explain how you fixed it?


Improve Python bundling speed

Discord thread: https://discord.com/channels/983865673656705025/983866416832864350/1080155956815593532
Docker is used to bundle Python functions since 13eb42c. This PR changes the way source code and dependencies are copied into the final bundle to speed up the bundling process:

Dependencies are copied from the Docker container using image.cp instead of rsync inside the container.
Source code is copied directly from the entry directory to the output directory on the host using fs.cpSync instead of rsync inside of the Docker container from one bind mount to another.

Here's a performance comparison between the versions. The comparison uses:

A mid-spec MacBook Pro (2 GHz quad core i5 with 32 GB of RAM).
A project that contains 13 Python lambda functions and uses Poetry as the package manager.

Step
Baseline
This PR

Build Docker image
0.27s
0.28s

Copy dependencies
112.62s
9.46s

Copy source
4.69s
0.32s

(This table represents per-function bundle times, so the total amount of time to bundle a function is the sum of the values in a column)

This is incredible work thank you! Should have known not to blindly copy CDK 's code.  Merging


[IAST - Insecure hashing] New endpoints spring-boot(java) and express…

Add new endpoints to check insecure hash IAST
Add new test to check that endpoints are available (Does not check for vulnerability detection as long as it is not implemented in the library.)

@robertomonteromiguel you can merge it when you want


Symbols are invalid for date

Using the following request GET https://api.exchangeratesapi.io/latest?base=EUR&symbols=USD,HKD,IDR,INR,MYR,SGD,JPY,CZK,AUD,EUR,SEK,GBP,NOK,PLN,DKK,BRL,CAD,ZAR,MXN,NZD,CNY,CHF produces the following error:
{
error: "Symbols 'USD,HKD,IDR,INR,MYR,SGD,JPY,CZK,AUD,EUR,SEK,GBP,NOK,PLN,DKK,BRL,CAD,ZAR,MXN,NZD,CNY,CHF' are invalid for date 2019-10-28."
}

I'm not quite sure what the error means? When leaving out the symbols, everything is working fine.
Update: When removing the symbol which is base, the request works. Is this the intended behavior?

@jesperbruunhansen It just appears to be an issue with the EUR symbol
The following works as intended
https://api.exchangeratesapi.io/latest?base=EUR&symbols=USD,HKD,IDR,INR,MYR,SGD,JPY,CZK,AUD,SEK,GBP,NOK,PLN,DKK,BRL,CAD,ZAR,MXN,NZD,CNY,CHF

ARS (Argentine Peso) isn't supported?
Is there a list which currencies are supported?

1 year later and EUR to EUR still throwing an error
https://api.exchangeratesapi.io/latest?base=EUR&symbols=EUR


tigera-operator chart Chart.yaml version mismatch with index.yaml

Expected Behavior
The version field in Chart.yaml does not match the version published in index.yaml and associated tarballs.  This breaks certain helm-related tools such as Praqma/helmsman
$ curl -s https://calico-public.s3.amazonaws.com/charts/index.yaml | grep -E "version:|appVersion:|tgz" | head -3
    appVersion: v3.19.1
    - https://github.com/projectcalico/calico/releases/download/v3.19.1/tigera-operator-v3.19.1-2.tgz
    version: v3.19.1
$ ls
tigera-operator-v3.19.1-2.tgz
$ tar xvf tigera-operator-v3.19.1-2.tgz tigera-operator/Chart.yaml
tigera-operator/Chart.yaml
$ grep -E "version:|appVersion:" tigera-operator/Chart.yaml
appVersion: v3.19.1-e9e1e40ca
version: v3.19

$ helm search repo calico/tigera-operator --versions
NAME                    CHART VERSION   APP VERSION     DESCRIPTION
calico/tigera-operator  v3.19.1         v3.19.1         Installs the Tigera operator for Calico
calico/tigera-operator  v3.19.0         v3.19.0         Installs the Tigera operator for Calico
calico/tigera-operator  v3.18.4         v3.18.4         Installs the Tigera operator for Calico
calico/tigera-operator  v3.18.3         v3.18.3         Installs the Tigera operator for Calico
calico/tigera-operator  v3.18.2         v3.18.2         Installs the Tigera operator for Calico
calico/tigera-operator  v3.18.1         v3.18.1         Installs the Tigera operator for Calico
calico/tigera-operator  v3.18.0         v3.18.0         Installs the Tigera operator for Calico

Current Behavior
When running helmsman with the following Desired State File (yaml):
helmsman.yaml
helmRepos:
  calico: https://calico-public.s3.amazonaws.com/charts

namespaces:
  tigera-operator: {}

apps:
  tigera-operator:
    name: tigera-operator
    chart: calico/tigera-operator
    version: v3.19.1
    namespace: tigera-operator
    enabled: true
    priority: 0

The following error is thrown:
$ helmsman -f helm/helmsman.yaml --target tigera-operator

 _          _
| |        | |
| |__   ___| |_ __ ___  ___ _ __ ___   __ _ _ __
| '_ \ / _ \ | '_ ` _ \/ __| '_ ` _ \ / _` | '_ \
| | | |  __/ | | | | | \__ \ | | | | | (_| | | | |
|_| |_|\___|_|_| |_| |_|___/_| |_| |_|\__,_|_| |_| version: v3.7.2
A Helm-Charts-as-Code tool.

2021-07-18 23:49:51 INFO: Parsed [[ helm/helmsman.yaml ]] successfully and found [ 1 ] apps
2021-07-18 23:49:51 INFO: Validating desired state definition
2021-07-18 23:49:51 INFO: Setting up kubectl
2021-07-18 23:49:51 INFO: Setting up helm
2021-07-18 23:49:55 INFO: Getting chart information
2021-07-18 23:49:55 ERROR: chart [ calico/tigera-operator ] with version [ v3.19.1 ] was found with a mismatched version: v3.19
2021-07-18 23:49:55 CRITICAL: chart validation failed

Possible Solution
Adjust helm chart build/publishing process to match Chart.yaml version field with index.yaml version.
Steps to Reproduce (for bugs)

Download helm + helmsman.
Add calico chart repo (preview URL): helm repo add calico https://calico-public.s3.amazonaws.com/charts
Install the tigera-operator chart using helmsman with the above helmsman.yaml file: helmsman -f helmsman.yaml --apply

Context
Helm itself is able to tolerate the version mismatch, but helm-related tools fail.
Your Environment

Calico version: v3.19.1
Orchestrator version (e.g. kubernetes, mesos, rkt): k3s v1.21.0+k3s1
Operating System and version: 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Link to your project (optional):

Pinging @lwr20 (who knows more about helm stuff than I do 😁 )

And @ozdanborne knows more about this than I do :)

So this part of the makefile should be setting the https://github.com/projectcalico/calico/blob/master/Makefile#L66-L88

@mgleung Any idea who did the v3.19.1 release?  I think that RELEASE_CHART was not set?

@lwr20 it looks like there was an issue with our release process as you've pointed out and we didn't build a release version of the chart as a part of the v3.19.1 release. My understanding is that we had some old scripts that were setting RELEASE (the old env variable that signified release values) as opposed to RELEASE_CHART. That being said, those scripts appear to have been corrected now so I'm hoping that this is only an issue with the v3.19.1 chart.

@gclawes I just updated the v3.19.1 release with the tigera-operator-v3.19.1-3.tgz chart which should be the same as the v3.19.1-2 chart except for the changes to the versions. The helm index should be updated to point to that chart within the next 24 hours.

I just confirmed that the helm index has been updated properly. I will close this issue, but if anyone continues to run into this, feel free to comment and we'll reopen the issue.


Support packed value dimensions in Grid interfaces

This issue is a reminded to re-introduce a feature that didn't make it into PR #542: the ability to pack value dimensions into a single array in GridColumns. This PR is going to be merged to master shortly.
This was prototyped using a dictionary key called 'vdims' but I think it would be nicer to allow tuple keys containing the actual value dimension names e.g ('height', 'pressure', 'temperature').

Can't see this making it into 1.7, postponing.

Agreed.


iphone5 crash

I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

ionic run ios --target "iPhone-5"
the app close instantly unable to open even in any other simulator it works
Expected behavior:

ionic run ios --target "iPhone-5"
run normally in iphone5 ios10.2
Steps to reproduce:

Related code:
ionic run ios --target "iPhone-5"

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: OS X El Capitan
Node Version: v7.4.0
Xcode version: Xcode 8.2.1 Build version 8C1002

Does it crash if you add the --prod flag when running the command?

confirm error with prod flag
ionic run ios --prod --target "iPhone-5"
ios 8.1
ios 10.2
tested both of them
even i tested the ionic super app its working fine

Hello @mohamedsharaf , unfortunately I cannot reproduce this issue. Does it log any error when it crashes? What version of iOS is your iphone 5 sim running?

i tested in both version
ios 8.1
ios 10.2
it just close the app and go to home screen

`
Marker - Jan 12, 2017, 12:08:23 AM
Jan 12 00:08:25 mohameds-MacBook-Pro com.apple.CoreSimulator.SimDevice.B8254F14-CA6C-4CDA-B059-D6E11BA12F50.launchd_sim[883] (UIKitApplication:io.ionic.conferenceapp[0x47be][942]): Program specified by service does not contain one of the requested architectures: Ð^H
Jan 12 00:08:25 mohameds-MacBook-Pro.local SpringBoard[897]: Unable to get pid for 'UIKitApplication:io.ionic.conferenceapp[0x47be]': No such process (err 3)
Jan 12 00:08:25 mohameds-MacBook-Pro.local SpringBoard[897]: Application 'UIKitApplication:io.ionic.conferenceapp[0x47be]' exited voluntarily.
Jan 12 00:08:25 mohameds-MacBook-Pro com.apple.CoreSimulator.SimDevice.B8254F14-CA6C-4CDA-B059-D6E11BA12F50.launchd_sim[883] (UIKitApplication:io.ionic.conferenceapp[0xb16f][943]): Program specified by service does not contain one of the requested architectures: Ð^H
Jan 12 00:08:25 mohameds-MacBook-Pro.local SpringBoard[897]: Unable to get pid for 'UIKitApplication:io.ionic.conferenceapp[0xb16f]': No such process (err 3)
Jan 12 00:08:25 mohameds-MacBook-Pro.local SpringBoard[897]: Application 'UIKitApplication:io.ionic.conferenceapp[0xb16f]' exited voluntarily.
Jan 12 00:08:25 mohameds-MacBook-Pro.local SpringBoard[897]: Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port
`

@mohamedsharaf I was able to reproduce this on the same target. If you run it through xCode does it work for you too?

yes i got the same error through xcode
but i have no idea what is this :)

@mohamedsharaf So the app doesn't work if you open it up through xCode and run it on the iPhone 5 simulator? Or it does?

no it does not work

if founded this comment about similar issue
you must launch your app in a 64-bit capable simulated device. iPad Retina, iPad 2, iPhone 4S and iPhone 5 are all 32-bit only. You need to launch a iPhone-5s, iPhone-6, iPhone-6-Plus or iPad-Air if you want to test your app in 64-bit mode.
i will test in real iphone5 soon and will update

feels like a resource thing - my iphone 6 crashed on startup in xcode - eventally i could launch form the device ok after i killed off a few other apps - are there big resource requirements?

i dont think its resource i am waiting iphone 5 device to test on it and i will post updates

Any updates? It still crash on simulated iPhone 5 device. iOS version 10.3

i will do my best tp test ionic3 tomorrow and post u update

But on simulated iPhone 5s it works, iOS 10.3

yes it works fine in 5s simulator and also works in 5s device
but i dont have chance yet to have iphone5 to try the device

Same problem for me, all projects cordova build with Ionic or just BlankCordova template crash with 5 simulator and fine with 5s and >
Log of simulator : Program specified by service does not contain one of the requested architectures
But works by directly compiling from xcode


Please provide a function to spawn a thread per CPU

I'd love to have a helper function smol::start_threads that starts one thread per CPU, and either returns nothing, or returns a token that can be handed to a smol::stop_threads function to tell those threads to stop and then wait for them.
Alternatively, if it's simpler, I'd be happy with a function that takes a future and starts a thread pool before calling block_on on it, stopping the thread pool when the future finishes.
As discussed at https://www.reddit.com/r/rust/comments/g917ad/smol_stjepang_a_small_and_fast_async_runtime_for/fortim2/

Please see this crate: https://github.com/wusyong/smol-potat
There's right now no requirement for such ergonomic sugar to sit inside the smol crate itself

For future reference: smol::run now does this by default.
Thanks, @stjepang!


Duplicate module name: NavigatorIOS

This is my package.json
"dependencies": {
    "react": "16.0.0-alpha.6",
    "react-native": "^0.43.3",
    "react-navigation": "1.0.0-beta.7"
  }

The temp fix for this (with the last snapshot navigation not work too) was to use last snapshot for react navigation:
"react-navigation": "git+https://github.com/react-community/react-navigation.git"
Can we have some version of navigation that works with react-native 0.43 ?
I have check with this fix:
https://github.com/react-community/react-navigation/issues/923#issuecomment-294844398
But nothings changed this is the full log:
https://pastebin.com/N2qah0gX

This is fixed after restart PC. I suppose that its have something wrong in OS temporary folder. Search for .tmp folder in project dir and delete it too.


implementation of the monthselect plugin in ember flatpicker in ember

i tried to implement the plugin inside my project as i can not implement it in the hbs file and it cannot pass it's parameters to the js file
in the .hbs file the code as follows:
<EmberFlatpickr
  @plugins=plugins />

in the .js file:
import Controller from '@ember/controller';
import monthSelect from 'flatpickr/dist/plugins/monthSelect /index';

export default Controller.extend({
    plugins: [new monthSelect ()],
});

in ember-cli-build.js file:
app.import('node_modules/flatpickr/dist/plugins/monthSelect /index.js');

@asmaaEbed95 we may need to add plugins here https://github.com/shipshapecode/ember-flatpickr/blob/master/addon/components/ember-flatpickr.js#L114 I've never used plugins, and I don't really know.

It think this issue can be closed.
The approach works nowadays.
 <EmberFlatpickr
      @date={{this.date}}
      @onChange{{on "change" (pick "target.value" this.handler))}}
      @plugins={{array this.monthSelect}}
    />

all the arugments to EmberFlatpickr are collected via ...rest and passed to the constructor.  :+1:

@derrabauke perhaps we should document this though?


Incorrect problem report when analyzing a recursive function

Environment data

Language Server version: 2020.12.2
OS and version: macOS Big Sur 11.1
Python version (& distribution if applicable, e.g. Anaconda): 3.8.6 from conda-forge

Expected behaviour
No problem should be reported.
Actual behaviour
Pylance reports an issue:
Function with declared type of "dict[Unknown, Unknown]" must return value
  Type "None" cannot be assigned to type "dict[Unknown, Unknown]"

Code Snippet / Additional information

def foo(count: int = 5) -> dict:
    if count > 0:
        count -= 1
        foo(count)
    else:
        return(dict(foo='bar'))

The error message is correct for the sample you provided above. There is a code path where None is returned, so the proper return type annotation should be Optional[dict] (or more properly Optional[Dict[str, str]]).
Did you perhaps intend to include a return statement in the if clause as well?

Hello @erictraut,

Did you perhaps intend to include a return statement in the if clause as well?

ouch, now this is truly embarrassing. Yes, yes indeed I forgot the return. Thanks for pointing this out. Have a nice day, and Happy Holidays!


I can't seem to use $nin right

db.createIndex({
            index: {
                fields: ['lastName','absents','year','type'],
                name: 'myIndex',
                ddoc: 'myIndex'
            }
     })
    });

var date = '10/10/15'
 db.find({
    selector: {
        lastName: {$gt: null},
        year: {$gt: null},
        type: 'something',
        absents: {
            $nin: [date]
        }
    },

What im trying to do is get a list of results where the specfied date is not found.
Since im trying to check absences.. I want to get a list of results where the current date is not found.
So that i can check who are not currently absent.
I thought of using $nin since that seemed to be able to check arrays.. but im getting this error whenever I execute the db.find command.
TypeError: Cannot use 'in' operator to search for 'startkey' in undefined
    at m (http://<IP_ADDRESS>:52906/js/pouchdb.find.min.js:1:22127)
    at b (http://<IP_ADDRESS>:52906/js/pouchdb.find.min.js:1:22468)
    at k (http://<IP_ADDRESS>:52906/js/pouchdb.find.min.js:1:22979)
    at http://<IP_ADDRESS>:52906/js/pouchdb.find.min.js:1:18535

What am I doing wrong? I'm not really sure if I should put this issue here but I don't know where else to ask questions.
I apologize in advance.

I got it to work but it's definitely a strange behavior.
It only started working after I added _id as a criteria..
by adding _id: {$gt: null}  as a selector it suddenly started working and it only works with $gt operator it doesn't work with $exists: true.. which I find quite strange since $gt: null should be equal to $exists.. atleast that's what I believe..
none of my selectors work with $exists: true but whenever I add in the "_id: {$gt: null}" in the first criteria of my selector $exists:true starts working for all the other criteria..
Also I noticed that if I add "type" in my selector I get the TYPE ERROR msg that I posted earlier after removing it , everything started to work.
I'm not really sure if that's an abnormal behavior or I'm just not used to this plugin.
Still a very helpful plugin though.

$gt: null should be equal to $exists

Yes, this  has been covered in #138. It's very counter-intuitive. :(
Adding _id: {$gt: null} is probably only fixing your issue because it chooses the built-in allDocs() index, and then does your entire query in-memory, which is probably not what you want.
I think the fix is that you need to remove absents from your index, because since you're using $nin, it's not going to be using the index for it at all.
However, the fact that it throws an error is less than optimal, so I'll keep this issue open.

Removing absents from my index did the trick. I was able to retrieve the data from pouchdb without adding _id as a selector.
but using $exists: true still doesn't work so I decided to go with $gt: null.
You raised some good points in #138. Great job maintaining this plugin. It really does make querying in pouch easier.

This issue was moved to pouchdb/pouchdb#6280


Support other currency/issuer formats for search

The search currently supports {currencyCode}.{issuer} we should also support {currencyCode}:{issuer}, {currencyCode}+{issuer}, and {currencyCode}-{issuer}.
These are formats used by some many dexs.
https://gatehub.net/markets/XRP/EUR+rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq
https://xdex.com/tokens/SOLO:rsoLo2S1kiGeCcn6hCUXVrCpGMWLrRrLZz
https://sologenic.org/trade?network=mainnet&market=534F4C4F00000000000000000000000000000000%2BrsoLo2S1kiGeCcn6hCUXVrCpGMWLrRrLZz%2FXRP
https://xpmarket.com/dex/XRP/USD-rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B

For reference, could we link (here in this issue) examples of explorers and dexs that use the aforementioned formats?

fixed by #762


Multiple feature selection and batch delete

Have the ability to select multiple features (both ctrl-click as well as drawing an area) and batch delete.

Capability has been added.


System Ambiguity Prevents Rendering After Build (Sometimes) with Bevy .9/.9.1

I'm using bevy_lyon to draw a laser, sometimes it works - other times I'll add a log statement, new build, and it no longer renders.
When running the ambiguity reporter I can see that there is an execution ambiguity; but its between the library and bevy.
"bevy_prototype_lyon::plugin::mesh_shapes_system" and "bevy_render::view::visibility::calculate_bounds"
conflicts: ["bevy_asset::assets::Assets<bevy_render::mesh::mesh::Mesh>"]

Nevermind, Issue was Z-Fighting!


Travis CI

My GitHub account is connected to the company organization when I don't use my private PC.
So, 404 status error occurs every time I change the organization of Circle CI from private to company or from company to private; the Deploy key in the Github repository is A problem of extinction arises.
Therefore, unfortunately, I'm giving up on using Circle CI and will be using Travis CI.

We are unable to start your build at this time. You exceeded the number of users allowed for your plan. Please review your plan details and follow the steps to resolution.

GG

Still, what I felt while writing .travis.yml is that Circle CI is much more mobile-friendly, and that step-by-step, branch, and job filtering seem to be good.

Well... I want to use Circle CI, but I think I will have to resolve conflicts due to organizational changes.

I reported it to the Circle CI and the problem stopped occurring before I knew it, so I decided to become a follower of Circle CI :)


Change social media icon and close project color, background color on hover

On hover on the social media icon, change its color so, it will be more attractive. And on hovering on close project button (portfolio items) its background color should also change.

Since these use a button dark styling, there is still an effect there. This sort of change is a usability preference that we would recommend that people decide on in a case by case basis.


Add some kind of license

Probably Apache 2.0. Add LICENSE, NOTICE. Give thanks to Jake Wharton for ActionBarSherlock and ViewPagerIndicator. Figure out how to deal with the mess without having to add license to every file. Update README.


Add RIOT examples

The only relevant changes here are in the "examples" directory.
Probably not the most clean solution, but it works for now.
See my comments for some questions.

Okay I reverted the RIOT submodule :)

I set this to draft because even though the threads work now, there are still some compilation problems with riot because of stricter rules. I will see to disable them somehow in make.

@erlingrj I think this should be ready to merge now. Feel free to comment if you find remaining problems with this PR :)

Okay I have rebased with main and fixed the issues.
I have removed the tcp test examples and added a basic hello example just like zephyr has.

@LasseRosenow thanks for this, great work. I am merging it and I will resolve the failing tests in #71


Improve wording

closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10501

@JoanneHendrickson
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Documentation on building/running tests is probably out of date.

Hi
So, following the instructions, I ran cmake
 cmake .. -DSIMD=AVX2 -DDEV=1 -DBOOST_ROOT=/**/boost_1_72_0 -GNinja

It says:
CMake Warning:
  Manually-specified variables were not used by the project:

    BOOST_ROOT
    DEV

Then: ninja -j1 update - unknown target
However,  running:
ninja -j 4 tests
ctest

Has worked, apparently successfully:  100% tests passed, 0 tests failed out of 2691
Was running on macos, I know - not a supported target, but I hope it will work since the tests passed.

Hi Denis,
Sorry for the delay in our response. Yes some parts are bad copy/paste from Boost.SIMD. We do not need the DEV and BOOST_ROOT CMake variables anymore as we do not depend on Boost. Note that we are thinking of switching to nsconfig for several reasons:

internally we do not use CMake as it is too slow (especially on Windows), does not support several compilers at once...
we are adding support for CUDA and ROCm and the support of these in CMake is not trivial. For CUDA, according to the version of CMake and the host system the CMake code will be different. For ROCm, as there are far less users, we think that we will face problems.
build files using nsconfig tend to be much smaller, hence less bugs, more readability, more maintainability.
Nsconfig uses a Makefile-like syntax which makes it much much easier for people to understand and write.

Apple is not a platform we do not want. It is just that we do not have a MAC in-house for our tests. We are working on that. NSIMD should compile and run fine on MAC as we test on Linux with Clang. If you find any Apple-specific bug feel free to report them to us.
As for the documentation, we are working on three modules and we thinking of the best way to include module documentation nicely in our system. Once we will be decided, we will make a pass on all the documentation to fix all the mistakes you found out. Thank you for that by the way.

@gquintin - it was more FYI.


Add Application Function Id (afId) or Sponsor Id

Problem description
Service Provider would like to track QoD session data usage for third party usage reporting or monetization purposes.
Possible evolution
Add Sponsor Id or Application Function ID (afID) in QoD API. These IDs are defined in 3GPP specs TS 29.122 (SCEF)  and TS 29.522 (NEF).  This will enable QoD session usage tracking based on application function ID in the network.

@SyeddR
My first impression is that the use of these identifiers towards SCEF/NEF of the API provider implementation and would be (communication) service provider specific (not all of them will use SCEF or NEF, especially not if the underlying network isn't a mobile network).
Shouldn't the service provider be able to generate appropriate identifiers out of the identify information about the API consumer which comes with the API call? Why should the API consumer know these identifiers and provide them as parameters?
But maybe I missed some point here.
Side note: AsSessionWithQoS (the south-bound API of SCEF/NEF for QoD API) uses ScsAsId, not afId.

The Id could be a customer account number not necessarily tied to mobile network. As with all the other parameters we take from consumer this should be part of QoD spec, in my opinion as this is required by downstream systems (SCEF/NEF in mobile network) to enable usage tracking per app.
I am not sure if we want to keep it operator specific implementation. The whole point of CAMARA APIs is to create a standard interface, isnt it?

Btw SCsASId is different than sponsor Id. Please review TS 29.122 spec

Hi @SyeddR
If I understand your proposal, you want to add this identifier to the northbound API so that the API consumer can specify it directly. What is not clear to me is how this differs from information that the CSP would already know from the identification / authentication process, and how the API consumer would later use the identifier that they specified when they created a QoS session.
Maybe you could expand on your proposal with an example.

Btw SCsASId is different than sponsor Id. Please review TS 29.122 spec

Sure ... but you wrote "Add Sponsor Id or Application Function ID (afID)" in QoD ... and AsSessionWithQoS (the south-bound API of SCEF/NEF for QoD API) uses ScsAsId, not afId. afID has btw a very strange format, which requires to read at least one more spec. And Sponsor ID is to indicate the chargeable party, right?
As Eric wrote ... it would be good to have an use case description to understand your proposal better. Seems that at least one more API would be involved (to get analytics data).

If a requirement for usage tracking, or similar, is eventually needed in CAMARA, we should think in a transversal solution which is valid for any API. We should not just expose certain internal parameters than happen to exist in the network APIs that are involved in the implementation of QoD, but the other way around, starting with a clear requirement.

@jlurien I disagree. QoD is the only API that triggers network configuration, while rest of the other APIs are data exposure services. We would need a mechanism to track session data volume tracking per application.
@RandyLevensalor I totally agree, we should make it generic to cover non 3GPP use cases.

@hdamker

AsSessionWithQoS (the south-bound API of SCEF/NEF for QoD API) uses ScsAsId, not afId.

Note, 3GPP has changed terminology between 4G and 5G. Specifically. the "AS Session with required QOS" (TS 23.638, Clause 5.11) is named in 5G "AF Session with required QoS" (TS 23.502, Clause <IP_ADDRESS>a).  TS 29.522 (NEF API specification), Clause 4.4.9 says "description of the SCS/AS applies to the AF".
My  interpretation is, that the 4G 'ScsAsId' is the 5G 'AfId'.

@jlurien I disagree. QoD is the only API that triggers network configuration, while rest of the other APIs are data exposure services. We would need a mechanism to track session data volume tracking per application.

My point is that the requirement to track usage per 3rd party App is not exclusive of this API, and the identifier that is used to identify 3rd parties apps does not need to be anything specific in network APIs. Implementations may map whatever identifier is used to identify 3rd party apps to whatever parameter exists in NEF/SCEF APIs for that purposes. CAMARA APIs in general try to hide clients from telco concepts.

Link to Syedd's presentation

Last week the guidelines in Identity an Consent Management WG were updated with more details about the authentication phase and there it is mentioned that it is expected to have a client_id per application with its own credentials.
If there are concerns about this topic not entirely or correctly covered by the current guidelines, I suggest to open an issue in that WG, so topic can be properly discussed and considered in the guidelines, which apply to all CAMARA APIs.

opened the issue under identity and consent management project https://github.com/camaraproject/IdentityAndConsentManagement/issues/126

Added Backlog label, as Commonalities will address https://github.com/camaraproject/IdentityAndConsentManagement/issues/126 not for the Fall24 release.


Offer list for organization - API endpoints

Description:
Adding API methods that return a list of offers for an organization. New detail route for organizations viewset and filtering for offers (e.g. by organization.id).
New imports / dependencies:

django_filter

Unit Tests:

apps/volontulo/tests/views/api/organizations/test_offers_list.py
some more detaild test will be written later

Codecov Report

Merging #850 into master will increase coverage by 0.21%.
The diff coverage is 96.87%.

@@            Coverage Diff             @@
##           master     #850      +/-   ##
==========================================
+ Coverage   91.34%   91.56%   +0.21%
==========================================
  Files         104      106       +2
  Lines        2970     3000      +30
  Branches       11       11
==========================================
+ Hits         2713     2747      +34
+ Misses        256      252       -4
  Partials        1        1

Impacted Files
Coverage Δ

backend/apps/volontulo/models.py
81.36% <100%> (+3.1%)
:arrow_up:

.../tests/views/api/organizations/test_offers_list.py
100% <100%> (ø)

...ps/volontulo/migrations/0012_auto_20180228_1944.py
100% <100%> (ø)

backend/apps/volontulo/views/api.py
79.61% <90.9%> (+1.11%)
:arrow_up:

Continue to review full report at Codecov.

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


[FEATURE] Have a focused mode

Nyx Text Feature Request
Description

Have a option for use to enable focused mode, in which there's only text area to edit and shortcut keys for saving and editing.
Vim like keyboard centric environment

Problem Statement

Solves the pain to use mouse

Use Cases

Speeds up writing in focused manner

Implementation Ideas

Not at the moment

Your GitHub Username

@parazeeknova

Added Immersive mode, might reopen later


WB2L dump from Tuya A60 RGBCWW bulb

WB2L: https://developer.tuya.com/en/docs/iot/wb2l-datasheet
Tuya E27 A60 RGBCWW : https://www.lazada.com.my/products/i2537570470-s11249633916.html
Used https://github.com/khalednassar/bk7231tools to dump default size (python bk7231tools.py read_flash -d COM7 -s 0 -c 512 wb2l.bin
wb2l.zip

Just added the profile, which interestingly seems to match the LSC 970715 device. Maybe that's a generic app image, would be interesting to see if more devices match.
@ferbulous could you validate if that profile under Tuya-Generic brand works?

Hi, i'm still trying to get it to work, I'm just having this error on the last part
`[?] Select the article number of your device: E27-A60-RGBCWW-V1
 > E27-A60-RGBCWW-V1

==> Toggle Tuya device's power off and on again 6 times, with ~1 sec pauses in b                                                                             etween, to enable AP mode. Repeat if your device's SSID doesn't show up within ~                                                                             30 seconds.
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Found access point name: "A-1FCD", trying to connect..
Device 'wlp2s0b1' successfully activated with '004b119d-410e-4c7c-8916-45179fb99                                                                             691'.
Connected to access point.
Waiting 1 sec to allow device to set itself up..
Running initial exploit toolchain..
Exploit run, saved device config to!
output=/work/configured-devices/zJ32k48A7UNyMXoM1Ei3.deviceconfig
Saved device config in /work/configured-devices/zJ32k48A7UNyMXoM1Ei3.deviceconfi                                                                             g
==> Turn the device off and on again once. Repeat 6 more times if your device's                                                                              SSID doesn't show up within ~5 seconds.
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Found access point name: "A-1FCD", trying to connect..
Error: Connection activation failed: (53) The Wi-Fi network could not be found.
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Scanning for "(A-)|(SmartLife-)|(iHome-)" SSID...
Found access point name: "A-1FCD", trying to connect..
Device 'wlp2s0b1' successfully activated with '004b119d-410e-4c7c-8916-45179fb99                                                                             691'.
Connected to access point.
payload='{"ssid": "cloudcutter-flash", "passwd": "", "token": "AAAAAAAA"}'
Configured device to connect to 'cloudcutter-flash'
Device is connecting to 'cloudcutter-flash' access point
Cutting device off from cloud..
==> Wait for 20-30 seconds for the device to connect to 'cloudcutter-flash'. Thi                                                                             s script will then show the activation requests sent by the device, and tell you                                                                              whether local activation was successful.
Using WLAN adapter: wlp2s0b1
Configuration file: /dev/stdin
Using interface wlp2s0b1 with hwaddr 88:53:95:28:92:7d and ssid "cloudcutter-fla                                                                             sh"
wlp2s0b1: interface state UNINITIALIZED->ENABLED
wlp2s0b1: AP-ENABLED
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/src/cloudcutter/__main__.py", line 270, in <module>
    args.handler(args)
  File "/src/cloudcutter/__main__.py", line 147, in __configure_local_device_or_                                                                             update_firmware
    http_server.listen(80)
  File "/root/.local/share/virtualenvs/src-NVTF7jWz/lib/python3.9/site-packages/                                                                             tornado/tcpserver.py", line 151, in listen
    sockets = bind_sockets(port, address=address)
  File "/root/.local/share/virtualenvs/src-NVTF7jWz/lib/python3.9/site-packages/                                                                             tornado/netutil.py", line 161, in bind_sockets
    sock.bind(sockaddr)
OSError: [Errno 98] Address already in use
Oh no, something went wrong with detaching from the cloud! Try again I guess..
`

It looks like you have something already listening on your system on port 80, maybe some http server?
Make sure you have nothing listening on ports 80, 443 and 1883 before running the container.

Profile is confirmed working using the tool


nexmo-php / examples /send.php

** @elsantito  Please immediately change your account credentials since they are visible in this pull request!**
This change makes the example less useful so I'm afraid we can't accept the PR this time.


json export

Exporting your flow seems to behave differently now. I can't find a way to get the ARM json required to build the login app.

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

ID: f3cfabdb-11da-028e-d601-85b99c32f9b9
Version Independent ID: 143d1fbe-d125-366f-26f6-7e4cedc3ee4e
Content: Export flows from Power Automate to Azure Logic Apps - Azure Logic Apps
Content Source: articles/logic-apps/export-from-microsoft-flow-logic-app-template.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@jgudmundson-RETSD
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hi @jgudmundson-RETSD, thank you for your feedback. Based on the following note in the introduction, export isn't available for flows created after August 2020:

To send feedback to the product team about supporting this export capability for newer flows, please open a request at Azure Logic Apps feedback site
As this behavior is documented, we'll now close the thread.
#please-close


Add bindir to st2actions for debian packages

Same change as in StackStorm/st2#2077

:+1:
Let's get another set of :eyes:, but shouldn't be an issue.

Whoops, I'll move that commit to it's own branch and reopen @jfryman .


All versions 1.5.0-xxx don't launch desktop platform projects.

Describe the bug
I would like to apply the date and time pickers released in version 1.5.0-beta02. However, there are no working versions for desktop projects other than 1.4.3 and older.
Affected platforms
Select one of the platforms below:

Desktop

Versions

Kotlin version*:  I've tried with many, but I'm using 1.8.0.
Compose Multiplatform version*:  1.5.0-rc02
OS version(s)* (required for Desktop and iOS issues): Windows 11 version 10.0.22621 Build 22621
OS architecture (x86 or arm64): x64
JDK (for desktop issues): 11

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

Create a new desktop project
In build.gradle.kts add any implementation of the 1.5.0 version. I would like to use beta02, so: implementation("org.jetbrains.compose.material3:material3-desktop:1.5.0-beta02")
Launch the main function
See the dialog error: 'void org.jetbrains.skia.CanvasKt._nTranslate(long, float, float)'

Expected behavior
The desktop platform working on version 1.5.0 releases.
Screenshots

Additional context
The Exception for a new project:
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'void org.jetbrains.skia.CanvasKt._nTranslate(long, float, float)'
at org.jetbrains.skia.CanvasKt._nTranslate(Native Method)
at org.jetbrains.skia.CanvasKt.access$_nTranslate(Canvas.kt:1)
at org.jetbrains.skia.Canvas.translate(Canvas.kt:1085)
at androidx.compose.ui.graphics.SkiaBackedCanvas.translate(SkiaBackedCanvas.skiko.kt:84)
at androidx.compose.ui.node.NodeCoordinator.draw(NodeCoordinator.kt:357)
at androidx.compose.ui.node.LayoutNode.draw$ui(LayoutNode.kt:922)
at androidx.compose.ui.platform.SkiaBasedOwner.draw(SkiaBasedOwner.skiko.kt:352)
at androidx.compose.ui.ComposeScene.render(ComposeScene.skiko.kt:463)
at androidx.compose.ui.awt.ComposeBridge$skikoView$1$onRender$1.invoke(ComposeBridge.desktop.kt:153)
at androidx.compose.ui.awt.ComposeBridge$skikoView$1$onRender$1.invoke(ComposeBridge.desktop.kt:152)
at androidx.compose.ui.awt.ComposeBridge.catchExceptions(ComposeBridge.desktop.kt:126)
at androidx.compose.ui.awt.ComposeBridge.access$catchExceptions(ComposeBridge.desktop.kt:59)
at androidx.compose.ui.awt.ComposeBridge$skikoView$1.onRender(ComposeBridge.desktop.kt:152)
at org.jetbrains.skiko.SkiaLayer.update$skiko(SkiaLayer.awt.kt:548)
at org.jetbrains.skiko.redrawer.AWTRedrawer.update(AWTRedrawer.kt:54)
at org.jetbrains.skiko.redrawer.Direct3DRedrawer.redrawImmediately(Direct3DRedrawer.kt:73)
at org.jetbrains.skiko.SkiaLayer.paint(SkiaLayer.awt.kt:388)
at androidx.compose.ui.awt.WindowComposeBridge$component$1.paint(WindowComposeBridge.desktop.kt:59)
at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:955)
at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)
at java.desktop/javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:955)
at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)
at androidx.compose.ui.window.Window_desktopKt$Window$12$1.invoke(Window.desktop.kt:430)
at androidx.compose.ui.window.Window_desktopKt$Window$12$1.invoke(Window.desktop.kt:416)
at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$3.invoke(AwtWindow.desktop.kt:82)
at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$3.invoke(AwtWindow.desktop.kt:80)
at androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2$performUpdate$1.invoke(UpdateEffect.desktop.kt:59)
at androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2$performUpdate$1.invoke(UpdateEffect.desktop.kt:55)
at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2300)
at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:471)
at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:234)
at androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2.invoke$performUpdate(UpdateEffect.desktop.kt:55)
at androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2.invoke(UpdateEffect.desktop.kt:64)
at androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2.invoke(UpdateEffect.desktop.kt:47)
at androidx.compose.runtime.DisposableEffectImpl.onRemembered(Effects.kt:81)
at androidx.compose.runtime.CompositionImpl$RememberEventDispatcher.dispatchRememberObservers(Composition.kt:1137)
at androidx.compose.runtime.CompositionImpl.applyChangesInLocked(Composition.kt:828)
at androidx.compose.runtime.CompositionImpl.applyChanges(Composition.kt:849)
at androidx.compose.runtime.Recomposer.composeInitial$runtime(Recomposer.kt:1041)
at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:520)
at androidx.compose.ui.window.Application_desktopKt$awaitApplication$2$1$2.invokeSuspend(Application.desktop.kt:219)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:788)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:758)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Process finished with exit code 1

What else from Compose do you have in your build file? Do you use an earlier version of Compose dependencies anywhere else?

It's a brand new project creted with the latest version of IntelliJ. File -> New -> Project ->  Compose Multiplatform.
In PlatformI've selected : Desktop. The only difference I've made is to import the library. Here's the build.gradle.kts:
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("multiplatform")
id("org.jetbrains.compose")
}
group = "com.example.test"
version = "1.0-SNAPSHOT"
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
kotlin {
jvm {
jvmToolchain(11)
withJava()
}
sourceSets {
val jvmMain by getting {
dependencies {
implementation(compose.desktop.currentOs)
implementation("org.jetbrains.compose.material3:material3-desktop:1.5.0-beta02")
}
}
val jvmTest by getting
}
}
compose.desktop {
application {
mainClass = "MainKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "Test"
packageVersion = "1.0.0"
}
}
}

It's a brand new project creted with the latest version of IntelliJ. File -> New -> Project -> Compose Multiplatform.
In PlatformI've selected : Desktop. The only difference I've made is to import the library. Here's the build.gradle.kts:
import org.jetbrains.compose.desktop.application.dsl.TargetFormat

plugins {
    kotlin("multiplatform")
    id("org.jetbrains.compose")
}

group = "com.example.test"
version = "1.0-SNAPSHOT"

repositories {
    google()
    mavenCentral()
    maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}

kotlin {
    jvm {
        jvmToolchain(11)
        withJava()
    }
    sourceSets {
        val jvmMain by getting {
            dependencies {
                implementation(compose.desktop.currentOs)
                implementation("org.jetbrains.compose.material3:material3-desktop:1.5.0-beta02")
            }
        }
        val jvmTest by getting
    }
}

compose.desktop {
    application {
        mainClass = "MainKt"
        nativeDistributions {
            targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
            packageName = "Test"
            packageVersion = "1.0.0"
        }
    }
}

What do you have as "compose.version" in "gradle.properties" file?

kotlin.code.style=official
kotlin.version=1.8.0
agp.version=7.3.0
compose.version=1.3.0

That's your answer. You're mixing 1.3.0 and 1.5.0-rc02. These are not compatible. You can't pick and choose some parts. Everything needs to be on the same version.

My bad. I was lucky that the 1.4.3 was compatible until now. Thanks for your help. I'm sorry for my silly mistake.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Document topk function

In example, i see topk, but in function, i can not see any details.
If necessary, i would like to add this.

It's an aggregator rather than a functino: https://prometheus.io/docs/prometheus/latest/querying/operators/#aggregation-operators


BUG: tfdbg session cannot be used with SessionRunHooks

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):ArchLinux
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):binary
TensorFlow version (use command below):b'v1.13.0-rc2-5-g6612da8' 1.13.1
Python version:3.7
Bazel version (if compiling from source):n/a
GCC/Compiler version (if compiling from source):n/a
CUDA/cuDNN version:n/a
GPU model and memory:n/a

The following code:
#-*- coding: utf-8 -*-
#File:

import numpy as np
import tensorflow as tf
from tensorflow.python import debug as tf_debug

a = tf.placeholder(tf.float32, [10])
b = a + 1
c = b * 2

class Hook(tf.train.SessionRunHook):
    def before_run(self, _):
        return tf.train.SessionRunArgs(fetches=c)

class Hook2(tf.train.SessionRunHook):
    def before_run(self, _):
        return tf.train.SessionRunArgs(fetches=b)

sess = tf.Session()
sess = tf_debug.LocalCLIDebugWrapperSession(sess)

class SessionCreator():
    def create_session(self):
        return sess
final_sess = tf.train.MonitoredSession(session_creator=SessionCreator(), hooks=[Hook(), Hook2()])

final_sess.run(b, feed_dict={a:np.arange(10)})

Throws:
Traceback (most recent call last):
  File "tfdbg.py", line 30, in <module>
    final_sess.run(b, feed_dict={a:np.arange(10)})
  File "/home/wyx/.local/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 676, in run
    run_metadata=run_metadata)
  File "/home/wyx/.local/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1171, in run
    run_metadata=run_metadata)
  File "/home/wyx/.local/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1270, in run
    raise six.reraise(*original_exc_info)
  File "/usr/lib/python3.7/site-packages/six.py", line 693, in reraise
    raise value
  File "/home/wyx/.local/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1255, in run
    return self._sess.run(*args, **kwargs)
  File "/home/wyx/.local/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1327, in run
    run_metadata=run_metadata)
  File "/home/wyx/.local/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1091, in run
    return self._sess.run(*args, **kwargs)
  File "/home/wyx/.local/lib/python3.7/site-packages/tensorflow/python/debug/wrappers/framework.py", line 463, in run
    empty_fetches = not nest.flatten(fetches)
  File "/home/wyx/.local/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 2156, in Flatten
    return _pywrap_tensorflow_internal.Flatten(nested)
TypeError: '<' not supported between instances of 'Hook' and 'str'

I believe this issue was introduced in https://github.com/tensorflow/tensorflow/commit/1f26c65254268730b7409f517d1ed1b554d01e50 a year ago. flatten cannot handle fetches created by hooks.
The fix will be to obtain empty_fetches in a smarter way.

Fixed by https://github.com/tensorflow/tensorflow/commit/e2d269edb9217411fc4119338df949e1a741432b


Add C++ adjoint diff methods

Context: This PR will add C++ support for adjoint diff.
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:

Just a note, CodeFactor seems to be caching old runs and using those --- please ignore its Action failure.

Thanks for the reviews all. As per our chat on Friday I'm ignoring the codefactor report and merging this, as it still fails to remove the cached version.


tinygo missing vcs info

When generating a new go plugin, and then going to run xtp plugin build:
[I] ben@dylibso ~/dlete> xtp plugin build
🔨 Building dist/plugin.wasm
Running build script: mkdir -p dist && tinygo build -target wasi -o dist/plugin.wasm .
error obtaining VCS status: exit status 128
	Use -buildvcs=false to disable VCS stamping.
Log file: /Users/ben/Library/Caches/xtp/xtp-1732118894-40444.log

-buildvcs=false seems to be an option on go, not tinygo. So i'm not sure how to set that. we could perhaps init a git repo in prepare.sh? or we can figure out how to get tinygo not to do this.

hm, I can't repro this. what tinygo version are you using? and what is inside dlete?
From my root, I just ran xtp plugin init, picked Go, changed into its directory and cleanly ran xtp plugin build

[I] ben@dylibso ~/dlete [1]> tinygo version
tinygo version 0.32.0 darwin/arm64 (using go version go1.22.5 and LLVM version 18.1.2)
[I] ben@dylibso ~/dlete> go version
go version go1.22.5 darwin/arm64

dlete is a freshly generated go plugin. nothing interesting in it.  I'll try updating and see if that changes anything.

I get the same result with no issue, using go1.23.3.
Wouldn't the problem you face happen on CI too if it were a typical problem? I've never seen it.


Vb 1435 add sql scripts to configure bi weekly session template for hmp bristol

What does this pull request do?
Creates SQL with bi weekly / alternate data
What is the intent behind these changes?
Because Bristol requires these details to run

The data needs to be updated when we know when we are going live!