Can't build on Apple Silicon

Have not been able to build from source on Apple Silicon
src % sudo make -f makefile.osx
llvm-g++ -c -g -msse2 -Wall -Wextra -Wformat -Wno-ignored-qualifiers -Wformat-security -Wno-unused-parameter  -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -I/opt/bitFlowers/src/leveldb/include -I/opt/bitFlowers/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/opt/bitFlowers/src" -I"/opt/bitFlowers/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
objc[49504]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x1de893678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1079c42c8). One of the two will be used. Which one is undefined.
objc[49504]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x1de8936c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1079c4318). One of the two will be used. Which one is undefined.
clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
In file included from alert.cpp:11:
In file included from /opt/bitFlowers/src/alert.h:13:
/opt/bitFlowers/src/util.h:456:9: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
        SHA256_Init(&ctx);
        ^
/opt/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from alert.cpp:11:
In file included from /opt/bitFlowers/src/alert.h:13:
/opt/bitFlowers/src/util.h:464:9: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
        SHA256_Update(&ctx, pch, size);
        ^
/opt/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from alert.cpp:11:
In file included from /opt/bitFlowers/src/alert.h:13:
/opt/bitFlowers/src/util.h:471:9: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
        SHA256_Final((unsigned char*)&hash1, &ctx);
        ^
/opt/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from alert.cpp:11:
In file included from /opt/bitFlowers/src/alert.h:13:
/opt/bitFlowers/src/util.h:493:5: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
    SHA256_Init(&ctx);
    ^
/opt/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from alert.cpp:11:
In file included from /opt/bitFlowers/src/alert.h:13:
/opt/bitFlowers/src/util.h:496:5: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
    SHA256_Final((unsigned char*)&hash1, &ctx);
    ^
/opt/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from alert.cpp:11:
In file included from /opt/bitFlowers/src/alert.h:13:
/opt/bitFlowers/src/util.h:510:5: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
    SHA256_Init(&ctx);
    ^
/opt/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from alert.cpp:11:
In file included from /opt/bitFlowers/src/alert.h:13:
/opt/bitFlowers/src/util.h:514:5: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
    SHA256_Final((unsigned char*)&hash1, &ctx);
    ^
/opt/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from alert.cpp:11:
In file included from /opt/bitFlowers/src/alert.h:13:
/opt/bitFlowers/src/util.h:533:5: warning: 'RIPEMD160' is deprecated [-Wdeprecated-declarations]
    RIPEMD160((unsigned char*)&hash1, sizeof(hash1), (unsigned char*)&hash2);
    ^
/opt/local/include/openssl/ripemd.h:49:1: note: 'RIPEMD160' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 unsigned char *RIPEMD160(const unsigned char *d, size_t n,
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
8 warnings generated.
/bin/sh ../share/genbuild.sh obj/build.h
llvm-g++ -c -g -msse2 -Wall -Wextra -Wformat -Wno-ignored-qualifiers -Wformat-security -Wno-unused-parameter  -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -I/opt/bitFlowers/src/leveldb/include -I/opt/bitFlowers/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/opt/bitFlowers/src" -I"/opt/bitFlowers/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -MMD -MF obj/version.d -o obj/version.o version.cpp
clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
llvm-g++ -c -g -msse2 -Wall -Wextra -Wformat -Wno-ignored-qualifiers -Wformat-security -Wno-unused-parameter  -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -I/opt/bitFlowers/src/leveldb/include -I/opt/bitFlowers/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/opt/bitFlowers/src" -I"/opt/bitFlowers/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
In file included from checkpoints.cpp:8:
In file included from /opt/bitFlowers/src/checkpoints.h:8:
In file included from /opt/bitFlowers/src/net.h:20:
In file included from /opt/bitFlowers/src/addrman.h:9:
/opt/bitFlowers/src/util.h:456:9: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
        SHA256_Init(&ctx);
        ^
/opt/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from checkpoints.cpp:8:
In file included from /opt/bitFlowers/src/checkpoints.h:8:
In file included from /opt/bitFlowers/src/net.h:20:
In file included from /opt/bitFlowers/src/addrman.h:9:
/opt/bitFlowers/src/util.h:464:9: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
        SHA256_Update(&ctx, pch, size);
        ^
/opt/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from checkpoints.cpp:8:
In file included from /opt/bitFlowers/src/checkpoints.h:8:
In file included from /opt/bitFlowers/src/net.h:20:
In file included from /opt/bitFlowers/src/addrman.h:9:
/opt/bitFlowers/src/util.h:471:9: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
        SHA256_Final((unsigned char*)&hash1, &ctx);
        ^
/opt/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from checkpoints.cpp:8:
In file included from /opt/bitFlowers/src/checkpoints.h:8:
In file included from /opt/bitFlowers/src/net.h:20:
In file included from /opt/bitFlowers/src/addrman.h:9:
/opt/bitFlowers/src/util.h:493:5: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
    SHA256_Init(&ctx);
    ^
/opt/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from checkpoints.cpp:8:
In file included from /opt/bitFlowers/src/checkpoints.h:8:
In file included from /opt/bitFlowers/src/net.h:20:
In file included from /opt/bitFlowers/src/addrman.h:9:
/opt/bitFlowers/src/util.h:496:5: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
    SHA256_Final((unsigned char*)&hash1, &ctx);
    ^
/opt/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from checkpoints.cpp:8:
In file included from /opt/bitFlowers/src/checkpoints.h:8:
In file included from /opt/bitFlowers/src/net.h:20:
In file included from /opt/bitFlowers/src/addrman.h:9:
/opt/bitFlowers/src/util.h:510:5: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
    SHA256_Init(&ctx);
    ^
/opt/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from checkpoints.cpp:8:
In file included from /opt/bitFlowers/src/checkpoints.h:8:
In file included from /opt/bitFlowers/src/net.h:20:
In file included from /opt/bitFlowers/src/addrman.h:9:
/opt/bitFlowers/src/util.h:514:5: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
    SHA256_Final((unsigned char*)&hash1, &ctx);
    ^
/opt/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from checkpoints.cpp:8:
In file included from /opt/bitFlowers/src/checkpoints.h:8:
In file included from /opt/bitFlowers/src/net.h:20:
In file included from /opt/bitFlowers/src/addrman.h:9:
/opt/bitFlowers/src/util.h:533:5: warning: 'RIPEMD160' is deprecated [-Wdeprecated-declarations]
    RIPEMD160((unsigned char*)&hash1, sizeof(hash1), (unsigned char*)&hash2);
    ^
/opt/local/include/openssl/ripemd.h:49:1: note: 'RIPEMD160' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 unsigned char *RIPEMD160(const unsigned char *d, size_t n,
^
/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
In file included from checkpoints.cpp:10:
In file included from /opt/bitFlowers/src/txdb.h:9:
In file included from /opt/bitFlowers/src/txdb-leveldb.h:9:
In file included from /opt/bitFlowers/src/main.h:8:
/opt/bitFlowers/src/bignum.h:57:24: error: base class has incomplete type
class CBigNum : public BIGNUM
                ~~~~~~~^~~~~~
/opt/local/include/openssl/types.h:87:16: note: forward declaration of 'bignum_st'
typedef struct bignum_st BIGNUM;
               ^
In file included from checkpoints.cpp:10:
In file included from /opt/bitFlowers/src/txdb.h:9:
In file included from /opt/bitFlowers/src/txdb-leveldb.h:9:
In file included from /opt/bitFlowers/src/main.h:8:
/opt/bitFlowers/src/bignum.h:62:9: error: use of undeclared identifier 'BN_init'
        BN_init(this);
        ^
/opt/bitFlowers/src/bignum.h:67:9: error: use of undeclared identifier 'BN_init'
        BN_init(this);
        ^
/opt/bitFlowers/src/bignum.h:68:14: error: no matching function for call to 'BN_copy'
        if (!BN_copy(this, &b))
             ^~~~~~~
/opt/local/include/openssl/bn.h:241:9: note: candidate function not viable: no known conversion from 'CBigNum *' to 'BIGNUM *' (aka 'bignum_st *') for 1st argument
BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
        ^
In file included from checkpoints.cpp:10:
In file included from /opt/bitFlowers/src/txdb.h:9:
In file included from /opt/bitFlowers/src/txdb-leveldb.h:9:
In file included from /opt/bitFlowers/src/main.h:8:
/opt/bitFlowers/src/bignum.h:70:13: error: no matching function for call to 'BN_clear_free'
            BN_clear_free(this);
            ^~~~~~~~~~~~~
/opt/local/include/openssl/bn.h:240:6: note: candidate function not viable: no known conversion from 'CBigNum *' to 'BIGNUM *' (aka 'bignum_st *') for 1st argument
void BN_clear_free(BIGNUM *a);
     ^
In file included from checkpoints.cpp:10:
In file included from /opt/bitFlowers/src/txdb.h:9:
In file included from /opt/bitFlowers/src/txdb-leveldb.h:9:
In file included from /opt/bitFlowers/src/main.h:8:
/opt/bitFlowers/src/bignum.h:77:14: error: no matching function for call to 'BN_copy'
        if (!BN_copy(this, &b))
             ^~~~~~~
/opt/local/include/openssl/bn.h:241:9: note: candidate function not viable: no known conversion from 'CBigNum *' to 'BIGNUM *' (aka 'bignum_st *') for 1st argument
BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
        ^
In file included from checkpoints.cpp:10:
In file included from /opt/bitFlowers/src/txdb.h:9:
In file included from /opt/bitFlowers/src/txdb-leveldb.h:9:
In file included from /opt/bitFlowers/src/main.h:8:
/opt/bitFlowers/src/bignum.h:84:9: error: no matching function for call to 'BN_clear_free'
        BN_clear_free(this);
        ^~~~~~~~~~~~~
/opt/local/include/openssl/bn.h:240:6: note: candidate function not viable: no known conversion from 'CBigNum *' to 'BIGNUM *' (aka 'bignum_st *') for 1st argument
void BN_clear_free(BIGNUM *a);
     ^
In file included from checkpoints.cpp:10:
In file included from /opt/bitFlowers/src/txdb.h:9:
In file included from /opt/bitFlowers/src/txdb-leveldb.h:9:
In file included from /opt/bitFlowers/src/main.h:8:
/opt/bitFlowers/src/bignum.h:88:37: error: use of undeclared identifier 'BN_init'
    CBigNum(signed char n)        { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:89:37: error: use of undeclared identifier 'BN_init'
    CBigNum(short n)              { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:90:37: error: use of undeclared identifier 'BN_init'
    CBigNum(int n)                { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:91:37: error: use of undeclared identifier 'BN_init'
    CBigNum(long n)               { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:92:37: error: use of undeclared identifier 'BN_init'
    CBigNum(long long n)          { BN_init(this); setint64(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:93:37: error: use of undeclared identifier 'BN_init'
    CBigNum(unsigned char n)      { BN_init(this); setulong(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:94:37: error: use of undeclared identifier 'BN_init'
    CBigNum(unsigned short n)     { BN_init(this); setulong(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:95:37: error: use of undeclared identifier 'BN_init'
    CBigNum(unsigned int n)       { BN_init(this); setulong(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:96:37: error: use of undeclared identifier 'BN_init'
    CBigNum(unsigned long n)      { BN_init(this); setulong(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:97:37: error: use of undeclared identifier 'BN_init'
    CBigNum(unsigned long long n) { BN_init(this); setuint64(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:98:37: error: use of undeclared identifier 'BN_init'
    explicit CBigNum(uint256 n)   { BN_init(this); setuint256(n); }
                                    ^
/opt/bitFlowers/src/bignum.h:102:9: error: use of undeclared identifier 'BN_init'
        BN_init(this);
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
8 warnings and 20 errors generated.
make: *** [obj/checkpoints.o] Error 1

I advise you take a look at the Element (HYP) Apple compile script for help. Look an issue with dependency location.


[Improvement][Registry][Jdbc] Add option can use ds database directly

close #14368

If we don't create this bean https://github.com/apache/dolphinscheduler/blob/f840b17cfbb4c03fd5a4bbc1f0ca71db68edd5ae/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/JdbcRegistryConfiguration.java#L37-L42
This method will use SqlSessionFactory  created in dao module
https://github.com/apache/dolphinscheduler/blob/f840b17cfbb4c03fd5a4bbc1f0ca71db68edd5ae/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/JdbcRegistryConfiguration.java#L44-L49
https://github.com/apache/dolphinscheduler/blob/f840b17cfbb4c03fd5a4bbc1f0ca71db68edd5ae/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/datasource/SpringConnectionFactory.java#L68-L89

Codecov Report

Merging #14369 (1e07a1c) into dev (c1a6790) will increase coverage by 0.00%.
The diff coverage is n/a.

:exclamation: Current head 1e07a1c differs from pull request most recent head d3af2a1. Consider uploading reports for the commit d3af2a1 to get more accurate results

@@            Coverage Diff            @@
##                dev   #14369   +/-   ##
=========================================
  Coverage     38.47%   38.48%
+ Complexity     4559     4555    -4
=========================================
  Files          1237     1237
  Lines         43538    43490   -48
  Branches       4814     4782   -32
=========================================
- Hits          16753    16737   -16
+ Misses        24932    24903   -29
+ Partials       1853     1850    -3

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

PTAL @ruanwenjun

And I think maybe we can change the default registry in docker and k8s to jdbc, more simple, WDYT?

And I think maybe we can change the default registry in docker and k8s to jdbc, more simple, WDYT?

Ideally, the default registry in Kubernetes should be kubernetes-registry, I remember @EricGao888 once had drafted a registry plugin for Kubernetes, not sure how it is going now 😉
But, for the sake of simplicity, we already have a default zookeeper deploy in our Helm Chart to get users started, it seems switching to jdbc doesn't gain many benefits, after all, we don't recommend users to use jdbc registry in their production environment, do we?

And I think maybe we can change the default registry in docker and k8s to jdbc, more simple, WDYT?

Ideally, the default registry in Kubernetes should be kubernetes-registry, I remember @EricGao888 once had drafted a registry plugin for Kubernetes, not sure how it is going now 😉
But, for the sake of simplicity, we already have a default zookeeper deploy in our Helm Chart to get users started, it seems switching to jdbc doesn't gain many benefits, after all, we don't recommend users to use jdbc registry in their production environment, do we?

Yes, jdbc registry is still an experimental toys.

Ok, Got you. I will still support K8s can use jdbc for the registry center and will keep zk for default registry center in the future


Assembler simplification (pending state removal)

This PR simplifies the operation of the assembler, mainly by removing the need to maintain a pending state and to return the assembler to its original state in certain situations (which caused issue #124).
The main changes include

The creation of two structs, PendingMacro and PendingLabel, which store information about the macros and labels used before they were defined, as well as their relative position in the code.
Some push operations have been changed to take an option as parameter, and if this is not None, to act more like an insert than a push (useful for example to insert the calls to the pending macros).

Also, issue #124 has been fixed and the corresponding test added.
All tests should pass successfully. However, I would like to test the new assembler a bit more by writing some code (e.g. following @lightclient 's  recommendation and writing an ERC-20 implementation using ETK) before merging it.
In case you don't find it necessary, it can be merged right now.

@lightclient @SamWilsn the assembler rewrite is ready. If anyone has time during the week to review the code, I'll be happy to address your comments :)
P.S: I'm tagging you two because you're the two people I've been talking to about the assembler rewrite. If you don't have time, feel free to ignore this message.

@gzanitti we're the correct people to tag for sure! I'm swamped for the rest of the week, but I start my vacation next week so I should finally have some time for ETK :tada:

@gzanitti we're the correct people to tag for sure! I'm swamped for the rest of the week, but I start my vacation next week so I should finally have some time for ETK 🎉

That's great! :). Anyway, today I was playing around with an ERC20 implementation I was working on (basically, moving different parts of the code to macros, adding includes/imports) and I found a bug. Which I thought I had fixed a few hours ago, but it turns out that the new change breaks some "push label"s haha.
I'll try to solve it in the next few days, but I'm starting to think it might need a bit of a major rewrite. I'll keep you posted.

That might be the best approach. Keep the pest parser and scrap the rest.
On Wed, Sept 27, 2023, 18:39 Gastón Zanitti @.***>
wrote:

@gzanitti https://github.com/gzanitti we're the correct people to tag
for sure! I'm swamped for the rest of the week, but I start my vacation
next week so I should finally have some time for ETK 🎉
That's great! :). Anyway, today I was playing around with an ERC20
implementation I was working on (basically, moving different parts of the
code to macros, adding includes/imports) and I found a bug. Which I thought
I had fixed a few hours ago, but it turns out that the new change breaks
some "push label"s haha.
I'll try to solve it in the next few days, but I'm starting to think it
might need a bit of a major rewrite. I'll keep you posted.
—
Reply to this email directly, view it on GitHub
https://github.com/quilt/etk/pull/133#issuecomment-1738199780, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANU4EQOXIUOWPKZQGSYCE5DX4STJXANCNFSM6AAAAAA46VVE2I
.
You are receiving this because you were mentioned.Message ID:
@.***>

That might be the best approach. Keep the pest parser and scrap the rest.

Excellent. I tried not to do that from the very beginning, because I was trying to preserve as much of the original code as possible (I didn't want to be the outsider who comes to break everything). You're going to say it wasn't necessary, but it's good to have your approval to make a deeper change haha.
I have some ideas I'd like to try that I think will help simplify the whole compiler.
I'll keep you posted. Thanks!

Small update:
I'm almost done with the new code. The truth is: There are no big changes, just some reorganizations.
Roughly, these are the major changes:

After the code is parsed, I take care of resolving each include and import, so that the code is as "expanded" as possible.

Biggest gain: This allows me to create a new assembler to handle the includes, and makes handling scopes easier.
Biggest loss: After it comes out of the parser, I have to preprocess the code. I tried to do it all in one pass, but the code got too messy and I preferred to prioritize readability (at least for now, we can optimize it in the future).
Important fact: This allowed me to discover that there are two tests where the expected values were wrong.

I also make sure to save all macros before starting to assemble. Having all the macros predefined saves a lot of headaches, since calling a macro before declaring it means expanding part of the code in the future. Again, maybe it's not as efficient as it could be, but I prefer clarity over performance for now. Everything can be optimized in a future PR.

Having all the macros already defined also helped me to simplify the assembler I had already defined to remove the pending state at the beginning of this PR, so there is no need to do inserts anymore, all new operations are placed at the end of the list, making the code much simpler and more understandable.

I still need to fix a few things. Most importantly, I would like to add some more tests that make use of the dynamic push of labels (%push(label)) to make sure everything is working properly. Also, the handling and resolution of paths in each include/import is just a "hacky patch". And there is a test that fails when the push label is an expression. Nothing that is likely to be a major headache, but I'd like to have it sorted out before you guys take a look at the code.
Anyway, I'm really enjoying working on this project, so I hope you like my ideas.
P.S.: I'm not a Rust expert, my code might not be "rusty" enough, so I'm open to any suggestions :).
P.S.2: I'm really starting to get attached to this project. Would you mind if I try to put together a logo and a small website? Of course I plan to open a thread where we can discuss ideas/designs. I'd really like to help spread the word about ETK. Hi Huff, I'm looking at you ;)

I think the code is ready :rocket:
However, I'll be adding a few more tests over the next  days to be sure everything works perfectly.
Thanks!

First few comments. Looking reasonable so far! I'm about halfway through asm.rs.

Thanks! Take your time and don't hesitate to ask questions or correct anything you think can be improved.
Especially if something can be written in a more "rusty" way.

In addition to issue 124, mentioned at the beginning, this PR also fixes issue #108  (both tests mentioned in the issue were added to the test suite).

Another partial review. Sorry!

Thank you for your comments @SamWilsn. I just hope I'm not giving you too many headaches haha.
P.S: You can take your time on the review, in the meantime I'm finishing PR #135  and, if necessary, I can spend some time on solving some other items on the list of issues in the meantime.

P.S.2: I'm really starting to get attached to this project. Would you mind if I try to put together a logo and a small website? Of course I plan to open a thread where we can discuss ideas/designs. I'd really like to help spread the word about ETK. Hi Huff, I'm looking at you ;)

I missed this part! I'd absolutely love that! There are so many little things I've wanted to build with ETK, and I had basically given up on having the time/motivation to do it. Extremely happy to have someone as excited as you. A website (maybe with an ETK-compiled-to-JavaScript playground :innocent:) is a great idea!

P.S.2: I'm really starting to get attached to this project. Would you mind if I try to put together a logo and a small website? Of course I plan to open a thread where we can discuss ideas/designs. I'd really like to help spread the word about ETK. Hi Huff, I'm looking at you ;)

I missed this part! I'd absolutely love that! There are so many little things I've wanted to build with ETK, and I had basically given up on having the time/motivation to do it. Extremely happy to have someone as excited as you. A website (maybe with an ETK-compiled-to-JavaScript playground 😇) is a great idea!

Great, glad to be able to help, and to discuss and develop all the ideas you have in mind. I'll prepare a prototype in the next few weeks, including the playground you mention, and I'll write to you to see what you think :smile:

Sorry it's taken me so long to re-review! I believe I found another case that passed before this pull request and is failing now.
Thanks again for being so persistent on this. I really appreciate the help getting ETK into a good place <3

Sorry it's taken me so long to re-review! I believe I found another case that passed before this pull request and is failing now.
Thanks again for being so persistent on this. I really appreciate the help getting ETK into a good place <3

Sorry, it's also my fault for having to change several parts of the code in the middle of the process and make you check everything again.  As I always say, thanks for your patience and for letting me collaborate :)
Regarding the code, I solved the case you mention and also added some more tests. The novelty is that now all the pushes are checked and updated taking into account the previous updates (acum variable) (declared_labels is now a BTreeMap because it matters the order when adding the accumulated size to the labels).

Hey @SamWilsn, I needed a HashMap sorted by insert and ended up adding IndexMap to the project. However, it is only used in the assembler and could be replaced by a struct with a HashMap and a Vector if you don't want to add more dependencies.
Let me know what you think.

I'm totally happy with the IndexMap.

Pushed the new test. Summary is:

Variable + FixedVariable + Variable

Source

%push(lbl1 - lbl2)
push2 lbl1 + lbl2
pc # repeat 126 times.
lbl1:
lbl2:

%push(lbl1 - lbl2)
%push(lbl1 + lbl2)
pc # repeat 126 times.
lbl1:
lbl2:

Outcome

6000610106...

6000610108...

Hey @SamWilsn , how are you?
First of all, sorry for the delay. I've been having some personal issues and couldn't dedicate as much time as I would have liked to ETK. Also, my country is slowly going into the abyss, which doesn't help.
Don't worry about mentioning as many corrections as you deem necessary. After all, this code belongs more to you than to me and I can make all the changes you consider necessary until you are satisfied :).
Regarding the bug you reported, I'm sorry I didn't see it before, I understand that with the last change nothing like this should happen again.
I look forward to your comments!


change seeAlso to term tracker item

close #5289

I merged the 'has characteristic' PR, so I'll redo this on a new branch.


Add deployment playbooks for hosted pipeline

This commit contains an Ansible configuration that deploys a hosted
pipeline to OpenShift environment. The new role uses k8s module to
communicate with OCP.
JIRA: ISV-918

@amisstea @MarcinGinszt Feel free to review the PR. The prod ansible config is not final because I still don't have a cluster with a service account.

I don't know the Ansible, so I couldn't really make a quality code review


        If ignore_errors is set, errors are ignored; otherwise, if onerror
        is set, it is called to handle the error with arguments (func,
        path, exc_info) where func is platform and implementation dependent;
        path is the argument to that function that caused it to fail; and
        exc_info is a tuple returned by sys.exc_info().  If ignore_errors
        is false and onerror is None, an exception is raised.

        """
        if ignore_errors:
            def onerror(*args):
                pass
        elif onerror is None:
            def onerror(*args):
                raise
        if _use_fd_functions:
            # While the unsafe rmtree works fine on bytes, the fd based does not.
            if isinstance(path, bytes):
                path = os.fsdecode(path)
            # Note: To guard against symlink races, we use the standard
            # lstat()/open()/fstat() trick.
            try:
                orig_st = os.lstat(path)
            except Exception:
                onerror(os.lstat, path, sys.exc_info())
                return
            try:
                fd = os.open(path, os.O_RDONLY)
            except Exception:
                onerror(os.lstat, path, sys.exc_info())
                return
            try:
                if os.path.samestat(orig_st, os.fstat(fd)):
                    _rmtree_safe_fd(fd, path, onerror)
                    try:
>                       os.rmdir(path)
E                       OSError: [Errno 22] Invalid argument: '/tmp/tmpimbm574r'

/usr/lib/python3.7/shutil.py:496: OSError

It sounds similar to https://github.com/stanislavlevin/pyproject_installer/pull/36.  IOW, on some operating systems it is not possible to remove current working directory.

@mtelka I am actually not in a position to test this fix but I think I see whats happening here.
Any chance you can run the tests on this branch on... im guessing Solaris? https://github.com/Bachmann1234/diff_cover/pull/309

Tested on OpenIndiana and tests still fails with the same failure.

@mtelka I just found one other potential cause and pushed one more commit to that branch. Can you give it one more go?

I tested with:

both commits: all tests passed,
2nd commit only: all tests passed too.

Thanks, ill tweak the pr, merge, and release a patch release tonight.

Released as https://pypi.org/project/diff-cover/7.3.1/


workbench.files.action.focusFilesExplorer focuses on wrong file if focus and highlight is on different file

Issue Type: Bug
Steps to Reproduce:

click on an editor to focus on it
command pallet > File: Focus on Files Explorer (aka workbench.files.action.focusFilesExplorer)
press ↑ key a few times to move the highlight
repeat step 1 -> 2 -> 3

Expected behavior:
on step 2, keyboard cursor focuses to the current file
Actual behavior:
on step 2, keyboard cursor focuses onto the previously highlighted file
Why I think it's a bug:

because of how this command is named (it belongs to File:)
because I believe this behavior changed in July 2021 or so, from the expected behavior to the actual behavior.
because there are already two other commands that achieve the same effect: Explorer: Focus on Folders View and View: Show Explorer. We likely didn't mean to have a third command doing the same thing.

I suspect this is the root cause of #130598. If this gets fixed, #130598 will be fixed too.
VS Code version: Code 1.67.1 (da15b6fd3ef856477bf6f4fb29ba1b7af717770d, 2022-05-06T12:37:03.389Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 7 5700U with Radeon Graphics          (16 x 1797)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.34GB (13.27GB free)

Process Argv
--crash-reporter-id 76333b68-ca09-45f5-9a16-77e964093e64

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebug:30475216
vsclangdc:30486549

Hi @lramos15 , as I stated in the OP, this is the root cause of #130598, and it's a cleaner reproduction without irrelevant steps. I would think it's better to reopen this one and close #130598 in favor of this one.


Can not create a DaCe program double in Python

It might be a bit of a silly issue, but I made a DaCe program with the name double as in:
@dace.program
def double():
	...

As double() is a valid name for a Python function it is not in C++. Everything works as expected except calling compile(). The code generator generate a state structure for the program with the name double_t, however, by chance it also creates the typedef double_t to alias the C++ type double.
Interestingly, well at least for me, if this program is used inside another dace program the error vanishes.
There was already a similar issue in the (#1164) in the past. I think the best way to tackle this issue is to update the name mangling process.
However, I am not sure if the issue is worth the effort.

I did some more investigation and realized that I made a small mistake, DaCe is not creating the typedef that causes the error it is the C standard. It seems that a C99 conforming library has to define double_t and float_t, C++ also does this but in the std namespace.
Since DaCe creates a state struct (correct me if I am wrong, but it seems to be always empty) with the name of the program, the compiler complains.


Error in libary guessit matcher.py therefore most downloaded subtitles cannot be used

In line 174 and 179 there is an error in the range statement (-1 is missing).
correct the lines should be:
174   for i in range(0, len(node.value)-1):
if clean_value[0] == node.value[i]:
break
left_offset += 1
179   for i in reversed(range(0, len(node.value)-1)):
if clean_value[-1] == node.value[i]:
break
right_offset += 1
Otherwise I get this error with circa 80% of subtitles
2015-08-06 21:26:42,457 (10af4a000) :  CRITICAL (agentkit:1057) - Exception in the update function of agent named 'Subliminal Movie Subtitles', called with guid 'com.plexapp.agents.imdb://tt2555736?lang=en' (most recent call last):
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1055, in _update
agent.update(obj, media, lang, **kwargs)
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Code/init.py", line 131, in update
subtitles = downloadBestSubtitles(videos.keys())
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Code/init.py", line 81, in downloadBestSubtitles
return subliminal.api.download_best_subtitles(videos, getLangList(), getProviders(), getProviderSettings(), min_score, hearing_impaired)
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/subliminal/api.py", line 88, in download_best_subtitles
for subtitle, score in sorted([(s, s.compute_score(video)) for s in video_subtitles],
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/subliminal/subtitle.py", line 131, in compute_score
initial_matches = self.compute_matches(video)
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/subliminal/providers/podnapisi.py", line 61, in compute_matches
matches |= compute_guess_matches(video, guessit.guess_movie_info(release + '.mkv'))
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/guessit/init.py", line 355, in guess_movie_info
return guess_file_info(filename, info=info, options=options, type='movie', **kwargs)
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/guessit/init.py", line 291, in guess_file_info
result.append(_guess_filename(filename, options, **kwargs))
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/guessit/init.py", line 111, in _guess_filename
mtree = _build_filename_mtree(filename, options=options, **kwargs)
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/guessit/init.py", line 118, in _build_filename_mtree
mtree = IterativeMatcher(filename, options=options, **kwargs)
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/guessit/matcher.py", line 120, in init
self._process(transformer, False)
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/guessit/matcher.py", line 138, in _process
transformer.process(self.match_tree, self.options)
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/guessit/transfo/guess_movie_title_from_position.py", line 170, in process
found_property(next(basename_leftover), 'title', confidence=0.4)
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/guessit/matcher.py", line 193, in found_property
caller_frame = inspect.stack()[1][0]
File "/Users/myuser/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/guessit/matcher.py", line 175, in build_guess
if  if clean_value[0] == node.value[i]:
IndexError: string index out of range

the -1 after the use of the len(...) function will fix it

sometimes clean_value seems to be empty as well, this will also fix the same errors when that happens (finally with the new fix all my found subtitles are now saved and showing in plex):
for i in range(0, len(node.value)-1):
if len(clean_value) > 0:
if clean_value[0] == node.value[i]:
break
left_offset += 1
    for i in reversed(range(0, len(node.value)-1)):
        if len(clean_value) > 0:
            if clean_value[-1] == node.value[i]:
                break
        right_offset += 1

Please report this to guessit. Make sure to include your fix.

It is already fixed there in this commit https://github.com/wackou/guessit/commit/1941e49e014f940e621a405019a1f16c6ea483d0
Should be in guessit version 0.10.3


Upgrade to PSQL 15.1

DRAFT: Depends on #165

This upgrades libpg_query to Postgres 15.1. All tests have been updated, and tests were added for new constructs.

Boolean nodes have been added to the parser, replacing usage of integers with the values 1/0.
In the postgres parser, Value was changed to be a union stored in the A_Const type. For this upgrade, we block A_Const from code generation, and instead manually implement the relevant required functions.
The COPY statement deparser was also updated to attempt deparsing into the old Postgres 8.4-style syntax (e.g. COPY foo FROM STDIN FREEZE CSV). This ensures that the regression tests keep working, as new changes in the parse structures mean that these two syntaxes result in equivalent but slightly different parse trees.
Support was added for MERGE statements.
Support was added for more advanced publication objects, e.g. CREATE PUBLICATION foo FOR TABLES IN SCHEMA CURRENT_SCHEMA
Support was added for ALTER TABLE ALL IN TABLESPACE ... statements

Wow!

Why Boolean is not present here?

Why Boolean is not present here?

Nice catch :) Fixed in 901ad3a

FYI, I almost completed upgrading pglast to this, and everything seems working great! :tada:


Avoid parsing JSON in COPY FROM on reader if not required

@aelesbao @dobe please review

ack

through


ceramic: add sts declarations for recon/c1

Closes #565, opens up for running data migrations (#516)
Would be cool with some k8s-eyes on the spec @hubsmoke  :pray:

lgtm, ready to merge? anything we need to run to deploy the config?

@hubsmoke it's running already, there is no CI for this until the manual mig gets done :+1:


[Sample] Could sample webmvc-websocket be provided?

Hi,
Thanks for the great work.
In the docs  we see the reference for a webmvc + websocket setup, but it is very unclear how would such be setup.
The content if found ( including josh's videos ) always use webflux(Flux,Mono).
Therefore, if this setup is even possible, It would be very helpful to have a simple example.
Thanks!

After some digging, I found that it isn't that different - in terms of setup - from webflux-websocket.
I will later create a PR with the requested example in order to help people that had the same doubt as me.

Thanks for the update @GoncaloPT .
Don't bother with a PR, we're in the process of deciding what to do with the samples folder in this repository. Right now this is creating a dependency cycle between Spring Boot and Spring for GraphQL, so we might take it out completely and turn it into one or several guides on spring.io.

Putting a link here to a sample that exists now https://github.com/spring-projects/spring-graphql-examples/tree/main/websocket-authentication.


feat: add modd, a developer tool that runs processes and responds to fs changes

#4051 cortesi/modd: A flexible developer tool that runs processes and responds to filesystem changes
$ aqua g -i cortesi/modd

Thank you for your contribution!

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v2.27.0


An attempt was made to access a socket in a way forbidden by its access permissions

I ran into a System.Net.Sockets.SocketException trying to initialize the LIFX client.
var task = LifxNet.LifxClient.CreateAsync();

{"An attempt was made to access a socket in a way forbidden by its access permissions"}

What's the best way to work around this? My first thought is to run as administrator or some other app manifest permission  like "Private (Networks Client & Server)".
Thanks,
~Tim Graupmann

This might be an issue that occurs if you already have the LIFX DLL loaded by another instance of your application or by another application.

This is almost always the reason. Make sure you close down any other running LIFX apps. Only one process can bind to the UDP port needed


MINOR: Fix fetch session epoch comment in FetchRequest.json

The current "about" string incorrectly describes the session epoch as the partition epoch. Rename to SessionEpoch to make usage clearer. Also rename MaxWait to MaxWaitTimeMs and FetchableTopic to FetchTopic for consistency with FetchPartition.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Request/response names are just labels for humans, so you can change them without affecting compatibility.


feat: download base64 images and temporary s3 URL's instead of them being as they are.

This Pull request looks to fix the issue #55, by fixing the behaviour of images in base64 format and images stored in notion's s3 storage by converting them to actual images instead of 3 hour limited s3 signed url or base64url strings. This PR is looking to solve the issue when someone wants to statically host their notion files using Hugo or any other static-site generator.

What do you think about the image not being rendered by many of the markdown parsers?
It doesn't work on GitHub or other major online markdown editor services.

The main reason behind this PR is for people to easily build static sites using Hugo or Jekyll. There is a huge hurdle when people use this tool to build and deploy static sites from their notion database. The main ones being:

Markdown parsers and builders not processing base64urls correctly
No correct caption for images taken from upstream
Image URLs(s3) expiring 3 hours after downloading markdown files using this tool

In respect to ephemeral URLs, people will have to rebuild their sites every 3 hours for no reason even when there is no actual change to. This wastes time, energy and power to setup and deploy a CD pipeline and building it every 3 hours.
As for the question of not being rendered by many of the markdown parsers, I have a solution in mind: Basically we give the users of this library an option to either encode all images in base64url in markdown files or download all images to a given directory as they please. This creates uniformity in the working this library and reduces a lot of the hassles when using this library.

The proposal sounds good to me and will serve both use cases.
Can you work on it?

Yeah, thanks for the suggestion. I'll starting working on the base64 option in a seperate PR and will let you know. We'll iron out rest of the things after that.

@that-ambuj  what's the status?

Hi @souvikinator, I have moved the download feature to another as it is WIP and I have worked on the Base64 Image feature and It is available at https://github.com/that-ambuj/notion-to-md/tree/feature-image-to-base64
The features has been built but is kind of incomplete, because I need your help with two other issues:

This feature needs to be tested before being pushed to the main branch. So, I'll need your help on how to do it correctly as there are many variables that affect this feature.
This feature converts images to url-safe base64 string but does not prefix data:image/png before the base64 string for the mime type(which it can't detect and may be manually needed to be added based on file extension). Also, we'll need to test if the data prefix is even needed by the markdown parsers that work with base64 data(github and vscode are known to NOT work with base64).

Alright!
Sure, so you want to know how to test it locally? Also, what are the factors that can affect this feature?
About data:image/png  we can test it out with popular static site generators and online editors that support base64 image.

I want to write automated tests such that the feature can be tested automatically. Just, like in the .spec.ts file

Well, we have to figure that out.
We can use https://picsum.photos/200 and convert that to base64 however I'm not sure if that's the best practice.
Maybe we can do something with the image object or canvas to mock an image.


Fail to output the bounding boxes of the objects

Hi CogVLM Team,
Thank you for your fascinating work and for sharing your repo. I'm inspired and eager to build upon CogVLM's achievements.
As mentioned in the paper, Referring Expression Comprehension is used as one of the pretraining tasks. Therefore, I assumed that CogVLM could somehow preserve the ability to output the bounding boxes of objects. I prompted CogVLM with the following:

Question: Where is the object?
Answer: [[x0, y0, x1, y1]]

However, CogVLM failed to generate a valid bounding box. I have also tried several different types of prompts, but the issue persisted. Have you attempted to prompt CogVLM to generate bounding boxes? How can I achieve that?
Here are some examples illustrating my unsuccessful attempts.

Best

Ensure to choose the "Grounding" option bottom left corner.

Thank you for your instruction. Could you share how I can do this if I use the CLI scripts locally?

--from_pretrained cogvlm-grounding-generalist-hf if you use hf version
or
--from_pretrained cogvlm-grounding-generalist-v1.1 if you use sat version

Thank you for your response.

So this means what I only need to do is change the --from_pretrained parameter. Do I also need to use the prompts listed in the Task Prompts section? Here is a screenshot of that part.

Can I still do multiround chat with the model if I use cogvlm-grounding-generalist-v1.1?  For instance, continue exploring the image through multiple rounds of conversation. In some rounds, I may ask grounding-related questions, but in others, the questions may not involve grounding.

No. cogvlm-grounding-generalist-v1.1 cannot do multi-round chat. And you should set --version base if you use this checkpoint.

Thank you for your prompt response.
Do I also need to change the prompt I used? For example, using the prompts listed in the Task Prompts section.

Yes.

Thank you for your kind assistance and explanations. I think I have all the information I need for now.


[Bug]: keeps dropping a font for no reason

Checklist

[X] I have read the appropriate section in the contributing guidelines
[X] I believe this issue is a problem with polybar itself and not a misconfiguration on my part
[X] I have searched for other open and closed issues that may have already reported this problem
[X] I have checked the known issues page for this problem.
[X] I have followed the debugging guide to narrow down the problem to a minimal config.

Steps to reproduce
Use jetbrainsmononerd
try to use the arch glyph as a text module
polybar drops it
Minimal config
[bar/bar]
font-0 = JetBrainsMonoNerd:style=bold
modules-left = arch

[module/arch]
type = custom/text
content-padding = 2
content = "a"

Polybar log
notice: Parsing config file: /home/rmc/.config/polybar/config.ini
notice: Listening for IPC messages (PID: 2479)
warn: No monitor specified, using "HDMI-0"
notice: Loading module 'arch' of type 'custom/text'
notice: Loading module 'xworkspaces' of type 'internal/xworkspaces'
notice: Loading module 'xwindow' of type 'internal/xwindow'
notice: Loading module 'pulseaudio' of type 'internal/pulseaudio'
notice: pulseaudio: using default sink alsa_output.usb-Razer_Razer_Kraken_V3_HyperSense_000000000001-00.analog-stereo
notice: Loading module 'memory' of type 'internal/memory'
notice: Loading module 'cpu' of type 'internal/cpu'
notice: Loading module 'wlan' of type 'internal/network'
notice: module/wlan: Discovered wireless interface wlan0
notice: Loading module 'date' of type 'internal/date'
notice: Loaded 8 modules
notice: Loaded font "JetBrainsMonoNerd:style=bold" (name=Noto Sans, offset=0, file=/usr/share/fonts/noto/NotoSans-Bold.ttf)
notice: Loaded font "JetBrainsMonoNerd:size=14" (name=Noto Sans, offset=0, file=/usr/share/fonts/noto/NotoSans-Regular.ttf)
warn: Dropping unmatched character  (U+f303) in '  a  '

Expected behavior
the arch glyph displays fine
Actual behavior
glyph is dropped
Window Manager and Version
i3 version 4.22 (2023-01-02)
Linux Distribution
Arch Linux 023.09.01
Polybar version
polybar 3.6.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

Additional Context / Screenshots
Terminal uses same font

notice: Loaded font "JetBrainsMonoNerd:style=bold" (name=Noto Sans, offset=0, file=/usr/share/fonts/noto/NotoSans-Bold.ttf)
notice: Loaded font "JetBrainsMonoNerd:size=14" (name=Noto Sans, offset=0, file=/usr/share/fonts/noto/NotoSans-Regular.ttf)

Polybar isn't actually loading the nerd font (look at the actual font loaded in brackets. Please read the font debugging guide

notice: Loaded font "JetBrainsMonoNerd:style=bold" (name=Noto Sans, offset=0, file=/usr/share/fonts/noto/NotoSans-Bold.ttf)
notice: Loaded font "JetBrainsMonoNerd:size=14" (name=Noto Sans, offset=0, file=/usr/share/fonts/noto/NotoSans-Regular.ttf)

Polybar isn't actually loading the nerd font (look at the actual font loaded in brackets. Please read the font debugging guide

i know and i looked at the guide and nothing fixed it

You need to figure out how the font is actually called on your system. fc-list will list all the fonts (file path and name) in your system.
On my system the name is JetBrainsMono Nerd Font Mono:style=Regular, but it may be different for yours

You need to figure out how the font is actually called on your system. fc-list will list all the fonts (file path and name) in your system.
On my system the name is JetBrainsMono Nerd Font Mono:style=Regular, but it may be different for yours

It is correct as the font shows correctly latin characters

No, polybar is currently loading NotoSans-Bold.ttf, that's why the latin characters work


Test Picture

Test picture is it right for the analysis, is it not a selfie or famalie foto ;-)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7679624-test-picture?utm_campaign=plugin&utm_content=tracker%2F10782082&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10782082&utm_medium=issues&utm_source=github).

Make diferent scanns (DPIs) of the test material


Add support for MFA

Some cross-account roles require MFA to utilize the role. This would be a great addition.
You would need to:

connect to the STS service with the default login boto.connect_sts() and then use the get_session_token() call:

mfa_serial_number kwarg - Use either an environment var, ~/.aws/config, or a new command line flag (The first 2 options should be automagically picked up by boto)
mfa_token kwarg - Add a new flag to pass in the current MFA token

Then use the returned token and pass it into boto.connect_ec2() using the security_token kwarg

Pseudo code:

session_token = None
if args['mfa_token']:
    session_token = boto.connect_sts().get_session_token(
        mfa_serial_number=args['mfa_serial_number'],
        mfa_token=args['mfa_token']
    ).session_token
conn = boto.connect_ec2(security_token= session_token)

I just pushed a new branch mfa which should now support MFA devices. Would you mind testing it? I don't have any MFA devices set up right now.

And thanks for the detailed description!


Squoosh: animation: individual timeline control

We'd like to have control over how individual elements that are animated in a transition move, and specify all transitions between different variants of components.
Currently, we have an automatically generated transition in squoosh that goes between all states, and will add some very basic transition control in 0.26, but this isn't sufficient to create most of the sample animations that we want to be able to achieve.

Dupe of https://github.com/google/automotive-design-compose/issues/1567


Get User Email Address From Script

Are we able to get the user``email address while in the script? So far, I can see in the message object we have:
message:
   { user:
      { id: 'ozCSNcrfcNJb2b7',
        name: 'johndoe',
        room: 'h7PdcWSubYw2zQy' },
     text: '@R2Z2: get circuit 61011',
     id: 'jMSMw4WtzvGQs9b',
     done: false,
     room: 'h7PdcWSubYw2zQy' },
  match:
   [ '@R2Z2: get circuit 61011',
     '61011',
     index: 0,
     input: '@R2Z2: get circuit 61011' ],
  envelope:
   { room: 'h7PdcWSubYw2zQy',
     user:
      { id: 'ozCSNcrfcNJb2b7',
        name: 'johndoe',
        room: 'h7PdcWSubYw2zQy' },
     message:
      { user: [Object],
        text: '@R2Z2: get circuit 61011',
        id: 'jMSMw4WtzvGQs9b',
        done: false,
        room: 'h7PdcWSubYw2zQy' } } }

I can get the User name but now wondering if there is a way to pull the email address either from rocket.chat or the LDAP instance using the name?

Hi again @richardwlu, as with my response to your comment on #136. Rocket-chat-bot-helpers is a package you can add manually (its not part of core or published to Meteor yet), that will give you methods to run a user query, which includes returning their email array.
There's been discussion of adding these methods to the adapter, but I don't actually think its possible at this point.

You would just need the appropriate meteor command to live in rocket.chat with the bot having the appropriate permission to view the users details and you would be able to get via: robot.adapter.callMethod('method_name', 'username')
Feel free to take a poke around the methods, and open a pull request on the Rocket.Chat project to add those.  Just a forewarning... You'll need to make sure the method checks to see if a user has permission to see the information.

This can be done in the latest (pre-release) adapter, using the SDK's new API client to get additional data not provided in the message object - depending on the bot user's permissions. e.g...
module.exports = (robot) => {
  robot.hear(/test/i, (res) => {
    const userId = res.message.user.id
    robot.adapter.api.get('users.info', { userId }).then((result) => {
      if (result.success) {
        const user = result.user
        res.reply(`Hello ${user.name} - I can get all this info about you:`)
        res.reply(`[${Object.keys(user).join(', ')}]`)
      } else {
        res.reply(`Hmm, couldn't get any info on you :shrug:`)
      }
    })
  })
}

See API docs for full details: https://rocket.chat/docs/developer-guides/rest-api/users/info/
Please test the pre release, by adding it to your package.json with the repo address instead of the npm version. e.g. "hubot-rocketchat": "rocketchat/hubot-rocketchat"
We'll update the version published to NPM as soon as we have more feedback that its stable.

Please assign this to me.

Please assign this to me.


Humble - Tutorials - """colcon test --merge-install"" had failed tests.  Looking at logs, no failure info is found"

https://docs.ros.org/en/humble/Installation.html

Try Verbose build


Rewrite example Gradle projects in Kotlin

Description of the issue:

Currently Gradle projects in the examples directory is written in Groovy DSL
However, the default buildscript DSL is now Kotlin from this April
For users, it would be nice to provide examples written in Kotlin

Additional Information:

It is also good to bump up Gradle version; v5 is used in these example projects but v8 is the latest release.
For example, here is a DIFF that updates the example/hello-world project.

Currently Gradle projects in the examples directory is written in Groovy DSL

The ktor one isn't

Groovy DSL is still supported, we don't have plan to rewrite our examples at this moment. Please refer to the examples in ktor folder  if you need guidance on using Jib in Gradle projects with Kotlin DSL.


Data Locale

CI fail has been fixed on main, this PR contains only locale changes and does not checked by lint anyway.


2 map area and shows same marks 2 times

Thanks for stopping by to let us know something could be better!

PLEASE READ
If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.
Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.
If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.
Check for answers on StackOverflow with the google-maps tag.

Please be sure to include as much information as possible:
This is your same code.

is there any reason to get 2 map area and all markers?
Can we have just 1 map area?
We are working 'hover' effect by css and it show 2 of the same ones. ( it's our code )

Any solution?
Thank you for the great one.

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.
@javothemes Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
Open a support case - Get 1:1 support in Cloud Console.
Discord - chat with other developers
StackOverflow - use the google-maps tag

This is an automated message, feel free to ignore.


./tensorflow/core/platform/jpeg.h:31:2: error: #error Define the appropriate PLATFORM_ macro for this platform

I got a problem when building tensorflow from source in Raspberrypi platform. Anyone knows how to solve it ? Thanks
pi@raspberrypi:~/tensorflow/tensorflow $ bazel build -c opt --local_resources 1024,1.0,1.0 --verbose_failures tensorflow/tools/pip_package:build_pip_package
WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.io/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing.
INFO: Found 1 target...

In file included from ./tensorflow/core/lib/jpeg/jpeg_handle.h:22:0,
from tensorflow/core/lib/jpeg/jpeg_handle.cc:22:
./tensorflow/core/platform/jpeg.h:31:2: error: #error Define the appropriate PLATFORM macro for this platform
#error Define the appropriate PLATFORM macro for this platform
^
In file included from tensorflow/core/lib/jpeg/jpeg_handle.cc:22:0:
./tensorflow/core/lib/jpeg/jpeg_handle.h:29:17: error: variable or field 'CatchError' declared void
void CatchError(j_common_ptr cinfo);
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:29:17: error: 'j_common_ptr' was not declared in this scope
./tensorflow/core/lib/jpeg/jpeg_handle.h:32:31: error: field 'pub' has incomplete type 'tensorflow::jpeg::jpeg_destination_mgr'
struct jpeg_destination_mgr pub;
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:33:3: error: 'JOCTET' does not name a type
JOCTET buffer;
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:40:26: error: field 'pub' has incomplete type 'tensorflow::jpeg::jpeg_source_mgr'
struct jpeg_source_mgr pub;
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:46:13: error: variable or field 'SetSrc' declared void
void SetSrc(j_decompress_ptr cinfo, const void *data,
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:46:13: error: 'j_decompress_ptr' was not declared in this scope
./tensorflow/core/lib/jpeg/jpeg_handle.h:46:37: error: expected primary-expression before 'const'
void SetSrc(j_decompress_ptr cinfo, const void *data,
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:47:13: error: expected primary-expression before 'unsigned'
unsigned long int datasize, bool try_recover_truncated_jpeg);
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:47:41: error: expected primary-expression before 'bool'
unsigned long int datasize, bool try_recover_truncated_jpeg);
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:51:14: error: variable or field 'SetDest' declared void
void SetDest(j_compress_ptr cinfo, void *buffer, int bufsize);
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:51:14: error: 'j_compress_ptr' was not declared in this scope
./tensorflow/core/lib/jpeg/jpeg_handle.h:51:36: error: expected primary-expression before 'void'
void SetDest(j_compress_ptr cinfo, void *buffer, int bufsize);
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:51:50: error: expected primary-expression before 'int'
void SetDest(j_compress_ptr cinfo, void *buffer, int bufsize);
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:54:14: error: variable or field 'SetDest' declared void
void SetDest(j_compress_ptr cinfo, void *buffer, int bufsize,
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:54:14: error: 'j_compress_ptr' was not declared in this scope
./tensorflow/core/lib/jpeg/jpeg_handle.h:54:36: error: expected primary-expression before 'void'
void SetDest(j_compress_ptr cinfo, void *buffer, int bufsize,
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:54:50: error: expected primary-expression before 'int'
void SetDest(j_compress_ptr cinfo, void *buffer, int bufsize,
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:55:21: error: expected primary-expression before '' token
string *destination);
^
./tensorflow/core/lib/jpeg/jpeg_handle.h:55:22: error: 'destination' was not declared in this scope
string *destination);
^
tensorflow/core/lib/jpeg/jpeg_handle.cc:32:17: error: variable or field 'CatchError' declared void
void CatchError(j_common_ptr cinfo) {
^
tensorflow/core/lib/jpeg/jpeg_handle.cc:32:17: error: 'j_common_ptr' was not declared in this scope
tensorflow/core/lib/jpeg/jpeg_handle.cc:45:25: error: variable or field 'MemInitDestination' declared void
void MemInitDestination(j_compress_ptr cinfo) {
^
tensorflow/core/lib/jpeg/jpeg_handle.cc:45:25: error: 'j_compress_ptr' was not declared in this scope
tensorflow/core/lib/jpeg/jpeg_handle.cc:177:1: error: expected '}' at end of input
}  // namespace tensorflow
^
tensorflow/core/lib/jpeg/jpeg_handle.cc:177:1: error: expected '}' at end of input
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 10.892s, Critical Path: 7.94s

@petewarden Pete, could you take a look?  Thanks.

I think this is now obsolete, because we switched to libjpeg-turbo.
Please file a new issue if you still run into this problem.


Login with another account from the same "seed"

Hi Léo
Running into the following error when logging in with a second account from the same "seed." Using another Seed is working perfectly.
Not sure if the problem is on my side but it does not look like it. Did you test that?
I will browse through your pkh-stacks commit.  Maybe I find something, and if not it is on my side.

Best

It should work, just make sure that you are signing with the same account. Open the Hiro extension and verify that you have selected the account you want to sign with there. If you have selected account 2 in the Hiro extension but are connecting with account 3 on your app you will be signing with account 2 so that might explain the issue

In the signing modal you can see the address which is signing the message (can be different to the one you are connected in the app)

What laziness on my part not to switch in Hiro.


Test output against validator

Would need all required fields being created.

Checked and corrected for DS,EX,MA,MI,PC,PP,TS,BW and other trial domains. Corrections/check still needed for OW,CL,FW,LB

Test output against validator #14 now complete. No errors except for some expected values not filled in.

Still need check for ow,cl,fw,lb domains

Complete Test output against validator #14 for BW,OM,CL,FW,LB domains


MINOR: Update 4.0.0 documentation for Kafka Streams

This PR covers all the docs of Streams changes in release 4.0.0.

@mjsax
all doc updates needed for 4.0.0?!
@bbejeck and @mjsax: I tried to write a summary of each KIP. Could you please check whether your KIPs are summarized good/accurate enough or some rewording is needed.


Add javascript.format.insertSpaceAfterNameForNamedFunctions option

VSCode Version: 1.3.1
OS Version: Windows 7 Pro 64-bit

It'd be nice to have an option like javascript.format.insertSpaceAfterNameForNamedFunctions such that setting it to true causes Alt+Shift+F to reformat function foo() { } to function foo () { }.
This could be done with a more generic solution by inferring from linter options as mentioned via #4374. However, some tools might enforce options in a way that inferring could possibly be difficult (says me, a pretty serious JS newbie). For example, when using standard and vscode-standardjs, I'm not sure how this rule's presence could be easily detected. (But maybe I just haven't thought about it hard enough.)

Moving to TS team.

This issue was moved to Microsoft/TypeScript#10132


ci: increase conformance-aks timeout

Scheduled conformance-aks tests have been failing
often with timeouts. This commit increases the timeout for the installation-and-connectivity job.
Fixes: #30310

/ci-aks

/ci-aks

the aks tests have passed


Initial commit

i have made the changes mentioned in the comments, please verify

Remove all the unnecessary debug prints in the code.
Add necessary error prints user should know.
Name inputs should be accept with space.


Upgrade/tensorflow

Upgrades the used version of TensorFlow from 0.3.1 to 0.4.1.
Persistent issues

The MovenetMultiposeDetector causes a NullPointerException at Skeleton.java:96, but this issue also occurs on master.

Skeleton.java:96 is just a data access. Could you elaborate on that NPE?

The full stack trace (reproducible using this test image) is:
java.lang.NullPointerException
        at org.vitrivr.cineast.core.data.Skeleton.getPoint(Skeleton.java:96)
        at org.vitrivr.cineast.core.features.SkeletonPose.angle(SkeletonPose.java:354)
        at org.vitrivr.cineast.core.features.SkeletonPose.getAnglesAndWeights(SkeletonPose.java:221)
        at org.vitrivr.cineast.core.features.SkeletonPose.persist(SkeletonPose.java:88)
        at org.vitrivr.cineast.core.features.SkeletonPose.processSegment(SkeletonPose.java:107)
        at org.vitrivr.cineast.standalone.runtime.ExtractionTask.run(ExtractionTask.java:28)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)

Great, thanks, I'll have a look

I have opened a new issue (#295) to move this discussion away from this pull request since I also encountered this problem on master.
For some reason the stack trace is slightly more verbose when using the GPU version of TensorFlow.


Refactor library so it doesn't depend on Bootstrap 5

Refactor library so it doesn't depend on Bootstrap 5.
Currently Bootstrap 5 minified is located at assets/vendor/bootstrap.

Fixed with #5


Unable to switch to windows popup

Expected behavior
Should be able to switch to a windows popup and respective actions should be performed accordingly in the popup.
Actual behavior
Unable to switch to windows popup no needful actions are being performed.
Steps to reproduce
After clicking a particular link on a webpage, a popup is displayed to select value from dropdowns to proceed further.
I tried a couple of ways to tackle that but of no luck.
Can anyone please guide me with a script on how to select the values from dropdowns from attached snapshot.
Taiko code used to read dropdowns:

await dropDown(below('Select the following to proceed')).select(SABRE);
await dropDown(toRightOf('GDS')).select(SABRE);
I have also tried to implement alert/prompt listeners in the code but no luck.

Versions
Gauge version: 1.0.7
html-report (4.0.9)
js (2.3.8)
json-report (0.3.2)
screenshot (0.0.1)
xml-report (0.2.3)
Node - 12.7.0
Taiko - 1.0.4

dropdown api looks for  tag and from the snippet it doesn't look like one. Seems like a div painted to look like a dropdown. Can you try using multiple click to select instead ?

Hi Nivedha, as suggested I tried using multiple clicks to select the value and it is working fine. You are right it is painted as to look like a dropdown.
Closing this issue. Thanks for the help.


minor refactor loss scaler

A minor refactor of loss scaler. Adding a base class to remove duplicate code.

@tjruwase please help about this issue

@chunyang-wen  Apologies for the delay. Looks good.


chore: bdd-spring-1576879931 to 0.0.1

chore: Promote bdd-spring-1576879931 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[checkpoint] support loading through from_pretrained for all plugins

Support loading through from_pretrained for all plugins:

[x] General
[x] DDP
[x] LowLevelZero
[x] Gemini

Resolved by #4606


[core] Incorrect resolution in Fullscreen mode

Issue description
Resolution is incorrect after calling ToggleFullscreen(). I'm setting the window size to the monitor resolution before calling ToggleFullscreen() however the actual resolution happens to be the one which is set using InitWindow() or whatever the window size was after the last resize before going into fullscreen. I tried this on another computer running windows but I'm not able to reproduce it.
After experimenting a bit I found that CORE.Window.screen hasn't been updated yet when inside ToggleFullscreen() and WindowSizeCallback() is only run after going into fullscreen. Somehow this is not the case on my 2nd computer where the callback is run first. For now updating CORE.Window.screen in SetWindowSize() seems to work but I'm not sure if this is the right fix.
// Set window dimensions
void SetWindowSize(int width, int height)
{
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
    CORE.Window.screen.width = width;
    CORE.Window.screen.height = height;
    glfwSetWindowSize(CORE.Window.handle, width, height);
#endif
}

Environment
Arch Linux, KDE desktop environment, OpenGL 4.6, Intel HD Graphics 520
Code Example
#include "raylib.h"

int main() {
    int width = 1280;
    int height = 720;

    SetConfigFlags(FLAG_WINDOW_RESIZABLE);
    InitWindow(width, height, "Test");
    SetTargetFPS(60);

    while (!WindowShouldClose()) {
        // ...

        if (IsKeyPressed(KEY_F11)) {
            if (IsWindowFullscreen()) {
                ToggleFullscreen();
                SetWindowSize(width, height);
            } else {
                width = GetScreenWidth();
                height = GetScreenHeight();
                int monitor = GetCurrentMonitor();
                SetWindowSize(GetMonitorWidth(monitor), GetMonitorHeight(monitor));
                ToggleFullscreen();
            }
        }
    }

    CloseWindow();
    return 0;
}

Note that ToggleFullscreen() tries to change to fullscreen keeping the user resolution (or the closest one supported by the display), it's not a "fullscreen borderless window mode" using the monitor resolution.
Still, there are plans to support that mode in a future.

But there's a call to SetWindowSize() which should set the window size to the monitor size before going into fullscreen - and it does in fact do so if the ToggleFullscreen() on the next line is removed, otherwise it seems to ignore it entirely.

Yep, seems to work, I found a way to make it a bit more concise:
// ...
if (IsKeyPressed(KEY_F11)) {
    if (IsWindowFullscreen()) {
        ToggleFullscreen();
        SetWindowSize(width, height);
    } else {
        width = GetScreenWidth();
        height = GetScreenHeight();
        int monitor = GetCurrentMonitor();
        SetWindowSize(GetMonitorWidth(monitor), GetMonitorHeight(monitor));
        WaitTime(0.1);
        PollInputEvents();
        ToggleFullscreen();
    }
}
// ...

@SingularityT3 nice catch with WaitTime, I've a frame counter in my own code, but this is a far nicer solution.

It seems this issue can be addressed with proposed solutions.


[Channeltabs] Issue: update makes it impossible to navigate

Describe the bug
new update has made it impossible to see my all my tabs as they have been squished to 1 level vs 2
To Reproduce
Steps to reproduce the behavior:
update
Expected behavior
the old functionally with 2 bars for all my fav tabs
Additional context
add the old functionally back as a clickable box in the options

https://gist.github.com/l0c4lh057/8b13ea94cccd838f7140f40c7b786d02
this should be an updated version without the redesign. i will try to work on a better solution when i have time again.

thanks bud, as a dev i know time can be hard AF to find for projects
but love the work keep doing what you do
much love <3

This is EXACTLY what I was looking for thank you so much!


Allow all stages as allowed values for last_stages and first_stages

last_stages and first_stages options are a bit tricky because the stages graph is not linear anymore: for example, it's not obvious whether to run JointGenotyping when last_stages = ['CramQC'], because JointGenotyping is not a direct descendant of CramQC. I decided to go with the logic of skipping JointGenotyping in this case. So if last_stages = ['CramQC'] is set, then only Align and CramQC would be triggered.
We need a better test to cover different combinations of first_stages, only_stages, etc. Or maybe rework the whole logic.

Good suggestion, there are some considerations though. If we add new stages into a workflow, people will forget to add them to that "list". Should the workflow fail immediately if some intermediate stages are not listed?
But I'm happy to think about a simpler system, I was planning to re-work it anyway.
That aside, did you mean to block this PR? Should such requests go as side issues?

Listing all stages sounds painful.
Rather than list all stages, why follow the overall logic and only list the endpoints that you want to run. So if last_stages = ['CramQC'] then only CramQC and its dependencies will run. If  last_stages = ['CramQC', 'JointGenotyping']  then JointGenotyping and its dependencies will also run.
It would also be helpful if we could locally run the script with a --endpoints flag or similar to see the available list for this workflow to select from.

That aside, did you mean to block this PR? Should such requests go as side issues?

Sorry, certainly didn't mean to block this -- your PR description just sounded like you were looking for input on what the desired semantics should be like and I assumed that was in scope for discussion before merging. That's why I used the "request changes" review option, as that'll remove the PR from my queue until you re-request a review. If you want to merge this first and then change the semantics afterwards, that's of course fine too. Looks like some recent changes conflict with this branch currently though.

It would also be helpful if we could locally run the script with a --endpoints flag or similar to see the available list for this workflow to select from.

Yeah, that would be helpful! I'll add something like that

@lgruen, sorry, I wasn't clear in the description indeed. But for the future, let's just decide that for discussions, we want to start an issue or a draft PRs; but if it's a ready-to-review PR, it is assumed that the author wants the change to go in.
I think that a most common response to a small pull request should be to either approve, or close it. It's getting painful quickly to navigate in multiple unmerged PRs. As you pointed, there are merge conflicts already. If we want to encourage our policy of tiny and targeted pull requests, we should try to use the "request changes" button less often

Looks like some recent changes conflict with this branch currently though.

@lgruen, I resolved conflicts now! (though I thought you should be able to click "approve" even if there are conflicts?)

@lgruen closing to avoid stale PRs

Thank @MattWellie  for taking a look at it and for approving! :)
To answer your questions, 1 and 2 are correct and as intended, but 3 is not ideal. I'll add some test case and an error message for this scenario, thank you! Will also add some tests.

Update: added tests for different config scenarios in https://github.com/populationgenomics/production-pipelines/pull/226 Scenario 3 in your example actually works correctly, raising a WorkflowError("no stages to run") :)

Looks like these changes have been merged already? Should we close this PR?


Chore/track analytics consent screen view and selection rates #2784

Try out this version of the Hiro Wallet - download extension builds.

Draft, not ready for review.

Reminder: consider taking care of https://github.com/hirosystems/stacks-wallet-web/pull/2791#discussion_r1013301989

Should this PR's QA build be sending events to the "Hiro Wallet (Web, Staging)" or "Hiro Wallet (Web, Dev)" source in Segment? I'm not seeing the "view /request-diagnostics" event in the Segment Debugger for either dev or staging when I try to QA.

@kyranjamie thanks for pointing out the the onboarding gate pattern, I've refactored accordingly to use it instead of the conditional routes. I believe the new routing code is aligned with the rest now.
@markmhx due to a race condition, Segment was being called while not yet initialized, hence no "view /request-diagnostics", should be fixed now. @kyranjamie @fbwoolf to fix this, opted for having a Promise for initializing analytics + a getter for the promise. Calls to the analytics client while it is still being initialized can be awaited and will all execute when resolved.
Further removed sentry code given it will be refactored, but kept the call sites (which now call a no-op) so as to not forget about them. Killed a couple of unused env vars.

The onboarding integration tests is failing b/c the user is redirected to the Welcome page at the end of the test,
https://github.com/hirosystems/stacks-wallet-web/blob/739dc0c4758db108fbb6e18b4c3c85586ca228c2/tests/integration/onboarding/onboarding.spec.ts#L60
but it never loads: the analytics consent screen loads instead. I've traced this to the store being cleared when the user signs out,
https://github.com/hirosystems/stacks-wallet-web/blob/739dc0c4758db108fbb6e18b4c3c85586ca228c2/src/app/store/index.ts#L60-L63
Do you have any suggestions for preserving the consent response through a sign out?

Further removed sentry code given it will be refactored, but kept the call sites (which now call a no-op) so as to not forget about them. Killed a couple of unused env vars: IS_PROD_ENV, SENTRY_DSN.

What was this on Discord: https://discord.com/channels/915096489422893067/991327998345228391/1039561036812009574?
Wasn't that effort to allow Sentry to be left as-is so we can just supply a new dsn and tweak existing configuration? Or, you are not doing that effort here? If that is the case, maybe drop that research on the issue so it isn't lost?

The consent response is cleared and the consent screen loads once again. Do you have any suggestions for preserving the consent response through a sign out?

@kyranjamie might have to respond to this bc he implemented ...not sure what we expect the behavior to be here now? We can change the test, but not sure that is what we want either?

@edu-stx you might be sure to check the update path on this during QA before merging, meaning have a wallet installed > update to this code > make sure nothing breaks as if a user just goes thru an automatic wallet update. I had a local version running and then rebased > then had an undefined error somewhere with this code. Might be nothing but good to check before releasing. These are a set of update repro steps you can follow each time:
Simulating upgrade scenario:

- Download the latest build of the wallet & the build from this PR
- Rename the existing extension's download folder to refactor-test
- Install the extension with the Load unpacked extension tool
- Create a wallet, verify all good
- Close browser
- Delete the old extension named refactor-test
- In the same folder, place the new build from this PR
- Rename that refactor-test
- Open browser (browser loads extension from same folder, simulating upgrade)
- Test wallet works as expected

Wasn't that effort to allow Sentry to be left as-is so we can just supply a new dsn and tweak existing configuration?

In a way, yes: it was an exploration to understand what it would take to enable Sentry again, although as part of https://github.com/hirosystems/stacks-wallet-web/issues/2822. Since Sentry is out of scope for this PR, I removed anything that had to do with it given it's already disabled. I'll paste my discord comment in #2822 so it isn't lost.

not sure what we expect the behavior to be here now?

We're aiming for the analytics consent response to remain recorded throughout the lifetime of the extension's installation.

We can change the test, but not sure that is what we want either?

I don't think we want to change the test. When the analytics consent response was stored in an atom it, clearing the store would still preserve the response through sign out, and the test would pass.

It just reminded me to let you know about testing the update path.

:pray: thank you

Do you have any suggestions for preserving the consent response through a sign out?

Attempts have been made in the past to try and preserve state between sign outs, but I don't think we should optimise for this:

Signing out is a rare occurrence for most users. We don't need to optimise for saving a button click. If a user needs to re-consent/re-deny, so be it.
There's no other mechanism to change your consent preference. It makes sense that the user is presented with the choice again.
It's a simpler implementation with fewer edge cases if sign out === fresh start

I suggest we change the test to just wait for the consent page, rather than welcome page.

@markmhx issues with page views not being reported correctly are now fixed, feel free to try it out.

@kyranjamie @markmhx the page views are being tracked by this line whenever the path changes,
https://github.com/hirosystems/stacks-wallet-web/blob/8414602e1954bf1d7678be866acc9a39149a79cf/src/app/routes/app-routes.tsx#L51
Even if a user goes to /a-page-that-doesnt-exist, it will still get picked up. To make it airtight while adhering to the conventions currently in place, I've wrapped the app in a component solely dedicated to the consent screen. Looks roughly like,
function AppRoutesAfterAnalyticsConsentAnswered() {
  // All routes as they were, unchanged
}

function AppRoutes() {
  if (!hasResponded) return <AllowDiagnosticsPage />

  return <AppRoutesAfterAnalyticsConsentAnswered />
}


Images uploaded in a collection sub media_folder aren't deleted when they should

When a media_folder and public_folder are used for a specific collection, the uploaded images for that collection aren't deleted when a collection item is deleted.
To Reproduce

Use the following config:

collections:
  - name: posts
    label: Posts
    label_singular: 'Post'
    folder: content/posts
    path: '{{slug}}/index'
    media_folder: ''
    public_folder: ''
    fields:
      - label: Title
        name: title
        widget: string
      - label: 'Cover Image'
        name: 'image'
        widget: 'image'

Create a post with an uploaded image
Delete the post
The index.md file is deleted, but the containing folder, including the uploaded image, are preserved.

Expected behavior
The image and folder structure of the post should be deleted too, since the image can't be referenced by other posts or any other collection items (See https://github.com/netlify/netlify-cms/issues/5910). For the same reason they can't be referenced everywhere else, they also cannot be deleted from anywhere else in netlify-cms.
Applicable Versions:

Netlify CMS version: 2.15.72
Git provider: Gitlab
OS: macOS
Browser version: Firefox 108.0.1

i am uploading the image and description from cms but it is not showing in the wensite what is reason behind it


Filter results on newspaper

Although you can do this via the query syntax, it would be nice to have this in the user interface. The Translantis project will come up with a categorization (e.g. select all "big" newspapers).

See file on BaseCamp. Allow superusers to modify this categorization.


Mixins

Hi,
This is not an error but could provide an example on how to use the TooltipMixin.
Thanks.

Yeah. I realised I hadn't done this. Will try to do something soon.

Thanks


Argmin/argmax + nanargmin/nanargmax

Hello @1e-to! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file sdc/functions/numpy_like.py:

Line 52:1: E302 expected 2 blank lines, found 1
Line 55:1: E302 expected 2 blank lines, found 1
Line 58:1: E302 expected 2 blank lines, found 1
Line 61:1: E302 expected 2 blank lines, found 1
Line 188:23: E222 multiple spaces after operator

Python version is 10000 times faster on one thread? Am I getting it right?

@PokhodenkoSA I can't find previous measurements of argmax/argmin anywhere. Do we have it?

Python version is 10000 times faster on one thread? Am I getting it right?

Yes, it is, perhaps the python finds and returns the first nan by function min (x,y)

I can't find previous measurements of argmax/argmin anywhere. Do we have it?

Now we use argmin that named "Numba" at the table of results

Python version is 10000 times faster on one thread? Am I getting it right?

Yes, it is, perhaps the python finds and returns the first nan by function min (x,y)

Can we test also without nans?

Could you please think if you can generalize argmin/argmax implementation in the same way it was done here: https://github.com/IntelPython/sdc/pull/541
@PokhodenkoSA has details

any performance numbers?

any performance numbers?
Skipna = True and False has equal results:

@1e-to conflict