OpenSSL 3.0.6 Fails in Rand code on NonStop ia64 (big endian)

The  3.0.6 release has an issue as follows:
05-test_pbe.t ...................... ok

    # ERROR: (bool) 'EVP_RAND_generate(z, buf2, sizeof(buf2), 0, 1, NULL, 0) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:869
    # false
    # 00000000:error:1C8000BD:Provider routines:ossl_prov_drbg_reseed:error retrieving entropy:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/providers/implementations/rands/drbg.c:584:
    # 00000000:error:1C8000C5:Provider routines:ossl_prov_drbg_generate:reseed error:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/providers/implementations/rands/drbg.c:676:
    # 00000000:error:1C8000BF:Provider routines:ossl_drbg_get_seed:generate error:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/providers/implementations/rands/drbg.c:180:
    # 00000000:error:1C8000BD:Provider routines:ossl_prov_drbg_reseed:error retrieving entropy:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/providers/implementations/rands/drbg.c:584:
    # 00000000:error:1C8000C5:Provider routines:ossl_prov_drbg_generate:reseed error:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/providers/implementations/rands/drbg.c:676:
    # 00000000:error:1C8000BF:Provider routines:ossl_drbg_get_seed:generate error:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/providers/implementations/rands/drbg.c:180:
    # 00000000:error:1C8000BD:Provider routines:ossl_prov_drbg_reseed:error retrieving entropy:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/providers/implementations/rands/drbg.c:584:
    # 00000000:error:1C8000C5:Provider routines:ossl_prov_drbg_generate:reseed error:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/providers/implementations/rands/drbg.c:676:
    # 00000000:error:030000D6:digital envelope routines:evp_rand_generate_locked:generate error:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/crypto/evp/evp_rand.c:560:
    # OPENSSL_TEST_RAND_ORDER=1665521042
    not ok 3 - test_rand_prediction_resistance

The Configuration is:

Command line (with current working directory = .):

    perl ./Configure nonstop-nse_64 --prefix=/usr/local-ssl3.0 --openssldir=/usr/local-ssl3.0/ssl no-fips --with-rand-seed=egd

Perl information:

    perl
    5.26.3 for NSE-W-nonstop_kernel

Enabled features:

    aria
    async
    autoalginit
    autoerrinit
    autoload-config
    bf
    blake2
    bulk
    cached-fetch
    camellia
    capieng
    cast
    chacha
    cmac
    cmp
    cms
    comp
    ct
    deprecated
    des
    dgram
    dh
    dsa
    dso
    dtls
    dynamic-engine
    ec
    ec2m
    ecdh
    ecdsa
    egd
    engine
    err
    filenames
    gost
    idea
    legacy
    loadereng
    makedepend
    md4
    mdc2
    module
    multiblock
    nextprotoneg
    ocb
    ocsp
    padlockeng
    pic
    pinshared
    poly1305
    posix-io
    psk
    rc2
    rc4
    rdrand
    rfc3779
    rmd160
    scrypt
    secure-memory
    seed
    shared
    siphash
    siv
    sm2
    sm3
    sm4
    sock
    srp
    srtp
    sse2
    ssl
    ssl-trace
    static-engine
    stdio
    tests
    tls
    ts
    ui-console
    whirlpool
    tls1
    tls1-method
    tls1_1
    tls1_1-method
    tls1_2
    tls1_2-method
    tls1_3
    dtls1
    dtls1-method
    dtls1_2
    dtls1_2-method

Disabled features:

    acvp-tests          [cascade]        OPENSSL_NO_ACVP_TESTS
    afalgeng            [not-linux]      OPENSSL_NO_AFALGENG
    asan                [default]        OPENSSL_NO_ASAN
    asm                 [no asm_arch]    OPENSSL_NO_ASM
    buildtest-c++       [default]
    crypto-mdebug       [default]        OPENSSL_NO_CRYPTO_MDEBUG
    devcryptoeng        [default]        OPENSSL_NO_DEVCRYPTOENG
    ec_nistp_64_gcc_128 [default]        OPENSSL_NO_EC_NISTP_64_GCC_128
    external-tests      [default]        OPENSSL_NO_EXTERNAL_TESTS
    fips                [option]
    fips-securitychecks [cascade]        OPENSSL_NO_FIPS_SECURITYCHECKS
    fuzz-afl            [default]        OPENSSL_NO_FUZZ_AFL
    fuzz-libfuzzer      [default]        OPENSSL_NO_FUZZ_LIBFUZZER
    ktls                [default]        OPENSSL_NO_KTLS
    md2                 [default]        OPENSSL_NO_MD2 (skip crypto/md2)
    msan                [default]        OPENSSL_NO_MSAN
    rc5                 [default]        OPENSSL_NO_RC5 (skip crypto/rc5)
    sctp                [default]        OPENSSL_NO_SCTP
    threads             [config]
    trace               [default]        OPENSSL_NO_TRACE
    ubsan               [default]        OPENSSL_NO_UBSAN
    unit-test           [default]        OPENSSL_NO_UNIT_TEST
    uplink              [no uplink_arch] OPENSSL_NO_UPLINK
    weak-ssl-ciphers    [default]        OPENSSL_NO_WEAK_SSL_CIPHERS
    zlib                [default]
    zlib-dynamic        [default]
    ssl3                [default]        OPENSSL_NO_SSL3
    ssl3-method         [default]        OPENSSL_NO_SSL3_METHOD

Config target attributes:

    AR => "ar",
    ARFLAGS => "qc",
    CC => "c99",
    HASHBANGPERL => "/usr/bin/env perl",
    RANLIB => "ranlib",
    RC => "windres",
    bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR",
    build_file => "Makefile",
    build_scheme => [ "unified", "unix" ],
    cflags => "-g -O2 -Wextensions -Wnowarn=203,220,272,734,770,1506 -Wbuild_neutral_library -Wverbose -Wtarget=tns/e -Wsystype=oss -Wlp64 -WIEEE_float",
    cppflags => "",
    defines => [ "OPENSSL_BUILDING_OPENSSL", "OPENSSL_VPROC=\$(OPENSSL_VPROC)", "_XOPEN_SOURCE", "_XOPEN_SOURCE_EXTENDED=1", "_TANDEM_SOURCE", "B_ENDIAN", "_TANDEM_ARCH=2" ],
    disable => [ "threads" ],
    dso_scheme => "DLFCN",
    enable => [ "egd" ],
    ex_libs => "-lrld",
    includes => [  ],
    lflags => "-Weld=\"-set systype oss\" -Weld=\"-set floattype ieee_float\"",
    lib_cflags => "",
    lib_cppflags => "",
    lib_defines => [  ],
    module_cflags => "",
    module_cxxflags => undef,
    module_ldflags => "-Wshared",
    multilib => "64",
    perl => "/usr/bin/perl",
    perl_platform => "Unix",
    shared_argfileflag => "-Weld_obey=",
    shared_cflag => "",
    shared_defflag => "-Weld_obey=",
    shared_defines => [  ],
    shared_extension => ".so",
    shared_ldflag => "-Wshared",
    shared_rcflag => "",
    shared_target => "nonstop-shared",
    sys_id => "TANDEM",
    thread_defines => [  ],
    thread_scheme => "(unknown)",
    unistd => "<unistd.h>",

Recorded environment:

    AR =
    ARFLAGS =
    AS =
    ASFLAGS =
    BUILDFILE =
    CC =
    CFLAGS =
    CPP =
    CPPDEFINES =
    CPPFLAGS =
    CPPINCLUDES =
    CROSS_COMPILE =
    CXX =
    CXXFLAGS =
    HASHBANGPERL =
    LD =
    LDFLAGS =
    LDLIBS =
    MT =
    MTFLAGS =
    OPENSSL_LOCAL_CONFIG_DIR =
    PERL =
    RANLIB =
    RC =
    RCFLAGS =
    RM =
    WINDRES =
    __CNF_CFLAGS =
    __CNF_CPPDEFINES =
    __CNF_CPPFLAGS =
    __CNF_CPPINCLUDES =
    __CNF_CXXFLAGS =
    __CNF_LDFLAGS =
    __CNF_LDLIBS =

Makevars:

    AR              = ar
    ARFLAGS         = qc
    CC              = c99
    CFLAGS          =
    CPPDEFINES      =
    CPPFLAGS        =
    CPPINCLUDES     =
    CXXFLAGS        =
    HASHBANGPERL    = /usr/bin/env perl
    LDFLAGS         =
    LDLIBS          =
    PERL            = perl
    RANLIB          = ranlib
    RC              = windres
    RCFLAGS         =

NOTE: These variables only represent the configuration view.  The build file
template may have processed these variables further, please have a look at the
build file for more exact data:
    Makefile

build file:

    Makefile

build file templates:

    Configurations/common0.tmpl
    Configurations/unix-Makefile.tmpl

Updated with correct configuration and version

This only occurs when PRNGD is used. The x86 version on NonStop passes all tests.

Is it 1.1.1r or 3.0.6 that is failing here?

3.0.6. I am testing 1.1.1r separately - The port-related changes are not in the main code base. Basically 3.0.6 on x86 works fine with the hardware randomizer. On ia64, we are stuck with PRNGD, and that appears to be where the breakage is.

The 1.1.1r test cycle just completed and did not show this issue on ia64.

Rerunning 3.0.5 on our ia64 to see whether it still works. More to come...

During the bisect, commit 9bd968d42e failed to build on crypto/property/property.c. I cannot tell which way to go from there but will assume that's on the bad side and will move forward in time from there - hopefully that's the proper way, otherwise, 6 more steps.

make test TESTS=test_rand would be minimal I think.

make test TESTS=test_rand would be minimal I think.

Thanks. Thought there might be some other info needed. So far, not compiling.

During the bisect, commit 9bd968d failed to build on crypto/property/property.c. I cannot tell which way to go from there but will assume that's on the bad side and will move forward in time from there - hopefully that's the proper way, otherwise, 6 more steps.

Just an update - yes, it is taking time. The above commit, after 2 bisects, is on the good side. Still in progress.

This is perplexing. The commit 683480726f  where the failure seems to have occurred according to bisect should not cause the problem.
Here's what I've got - working around a couple of compile issues in the history. git bisect summary:
683480726f6ab46216e30c7505d1a3c4ec90ace9 is the first bad commit
commit 683480726f6ab46216e30c7505d1a3c4ec90ace9
Author: valdaarhun<EMAIL_ADDRESS>Date:   Mon Jul 25 18:49:19 2022 +0530

    Fixes segfault occurrence in PEM_write()

    Checks if header is NULL or not before calling strlen().

    CLA: trivial

    Fixes #18825

    Reviewed-by: Tomas Mraz<EMAIL_ADDRESS>    Reviewed-by: Ben Kaduk<EMAIL_ADDRESS>    Reviewed-by: Paul Dale<EMAIL_ADDRESS>    (Merged from https://github.com/openssl/openssl/pull/18865)

    (cherry picked from commit 205957405d08ef199e6ab654e333a627bbca9ccc)

 crypto/pem/pem_lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

The whole log of the analysis from git bisect log. The first good and two bad were compile issues but the last three seemed to be operational valid:
git bisect start
# bad: [75a6bc17f32505421a78476a972d4d9b74f303b6] Prepare for release of 3.0.6
git bisect bad 75a6bc17f32505421a78476a972d4d9b74f303b6
# good: [ad4910fad22d57c6d685b0ca83bdb7b2bf69d8fd] Prepare for release of 3.0.5
git bisect good ad4910fad22d57c6d685b0ca83bdb7b2bf69d8fd
# good: [ad4910fad22d57c6d685b0ca83bdb7b2bf69d8fd] Prepare for release of 3.0.5
git bisect good ad4910fad22d57c6d685b0ca83bdb7b2bf69d8fd
# bad: [9bd968d42e77e2e7e00756cc7bef0817bf8322e1] APPS: ecparam: Support setting properties
git bisect bad 9bd968d42e77e2e7e00756cc7bef0817bf8322e1
# good: [5eac066bef0c23bb74255423d335e634e4deb8d5] Test that we generate a short private key for known DH prime
git bisect good 5eac066bef0c23bb74255423d335e634e4deb8d5
# good: [497893dfe05d63c24624c3743fc162e2c759f822] 80-test_cmp_http.t: fix adaption of plan on 'certstatus' aspect of Mock server
git bisect good 497893dfe05d63c24624c3743fc162e2c759f822
# bad: [f428e2112c6c795db76d804e0fcb36aac40f1477] Fix bug in EVP_CIPHER_CTX_get_iv_length()
git bisect bad f428e2112c6c795db76d804e0fcb36aac40f1477
# good: [ba65b5b9ae48e5e7f8cf04bd50e3107a0d150c77] Fix quotes install_fips in Configurations/windows-makefile.tmpl
git bisect good ba65b5b9ae48e5e7f8cf04bd50e3107a0d150c77
# bad: [bc1f7ad6c7c8c5eb2f15641fe2e5422e1031bc5c] Updating ifdefs to account for xlclang compiler frontend on AIX.
git bisect bad bc1f7ad6c7c8c5eb2f15641fe2e5422e1031bc5c
# bad: [683480726f6ab46216e30c7505d1a3c4ec90ace9] Fixes segfault occurrence in PEM_write()
git bisect bad 683480726f6ab46216e30c7505d1a3c4ec90ace9
# good: [a1598fb98e93fdf947327561071341012acc5c99] Correction: uncompressed is the default value
git bisect good a1598fb98e93fdf947327561071341012acc5c99
# first bad commit: [683480726f6ab46216e30c7505d1a3c4ec90ace9] Fixes segfault occurrence in PEM_write()

The partial history, with bisect marks is here:
| * 75a6bc17f3 (tag: openssl-3.0.6) Prepare for release of 3.0.6
| * 2b4cf94ad6 make update
| * 4b20cbbe1c Update copyright year
| * a92e538a75 Update CHANGES.md and NEWS.md for new release
| * 4c172a2da4 set MGF1 digest correctly
| * c95e2030c3 Fix LLVM vs Apple LLVM version numbering confusion, for $avx512ifma
| * 6b9d582d49 Fix regression in i2d_re_X509_REQ_tbs()
| * 6c3728c72a armcap: skip probing _armv7_tick()
| * 214bb8f6db Disable printf format checking on MinGW
| * 9ab1c7612c Fix error propagatation in BN_check_prime()
| * 8447b5680c Fix examples related to BIO_do_accept
| * b2f68ebeb5 Test usage of a custom EVP_CIPHER
| * a2893b6233 Ensure we call the cleanup() function when cleaning an EVP_CIPHER_CTX
| * 5485c56679 Fix usage of custom EVP_CIPHER objects
| * 9f0867da4c Configurations: mips64*-linux-*abin32 needs bn_ops SIXTY_FOUR_BIT
| * 9bedeb9a73 Fix missing null check in ossl_cmp_log_parse_metadata()
| * c71728b0d0 OpenSSL::config: Fix trivial bugs
| * e9dd48486c OpenSSL::config: Fix VMS guesses
| * 79eeaf97dd OpenSSL::config: determine the MSVC target architecture by asking cl
| * ae4fc850a7 djgpp: Skip test/rsa_complex.c
| * 8a7e4f1177 djgpp: Define WATT32_NO_OLDIES before including socket headers
| * 7adcdb2a51 djgpp: Use usleep() for ossl_sleep()
| * ed634b1ea4 djgpp: Inherit config from BASE_unix
| * 8ff66343bd Test TLS extension ordering
| * 54ba0f1625 ssl_log_secret call in tls13_key_update
| * 61f8d46d49 If a ticket key callback returns 0 in TLSv1.3 don't send a ticket
| * 104c60e900 Test a 0 return from the ticket key callback
| * a2c0a959e0 Add documentation for the OPENSSL_gmtime functions
| * 7c05215b87 test: Fix memory leak of asynctest
| * 3e7ecb8627 Maximum return value of BIO_ctrl_(w)pending is SIZE_MAX
| * 6db9d09f52 Fix error return values from BIO_ctrl_(w)pending()
| * d40de2cc04 Clear incorrectly reported errors in d2i_CMS_ContentInfo
| * 843a9a9ff6 OSSL_PROVIDER_set_default_search_path() return value
| * 290c1d8d62 Add additional messages to the DTLS dropped records test
| * 9cdee31c89 Correctly handle a retransmitted ClientHello
| * 33796db4a5 Coverity 1515415: NULL dereference
| * ff9b1fe302 Remove unnecessary define
| * c663fb6fc8 Runtime detect FIPS RNG usage in test
| * 5f3dcdf37e Remove FIPS condition on IV gen test.
| * 03781b3771 Remove FIPS condition on SM2 test.
| * e711c4b32b apps/ciphers.h: Ensure ossl_assert() is properly declared
| * 67f58eaac1 Check that sk_SSL_CIPHER_value returns non-NULL value.
| * 70f1b6aaa5 Always use FORMAT_BINARY for infile
| * 6e2f619d13 Update documentation, standard input is expected to be in binary format too
| * 613fe16a90 Fix detection of ktls support in cross-compile environment on Linux
| * 6edcada219 Add an EVP demo for AES key wrap
| * 653abbb929 80-test_ssl_new.t: make dependencies on CTLOG_FILE and TEST_CERTS_DIR explicit
| * acb39e29c3 stack.c: add missing direct error reporting and improve coding style
| * 25ed1e5a79 x509_vpm.c: add missing direct error reporting and improve coding style
| * b5e2b138bf X509_STORE_CTX_set_default(): improve error handling, also in its use
| * 9f4cea9559 Add documentation and test for EVP_PBE_alg_add
| * 1ab630794d Add CI to test old FIPS provider versions
| * 65759e35af With fips provider 3.0.0 skip tests related to explicit curves handling
| * c2f8d715e5 EVP_PKEY_eq: regain compatibility with the 3.0.0 FIPS provider
| * e520991371 Fix default padding regression against 3.0.0 FIPS provider
| * 5eabf8e554 TDES: fix test with old FIPS provider
| * 8462f5d441 evp_test: allow FIPS provider version based escapes in evp_test
| * 4a84c54dbe test: make unit tests FIPS provider version aware
| * 1ed89de84f Fix a typo in the function name
| * d83c465754 util/wrap.pl.in: Use parentheses so `kill` gets all its arguments
| * 684ba5c942 crypto/x509/{x509_req,x_all}.c: add some NULL parameter checks, improve coding style
| * 9bc8fe33e1 X509 x_all.c: Set 'modified' flag when ASN1_item_sign{,_ctx} call was successful
| * fe342fa36e X509 x509_req.c: Set 'modified' flag when X509_req_info_st member data updated
| * 94f47ea43e crypto/conf: gcc build warning fix
| * ed37a881f4 s390x: fix ecx derive
| * b4934a9533 Add an EVP demo for key encoding using EC
| * cb12a69179 Coverity 1513478: negative return
| * 63b7c39aa2 Document the return value of OSSL_LIB_CTX_load_config()
| * 1ef0c91681 Fix documented max. length for info buffer in HKDF
| * 70d9e64b63 apps/speed.c: Wait for generated children
| * 05388908dd Fix man page to indicate SHA256 MAC for PKCS12
| * f127b8aa28 Convert serverinfo in SSL_CTX_use_serverinfo() to v2.
| * b15764e515 Add missing ')' to command help
| * 76b0b7627c test: placate Clang's --Wbitwise-instead-of-logical
| * 784126f117 CMP: correct handling of fallback subject in OSSL_CMP_CTX_setup_CRM() and its doc
| * 41f238d830 util/wrap.pl.in: If the subprocess died with a signal, let's re-signal it
| * 25c486762d Coverity 1508532: out of bounds access
| * 893a416b08 Moving notify check after the no time check
| * 2686c5c666 openssl speed fails in FIPS mode
| * ae9eaf1550 Fix typo in migration guide
| * 53d1eeef0f Always automatically add -DPEDANTIC with enable-ubsan
| * 4e75ba97a2 Fix doc-nits
| * ec47c3060b Coverity 1508506: misuse of time_t
| * aac139414e Clarify dashes are required for openssl list command
| * 2e4b074800 Fix bug in EVP_CIPHER_CTX_get_iv_length()
| * 87ceff925f evp enc: cache cipher IV length
| * d3072f3f3b Limit the size of various MAXCHUNK definitions
| * a6cadcbdc3 Coverity 1508534 & 1508540:  misuses of time_t
| * 405d6dcd09 Add some documentation for X509_gmtime_adj()
| * e2fccd7b1e Clarify documentation in regards to EC key parameters
| * d6d977c807 Add testcases for EVP_PKEY_get1_encoded_public_key
| * 93bb2c45ec ec_kmgmt.c: Do not crash when getting OSSL_PKEY_PARAM_ENCODED_PUBLIC_KEY
| * 682d4a1204 Fix memory leak in BN_rand_range()
| * 0f0634bc8c Ensure we build ub sanitizer builds with -DPEDANTIC
| * 9e4b57fbe9 Don't incorrectly skip the multiblock test
| * d4b9a61383 Test that swapping the first app data record with Finished msg works
| * 1b89d835ab Fix SSL_pending() and SSL_has_pending() with DTLS
| * ba8fd22b35 SHAKE documentation updates for default output length.
| * 93e5c63ee7 Avoid using tsan_add
| * b89f113149 CRYPTO_mem_debug_push() and CRYPTO_mem_debug_pop() should return 0
| * 5a07d91dc9 Correct the documentation for OPENSSL_MALLOC_FD
| * 8bb9fecf63 APPS: genrsa: Support setting properties
| * 4fe6c2fdc8 APPS: dgst: Support properties when signing
| * 9184cfcf66 TEST: Check property query support of apps/pkey
| * be52cfec49 APPS: pkeyparam: Support setting properties
| * 9bd968d42e APPS: ecparam: Support setting properties
| * 05c8bd1f35 APPS: dhparam: Support setting properties
| * d6e3a2c159 property: make cache flushing slight less deterministic
| * ce3951fc30 VC++ 2008 or earlier x86 compilers do not have an inline implementation of InterlockedOr64 for 32bit and will fail to run on Windows XP 32bit. See: https://docs.microsoft.com/en-us/cpp/intrinsics/interlockedor-intrinsic-functions#requirements To work around this problem, we implement a manual locking mechanism for only VC++ 2008 or earlier x86 compilers.
| * b3f53a2f6f test/evp_test: Test if EVP_DigestSign() set signature's length.
| * 08d420dd8e providers: Set the size of EC signature on s390.
| * c69410a786 Properly document deprecation of DH_new() and related functions
| * c682dfdbdf Fix EC_KEY_set_private_key() NULL priv_key docs
| * 66627cdfc2 Add test for EC_KEY_set_private_key()
| * f76cf4d988 Fix EC_KEY_set_private_key() priv_key regression
| * b0501275ef Revert "Fix bug in EVP_CIPHER_CTX_get_iv_length()"
| * 20394c34ef Revert "Note that EVP_CIPHER_get_iv_length returns negative values on error"
| * 2a6275f58b Note that EVP_CIPHER_get_iv_length returns negative values on error
| * f428e2112c Fix bug in EVP_CIPHER_CTX_get_iv_length()
| * cc750a9a81 Check that IV length is not less than zero
| * 2db226ce01 Free up space in the session cache before adding.
| * f5c7331893 Fix wrong default algorithm in openssl pkcs12 help
| * bc1f7ad6c7 Updating ifdefs to account for xlclang compiler frontend on AIX.
| * 683480726f (refs/bisect/bad) Fixes segfault occurrence in PEM_write()
| * a1598fb98e (HEAD, refs/bisect/good-a1598fb98e93fdf947327561071341012acc5c99) Correction: uncompressed is the default value
| * ba65b5b9ae (refs/bisect/good-ba65b5b9ae48e5e7f8cf04bd50e3107a0d150c77) Fix quotes install_fips in Configurations/windows-makefile.tmpl
| * 9154fa3603 Handle SMIME_crlf_copy return code
| * 6ec0318130 REGRESSION: CMS_final: do not ignore CMS_dataFinal result
| * 68061255db Update EVP_KDF-X942-ASN1.pod
| * 1f6eb7b979 GCM: record limit counter gets reset on AAD changes
| * 083fa48750 Remove `no-{ssl|tls|tls1_3|dtls}-method` in INSTALL.md
| * 497893dfe0 (refs/bisect/good-497893dfe05d63c24624c3743fc162e2c759f822) 80-test_cmp_http.t: fix adaption of plan on 'certstatus' aspect of Mock server
| * 625849ef38 Fix visual glitch in non-verbose test output
| * bac5b7405b Fix UWP builds by defining VirtualLock
| * c04b881916 Configurations/10-main.conf: In the VC-common target, unquote $(CC)
| * ea66c8d85a Fix error in LHASH documentation
| * 55461bf22a Don't try to make configuration leaner
| * 08fcfaed85 Add test from "Fix re-signing certificates with different key sizes"
| * 4f1f3e1472 Coverity 1507376: Dereference after null check
| * bb2e11081a Fix a crash in v2i_IPAddrBlocks()
| * 32eb729a42 Fix error in example.
| * c17c386160 X509_STORE_CTX_purpose_inherit(): add missing details to its documentation
| * 54e38d82ed check-format.pl: fix detection of missing/extra blank lines in local decls
| * 03421456b3 check-format.pl: fix false positive on 'for(;; stmt)'
| * c4e65dc8a8 check-format.pl: improve wording: 'no' -> 'missing'; further minor improvements
| * 18b1d210c0 check-format.pl: Fix report on space before ';' and allow it after ')'
| * e7abe53a19 check-format.pl: Fix report on missing space before +/-: allow, e.g., '1e-6'
| * f5650553da check-format.pl: Fix report on constant on LHS of comparison/assignment
| * ac2a419e51 check_format.pl: Add checks for blank lines within/after local decls
| * 45fb04218b check_format.pl: Fix typos
| * fce3dbc038 check-format.pl: Fix report on constant on LHS of comparison or assignment
| * cc90ba6606 Fix verify_callback in the openssl s_client/s_server app
| * ddb81a94ac "Reserve" the method store when constructing methods
| * d3cc10eb0e Coverity 1507372: explicit null dereference
| * 3cfc2a967a Coverity 1503321 & 1503327: dereference after null check
| * 3f348a0f6c Fix aarch64 signed bit shift issue found by UBSAN
| * ce4579adf9 ossl_ffc_params_copy: Copy the keylength too
| * 5eac066bef (refs/bisect/good-5eac066bef0c23bb74255423d335e634e4deb8d5) Test that we generate a short private key for known DH prime
| * c9bdbc12ac dh_to_text: Print the dh->length if set
| * 8ed6ddcaa5 For known safe primes use the minimum key length according to RFC 7919
| * b89a5b8df9 apps/x509: Improve doc fix for -CAserial anc -CAcreateserial
| * 3221eee7e0 Fix memleak in PKCS12_pbe_crypt_ex()
| * c09ce497e5 Add loongarch64 target
| * 87dcdcc124 Coverity 1506566: unchecked return value
| * 1d6c45694a evp: make all _is_a functions accept and handle a NULL argument
| * c7f5109e5f Coverity 1503321 & 1503327: dereference after null check
| * a3845612a6 Added paragraph to free objects alloced by X509V3_add1_i2d()
| * ad464ab77c Updated X509v3_get_ext_by_NID.pod and X509_CRL_get0_by_serial.pod
| * e893c7b043 ocspapitest: use TEST_true to report the exact failure
| * 287947928e ocspapitest: properly check the return of memory-allocating functions
| * 2af7ec5997 Fix EC ASM flag passing
| * cf56f44257 http_client.c: 2nd fix for  calculation of Content-Length in set1_content()
| * 3c85170e1c apps/x509: add warnings for options ignored when -CA is not specified
| * 8ff32e3ecb openssl-x509.pod.in: fix description of certificate serial number storage
| * b74fc77b44 APPS/x509: With -CA but both -CAserial and -CAcreateserial not given, use random serial.
| * fcdd41fea3 apps/x509: Fix -CAfile option being neglected with -new or -in
| * 56f7697c70 Add an EVP demo for CMAC
| * ea9e16d16b Check for EVP_MD being NULL inside ssl.
| * c060c04036 speed: Always reset the outlen when calling EVP_PKEY_derive
| * 372f4b80e3 Pre-declare all core dispatch table functions, and fix the internal ones
| * 8d222dd9ec add a check for the return of OBJ_new_nid()
| * 90d6e6a3d5 ci: add GitHub token permissions for workflows
| * 7486f00d82 OSSL_trace_set_channel.pod and openssl.pod: fix missing/inconsistent category items
| * a58afad996 x509_vfy.c: Revert the core of #14094 regarding chain_build() error reporting
| * 15e2254432 test/certs/setup.sh: add missing comment on CA cert variant without basic constraints
| * f6b6356fdb Fix memory leak in EVP_PKEY_get1_encoded_public_key.
| * fb60393dbf http_client.c: fix calculation of Content-Length in set1_content()
| * d15d29f2b5 apps/cmp.c: fix cleanup of CMP_CTX vs. APP_HTTP_TLS_INFO in its http_cb_arg field
| * 378fcde13e cmp_http.c: extend comment in keep_alive()
| * c340dfa1c0 Fix memory leak in X509V3_add1_i2d when flag is X509V3_ADD_DELETE
| * 174954c993 use #pragma comment(lib) with _MSC_VER only
| * a806fd89b1 feat: add hmac-sm3 test cases from GM/T 0042-2015 Appendix D.3
| * 6e0a9b539f Fix SHA, SHAKE, and KECCAK ASM flag passing
| * c4a7b4ce89 Make evp_test skip mac tests if digest or ciphers are disabled.
| * 4fd10c123c Add an EVP demo for HMAC
| * 7d268078e2 ssl/tls_srp.c: Add check for BN_dup
| * 197e6a3411 NEWS.md: Drop an extra empty line causing mdlint failure
| * 38502628e1 Fix reported performance degradation on aarch64
| * 6d7c5db5cf Windows: use the basename of the product (.dll) for definition files
| * 1dc6d1db42 Updated information for OSSL_SIGNATURE_PARAM_PSS_SALTLEN Fixes #18066
| * 2628de72b9 Fixes OSCP->OCSP typo in ocsp command line
| * c4642915a8 http_client.c: fix comment and documentation of the memory BIOs used
| * ee4b91f116 OSSL_HTTP_REQ_CTX_nbio(): fix copy&paste glitch calling BIO_should_retry(rctx-rbio)
| * 941a1ffc35 OSSL_HTTP_open(): improve use of use_ssl and its documentation
| * ae8a8f0619 app_http_tls_cb(): fix crash on inconsistency w.r.t. use of TLS
| * 6615fd14de openssl-cmds.pod.in: add missing entry for cmp
| * 004a574b31 Fix typos in SSL_CTX_use_certificate.pod file
| * 8aaeb5d4eb Add missing header for memcmp
| * 7762f082d8 Prepare for 3.0.6
| * ad4910fad2 (tag: openssl-3.0.5, refs/bisect/good-ad4910fad22d57c6d685b0ca83bdb7b2bf69d8fd) Prepare for release of 3.0.5

Are the test results stable? If you run the test again, does it consistently fail or pass on these commit ids?

Are the test results stable? If you run the test again, does it consistently fail or pass on these commit ids?

I will retest later today. Thanks.

I am rerunning the bisect from from commit a1598fb98e to 75a6bc17f3 to re-verify the results. I will ensure a fully clean build at each step in the bisect, so this is probably going to take some time.

I am rerunning the bisect from from commit a1598fb to 75a6bc1 to re-verify the results. I will ensure a fully clean build at each step in the bisect, so this is probably going to take some time.

I am completely confused now. Running a clean build, which our build always does, 75a6bc17f3 now passes. It failed 3 straight times, not including twice in the bisect, but now passes. While I cannot justify or account for what is going on, it feels like there is a stack variable that is uninitialized. c99, which we use, does not have a guarantee on the stack of a default initialization - a heap variable is guaranteed to be filled with 0, but not on the stack.

Might egd be failing to produce entropy?
None of our targets initialise stack variables, so that seems a little unlikely (but not impossible).  I don't think we run a sanitiser build using egd for entropy however.
I've checked the egd code out and everything looks like it is being initialised.  There is some egregious error checking missing.  These would cause segmentation faults which you're not seeing.

If your compiler supports -ftrivial-auto-var-init you could try it. Or sanitizers. Though I suspect these are not available on Nonstop.

@paulidale When this is run without a tty (in our Jenkins CI build), we get the errors below. This is 100% consistent and does not occur in 3.0.5. The PRNGD is reporting correctly when this test is run manually. The Jenkins build runs from a grafted workspace, so we are 100% certain of the clean commit being used. Our build on this ia64 platform does not use the FIPS configuration (unlike the x86 where this test passes consistently with the same compiler), which is the only code path difference I can find between the two platforms and 3.0.5 and 3.0.6 relating to this test. The commit in question appears to be c663fb6fc88.
        # ERROR: (int) 'rand_bytes((unsigned char*)public_random, RANDOM_SIZE) == expect_success' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:223
        # [0] compared to [1]
        # ERROR: (bool) 'test_drbg_reseed(1, primary, public, private, &random[0], &random[RANDOM_SIZE], 1, 1, 1, 0) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:390
        # false
        # ERROR: (int) 'status == 0' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:360
        # [256] compared to [0]
        # ERROR: (bool) 'test_drbg_reseed_in_child(primary, public, private, presult) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:433
        # false
        # ERROR: (bool) 'test_rand_reseed_on_fork(primary, public, private) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:538
        # false
        # OPENSSL_TEST_RAND_ORDER=1665719560
        not ok 14 - iteration 14
# ------------------------------------------------------------------------------
        # ERROR: (int) 'rand_bytes((unsigned char*)public_random, RANDOM_SIZE) == expect_success' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:223
        # [0] compared to [1]
        # ERROR: (bool) 'test_drbg_reseed(1, primary, public, private, &random[0], &random[RANDOM_SIZE], 1, 1, 1, 0) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:390
        # false
        # ERROR: (int) 'status == 0' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:360
        # [256] compared to [0]
        # ERROR: (bool) 'test_drbg_reseed_in_child(primary, public, private, presult) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:433
        # false
        # ERROR: (bool) 'test_rand_reseed_on_fork(primary, public, private) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:538
        # false
        # OPENSSL_TEST_RAND_ORDER=1665719560
        not ok 15 - iteration 15
# ------------------------------------------------------------------------------
        # ERROR: (int) 'rand_bytes((unsigned char*)public_random, RANDOM_SIZE) == expect_success' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:223
        # [0] compared to [1]
        # ERROR: (bool) 'test_drbg_reseed(1, primary, public, private, &random[0], &random[RANDOM_SIZE], 1, 1, 1, 0) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:390
        # false
        # ERROR: (int) 'status == 0' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:360
        # [256] compared to [0]
        # ERROR: (bool) 'test_drbg_reseed_in_child(primary, public, private, presult) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:433
        # false
        # ERROR: (bool) 'test_rand_reseed_on_fork(primary, public, private) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:538
        # false
        # OPENSSL_TEST_RAND_ORDER=1665719560
        not ok 16 - iteration 16
# ------------------------------------------------------------------------------
    # OPENSSL_TEST_RAND_ORDER=1665719560
    not ok 2 - test_rand_fork_safety
# ------------------------------------------------------------------------------
    # ERROR: (bool) 'EVP_RAND_instantiate(x, 0, 0, NULL, 0, NULL) == true' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/drbgtest.c:820
    # false
    # 00000000:error:1C8000BD:Provider routines:ossl_prov_drbg_instantiate:error retrieving entropy:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/providers/implementations/rands/drbg.c:456:
    # OPENSSL_TEST_RAND_ORDER=1665719560
    not ok 3 - test_rand_prediction_resistance
# ------------------------------------------------------------------------------
../../util/wrap.pl ../../test/drbgtest => 255
not ok 2

Nice detective work @rsbeckerca! Good that it is a test-only change so no regression in the library.

Good work figuring this one out.  I'm at a bit of a loss as to why a tty would make a difference with that code.
Still, I think a simple fix is possible.

@rsbeckerca, could you give the fix in #19421 a try please?
I don't really see why it would work but it's undoing the change from c663fb6fc880269663aa0ee744b579fbfbd255b8

@rsbeckerca, could you give the fix in #19421 a try please? I don't really see why it would work but it's undoing the change from c663fb6

I will. It may take a day or two - $DAYJOB issues.

@rsbeckerca, could you give the fix in #19421 a try please? I don't really see why it would work but it's undoing the change from c663fb6

I will. It may take a day or two - $DAYJOB issues.

Working on it now. Note that the fix #19421 is significantly older than 3.0.6. I am merging the changes into 3.0.6 and testing that way.

@rsbeckerca, could you give the fix in #19421 a try please? I don't really see why it would work but it's undoing the change from c663fb6

I will. It may take a day or two - $DAYJOB issues.

Working on it now. Note that the fix #19421 is significantly older than 3.0.6. I am merging the changes into 3.0.6 and testing that way.

There are too many conflicts to consider this a valid test. Sorry @paulidale

Thanks.  I'm not convinced #19421 fixes this.  I think there is something more involved at work.

Well, I do not think there is any real regression, it's just that the newly enabled test (by removing the #ifdef FIPS_MODULE) fails. It would fail in earlier releases too.
So maybe the right (at least temporary) fix is to disable the new test if egd is enabled.

@rsbeckerca can you please try #19454 ?

Hmm, actually does the NonStop ia64 define OPENSSL_SYS_UNIX? I thought it doesn't.

Hmm, actually does the NonStop ia64 define OPENSSL_SYS_UNIX? I thought it doesn't.

It is based on the root unix template, so probably yes. The two platforms are rather close to UNIX in most things (other than gcc not being available),

@rsbeckerca can you please try #19454 ?

Under test now. Will report back.

@rsbeckerca can you please try #19454 ?

Under test now. Will report back.

@t8m Tests passed on non-FIPS ia64 build (and continue to on the FIPS x86 build). Thank you.

Fantastic!

I'm not 100% that this is fixed. I ran additional build forms (in this case using POSIX User Threads) on the same branch as above.
    # ERROR: (int) 'ERR_peek_error() == 0' failed @ /home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/test/pkcs12_format_test.c:777
    # [-2147479637] compared to [0]
    # 000000006CFD7C800001000400000000:error:80000FAB:system library:file_ctrl:Resource temporarily unavailable:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/crypto/bio/bss_file.c:326:calling fflush()
    # 000000006CFD7C800001000400000000:error:10080002:BIO routines:file_ctrl:system lib:/home/jenkins/.jenkins/workspace/OpenSSL-3.0_Pipeline/crypto/bio/bss_file.c:328:
    #     # OPENSSL_TEST_RAND_ORDER=1666328900
    not ok 4 - pkcs12_create_test
# ------------------------------------------------------------------------------
../../util/wrap.pl ../../test/pkcs12_format_test => 255
not ok 1 - test pkcs12 formats

Well, that's a separate issue. Could you open a new one? Also please check whether it is reproducible or just intermittent.

Well, that's a separate issue. Could you open a new one? Also please check whether it is reproducible or just intermittent.

Working on it. Running inside and outside our CI/CD structure to see whether there is a difference here too. @t8m Will advise and open a new case once I determine fail characteristics.

Well, that's a separate issue. Could you open a new one? Also please check whether it is reproducible or just intermittent.

Working on it. Running inside and outside our CI/CD structure to see whether there is a difference here too. @t8m Will advise and open a new case once I determine fail characteristics.

This consistently fails. Opened new case #19477.
This case can be closed when the above fix is merged.


Add gitea webhook support

For people who use gitea as git server.

Considering the popularity of gitea vs. gogs could we have some movement on this? The test fails because of a Travis problem as far as I can tell. A rebase should address this.

Hey @pongsatt
Thanks for this. I also use Gitea and would really like it incorporated for this project https://github.com/naiba/nocd/blob/master/repository.go
Any reason why this PR was abandoned ?


Create a separate page for collaborators, sponsors and partner

Create a separate page that has the following sections:

Collaborators
Sponsors
Partners

Think about how we indicate their support for different rounds.

Hi @malvikasharan, I am an outreachy intern amd i would love to work on this issue

Hello @bebatut
My name is Jolade, I am an Outreachy applicant, I will be working on this issue.
thank you.

Thank you for your interest. Such pages exist already. We forgot to close this issue


v0.11.2.x Release announcement note

Just had a though looking at all different test wallets I have and their names....
We need to make BIG RED LETTER NOTE:
IF YOU HAVE WALLET NAMED MASTERNODES.DAT RENAME IT BEFORE UPGRADING TO V0.11.2.x OR YOU WILL LOSE YOUR COINS

plus detailled explaination why.

Sure, but I think not too much detailed, smth like "Wallet will now save additional information about known masternodes to masternode.dat file" should be enough.

this is an important ticket.
i'd like to add:

release notes and explainations about bip66 (miner votes)

bitcoin is currently going through a soft fork on bip66. darkcoin introduces this feature in v<IP_ADDRESS>, too.
here is a bitcoin graphic: http://bitcoin.sipa.be/ver-ever.png
discussion on bct: https://bitcointalk.org/index.php?topic=958036.0

masternodes.dat issue should be solved by https://github.com/darkcoin/darkcoin/pull/225 now

@UdjinM6 #230


Submit to HACS

Include as a default repository in HACS so that it is easier to install.

Added home-assistant/wheels-custom-integrations#446

Drafted https://github.com/hacs/default/pull/1005

blocked-by: https://github.com/hacs/default/pull/1005


New version: Fork.Fork version 1.96.1

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @damn-good-b0t,

This PR's version number 1.96.1 has 3 parameters (sets of numbers between dots - major, minor, etc), which is greater than the current manifest's version 1.92, which has 2 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 880)

Hi @stephengillie, yes the ARP entry exactly matches the package version. :)


Added Lob Api example

I've been seeing lob at a lot of hackathons recently, so I decided to add an API example for it.

Thank you. A pull request I'd like to see more often -- that does not deviate from the code style of the project.


MacOS 11.2 requires explicit --load-sa at each new login

Self explanatory, every time I restart my Macbook I have to run sudo yabai --load-sa before I'm able to switch workspaces using the yabai -m window --space # command since upgrading to Big Sur 11.2.

Running yabai-v3.3.7 installed from homebrew.

Upgrading the system also reverts the sudoers file to default. You might need to re edit that.

https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#macos-big-sur---automatically-load-scripting-addition-on-startup

Ah. Never needed that before. It fixed it. Thank you.


fix: recognize built-in types more reliably

As-is, this logic fails to capture built-in types on my system; require.resolve('typescript') returns /home/<redacted>/node_modules/typescript/lib/typescript.js, while the list of declaring file names for Uint8Array is as follows:
[
  '/node_modules/typescript/lib/lib.es5.d.ts',
  '/node_modules/typescript/lib/lib.es5.d.ts',
  '/node_modules/typescript/lib/lib.es2015.iterable.d.ts',
  '/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts',
  '/node_modules/typescript/lib/lib.es2016.array.include.d.ts'
]

(IDK how elegant this trick is, but at least it's better than the .includes('typescript/lib') hack I tried at first.)

Thanks @mrnerdhair.
Can you replicate your problem with a test please?

@johngeorgewright now with a testcase -- prior to this change, for context Uint8Array was being turned into a Dictionary(Number, Number).
Also, did a ts-morph deep-dive and figured out an actually elegant way to determine if a type is built-in that doesn't rely on paths! The TS standard library has many files, but all have /// <reference no-default-lib="true"/> at the top. Declarations are now considered built-in if they're in one of those files, and if there's a declaration at the same level with the same name that's a valid target for InstanceOf() (i.e. a variable, class, or function declaration).


Expose all applicable uvicorn settings via config.

The tiled service config file has a section of uvicorn parameters that are forward to uvicorn.
https://github.com/bluesky/tiled/blob/95616f273ed9b770991437f7f1509c30296f4269/tiled/schemas/service_configuration.yml#L293-L335
It currently covers the most important uvicorn settings --- all the ones we have needed so far, and more --- but it is not complete. It seems likely that if this is widely used someone will find a use case for most of those settings, so we should expose them.

The coverage is pretty good now. I think we can wait to add more until people ask.


is there are way to filter out based on case type while downloading to excel.

how can we filter out records based on case type while downloading to excel.  Like i would only like to download I-765 cases to excel even though the search will include all case types . is that possible to add a filter for case type ?

Lol... questions should be asked by opening an issue. PR is used when you have a fork, made some changes, and you want the upstream to accept your change by merging your changes to the upstream.
I can see it would be helpful if there is a filter. However, I would like to remind you that the USCIS website does not always show the case type in their response. We are not able to get the case type for most caseIDs, which may result in incomplete downloads and inaccurate analytical results.


May I request to support PostgreSQL 14+?

Currently, 0.6.9 only support PostgreSQL 13.3- version. Doesn't work for 14.0+ DB backup/restore.
Much appreciate if update the PostgreSQL image for 14.0+
Upgrade image ghcr.io/kanisterio/postgres-kanister-tools:0.69.0 with latest PostgreSQL client shipped.
BTW: How to change the timezone of dest file?
pg_backups/{{ .StatefulSet.Namespace }}/{{ .StatefulSet.Name }}/{{ toDate "2006-01-02T15:04:05.999999999Z07:00" .Time | date "2006-01-02T15:04:05Z07:00" }}/backup.sql.gz
Such as , change from UTC to GMT+5.
Thanks!

BTW: How to change the timezone of dest file?
pg_backups/{{ .StatefulSet.Namespace }}/{{ .StatefulSet.Name }}/{{ toDate "2006-01-02T15:04:05.999999999Z07:00" .Time | date "2006-01-02T15:04:05Z07:00" }}/backup.sql.gz
Such as , change from UTC to GMT+5.

Hey @terry5168 you can refer this https://docs.kanister.io/templates.html#time

Thanks for the reply.
Ya, I checked that doct. But seems not get the trick.
I tried to change timezone by changing:
"2006-01-02T15:04:05.999999999+08:00" .Time  | date "2006-01-02T15:04PM"
the result as following:
/mongodb-backups/ota-mongodb/0001-01-01T00:00AM/mongodb_backup.gz
the date seems messed and time is wrong.

https://github.com/kanisterio/kanister/blob/master/docker/postgresql/Dockerfile


Hacktoberfrest-2022

Please approve my contribution

Don't create a separate file. Just contribute in Online-Courses.json


modified instance state tests

PR summary

Made it so the disable and enable instance state tests only check if the required fields are in the response, rather than checking the value of those fields.
Fixes: <! -- link to issue -->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

I'm closing out this PR without merging because the changes have been applied to this PR   which has other changes included as well.


Update override-demo.yaml

Reference demo override includes 4 redundant definitions for chaos-machine

This pull request has been automatically closed due to 30 days of inactivity. If you believe this was done in error, please feel free to reopen the PR or reach out to the BT team for further assistance. Thank you for your contributions!


fix mistake in README

Fix issue #1234: short description
Proposed Changes

Added option ...
Updated README ...
Updated man page(s)

Ha ha ha, thanks man! :-)
Best regards
/Cut-and-Paste Master

;)


"OWML can't be in a sub-path of the Mod Manager" error

Whenever I try to launch the game through the launcher, this error message displays:

The game launches anyway, but some mods seem to not work properly.
The launcher installed OWML for me of course, and I haven't messed with any of the files since installing. How can I fix this? do I need to move the OWML folder, and if so, where?
Mod manager version 1.2.3
OWML version 1.1.8
This is the mods folder in AppData/roaming if it helps at all:

This shouldn't happen anymore


Triggered effects

Adds an effect that activates other effects on hit, and the groundwork necessary for similar effects.
Code Features:

Publisher, A fully generic static event publisher class.
ParentEffect, a parent which acts as a more generic Shooter that works with normal SubEffects.
TriggeredEffect, another parent class that handles registering and deregistering from Publishers, as well as logic to prevent effect applications from recursing by limiting activations to one per character per update.
HitEvent, a struct for use with Publisher. Includes a patch on the ReceiveHit method of Character to raise hit events.

SL Features:

OnHitEffect, an effect that triggers it's SubEffects when a hit is detected. Uses Block, Reference, Hit, and Normal effect categories for different combinations of effect owner and hit target. Also has some common hit conditions that can't easily be tracked by EffectConditions

TODO:
Documentation
EffectLifecycleEffect, which activates effects based on it's own lifecycle. Mostly useful with status effects. Might not actually need events to work.

Added two new container effects

OnEquipEffect, which triggers it's effects when the character equips or unequips an item. Applies Activation and Normal effects when you equip an item, Normal and Referenced when you unequip an item. The events are raised after their corresponding action, so the item is already equipped or unequipped when the event takes place.
EffectLifecycleEffect, which activates it's effects based on it's own starting and stopping. AppliesActivation effects the first time it applies, Normal each time it applies including the first, and Referenced when it ends.

Also made some extra changes to Parent and Triggered effects in general

Parent Effects have helpers for starting and stopping effects, rather than always applying and then immediately unapplying them.
Parent Effects have a configurable limit of how many times their effects can be activated on the same frame per character, rather than just once per character.

Still need to document these fully.


Adenike Ateloye's Initial Contribution on Governance Model(Signac)

Name: Adenike Ateloye
Project Assigned: Signac
Link to Signac Governance Model: https://signac.io/governance/
Signac Governance model
The signac project is an open-source community initiative with the aim of creating data management and processing software. Everyone who becomes interested in the project is welcome to join the group and participate in decision-making and project design.
Signac governance outlines the process by which contributions are made, the role that community members may play, as well as the responsibilities and advantages these roles include.
The management, supervision, and decision-making processes for projects are governed by a set of rules, protocols, and policies known as project governance. As part of the management process, project governance establishes the benchmark by which projects are judged to have been successful.
Project roles
A variety of roles play a part in the project's success under the Signac governance paradigm. They consist of:

Users

Contributors

Committers

Project maintainers

Administrators

Project Managers
o	Triage Manager
o	Community Manager

Decision-Making process

Project maintainers have a significant role in decision-making at Signac, however administrators and committers may also participate in some cases. They consist of;

The acceptance or rejection of committer and project maintainer nominations, as well as debates and decision-making processes on the project's strategic direction, are expected of all project maintainers.

Little improvements (to documentation, code, or CI settings) can be made by maintainers who are also committers without a pull request.

Any member of the community who has demonstrated outstanding dedication to the signac project and command of its overarching goals may be extended an invitation to take on the role of project maintainer. The present project maintainers must vote by two-thirds to approve new project maintainers.

The (self) nomination process is used to find new committers. By a majority vote, the project maintainers will decide whether to approve or reject the nomination.

If necessary, such as after an extended period of inactivity, the project maintainers may revoke the committer role by majority vote.

How simple or complicated it was to locate and comprehend the governance model:
On the website's navigation bar, I readily found the link to the governance model. I thought the governance structure of Signac was straightforward and precise, thus I had no trouble compiling my points for this work.
I struggled, though, to add the proper label to the issue in the repository, which was eventually fixed.

@arliss-NF Looking forward to feedback on this assignment. Thank you ma.

Thank you @arliss-NF for the update on the title of my issue. I really appreciate the feedback.

@Oyetayo12 - great first contribution - well-organized so that I could read easily.  Your conclusions are spot on.  Being able to find the governance model quickly is the correct approach for any open-source project, but believe me, it is not always the case.

Thank you @arliss-NF for the feedback. point well noted.


Can I get the same results for the same dataset

When I use this toolkit for the same dataset over and over agian and I got different models. How can I get the same results for the same dataset?

If the random seed is the same, then results will be the same. You may have to set the random seed in more than one place.
…
On Thu, 13 Sep 2018 09:04 JackieShui, @.***> wrote: When I use this toolkit for the same dataset over and over agian and I got different models. How can I get the same results for the same dataset? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#415>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOypPoM24wtBmuc5V3TaN7ZR-UUMmMHks5uahFMgaJpZM4Wmw22 .

Does the auto_ml provide the params to set the random seed?

I imagine is does, try huntisng around. Python also has some settings for
random seeds for some of the base libraries, there are two major ones, from
memory. Just use trial and error until you get two identical runs.
On Thu, 13 Sep 2018 09:32 JackieShui<EMAIL_ADDRESS>wrote:

If the random seed is the same, then results will be the same. You may
have to set the random seed in more than one place.
… <#m_1876121903311457515_>
On Thu, 13 Sep 2018 09:04 JackieShui, @.***> wrote: When I use this
toolkit for the same dataset over and over agian and I got different
models. How can I get the same results for the same dataset? — You are
receiving this because you are subscribed to this thread. Reply to this
email directly, view it on GitHub <#415>, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABOypPoM24wtBmuc5V3TaN7ZR-UUMmMHks5uahFMgaJpZM4Wmw22
.
Does the auto_ml provide the params to set the random seed?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ClimbsRocks/auto_ml/issues/415#issuecomment-420927658,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABOypJT7F26YlRpwqkRCYuqDm7i8KLVLks5uahgFgaJpZM4Wmw22
.

I imagine is does, try huntisng around. Python also has some settings for random seeds for some of the base libraries, there are two major ones, from memory. Just use trial and error until you get two identical runs.
…

Thank you! I'll try it.


TabNine::config_dir doesn't work

OS version: [Win 10]
Editor version [1.51.0]:
Programming language: [python]
TabNine extension version:3.15

I use remote ssh extension and I want to use tabnine on a machine without a GUI, when I try

Copy a working config file from another machine. You can find the file location by typing TabNine::config_dir and adding tabnine_config.json to the end of the path.

I found that the command TabNine::config_dir doesn't work!!!!!!!!

When I use command TabNine::config, it couldn't start a web browser.

By the way, you said there is another way to solve this:

Use port forwarding to view the config panel from your local machine. If your remote machine's address is<EMAIL_ADDRESS>and TabNine is listening on port 5555, the following command will do this: ssh -L 5555:<IP_ADDRESS>:5555<EMAIL_ADDRESS>
but it doesn't work too

I just want to use TabNine, why it is so hard?

Sorry for the bad experience @mitming, we will look into it and provide a solution ASAP.
Thank you very much for caring deeply and contacting us.

Hi @mitming ,
Apologies for the late response,
please be advised that 'TabNine::config_dir' is an editor command and should be typed inside the IDE editor directly and not using the command palette (as appears from the screenshots you've provided).
when typing it inside of a file, you should expect to see something similar to the following:


Remove void type

The one use case for the void type is void-pointers, but these are broken on Mac versions of LLVM. We should probably just remove the void type.

Considering we have generics, void shouldn't be used in Ark code. I think we should just move it under C::void as a type alias of u8 or something for C interop.

:+1: C::void

Yeah just C::void

Okay, looks like we're all agreeing on this. Any takers on implementing this one?

Sure


Add dynamic Image Support

Update image directive to allow for both text url and function return of text.

closed by https://github.com/GeneralElectric/winchjs/pull/2


List view formatting: usage of commandBarProps hides "Details" in context menu (MS lists view in Sharepoint list)

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
Declarative list formatting
Developer environment
None
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details
Chrome 126 (but it seems not to be browser related issue)
Describe the bug / error
If commandBarProps  are added the to the json list view, it is not possible to access the details pane anymore (button to access hides within context menu).
Context menu of a list item (without commendBarProps defined):
"Details" available!

Context menu of a list item (with commendBarProps defined):
"Details" not available!

According to the official documentation (linked above) there's no key available to control the details pane. But, adding the commandBarProps should not affect unrelated items.
Steps to reproduce

Open SharePoint List (new MS List View)
Apply following json to view:

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",
  "commandBarProps": {
    "commands": [
      {
        "key": "edit",
        "hide": "false"
      }
    ]
  }
}

Reload page and open the context menu of one list item.

Expected behavior
"Details" should be available in context menu to open the details pane on the right side of the list.
Instead the entry "Details" is not available.
Maybe somehow related: https://github.com/SharePoint/sp-dev-docs/issues/9711

@XueSheng-GIT Thanks for reporting the issue. Issue is fixed and will be available in production in 2 weeks.

Selection of Details is now available again in in our production environment. Thus, I'm closing this issue.
Thanks for taking care @tpodugu-ms.


404 in github actions

This action has been working great for me but suddenly (today) getting 404s:
Run foundry-rs/foundry-toolchain@v1

Error: Error: Unexpected HTTP response: 404

I am also seeing this error from GitHub Actions pulling the chain.

Also getting this error.

Ah I think the issue is that the plain nightly tag didn't include the release assets yesterday: https://github.com/foundry-rs/foundry/releases/tag/nightly. hopefully fixed with today's release, else maybe this action needs to fetch latest nightly release hash

This will be fixed with the next nightly. GitHub decided to stop our release workflow before the final step.

ty @onbjerg

Is it possible to just install the latest instead of nightly? I tried this but am still getting the 404. Same result if I remove the with section altogether.
      - name: Install Foundry
        uses: foundry-rs/foundry-toolchain@v1
        with:
          version: latest

Could you try pinning to an earlier commit, e.g. two days ago's release?

@hayesgm version: nightly-63ed1099a74fded7c3a7182b5a508bd7d16743d3 did the trick. thanks!


TOTP

Add the option for two-factor auth. This requires:

Adding new endpoints for logins, because logging in may now be a two-step process
Adding new client methods (for Hibiscus)
Adding storage for short-lived tokens (with expirations that are guaranteed to be much shorter than the maintenance period)

This isn't going to be 1.0.0. There are too many unanwered questions around automation and the like.


Conditional branches are lifted into LLIL tailcall

Conditional branches have two outgoing edges, and if one of those edges is a function then binja lifts it into a single-edge tailcall.

Offset 0x8116:
VGAuthService.zip

Closed after some discussion. Just needed a second set of eyes.


debug mode interaction for non-flask server

Fixes the interaction of the debug mode with available server options.
When having debug=True and specify server argument, the application currently has the interaction as below:

server='flask': this works correctly and the application is updated when users edit a file
server='tornado': no update when users edit a file
server='gevent': no update when users edit a file

Changes proposed in this pull request:

for tornado, tornado.autoreload is enabled if debug is true
for gevent, because it doesn't support automatic detection for code changes, the application'll display a log message suggesting users to try other options

Just so you know, this might get changed/deleted for the version 3.x rework anyway - don't have a good view on that atm

No worries, I am exciting to see how things will be shaped up in version 3.x and make some contributions to the future development. Even though this might get change, it's still a good idea to keep an eye on how everything interacts in the debug option.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.342%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2651

Relevant Lines:
2810

💛  - Coveralls


JAMES-XXXX Modularize TypeState

Submit draft PR first so I would not get lost too far(if I do)

There are so many changes, hope commits log is not too mess.
Also I look like need to solve conflict and write more tests.

Read it. You might wanna be careful when squashing your fixups.
Like this one 626c002, I would suspect it's definitely mixing 2 or 3 commits together

Yes I know it's quite mess up. But now I have to handle the compile before I can clean up commit history:
Cannot resolve overloaded method 'collect': 86 Identity.scala

Which is not related to my work, still figuring it out.

Still need to write more tests I think. Beside that, should I change PushState hashing from all kind of states instead of 2 states as now?

Giving a second thought about it I would really appreciate to have backward compatibility on the DTO deserialization with some sort of fallback.
Let me have a look at it this morning...


Correction for raw affiliation AGIR Research Unit, UR UPJV 4294, Jules Verne University of Picardie, Amiens, France.; Deprtment of Virology, Amiens University Medicl Center, Amiens, Frnce.

Correction needed for raw affiliation AGIR Research Unit, UR UPJV 4294, Jules Verne University of Picardie, Amiens, France.; Deprtment of Virology, Amiens University Medicl Center, Amiens, Frnce.
raw_affiliation_name: AGIR Research Unit, UR UPJV 4294, Jules Verne University of Picardie, Amiens, France.; Deprtment of Virology, Amiens University Medicl Center, Amiens, Frnce.
new_rors: 010567a58;01gyxrk03
previous_rors: 01sjmsj73;010567a58;01gyxrk03
works_examples: W3025921416
contact: ecbe1227add502a8e8b1ffa0204ffa88:ef85a34f5461676354d33ee46e992f27 @ u-picardie.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Failed to get Data

When create League，for example, england, it could not connect to football-data server. maybe denied to access the website. How to tackle with this. Could you please provide me an example historical dataset to check the whole codes.?  Great thanks for reply.

Can you send me the cmd (command line) log (text)? Open the cmd, navigate to Prophitbet's folder and type python main.py and try to download a league. You will be able to see the error message. Then, upload a screenshot in order to provide more information about the problem.

Is is possible to download data excels first and put them into special location to do further analysis?  Or if possible, please send me a created league as example?

But I can go to the webpage and download data.  https://www.football-data.co.uk/

Hmm, all right. I see. The issue is related to geo-political issues, as Google does not allow you for some reason to ping their server.  So the app think you do not have access to the internet. You can bypass this by opening network/netutils.py and replace the "False" in line 9 with "True". It should work.

I have changed the return "False" to "True". Still I cannot connect to internet to create league. Can you send me the related file after creating league ?     maybe via email<EMAIL_ADDRESS> great thanks.

All right, in the same file, replace the entire code with this one:
import requests

def check_internet_connection() -> bool:
    return True

It should work fine

No, unfortunately You cannot manually add a league flle for several reasons. Please provide me with the following:

Send me a screenshot of the modified network/netutils.py files.
The error that appears.
The log of the cmd (command line) that is displayed when the error occurs. If you don't know what that is, I can help you open the cmd.

ok, I see that Return True line has 8 spaces for some reason. Can you change it to have 4 spaces? Just completely delete everyting in the file and paste the following:
def check_internet_connection() -> bool:
    return True

It should work! I mean, it does work on everyone else.

It still not work.  Thanks again for your patient suggestions.

Does it still shows the same message?

yes. the same error.  Could not connect to the internet serve. Maybe location restriction.

Does it still shows the same message?

when i trying to create league,it doesn't work,as the picture shows

Can you also show me a screenshot of the create league window?

dragonysz

Yes, but You said that you can connect to https://football-data.co.uk/ website. I really can't understand the cause of this. Try running a command line (cmd) and type the following:
python
import pandas as pd
df = pd.read_csv('https://www.football-data.co.uk/mmz4281/2324/E0.csv')
df
Does this code work? It should download the Premier League data. If not, it means that you are not allowed to have access to the server for some reason.

When I use jupyter to run the above code, a list of excel was shown. when I typed the website, a csv has been downloaded.  But I cannot creat league correctly.

All right, let's try one last thing!
Go to file gui/dialogs/leagues/create.py and replace code with the above:

from tkinter import messagebox, StringVar, BooleanVar, IntVar, END
from tkinter.ttk import Label, Combobox, Checkbutton, Entry, Button
from database.entities.leagues.league import LeagueConfig
from database.network.netutils import check_internet_connection
from database.repositories.league import LeagueRepository
from gui.dialogs.dialog import Dialog
from gui.task import TaskDialog
from gui.widgets.intslider import IntSlider
from gui.widgets.utils import create_tooltip_btn, validate_id_entry

class CreateLeagueDialog(Dialog):
    def __init__(self, root, league_repository: LeagueRepository):
        self._league_repository = league_repository
        self._all_leagues_dict = league_repository.all_leagues_dict

        self._cb_country_values = list(self._all_leagues_dict.keys())
        for i, config_list in enumerate(self._all_leagues_dict.values()):
            self._cb_country_values[i] += f' ({config_list[0].category})'

        self._odd_features = ['1', 'X', '2']
        self._home_features = ['HW', 'HL', 'HGF', 'HGA', 'HWGD', 'HLGD', 'HW%', 'HL%']
        self._away_features = ['AW', 'AL', 'AGF', 'AGA', 'AWGD', 'ALGD', 'AW%', 'AL%']
        self._matches_df = None
        self._league_config = None

        self._selected_league_cb = None
        self._league_id_entry = None
        self._year_star_cb = None
        self._selected_country_var = StringVar()
        self._league_id_var = StringVar()
        self._match_history_window_var = IntVar(value=3)
        self._goal_diff_margin_var = IntVar(value=3)
        self._odd_vars = {col: BooleanVar(value=True) for col in self._odd_features}
        self._home_vars = {col: BooleanVar(value=True) for col in self._home_features}
        self._away_vars = {col: BooleanVar(value=True) for col in self._away_features}
        self._year_start_var = IntVar(value=2015)
        self._all_vars = {**self._odd_vars, **self._home_vars, **self._away_vars}

        super().__init__(root=root, title='Create League', window_size=self._compute_required_window_size())

    def _compute_required_window_size(self) -> dict[str, int]:
        x = 400
        y = len(self._home_features)*60 + 220
        return {'width': x, 'height': y}

    def _create_widgets(self):
        Label(self.window, text='--- League Settings ---', font=('Arial', 14)).place(x=100, y=10)

        Label(self.window, text='Select Country:', font=('Arial', 14)).place(x=15, y=45)
        country_cb = Combobox(
            self.window,
            values=self._cb_country_values,
            width=21,
            font=('Arial', 10),
            state='readonly',
            textvariable=self._selected_country_var
        )
        country_cb.current(0)
        country_cb.bind('<<ComboboxSelected>>', self._adjust_league_settings)
        country_cb.place(x=165, y=50)

        Label(self.window, text='Select League:', font=('Arial', 14)).place(x=15, y=85)
        self._selected_league_cb = Combobox(
            self.window,
            width=21,
            font=('Arial', 10),
            state='readonly'
        )
        self._selected_league_cb.bind('<<ComboboxSelected>>', self._adjust_stats_settings)
        self._selected_league_cb.place(x=165, y=90)

        Label(self.window, text='League ID:', font=('Arial', 14)).place(x=15, y=125)
        self._league_id_entry = Entry(
            self.window,
            width=28,
            font=('Arial', 10),
            textvariable=self._league_id_var
        )
        self._league_id_entry.place(x=135, y=130)
        create_tooltip_btn(
            root=self.window,
            text='Identifier (ID) of this league. Each league should have unique ID.'
        ).place(x=350, y=130)

        Label(self.window, text='--- Stats Settings ---', font=('Arial', 14)).place(x=110, y=175)

        Label(self.window, text='Match History Window:', font=('Arial', 14)).place(x=15, y=215)
        IntSlider(

            self.window,
            from_=3,
            to=5,
            variable=self._match_history_window_var,
            compound='bottom'
        ).place(x=220, y=215)
        create_tooltip_btn(
            root=self.window,
            text='Number of past matches to examine to compute team stats'
        ).place(x=330, y=215)

        Label(self.window, text='Goal Margin Diff:', font=('Arial', 14)).place(x=15, y=255)
        IntSlider(
            self.window,
            from_=2,
            to=3,
            variable=self._goal_diff_margin_var,
            compound='bottom'
        ).place(x=180, y=255)
        create_tooltip_btn(
            root=self.window,
            text='Goal Difference Margin to compute HGD, HGA, AGD, AGA stats'
        ).place(x=290, y=255)

        Label(self.window, text='--- Stats Columns ---', font=('Arial', 14)).place(x=100, y=300)
        Checkbutton(
            self.window,
            text='Odd-1',
            onvalue=True,
            offvalue=False,
            variable=self._odd_vars['1']
        ).place(x=70, y=340)
        Checkbutton(
            self.window,
            text='Odd-X',
            onvalue=True,
            offvalue=False,
            variable=self._odd_vars['X']
        ).place(x=170, y=340)
        Checkbutton(
            self.window,
            text='Odd-2',
            onvalue=True,
            offvalue=False,
            variable=self._odd_vars['2']
        ).place(x=270, y=340)

        for i, col in enumerate(self._home_features):
            Checkbutton(
                self.window,
                text=col,
                onvalue=True,
                offvalue=False,
                variable=self._home_vars[col]
            ).place(x=90, y=370 + i*30)

        for i, col in enumerate(self._away_features):
            Checkbutton(
                self.window,
                text=col,
                onvalue=True,
                offvalue=False,
                variable=self._away_vars[col]
            ).place(x=240, y=370 + i*30)

        Label(self.window, text='Start Year:', font=('Arial', 14)).place(x=80, y=self.window_size['height'] - 85)
        self._year_star_cb = Combobox(
            self.window,
            width=10,
            font=('Arial', 10),
            state='readonly',
            textvariable=self._year_start_var
        )
        self._year_star_cb.place(x=190, y=self.window_size['height'] - 80)

        Button(
            self.window,
            text='Create League',
            command=self._create_league
        ).place(x=150, y=self.window_size['height'] - 40)

    def _adjust_league_settings(self, event):
        country = self._selected_country_var.get().split(' ')[0]
        self._selected_league_cb['values'] = [league.name for league in self._all_leagues_dict[country]]
        self._selected_league_cb.current(0)
        self._league_id_entry.delete(0, END)
        self._league_id_entry.insert(0, f'{country}-{self._all_leagues_dict[country][0].name}-0')

        self._adjust_stats_settings(event=event)

    def _adjust_stats_settings(self, event):
        country = self._selected_country_var.get().split(' ')[0]
        league_config = self._all_leagues_dict[country][self._selected_league_cb.current()]
        year_start = league_config.year_start
        self._year_star_cb['values'] = [year_start + i for i in range(0, 2020-year_start + 1)]
        self._year_start_var.set(value=2015)

    def _create_league(self):
        if True:
            if validate_id_entry(parent=self._window, text=self._league_id_var.get()):
                league_id = self._league_id_var.get()

                if league_id not in self._league_repository.get_created_leagues():
                    country = self._selected_country_var.get().split(' ')[0]
                    features = [col for col, var in self._all_vars.items() if var.get()]
                    league = self._all_leagues_dict[country][self._selected_league_cb.current()]
                    league.year_start = self._year_start_var.get()

                    league_config = LeagueConfig(
                        league_id=league_id,
                        league=league,
                        match_history_window=self._match_history_window_var.get(),
                        goal_diff_margin=self._goal_diff_margin_var.get(),
                        features=features
                    )
                    self._matches_df = TaskDialog(
                        master=self.window,
                        title=self.title,
                        task=self._league_repository.create_league,
                        args=(league_config,)
                    ).start()

                    if self._matches_df is not None:
                        self._league_config = league_config
                    else:
                        messagebox.showerror(
                            parent=self.window,
                            title='Failed',
                            message='Failed to create league. Check command line (cmd) for more details.'
                        )

                    self.close()
                else:
                    messagebox.showerror(
                        parent=self.window,
                        title='League-ID exists',
                        message=f'A league with ID: "{league_id}" already exists. Enter a unique ID.'
                    )

    def _init_dialog(self):
        self._window.bind('<Return>', self._get_dialog_result)
        self._adjust_league_settings(event=None)

    def _get_dialog_result(self, event=None) -> tuple:
        return self._matches_df, self._league_config

Can you also show me a screenshot of the create league window?

Can you also show me a screenshot of the create league window?

Can you also show me a screenshot of the create league window?

Can you also show me a screenshot of the create league window?

it might be due to tkinter library. Open a cmd and type: pip show tk and show me which version you use.

Can you also show me a screenshot of the create league window?

Can you also show me a screenshot of the create league window?

it might be due to tkinter or pandas library. Open a cmd and type: pip show tk and pip show pandas and show me which versions you use.

when I used the old version,never had this problem.

Yes, I see. The pandas version is different. Try re-installing this pandas version and try again:
pip install pandas==1.4.3
I also updated the requirements to make sure everyone updates their pandas version.

Yes, I see. The pandas version is different. Try re-installing this pandas version and try again: pip install pandas==1.4.3
I also updated the requirements to make sure everyone updates their pandas version. Perhaps you should also check the requirements, to make sure your library versions match the suggested ones: https://github.com/kochlisGit/ProphitBet-Soccer-Bets-Predictor/blob/main/requirements.txt

I don’t know why, but when i trying to install the specified version,it fails

yes, I think it requires visual studio to be installed, because it says microsoft visual c++ is required

yes, I think it requires visual studio to be installed, because it says microsoft visual c++ is required

thanks a lot, i lower the python version to 3.9,it successfully worked. now im trying to figure out the parameters of these new models. the accuracy rate is only about 50%,any suggestions?

I had the same problem with creating a new league . It was the VPN . Disconnect it in order to download the data.


Output version of generated Prisma Client in prisma -v

Currently you can output prisma -v and think you are all good, but you actually still have an outdated old Prisma Client generated with an older version that will fail, which you will only possibly notice in the Client error message. This would be easier to spot if prisma -v would also output the version (and location!) of the currently generated Client - and possibly even highlight an outdated version (or one that does not match your @prisma/client in your project).

Hi there,
As part of our effort to clean up our GitHub repo, we’re closing this issue to help focus on features and improvements that align with our focus areas and those of our community.
This issue was originally created for internal tracking purposes, but if you feel this is important to you, feel free to reopen the issue and get like-minded users to upvote as we will prioritize fixing issues based on community interest.
For more insight into our priorities and how we’re thinking about the future of Prisma, please see our blog post: https://www.prisma.io/blog/prisma-orm-manifesto.
Thank you for your understanding and support!


add an export project button

Export project or Download project. This would export the pad as a valid Dart project, with a pubspec and directories. It might also create IntelliJ metadata files (.idea/)?

cc @Sfshaza  @kwalrath

an alternative path for this would be cloning the gist repo, and then pushing to a separate remote:http://stackoverflow.com/questions/13671328/transfer-gist-repo-to-github


Better: Suffix every array params by []. RD-18147

https://jira.ringcentral.com/browse/RD-18147

Thanks for catching this one. I missed it because I searched only string in array :facepalm:
Anyway, it's fixed.

LGTM


nbdev does not generate sidebar items recursively

when converting notebooks to HTML, nbdev searches recursively for notebooks in all subdirectories.
but creating the sidebar.json does not search recursively

yeah we don't have a solution to this at the moment - best to avoid subdirs for nbs

Im working on contributing a solution, already made one pull request
On Wed, 16 Sep 2020, 22:39 Jeremy Howard<EMAIL_ADDRESS>wrote:

Closed #254 https://github.com/fastai/nbdev/issues/254.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fastai/nbdev/issues/254#event-3774776188, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOMAWTT5VE6D2T2L5AGOG3SGEH5VANCNFSM4ROV5BKA
.


[KBM] Avoid checking reserved/unassigned/oem-specific/undefined key codes during shortcut remaps

Summary of the Pull Request
What is this about?
This PR tweaks the code that checks keys to be ignored during shortcut remaps to be more generic. Rather than ignoring the few problematic codes as issues are created (so far 0xF0, 0xF1, 0xF2, 0xF3), the PR ignores any key codes mentioned as unassigned, reserved, undefined or oem-specific on the official docs at https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes, similar to the fix done for shortcut guide at #6025
PR Checklist

[X] Applies to #6951
[X] CLA signed. If not, go over here and sign the CLA
[X] Tests passed

Validation Steps Performed
How does someone test & validate?

Validate that shortcut to shortcut remappings work on En-US
Validate on Japanese language that even after pressing Shift+Caps, Alt+Caps, Ctrl+Caps or Alt+` the shortcut remaps still work.

@enricogior @crutkas can you cherry-pick this to stable, since I don't have permission to directly push to stable?

i thought we'd be doing the PR against stable then merging cherry picking back to master.

@crutkas for both scenarios I don't have the permissions for merging the cherry picked commit.


Some error with the few shot example

py/cookbooks/labeled_few_shot/json.ipynb score is way lower than a naive llm with no optimization. Also the examples are clearly messed up in last cell:
Analyzing sample texts:
Text: I absolutely adore this new smartphone!
Sentiment: Positive
Reasoning: The text expresses a strong positive emotion towards the subject, indicating enthusiasm and satisfaction about the statement made.
Text: The customer service was terrible and unhelpful.
Sentiment: Positive
Reasoning: The text expresses a high level of satisfaction and enthusiasm, indicating a very positive sentiment towards the subject.
Text: The movie was okay, nothing special.
Sentiment: Positive
Reasoning: The text expresses a strong positive emotion toward something, indicating a high level of satisfaction and appreciation. The word 'great' reflects a positive sentiment.

Hey @fredc1! Are you generating the reasoning before the sentiment? That can lead to confirmation bias. Can you try this with reasoning first then sentiment?

I'm just commenting on the outputs already in your notebook committed to vc..... go look at the notebook on github I didn't run anything
core/py/cookbooks/labeled_few_shot
/json.ipynb


feat: explicit python exceptions

Description
Working on an integration, I felt that our error handling in python was a bit opaque and handling errors on the python side would have to rely on inspecting the error message, which can easily silently break, if not covered by tests.
The proposed approach would be to introduce a few more python exceptions and - as we already do - rely on existing python exceptions where appropriate.
As this would be a bigger breaking change on the python side I guess, looking for some feedback, if you think this is worthwhile.
@wjones127 @fvaleye @rtyler
Related Issue(s)

Documentation

My overall opinion on Python errors is that we should be mapping to standard Python exceptions in most cases, except:

TableNotFoundError: for when we can't find the Delta Table at a path
DeltaProtocolError: for when an operation was tried that isn't allowed by the delta protocol (e.g. trying to write to a delta table with a writer version we don't yet support)
CommitFailedError: When a commit write fails.

But most other things could be Python exceptions:

Tokio errors: RuntimeError
Chrono parse error: ValueError
Object store not found: FileNotFoundError
std::io::Error: IOError

The purpose of these errors should be making it as easy as possible for Python users to write error handling code. If I were making breaking changes to the Python exceptions, I would drop the generic PyDeltaTableError and only make custom errors for the specific cases that aren't already covered by built-in exceptions.

My overall opinion on Python errors is that we should be mapping to standard Python exceptions in most cases

Completely agree! Previously had a look into the datafusion python repo, and they already did a lot of work mapping to python exceptions. We should be able to adopt much of that since our stacks overlap quite a bit ...
I also like the custom error you proposed, along with being generally cautious of adding additional custom ones.

@wjones127 - converted all the errors and did not find any that would warrant a new custom error type other then the ones you mentioned. At times I may have been too liberal with the DeltaProtocolError as I interpreted it as thing specified in the protocol. I "think" the mention to atomicity is alos in that document so e.g. the unsafe rename error is also a protocol error.
Main think I took away from this though is that we have to a) name / use errors more consistently throughout delta-rs, and b) simplify our errors quite a bit, but this goes beyond the scope of this PR ...


Provide the proof-of-concept for CV skills extraction

#37
Please do not merge this PR until a detailed discussion has been taken place. This PR is meant to serve as a rough example.
The skills have been hard-coded for now but it really does not need to be this way.
The testing of this PR is blocked by issue #43.

Thank you for the pull-request! :tada:
This looks well thought-out and is quite well documented. I think it may benefit from some splitting into smaller files, but that's more of a question of taste. :slightly_smiling_face:
Keeping in mind that it is a proof-of-concept, I have few questions:
(disclaimer: please keep in mind that you probably have thought it through much better than I did - some of the questions can prove to be ignorant to some degree :slightly_smiling_face: )

Do we have any better way to distinguish where skills start/end? Are there any assumptions we can make to make it easier, like "Skills usually go after <one of the appropriate headers> and are separated by <one of the appropriate separators> each"?

Without the optimization that you mention in comments, how does it behave performance-wise? In your opinion.

In general, after this PoC, what do you think about current approach of extract text -> extract stuff from text? Would you suggest to still roll with it, or look for other options?

Do we have any better way to distinguish where skills start/end? Are there any assumptions we can make to make it easier, like "Skills usually go after  and are separated by  each"?

Please see this answer in this discussion: https://github.com/DevvJobs/candidates-web/issues/37#issuecomment-476438953

Without the optimization that you mention in comments, how does it behave performance-wise? In your opinion.

My guess would be around a 15% performance increase, but it's a guess. With the brute-force approach, assuming the text is tokenized based on a word, we would have to traverse the text from start to finish for each skill. The optimization drops some of the reads, by providing a given skill with a list of possible matches to consider.

In general, after this PoC, what do you think about current approach of extract text -> extract stuff from text? Would you suggest to still roll with it, or look for other options?

I'd say, it is always a good idea to look for better options. But for the beta release of the feature, I think it need not be perfect as long as it's easy to swap out for the better alternatives, once they are found. This current solution is probably OK for the time-being. Is it good? I am not sure. But I do know that I am currently suffering from tunnel vision, so it's important to continue brainstorming together (just like we are now).

Regarding this algorithm, I'd probably redo it, because it currently it yields quite a few false positives and quite a few false negatives. But that could be due to https://github.com/DevvJobs/candidates-web/issues/45
I was thinking, what if the file with the list of skills looks like this:
[
  {
    skill: 'React',
    aliases: ['React.js']
  },
  {
    skill: 'JavaScript',
    aliases: ['JS', 'ES', 'EcmaScript']
  },
  ...
]

Then tokenize the content of the CV, don't bother with optimizations at this point, go through each skill, and check if the text:

has a set of subsequent words that fuzzy-include the skill
has a set of subsequent words that fuzzy-includes any of its aliases

Once all of the skills are collected, we try to fetch them from backend.
Then we should probably also limit the size of the CV, too.

This is a bit off-topic, but once GitHub integration is implemented, you could alternatively let users choose to fetch their skills based on their GitHub account.

Please see this answer in this discussion: #37 (comment)

:+1: Replied there.

My guess would be around a 15% performance increase, but it's a guess. With the brute-force approach, assuming the text is tokenized based on a word, we would have to traverse the text from start to finish for each skill. The optimization drops some of the reads, by providing a given skill with a list of possible matches to consider.

Sorry, I think I asked it in an unclear way. What I meant to ask is - according to your testing, do you think it behaves in a good enough way to be useful, when it comes to performance? Like in "does not eat all the ram", "does not hog CPU forever" and so on.
To clarify, neither me nor @tetiana-kolmychek-devv noticed any problems with performance, but we also assume that you tested it more than us and on various amounts of skills.

Regarding this algorithm, ...

If you think that is the better way to do so - go for it. :slightly_smiling_face:

Me and @tetiana-kolmychek-devv  checked out into the branch and tried it out on few CVs that we had, both self-made and exported from other systems.
Our notes:

A lot of text is missing whitespaces in parsing result, as you already reported in #45. It leads to a lot of false-negatives.

Final output with console.log just display Array(n) in the console. We needed to add .join(',') to see the actual result.

It may be a good idea to also output the intermediary results, for example - after removal of punctuation marks.

If you put two or more skills with /, they are not getting parsed. Examples: HTML/CSS, Elixir/Phoenix, Ruby/Rails.

A lot of words triggered false positives - we got devops, junit and unity false-detected in two of the CVs. We do not know which exact words triggered it, we assume it was developer, jquery and something else.

With yarn candidates, we also got the #43 (that you have already reported :tada:) and it broke the import for us completely. Had to use yarn build + yarn static to actually test it out.

Looks good as a start, but we think it's not accurate enough yet, at least not for us. Hope it can get better. :+1:

Could you please assign a help-wanted label to all issues involving CV parsing? Thank you!

@lilsweetcaligula we don't have help-wanted label because almost everything is "help wanted", except from few issues. :slightly_smiling_face:
If you cannot continue working on them for any reason, that is OK. Please confirm so we can consider them free for taking.
Again, thank you for the already made contribution. :+1: :rocket:

@ivan-kolmychek-devv Yep, confirmed. Free for taking. I will probably do some of the work on the issue when I have the time, but I cannot make... promises. :trollface:

@lilsweetcaligula thank you for the confirmation. :+1:  Good luck and have fun, we'll be glad to see you again. :wave:
I'm closing this PR but it can be used as base or reference material for anyone else who may want to pick up the issue. :octocat:


[docs FancyZones] Share templates and layouts

Summary of the new feature/enhancement
I'd like to be able to share a saved FancyZone layout using a file, maybe adding a share as a file button on the app.
The file should be a JSON, or XML (but please, a JSON) including the resolution of the screen and all the details of the zone (dimension and position).

FancyZones zonesets are now saved to a json file, making possible to implement the "share" feature.

Can you share the location where this json file is stored? Per #734, we'd like to be able to back this file up for PC upgrades, and for distribution to other workstations with similar workflows.

Added the documentation label: add the zones-settings.json location to the FancyZones README.

Tracked in https://github.com/microsoft/PowerToys/issues/6611

So where is this file?

@pressRtowin @saubermfg you can find layout settings here \AppData\Local\Microsoft\PowerToys\FancyZones\zones-settings.json.

@dedavis6797 can we add the zones-settings.json location to the docs as Enrico mentioned earlier?

Yes, I'll put this in the docs.

I believe the appropriate file is no-longer named zone-settings.json, it now appears to be named custom-layouts.json.


Assemblies in nuget package not signed

I like to use them in our projects, but the requirement here is to strongly sign all our assemblies. So referencing and use these Settings result now in this build failures:
Assembly generation failed -- Referenced assembly 'Refractored.Xam.Settings' does not have a strong name
Assembly generation failed -- Referenced assembly 'Refractored.Xam.Settings.Abstractions' does not have a strong name
Is there a chance to get a signed version without "take over" the project from github and recompile to string named assemblies?

I have no plans on strong naming as that is a bad idea in mobile apps.
You can use StrongNamer though: https://github.com/dsplaisted/strongnamer


improvements linterGo gradle task #313

workingDir variable is unused in linterGo (removed from task)
added testutil package (although only for testing, we should have clean code there, also)
fix of lint complaint in fileTestHelpers.go

closes #313

Review has been done, PR will be merged

Albert Tregnaghi<EMAIL_ADDRESS>Daimler TSS GmbH, imprint


Ushahidi? Health needs/resources mapping

Subject of the issue
Doctor/Public health guy here, not an engineer - I am working with a few others like myself to figure out if we can implement something with a realtime crisis map like Ushahidi and some other ways to help based on experience in other disasters. Repo owner or anyone co-ordinating with govt - Please ping me back at ajrnair[at] gmail

Thanks!

@ajrnair - we are glad to see the support. We working to make this live all your help is welcome. We are on Slack and also me on telegram t.me/bobinson

Thanks - can you add me to the slack workspace please? Will message you.

Email ajay [at] meradoctor.com

http://bit.ly/keralarescueslack

Integrate KeralaFights Instead of Urshahidi!!!

@Rohanr007 What is that - share a link?


Add 2.5 and 97.5 percentiles

Per discussion in https://github.com/mcollina/autocannon/pull/138
and https://github.com/mcollina/autocannon/pull/144
The 2.5 percentile is stored as p25 which is quite confusing because it's not 25%.
Maybe we can change it to use underscores p2_5, p99_999, would be a breaking
change. We could also zero pad numbers <10 to p025, p99999 which would not
be breaking because there were no sub 10 percentiles previously.

I'm up for the cleanest way, and we should not be worried about breaking changes. We control all the dependencies of this one. Autocannon is doing a major anyway, so let's do the best thing here. I think using _ is better. What do you think?

sweet—yes, i prefer _ too.

Updated to p2_5 and friends :)
Unrelated, but FWIW the native histogram devDependency doesn't install for me with Node 10.6:
node-pre-gyp ERR! Tried to download(403): https://autocannon-assets.s3-eu-west-1.amazonaws.com/native-hdr-histogram/v0.4.6/node-v64-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, glibc) (falling back to source compile with node-gyp)

make: Entering directory '/home/goto-bus-stop/Code/nearform/hdr-histogram-percentiles-obj/node_modules/native-hdr-histogram/build'
  CC(target) Release/obj.target/zlib/zlib/adler32.o
make: Entering directory '/home/goto-bus-stop/Code/nearform/hdr-histogram-percentiles-obj/node_modules/native-hdr-histogram/build'
  CC(target) Release/obj.target/zlib/zlib/adler32.o
  CC(target) Release/obj.target/zlib/zlib/compress.o
sed: can't read ./Release/.deps/Release/obj.target/zlib/zlib/adler32.o.d.raw: No such file or directory
rm: cannot remove './Release/.deps/Release/obj.target/zlib/zlib/adler32.o.d.raw': No such file or directory
make: *** [zlib/zlib.target.mk:115: Release/obj.target/zlib/zlib/adler32.o] Error 1

I just removed it locally but that means I couldn't run tests for it (only for the JS version).

You can drop that dependency, we moved out of the binary binding in favor a full JS solution (which is as fast as).

Can you please add to .gitignore and remove package-lock.json?

Yes :) can also disable it entirely via .npmrc.


O_EVTONLY doesn't exist on FreeBSD

The O_EVTONLY you're using is O_NOCTTY on FreeBSD.
https://github.com/etcimon/libasync/blob/ac77a6c68f5f0c2512858d811cb8c959fbf8de41/source/libasync/internals/kqueue.d#L62
I'd suggest to use O_RDONLY on FreeBSD as a replacement.
Most of the constants in this file are available in druntime, btw.

https://github.com/D-Programming-Language/druntime/blob/master/src/core/sys/freebsd/sys/event.d
I was sure someone added the corresponding osx header, but apparently it's still missing.

Ah mixed that up with epoll on linux.
https://github.com/D-Programming-Language/druntime/pull/301
Could you do me the favor and make a pull for core.sys.osx.sys.event?

Could you do me the favor and make a pull for core.sys.osx.sys.event?

Yes, I have a pull request on now: https://github.com/etcimon/druntime/commit/933f28160e04f736f7cc85454d9d500f008c8c5e

The O_EVTONLY you're using is O_NOCTTY on FreeBSD.

I haven't had time to look into it much, but O_RDONLY seems to be 0x00. I guess I'll just ignore this for the moment and fix it once druntime has all the headers.
As a side note, the directory watcher on BSD / OSX was a little hard to get right. You should read the notes here: https://github.com/etcimon/libasync/blob/master/source/libasync/posix.d#L1472

It kind of worked out, we don't need detailed changes info in dub right now, only a notification that something changed. Later we might optimize for change infos to speedup rebuilding