Pr/eslint fix

Description

First step for #947 and #371

Add eslint config
Add eslint-disable to affected files.

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as before)

Checklist

[x] Read the Contributing Guide
[x] Perform a code self-review
[x] Comment the code, particularly in hard-to-understand areas
[x] Add documentation
[x] Add hook's story at Storybook
[x] Cover changes with tests
[x] Ensure the test suite passes (yarn test)
[x] Provide 100% tests coverage
[x] Make sure code lints (yarn lint). Fix it with yarn lint:fix in case of failure.
[x] Make sure types are fine (yarn lint:types).

Why flowtype plugin is there?
What the sence to add esling and disable it for most part of the project? >_>

@xobotyi

It is a dependency of eslint-plugin-react-app
Please refer #371 and #947

Does this need a major version bump as mentioned in https://github.com/streamich/react-use/pull/371#issuecomment-575873311?

@wardoost does not seem to have any breaking changes to me. @ayush987goyal are there any breaking changes here? If yes, we can merge this into v14.0 branch.

@streamich This PR does not have any breaking changes though the next PRs for individual hooks might have some.

:tada: This PR is included in version 13.24.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


stage backgrounds

I was wondering if you guys could also make a week 2 bg copy lua file? Everytime I put the layers for the week 1 copy it never works and it's just blank, week 2's bg is much easier and I would really like it if you could do that.

https://github.com/ShadowMario/FNF-PsychEngine/issues/395


poetry export dependency walk fails at local .whl file

Description
Due to some intellectual property restrictions, one of my dependencies has a dependency to a wheel file.  This 2nd degree dependency is available in my current project, which is structured like so:

--.venv
--.vscode
--...
--lib/my_wheel.whl
--src/my_package
--...
--pyproject.toml
--.lock

As mentioned, pyproject.toml references a GitHub hosted package that itself has a file reference to lib/my_wheel.whl (see example pyproject.toml below.
Running poetry export -vvv --format=requirements.txt --with=dev --without-hashes fails with

Dependency walk failed at amzi-pyras-lib (*) @ file:///home/fkluiben/git/enflex-core/lib/amzi_pyras_lib-0.7.7-py3-none-any.whl

Workarounds
None
Poetry Installation Method
pipx
Operating System
Ubuntu 22.04.04
Poetry Version
Poetry (version 1.8.3)
Poetry Configuration
$ poetry config --list
cache-dir = "/home/fkluiben/.cache/pypoetry"
experimental.system-git-client = false
installer.max-workers = null
installer.modern-installation = true
installer.no-binary = null
installer.parallel = true
keyring.enabled = true
solver.lazy-wheel = true
virtualenvs.create = true
virtualenvs.in-project = true
virtualenvs.options.always-copy = false
virtualenvs.options.no-pip = false
virtualenvs.options.no-setuptools = false
virtualenvs.options.system-site-packages = false
virtualenvs.path = "{cache-dir}/virtualenvs"  # /home/fkluiben/.cache/pypoetry/virtualenvs
virtualenvs.prefer-active-python = false
virtualenvs.prompt = "{project_name}-py{python_version}"
warnings.export = true

Python Sysconfig
$ python -m sysconfig
Platform: "linux-x86_64"
Python version: "3.10"
Current installation scheme: "posix_prefix"

Paths:
        data = "/home/fkluiben/git/enflex-core/.venv"
        include = "/usr/include/python3.10"
        platinclude = "/usr/include/python3.10"
        platlib = "/home/fkluiben/git/enflex-core/.venv/lib/python3.10/site-packages"
        platstdlib = "/home/fkluiben/git/enflex-core/.venv/lib/python3.10"
        purelib = "/home/fkluiben/git/enflex-core/.venv/lib/python3.10/site-packages"
        scripts = "/home/fkluiben/git/enflex-core/.venv/bin"
        stdlib = "/usr/lib/python3.10"

Variables:
        ABIFLAGS = ""
        AC_APPLE_UNIVERSAL_BUILD = "0"
        AIX_BUILDDATE = "0"
        AIX_GENUINE_CPLUSPLUS = "0"
        ALIGNOF_LONG = "8"
        ALIGNOF_SIZE_T = "8"
        ALT_SOABI = "0"
        ANDROID_API_LEVEL = "0"
        AR = "x86_64-linux-gnu-gcc-ar"
        ARFLAGS = "rcs"
        BASECFLAGS = "-Wno-unused-result -Wsign-compare"
        BASECPPFLAGS = "-IObjects -IInclude -IPython"
        BASEMODLIBS = ""
        BINDIR = "/usr/bin"
        BINLIBDEST = "/usr/lib/x86_64-linux-gnu/python3.10"
        BLDLIBRARY = "-lpython3.10"
        BLDSHARED = "x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions      -g -fwrapv -O2   "
        BUILDEXE = ""
        BUILDPYTHON = "python"
        BUILD_GNU_TYPE = "x86_64-pc-linux-gnu"
        BYTESTR_DEPS = "\"
        CC = "x86_64-linux-gnu-gcc"
        CCSHARED = "-fPIC"
        CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g       -fstack-protector-strong -Wformat -Werror=format-security  -g -fwrapv -O2   "
        CFLAGSFORSHARED = "-fPIC"
        CFLAGS_ALIASING = ""
        CFLAGS_NODIST = ""
        CONFIGFILES = "configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in"
        CONFIGURE_CFLAGS = "-g       -fstack-protector-strong -Wformat -Werror=format-security"
        CONFIGURE_CFLAGS_NODIST = "-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden"
        CONFIGURE_CPPFLAGS = "-Wdate-time -D_FORTIFY_SOURCE=2"
        CONFIGURE_LDFLAGS = "-Wl,-Bsymbolic-functions      -g -fwrapv -O2   "
        CONFIGURE_LDFLAGS_NODIST = ""
        CONFIG_ARGS = "'--enable-shared' '--prefix=/usr' '--libdir=/usr/lib/x86_64-linux-gnu' '--enable-ipv6' '--enable-loadable-sqlite-extensions' '--with-dbmliborder=bdb:gdbm' '--with-computed-gotos' '--without-ensurepip' '--with-system-expat' '--with-dtrace' '--with-system-libmpdec' '--with-wheel-pkg-dir=/usr/share/python-wheels/' 'MKDIR_P=/bin/mkdir -p' '--with-system-ffi' 'CC=x86_64-linux-gnu-gcc' 'CFLAGS=-g       -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-Bsymbolic-functions      -g -fwrapv -O2   ' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'"
        CONFINCLUDEDIR = "/usr/include"
        CONFINCLUDEPY = "/usr/include/python3.10"
        COREPYTHONPATH = ""
        COVERAGE_INFO = "/build/python3.10-PFJ9aX/python3.10-3.10.12/build-shared/coverage.info"
        COVERAGE_REPORT = "/build/python3.10-PFJ9aX/python3.10-3.10.12/build-shared/lcov-report"
        COVERAGE_REPORT_OPTIONS = "--no-branch-coverage --title "CPython lcov report""
        CPPFLAGS = "-IObjects -IInclude -IPython -I. -I../Include -Wdate-time -D_FORTIFY_SOURCE=2"
        CXX = "x86_64-linux-gnu-g++"
        DESTDIRS = "/usr /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/python3.10 /usr/lib/python3.10/lib-dynload"
        DESTLIB = "/usr/lib/python3.10"
        DESTPATH = ""
        DESTSHARED = "/usr/lib/python3.10/lib-dynload"
        DFLAGS = ""
        DIRMODE = "755"
        DIST = "README.rst ChangeLog configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in Include Lib Misc Ext-dummy"
        DISTDIRS = "Include Lib Misc Ext-dummy"
        DISTFILES = "README.rst ChangeLog configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in"
        DLINCLDIR = "."
        DLLLIBRARY = ""
        DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 = "0"
        DOUBLE_IS_BIG_ENDIAN_IEEE754 = "0"
        DOUBLE_IS_LITTLE_ENDIAN_IEEE754 = "1"
        DTRACE = "/usr/bin/dtrace"
        DTRACE_DEPS = "\"
        DTRACE_HEADERS = "Include/pydtrace_probes.h"
        DTRACE_OBJS = "Python/pydtrace.o"
        DYNLOADFILE = "dynload_shlib.o"
        ENABLE_IPV6 = "1"
        ENSUREPIP = "no"
        EXE = ""
        EXEMODE = "755"
        EXPERIMENTAL_ISOLATED_SUBINTERPRETERS = "0"
        EXPORTSFROM = ""
        EXPORTSYMS = ""
        EXTRATESTOPTS = ""
        EXT_SUFFIX = ".cpython-310-x86_64-linux-gnu.so"
        FILEMODE = "644"
        FLOAT_WORDS_BIGENDIAN = "0"
        FLOCK_NEEDS_LIBBSD = "0"
        GETPGRP_HAVE_ARG = "0"
        GITBRANCH = ""
        GITTAG = ""
        GITVERSION = ""
        GNULD = "yes"
        HAVE_ACCEPT4 = "1"
        HAVE_ACOSH = "1"
        HAVE_ADDRINFO = "1"
        HAVE_ALARM = "1"
        HAVE_ALIGNED_REQUIRED = "0"
        HAVE_ALLOCA_H = "1"
        HAVE_ALTZONE = "0"
        HAVE_ASINH = "1"
        HAVE_ASM_TYPES_H = "1"
        HAVE_ATANH = "1"
        HAVE_BIND_TEXTDOMAIN_CODESET = "1"
        HAVE_BLUETOOTH_BLUETOOTH_H = "1"
        HAVE_BLUETOOTH_H = "0"
        HAVE_BROKEN_MBSTOWCS = "0"
        HAVE_BROKEN_NICE = "0"
        HAVE_BROKEN_PIPE_BUF = "0"
        HAVE_BROKEN_POLL = "0"
        HAVE_BROKEN_POSIX_SEMAPHORES = "0"
        HAVE_BROKEN_PTHREAD_SIGMASK = "0"
        HAVE_BROKEN_SEM_GETVALUE = "0"
        HAVE_BROKEN_UNSETENV = "0"
        HAVE_BUILTIN_ATOMIC = "1"
        HAVE_CHFLAGS = "0"
        HAVE_CHOWN = "1"
        HAVE_CHROOT = "1"
        HAVE_CLOCK = "1"
        HAVE_CLOCK_GETRES = "1"
        HAVE_CLOCK_GETTIME = "1"
        HAVE_CLOCK_SETTIME = "1"
        HAVE_CLOSE_RANGE = "1"
        HAVE_COMPUTED_GOTOS = "1"
        HAVE_CONFSTR = "1"
        HAVE_CONIO_H = "0"
        HAVE_COPYSIGN = "1"
        HAVE_COPY_FILE_RANGE = "1"
        HAVE_CRYPT_H = "1"
        HAVE_CRYPT_R = "1"
        HAVE_CTERMID = "1"
        HAVE_CTERMID_R = "0"
        HAVE_CURSES_FILTER = "1"
        HAVE_CURSES_H = "1"
        HAVE_CURSES_HAS_KEY = "1"
        HAVE_CURSES_IMMEDOK = "1"
        HAVE_CURSES_IS_PAD = "1"
        HAVE_CURSES_IS_TERM_RESIZED = "1"
        HAVE_CURSES_RESIZETERM = "1"
        HAVE_CURSES_RESIZE_TERM = "1"
        HAVE_CURSES_SYNCOK = "1"
        HAVE_CURSES_TYPEAHEAD = "1"
        HAVE_CURSES_USE_ENV = "1"
        HAVE_CURSES_WCHGAT = "1"
        HAVE_DECL_ISFINITE = "1"
        HAVE_DECL_ISINF = "1"
        HAVE_DECL_ISNAN = "1"
        HAVE_DECL_RTLD_DEEPBIND = "1"
        HAVE_DECL_RTLD_GLOBAL = "1"
        HAVE_DECL_RTLD_LAZY = "1"
        HAVE_DECL_RTLD_LOCAL = "1"
        HAVE_DECL_RTLD_MEMBER = "0"
        HAVE_DECL_RTLD_NODELETE = "1"
        HAVE_DECL_RTLD_NOLOAD = "1"
        HAVE_DECL_RTLD_NOW = "1"
        HAVE_DECL_TZNAME = "0"
        HAVE_DEVICE_MACROS = "1"
        HAVE_DEV_PTC = "0"
        HAVE_DEV_PTMX = "1"
        HAVE_DIRECT_H = "0"
        HAVE_DIRENT_D_TYPE = "1"
        HAVE_DIRENT_H = "1"
        HAVE_DIRFD = "1"
        HAVE_DLFCN_H = "1"
        HAVE_DLOPEN = "1"
        HAVE_DUP2 = "1"
        HAVE_DUP3 = "1"
        HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH = "0"
        HAVE_DYNAMIC_LOADING = "1"
        HAVE_ENDIAN_H = "1"
        HAVE_EPOLL = "1"
        HAVE_EPOLL_CREATE1 = "1"
        HAVE_ERF = "1"
        HAVE_ERFC = "1"
        HAVE_ERRNO_H = "1"
        HAVE_EVENTFD = "1"
        HAVE_EXECV = "1"
        HAVE_EXPLICIT_BZERO = "1"
        HAVE_EXPLICIT_MEMSET = "0"
        HAVE_EXPM1 = "1"
        HAVE_FACCESSAT = "1"
        HAVE_FCHDIR = "1"
        HAVE_FCHMOD = "1"
        HAVE_FCHMODAT = "1"
        HAVE_FCHOWN = "1"
        HAVE_FCHOWNAT = "1"
        HAVE_FCNTL_H = "1"
        HAVE_FDATASYNC = "1"
        HAVE_FDOPENDIR = "1"
        HAVE_FDWALK = "0"
        HAVE_FEXECVE = "1"
        HAVE_FINITE = "1"
        HAVE_FLOCK = "1"
        HAVE_FORK = "1"
        HAVE_FORKPTY = "1"
        HAVE_FPATHCONF = "1"
        HAVE_FSEEK64 = "0"
        HAVE_FSEEKO = "1"
        HAVE_FSTATAT = "1"
        HAVE_FSTATVFS = "1"
        HAVE_FSYNC = "1"
        HAVE_FTELL64 = "0"
        HAVE_FTELLO = "1"
        HAVE_FTIME = "1"
        HAVE_FTRUNCATE = "1"
        HAVE_FUTIMENS = "1"
        HAVE_FUTIMES = "1"
        HAVE_FUTIMESAT = "1"
        HAVE_GAI_STRERROR = "1"
        HAVE_GAMMA = "1"
        HAVE_GCC_ASM_FOR_MC68881 = "0"
        HAVE_GCC_ASM_FOR_X64 = "1"
        HAVE_GCC_ASM_FOR_X87 = "1"
        HAVE_GCC_UINT128_T = "1"
        HAVE_GETADDRINFO = "1"
        HAVE_GETC_UNLOCKED = "1"
        HAVE_GETENTROPY = "1"
        HAVE_GETGRGID_R = "1"
        HAVE_GETGRNAM_R = "1"
        HAVE_GETGROUPLIST = "1"
        HAVE_GETGROUPS = "1"
        HAVE_GETHOSTBYNAME = "0"
        HAVE_GETHOSTBYNAME_R = "1"
        HAVE_GETHOSTBYNAME_R_3_ARG = "0"
        HAVE_GETHOSTBYNAME_R_5_ARG = "0"
        HAVE_GETHOSTBYNAME_R_6_ARG = "1"
        HAVE_GETITIMER = "1"
        HAVE_GETLOADAVG = "1"
        HAVE_GETLOGIN = "1"
        HAVE_GETNAMEINFO = "1"
        HAVE_GETPAGESIZE = "1"
        HAVE_GETPEERNAME = "1"
        HAVE_GETPGID = "1"
        HAVE_GETPGRP = "1"
        HAVE_GETPID = "1"
        HAVE_GETPRIORITY = "1"
        HAVE_GETPWENT = "1"
        HAVE_GETPWNAM_R = "1"
        HAVE_GETPWUID_R = "1"
        HAVE_GETRANDOM = "1"
        HAVE_GETRANDOM_SYSCALL = "1"
        HAVE_GETRESGID = "1"
        HAVE_GETRESUID = "1"
        HAVE_GETSID = "1"
        HAVE_GETSPENT = "1"
        HAVE_GETSPNAM = "1"
        HAVE_GETWD = "1"
        HAVE_GLIBC_MEMMOVE_BUG = "0"
        HAVE_GRP_H = "1"
        HAVE_HSTRERROR = "1"
        HAVE_HTOLE64 = "1"
        HAVE_HYPOT = "1"
        HAVE_IEEEFP_H = "0"
        HAVE_IF_NAMEINDEX = "1"
        HAVE_INET_ATON = "1"
        HAVE_INET_PTON = "1"
        HAVE_INITGROUPS = "1"
        HAVE_INTTYPES_H = "1"
        HAVE_IO_H = "0"
        HAVE_IPA_PURE_CONST_BUG = "0"
        HAVE_KILL = "1"
        HAVE_KILLPG = "1"
        HAVE_KQUEUE = "0"
        HAVE_LANGINFO_H = "1"
        HAVE_LARGEFILE_SUPPORT = "0"
        HAVE_LCHFLAGS = "0"
        HAVE_LCHMOD = "0"
        HAVE_LCHOWN = "1"
        HAVE_LGAMMA = "1"
        HAVE_LIBDL = "1"
        HAVE_LIBDLD = "0"
        HAVE_LIBIEEE = "0"
        HAVE_LIBINTL_H = "1"
        HAVE_LIBREADLINE = "1"
        HAVE_LIBRESOLV = "0"
        HAVE_LIBSENDFILE = "0"
        HAVE_LIBUTIL_H = "0"
        HAVE_LIBUUID = "1"
        HAVE_LINK = "1"
        HAVE_LINKAT = "1"
        HAVE_LINUX_AUXVEC_H = "1"
        HAVE_LINUX_CAN_BCM_H = "1"
        HAVE_LINUX_CAN_H = "1"
        HAVE_LINUX_CAN_J1939_H = "1"
        HAVE_LINUX_CAN_RAW_FD_FRAMES = "1"
        HAVE_LINUX_CAN_RAW_H = "1"
        HAVE_LINUX_CAN_RAW_JOIN_FILTERS = "1"
        HAVE_LINUX_MEMFD_H = "1"
        HAVE_LINUX_NETLINK_H = "1"
        HAVE_LINUX_QRTR_H = "1"
        HAVE_LINUX_RANDOM_H = "1"
        HAVE_LINUX_TIPC_H = "1"
        HAVE_LINUX_VM_SOCKETS_H = "1"
        HAVE_LINUX_WAIT_H = "1"
        HAVE_LOCKF = "1"
        HAVE_LOG1P = "1"
        HAVE_LOG2 = "1"
        HAVE_LONG_DOUBLE = "1"
        HAVE_LSTAT = "1"
        HAVE_LUTIMES = "1"
        HAVE_MADVISE = "1"
        HAVE_MAKEDEV = "1"
        HAVE_MBRTOWC = "1"
        HAVE_MEMFD_CREATE = "1"
        HAVE_MEMORY_H = "0"
        HAVE_MEMRCHR = "1"
        HAVE_MKDIRAT = "1"
        HAVE_MKFIFO = "1"
        HAVE_MKFIFOAT = "1"
        HAVE_MKNOD = "1"
        HAVE_MKNODAT = "1"
        HAVE_MKTIME = "1"
        HAVE_MMAP = "1"
        HAVE_MREMAP = "1"
        HAVE_NCURSES_H = "1"
        HAVE_NDIR_H = "0"
        HAVE_NETPACKET_PACKET_H = "1"
        HAVE_NET_IF_H = "1"
        HAVE_NICE = "1"
        HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION = "0"
        HAVE_OPENAT = "1"
        HAVE_OPENPTY = "1"
        HAVE_PATHCONF = "1"
        HAVE_PAUSE = "1"
        HAVE_PIPE2 = "1"
        HAVE_PLOCK = "0"
        HAVE_POLL = "1"
        HAVE_POLL_H = "1"
        HAVE_POSIX_FADVISE = "1"
        HAVE_POSIX_FALLOCATE = "1"
        HAVE_POSIX_SPAWN = "1"
        HAVE_POSIX_SPAWNP = "1"
        HAVE_PREAD = "1"
        HAVE_PREADV = "1"
        HAVE_PREADV2 = "1"
        HAVE_PRLIMIT = "1"
        HAVE_PROCESS_H = "0"
        HAVE_PROTOTYPES = "1"
        HAVE_PTHREAD_CONDATTR_SETCLOCK = "1"
        HAVE_PTHREAD_DESTRUCTOR = "0"
        HAVE_PTHREAD_GETCPUCLOCKID = "1"
        HAVE_PTHREAD_H = "1"
        HAVE_PTHREAD_INIT = "0"
        HAVE_PTHREAD_KILL = "1"
        HAVE_PTHREAD_SIGMASK = "1"
        HAVE_PTY_H = "1"
        HAVE_PWRITE = "1"
        HAVE_PWRITEV = "1"
        HAVE_PWRITEV2 = "1"
        HAVE_READLINK = "1"
        HAVE_READLINKAT = "1"
        HAVE_READV = "1"
        HAVE_REALPATH = "1"
        HAVE_RENAMEAT = "1"
        HAVE_RL_APPEND_HISTORY = "1"
        HAVE_RL_CATCH_SIGNAL = "1"
        HAVE_RL_COMPLETION_APPEND_CHARACTER = "1"
        HAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK = "1"
        HAVE_RL_COMPLETION_MATCHES = "1"
        HAVE_RL_COMPLETION_SUPPRESS_APPEND = "1"
        HAVE_RL_PRE_INPUT_HOOK = "1"
        HAVE_RL_RESIZE_TERMINAL = "1"
        HAVE_ROUND = "1"
        HAVE_RTPSPAWN = "0"
        HAVE_SCHED_GET_PRIORITY_MAX = "1"
        HAVE_SCHED_H = "1"
        HAVE_SCHED_RR_GET_INTERVAL = "1"
        HAVE_SCHED_SETAFFINITY = "1"
        HAVE_SCHED_SETPARAM = "1"
        HAVE_SCHED_SETSCHEDULER = "1"
        HAVE_SEM_CLOCKWAIT = "1"
        HAVE_SEM_GETVALUE = "1"
        HAVE_SEM_OPEN = "1"
        HAVE_SEM_TIMEDWAIT = "1"
        HAVE_SEM_UNLINK = "1"
        HAVE_SENDFILE = "1"
        HAVE_SETEGID = "1"
        HAVE_SETEUID = "1"
        HAVE_SETGID = "1"
        HAVE_SETGROUPS = "1"
        HAVE_SETHOSTNAME = "1"
        HAVE_SETITIMER = "1"
        HAVE_SETLOCALE = "1"
        HAVE_SETPGID = "1"
        HAVE_SETPGRP = "1"
        HAVE_SETPRIORITY = "1"
        HAVE_SETREGID = "1"
        HAVE_SETRESGID = "1"
        HAVE_SETRESUID = "1"
        HAVE_SETREUID = "1"
        HAVE_SETSID = "1"
        HAVE_SETUID = "1"
        HAVE_SETVBUF = "1"
        HAVE_SHADOW_H = "1"
        HAVE_SHM_OPEN = "1"
        HAVE_SHM_UNLINK = "1"
        HAVE_SIGACTION = "1"
        HAVE_SIGALTSTACK = "1"
        HAVE_SIGFILLSET = "1"
        HAVE_SIGINFO_T_SI_BAND = "1"
        HAVE_SIGINTERRUPT = "1"
        HAVE_SIGNAL_H = "1"
        HAVE_SIGPENDING = "1"
        HAVE_SIGRELSE = "1"
        HAVE_SIGTIMEDWAIT = "1"
        HAVE_SIGWAIT = "1"
        HAVE_SIGWAITINFO = "1"
        HAVE_SNPRINTF = "1"
        HAVE_SOCKADDR_ALG = "1"
        HAVE_SOCKADDR_SA_LEN = "0"
        HAVE_SOCKADDR_STORAGE = "1"
        HAVE_SOCKETPAIR = "1"
        HAVE_SPAWN_H = "1"
        HAVE_SPLICE = "1"
        HAVE_SSIZE_T = "1"
        HAVE_STATVFS = "1"
        HAVE_STAT_TV_NSEC = "1"
        HAVE_STAT_TV_NSEC2 = "0"
        HAVE_STDARG_PROTOTYPES = "1"
        HAVE_STDINT_H = "1"
        HAVE_STDLIB_H = "1"
        HAVE_STD_ATOMIC = "1"
        HAVE_STRFTIME = "1"
        HAVE_STRINGS_H = "1"
        HAVE_STRING_H = "1"
        HAVE_STRLCPY = "0"
        HAVE_STROPTS_H = "0"
        HAVE_STRSIGNAL = "1"
        HAVE_STRUCT_PASSWD_PW_GECOS = "1"
        HAVE_STRUCT_PASSWD_PW_PASSWD = "1"
        HAVE_STRUCT_STAT_ST_BIRTHTIME = "0"
        HAVE_STRUCT_STAT_ST_BLKSIZE = "1"
        HAVE_STRUCT_STAT_ST_BLOCKS = "1"
        HAVE_STRUCT_STAT_ST_FLAGS = "0"
        HAVE_STRUCT_STAT_ST_GEN = "0"
        HAVE_STRUCT_STAT_ST_RDEV = "1"
        HAVE_STRUCT_TM_TM_ZONE = "1"
        HAVE_SYMLINK = "1"
        HAVE_SYMLINKAT = "1"
        HAVE_SYNC = "1"
        HAVE_SYSCONF = "1"
        HAVE_SYSEXITS_H = "1"
        HAVE_SYS_AUDIOIO_H = "0"
        HAVE_SYS_AUXV_H = "1"
        HAVE_SYS_BSDTTY_H = "0"
        HAVE_SYS_DEVPOLL_H = "0"
        HAVE_SYS_DIR_H = "0"
        HAVE_SYS_ENDIAN_H = "0"
        HAVE_SYS_EPOLL_H = "1"
        HAVE_SYS_EVENTFD_H = "1"
        HAVE_SYS_EVENT_H = "0"
        HAVE_SYS_FILE_H = "1"
        HAVE_SYS_IOCTL_H = "1"
        HAVE_SYS_KERN_CONTROL_H = "0"
        HAVE_SYS_LOADAVG_H = "0"
        HAVE_SYS_LOCK_H = "0"
        HAVE_SYS_MEMFD_H = "0"
        HAVE_SYS_MKDEV_H = "0"
        HAVE_SYS_MMAN_H = "1"
        HAVE_SYS_MODEM_H = "0"
        HAVE_SYS_NDIR_H = "0"
        HAVE_SYS_PARAM_H = "1"
        HAVE_SYS_POLL_H = "1"
        HAVE_SYS_RANDOM_H = "1"
        HAVE_SYS_RESOURCE_H = "1"
        HAVE_SYS_SELECT_H = "1"
        HAVE_SYS_SENDFILE_H = "1"
        HAVE_SYS_SOCKET_H = "1"
        HAVE_SYS_STATVFS_H = "1"
        HAVE_SYS_STAT_H = "1"
        HAVE_SYS_SYSCALL_H = "1"
        HAVE_SYS_SYSMACROS_H = "1"
        HAVE_SYS_SYS_DOMAIN_H = "0"
        HAVE_SYS_TERMIO_H = "0"
        HAVE_SYS_TIMES_H = "1"
        HAVE_SYS_TIME_H = "1"
        HAVE_SYS_TYPES_H = "1"
        HAVE_SYS_UIO_H = "1"
        HAVE_SYS_UN_H = "1"
        HAVE_SYS_UTSNAME_H = "1"
        HAVE_SYS_WAIT_H = "1"
        HAVE_SYS_XATTR_H = "1"
        HAVE_TCGETPGRP = "1"
        HAVE_TCSETPGRP = "1"
        HAVE_TEMPNAM = "1"
        HAVE_TERMIOS_H = "1"
        HAVE_TERM_H = "1"
        HAVE_TGAMMA = "1"
        HAVE_TIMEGM = "1"
        HAVE_TIMES = "1"
        HAVE_TMPFILE = "1"
        HAVE_TMPNAM = "1"
        HAVE_TMPNAM_R = "1"
        HAVE_TM_ZONE = "1"
        HAVE_TRUNCATE = "1"
        HAVE_TZNAME = "0"
        HAVE_UCS4_TCL = "0"
        HAVE_UNAME = "1"
        HAVE_UNISTD_H = "1"
        HAVE_UNLINKAT = "1"
        HAVE_USABLE_WCHAR_T = "0"
        HAVE_UTIL_H = "0"
        HAVE_UTIMENSAT = "1"
        HAVE_UTIMES = "1"
        HAVE_UTIME_H = "1"
        HAVE_UUID_CREATE = "0"
        HAVE_UUID_ENC_BE = "0"
        HAVE_UUID_GENERATE_TIME_SAFE = "1"
        HAVE_UUID_H = "0"
        HAVE_UUID_UUID_H = "1"
        HAVE_VFORK = "1"
        HAVE_WAIT3 = "1"
        HAVE_WAIT4 = "1"
        HAVE_WAITID = "1"
        HAVE_WAITPID = "1"
        HAVE_WCHAR_H = "1"
        HAVE_WCSCOLL = "1"
        HAVE_WCSFTIME = "1"
        HAVE_WCSXFRM = "1"
        HAVE_WMEMCMP = "1"
        HAVE_WORKING_TZSET = "1"
        HAVE_WRITEV = "1"
        HAVE_ZLIB_COPY = "1"
        HAVE__GETPTY = "0"
        HOST_GNU_TYPE = "x86_64-pc-linux-gnu"
        INCLDIRSTOMAKE = "/usr/include /usr/include /usr/include/python3.10 /usr/include/python3.10"
        INCLUDEDIR = "/usr/include"
        INCLUDEPY = "/usr/include/python3.10"
        INSTALL = "/usr/bin/install -c"
        INSTALL_DATA = "/usr/bin/install -c -m 644"
        INSTALL_PROGRAM = "/usr/bin/install -c"
        INSTALL_SCRIPT = "/usr/bin/install -c"
        INSTALL_SHARED = "/usr/bin/install -c -m 755"
        INSTSONAME = "libpython3.10.so.1.0"
        IO_H = "Modules/_io/_iomodule.h"
        IO_OBJS = "\"
        LDCXXSHARED = "x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions"
        LDFLAGS = "-Wl,-Bsymbolic-functions      -g -fwrapv -O2   "
        LDFLAGS_NODIST = ""
        LDLIBRARY = "libpython3.10.so"
        LDLIBRARYDIR = ""
        LDSHARED = "x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions      -g -fwrapv -O2   "
        LDVERSION = "3.10"
        LIBC = ""
        LIBDEST = "/usr/lib/python3.10"
        LIBDIR = "/usr/lib/x86_64-linux-gnu"
        LIBFFI_INCLUDEDIR = ""
        LIBM = "-lm"
        LIBOBJDIR = "Python/"
        LIBOBJS = ""
        LIBPC = "/usr/lib/x86_64-linux-gnu/pkgconfig"
        LIBPL = "/usr/lib/python3.10/config-3.10-x86_64-linux-gnu"
        LIBPYTHON = ""
        LIBRARY = "libpython3.10.a"
        LIBRARY_DEPS = "libpython3.10.a libpython3.10.so libpython3.so"
        LIBRARY_OBJS = "\"
        LIBRARY_OBJS_OMIT_FROZEN = "\"
        LIBS = "-lcrypt -ldl  -lm"
        LIBSUBDIRS = "asyncio \"
        LINKCC = "x86_64-linux-gnu-gcc"
        LINKFORSHARED = "-Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions"
        LIPO_32BIT_FLAGS = ""
        LIPO_INTEL64_FLAGS = ""
        LLVM_PROF_ERR = "no"
        LLVM_PROF_FILE = ""
        LLVM_PROF_MERGER = "true"
        LN = "ln"
        LOCALMODLIBS = "-lexpat                       -L/usr/lib -lz                       -lexpat"
        MACHDEP = "linux"
        MACHDEP_OBJS = ""
        MACHDESTLIB = "/usr/lib/x86_64-linux-gnu/python3.10"
        MACOSX_DEPLOYMENT_TARGET = ""
        MAINCC = "x86_64-linux-gnu-gcc"
        MAJOR_IN_MKDEV = "0"
        MAJOR_IN_SYSMACROS = "1"
        MAKESETUP = "../Modules/makesetup"
        MANDIR = "/usr/share/man"
        MKDIR_P = "/bin/mkdir -p"
        MODBUILT_NAMES = "array  cmath  math  _struct  _random  _elementtree  _pickle  _datetime  _bisect  _heapq  _statistics  unicodedata  fcntl  spwd  grp  select  _csv  _socket  _posixsubprocess  _md5  _sha1  _sha256  _sha512  _sha3  _blake2  syslog  binascii  zlib  posix  errno  pwd  _sre  _codecs  _weakref  _functools  _operator  _collections  _abc  itertools  atexit  _signal  _stat  time  _thread  _locale  _io  faulthandler  _tracemalloc  _symtable  pyexpat  xxsubtype"
        MODDISABLED_NAMES = ""
        MODLIBS = "-lexpat                       -L/usr/lib -lz                       -lexpat"
        MODOBJS = "$(sort   Modules/arraymodule.o  Modules/cmathmodule.o Modules/_math.o  Modules/mathmodule.o Modules/_math.o  Modules/_struct.o  Modules/_randommodule.o  Modules/_elementtree.o  Modules/_pickle.o  Modules/_datetimemodule.o  Modules/_bisectmodule.o  Modules/_heapqmodule.o  Modules/_statisticsmodule.o  Modules/unicodedata.o  Modules/fcntlmodule.o  Modules/spwdmodule.o  Modules/grpmodule.o  Modules/selectmodule.o  Modules/_csv.o  Modules/socketmodule.o  Modules/_posixsubprocess.o  Modules/md5module.o  Modules/sha1module.o  Modules/sha256module.o  Modules/sha512module.o  Modules/sha3module.o  Modules/blake2module.o Modules/blake2b_impl.o Modules/blake2s_impl.o  Modules/syslogmodule.o  Modules/binascii.o  Modules/zlibmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/_functoolsmodule.o  Modules/_operator.o  Modules/_collectionsmodule.o  Modules/_abc.o  Modules/itertoolsmodule.o  Modules/atexitmodule.o  Modules/signalmodule.o  Modules/_stat.o  Modules/timemodule.o  Modules/_threadmodule.o  Modules/_localemodule.o  Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o  Modules/faulthandler.o  Modules/_tracemalloc.o  Modules/symtablemodule.o  Modules/pyexpat.o  Modules/xxsubtype.o)"
        MODULE_OBJS = "\"
        MULTIARCH = "x86_64-linux-gnu"
        MULTIARCH_CPPFLAGS = "-DMULTIARCH=\"x86_64-linux-gnu\""
        MVWDELCH_IS_EXPRESSION = "1"
        NO_AS_NEEDED = "-Wl,--no-as-needed"
        OBJECT_OBJS = "\"
        OPENSSL_INCLUDES = ""
        OPENSSL_LDFLAGS = ""
        OPENSSL_LIBS = "-lssl -lcrypto"
        OPENSSL_RPATH = ""
        OPT = "-DNDEBUG -g -fwrapv -O2 -Wall"
        OTHER_LIBTOOL_OPT = ""
        PACKAGE_BUGREPORT = "0"
        PACKAGE_NAME = "0"
        PACKAGE_STRING = "0"
        PACKAGE_TARNAME = "0"
        PACKAGE_URL = "0"
        PACKAGE_VERSION = "0"
        PARSER_HEADERS = "\"
        PARSER_OBJS = "\ \ Parser/myreadline.o Parser/tokenizer.o"
        PEGEN_HEADERS = "\"
        PEGEN_OBJS = "\"
        PGO_PROF_GEN_FLAG = "-fprofile-generate"
        PGO_PROF_USE_FLAG = ""
        PLATLIBDIR = "lib"
        POBJS = "\"
        POSIX_SEMAPHORES_NOT_ENABLED = "0"
        PROFILE_TASK = "-m test --pgo --timeout=1200"
        PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT = "1"
        PTHREAD_SYSTEM_SCHED_SUPPORTED = "1"
        PURIFY = ""
        PY3LIBRARY = "libpython3.so"
        PYLONG_BITS_IN_DIGIT = "0"
        PYTHON = "python"
        PYTHONFRAMEWORK = ""
        PYTHONFRAMEWORKDIR = "no-framework"
        PYTHONFRAMEWORKINSTALLDIR = ""
        PYTHONFRAMEWORKPREFIX = ""
        PYTHONPATH = ""
        PYTHON_FOR_BUILD = "./python -E"
        PYTHON_FOR_REGEN = ""
        PYTHON_HEADERS = "\"
        PYTHON_OBJS = "\"
        PY_BUILTIN_HASHLIB_HASHES = ""md5,sha1,sha256,sha512,sha3,blake2""
        PY_BUILTIN_MODULE_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g       -fstack-protector-strong -Wformat -Werror=format-security  -g -fwrapv -O2    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I../Include/internal -IObjects -IInclude -IPython -I. -I../Include -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_BUILD_CORE_BUILTIN"
        PY_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g       -fstack-protector-strong -Wformat -Werror=format-security  -g -fwrapv -O2   "
        PY_CFLAGS_NODIST = "-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I../Include/internal"
        PY_COERCE_C_LOCALE = "1"
        PY_CORE_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g       -fstack-protector-strong -Wformat -Werror=format-security  -g -fwrapv -O2    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I../Include/internal -IObjects -IInclude -IPython -I. -I../Include -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_BUILD_CORE"
        PY_CORE_LDFLAGS = "-Wl,-Bsymbolic-functions      -g -fwrapv -O2   "
        PY_CPPFLAGS = "-IObjects -IInclude -IPython -I. -I../Include -Wdate-time -D_FORTIFY_SOURCE=2"
        PY_ENABLE_SHARED = "1"
        PY_FORMAT_SIZE_T = ""z""
        PY_LDFLAGS = "-Wl,-Bsymbolic-functions      -g -fwrapv -O2   "
        PY_LDFLAGS_NODIST = ""
        PY_SSL_DEFAULT_CIPHERS = "1"
        PY_SSL_DEFAULT_CIPHER_STRING = "0"
        PY_STDMODULE_CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g       -fstack-protector-strong -Wformat -Werror=format-security  -g -fwrapv -O2    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I../Include/internal -IObjects -IInclude -IPython -I. -I../Include -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC"
        Py_DEBUG = "0"
        Py_ENABLE_SHARED = "1"
        Py_HASH_ALGORITHM = "0"
        Py_TRACE_REFS = "0"
        QUICKTESTOPTS = "-x test_subprocess test_io test_lib2to3 \"
        READELF = "readelf"
        RESSRCDIR = "Mac/Resources/framework"
        RETSIGTYPE = "void"
        RUNSHARED = "LD_LIBRARY_PATH=/build/python3.10-PFJ9aX/python3.10-3.10.12/build-shared"
        SCRIPTDIR = "/usr/lib"
        SETPGRP_HAVE_ARG = "0"
        SHELL = "/bin/sh"
        SHLIBS = "-lcrypt -ldl  -lm"
        SHLIB_SUFFIX = ".so"
        SHM_NEEDS_LIBRT = "0"
        SIGNED_RIGHT_SHIFT_ZERO_FILLS = "0"
        SITEPATH = ""
        SIZEOF_DOUBLE = "8"
        SIZEOF_FLOAT = "4"
        SIZEOF_FPOS_T = "16"
        SIZEOF_INT = "4"
        SIZEOF_LONG = "8"
        SIZEOF_LONG_DOUBLE = "16"
        SIZEOF_LONG_LONG = "8"
        SIZEOF_OFF_T = "8"
        SIZEOF_PID_T = "4"
        SIZEOF_PTHREAD_KEY_T = "4"
        SIZEOF_PTHREAD_T = "8"
        SIZEOF_SHORT = "2"
        SIZEOF_SIZE_T = "8"
        SIZEOF_TIME_T = "8"
        SIZEOF_UINTPTR_T = "8"
        SIZEOF_VOID_P = "8"
        SIZEOF_WCHAR_T = "4"
        SIZEOF__BOOL = "1"
        SO = ".cpython-310-x86_64-linux-gnu.so"
        SOABI = "cpython-310-x86_64-linux-gnu"
        SRCDIRS = "Parser Objects Python Modules Modules/_io Programs"
        SRC_GDB_HOOKS = "../Tools/gdb/libpython.py"
        STATIC_LIBPYTHON = "1"
        STDC_HEADERS = "1"
        STRICT_SYSV_CURSES = "/* Don't use ncurses extensions */"
        STRIPFLAG = "-s"
        SUBDIRS = ""
        SUBDIRSTOO = "Include Lib Misc"
        SYSLIBS = "-lm"
        SYS_SELECT_WITH_SYS_TIME = "1"
        TCLTK_INCLUDES = "-I/usr/include/tcl8.6"
        TCLTK_LIBS = "-ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6"
        TESTOPTS = ""
        TESTPATH = ""
        TESTPYTHON = "LD_LIBRARY_PATH=/build/python3.10-PFJ9aX/python3.10-3.10.12/build-shared ./python"
        TESTPYTHONOPTS = ""
        TESTRUNNER = "LD_LIBRARY_PATH=/build/python3.10-PFJ9aX/python3.10-3.10.12/build-shared ./python ../Tools/scripts/run_tests.py"
        TESTSUBDIRS = "ctypes/test \"
        TESTTIMEOUT = "1200"
        TEST_MODULES = "yes"
        THREAD_STACK_SIZE = "0"
        TIMEMODULE_LIB = "0"
        TIME_WITH_SYS_TIME = "1"
        TM_IN_SYS_TIME = "0"
        TZPATH = "/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/etc/zoneinfo"
        UNICODE_DEPS = "\"
        UNIVERSALSDK = ""
        UPDATE_FILE = "../Tools/scripts/update_file.py"
        USE_COMPUTED_GOTOS = "1"
        VERSION = "3.10"
        VPATH = ".."
        WHEEL_PKG_DIR = "/usr/share/python-wheels/"
        WINDOW_HAS_FLAGS = "1"
        WITH_DECIMAL_CONTEXTVAR = "1"
        WITH_DOC_STRINGS = "1"
        WITH_DTRACE = "1"
        WITH_DYLD = "0"
        WITH_EDITLINE = "0"
        WITH_LIBINTL = "0"
        WITH_NEXT_FRAMEWORK = "0"
        WITH_PYMALLOC = "1"
        WITH_VALGRIND = "0"
        X87_DOUBLE_ROUNDING = "0"
        XMLLIBSUBDIRS = "xml xml/dom xml/etree xml/parsers xml/sax"
        abiflags = ""
        abs_builddir = "/build/python3.10-PFJ9aX/python3.10-3.10.12/build-shared"
        abs_srcdir = "/build/python3.10-PFJ9aX/python3.10-3.10.12/build-shared/.."
        base = "/home/fkluiben/git/enflex-core/.venv"
        datarootdir = "/usr/share"
        exec_prefix = "/usr"
        installed_base = "/usr"
        installed_platbase = "/usr"
        multiarchsubdir = "/x86_64-linux-gnu"
        platbase = "/home/fkluiben/git/enflex-core/.venv"
        platlibdir = "lib"
        prefix = "/usr"
        projectbase = "/usr/bin"
        py_version = "3.10.12"
        py_version_nodot = "310"
        py_version_nodot_plat = ""
        py_version_short = "3.10"
        srcdir = "/usr/lib/python3.10/config-3.10-x86_64-linux-gnu"
        userbase = "/home/fkluiben/.local"

Example pyproject.toml
[tool.poetry]
name = "enflex-core"
version = "0.3.1"
description = "Enflex Core"
authors = [" "]
readme = "README.md"
classifiers = [
    "Development Status :: 2 - Pre-Alpha",
]

packages = [
    { include = "enflex_core", from = "src" },
]

[tool.poetry.dependencies]
python = "^3.10"
pandas = "^2.1.4"
pydantic = "^2.5.2"
django = "^5.0.3"
isodate = "^0.6.1"
djangorestframework = "^3.15.1"
django-filter = "^24.2"
django-cors-headers = "^4.0.0"
enflex-ts = {git="https://github.com/MyOrg/enflex-ts.git", branch="main"}
rpy2 = "^3.5.16"
enflex-habitat-service = {git="https://github.com/MyOrg/enflex-habitat-service.git", branch="develop"}  # This one is also built with poetry and it's pyproject contains `amzi-pyras-lib = {path = "lib/amzi_pyras_lib-0.7.7-py3-none-any.whl"}`
isoduration = "^20.11.0"

Poetry Runtime Logs
$ poetry export -vvv --format=requirements.txt --with=dev --without-hashes
Loading configuration file /home/fkluiben/.config/pypoetry/config.toml
Warning: poetry-plugin-export will not be installed by default in a future version of Poetry.
In order to avoid a breaking change and make your automation forward-compatible, please install poetry-plugin-export explicitly. See https://python-poetry.org/docs/plugins/#using-plugins for details on how to install a plugin.
To disable this warning run 'poetry config warnings.export false'.
Source (poetry-lockfile): 1 packages found for pandas >=2.1.4,<3.0.0
Source (poetry-lockfile): 1 packages found for pydantic >=2.5.2,<3.0.0
Source (poetry-lockfile): 1 packages found for django >=5.0.3,<6.0.0
Source (poetry-lockfile): 1 packages found for isodate >=0.6.1,<0.7.0
Source (poetry-lockfile): 1 packages found for djangorestframework >=3.15.1,<4.0.0
Source (poetry-lockfile): 1 packages found for django-filter >=24.2,<25.0
Source (poetry-lockfile): 1 packages found for django-cors-headers >=4.0.0,<5.0.0
Source (poetry-lockfile): 1 packages found for enflex-ts *
Source (poetry-lockfile): 1 packages found for rpy2 >=3.5.16,<4.0.0
Source (poetry-lockfile): 1 packages found for enflex-habitat-service *
Source (poetry-lockfile): 1 packages found for isoduration >=20.11.0,<21.0.0
Source (poetry-lockfile): 1 packages found for pygments >=2.10.0
Source (poetry-lockfile): 1 packages found for black >=21.10b0
Source (poetry-lockfile): 1 packages found for coverage >=6.2
Source (poetry-lockfile): 1 packages found for darglint >=1.8.1
Source (poetry-lockfile): 1 packages found for flake8 >=4.0.1
Source (poetry-lockfile): 1 packages found for flake8-bandit >=2.1.2
Source (poetry-lockfile): 1 packages found for flake8-bugbear >=21.9.2
Source (poetry-lockfile): 1 packages found for flake8-docstrings >=1.6.0
Source (poetry-lockfile): 1 packages found for flake8-rst-docstrings >=0.2.5
Source (poetry-lockfile): 1 packages found for furo >=2021.11.12
Source (poetry-lockfile): 1 packages found for isort >=5.10.1
Source (poetry-lockfile): 1 packages found for mypy >=0.930
Source (poetry-lockfile): 1 packages found for pep8-naming >=0.12.1
Source (poetry-lockfile): 1 packages found for pre-commit >=2.16.0
Source (poetry-lockfile): 1 packages found for pre-commit-hooks >=4.1.0
Source (poetry-lockfile): 1 packages found for pytest >=6.2.5
Source (poetry-lockfile): 1 packages found for pyupgrade >=2.29.1
Source (poetry-lockfile): 1 packages found for safety >=1.10.3
Source (poetry-lockfile): 1 packages found for sphinx >=4.3.2
Source (poetry-lockfile): 1 packages found for sphinx-autobuild >=2021.3.14
Source (poetry-lockfile): 1 packages found for xdoctest >=0.15.10
Source (poetry-lockfile): 1 packages found for myst-parser >=0.16.1
Source (poetry-lockfile): 1 packages found for numpy >=1.26.4,<2.0.0

  Stack trace:

  13  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/cleo/application.py:327 in run
       325│
       326│             try:
     → 327│                 exit_code = self._run(io)
       328│             except BrokenPipeError:
       329│                 # If we are piped to another process, it may close early and send a

  12  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/poetry/console/application.py:190 in _run
       188│         self._load_plugins(io)
       189│
     → 190│         exit_code: int = super()._run(io)
       191│         return exit_code
       192│

  11  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/cleo/application.py:431 in _run
       429│             io.input.interactive(interactive)
       430│
     → 431│         exit_code = self._run_command(command, io)
       432│         self._running_command = None
       433│

  10  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/cleo/application.py:473 in _run_command
       471│
       472│         if error is not None:
     → 473│             raise error
       474│
       475│         return terminate_event.exit_code

   9  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/cleo/application.py:457 in _run_command
       455│
       456│             if command_event.command_should_run():
     → 457│                 exit_code = command.run(io)
       458│             else:
       459│                 exit_code = ConsoleCommandEvent.RETURN_CODE_DISABLED

   8  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/cleo/commands/base_command.py:117 in run
       115│         io.input.validate()
       116│
     → 117│         return self.execute(io) or 0
       118│
       119│     def merge_application_definition(self, merge_args: bool = True) -> None:

   7  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/cleo/commands/command.py:61 in execute
        59│
        60│         try:
     →  61│             return self.handle()
        62│         except KeyboardInterrupt:
        63│             return 1

   6  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/poetry/console/commands/export.py:21 in handle
        19│                 style="warning",
        20│             )
     →  21│         return super().handle()  # type: ignore[no-any-return]
        22│

   5  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/poetry_plugin_export/command.py:125 in handle
       123│         exporter.with_credentials(self.option("with-credentials"))
       124│         exporter.with_urls(not self.option("without-urls"))
     → 125│         exporter.export(fmt, Path.cwd(), output or self.io)
       126│
       127│         return 0

   4  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/poetry_plugin_export/exporter.py:81 in export
        79│             raise ValueError(f"Invalid export format: {fmt}")
        80│
     →  81│         getattr(self, self.EXPORT_METHODS[fmt])(cwd, output)
        82│
        83│     def _export_generic_txt(

   3  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/poetry_plugin_export/exporter.py:96 in _export_generic_txt
        94│         )
        95│
     →  96│         for dependency_package in get_project_dependency_packages(
        97│             self._poetry.locker,
        98│             project_requires=root.all_requires,

   2  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/poetry_plugin_export/walker.py:97 in get_project_dependency_packages
        95│         selected.append(dependency)
        96│
     →  97│     for package, dependency in get_project_dependencies(
        98│         project_requires=selected,
        99│         locked_packages=repository.packages,

   1  ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/poetry_plugin_export/walker.py:125 in get_project_dependencies
       123│         )
       124│
     → 125│     nested_dependencies = walk_dependencies(
       126│         dependencies=project_requires,
       127│         packages_by_name=packages_by_name,

  RuntimeError

  Dependency walk failed at amzi-pyras-lib (*) @ file:///home/fkluiben/git/enflex-core/lib/amzi_pyras_lib-0.7.7-py3-none-any.whl

  at ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/poetry_plugin_export/walker.py:155 in walk_dependencies
      151│             requirement, packages_by_name, nested_dependencies
      152│         )
      153│
      154│         if not locked_package:
    → 155│             raise RuntimeError(f"Dependency walk failed at {requirement}")
      156│
      157│         if requirement.extras:
      158│             locked_package = locked_package.with_features(requirement.extras)
      159│

if you hope that anyone will ever look at this you should provide a way to reproduce it - https://github.com/MyOrg isn't going to cut it
otherwise I expect this is a duplicate of all the others with the same symptom


Error in configuration while running CMake for OpenFast

Hello,
I am installing OpenFast for my master thesis topic. I am following documentation and in 2.2.4 section facing the following error while running CMake. Please guide me on how to solve this.

Do you need to compile the software? For Windows, we distribute precompiled binaries as described in the installation section of the documentation: https://openfast.readthedocs.io/en/master/source/install/index.html#download-binaries.

Hi,
Yes, I need to compile the files.
Also, can you please provide any user guide on how to run openfast? I am
confused about how to run input files in openfast.
Awaiting your reply.
On Thu, 13 Aug 2020, 8:22 pm Rafael M Mudafort<EMAIL_ADDRESS>wrote:

Do you need to compile the software? For Windows, we distribute
precompiled binaries as described in the installation section of the
documentation:
https://openfast.readthedocs.io/en/master/source/install/index.html#download-binaries
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenFAST/openfast/issues/525#issuecomment-673636903,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHVLIAOIUGLY2EUDA5RTW3SAQVP7ANCNFSM4P6KL3KQ
.

Start here for compiling from source: https://openfast.readthedocs.io/en/master/source/install/index.html#compile-from-source
Since OpenFAST does not have a graphical interface, you will need to run it from the command prompt:
openfast <InputFile.fst>

where <InputFile.fst> is your main input file for OpenFAST and openfast is your compiled OpenFAST executable.

I have installed the Fortran compiler but still, I am getting the same error.

Please see this issue for help in getting cmake to find your MKL libraries on Windows with Intel Fortran: https://github.com/OpenFAST/openfast/issues/372#issuecomment-674973046


Exclude SSD-ResNet50 as not part of MLPerf v0.5

We haven't kept instructions for SSD-ResNet50 up-to-date, as it's not part of MLPerf v0.5. However, as people stumble over it while trying to follow the instructions (https://github.com/mlperf/inference/issues/69, https://github.com/mlperf/inference/issues/88), I think it's best to remove it (at least, for now).

Closes #88


question: how to use mkVendorEnv in own buildGoModule

Hi, I think this flake is great.
I would have liked to use mkVendorEnv in my own buildGoModule function which builds our Go package.
Can I use this function by importing this flake in my flake and then accessing mkVendorEnv before using my buildGoModule?
Would you mind giving some help on how this would look like?
Thanks a lot.

It would be cool to provide an external function  mkVendorEnv  which
provides the result here: https://github.com/nix-community/gomod2nix/blob/master/builder/default.nix#L250C7-L250C16
This would then be useful in composing your go.mod -> vendor dir - solution with other customized buildGoModule functions.
I reckon a function
mkVendorEnv =
    { go
    , modulesFile
    , goModFile
    , pwd
    }:


Improve print styles for inverse-header component

What
This improves the print styles for the inverse-header component as part of the work to improve print styles for page layouts:

Padding is removed for better alignment with printed page content
background-color: unset is changed to background: none which is more predictable.

Trello
Why
Although we made improvements to this component as part of #4073, we did not look at how the component might interact with other components on the page. This PR further improves the component in context of page types.
Visual Changes
Before and After: Component Preview

Before and After: Component on a HTML Publication page

Looks good - but similar to the other review, does it need this much top and bottom padding?

It's been reviewed by Nikin and we've kept some of that internal top and bottom padding as it allows breathing space between elements of the page. If the padding is reduced too much, the design suffers and becomes harder to scan.


Some games won't launch via Steam on Xorg when flex-launcher is running

Hi,
I'm running flex launcher on garuda linux with Xorg with an RX  7900 XTX and 5900X CPU.
I've run into an issue with a few games (specifically Blasphemous, Hollow Knight, and Ender Lilies) which won't launch from Steam when flex-launcher is running.  They either won't run at all or hang forever just after launch.  If Steam is launched without flex-launcher running, the games all work fine.
I was able to track down the problem to line 199 in launcher.c:
setenv("SDL_VIDEODRIVER", "wayland,x11", 0);
If I comment the line out or remove wayland, all the games launch fine.
I'm not sure what the underlying issue is.  As I mentioned above, I'm using Xorg and don't even have wayland installed.  If I run Ender Lilies from the command line without Steam, it launches fine without any changes to flex-launcher.
All the games use Vulkan, and I have seen some reports of long-standing bugs with Steam, Vulkan, and Wayland (such as this one, but the reports I've seen happen when people are actually using Wayland.
Perhaps the SDL_VIDEODRIVER environment variable shouldn't be passed on to launched programs?
Edit:  A couple of more bits of info.  Two of those games use the Unity engine, the other uses Unreal.  Also, all of them work fine if I force Steam to run the windows version via Proton.  It's only the linux-native versions that have this issue.

Thanks for the report and detailed debugging.
I set that environment variable because the default SDL behavior is to choose XWayland over native Wayland for Wayland users. However, I hadn't considered the impact that it would have on the launched child processes.
The overwrite argument is set to 0 so that the program won't overwrite the environment variable if the user already had it set. So, you can set it yourself manually to prevent Flex Launcher from setting it, e.g. run the launcher like so: SDL_VIDEODRIVER=x11 flex-launcher. That should be a preferable workaround to maintaining a modified build, and in the meantime I will look for an alternative solution to have SDL use native Wayland by default for Wayland users.

That is a much better idea, thanks!  I forgot all about the overwrite argument.


Fixes #152 : SSL should keep :443 port for after host if it specified

Fixes #152

Deferring for now, per my comment on the original issue.

Closing, per @basz.


Validation error

执行验证的时候出现的错误，您知道这是什么原因吗
Traceback (most recent call last):
File "train.py", line 902, in
main()
File "train.py", line 90, in main
mp.spawn(main_worker, nprocs=args.ngpus_per_node, args=(args.ngpus_per_node, args))
File "/root/anaconda3/envs/ST/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 230, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/root/anaconda3/envs/ST/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 188, in start_processes
while not context.join():
File "/root/anaconda3/envs/ST/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 144, in join
exit_code=exitcode
torch.multiprocessing.spawn.ProcessExitedException: process 2 terminated with exit code 1

可以给更具体的报错吗？


add unit test for function (#708)

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Codecov Report
Patch coverage has no change and project coverage change: +0.51% :tada:

Comparison is base (33f2907) 36.41% compared to head (7a81b15) 36.93%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #733      +/-   ##
==========================================
+ Coverage   36.41%   36.93%   +0.51%
==========================================
  Files         247      247
  Lines       26157    26157
==========================================
+ Hits         9526     9660     +134
+ Misses      15600    15422     -178
- Partials     1031     1075      +44

see 8 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github.com/arana-db/arana/pkg/dataset/chain.go (100.0%)
github.com/arana-db/arana/pkg/dataset/filter.go (81.0%)
github.com/arana-db/arana/pkg/dataset/fuse.go (53.5%)
github.com/arana-db/arana/pkg/dataset/group_reduce.go (57.6%)
github.com/arana-db/arana/pkg/dataset/ordered.go (76.9%)
github.com/arana-db/arana/pkg/dataset/parallel.go (65.2%)
github.com/arana-db/arana/pkg/dataset/priority_queue.go (86.4%)
github.com/arana-db/arana/pkg/dataset/reduce.go (76.2%)
github.com/arana-db/arana/pkg/dataset/sort_merge_join.go (77.8%)
github.com/arana-db/arana/pkg/dataset/transform.go (72.2%)
github.com/arana-db/arana/pkg/dataset/virtual.go (100.0%)


Hamburger Shows On Mobile If No Header Pages

If I want no header pages, the hamburger still shows in mobile view
But does nothing when clicked on since there are no items
Using any of these shows no header pages
    header_pages: [""]
    header_pages: nil
    header_pages:
         -

Oh we are too busy, so we are going to throw this away.
Nice
On Thu, Nov 1, 2018, 15:11 jekyllbot<EMAIL_ADDRESS>wrote:

This issue has been automatically marked as stale because it has not been
commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for
your help.
If this is a bug and you can still reproduce this error on the master
branch, please reply with all of the information you have about it in order
to keep the issue open.
If this is a feature request, please consider whether it can be
accomplished in another way. If it cannot, please elaborate on why it is
core to this project and why you feel more than 80% of users would find
this beneficial.
This issue will automatically be closed in two months if no further
activity occurs. Thank you for all your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jekyll/minima/issues/242#issuecomment-435170590, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AX9NqaIBfmtWvIe32RljPokdIYr7dp71ks5uq1VkgaJpZM4T4dOD
.

Oh we are too busy, so we are going to throw this away.
Nice

It might be fixed in https://github.com/jekyll/minima/pull/289, but I'm not sure.
Maybe you could confirm?

@ashawley no because the condition checks for site.pages title size, so if you have an about page with a title and an empty header_pages, it will pass.
@ng-chicago You can always overwrite the header.html include:
https://github.com/jekyll/minima/blob/305e31bb80ac362faca6c20825d34c2b0fcfeab1/_includes/header.html#L9
and replace the condition with:
{%- if site.header_pages > 0 -%}


Expose node-validator instance as module.exports.validator so it can be ...

...customized
Fixes #50

node-validator was exposed in https://github.com/ctavan/express-validator/pull/70


js9_build -lp

doesn't install the libs & portal

make sure fix also on 9.00 branch

When an error occure, log message is printed.
This error was caused by a missing dependency during the setup, fixed on master now


Discriminated union types

This PR implements support for discriminated union types, inspired by suggestions in #186 and #1003. Specifically, we now support type guards that narrow union types based on tests of a discriminant property and furthermore extend that capability to switch statements. Some examples:
interface Square {
    kind: "square";
    size: number;
}

interface Rectangle {
    kind: "rectangle";
    width: number;
    height: number;
}

interface Circle {
    kind: "circle";
    radius: number;
}

type Shape = Square | Rectangle | Circle;

function area(s: Shape) {
    // In the following switch statement, the type of s is narrowed in each case clause
    // according to the value of the discriminant property, thus allowing the other properties
    // of that variant to be accessed without a type assertion.
    switch (s.kind) {
        case "square": return s.size * s.size;
        case "rectangle": return s.width * s.height;
        case "circle": return Math.PI * s.radius * s.radius;
    }
}

function test1(s: Shape) {
    if (s.kind === "square") {
        s;  // Square
    }
    else {
        s;  // Rectangle | Circle
    }
}

function test2(s: Shape) {
    if (s.kind === "square" || s.kind === "rectangle") {
        return;
    }
    s;  // Circle
}

A discriminant property type guard is an expression of the form x.p == v, x.p === v, x.p != v, or x.p !== v, where p and v are a property and an expression of a string literal type or a union of string literal types. The discriminant property type guard narrows the type of x to those constituent types of x that have a discriminant property p with one of the possible values of v.
Note that we currently only support discriminant properties of string literal types. We intend to later add support for boolean and numeric literal types.

what is the officially recommended way to do exhaustive checks?

@aleksey-bykov To check for exhaustiveness you can add a default clause where you pass the narrowed object to a method that requires an argument of type never. This will fail if you're missing one or more cases. For example:
function assertNever(x: never): never {
    throw new Error("Unexpected object: " + x);
}

function area(s: Shape) {
    switch (s.kind) {
        case "square": return s.size * s.size;
        case "rectangle": return s.width * s.height;
        case "circle": return Math.PI * s.radius * s.radius;
        default: return assertNever(s);  // Error here if there are missing cases
    }
}

@aleksey-bykov Or you can just put the return assertNever(s) call after the switch statement:
function assertNever(x: never): never {
    throw new Error("Unexpected object: " + x);
}

function area(s: Shape) {
    switch (s.kind) {
        case "square": return s.size * s.size;
        case "rectangle": return s.width * s.height;
        case "circle": return Math.PI * s.radius * s.radius;
    }
    return assertNever(s);  // Error here if there are missing cases
 }

wait a second
    if (s.kind === "square") { // <--- huh??
        s;  // Square
    }
    else {
        s;  // Rectangle | Circle
    }
}

does this mean this: https://github.com/Microsoft/TypeScript/issues/7447 ?

@aleksey-bykov No, #7447 is a separate issue, but they're sort of related. The type guard s.kind === "square" has the effect of narrowing s to type Square. That in turn means that s.kind has type "square" with the guarded block (because that's the type of the kind property in Square). So, effectively the kind property is narrowed as well.

@ahejlsberg What do you think of this idea: If x is of a union type, and property x.y is narrowed, than the type of x is filtered to the union parts based on the narrowed type of x.y. Then we can use type guards on properties to narrow the containing object. That would then require #7447 for the use case of this PR. That would allow such cases:
class Foo { foo: any; }
class Bar { bar: any; }
interface HasFoo {
  y: Foo;
  a: number;
}
interface HasBar {
  y: Bar;
  b: string;
}
const x: HasFoo | HasBar = ...;
if (x.y instanceof Foo) {
  x.a; // x: HasFoo
} else {
  x.b; // x: HasBar
}

@ivogabe That's an interesting idea. Other than the Foo and Bar example, are there scenarios for which this is particularly compelling? I can't think of any offhand, but I might be missing something.
One concern is how this would affect performance. It seems that for every reference to x in a control flow graph we would now have to examine every type guard that has x as a base name in a dotted name. In other words, in order to know the type of x we'd have to look at all type guards for properties of x. That has the potential to generate a lot of work.

@ahejlsberg I didn't have a specific use case in my mind, it came to my mind when I was working on my thesis. In theory it is a good idea to reuse the same logic for such cases, as it will give the most accurate results. I'm not sure how this will affect the performance of the compiler. I think that the impact is small given that this is limited to union types. I think that it would require an implementation to know that for sure.

@ivogabe perhaps see https://github.com/Microsoft/TypeScript/issues/1260

To check for exhaustiveness you can add a default clause where you pass the narrowed object to a method that requires an argument of type never.

If the return type excludes undefined, can that serve as an exhaustiveness check since if the switch is non-exhaustive flow may reach the bottom and return undefined?
function area(s: Shape):number {
    switch (s.kind) {
        case "square": return s.size * s.size;
        case "rectangle": return s.width * s.height;
        case "circle": return Math.PI * s.radius * s.radius;
    }
    // unreachable, since s has type never
 }

function area(s: Shape):number {
    switch (s.kind) {
        case "square": return s.size * s.size;
        case "rectangle": return s.width * s.height;
    }
    // reachable, s has type Circle, function returns undefined, which is not compatible with number
 }

@jesseschalken make sure you compile with --strictNullChecks, it should do it

@jesseschalken There are a surprising number of interconnected issues in the reachability, control flow, and exhaustiveness topics. I will try to explain in the following.
Our reachability analysis is based purely on the structure of your code, not on the higher level type analysis. For example, if you have code immediately following a return or throw statement, we know from the structure of your code that it is unreachable. But in this example
function area(s: Shape): number {
    switch (s.kind) {
        case "square": return s.size * s.size;
        case "rectangle": return s.width * s.height;
        case "circle": return Math.PI * s.radius * s.radius;
    }
    // Unreachable?
}

we can't conclude from the structure of the code that end point is unreachable. Indeed, someone might pass you a shape with an invalid kind and you may want to write code to guard against that:
function area(s: Shape): number {
    switch (s.kind) {
        case "square": return s.size * s.size;
        case "rectangle": return s.width * s.height;
        case "circle": return Math.PI * s.radius * s.radius;
    }
    fail("Invalid shape");
}

But even if fail never returns (i.e. if it returns never), we still can't tell from the structure of the code that the end point is unreachable. However, once you return the value of fail
function area(s: Shape): number {
    switch (s.kind) {
        case "square": return s.size * s.size;
        case "rectangle": return s.width * s.height;
        case "circle": return Math.PI * s.radius * s.radius;
    }
    return fail("Invalid shape");
}

we now know from the structure of the code that the end point is unreachable. Thus, there is no implicit return of undefined. Furthermore, because fail returns never and because never is ignored in combination with other types (i.e. number | never is just number), everything works out.
To get exhaustiveness checks, we use a slight twist on the above and pass the guarded object as an argument to a never returning function that expects a never parameter:
function area(s: Shape): number {
    switch (s.kind) {
        case "square": return s.size * s.size;
        case "rectangle": return s.width * s.height;
        case "circle": return Math.PI * s.radius * s.radius;
    }
    return assertNever(s);  // Error unless type of s is never
}

Now, returning to the original example:
function area(s: Shape): number {
    switch (s.kind) {
        case "square": return s.size * s.size;
        case "rectangle": return s.width * s.height;
        case "circle": return Math.PI * s.radius * s.radius;
    }
}

You'd think the above would be an error because the structure of the code does not preclude the implicit return of undefined at the bottom of the function. The reason you don't get an error here is that when a switch statement is the last statement of a function, and when that switch statement has an exhaustive set of cases for the type of the switch expression, we suppress the undefined that would have come from the implicit return at the end of the function. This happens in the type checking phase as part of return type analysis and is one of the parts of this pull request.

We intend to later add support for boolean and numeric literal types.

Oooh, i can't wait for numeric literal types.  It will make working with the compiler's own APIs so nice.  Switches on syntax kinds will be beautiful!

👍

Really bad language design to force developers to check for strings. The case statements should check for types - not strings (like F#)

@bluemmc Any language-level tagged union or algebraic data type necessarily involves some sort of type tag that is checked at run time. F# (and Haskell) simply hide this from you.
It would be possible for TypeScript to do the same with some dedicated syntax and a hidden property (such as __tag or a symbol) but I guess TypeScript just wants to feel close to JavaScript, and it's at least still type safe and checks exhaustiveness.

Yes, the language should hide this for me. It is a design smell to encode types as magic strings. For example, it makes refactoring more difficult because one can't assume that all stringfied instances of a type is really a reference to said type or if it is something else.
I really wonder why an experienced language designer will suggest an antipattern like this (similar to how I wonder how reference paths in typescript ended up as magic comments - a extremely ugly hack). I also wonder why nobody challenge designs like this?
P.S. Otherwise Discriminated union types are a good idea - just do not like the smell of magic strings.

will suggest an antipattern like this

This pattern is being recognized by TypeScript as it is common in the JavaScript world.  The number one goal of TypeScript is described as "Statically identify constructs that are likely to be errors."  As this pattern is common in the JS world, one of the best ways for TypeScript to identify when your code is in error is for it recognize this pattern and incorporate it into the checking it does for correctness.

just do not like the smell of magic strings.

There is no need for you to use this (anti-)pattern if you do not like it.  However, for codebases that do already use it, TypeScript now has become far more valuable by being able to identify it and provide the user with great diagnostics when you're likely doing something wrong.

@bluemmc It's likely because TypeScript is not just a language that happens to support JavaScript as a compilation target (like some other languages do), but rather it is intended to be JavaScript with type safety added. In other words rather than asking "How do we support ADTs?" the question is "How do we add type safety to the ADTs people already have?"
Nonetheless a dedicated ADT syntax would be nice. :)

@bluemmc the Mozilla Parser API is a good (and pretty widely used) example of how string-typed discriminants are used in real-world JavaScript. TypeScript now adds a great deal of value for statically checking code that uses this kind of API.

There a lots of both good and bad in the javascript language and common javascript practices. I do not believe that typescript should repeat past mistakes. Also remember, that the reason strings are often used in plain javascript is because there are no better way of doing things. In this case, there are.
We should strive for great language design that solves problems without introducing new problems (or reintroducing old javascript problems). In addition, using types instead of strings allow more powerful future switch constructions (look at F# for examples).

I'm not sure what mistakes are being repeated. We are modeling canonical JavaScript as it's used today. There are definitely ways we can expand on the current design that do not involve strings themselves, and even with what's been implemented so far, you can create constants and type aliases that refer to string literal types if you want to deliver clearer semantics over what a tag means.
We could invent a completely new syntax that would encompass exactly what you're talking about (#9241), but that would diverge from ECMAScript in a significant way, and we are not keen on doing so.

Also remember, that the reason strings are often used in plain javascript is because there are no better way of doing things. In this case, there are.

And TypeScript enables you to use them, although it has to live with the undeniable sadness of reality that there are significant amounts JavaScript patterns that cannot be modelled safely in TypeScript without this feature.

We should strive for great language design that solves problems

Agreed.  And that's why i really love TypeScript.  Because it really tries to solve the problem of "How do i work with existing JavaScript and JavaScript libraries in a way that helps me find problems faster, and makes me more productive in general."
TypeScript exists in a JavaScript world.  One of the things that makes it great is that it embraces the code that is already out there and does not dictate that one needs to move away from it to get great experiences.  That is absolutely solving a real problem, albeit maybe not exactly the one you want it to be solving :)
The good thing is that, as mentioned above, you don't ever need to use this feature if you don't want to.  if it's not how you write your own types, then that's fine.  If you don't interface with existing libraries that work in this manner, then it won't ever affect you.
However, I have a few apps i've written that talk to webservices that use precisely this pattern to model their results.  Prior to this feature i would model the types i expected, but i had to write lots of code to check kinds and manually cast all over the place.  It was ugly, verbose, and very redundant.  This feature allows me to greatly simplify my code while still giving me the great error checking and productivity gains that i love about TS.

@CyrusNajmabad I want to be able to use discriminated union types in a typesafe manner like F#. With such a design, there is nothing that stops people of expressly switching on strings instead using the string returned by xxxx.kind()
@DanielRosenwasser Your are essentially argument that discriminated union checks should not be typesafe because javascript is not. I thought the idea of typescript was to make things typesafe, maintainable and to enable tool-support. This proposal is none of these things because of this flaw. Thanks for the link to the much better alternative proposal though.

I thought the idea of typescript was to make things typesafe, maintainable and to enable tool-support. This proposal is none of these things because of this flaw.

Yes, it is type safe. That's the entire point of this issue. The area(s:Shape) function will not accept anything that doesn't precisely fit the Shape type, the switch statement inside area cannot access properties of any of the concrete shapes without being guarded by an appropriate kind check, and the switch is checked for exhaustiveness as mentioned previously. That's all the features you get with dedicated algebraic data types.
The only thing that's wrong is it's a bit ugly and doesn't hide the type tag from you. But if you mistype one of the type tags you will still get an error, just as though you mistyped the name of a constructor for an ADT.

@jesseschalken Unless this function gives a compiler error, then the proposal is NOT typesafe:

function area(s: Shape) {
switch (s.kind) {
case "squara": return 42;
case "rectangle": return s.width * s.height;
case "circle": return Math.PI * s.radius * s.radius;
}
}

@bluemmc If I understand @ahejlsberg's comment correctly, it would. The switch is not exhaustive which means that the implied return undefined at the bottom of the function is not suppressed, and the return type is inferred as number|undefined. If you add :number to the signature, that will show as an error, but otherwise you'll still see the error where the function is called assuming it does something with the result that can't be done with undefined.
If the switch is not the last statement in the function (eg, the cases set a variable instead of returning), or all of the call sites in the same compilation unit happen to do something with the result that is permitted with undefined and you don't want to add a return type to the function, you can still check exhaustiveness by adding default: assertNever(s);.
If in the future the compiler considered code for which a local variable had type never as unreachable, the return 42; would also be flagged as unreachable.

@bluemmc the way unions are (non-discriminated yet) in TypeScript is way better than sum types Haskell's or F#  because, in TypeScript:

types can be mixed arbitrarily without having to be wrapped into constructors and declared under a cerain data type
can be discriminated based on your own logic, written the way you want it

Let me explain. In Haskell you can't pass Just a or Nothing alone they can only be seen:

as constructors
as cases while pattern matched

Meaning they are not real types because you cannot declare a value of type Nothing, you will have to make it of type Maybe a.
Why is that? Because the internal mechanism of sum types requires these cases to be parts of the Maybe type. Only then will it be able to discriminate one case from another.
Now in TypeScript you can declare Some<a> and None as completely separate interfaces that have nothing to do with each other and they are 100% real types without any limitations:
interface Some<a> { some: a; }
interface None { none: void; }

And later you can:

Use them alone: `const someEmptyString : Some = { some: '' }; or...
Use them together mixing under a new type type Optional<a> = Some<a> | None or...
Recombine them with in a completely new type: type Uncertain<a> = Some<a> | None | Dunno

So it gives you a greater degree freedom at the cost of... having to come up with your own way to destructure them into possible cases. Scared? Fear not, because thank to type guards and narrowing switch statements you are given all the tools you could possible need:
interface Dunno { hm: void; }
const none: None = { none: void 0 };
const some: Some<string> = { some: 'hey' };
const dunno: Dunno = { hm: void 0 };

let huh: Optional<a> = Math.random() > 0.5 ? some : none;
let meh: Uncertain<a> = Math.random() > 0.3 ? some : Math.random() > 0.5 ? none : dunno;
function isSome<a, b>(value: Some<a> | b) : value is Some<a> {
    return 'some' in value; // one of many possible ways to discriminate Some out of an arbitrary union
}
meh = huh; // works! without having to transform Optional to Uncertain, can't be done in Haskell
if (isSome(meh)) {
// works! using one function to exclusively pattern match only Some case out of an arbitrary type that might have it
// can't be done in Haskell
    alert(meh.some);
}
if (isSome(huh)) {
// works again! using the very same function to pattern match only Some case of a completely different type again
// can't be done in Haskell either
   alert(huh.some);
}

All in all, the union types in TypeScript together with various narrowing facilities give you ultimate freedom to design your ADT's the way you always wanted it.
It's not a shorcoming as you think, it's a flipping blessing send to us from the gods of programming above. Enjoy it.

I am going with a simple const _exhaustiveCheck: never = s; for exhaustive checks. Also added a section here : https://basarat.gitbooks.io/typescript/content/docs/types/discriminated-unions.html PS made a release of alm with all this amazing work pulled in :rose:

@basarat such check saves you at compile time (assuming your code model is solid and consistent), but it doesn't save you at runtime when an unexpected compile-time-impossible case comes in.  As opposed to a function that throws that would crash you fast and loud.

such check saves you at compile time (assuming your code model is solid and consistent), but it doesn't save you at runtime when an unexpected compile-time-impossible case comes in

Having that throw in there feels a lot like the mandatory throw that is not something I'd put in TypeScript :rose: Unless there is an example that is in TypeScript that makes sense.
Also, I made a snippet in alm :)

it's not mandatory it's just a question whether you trust your data of not
say, you expect a shape of 3 cases
then suddenly your teammates from backend team added one more without letting you know
with your denial to throw you will know after days or week after it happened
with a throw you will know immediately
your choice

your choice

Agreed. I'd rather focus on codegen instead of adding a throw. We've done code gen on backend code to make sure that we get type defs that don't go out of sync. Without that even a simple matter of foo.bar can become an error that isn't noticed till after weeks :rose:

thinking of an advise in your book, you'd better be off suggesting to throw, because far not everyone is

capable of codegen
permitted to codegen
cares enough

These structural sum types don't support extensibility of existing classes.

@ahejlsberg wrote:

thinking of the advise in your book, you'd better be off suggesting to throw, because far not everyone is

capable of codegen
permitted to codegen
cares enough

All good reasons to hope Google's SoundScript becomes a compelling reality, eventually a standard, and that it supports the good parts from TypeScript.
We'd still be able to use codegen with SoundScript as a target for extra features and experimentation. So TypeScript's raison d'être would necessarily end.


Feature request: use date field in the narrow

I went through the docs of the REST API, https://zulipchat.com/api/get-messages and I understand that the narrow can be used as filters for fetching the messages from the Zulip chat.
I went through the docs to get any such information of using any date as search field.
Please correct me if I have missed anything.
There is a project called Perceval (one of the important components in GrimoireLab of the CHAOSS community) which is a tool that simplifies the collection of project data. Recently, we thought of adding perceval support for Zulip too, https://github.com/chaoss/grimoirelab-perceval/issues/630. We need a date search field to implement the incremental fetch operations. So, we thought of putting up this as feature request and discuss if it can be implemented. :slightly_smiling_face:
Thanks.
Dropping some links regarding Perceval and GrimoireLab for reference:

https://github.com/chaoss/grimoirelab-perceval
https://blog.bitergia.com/2018/05/01/perceval-software-project-data-at-your-will/
https://chaoss.github.io/grimoirelab/

I think this might be a duplicate of https://github.com/zulip/zulip/issues/10385?
That issue has gotten very spammy, but https://github.com/zulip/zulip/issues/10385#issuecomment-475012637 and https://github.com/zulip/zulip/pull/12233 have the useful state here.
@thedeveloperr would you be up for rebasing your PR and posting a summary reminding us of what it does?

@vchrombie it might be helpful if you posted details on how you'd want the date to be encoded; I don't think we'd decided on that entirely on our end.

Hi @timabbott
Sorry for not being clear.
I was talking about the API. Just want to know if the narrow param can be used to fetch messages after a given date

@timabbott rebasing my PR will take some significant time, it was one of my initial PR while getting started in Zulip development so alot of things can be done in a better way, so I will be rewriting that feature from scratch. I can start working on that after 19th April

We found a workaround for it and implemented the perceval backend for Zulip.
Now, you can extract the messages from a zulip stream using perceval. :tada:
https://github.com/vchrombie/grimoirelab-perceval-zulip
Thanks for the help, closing this issue. Please feel free to open it again if needed.


_from_openapi_data() missing 1 required positional argument: 'name' on create event

body= {
    "data":{
        "type":"event",
        "attributes":{
            "properties":{"key": "value"},
            "metric": {
                "data": {
                        "type": "metric",
                        "attributes": {
                            "name": "verification_completed"
                        }
                }
            },
            "profile":{
                "data":{
                    "type":"profile",
                    "id":"user_id",
                    "attributes": {
                        "email"<EMAIL_ADDRESS>                    }
                }
            }
        }
    }
}

try:
        klaviyo.Events.create_event(body)
except Exception as err:
        print(err)

Hey,
Thanks for reaching out again.
I was unable to reproduce your error, however, I encountered a similar issue in the previous version (4.0.0), to which I recently released a fix.
Can you try upgrading to v5.0.0 (https://pypi.org/project/klaviyo-api/5.0.0/) and let me know if you're still encountering the error? Thanks!
Cheers,
Jon


OpenWRT 19.07.1 -> 19.07.2 upgrade UI  issues

Hi,
I just ran 19.07.1 -> 19.07.2 upgrade on TP-Link Archer C2600, and noticed that clicking on "Status -> System Log" triggers the following error:
"Failed to execute call dispatcher target for entry '/admin/status/syslog'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:74: Failed to load template 'admin_status/syslog'.
Error while parsing template '/usr/lib/lua/luci/view/admin_status/syslog.htm':
No such file or directory
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:74: in function '__init__'
/usr/lib/lua/luci/util.lua:65: in function 'Template'
/usr/lib/lua/luci/template.lua:27: in function 'render'
/usr/lib/lua/luci/controller/admin/status.lua:33: in function </usr/lib/lua/luci/controller/admin/status.lua:31>
(tail call): ?"
Actions:
"System-> Routes"
"System-> Kernel log"
"System-> Firewall"
are triggering a similar error.
/usr/lib/lua/luci/view/admin_status/ looks pretty empty:
root@vostok:~# ls -al /usr/lib/lua/luci/view/admin_status/
drwxr-xr-x    1 root     root             0 Apr 26 00:14 .
drwxr-xr-x    1 root     root             0 Apr 26 00:14 ..
-rw-r--r--    1 root     root          1970 Apr 21 23:05 index.htm

List of luci related packages installed:
"opkg list_installed  | grep luci
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
luci - git-20.113.71444-50c05f3-1
luci-app-firewall - git-20.113.71444-50c05f3-1
luci-app-opkg - git-20.113.71444-50c05f3-1
luci-app-vpn-policy-routing - git-20.115.28077-2aeb83a-71
luci-app-wireguard - git-20.113.71444-50c05f3-1
luci-base - git-20.113.71444-50c05f3-1
luci-compat - git-20.113.71444-50c05f3-1
luci-lib-ip - git-20.113.71444-50c05f3-1
luci-lib-jsonc - git-20.113.71444-50c05f3-1
luci-lib-nixio - git-20.113.71444-50c05f3-1
luci-mod-admin-full - git-20.113.71444-50c05f3-1
luci-mod-network - git-20.113.71444-50c05f3-1
luci-mod-status - git-20.113.71444-50c05f3-1
luci-mod-system - git-20.113.71444-50c05f3-1
luci-proto-ipv6 - git-20.113.71444-50c05f3-1
luci-proto-ppp - git-20.113.71444-50c05f3-1
luci-proto-wireguard - git-20.113.71444-50c05f3-1
luci-ssl-openssl - git-20.113.71444-50c05f3-1
luci-theme-bootstrap - git-20.113.71444-50c05f3-1
rpcd-mod-luci - 20191114"

I am getting the same error on a Linksys EA4500. I am very new to OpenWRT though and just upgraded all packages that were available with a loop and opkg upgrade pkgname.

You need to reboot or run rm -r /tmp/luci-*.


Project manager receiving joypad input when starting project via Run-button

Godot version:
using Godot 3, the latest master version 0294887a0ca1b42f9fddb3858d4ee304b3f4d055
OS/device including version:
Linux Mint
using an Xbox 360 controller
Issue description:
When running a project from the Project Manager window the input is process by the game and also by the Project Manager window.
Steps to reproduce:

Open Project Manager
Run any project (not Edit!)
Move game window out of the way to see the Project Manager
Use Joypad while game window has focus (eg. dpad for button switching or A to click on buttons)
See that the input is also processed in the Project Manager

[x] I searched the existing GitHub issues for potential duplicates.

Ubuntu 17.10, Godot 3.0 Beta 2, AMD Radeon R9 Fury, Joypads demo, Microsoft X-Box One pad
I can recreate this.  Joypad demo has focus and is responsive to the controller.  Project Manager responds to directional pad and the A button.

I just noticed, that this is not only limited to the Project Manager window. When running multiple Godot games all game will receive the Joyput Input. It does not matter if the games are started from the editor or if they are run from the commandline.

I'll have a look at refactoring the mess in main.cpp so that the project manager and editor get a similar setup. Currently some things are set only when editor is defined, but they are relevant for the project manager too (such as HiDPI support - see #16407).

I just noticed, that this is not only limited to the Project Manager window. When running multiple Godot games all games will receive the joypad input. It does not matter if the games are started from the editor or if they are run from the commandline.

Note that I only fixed it for the project manager, by disabling its support for game-specific input.
The fact that multiple instances of a game all receive joypad events regardless of the focus would likely be worth keeping track of in a new issue (if not done already).


DataView.getUint16 offset is outside the bounds

Offset is outside the bounds of the DataView @ DataView.getUint16

Duplicate of #563


🐛 [Bug report]: Images missing alt tags

Descrcibe the bug?
Few images are missing alt tags in the project.
Steps to reproduce the bug?
Files in which alt tags are missing:

src/plays/personal-profile-card/components/profile-form.tsx [Line 34]
src/plays/personal-profile-card/components/profile-form.tsx [Line 54]
src/common/activities/hackathon/HackathonBanner.jsx [Line 21]
src/common/activities/hackathon/HackathonBanner.jsx [Line 62]

Expected behavior
Image elements must have an alt property, either with meaningful text, or an empty string for decorative images.
Desktop (Please provide your system information)
OS: MacOS
Browser: Chrome
Version: 106.0.5249.119
Mobile (Please provide your device information)
No response
Screenshot / Screenshare
No response
Relevant log output
No response
Code of Conduct

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

I would like to contribute to this issue.


Grid

Implement grid that provides valid positions
Adapt fruit and players to use the grid to set their positions

Nicely done. :+1:


When loading HelloWeb an error ocurred

> k web
System.TypeLoadException: Could not load type 'System.IO.DirectoryNotFoundException' from assembly 'System.IO.FileSystem
.Primitives, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
   at Microsoft.AspNet.FileSystems.PhysicalFileSystem..ctor(String root)
   at Microsoft.AspNet.StaticFiles.StaticFileMiddleware..ctor(RequestDelegate next, IHostingEnvironment hostingEnv, Stat
icFileOptions options)

C:\Users\jorge.vilaca\Projects\Home-master\samples\HelloWeb> kvm list
Active Version     Runtime Architecture Location                            Alias
------ -------     ------- ------------ --------                            -----
       1.0.0-beta2 CLR     x86          C:\Users\jorge.vilaca\.kre\packages
  *    1.0.0-beta2 CoreCLR x86          C:\Users\jorge.vilaca\.kre\packages default

What were of the component packages were restored ?

Sorry. Already solved. My project.json was not in sync with the framework i
had installed.
Em 15/02/2015 19:51, "Suhas Joshi"<EMAIL_ADDRESS>escreveu:

What were of the component packages were restored ?
—
Reply to this email directly or view it on GitHub
https://github.com/aspnet/Home/issues/320#issuecomment-74444509.


Regenerated the PulsarApi from proto with latest protoc

Motivation
In #1200 the PulsarApi.java was regenerated with a protoc that didn't have the latest patch with the fixes for Netty-4.1

retest this please


Different Formats for Push Summary Report

Currently, we only have a human readable format for the push summary.
In this PR, we add support of JSON and YAML.
Example Usage:
gonut push ruby --summary full --output json

This will close https://github.com/homeport/gonut/issues/21


Travis CI

@mosheraboh
What is your opinion on this way of implementing 'exclude' in the configurations files?
The granularity might dynamically change when we will fix more files' formats.

Great! @SagiPolaczek , we probably need some instructions about the expected code conventions how to test it and how to apply black on the not excluded files). @YoelShoshan , any idea where to mention it?
Sure, I'll make the instructions.

We can have a "contribution" section in the main README file, where we can explain the entire process or direct to a contribution page. For example: https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md


When a user searches for uncompleted tasks, it should order based on due next, with floating tasks at the bottom

#113

Timeline does not allow


Make autoignore service user-controllable

Is your feature request related to a problem? Please describe.
Currently autoignore is turned on by default. We can make it a user-controllable service.

actually this is not needed (my bad, will close)


Wrong or unclear justified nav example

On the 4.2 documentation for navs the part about justified navs seems strange to me. Here is a snapshot of the example.

The text for the top example reads:

For equal-width elements, use .nav-justified. All horizontal space will be occupied by nav links, but unlike the .nav-fill above, every nav item will be the same width.

Which suggests that the following links would be equally sized, however, as you can see in the image, they are not.
I'm a beginner, so from what I can tell they're missing the "nav-item" class attribute, but even then, going by the previous example on that same page and a working example after that entry, I think they meant to put it into an unordered list, so the code would look like this:

    Active

    Longer nav link

    Link

    Disabled

Which would look like this (edited html on the page for code section):

If I am wrong, let me know.

Fixed link to the second image.

Well, for one you shouldn't use such an old version :P
Is the issue present in the latest 4.x docs?

Duplicate of #28117, and fixed in #28193.

I'm so dumb. I kept thinking I was in the latest docs. lol ty for letting me know. Also, if it was fixed, why is it still there?

That is the old docs. You can see v4.3 docs: https://getbootstrap.com/docs/4.3/components/navs/


V1.7 bearsh

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

79 of 112 (70.54%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-3.4%) to 88.565%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

embedded_postgres.go
34
40
85.0%

config.go
6
33
18.18%

Totals

Change from base Build 860150340:
-3.4%

Covered Lines:
395

Relevant Lines:
446

💛  - Coveralls


Unevaluated function

A function with a simple rule stays unevaluated in the following example. In order to minimize this, the example works only in the repl (outside it will fail on a different branch first). This is reproducible with the haskell backend at commit 5014eb9656bb1176fd310420623ce6ce75d1a017 (and also at least one of the earlier ones).
Most changes I tried to make to tmp.k, no matter how small, make the problem go away.
tmp.k:
module TMP
  imports BOOL
  imports MAP

  imports INT

  syntax Usize ::= u(Int)

  syntax KItem ::= #splitMap(key:KItem, Map)
  rule  #splitMap(K:KItem, (K |-> V:A _:Map) #as M:Map) => V

  syntax A ::= "a"
  rule _:A => .K
  syntax KItem ::= A

  syntax KItem ::= call(Map, Usize) | end(Map, Usize)
  rule call(M, U:Usize) => (#splitMap(u(10), M) ~> end(M, U))

  syntax Map ::= keysMap(Map)  [function, functional]
  rule keysMap(K:KItem |-> _:KItem M:Map) => K |-> 0 keysMap(M)
    [simplification]

  syntax Bool ::= condition(Map)  [function, functional]
  rule condition(M:Map) => true

  syntax Bool ::= ensuresClaim(numProposers:Usize, userIdToRole:Map)
    [function, functional]
  rule ensuresClaim(u(NumProposers:Int), UserIdToRole:Map)
      => condition(keysMap(UserIdToRole))
endmodule

tmp-proof.k:
module TMP-PROOF
  imports TMP

  claim call(_:Map, u(_:Int)) => end(?M:Map, ?U:Usize)
    ensures ensuresClaim(?U, ?M)
endmodule

Command line:
kompile tmp.k --backend haskell && kprove tmp-proof.k --debugger --debug-script kast.kscript

Then, inside the repl:
step 2
select 2
step 2
select 5
konfig

Note the unevaluated condition ( keysMap ( _2 ) u ( 10 ) |-> 0 ) call and note this rule in tmp.k: rule condition(M:Map) => true.

I think that the backend cannot infer that the argument of condition is defined, so it won't apply the rule. You can verify with --debug-equation.

Ah, you're right, I got confused because things like changing u(NumProposers:Int) to X:Usize in the ensuresClaim rule, or completely removing that argument, make the problem go away for some reason.


Figure out how to install pytorch 1.1 in new env on AWS

Things tried
conda create --name=pytorch_11 --clone pytorch_p36
source activate pytorch_11
pip install torch==1.1.0
python -c "import torch"

On brand new machine
conda create --name=pytorch_11 --clone pytorch_p36
source activate pytorch_11
conda install pytorch torchvision -c pytorch
python -c "import torch"

Both fail with
Traceback (most recent call last):
  File "check_versions.py", line 12, in <module>
    import torch.optim as optim
  File "/home/ubuntu/anaconda3/envs/pytorch_11/lib/python3.6/site-packages/torch/__init__.py", line 222, in <module>
    class BoolStorage(_C.BoolStorageBase, _StorageBase):
AttributeError: module 'torch._C' has no attribute 'BoolStorageBase'

cc @8enmann
Some kind of weird interaction with conda clone and new pytorch install
https://github.com/pytorch/pytorch/issues/20403

Building from source worked.
It's now under env pytorch_april_patched in image cybertronai01


Format on save doesn't respect ignore patterns

STR

Open a project with the extension's dependencies fulfilled
Make a .js file that somehow violates the linting rules
Add the .js file to .eslintignore or ignorePatterns
Add it to .prettierignore
Confirm the file is not formatted by ESLint or Prettier individually
Confirm the file is not formatted by running "Format Document" in VS Code
Save the file

Expected
File is saved without formatting
Actual
File is saved after formatting

Actually I think this is unrelated to the extension. The only thing it's doing on save is removing whitespace and adding a final linebreak at the end of the doc. So it doesn't seem to be running prettier or eslint. I think it's probably EditorConfig.


Knowledge- Not able to add files using "Sync from Notion" option.

Electron build -  d27f9f6f
Steps to reproduce the problem:

Create an assistant
Add knowledge file using "Sync from Notion" option.
Once the notion oauth workflow is completed , i see the following page presented and dont see any files from Notion getting synced here

Following errors are seen in logs:
2024-09-14T00:18:44.772Z [server] [ERROR] Error: ENOENT: no such file or directory, open '/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/workspace/knowledge/integrations/notion/metadata.json'
    at Object.openSync (node:fs:573:18)
    at Object.func [as openSync] (node:electron/js2c/node_init:2:2559)
    at Object.readFileSync (node:fs:452:35)
    at t.readFileSync (node:electron/js2c/node_init:2:10245)
    at d (/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Resources/app.asar/.next/server/app/edit/page.js:1:279689)
    at i (/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Resources/app.asar/.next/server/app/edit/page.js:1:11971)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Resources/app.asar/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:408
    at async rP (/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Resources/app.asar/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:15:8043)
    at async r5 (/Users/sangeethahariharan/acorn/desktop/electron-dist/mac-arm64/Acorn.app/Contents/Resources/app.asar/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:18:1139) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/workspace/knowledge/integrations/notion/metadata.json',
  digest: '218773927'
}
2024-09-14T00:18:44.774Z [client] [ERROR] Uncaught (in promise) Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.

Note - Tried with these changes to point to the latest commit of knowledge-notion-integration and it still gave the same error.
I also tried testing with clearing all the cache to make sure I get the latest version of the tool. This does not help as well.
rm -rf ~/Library/Application\ Support/acorn
rm -rf ~/Library/Application\ Support/gptscript
rm -rf ~/Library/Caches/gptscript

diff --git a/actions/knowledge/tool.ts b/actions/knowledge/tool.ts
index cb4d73d..c19add1 100644
--- a/actions/knowledge/tool.ts
+++ b/actions/knowledge/tool.ts
@@ -20,7 +20,7 @@ export async function runSyncTool(

   let toolUrl = '';
   if (tool === 'notion') {
-    toolUrl = 'github.com/gptscript-ai/knowledge-notion-integration';
+    toolUrl = 'github.com/gptscript-ai/knowledge-notion-integration@fc908c7';
   } else if (tool === 'onedrive') {
     toolUrl = 'github.com/gptscript-ai/knowledge-onedrive-integration';
   }

This issue is not seen when testing with the latest version of the knowledge-notion-integration tool.


reactor::Core::new() always allocates ~20MB

Currently the initial slab capacity is hardcoded to 64K. This causes a new reactor::Core to consume upwards of 20MB of heap memory, even if the program only ever uses it to serve a small number of connections.
It should be possible to specify the desired starting capacity of a Core upon construction.

Is there any value in also having a Core::capacity method to return what that value is? This is done in std:

https://doc.rust-lang.org/std/vec/struct.Vec.html#method.with_capacity
https://doc.rust-lang.org/std/vec/struct.Vec.html#method.capacity

I've updated the title of this issue in light of this comment. The real problem that I care about Core::new() unavoidably does a lot of allocation. Whether or not the amount of allocation should be configurable is a separate question.


Update reports flowui wizard documentation

Issue - https://github.com/jmix-framework/jmix/issues/2545

Fixed in #599


Doubleclick on filter column border could perform "Best Fit"

Resizing the columns when doubleclicking on the column border using the "Best Fit" functionality available on right click of the columns would be a nice enhancement. Currently the doubleclick opens the output page of the first project in the list.

Relates to https://github.com/zionyx/jenkins-tray/issues/7

Implemented best fit behavior.
However, something is not right when double clicking the column header edge on project name column when application starts. Hit detection gave wrong information, until details column header edge is best fitted. Weird.
You can have a test on this commit if it works like you intended.
https://ci.appveyor.com/project/zionyx/jenkins-tray-tracker/build/<IP_ADDRESS>/artifacts
Please let me know. Thanks.

Agreed, that is weird behavior that the best fit only works after an initial re-size, but yes, the functionality after that is exactly what I was thinking.

Thanks. I'll close the issue when it gets released.

???... Waffle...


fix(extension): translation keys casing and unit tests

Proposed solution
Fix the usage of translation keys in components / unit tests.

Changes unknown
when pulling fd3dcbde0fd65113fa21a10f0ed0740f356cd0c4 on fix/update-translation-keys-usage
into ** on feat/sanchonet**.