text:
Core Dumped on launch

Launching on Fedora Linux Rawhide I get:
/usr/include/c++/13/bits/basic_string.h:1221: constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; reference = char&; size_type = long unsigned int]: Assertion '__pos <= size()' failed.
Aborted (core dumped)
Expected behaviour: Hyprland to start
Observed behaviour: Core dumped
hyprland.log:
[LOG] Instance Signature: 287f31329e7a16b42c3f20b9b7ecf3ec6adbc51d_1676206370
[LOG] Hyprland PID: 1216784
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: kirk.turbolivido.ca
[LOG] Release: 6.2.0-0.rc7.20230208git0983f6bf2bfc.52.fc38.x86_64
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Wed Feb  8 17:47:45 UTC 2023
[LOG] GPU information:
Flags: bus master, VGA palette snoop, 66MHz, medium devsel, latency 64
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560/560X] [1002:67ff] (rev cf) (prog-if 00 [VGA controller])
[LOG] os-release:
NAME="Fedora Linux"
VERSION="38 (Rawhide Prerelease)"
ID=fedora
VERSION_ID=38
VERSION_CODENAME=""
PLATFORM_ID="platform:f38"
PRETTY_NAME="Fedora Linux 38 (Rawhide Prerelease)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:38"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=rawhide
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=rawhide
SUPPORT_END=2024-05-14
[LOG] ========================
[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/
[LOG]
Current splash: "Hyper".replace("e", "")
[LOG] Hyprland init finished.
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 35.79µs. Estimated average calc time: 0.16µs.
[LOG] Creating the LayoutManager!
[LOG] Creating the ConfigManager!
[LOG] Creating the CHyprError!
[LOG] Creating the ThreadManager!
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 23.39µs. Estimated average calc time: 0.11µs.
coredump:
PID: 1216784 (Hyprland)
UID: 1000 (dturner)
GID: 1000 (dturner)
Signal: 6 (ABRT)
Timestamp: Sun 2023-02-12 08:52:51 AST (11min ago)
Command Line: Hyprland
Executable: /usr/bin/Hyprland
Control Group: /user.slice/user-1000.slice/session-4.scope
Unit: session-4.scope
Slice: user-1000.slice
Session: 4
Owner UID: 1000 (dturner)
Boot ID: e4d98338c0c04891bc305a7380550971
Machine ID: ad67d57dc95b4ca19e25d7898d94a332
Hostname: kirk.turbolivido.ca
Storage: /var/lib/systemd/coredump/core.Hyprland.1000.e4d98338c0c04891bc305a7380550971.1216784.1676206371000000.zst (present)
Size on Disk: 2.4M
Package: Hyprland/0.21.0beta.20230211-1.287f313.fc39
build-id: 569f4bf7be05f0e20c95eda8ddc8603aa83948e6
Message: Process 1216784 (Hyprland) of user 1000 dumped core.
            Module libpciaccess.so.0 from rpm libpciaccess-0.16-8.fc38.x86_64
            Module libtinfo.so.6 from rpm ncurses-6.4-3.20230114.fc38.x86_64
            Module libedit.so.0 from rpm libedit-3.1-45.20221030cvs.fc38.x86_64
            Module libdrm_intel.so.1 from rpm libdrm-2.4.114.20230103-1.0e2c7d05.fc38.x86_64
            Module libdrm_nouveau.so.2 from rpm libdrm-2.4.114.20230103-1.0e2c7d05.fc38.x86_64
            Module libdrm_amdgpu.so.1 from rpm libdrm-2.4.114.20230103-1.0e2c7d05.fc38.x86_64
            Module libelf.so.1 from rpm elfutils-0.188-5.fc38.x86_64
            Module libdrm_radeon.so.1 from rpm libdrm-2.4.114.20230103-1.0e2c7d05.fc38.x86_64
            Module radeonsi_dri.so from rpm mesa-23.1.0.20230204-1.221311e1e96.fc38.x86_64
            Module libselinux.so.1 from rpm libselinux-3.5-0.rc2.1.fc38.1.x86_64
            Module libxshmfence.so.1 from rpm libxshmfence-1.3-12.fc38.x86_64
            Module libxcb-sync.so.1 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libxcb-randr.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libxcb-dri2.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libX11-xcb.so.1 from rpm libX11-1.8.4-1.fc38.x86_64
            Module libglapi.so.0 from rpm mesa-23.1.0.20230204-1.221311e1e96.fc38.x86_64
            Module libEGL_mesa.so.0 from rpm mesa-23.1.0.20230204-1.221311e1e96.fc38.x86_64
            Module libbrotlicommon.so.1 from rpm brotli-1.0.9-11.fc38.x86_64
            Module libgraphite2.so.3 from rpm graphite2-1.3.14-11.fc38.x86_64
            Module libpcre2-8.so.0 from rpm pcre2-10.42-1.fc38.1.x86_64
            Module libbrotlidec.so.1 from rpm brotli-1.0.9-11.fc38.x86_64
            Module libharfbuzz.so.0 from rpm harfbuzz-6.0.0-3.fc38.x86_64
            Module libbz2.so.1 from rpm bzip2-1.0.8-13.fc38.x86_64
            Module libxml2.so.2 from rpm libxml2-2.10.3-3.fc38.x86_64
            Module libglib-2.0.so.0 from rpm glib2-2.74.1-3.fc38.x86_64
            Module libgobject-2.0.so.0 from rpm glib2-2.74.1-3.fc38.x86_64
            Module libgudev-1.0.so.0 from rpm libgudev-237-4.fc38.x86_64
            Module liblz4.so.1 from rpm lz4-1.9.4-2.fc38.x86_64
            Module libzstd.so.1 from rpm zstd-1.5.2-4.fc38.x86_64
            Module liblzma.so.5 from rpm xz-5.4.1-1.fc38.x86_64
            Module libXrender.so.1 from rpm libXrender-0.9.11-2.fc38.x86_64
            Module libXext.so.6 from rpm libXext-1.3.5-2.fc38.x86_64
            Module libX11.so.6 from rpm libX11-1.8.4-1.fc38.x86_64
            Module libfreetype.so.6 from rpm freetype-2.12.1-4.fc38.x86_64
            Module libfontconfig.so.1 from rpm fontconfig-2.14.2-1.fc38.x86_64
            Module libpng16.so.16 from rpm libpng-1.6.37-14.fc38.x86_64
            Module libz.so.1 from rpm zlib-1.2.13-3.fc38.x86_64
            Module libXau.so.6 from rpm libXau-1.0.11-2.fc38.x86_64
            Module libwacom.so.9 from rpm libwacom-2.6.0-1.fc38.x86_64
            Module libevdev.so.2 from rpm libevdev-1.13.0-2.fc38.x86_64
            Module libmtdev.so.1 from rpm mtdev-1.1.6-5.fc38.x86_64
            Module libcap.so.2 from rpm libcap-2.48-6.fc38.x86_64
            Module libexpat.so.1 from rpm expat-2.5.0-2.fc38.x86_64
            Module libGLdispatch.so.0 from rpm libglvnd-1.6.0-2.fc38.x86_64
            Module libffi.so.8 from rpm libffi-3.4.4-2.fc38.x86_64
            Module libsystemd.so.0 from rpm systemd-253~rc2-3.fc38.x86_64
            Module libcairo.so.2 from rpm cairo-1.17.6-3.fc38.x86_64
            Module libxcb-res.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libxcb-icccm.so.4 from rpm xcb-util-wm-0.4.2-2.fc38.x86_64
            Module libxcb-composite.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libxcb-xinput.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libxcb-xfixes.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libxcb-shm.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libxcb-render-util.so.0 from rpm xcb-util-renderutil-0.3.10-2.fc38.x86_64
            Module libxcb-render.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libxcb-present.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libxcb-dri3.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libxcb.so.1 from rpm libxcb-1.13.1-11.fc38.x86_64
            Module libinput.so.10 from rpm libinput-1.22.1-2.fc38.x86_64
            Module libseat.so.1 from rpm seatd-0.7.0-3.fc38.x86_64
            Module libudev.so.1 from rpm systemd-253~rc2-3.fc38.x86_64
            Module libvulkan.so.1 from rpm vulkan-loader-1.3.239.20230119-1.125b4f665.fc38.x86_64
            Module libGLESv2.so.2 from rpm libglvnd-1.6.0-2.fc38.x86_64
            Module libgbm.so.1 from rpm mesa-23.1.0.20230204-1.221311e1e96.fc38.x86_64
            Module libEGL.so.1 from rpm libglvnd-1.6.0-2.fc38.x86_64
            Module libpixman-1.so.0 from rpm pixman-0.42.3.20221103-1.713077d.fc38.x86_64
            Module libxkbcommon.so.0 from rpm libxkbcommon-1.5.0-2.fc38.x86_64
            Module libdrm.so.2 from rpm libdrm-2.4.114.20230103-1.0e2c7d05.fc38.x86_64
            Module libwayland-client.so.0 from rpm wayland-1.21.90.20230125-1.83e9c9e.fc38.x86_64
            Module libwayland-server.so.0 from rpm wayland-1.21.90.20230125-1.83e9c9e.fc38.x86_64
            Module Hyprland from rpm Hyprland-0.21.0beta.20230211-1.287f313.fc39.x86_64
            Stack trace of thread 1216784:
            #0  0x00007f7b279ceb94 __pthread_kill_implementation (libc.so.6 + 0x8eb94)
            #1  0x00007f7b2797daee raise (libc.so.6 + 0x3daee)
            #2  0x00007f7b2796687f abort (libc.so.6 + 0x2687f)
            #3  0x00007f7b27cdf340 _ZSt21__glibcxx_assert_failPKciS0_S0_ (libstdc++.so.6 + 0xdf340)
            #4  0x0000562c72ff8f78 _Z24removeBeginEndSpacesTabsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (Hyprland + 0xc0f78)
            #5  0x0000562c73037d1d _ZN14CConfigManager9parseLineERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (Hyprland + 0xffd1d)
            #6  0x0000562c7303fc52 _ZN14CConfigManager18loadConfigLoadVarsEv (Hyprland + 0x107c52)
            #7  0x0000562c72f94f82 _ZN11CCompositor15startCompositorEv (Hyprland + 0x5cf82)
            #8  0x0000562c72f79058 main (Hyprland + 0x41058)
            #9  0x00007f7b27967b4a __libc_start_call_main (libc.so.6 + 0x27b4a)
            #10 0x00007f7b27967c0b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x27c0b)
            #11 0x0000562c72f8a505 _start (Hyprland + 0x52505)

            Stack trace of thread 1216800:
            #0  0x00007f7b279c9529 __futex_abstimed_wait_common (libc.so.6 + 0x89529)
            #1  0x00007f7b279cbec9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8bec9)
            #2  0x00007f7b24f1431d cnd_wait (radeonsi_dri.so + 0x11431d)
            #3  0x00007f7b24ec315b util_queue_thread_func (radeonsi_dri.so + 0xc315b)
            #4  0x00007f7b24f1424c impl_thrd_routine (radeonsi_dri.so + 0x11424c)
            #5  0x00007f7b279ccc57 start_thread (libc.so.6 + 0x8cc57)
            #6  0x00007f7b27a52a70 __clone3 (libc.so.6 + 0x112a70)

            Stack trace of thread 1216803:
            #0  0x00007f7b279c9529 __futex_abstimed_wait_common (libc.so.6 + 0x89529)
            #1  0x00007f7b279cbec9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8bec9)
            #2  0x00007f7b24f1431d cnd_wait (radeonsi_dri.so + 0x11431d)
            #3  0x00007f7b24ec315b util_queue_thread_func (radeonsi_dri.so + 0xc315b)
            #4  0x00007f7b24f1424c impl_thrd_routine (radeonsi_dri.so + 0x11424c)
            #5  0x00007f7b279ccc57 start_thread (libc.so.6 + 0x8cc57)
            #6  0x00007f7b27a52a70 __clone3 (libc.so.6 + 0x112a70)

            Stack trace of thread 1216806:
            #0  0x00007f7b279c9529 __futex_abstimed_wait_common (libc.so.6 + 0x89529)
            #1  0x00007f7b279cbec9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8bec9)
            #2  0x00007f7b24f1431d cnd_wait (radeonsi_dri.so + 0x11431d)
            #3  0x00007f7b24ec315b util_queue_thread_func (radeonsi_dri.so + 0xc315b)
            #4  0x00007f7b24f1424c impl_thrd_routine (radeonsi_dri.so + 0x11424c)
            #5  0x00007f7b279ccc57 start_thread (libc.so.6 + 0x8cc57)
            #6  0x00007f7b27a52a70 __clone3 (libc.so.6 + 0x112a70)

            Stack trace of thread 1216801:
            #0  0x00007f7b279c9529 __futex_abstimed_wait_common (libc.so.6 + 0x89529)
            #1  0x00007f7b279cbec9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8bec9)
            #2  0x00007f7b24f1431d cnd_wait (radeonsi_dri.so + 0x11431d)
            #3  0x00007f7b24ec315b util_queue_thread_func (radeonsi_dri.so + 0xc315b)
            #4  0x00007f7b24f1424c impl_thrd_routine (radeonsi_dri.so + 0x11424c)
            #5  0x00007f7b279ccc57 start_thread (libc.so.6 + 0x8cc57)
            #6  0x00007f7b27a52a70 __clone3 (libc.so.6 + 0x112a70)

            Stack trace of thread 1216807:
            #0  0x00007f7b279c9529 __futex_abstimed_wait_common (libc.so.6 + 0x89529)
            #1  0x00007f7b279cbec9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8bec9)
            #2  0x00007f7b24f1431d cnd_wait (radeonsi_dri.so + 0x11431d)
            #3  0x00007f7b24ec315b util_queue_thread_func (radeonsi_dri.so + 0xc315b)
            #4  0x00007f7b24f1424c impl_thrd_routine (radeonsi_dri.so + 0x11424c)
            #5  0x00007f7b279ccc57 start_thread (libc.so.6 + 0x8cc57)
            #6  0x00007f7b27a52a70 __clone3 (libc.so.6 + 0x112a70)

            Stack trace of thread 1216810:
            #0  0x00007f7b279c9529 __futex_abstimed_wait_common (libc.so.6 + 0x89529)
            #1  0x00007f7b279cbec9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8bec9)
            #2  0x00007f7b24f1431d cnd_wait (radeonsi_dri.so + 0x11431d)
            #3  0x00007f7b24ec315b util_queue_thread_func (radeonsi_dri.so + 0xc315b)
            #4  0x00007f7b24f1424c impl_thrd_routine (radeonsi_dri.so + 0x11424c)
            #5  0x00007f7b279ccc57 start_thread (libc.so.6 + 0x8cc57)
            #6  0x00007f7b27a52a70 __clone3 (libc.so.6 + 0x112a70)

            Stack trace of thread 1216809:
            #0  0x00007f7b279c9529 __futex_abstimed_wait_common (libc.so.6 + 0x89529)
            #1  0x00007f7b279cbec9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8bec9)
            #2  0x00007f7b24f1431d cnd_wait (radeonsi_dri.so + 0x11431d)
            #3  0x00007f7b24ec315b util_queue_thread_func (radeonsi_dri.so + 0xc315b)
            #4  0x00007f7b24f1424c impl_thrd_routine (radeonsi_dri.so + 0x11424c)
            #5  0x00007f7b279ccc57 start_thread (libc.so.6 + 0x8cc57)
            #6  0x00007f7b27a52a70 __clone3 (libc.so.6 + 0x112a70)

            Stack trace of thread 1216802:
            #0  0x00007f7b279c9529 __futex_abstimed_wait_common (libc.so.6 + 0x89529)
            #1  0x00007f7b279cbec9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8bec9)
            #2  0x00007f7b24f1431d cnd_wait (radeonsi_dri.so + 0x11431d)
            #3  0x00007f7b24ec315b util_queue_thread_func (radeonsi_dri.so + 0xc315b)
            #4  0x00007f7b24f1424c impl_thrd_routine (radeonsi_dri.so + 0x11424c)
            #5  0x00007f7b279ccc57 start_thread (libc.so.6 + 0x8cc57)
            #6  0x00007f7b27a52a70 __clone3 (libc.so.6 + 0x112a70)

            Stack trace of thread 1216804:
            #0  0x00007f7b279c9529 __futex_abstimed_wait_common (libc.so.6 + 0x89529)
            #1  0x00007f7b279cbec9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8bec9)
            #2  0x00007f7b24f1431d cnd_wait (radeonsi_dri.so + 0x11431d)
            #3  0x00007f7b24ec315b util_queue_thread_func (radeonsi_dri.so + 0xc315b)
            #4  0x00007f7b24f1424c impl_thrd_routine (radeonsi_dri.so + 0x11424c)
            #5  0x00007f7b279ccc57 start_thread (libc.so.6 + 0x8cc57)
            #6  0x00007f7b27a52a70 __clone3 (libc.so.6 + 0x112a70)

            Stack trace of thread 1216808:
            #0  0x00007f7b279c9529 __futex_abstimed_wait_common (libc.so.6 + 0x89529)
            #1  0x00007f7b279cbec9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8bec9)
            #2  0x00007f7b24f1431d cnd_wait (radeonsi_dri.so + 0x11431d)
            #3  0x00007f7b24ec315b util_queue_thread_func (radeonsi_dri.so + 0xc315b)
            #4  0x00007f7b24f1424c impl_thrd_routine (radeonsi_dri.so + 0x11424c)
            #5  0x00007f7b279ccc57 start_thread (libc.so.6 + 0x8cc57)
            #6  0x00007f7b27a52a70 __clone3 (libc.so.6 + 0x112a70)
            ELF object binary architecture: AMD x86-64

Thank you.
Dale

i'm facing a very similar issue on nixos

Same, just updated. On nixos.

long fixed I believe

authors: jurienhamaker ribenafan rxguy vaxerski

repo: hyprwm/Hyprland


text:
[ Feature ] Graceful exit/logout dispatcher

Description
I currently have this in my config:
bind = SUPER CTRL , q , exit , # quit hyprland
there are a number of use cases for this (e.g. switching to a different compositor/wm, testing an issue in xorg, testing hyprland startup, etc).
What I've noticed when using this is that hyprland seems to just forcefully kill all applications running under it. This is not an issue for things like a terminal, but for more complex applications, it doesn't allow them to do any shutdown tasks like saving session (e.g. qutebrowser, emacs), or saving recently accessed files (emacs) and possibly even some cache cleaning.
Initially I though that it was an issue with the actual tools, my most obvious example being having qutebrowser launch with tabs, that I have closed, being re-opened. I have tested it now and see that it always remembers the state of the tabs no matter if I exit it or send SIGTERM, so my assumption is that hyprland just sends SIGKILL to all the processes when the exit dispatcher is triggered. And that's understandable, as we don't want to soft-lock the system if some rogue process doesn't cooperate.
My suggestion is to add an integer argument to the exit dispatcher that will act as a timeout in seconds before killing the remaining processes (like is the case now), and hyprland would first try a more graceful termination. Value of 0 would mean current behaviour.
If my assumptions are way off or if I am missing some setup, please let me know.
Secondary note is that currently using the exit dispatcher doesn't actually log out the user properly.  My drives remain unencrypted even though I am on my login screen, which looks like I'm logged out. systemctl logout does actually encrypt my drives as expeted.

You might want to use a session manager for such things. Among other things, will make systemd terminate things in proper order when deactivating compositor.

As a side note, stopping compositor and logging out (ending a login session) are completely different things, but they can be bound together (uwsm does it). Plus, depending on user's linger status, terminating the last session might not mean terminating other user services. There is loginctl terminate-user "" for that.

Thanks for the info, I'll definitely check the session manager out, haven't used them before.

Lazy question, is uwsm a replacement for a login manager like sddm or it can be set to run alongside it?
I will research this myself more when I have some time but a quick read of the GitHub repo seems to suggest it is a replacement.

is uwsm a replacement for a login manager like sddm or it can be set to run alongside it

It can work alongside it, see here. Although some DMs might have trouble handling quoting properly. In this case, use single-word arguments and file a bugreport DM.

Finally got some time to check uwsm out. Having issues launching it from sddm but seems to work when launched from tty.
Quick question: am I understanding this correctly - I need to replace all binding in hyprland config to launch apps via uwsm app--?

Anything that makes sense to run as an "app". That is, a file manager, or a calculator - yes, but there is no need to bother with some one-shot script that tweaks volume.

Thanks for the info, I'll play with this some more over the coming weeks but think this issue is invalid in the context of hyprland then so I'm closing it.

source: gharchive/issue

authors: ArtemSmaznov Vladimir-csp

license_type: permissive

license_source: github-api


text:
Ohem and Aux_loss for pascal voc?

Hi, sorry to bother you. I found ohem and aux_loss are in the config for pascal voc:
https://github.com/hzhupku/SemiSeg-AEL/blob/main/experiments/pascal_4/config.yaml#L61
https://github.com/hzhupku/SemiSeg-AEL/blob/main/experiments/pascal_4/config.yaml#L70
However, these two tricks are not mentioned in your paper.

We follow the common practice of many state-of-the-art methods.

repo: hzhupku/SemiSeg-AEL

license: MIT


text:
Axis problem

If your data looks something like this:
let array (Sting, Double) = [("first", 0.001), ("second", 0.001), ("third", 0.001)] there will be a problem with axis x (or y depends how you will pass the parameters).
So main thing is that double value is not changing in data array (straight line) and its less then 1
And in method "func generateAxisValuesWithChartPoints" of "struct ChartAxisValuesStaticGenerator" there is a code:
let last = lastPar =~ first ? lastPar + 1 : lastPar
so "+ 1" is a problem for values than less than 1

Which problem? Can you be more specific?

Problem with scale.
So my values in array are less the 1. And if they are all equal ( like 0.001) there will be a problem.
Chart will be from 0 to 1 and all of my values will be almost invisible because of wrong scale.
Test data for "Hello world" example:
let chartPoints: [ChartPoint] = [(0.0001, 0.0001), (0.0001, 0.0001), (0.0001, 0.0001), (0.0001, 0.0001), (0.0001, 0.0001), (0.0001, 0.0001)].map{ChartPoint(x: ChartAxisValueDouble($0.0), y: ChartAxisValueDouble($0.1))}

ChartAxisValuesStaticGenerator.generateAxisValuesWithChartPoints is just convenience to generate the array and not really needed anymore... I will probably deprecate it soon. Now there are dynamic generators - please checkout the wiki. You of course can also simply pass an array with the desired axis values / write your own logic to generate this array.

thx

authors: i-schuetz iOSMadDev

repo: i-schuetz/SwiftCharts

license_source: bigquery


text:
快速右键列表的多个项目后出现错误

Error：Item has no value.
Specifically：NameLTP
802:：Link_Target_Path := Link_Map[Link_Name . "LTP"]
版本：v1.0~至今
设备：Windows on Arm（Matebook E Go）

右键菜单函数中，设置Item＞0且Item＜1000即可

repo: iKineticate/AHK-ChangeIcon


text:
it still no mudule when i Successfully installed utils.misc

from utils.misc import thresh_OTSU, ReScaleSize, Crop
ModuleNotFoundError: No module named 'utils.misc'

Hi @qwertliwen
Sorry for replying slowly, and we have uploaded misc.py. Please check it!
Best!

repo: iMED-Lab/CS-Net


text:
Migrate to .Net Core

Could this project be used in .Net Standard Library? and .Net Core App?

Yes, an update to .Net Core is planned for all iQuarc libraries (soon-ish)

Ohh ok thanks.

repo: iQuarc/DataAccess

license: mit


text:
regular size of form control

By default this version of bootstrap adds a 14px font-size to form elements. It also hard codes a size. On iOS small form elements gets zoomed in until they're over 16px. That means that for a size difference that you can barely see, a zoom out needs to be done after entering the date.
fixes #230

If you say so! Just going to believe you on this one :)

Let me know when it's in prod :)

Have some troubles with the development branch right now... Seems like it's not possible any longer to plan a route and I cannot find why exactly

These problems are happening on the development branch?

yes... Not sure which PR introduced the problem

Issue wasn't present on d02c1d1, but it was on 009a012

source: gharchive/pull-request

authors: Haroenv pietercolpaert

repo: iRail/hyperRail


text:
Completes download, restarts, runtime error

[*] 236.0 MB / 236.0 MB @ 0 bytes/s [##################] [100%, 0s left]
[*] 236.0 MB / 236.0 MB @ 267 kB/s [##################] [100%, 0s left]
<class 'RuntimeError'> cannot join thread before it is started
URL [https://streaming.lemonstream.me/*****] from https://gostream.is/film/rick-and-morty-season-1-9011/watching.html?ep=127301.

Fixed.

authors: OneVoltTen iTaybb

repo: iTaybb/pySmartDL

license: unlicense


text:
backend-webpack-tools fails on an itwin.js electron app without node-report installed

Describe the bug
run backend-webpack-tools build -s lib/backend/main.js -o backend-bundle on an electron iTwin.js desktop app
To Reproduce
Create an iTwin.js desktop viewer electron app, without node-report as a dependency and try to build it with backend-webpack-tools.
Steps to reproduce the behavior:
CI=1 pnpm exec backend-webpack-tools build -s lib/backend/main.js -o backend-bundle/
 BACKEND  Starting build...
  (node:3444659) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API
  (Use `node --trace-deprecation ...` to show where the warning was created)

  Treating warnings as errors because process.env.CI is set.
  Most CI servers set it automatically.

 BACKEND  Failed to compile   (in 8,701 ms)

  [object Object]

 BACKEND  Failed to compile   (in 8,701 ms)
  [PrettyLoggingError: [object Object]]

Expected behavior
It builds.
Additional context
It builds with a warning if not in CI mode
$ pnpm exec backend-webpack-tools build -s lib/backend/main.js -o backend-bundle/
 BACKEND  Starting build...
  (node:3442161) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API
  (Use `node --trace-deprecation ...` to show where the warning was created)
  {
    "message": "Can't copy external package \"node-report\" - it is not installed.\nTo fix this, either npm install node-report or wrap the import in a try/catch.",
    "stack": "Error: Can't copy external package \"node-report\" - it is not installed.\nTo fix this, either npm install node-report or wrap the import in a try/catch.\n    at CopyExternalsPlugin.handleModule (/redacted/node_modules/.pnpm/@itwin+core-webpack-tools@3.3.4_webpack@5.74.0/node_modules/@itwin/core-webpack-tools/lib/plugins/CopyExternalsPlugin.js:47:39)\n    at /redacted/node_modules/.pnpm/@itwin+core-webpack-tools@3.3.4_webpack@5.74.0/node_modules/@itwin/core-webpack-tools/lib/plugins/CopyExternalsPlugin.js:25:46\n    at Hook.eval [as call] (eval at create (/redacted/node_modules/.pnpm/tapable@2.2.1/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)\n    at /redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/Compilation.js:1369:28\n    at ExternalModule.needBuild (/redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/ExternalModule.js:439:10)\n    at Compilation._buildModule (/redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/Compilation.js:1352:10)\n    at /redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/util/AsyncQueue.js:303:10\n    at Hook.eval [as callAsync] (eval at create (/redacted/node_modules/.pnpm/tapable@2.2.1/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)\n    at AsyncQueue._startProcessing (/redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/util/AsyncQueue.js:293:26)\n    at AsyncQueue._ensureProcessing (/redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/util/AsyncQueue.js:280:12)"
  }

  Search for the keywords to learn more about eslint warnings.
  To ignore an eslint warning, add // eslint-disable-next-line to the line before.

 BACKEND  Compiled with warnings   (in 8,813 ms)

@MichaelBelousov heads up, https://github.com/iTwin/itwinjs-core/issues/4091

authors: MichaelBelousov aruniverse

repo: iTwin/itwinjs-core


text:
Granularized GeoServices tests so we know which one is failing

Simple restucturing of GeoServices tests.

It is exactly the same tests but I put individual it() tests in a describe() grouping instead. The diff is horrible and you cannot see the actual changes.

Diff is much more readable if you ignore whitespace. Append "?w=1" like this.
Or install chrome extension to automatically do it for all diffs.

@Mergifyio update

authors: AlainRobertAtBentley pmconne


text:
Neural Networks

ML - Algorithm

[x] I have not used any Machine Learning Libraries in my code
[x] This ML Algorithm is not available in the repository currently.
[ ] If it is, My ML Algorithm is implemented in a different method.
[ ] I have starred this repository

Information

ML Algorithm Name: Neural Networks

Language: Python

Created a pull request. Please review.

repo: iam-abbas/ML-FromScratch


text:
Scrolling through Genres/Albums/Songs/Artists very slow

I have a very big library on my phone, and every category is very laggy and slow to navigate, making it nearly unusable, often times leading to OutOfMemory errors. Here is a demonstration: https://streamable.com/f97af
And the outofmemory:
[01-31 13:43:05.409 3661:3661 E/AndroidRuntime]
FATAL EXCEPTION: main
Process: com.sahdeepsingh.Bop, PID: 3661
java.lang.OutOfMemoryError: Failed to allocate a 2560012 byte allocation with 2214568 free bytes and 2MB until OOM
	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
	at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
	at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:646)
	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:622)
	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:660)
	at android.provider.MediaStore$Images$Media.getBitmap(MediaStore.java:873)
	at com.sahdeepsingh.Bop.b.a.b(Unknown Source)
	at com.sahdeepsingh.Bop.b.a.a(Unknown Source)
	at com.sahdeepsingh.Bop.a.h.a(Unknown Source)
	at com.sahdeepsingh.Bop.a.h.a(Unknown Source)
	at androidx.recyclerview.widget.RecyclerView$a.a(Unknown Source)
	at androidx.recyclerview.widget.RecyclerView$a.b(Unknown Source)
	at androidx.recyclerview.widget.RecyclerView$p.a(Unknown Source)
	at androidx.recyclerview.widget.RecyclerView$p.a(Unknown Source)
	at androidx.recyclerview.widget.RecyclerView$p.a(Unknown Source)
	at androidx.recyclerview.widget.RecyclerView$p.c(Unknown Source)
	at androidx.recyclerview.widget.LinearLayoutManager$c.a(Unknown Source)
	at androidx.recyclerview.widget.LinearLayoutManager.a(Unknown Source)
	at androidx.recyclerview.widget.LinearLayoutManager.a(Unknown Source)
	at androidx.recyclerview.widget.LinearLayoutManager.c(Unknown Source)
	at androidx.recyclerview.widget.RecyclerView.O(Unknown Source)
	at androidx.recyclerview.widget.RecyclerView.r(Unknown Source)
	at androidx.recyclerview.widget.RecyclerView.onLayout(Unknown Source)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at androidx.viewpager.widget.ViewPager.onLayout(Unknown Source)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at com.google.android.material.appbar.b.b(Unknown Source)
	at com.google.android.material.appbar.c.a(Unknown Source)
	at com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.a(Unknown Source)
	at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout(Unknown Source)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at com.sothree.slidinguppanel.SlidingUpPanelLayout.onLayout(Unknown Source)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at androidx.drawerlayout.widget.DrawerLayout.onLayout(Unknown Source)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)

Smartphone (please complete the following information):

Device: Moto G4
OS: Android 7.1 (Lineage OS 15.1)
Version 1.0 (FDroid)

yup u r right. That loop to find the cover is causing the lag. I have also made some changes to app same time in dev  branch

It is still very slow (no notable improvement).
You can't use the URI as a path, as it has to be handled by the ContentResolver first.
In getAlbumArt, both getting the Bitmap and the path from the cursor takes a considerably long time, (about 200ms), where you would only need the URI, or the resolved path.

Alright, you can make PR with your changes. i will delete this branch. And thanks for contributing. :100:

I wouldn't want my changes, as I didn't make it modular and the SongsRecyclerAdapter doesn't have the album cover after selecting a song.

That's because the song is always checked, in onBindView for selected or not
if (selected.contains(localItem))             highlightView(holder);         else             unhighlightView(holder, bitmap);
and you have just created an empty bitmap.
You can make PR anyway, I will solve the issue

authors: RomanKarwacik iamSahdeep

repo: iamSahdeep/Bop


text:
Provide namespaces and an index

This fantastic idea, kudos.
With the growing number of dataset your tool will support, you will quickly run out of names. And searching about a particular dataset will be hard.
I'd recommand:

to require the dataset to have namespaces. E.G by source: "tld.domain.titanic" or by taxonomy "history.titanic.victims.#timestamp#"
to publish a web page with an index of all data sets with their namespace and content.
to define a procedure to add a dataset to the repo, or by plugins.

Thanks for the recommendations, will keep in mind! Now the repo relies on one source RDatasets. But surely there are plenty of stuff to be implemented as it gets larger.

authors: iamaziz sametmax

repo: iamaziz/PyDataset


text:
Using same tooltip on dynamic elements for dynamic contents

Hello,
I really like your tooltipster, but I have a question now:
I will generate a dynamic list of items and on each item should be a tooltip. The content of this tooltip should be dynamic with an ID, which I send through tooltip to the page inside the tooltip.
But for sure, with my current code, I just get the dynamic content in every tooltip from the LAST ID of the list. So, I don't know, how to use tooltipster and send for every list item the correct ID for the dynamic content in the tip.
Here are my codes:
PHP of the list item(s):

<div id="relative<?=$RID?>" class="relativeitem">

<?=$FMRELATIVE?>

<?=$FMNAME?>

<div id="iconeditrelative" style="background-color:<?=$CATCOL?>;"><a href="forms/Achgrelative.php?aid=<?=$RID?>" title="EDIT RELATIVE OF '<?=strtoupper($ANAME)?>'" class="box">

Generated Example-HTML of the list item(s):

Father

Louis

Sister

Twinny

JS of used tooltipster:
$(document).ready(function() {
	$('.FMRelativeNote').tooltipster({
		theme: 'tooltipster-shadow',
		position: 'right',
		contentAsHTML: true,
		onlyOne: true,
		interactive: true,
		functionInit: function(origin, content) {

			if (content === 'LoadRelativeNote') {
				//alert(RelativeNoteID);
				// when the request has finished loading, we will change the tooltip's content
				$.ajax({
					type: 'POST',
					url: 'inc/FMRelativeInfo.php',
					data: NoteRelativeNoteIDphpVariable,
					success: function(data) {
						origin.tooltipster('content', data);
					}
				});

				// this returned string will overwrite the content of the tooltip for the time being
				return 'Wait while the content is loading...';
			}
			else {
				// return nothing : the initialization continues normally with its content unchanged.
			}
		}
	});
});

You can see in the screenshots-image, that the content is always the LAST content of the list, not the different one.

So, I just need help please, to find the way to send always the correct ID from the PHP-list item to the tooltipster and not the LAST ID.
THANK YOU!
Kind regards,
Klaus

Hello,
you should ask this question on Stackoverflow as this issue is not related to Tooltipster per se. You overwrite the value of NoteRelativeNoteIDphpVariable in every block, that's your issue.
Thank you.

Hello,
I know, that I overwrite the value of NoteRelativeNoteIDphpVariable in every block.
But maybe I can put the needed ID in an other element, to get it in the JS-Code for tooltipster?
Kind regards,
Klaus

Try

and use it afterwards (via content) in your functionInit(). Please head over to Stackoverflow for further questions. Thank you.

Hello,
ok, thank you, I will try! :+1:
Kind regards,
Klaus

Hello,
it works :)
PHP:
'''

'''
HTML:
'''

Father
Louis

Sister
Twinny

'''
JS:
'''
$(document).ready(function() {
$('.FMRelativeNote').tooltipster({
theme: 'tooltipster-shadow',
position: 'right',
contentAsHTML: true,
onlyOne: true,
interactive: true,
functionInit: function(origin, content) {
		if (content != '') {
			//alert(RelativeNoteID);
			// when the request has finished loading, we will change the tooltip's content
			$.ajax({
				type: 'POST',
				url: 'inc/FMRelativeInfo.php',
				data: "FMRelativeID=" + content,
				success: function(data) {
					origin.tooltipster('content', data);
				}
			});

			// this returned string will overwrite the content of the tooltip for the time being
			return 'Wait while the content is loading...';
		}
		else {
			// return nothing : the initialization continues normally with its content unchanged.
		}
	}
});

});
'''
THANK YOU!! :+1:

authors: ayssono louisameline

repo: iamceege/tooltipster


text:
Can you have multiple tooltips on image in different spots?

Is it possible to have a coordinate map on an image so that when you hover over a set of coordinates a tooltip pops us. For example have a picture with people in it and when you hover over a person's face a tooltip with their name comes up. Has anyone tried something like this before?

Yes it's possible, just set tooltips on image map areas.

Hi louisameline, I have attempted to add tooltipster to an image containing an image map. I have my areas all with the tooltip class, as well as proper closing area tags. Also, each area tag has the "title" tag on it. What happens though, is the tooltip appears outside (above) the image, not relative to where the hover on the image map is taking place.
Any way to correct?
Thanks!

You're welcome. Could you please copy-paste here your html containing the area maps + your javascript snippet that initializes the tooltips please ? Thanks

Thanks again
`

`
$('.tooltip').tooltipster();

not sure why it parsed the HTML

You have to use three backticks to quote code blocks.
Ok, so the html looks fine at first glance, it could be an issue with Tooltipster. I guess you are using Tooltipster v3 ? Could you please try to checkout the v4 branch of the project and see if it works better ? Last time in tested v4 with area maps, it seemed to work fine.

Hmm... very odd... I downloaded the v4 branch and am not getting any errors, however, the tooltip does not seem to appear anywhere on the screen. Here is my URL:
http://sawdeysolutions.com/locations.html

going to turn it off for now and just use the default title tags until I can find a solution

On your page, I can't see where the js file is included. Please use the unminified JS file while you're on the v4 branch by the way.

Thanks for taking a look Louis, I'll have to get back with you later unfortunately

No problem.
FYI, I added a rectangle and a polygon to our demo file (see here: http://s214903023.onlinehome.fr/divers/tooltipster/demo/)
I fixed an issue on the rectangular shapes on v4 right now (but that was not your issue since you're using polygons) so you can pull a newer version if you want.

Success! It's working. I think part of the issue could have been I didn't have "shape" defined. I was using rectangles though, so I'm not sure if that could be the issue you fixed or not.

I'm not sure either. The tooltips were a little misplaced, I think you'd have seen them on screen, but who knows. I'm glad it did it anyway ! Have a nice day.

authors: VladMan333 louisameline superdmon


text:
Create a sign up page for users

This will help users to have a good experience.
please assign this issue to me
assign me label hactoberfest-accepted and girlscriptsummerofcode

you can assign this task to me under gssoc-ext and hacktoberfest ,level 3 label...


text:
improved UI

Hey @iampavangandhi I have made some UI design changes that were most important. detailed information of what and why the changes are made is in the pdf here

@sairaj2119 pdf is not accessible. showing 404 error

@sairaj2119 pdf is not accessible. showing 404 error

check it now again

@sairaj2119 great work :+1: but there are still some UI issues in the contact form (in mobile layout as well as web layout) can you improve that also. You can also experiment in that if you want.

Sorry dude I am a little busy with freelancing I will definitely contribute
I find some play time
On Thu, Oct 1, 2020, 12:49 Pavan Gandhi notifications@github.com wrote:

@sairaj2119 https://github.com/sairaj2119 great work 👍 but there are
still some UI issues in the contact form (in mobile layout as well as web
layout) can you improve that also. You can also experiment in that if you
want.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/iampavangandhi/iampavangandhi.github.io/pull/4#issuecomment-701941157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN2PE6LHRNSJL4XFZ7X4Y4DSIQUQ5ANCNFSM4SAA3TEQ
.


text:
Update rac.py

Added enter() and exit() functions to RAC so that the "with" keyword can be used.
import rac
hostname = 'test.local'
username = 'test'
password = 'pw'
with rac.RAC(hostname, username, password) as rac_obj:
print rac_obj.run_command('getsysinfo')
Thanks, Micah

I wasn't getting notifications for these things. Sorry for not seeing this sooner. Thanks for the pull.

authors: iamseth mjohnb

repo: iamseth/python-rac

license: WTFPL


text:
🛑 mi-core is down

In f8ea3f1, mi-core (https://www.mi-core.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mi-core is back up in 6ad94c0.


text:
EXIF UserComment tag is not being read

Apparent regression in version 2.1.2-2
In version 2.1.2-2, the EXIF UserComment tag is no longer being read by the command:
 tags = exifread.process_file(imgpathF, details=false)

UserComment is ignored if details is set to False.
You may see for yourself those two code snippets from version 2.1.1:
https://github.com/ianare/exif-py/blob/2.1.1/exifread/tags/__init__.py#L27
https://github.com/ianare/exif-py/blob/2.1.1/exifread/classes.py#L143

repo: ianare/exif-py


text:
[tabs] - tabs out of sync with fzf

Hello,
It appears FzfLua tabs can become out-of-sync with the actual present tab pages.
https://user-images.githubusercontent.com/5642902/146050176-4da3bde8-a322-4dae-a871-56ba2530f05b.mp4
When they become out of sync selecting a tab to move to breaks.

At a moment when this breaks, without moving between tabs can you post the output of:
:tabs

:lua __G.dump(:lua _G.dump(vim.api.nvim_list_tabpages())
-- followed by one call per tab, e.g. for tab #1, #2
:lua _G.dump(vim.api.nvim_tabpage_list_wins(1))
:lua _G.dump(vim.api.nvim_tabpage_list_wins(2))

^The above is how it's done in fzf-lua, I don't really have much control over the output other than calling these API's, I remember my tabs being messed up too I then found out that I had an autocmd for colorcolumn that was causing that, I could never find the connection why (possible neovim bug) just that it was messing up my tabs.

Both tabs and buffers were reworked in the latest commits, I doubt this was related but let me know if this still happens and if it does please run the command I listed?
Btw, ctrl-x in both tabs and buffers will no wipe the selected buffers (if possible) and reload the windows (using the new resume), pretty convinient to clean up buffers.

Tabs seem to be acting much better now. Just tested it out, sorry for delay. I can't reproduce this issue after your latest commits were pulled down.

Ty for Thor update, the code was refactored and many things changed, might have helped.

authors: ibhagwan ldelossa

repo: ibhagwan/fzf-lua


text:
Error in README snippet. RecipeTransform vs TransformResult

The README includes the following snippet which has errors (I added type hints for readability)
import ibis
import ibisml

train = ibis.read_csv(...)

recipe: ibisml.Recipe = ibisml.Recipe()
transform: ibisml.RecipeTransform = recipe.fit(train, outcomes=["outcome_col"])

df_train: pd.DataFrame = transform(train).to_pandas()
X = df_train[transform.features]  # <- ibisml.RecipeTransform doesn't have `.features` or `.outcomes attributes
y = df_train[transform.outcomes]

Code needs to be refactored to
recipe: ibisml.Recipe = ibisml.Recipe()
transform: ibisml.RecipeTransform = recipe.fit(train, outcomes=["outcome_col"])

train_fitted: ibisml.TransformResult = transform(train)  # <- ibisml.TransformResult has `.features` or `.outcomes attributes
df_train: pd.DataFrame = train_fitted.to_pandas()
X = df_train[train_fitted.features]  # <- ibisml.TransformResult has `.features` or `.outcomes attributes
y = df_train[train_fitted.outcomes]

I don't know the motivations behind separating Recipe, RecipeTransform, and TransformResult. What raises questions is that both the transform and the train_fitted objects need to access train, but only the latter has .features and .outcomes set. Users coming from scikit-learn would expect 2 "layers" instead of 3 with Recipe (with a fitted: bool flag) and some sort of result.
Maybe a relevant distinction for users is that you should store RecipeTransform or TransformResult when you need matching training/inference pipelines, and store Recipe want you intend to reuse a pipeline across datasets/feature sets/model versions.
I'm familiar with the scikit-learn code conventions (which are not perfect), but the following sections on instantiation, fitting, and estimated attributes might be relevant. Transformer/Estimator parameters are only set by __init__ and set_params (essentially the ibisml.Recipe part of the API) and attributes derived from the data all have a trailing underscore. For instance, we would have .features_ derived from train and .outcomes_ is received during .fit() instead of __init__

@zilto Thanks for flagging! Good catch.

I don't know the motivations behind separating Recipe, RecipeTransform, and TransformResult. What raises questions is that both the transform and the train_fitted objects need to access train, but only the latter has .features and .outcomes set. Users coming from scikit-learn would expect 2 "layers" instead of 3 with Recipe (with a fitted: bool flag) and some sort of result.

I don't want to speak for him, but @jcrist is wrapping up a refactor that will reduce the "layers" in Ibis-ML. Hopefully some of this will resonate.
I can say that Ibis-ML was designed with intentional differences from scikit-learn (it's more tidymodels-inpired), but, again, @jcrist can definitely elaborate better on some of these points at this time, as the original author.

Thanks for the context! I essentially opened issue to share the bug in the code snippet, so feel free to close the issue

@zilto Closing this because the API, including the code snippet, has changed. We will also try to add some end-to-end examples soon!

@zilto Closing this because the API, including the code snippet, has changed. We will also try to add some end-to-end examples soon!

authors: deepyaman zilto

repo: ibis-project/ibisml


text:
Update features and remove outdated information

This branch is for updated documentation. Mainly the README needs to be changed because the way it has to be run/tested/developed is different and because the feature set has been changed.

Yeah that rebase didn't go as planned.

repo: ibissource/frank-flow


text:
EWS Listener -> (IllegalStateException) Connection is still allocated

Describe the bug
Whenever a configuration containing an ExchangeMailListener is reloaded it keeps throwing (IllegalStateException) Connection is still allocated.
Reporter
Laurens Mäkel
Category
Use following Tags to categorize your bug report

Frank Framework

To Reproduce
Steps to reproduce the behavior:

See 401 input

Expected behavior
Connection to be properly closed when stopping the adapter.
Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

Application server (f.e. Tomcat/WebSphere/JBOSS/Jetty) WebSphere
Browser [e.g. chrome, safari] Chrome
IAF Version [e.g. 7.5 RC3, 7.6] 7.6-20201127.153142

Additional context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

Same as #1212

I've attached the log file containing the IllegalStateException errors.
ibis4input.txt

authors: Laurens-makel gvanbrakel

repo: ibissource/iaf


text:
Parallel XsltSender threading issues

Describe the issue
Sometimes local/ci test fail with a strange NPE. I've managed to find a stacktrace, see attached.
nl.nn.adapterframework.xslt.ParallelXsltTest-output.txt

Test set: nl.nn.adapterframework.xslt.ParallelXsltTest
Tests run: 117, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 2.469 s <<< FAILURE! - in nl.nn.adapterframework.xslt.ParallelXsltTest
anyXmlDisableOutputEscaping1: new, no stream: provide [false] stream out [false]  Time elapsed: 0.03 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...="XsltSender"type="S[tring">begin<disabled-elementsattr="value"/><enabled-elementsattr="value"/><disabled-elementsattr="value"/><enabled-elementsattr="value"/>end]<resultsend...> but was:<...="XsltSender"type="S[enderException">XsltSender[null]Exceptionontransforminginput:(NullPointerException)]<resultsend...>
at nl.nn.adapterframework.xslt.ParallelXsltTest.assertResultsAreCorrect(ParallelXsltTest.java:127)
Reporter
Core-Team

Strangest part in logging is:
14:10:59,607 WARN  ParallelSenderExecutor.run():60[] SenderExecutor caught exception
nl.nn.adapterframework.core.SenderException: XsltSender [null] Exception on transforming input: (NullPointerException)
	at nl.nn.adapterframework.senders.XsltSender.sendMessage(XsltSender.java:306) ~[classes/:?]
	at nl.nn.adapterframework.stream.StreamingSenderBase.sendMessage(StreamingSenderBase.java:29) ~[classes/:?]
	at nl.nn.adapterframework.senders.ParallelSenderExecutor.run(ParallelSenderExecutor.java:57) [classes/:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251]
Caused by: java.lang.NullPointerException
	at org.apache.xalan.transformer.TransformerHandlerImpl.startEntity(TransformerHandlerImpl.java:830) ~[xalan-2.7.2.jar:?]
	at nl.nn.adapterframework.xml.FullXmlFilter.startEntity(FullXmlFilter.java:105) ~[classes/:?]
	at nl.nn.adapterframework.xml.ExceptionInsertingFilter.startEntity(ExceptionInsertingFilter.java:121) ~[classes/:?]
	at nl.nn.adapterframework.xml.FullXmlFilter.startEntity(FullXmlFilter.java:105) ~[classes/:?]
	at org.apache.xerces.parsers.AbstractSAXParser.startGeneralEntity(Unknown Source) ~[ibis-xerces-2.12.1-xml-schema-1.1.jar:?]
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleCharacter(Unknown Source) ~[ibis-xerces-2.12.1-xml-schema-1.1.jar:2.12.1-xml-schema-1.1]
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source) ~[ibis-xerces-2.12.1-xml-schema-1.1.jar:2.12.1-xml-schema-1.1]
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[ibis-xerces-2.12.1-xml-schema-1.1.jar:2.12.1-xml-schema-1.1]
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[ibis-xerces-2.12.1-xml-schema-1.1.jar:2.12.1-xml-schema-1.1]
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[ibis-xerces-2.12.1-xml-schema-1.1.jar:?]
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[ibis-xerces-2.12.1-xml-schema-1.1.jar:?]
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[ibis-xerces-2.12.1-xml-schema-1.1.jar:?]
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[ibis-xerces-2.12.1-xml-schema-1.1.jar:?]
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) ~[ibis-xerces-2.12.1-xml-schema-1.1.jar:?]
	at nl.nn.adapterframework.senders.XsltSender.sendMessage(XsltSender.java:302) ~[classes/:?]
	... 3 more

The NullPointerException occurs there where it is explicitly tested:
  public void startEntity(String name) throws SAXException
  {

    if (DEBUG)
      System.out.println("TransformerHandlerImpl#startEntity: " + name);

    if (null != m_lexicalHandler)
    {
      m_lexicalHandler.startEntity(name);
    }
  }

The methods argument appears to be NULL -> m_lexicalHandler.startEntity(null);
FullXmlFilter should check if the argument has been set. Throw a clear exception when startEntity is called with a null value argument.

After long time no see, I ran into this problem om my machine today once again.

2022-03-26 on Jenkins

2022-04-13 on Jenkins


text:
Copy report

Create report.
Copy to test tab.
In test tab, copy the report.
Edit one of the copies, such that it will succeed during rerun.
Rerun both reports. One should fail and one should succeed.

Already implemented in test "Test copy in testtab" | "Test copy in testtab"

repo: ibissource/ladybug-frontend


text:
acp-dev script changes, fixed links, and Deploy App updates

Hardcodes broken links for now in two places - src/pages/getting-started/cli/index.mdx and src/pages/getting-started/deploy-app/index.mdx
Reflects rename of acp-dev script to acp-users and updates language in Dev Guide to reflect change
Updated Deploy App content

@holly-cummins Can you take a look at this page and see that it reflects the changes you were looking for (ibm-garage-cloud/planning#134) - https://ibm-garage-cloud.github.io/ibm-garage-developer-guide-staging/. (If this looks like a duplicate its because I had to recreate this PR after we moved some things around...)

Perfect, thanks!

authors: holly-cummins seansund


text:
Addition of PEL message method for dump delete/offload

Addition of PEL message method for dump delete/offload
Adding a createPEL method which will log PEL messages.
This method has PEL severity as Informational by default
unless mentioned otherwise
Change-Id-1: 5b117f5b53e4c188474bea022a82ea13f426b459
Change-Id-2: 15b47b977cf48c2c09dbd12155c16ae35eba5d73
Signed-off-by: swarnendu.roy.chowdhury@ibm.com

Addition of PEL message method for dump delete/offload
Adding a createPEL method which will log PEL messages. This method has PEL severity as Informational by default unless mentioned otherwise
Change-Id-1: 5b117f5 Change-Id-2: 15b47b9
Signed-off-by: swarnendu.roy.chowdhury@ibm.com

no need of Change-Id

please capture test results

Captured now

@devenrao please post the reveiw comments in the gerrit link.
@Swarnendu-R-C please include Gerrit reveiw link.

@devenrao please post the reveiw comments in the gerrit link. @Swarnendu-R-C please include Gerrit reveiw link.

@ojayanth , Gerrit link is included now with the latest changes

authors: Swarnendu-R-C devenrao ojayanth

repo: ibm-openbmc/phosphor-debug-collector


text:
Biased implementation of hashModOrder

If the output of the hash function is larger than the order of the curve, this will generate a very small value:
https://github.com/ibm-research/ecdaa/blob/c46b3cd4db217dfb6f4a9a71b9fb338a444e0f16/src/main/java/com/ibm/zurich/crypto/BNCurve.java#L341-L350
The consequence of this failure condition is that the random numbers used in EcdaaSign will be biased (i.e. higher bits have a higher probability of being 0). The consequences of this can be pretty bad.

Earlier this month I published a protocol review of ECDAA, as used in WebAuthn. The reliance of random values (rather than deterministic values; see RFC 6979 for historical precedent) was one of the points I was particularly concerned about.
Given that several IBM employees are listed on the ECDAA spec, and this Github repository belongs to the IBM-Research organization, am I correct in believing this implementation to be somewhat official?
If so, it further highlights the severity of the cited design flaws.

Thanks for your comment. This is actually not a problem: we use this hash function as the Fiat-Shamir hash for generalized Schnorr signatures, and you can prove this construction is secure with the standard techniques, even if the hashModOrder output is not perfectly uniform in the order of the curve.
Let's consider a plain Schnorr signature where we have pk = g^sk. We sign by taking r uniform in the curve order q, t = g^r, c = H(t, pk, m), and s = r + c * sk (mod q), and output signature (c, s). We want this to be zero-knowledge, i.e., not leaking any information about sk, and extractable, meaning that we can apply the forking lemma to extract sk from a signature forger.
Zero-knowledge: we can simulate in the standard way, by taking c uniform in the hash output, s uniform in the curve order, setting t = g^s pk^-c, and programming the random oracle. This simulation is distributed equally to real signatures.
Extractability: we use the standard approach to extract from a schnorr signature with the forking lemma. However, due to reducing the hash outputs modulo the curve order, we can have c != c’ but c = c’ (mod q), in which case extraction does not work. However, this probability can be bounded by 1 in the output size of the hash, which is clearly negligible.
Your remark about the danger of having a biased hash function is a bit misleading as the cited scheme uses the hash function for a completely different purpose, and those attacks do not apply here.

authors: manudrijvers paragonie-scott

repo: ibm-research/ecdaa


text:
Add schema support for visit_sequence.

Added schema suport into visit_sequence.
Fix file name in setup.py

The changes for this will be merged to the master code.
Since there are conflicts with respect to the base code accepting the changes manually.
PR changes accepted for visit_sequence with SCHEMA name.
Closing the PR.

repo: ibmdb/python-ibmdbsa


text:
🛑 Secret Site is down

In ffbd1b0, Secret Site ($SECRET_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Secret Site is back up in 52edffd.

repo: icarephone/upptime


text:
Update to latest release of versioneer (0.29)

Expected to be Python 3.11 and 3.12 compatible.
Some tests done after updating versioneer (see https://github.com/icecube/pisa/issues/779#issuecomment-2289994626):

successful installation of PISA with Python 3.10.14, version number returned by pisa.__version__ agrees with version in package metadata (pisa.egg-info/PKG-INFO)
using Python 3.12.5, I was able to execute the updated copy of versioneer.py (0.29) in the source tree (python versioneer.py setup), and also perform the vendored mode install using the pip-installed versioneer package (also 0.29)

Not explicitly tested (maybe someone else could verify by trying something similar to the above using this branch):

Python 3.8 compatibility (according to https://github.com/python-versioneer/python-versioneer?tab=readme-ov-file#the-versioneer, it is also supported)

Odd that the builds now fail. I sometimes get the exact same problem which I can prevent via export CFLAGS=-I<whatever numpy.get_include() returns> before running the setup (which I thought would be addressed by https://github.com/icecube/pisa/blob/master/setup.py#L217C34-L217C53). It might have to do with https://github.com/icecube/pisa/blob/master/setup.py#L283.

repo: icecube/pisa


text:
Compilation error: the trait bound winit::window::Window: raw_window_handle::HasRawWindowHandle is not satisfied

$ cargo +stable b --release
     Compiling wgpu_glyph v0.16.0
     Compiling iced_winit v0.3.0 (/Users/myuser/github/hecrj/iced/winit)
     Compiling iced_wgpu v0.4.0 (/Users/myuser/github/hecrj/iced/wgpu)
  error[E0277]: the trait bound `winit::window::Window: raw_window_handle::HasRawWindowHandle` is not satisfied
    --> winit/src/clipboard.rs:21:58
     |
  21 |         let state = window_clipboard::Clipboard::connect(window)
     |                     ------------------------------------ ^^^^^^ the trait `raw_window_handle::HasRawWindowHandle` is not implemented for  ↩`winit::window::Window`
     |                     |
     |                     required by a bound introduced by this call
     |
  help: trait impl with same name found
    --> /Users/myuser/.cargo/registry/src/github.com-1ecc6299db9ec823/raw-window-handle-0.4.2/src/lib.rs:58:1
     |
  58 | / unsafe impl<'a, T: HasRawWindowHandle + ?Sized> HasRawWindowHandle for &'a T {
  59 | |     fn raw_window_handle(&self) -> RawWindowHandle {
  60 | |         (*self).raw_window_handle()
  61 | |     }
  62 | | }
     | |_^
     = note: perhaps two different versions of crate `raw_window_handle` are being used?
  note: required by a bound in `window_clipboard::Clipboard::connect`
    --> /Users/myuser/.cargo/registry/src/github.com-1ecc6299db9ec823/window_clipboard-0.2.0/src/lib.rs:37:23
     |
  37 |     pub fn connect<W: HasRawWindowHandle>(
     |                       ^^^^^^^^^^^^^^^^^^ required by this bound in `window_clipboard::Clipboard::connect`

  For more information about this error, try `rustc --explain E0277`.
  error: could not compile `iced_winit` due to previous error
  warning: build failed, waiting for other jobs to finish...
  error: build failed

$ cargo +nightly b --release
[...]
error: last argument of `simd_shuffle` is required to be a `const` item
     --> /Users/myuser/.cargo/registry/src/github.com-1ecc6299db9ec823/pathfinder_simd-0.5.0/src/arm/mod.rs:623:24
      |
  623 |         unsafe { I32x2(simd_shuffle2(self.0, self.0, [2, 3])) }
      |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

     Compiling pathfinder_geometry v0.5.1
  error: could not compile `pathfinder_simd` due to 530 previous errors
  warning: build failed, waiting for other jobs to finish...
  error: internal compiler error: /rustc/efec545293b9263be9edfb283a7aa66350b3acbf/compiler/rustc_codegen_ssa/src/mir/block.rs:722:33: shuffle in  ↩dices must be constant
      --> /Users/myuser/.cargo/registry/src/github.com-1ecc6299db9ec823/pathfinder_simd-0.5.0/src/arm/swizzle_f32x4.rs:1803:24
       |
  1803 |         unsafe { F32x4(arm::simd_shuffle4(self.0, self.0, [3, 3, 3, 3])) }
       |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  thread 'rustc' panicked at 'Box<dyn Any>', /rustc/efec545293b9263be9edfb283a7aa66350b3acbf/compiler/rustc_errors/src/lib.rs:1116:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  note: the compiler unexpectedly panicked. this is a bug.

  note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

  note: rustc 1.59.0-nightly (efec54529 2021-12-04) running on aarch64-apple-darwin

  note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C target-cpu=native -C opt-level=3 -C debuginfo=0 --crate-type lib

  note: some of the compiler flags provided by cargo are hidden

  query stack during panic:
  end of query stack
  error: build failed

Try to execute cargo update first. And then compile against stable Rust.
This fixed the HasRawWindowHandle issue for me:
Updating clipboard-win v4.2.2 -> v4.3.0

After cargo update both +stable and +nightly work.

authors: ahcm bytefall

repo: iced-rs/iced


text:
Switch to ES6

I really want everyone to start learning ES6, as that's what we are moving towards.  You can add babel-loader to the webpack config and everything should just work.  Also, goes great with the suggestion from #2

Btw, don't use ES6 modules because they suck

repo: iceddev/git-splainin


text:
Rename Beaufort to WindForce

Beaufort is the only field that is named after the unit, rather than describing the variable. It stands out amongst Visibility, Glare, etc.
@cmspinto can you rename this to WindForce?

Change already made in the documentation (07ba9b1), but still needs to be updated in the application.

Is fixed.

repo: ices-tools-dev/esas


text:
Uncaught Error: ENOTDIR: not a directory, mkdir  while openning a file!

steps to reproduce:

created folder and file in remote server
clicked on file to open it, this error produced.

I checked the issue, I had a folder name in remote the same name as path in my local that was file!
Example:

/var/www/deputation/app/controller/api/regulator/server(A Folder)
-/home/pwwiur/Desktop/Projects/deputation/app/controller/api/regulator/server (A File)

This error is happenning when syncing the folder from remote machine!
Atom: 1.38.2 x64
Electron: 2.0.18
OS: Ubuntu 18.04.2
Thrown From: remote-ftp package 2.2.2
Stack Trace
Uncaught Error: ENOTDIR: not a directory, mkdir '/home/pwwiur/Desktop/Projects/deputation/app/controller/api/regulator/server/v1.0'
At /home/pwwiur/.atom/packages/remote-ftp/node_modules/mkdirp/index.js:90

Error: ENOTDIR: not a directory, mkdir '/home/pwwiur/Desktop/Projects/deputation/app/controller/api/regulator/server/v1.0'
    at Object.fs.mkdirSync (fs.js:885:18)
    at Function.sync (/packages/remote-ftp/node_modules/mkdirp/index.js:71:13)
    at Proxy.makeTreeSync (/packages/remote-ftp/node_modules/fs-plus/lib/fs-plus.js:385:23)
    at /packages/remote-ftp/lib/connectors/sftp.js:295:12
    at SFTPStream._transform (/packages/remote-ftp/node_modules/ssh2-streams/lib/sftp.js:503:15)
    at SFTPStream.Transform._read (_stream_transform.js:186:10)
    at SFTPStream._read (/packages/remote-ftp/node_modules/ssh2-streams/lib/sftp.js:183:15)
    at SFTPStream.Transform._write (_stream_transform.js:174:12)
    at doWrite (_stream_writable.js:387:12)
    at writeOrBuffer (_stream_writable.js:373:5)
    at SFTPStream.Writable.write (_stream_writable.js:290:11)
    at Channel.ondata (_stream_readable.js:639:20)
    at emitOne (events.js:116:13)
    at Channel.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Channel.Readable.push (_stream_readable.js:208:10)
    at /packages/remote-ftp/node_modules/ssh2/lib/Channel.js:167:15)
    at emitOne (events.js:116:13)
    at SSH2Stream.emit (events.js:211:7)
    at parsePacket (/packages/remote-ftp/node_modules/ssh2-streams/lib/ssh.js:3445:10)
    at SSH2Stream._transform (/packages/remote-ftp/node_modules/ssh2-streams/lib/ssh.js:671:13)
    at SSH2Stream.Transform._read (_stream_transform.js:186:10)
    at SSH2Stream._read (/packages/remote-ftp/node_modules/ssh2-streams/lib/ssh.js:253:15)
    at SSH2Stream.Transform._write (_stream_transform.js:174:12)
    at doWrite (_stream_writable.js:387:12)
    at writeOrBuffer (_stream_writable.js:373:5)
    at SSH2Stream.Writable.write (_stream_writable.js:290:11)
    at Socket.ondata (_stream_readable.js:639:20)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at TCP.onread (net.js:594:20)

Commands
     -1:52 remote-ftp:delete-selected (span.name.icon.default-icon)
     -1:46.2.0 remote-ftp:add-folder (li.directory.entry.list-nested-item.expanded.selected)
     -1:42.2.0 core:confirm (input.hidden-input)
     -1:07.7.0 remote-ftp:add-folder (li.directory.entry.list-nested-item.expanded.selected)
     -1:05.0 core:backspace (input.hidden-input)
     -1:03.6.0 core:confirm (input.hidden-input)
     -0:38.6.0 remote-ftp:add-file (li.directory.entry.list-nested-item.expanded.selected)
     -0:34.6.0 core:confirm (input.hidden-input)
     -0:30.5.0 remote-ftp:add-file (li.directory.entry.list-nested-item.expanded.selected)
     -0:27.7.0 core:confirm (input.hidden-input)
     -0:23.3.0 remote-ftp:add-file (li.directory.entry.list-nested-item.expanded.selected)
  3x -0:21.2.0 core:backspace (input.hidden-input)
     -0:17.7.0 core:confirm (input.hidden-input)
     -0:10.7.0 intentions:highlight (input.hidden-input)
     -0:10.6.0 core:select-all (input.hidden-input)
     -0:10.2.0 core:copy (input.hidden-input)

Non-Core Packages
atom-beautify 0.33.4
busy-signal 2.0.1
file-icons 2.1.33
hyperclick 0.1.5
ide-php 0.7.18
intentions 1.1.5
linter 2.3.0
linter-php 1.6.1
linter-ui-default 1.7.1
platformio-ide-terminal 2.9.1
remote-ftp 2.2.2

Duplicate of #1054

authors: icetee pwwiur

repo: icetee/remote-ftp


text:
Weird lone table cell only visible on dark mode

Good catch, thanks!
I'll look into it.

Already fixed, will publish as soon as I manage to get rid of lodash.

authors: icflorescu italodeandra

repo: icflorescu/mantine-datatable


text:
"Force update"

I changed the NODE_VERSION_URL to 6.2.0, and restarted the app, but nothing updated.

Just created a random file and pushed it, fixed.

Yeah, that's a potential issue, maybe I should put a note about it in the readme. You need to actually do a push to trigger the installation of a new Node.js version.
I actually considered doing it automatically on each app restart, but I don't think the benefits would justify increasing the restart time. What do you think?

authors: checkplys icflorescu

repo: icflorescu/openshift-cartridge-nodejs

license: isc


text:
🛑 ICheered.nl is down

In 1952b8a, ICheered.nl (https://www.icheered.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ICheered.nl is back up in ae4a70f after 4 hours, 19 minutes.

repo: icheered/uptime


text:
Next Minor Release

New Features

Changed how character encoding is handled (#186, #334).

Non-ASCII characters are handled as spaces (sometimes multiple for a single character).
Added script utility for removing Non-ASCII characters
Added option to not substitute white-space and strictly enforce ASCII

Documentation Updates (#375, #359, #329, #328, #338 )

Improved Issues and PR templates
Added a Code of Conduct
Created a changelog
Defined a scope for what MontePy is
Improved organization of website, and made API documentation easier to navigate.
Documented how the new build system works
Added DOI to publications section

Bugs fixed

Ignore Vertical mode characters in comments (#370).
Fixed bug with GeometryTree data typing issues (#351).
Fixed bug with parsing a read input, and made the read input detection faster and more robust (#206, #372).
Made auto-version system more robust (#386).

Build improvements (#326, #202)

Switched to only using Pyproject.toml
Implemented coveralls for coverage
Added test report to CI
Switching to automatic versioning system for CI/CD
Implementing sigstore signing of software and using github releases.

TODO

[ ] update changelog

Closing to park this MR for now while a patch release goes out.

repo: idaholab/MontePy


text:
可否适配最新版的1.2.0版本吗？谢谢

可否适配最新版的1.2.0版本吗？谢谢

支持了 有问题可重启issue反馈

repo: idealclover/UniTypecho


text:
Illegal instruction

Run the sample program with an error
2019-12-19 22:23:22,729: INFO End: Calculating hashes!
2019-12-19 22:23:22,730: INFO Start: Evaluating hamming distances for getting duplicates
2019-12-19 22:23:22,730: INFO Start: Retrieving duplicates using Cython Brute force algorithm
Illegal instruction

Hi
Can you please create a new conda environment and try out the example?
Also, could you please share more info?

Your OS
Your python version
Your imagededup version
Are you working in some virtual enviroment. If yes, if it's conda or virtualenv?
Is the issue reproducible?

I have the same problem at the same place.
The environment is a Ubuntu Bionic docker container (with or without privileged), Python 3.6.9, imagededup 0.2.2, tensorflow 1.5.1 and 1.5 (old CPU without AVX and no GPU).
Tensorflow works via testing python3 -c "import tensorflow as tf; print(tf.reduce_sum(tf.constant([[1, 1, 1], [1, 1, 1]]), 0))".
The problem is reproducible for sure. Running the code sample in the README of this repo (quick start) gives the problem, always.
Python 3.6.9 (default, Nov  7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from imagededup.methods import PHash
>>> phasher = PHash()
>>> encodings = phasher.encode_images(image_dir='/root/tumblr')
2020-03-16 12:52:17,284: INFO Start: Calculating hashes...
100%|########################################| 834/834 [00:05<00:00, 153.63it/s]
2020-03-16 12:52:22,906: INFO End: Calculating hashes!
>>> duplicates = phasher.find_duplicates(encoding_map=encodings)
2020-03-16 12:52:24,408: INFO Start: Evaluating hamming distances for getting duplicates
2020-03-16 12:52:24,408: INFO Start: Retrieving duplicates using Cython Brute force algorithm
Illegal instruction

All PIPs I have:
absl-py (0.9.0)
asn1crypto (0.24.0)
bleach (1.5.0)
cryptography (2.1.4)
cycler (0.10.0)
html5lib (0.9999999)
idna (2.6)
imagededup (0.2.2)
joblib (0.14.1)
keyring (10.6.0)
keyrings.alt (3.0)
kiwisolver (1.1.0)
Markdown (3.2.1)
matplotlib (3.2.0)
numpy (1.16.6)
Pillow (6.2.2)
pip (9.0.1)
protobuf (3.11.3)
pycrypto (2.6.1)
pygobject (3.26.1)
pyparsing (2.4.6)
python-dateutil (2.8.1)
PyWavelets (1.0.3)
pyxdg (0.25)
scikit-learn (0.22.2.post1)
scipy (1.4.1)
SecretStorage (2.3.1)
setuptools (39.0.1)
six (1.11.0)
tensorflow (1.5.0)
tensorflow-tensorboard (1.5.1)
tqdm (4.43.0)
Werkzeug (1.0.0)
wheel (0.30.0)

The behaviour is unexpected. Could you please share a minimal Dockerfile that reproduces the problem?

Since I ran into similar problems, here a Dockerfile with which I could reproduce the problem (quick and dirty) :
FROM ubuntu

RUN apt-get update && apt-get install --no-install-recommends -y \
    python3-setuptools \
    python3 \
    python3-pip \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /usr/src/app

RUN pip3 install imagededup

COPY . .
# CMD python3 main.py

Note that I excluded the CMD.
The main.py is as follows:
from pathlib import Path
import imagededup
from imagededup.methods import PHash

image_dir = Path('./data/mixed_images')

phasher = PHash()
duplicates = phasher.find_duplicates(image_dir=image_dir, scores=True)

The images from image_dir-path are the ones provided in the tests: ./tests/data/mixed_images.
Both the main.py and the data/image-folder are copied into the workdir.
When starting the script, the output is as stated before:
2020-04-03 15:54:02,097: INFO Start: Retrieving duplicates using Cython Brute force algorithm
Illegal instruction (core dumped)

repo: idealo/imagededup


text:
Kill option (Terminate invitation) is not working

Kill option (Terminate invitation) is not working in Idena web app,
It only shows  button Create Invitation.
Fix this please

should be ok now #142

authors: aidenaio biterminator

repo: idena-network/idena-web


text:
想问下大家这个库有用在大日活的生产环境吗？

我们的启动任务比较复杂，await函数爆出大量的anr问题，大家有遇到过这种情况吗？
sun.misc.Unsafe.park(Unsafe.java)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1063)
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1358)
java.util.concurrent.CountDownLatch.await(CountDownLatch.java:278)

有详细日志吗？

最新的版本   遇到了相同问题

authors: idisfkj ld2006203 yaoxiangshangzou

repo: idisfkj/android-startup


text:
How can i change the language

How can i change the language

There's no language change functionality. Currently only English is supported, and multi-language requires huge amount of time to do.

Can I complete it myself? I have nothing to do recently, but I don't know how to modify it

authors: Waxjj iebb


text:
bib.ietf.org URLs returning HTTP 429

Describe the issue
Hi
We (the OpenID Foundation) use xml2rfc in bitbucket pipelines to validate documents compile before they are merged. Within the last few days our pipelines have started failing, e.g. https://bitbucket.org/openid/connect/pipelines/results/89 shows errors like:
Error: Unable to resolve external request: "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.9207.xml"
Error: XInclude processing failed: could not load https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7591.xml, and no fallback was found, line 1461
Unable to complete processing ./openid-4-verifiable-presentations-1_0-17.xml

The root cause seems to be that https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml (for example) is returning a http 429 "Too many requests" error, as shown in this run with debugging enabled for xml2rfc:
https://bitbucket.org/openid/connect/pipelines/results/106
Any advice you have is welcome, and apologies in advance if our pipelines have been causing an issue for your server (we only run less than 20 pipelines at day so hopefully not the case).
Thanks
Joseph
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

@jogu, https://xml2rfc.ietf.org/ has a server redirect to https://bib.ietf.org/
Since you got HTTP 429, may the server was under stress. We will investigate the issue.
But if https://xml2rfc.ietf.org/ URLs continue to fail you can replace them with https://bib.ietf.org/.

We recently added rate limiting rules in front of ietf.org.
I modified the allowlist so that these calls don't get flagged.
Let me know if you still get the errors?

Thanks for the prompt fix @NGPixel - I tried an initial run and it looks much better. I'll let the rest of our team know so they can retry their own failing runs. I presume I can close this now.

authors: NGPixel jogu kesara

repo: ietf-tools/bibxml-service


text:
Improve MeetEcho access to slides during meetings

MeeEcho needs a pair of specialized APIs to replace their current use of /api/v1 so that chair experience at meetings can be improved.

The datatracker should provide an API for the session that lists the slide names,  order, content locations, and titles for a session at the time of the retrieve. This can probably be a public API.

The datatracker should POST to a protected API at MeetEcho whenever slides for a session are changed (new versions uploaded, new slides added, slides deleted, slides reordered). We'll work with MeetEcho out of band to determine if this just triggers a refetch of API 1) or if it provides the new state as part of the POST.

The datatracker should provide an API for the session that lists the slide names,  order, content locations, and titles for a session at the time of the retrieve. This can probably be a public API.

There's the existing /api/meeting/session/<session_id>/materials API that returns things like..
{
  "url": "https://datatracker.ietf.org/meeting/118/materials/agenda-118-moq-01",
  "slides": {
    "decks": [
      {
        "id": 121879,
        "title": "Chair slides",
        "url": "https://datatracker.ietf.org/meeting/118/materials/slides-118-moq-chair-slides",
        "ext": "pdf"
      },

Does the slides.decks section of that do the right thing? It has the slide title but not the "slide name" - not sure what that would be. Filename? The decks are ordered in the array.

oob, @alexamirante pointed out that the JSON returned from the existing end point does not include the rev and that it'd be convenient to have the order available as a field instead of having to infer it from the position in the list.
I think we can add both to that response.  That API is used by the agenda display, which I think will ignore fields it does not care about. I think it's better to reuse this instead of adding another nearly redundant API endpoint. @NGPixel, any concerns with that?

Be sure to review the caching of that endpoint - if there is some, there needs to be a way to bypass it for MeetEcho's use case.
For name - Meetecho is planning to shift to title I think. But if we need to provide something other than title and url to let chairs find the right thing: the original description notes that 'slides-118-moq-isn't helping poeple much when they're already looking at just that session. It's worse forslides-interim-2024-tools-2-. Maybe we should have a name` (with a better name) that strips away that prefix from the filename?

For name - Meetecho is planning to shift to title I think.

Exactly. title is what we need. No need to add a further name field.

@jennifer-richards I confirm that the proposed API enriched with rev and order fields has all info we need.

Be sure to review the caching of that endpoint - if there is some, there needs to be a way to bypass it for MeetEcho's use case.

We're currently bypassing the /api tree so this should not need special accommodation.
I'll proceed without a shortened name for now.

LGTM! Can you please confirm that when you submit a revision the id stays the same and only the rev changes?

I noticed we're always sending the versionless href for the slides, which will retrieve the latest rev. I think that's desirable

That's definitely desirable to me!

Yes, the id will remain fixed.
Also, just for completeness, the JSON I quoted was the result of piping the API response through jq .slides.decks

released in 12.8.0

authors: alexamirante jennifer-richards rjsparks

repo: ietf-tools/datatracker


text:
Fake.Internet.email() is not working.

I think faker is giving me non valid emails..
ryann_o'keefe@powlowski.org is not a valid email format. (I think, tested with my regex and some  online email validators)
The Faker.Internet.email() function should not provide me with wrong data. My tests are crying. 😥

ryann_o'keefe@powlowski.org is a RFC 5322 compliant e-mail address

Thanks! I'll change my email validator.

authors: erneestoc tobyhinloopen

repo: igas/faker


text:
Status is incorrect.

The status for the SMS message is incorrect. The status for the email is correct. The SMS message is exactly opposite to the status I toggled. For instance, when I click Preparation I get a message that the order is Ready. When I click Ready I get a message that the order is in Preparation.
This is using the Twilio channel. That channel I was able to get working without any issues.

This issue looks fixed. Closing, but please reopen if it still occurs.

authors: roydeanjr sampoyigi

repo: igniter-labs/ti-ext-smsnotify


text:
Support relative paths for PBR materials

Resolves #286.
Requires: https://github.com/osrf/sdformat/pull/349.
To test, you can modify PBR map URIs similar to the following.
Old
<pbr>
  <metal>
    <albedo_map>https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/Cave Straight Type A/3/files/materials/textures/Gravel_Albedo.png</albedo_map>
    <normal_map>https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/Cave Straight Type A/3/files/materials/textures/Gravel_Normal.png</normal_map>
    <roughness_map>https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/Cave Straight Type A/3/files/materials/textures/Gravel_Roughness.png</roughness_map>
  </metal>
</pbr>

New
<pbr>
  <metal>
    <albedo_map>materials/textures/Gravel_Albedo.png</albedo_map>
    <normal_map>materials/textures/Gravel_Normal.png</normal_map>
    <roughness_map>materials/textures/Gravel_Roughness.png</roughness_map>
  </metal>
</pbr>

Signed-off-by: Nate Koenig nate@openrobotics.org

@osrf-jenkins run tests, you can do it!

@osrf-jenkins run tests, SDFormat 8.9.0 is out!

authors: chapulina nkoenig

repo: ignitionrobotics/ign-gazebo


text:
Add support for hybrid rendering

Add support for hybrid rendering, i.e. render post excerpt as plain text but render HTML entities as well.

🤹🏼♂ Further enhancement of #18.

repo: igorskyflyer/npm-astro-post-excerpt


text:
Count splitting update

fixed total type splitting functionality, can be used for count split…ting. Also added population proportions

output_type = 'rate' satisfies the condition that the population weighted mean of the post-split result adds up to the pre-split val
output_type = 'total' satisfies the condition that the SUM of the post split results adds up to the pre-split val

Added population_proportion column, this gives the normalized population in each post-split group. This is often a useful quantity, for example, can multiply by sample study size to get the post-split pseudo sample sizes!!

repo: ihmeuw-msca/pyDisagg


text:
Model1.2 Observers

Title: Model 1.2 Observers

Description

Category:  observers
JIRA issue: MIC-4184
Research reference:

Changes and notes

I added birth weight to child output, and stratified pregnancy state person time and transition counts by pregnancy outcome. I also modified the birth outcome counts given the new stratification.
Technically, the birth counts by outcome duplicates from the transitions, e.g.,
 'pregnancy_pregnant_to_postpartum_event_count_age_75_to_79_pregnancy_outcome_partial_term': 0,
and
 'birth_count_age_75_to_79_pregnancy_outcome_partial_term'
are the same. I did it this way because the model requirements specify both, and it might be easier to have the subset to validate. It's easy to remove if it is unnecessary.
Verification and Testing

Metrics from interactive sim count the correct values and look appropriate in scale. CI passes.

I removed the separate birth counts; this actually made it reducible to the DiseaseObserver on_collect_metrics method, so I removed the custom function so PregnancyObserver can inherit from that. It still works.


text:
Please Update to Latest Version

Traceback (most recent call last):
File "tes.py", line 13, in
lsc   = ovo.loginSecurityCode('252101', vl2fa.updateAccessToken)
File "D:\PythonLib\ovo\ovo\ovopy\main.py", line 88, in loginSecurityCode
return self.client.loginSecurityCode(pin_code,updateAccessToken)
File "D:\PythonLib\ovo\ovo\ovopy\api\client.py", line 171, in loginSecurityCode
raise OVOUnexpectedError(err)
error.OVOUnexpectedError: OVOHttpResponse(code=9999, status=None, message='Please update to the latest version of OVO app to enjoy all the features offered by OVO', content=None, data=None, httpStatus=410)
could you help me to update this script?

Solved by changing app version header to 'app_version' : '3.8.1' in main.py line 14


text:
.gms files on network drive not recognized

Path setups for gams files from gams.py do not correctly bring in files on network drives.
The absolute paths from Path.resolve() cannot be recognized from GAMS for some reason. And it complains as follows:
'\\hdrive\home$\u045\min\mydocuments\MESSAGE\message_ix\message_ix\model' CMD.EXE was started with the above path as the current directory. UNC paths are not supported.  Defaulting to Windows directory.
Removing .resolve() seems to resolve the issue.

Thanks @Jihoon for this issue report.

Removing .resolve() seems to resolve the issue.

pathlib.Path.resolve() is used in several places. Can you specify which one(s) you removed to fix this issue on your system?

There are three uses I find in the main definition. I removed all three.

@Jihoon if that has solved the problem for you, can you please create a PR so that it can be resolved for everyone?

@Jihoon if that has solved the problem for you, can you please create a PR so that it can be resolved for everyone?

Thanks. Done #230.

authors: Jihoon khaeru

repo: iiasa/ixmp


text:
Avoid locking on failed operations

The PR adds a new context manager .utils.discard_on_error() that can be used to avoid leaving scenarios in a locked state. This can occur when exceptions are raised and JDBCBackend is in use: an unclean exit means the database is left in a state that marks the scenario as "locked" for use by a particular user.
Originally developed for iiasa/message_data#446.
How to review

Read the diff and note that the CI checks all pass.
Read the additions to the docs including examples and ensure they are clear.
Optionally, try a particular code operation known to fail and leave scenario(s) in a locked state.

PR checklist

[x] Continuous integration checks all ✅
[x] Add or expand tests; coverage checks both ✅
[x] Add, expand, or update documentation.
[x] Update release notes.

I think the force push means I can't access my review to change to accept?

Ok, was able to do a new review - thanks @khaeru !

authors: gidden khaeru


text:
Record message_ix version in scenario data & GDX

Closes #747.
Housekeeping:

Close #739. This appears to bring the job time down to:

4:40–10 minutes for the tests —so the first indication of success/failure comes in under 5 minutes, which is more fit for purpose.
8–12 minutes for the tutorials.

[ ] Update older tests. The above change caused some of these to begin to fail, which makes me suspect they rely on state leaking from the tutorial tests or are otherwise fragile. The updates should ensure the tests are complete.

test_equation_NEW_CAPACITY_CONSTRAINT.py::test_new_capacity_up: fix typo in the file name. Clone the subject scenario to a unique URL, so that GDX I/O files do not collide even if the two test cases are run in parallel.
test_integration.py, test_macro.py: similarly clone to unique URLs.
Expand some flaky marks from #731 that were previously scoped to macOS only, to now apply to all platforms:

test_feature_bound_activity_shares.py::test_add_bound_activity_up_all_modes
test_feature_price_emission.py::test_custom_type_variable_periodlength

How to review
Read the diff and note that the CI checks all pass.
PR checklist

[ ] Merge required changes upstream: iiasa/ixmp#502.

[x] Continuous integration checks all ✅

[ ] Add or expand tests; coverage checks both ✅

[ ] Add, expand, or update documentation.

[ ] Update release notes.

@glatterf42 FYI, looking at the recent commits on the branch, I am finding that for some apparently flaky tests, it helps to .clone(scenario=request.node.name) first.
I think this is because we are using pytest-xdist: where this results in 2+ tests with identical model name and scenario names being run in parallel, then strange effects can occur; for instance, one test reads and sees the result from the GDX file of the other test. (This occurs because message_ix tries to heed users' desire to keep GDX I/O files all in the same directory, rather than separate, temporary directories per-run as the base ixmp GAMSModel class does.)
request.node.name is from the Pytest request fixture, and gives a string that is unique to each test—including individual cases of parametrized tests. It's the easiest way to get such a unique label.
We could later (no urgency) try this approach to address other apparently flaky tests.

Very useful catch, would be great to remove some flaky markers :)

Just rebasing onto current main.

Rebased after dependabot update to main: are we just seeing flakiness in these tests?

Looks like flakiness; are we merging regardless and clean up/apply markers later if needed?

are we merging regardless and clean up/apply markers later if needed?

I would say the latter.
I have adapted several tests in this PR to ensure they use unique model/scenario names; this means there is no chance that another scenario being run in another pytest-xdist worker thread will try to access the same scenario in the database or in a GDX file. However, this is different from doing a full sweep through the test suite or adapting fixtures to be sure that no test has this fragility. We can do that in a subsequent PR.


text:
增加基于three.js的波浪背景动画

基于 three.js 官方 example/waves 修改，在主题配置文件: _config.yml 启用 three_waves 选项即可开启

Thanks. :+1:

好看倒是好看，只是有点幌眼睛！~

开启后，移动端屏幕不能滚动了。

怎么我设置为 true 之后还是无法生效？

是不是要为 nest 和 three_waves 设置 CDN？

@suerb 不需要设置 CDN，请附上主题配置文件: _config.yml 相应的信息

我的核显在燃烧，i7 4代cpu占用率同步上了30，这个是注定高耗能还是尚有改善的空间？

authors: Goldensoap aixiu cpm828 iissnan jjandxa suerb

repo: iissnan/hexo-theme-next


text:
Demo with using a Mingle in a Filament app

Install Filament in wrapper-mingle

Auto-login https://blog.jpat.dev/filament-v3-how-to-fill-login-automatically-local-environment

Custom theme (for styles)
Have 2 Filament Pages, for React and Vue Mingling.

Take care by #21

repo: ijpatricio/mingle


text:
🛑 Penyanyi VF V2 is down

In 35a280d, Penyanyi VF V2 (https://evobot-1.nexter32.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Penyanyi VF V2 is back up in d391cbb.


text:
🛑 MusicBot UITM is down

In 0f5ead3, MusicBot UITM (https://MusicBot-UITM.nexter32.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MusicBot UITM is back up in 3392c0d.


text:
🛑 BARI_02 is down

In d53f626, BARI_02 ($BARI_02) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BARI_02 is back up in bd77d1e after 13 minutes.


text:
🛑 HOSTING7_ILGER is down

In 6306324, HOSTING7_ILGER ($HOSTING7_ILGER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HOSTING7_ILGER is back up in a00c11a after 5 hours, 4 minutes.


text:
Optional fields are considered manadatory

it appears the optional fields are mandatory there is no flexibility to control the behaviour.  i have requirement on few items like to have execution environment golobally available along with that few creentials but while testing it appears for creating credential  organization has been made mandatory but as per documentation it says optional. Similar problems observed with settings all are listed as optional but have to fill everthing there is no flexibility on these items.
https://registry.terraform.io/providers/ilijamt/awx/latest/docs/resources/credential
https://registry.terraform.io/providers/ilijamt/awx/latest/docs/resources/settings_auth_saml

Error:
╷
│ Error: Unable to create resource for Credential on /api/v2/credentials/
│
│   with awx_credential.credentials["CONTAINER REGISTRY CREDENTIALS"],
│   on credentials.tf line 1, in resource "awx_credential" "credentials":
│    1: resource "awx_credential" "credentials" {
│
│ invalid status code: 400, on /api/v2/credentials/ with {"detail":["Missing
│ 'user', 'team', or 'organization'."]}
╵
ERRO[0005] terraform invocation failed in /ansible-awx-terraform-dev/NewFormat/dev/.terragrunt-cach
e/5zNg_T0822Q-K3ro8mGOQU_7QqA/XjsNBCAXFo1RIqhnaDcs2IGepw4  prefix=[/ansible-awx-terraform-dev/NewFormat/dev]
ERRO[0005] 1 error occurred:
* [/ansible-awx
-terraform-dev/NewFormat/dev/.terragrunt-cache/5zNg_T0822Q-K3ro8mGOQU_7QqA/XjsNBCAXFo1RIqhnaDcs2IGepw4] exit status 1

Yeah, according to their API they are optional, but one of them is required.
But let me check to write only fields from the API are missing in the provider, which shouldn't be happening. There are special write_only fields which can only be provided during initial creation of the credential, after that it's not possible to change and/or update them.
https://github.com/ilijamt/terraform-provider-awx/blob/ba48f288c33b75e44e872379f51f818306a012cd/resources/api/23.8.1/payload/resource_credential.json#L102-L161

any plans for getting  "write_only": true back.

Yeah I'm looking into it. Don't remember why I disabled it. Need to check
and I'll add it back.
On Sat, 6 Apr 2024, 14:51 reshifirdous, @.***> wrote:

any plans for getting "write_only": true back.
—
Reply to this email directly, view it on GitHub
https://github.com/ilijamt/terraform-provider-awx/issues/96#issuecomment-2041073965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIWFY5POFP2EQP7TRCK3KLY37VTJAVCNFSM6AAAAABF2G2T6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGA3TGOJWGU
.
You are receiving this because you commented.Message ID:
@.***>

https://github.com/ilijamt/terraform-provider-awx/blob/ba48f288c33b75e44e872379f51f818306a012cd/resources/api/23.8.1/payload/resource_settingsauthsaml.json
https://registry.terraform.io/providers/ilijamt/awx/latest/docs/resources/settings_auth_saml
saml auth has everthing optional but when i try subset POST call it kind of overwrites the existing ones

Yes that's normal. Because when you do it from the UI, writes back everything. When you do it from terraform you only send partially what you have defined. So when you update you have to send all of them.

thanks for making me understand i was thinking api wont be any different the user does operations normally.

There is a new version, it's building now v23.8.1-1 can you try it out it has the fields back and let me know.

yes thanks it works :)

i hit one more error/bug with schedules. I follow this example
https://github.com/ilijamt/terraform-provider-awx/blob/main/examples/preload_data/main.tf#L152-L157
╷
│ Error: Unable to create resource for Schedule on /api/v2/schedules/
│
│   with awx_schedule.schedules["abc Nautobot Inventory"],
│   on schedules.tf line 29, in resource "awx_schedule" "schedules":
│   29: resource "awx_schedule" "schedules" {
│
│ invalid status code: 400, on /api/v2/schedules/ with {"diff_mode":["Field
│ is not allowed on launch."]}
resource "awx_schedule" "schedules" {
  for_each             = {for schedule in data.awx_inventory_source.source_inventories : schedule.name => schedule}
  name                 = each.value.name
  enabled = true
  # everday time 2359 time zone ist from 2024 to 2050
  rrule                = "DTSTART;TZID=Europe/Amsterdam:20221111T103000 RRULE:INTERVAL=1;FREQ=MONTHLY;BYMONTHDAY=1"
  unified_job_template = each.value.id
}

The API is complaining about diff mode set. Try removing prompt for diff mode from the template.

https://github.com/ilijamt/terraform-provider-awx/blob/d6d362bc739fe3d1463d1259d30b42a82dfc63ad/examples/preload_data/main.tf#L152-L156
I just ran the whole preload folder on 24.1.0 and there is no issue with the schedule, you need to see the choices you have on  are conflicting with the schedule creation

authors: ilijamt reshifirdous

repo: ilijamt/terraform-provider-awx