text:
[Bug]: volume mute doesnt work.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

System Information:
System name: Linux
Node name: Aurora
Release: 6.9.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 610 [8086:5906] (rev 07) (prog-if 00 [VGA controller])

os-release: NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID="2024.01.25"
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"

plugins:
  hyprexpo by Vaxry ver 1.0

======Config-Start======

Config File: /home/izumi/.config/hypr/hyprland.conf: Read Succeeded

#      ░▒▒▒░░░░░▓▓          ___________
#    ░░▒▒▒░░░░░▓▓        //___________/
#   ░░▒▒▒░░░░░▓▓     _   _ _    _ _____
#   ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/
#    ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___
#     ░▒▒░░▓▓   ▓▓   \__  |____/ |____/
#       ░▒▓▓   ▓▓  //____/

$scrPath = $HOME/.local/share/bin # set scripts path

# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄

# See https://wiki.hyprland.org/Configuring/Monitors/

monitor = ,preferred,auto,1

# █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█
# █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█

# See https://wiki.hyprland.org/Configuring/Keywords/

exec-once = gammastep -O 4500k # night light for hyprland
exec-once = hyprctl plugins load ~/.local/share/hyprpm/hyprland-plugins/hyprexpo.so
exec-once = $scrPath/resetxdgportal.sh # reset XDPH for screenshare
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
exec-once = dbus-update-activation-environment --systemd --all # for XDPH
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
exec-once = $scrPath/polkitkdeauth.sh # authentication dialogue for GUI apps
exec-once = waybar # launch the system bar
exec-once = premid # discord custom rich presence
exec-once = blueman-applet # systray app for Bluetooth
exec-once = udiskie --no-automount --smart-tray # front-end that allows to manage removable media
exec-once = nm-applet --indicator # systray app for Network/Wifi
# exec-once = dunst # start notification demon
exec-once = wl-paste --type text --watch cliphist store # clipboard store text data
exec-once = wl-paste --type image --watch cliphist store # clipboard store image data
exec-once = $scrPath/swwwallpaper.sh # start wallpaper daemon
exec-once = $scrPath/batterynotify.sh # battery notification
exec-once = [ workspace special silent ] kitty # start kitty on start-up in a special workspace
exec-once = $scrPath/browser.sh # set browser

# █▀▀ █▄░█ █░█
# ██▄ █░▀█ ▀▄▀

# See https://wiki.hyprland.org/Configuring/Environment-variables/

env = PATH,$PATH:$scrPath
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = MOZ_ENABLE_WAYLAND,1
env = GDK_SCALE,1

# █ █▄░█ █▀█ █░█ ▀█▀
# █ █░▀█ █▀▀ █▄█ ░█░

# See https://wiki.hyprland.org/Configuring/Variables/

input {
    kb_layout = us
    kb_options = ctrl:nocaps
    follow_mouse = 1

    touchpad {
        natural_scroll = yes
    }

    sensitivity = 0
    force_no_accel = 1
}

# See https://wiki.hyprland.org/Configuring/Keywords/#executing

device {
    name = epic mouse V1
    sensitivity = -0.5
}

# See https://wiki.hyprland.org/Configuring/Variables/

gestures {
    workspace_swipe = true
    workspace_swipe_fingers = 3
}

# █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀
# █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█

# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/

dwindle {
    pseudotile = yes
    preserve_split = yes
}

# See https://wiki.hyprland.org/Configuring/Master-Layout/

master {
    new_status = true
}

# █▀▄▀█ █ █▀ █▀▀
# █░▀░█ █ ▄█ █▄▄

# See https://wiki.hyprland.org/Configuring/Variables/

misc {
    vrr = 0
    disable_hyprland_logo = false
    disable_splash_rendering = false
    force_default_wallpaper = 0
}

xwayland {
    force_zero_scaling = true
}

# █▀ █▀█ █░█ █▀█ █▀▀ █▀▀
# ▄█ █▄█ █▄█ █▀▄ █▄▄ ██▄

source = ~/.config/hypr/animations.conf
source = ~/.config/hypr/keybindings.conf
source = ~/.config/hypr/windowrules.conf
source = ~/.config/hypr/plugins/hyprbars.conf
source = ~/.config/hypr/plugins/hyprexpo.conf
source = ~/.config/hypr/plugins/hyprtrails.conf
source = ~/.config/hypr/themes/common.conf # shared theme settings
source = ~/.config/hypr/themes/theme.conf # theme specific settings
source = ~/.config/hypr/themes/colors.conf # wallbash color override
source = ~/.config/hypr/monitors.conf # initially empty, to be configured by user and remains static
source = ~/.config/hypr/userprefs.conf # initially empty, to be configured by user and remains static

# Note: as userprefs.conf is sourced at the end, settings configured in this file will override the defaults

Config File: /home/izumi/.config/hypr/animations.conf: Read Succeeded

# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█
# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█

# See https://wiki.hyprland.org/Configuring/Animations/

animations {
    enabled = yes
    bezier = wind, 0.05, 0.9, 0.1, 1.05
    bezier = winIn, 0.1, 1.1, 0.1, 1.1
    bezier = winOut, 0.3, -0.3, 0, 1
    bezier = liner, 1, 1, 1, 1
    animation = windows, 1, 6, wind, slide
    animation = windowsIn, 1, 6, winIn, slide
    animation = windowsOut, 1, 5, winOut, slide
    animation = windowsMove, 1, 5, wind, slide
    animation = border, 1, 1, liner
    animation = borderangle, 1, 30, liner, loop
    animation = fade, 1, 10, default
    animation = workspaces, 1, 5, wind
}

Config File: /home/izumi/.config/hypr/keybindings.conf: Read Succeeded

# █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀
# █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more

# Main modifier
$mainMod = SUPER # windows key
$mainModShift = SUPERSHIFT # windows shift key
$mainModAlt = SUPERALT # windows alt key

# assign apps
$term = kitty
$editor = code --ozone-platform-hint=wayland --disable-gpu
$file = dolphin
$browser = brave-browser-nightly --password-store=basic --ozone-platform-hint=wayland
$discord = discord --ozone-platform-hint=wayland

# Window/Session actions
bind = $mainMod, Q, exec, $scrPath/dontkillsteam.sh # killactive, kill the window on focus
bind = ALT, F4, exec, $scrPath/dontkillsteam.sh # killactive, kill the window on focus
bind = $mainMod, delete, exit, # kill hyperland session
bind = $mainMod, F, togglefloating, # toggle the window on focus to float
bind = $mainMod, G, togglegroup, # toggle the window on focus to group (tab mode)
bind = ALT, return, fullscreen, # toggle the window on focus to fullscreen
bind = $mainMod, L, exec, $scrPath/hyprlock.sh -h # lock screen
bind = $mainMod SHIFT, F, exec, $scrPath/windowpin.sh # toggle pin on focused window
bind = $mainMod, backspace, exec, $scrPath/logoutlaunch.sh 1 # logout menu
bind = $mainMod, W, exec, killall waybar || waybar # toggle waybar
bind = $mainModAlt, T, exec, $scrPath/hyprbars.sh # load or remove hyprbars
bind = $mainModShift, O, exec, hyprpicker -a # load color pciking tool

# Application shortcuts
bind = $mainMod, T, exec, $term  # open terminal
bind = $mainMod, E, exec, $file # open file manager
bind = $mainMod, C, exec, $editor # open vscode
bind = $mainMod, B, exec, $browser # open browser
bind = $mainMod, D, exec, $discord # open discord
bind = $CONTROL SHIFT, ESCAPE, exec, $scrPath/sysmonlaunch.sh  # open htop/btop if installed or default to top (system monitor)

# Rofi is toggled on/off if you repeat the key presses
bind = $mainMod, SPACE, exec, pkill -x rofi || $scrPath/rofilaunch.sh d # launch desktop applications
bind = $mainMod, slash, exec, Hyde show binds # show keybinding hints for Hyde
bindr = $mainModShift, slash, exec, Hyde show search --browser thorium-browser # Show WebSearch
bind = $mainMod, tab, exec, pkill -x rofi || $scrPath/rofilaunch.sh w # switch between desktop applications
bind = $mainMod, R, exec, pkill -x rofi || $scrPath/rofilaunch.sh f # browse system files
bind = $mainMod+Shift, R, exec, pkill -x rofi || wallbashtoggle.sh -m # toggle wallbash menu

# Audio control
# bindl  = , F10, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute
# bindel = , F11, exec, $scrPath/volumecontrol.sh -o d # decrease volume
# bindel = , F12, exec, $scrPath/volumecontrol.sh -o i # increase volume
bindl  = , XF86AudioMicMute, exec, $scrPath/volumecontrol.sh -i m # toggle microphone mute
bindel = , XF86AudioLowerVolume, exec, $scrPath/volumecontrol.sh -o d # decrease volume
bindel = , XF86AudioRaiseVolume, exec, $scrPath/volumecontrol.sh -o i # increase volume
bindl  = , XF86AudioPlay, exec, playerctl play-pause
bindl  = , XF86AudioPause, exec, playerctl play-pause
bindl  = , XF86AudioNext, exec, playerctl next
bindl  = , XF86AudioPrev, exec, playerctl previous

# Brightness control
bindel = , F4, exec, $scrPath/brightnesscontrol.sh i # increase brightness
bindel = , F3, exec, $scrPath/brightnesscontrol.sh d # decrease brightness
bindel = , XF86MonBrightnessUp, exec, $scrPath/brightnesscontrol.sh i # increase brightness
bindel = , XF86MonBrightnessDown, exec, $scrPath/brightnesscontrol.sh d # decrease brightness

# Screenshot/Screencapture
bind = $mainMod, P, exec, $scrPath/screenshot.sh s # drag to snip an area / click on a window to print it
bind = $mainMod CTRL, P, exec, $scrPath/screenshot.sh sf # frozen screen, drag to snip an area / click on a window to print it
bind = $mainModShift, P, exec, $scrPath/screenshot.sh m # print focused monitor
bind = ,print, exec, $scrPath/screenshot.sh p  # print all monitor outputs

# Exec custom scripts
bind = $mainMod ALT, G, exec, $scrPath/gamemode.sh # disable hypr effects for gamemode
bind = $mainMod ALT, right, exec, $scrPath/swwwallpaper.sh -n # next wallpaper
bind = $mainMod ALT, left, exec, $scrPath/swwwallpaper.sh -p # previous wallpaper
bind = $mainMod ALT, up, exec, $scrPath/wbarconfgen.sh n # next waybar mode
bind = $mainMod ALT, down, exec, $scrPath/wbarconfgen.sh p # previous waybar mode
# bind = $mainMod SHIFT, D, exec, $scrPath/wallbashtoggle.sh  # toggle wallbash on/off
bind = $mainMod SHIFT, T, exec, pkill -x rofi || $scrPath/themeselect.sh # theme select menu
bind = $mainMod , A, exec, pkill -x rofi || $scrPath/rofiselect.sh # rofi style select menu
bind = $mainMod SHIFT, W, exec, pkill -x rofi || $scrPath/swwwallselect.sh # rofi wall select menu
bind = $mainMod, V, exec, pkill -x rofi ||Hyde show pastebin c # open Pasteboard in screen center ##  $scrPath/cliphist.sh c
bind = $mainMod, K, exec, $scrPath/keyboardswitch.sh # change keyboard layout

# Toggle SwayNc

bind = $mainMod, grave, exec, swaync-client -t -sw # can be: toggle, off/disable or on/enable

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = ALT, Tab, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Switch workspaces relative to the active workspace with mainMod + CTRL + [←→]
bind = $mainMod CTRL, right, workspace, r+1
bind = $mainMod CTRL, left, workspace, r-1

# move to the first empty workspace instantly with mainMod + CTRL + [↓]
bind = $mainMod CTRL, down, workspace, empty

# Resize windows
binde = $mainMod SHIFT, right, resizeactive, 30 0
binde = $mainMod SHIFT, left, resizeactive, -30 0
binde = $mainMod SHIFT, up, resizeactive, 0 -30
binde = $mainMod SHIFT, down, resizeactive, 0 30

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Move active window to a relative workspace with mainMod + CTRL + ALT + [←→]
bind = $mainMod CTRL ALT, right, movetoworkspace, r+1
bind = $mainMod CTRL ALT, left, movetoworkspace, r-1

# Move active window around current workspace with mainMod + SHIFT + CTRL [←→↑↓]
bind = $mainMod SHIFT $CONTROL, left, movewindow, l
bind = $mainMod SHIFT $CONTROL, right, movewindow, r
bind = $mainMod SHIFT $CONTROL, up, movewindow, u
bind = $mainMod SHIFT $CONTROL, down, movewindow, d

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/Resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bindm = Super, Z, movewindow
bindm = Super, X, resizewindow

# Special workspaces (scratchpad)
bind = $mainMod ALT, S, movetoworkspacesilent, special
bind = $mainMod, S, togglespecialworkspace,

# Toggle Layout
bind = $mainMod, J, togglesplit, # dwindle

# Toggle Workspaces View/Expo

bind = $mainModShift, grave, hyprexpo:expo, toggle # can be: toggle, off/disable or on/enable

# Move window silently to workspace Super + Alt + [0-9]
bind = $mainMod ALT, 1, movetoworkspacesilent, 1
bind = $mainMod ALT, 2, movetoworkspacesilent, 2
bind = $mainMod ALT, 3, movetoworkspacesilent, 3
bind = $mainMod ALT, 4, movetoworkspacesilent, 4
bind = $mainMod ALT, 5, movetoworkspacesilent, 5
bind = $mainMod ALT, 6, movetoworkspacesilent, 6
bind = $mainMod ALT, 7, movetoworkspacesilent, 7
bind = $mainMod ALT, 8, movetoworkspacesilent, 8
bind = $mainMod ALT, 9, movetoworkspacesilent, 9
bind = $mainMod ALT, 0, movetoworkspacesilent, 10

# Trigger when the switch is turning off, Might cause bugs. Recommend to use logind instead.
#bindl= , switch:on:Lid Switch, exec, swaylock && systemctl suspend

Config File: /home/izumi/.config/hypr/windowrules.conf: Read Succeeded

# █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀█ █░█ █░░ █▀▀ █▀
# ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █▀▄ █▄█ █▄▄ ██▄ ▄█

# See https://wiki.hyprland.org/Configuring/Window-Rules/

windowrulev2 = opacity 0.90 0.90,class:^(firefox)$
windowrulev2 = opacity 0.90 0.90,class:^(Brave-browser)$
windowrulev2 = opacity 0.80 0.80,class:^(code-oss)$
windowrulev2 = opacity 0.80 0.80,class:^(Code)$
windowrulev2 = opacity 0.80 0.80,class:^(VSCodium)$
windowrulev2 = opacity 0.80 0.80,class:^(code-url-handler)$
windowrulev2 = opacity 0.80 0.80,class:^(code-insiders-url-handler)$
windowrulev2 = opacity 0.80 0.80,class:^(kitty)$
windowrulev2 = opacity 0.80 0.80,class:^(org.kde.dolphin)$
windowrulev2 = opacity 0.80 0.80,class:^(org.kde.ark)$
windowrulev2 = opacity 0.80 0.80,class:^(nwg-look)$
windowrulev2 = opacity 0.80 0.80,class:^(qt5ct)$
windowrulev2 = opacity 0.80 0.80,class:^(qt6ct)$
windowrulev2 = opacity 0.80 0.80,class:^(kvantummanager)$
windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$
windowrulev2 = opacity 0.80 0.70,class:^(blueman-manager)$
windowrulev2 = opacity 0.80 0.70,class:^(nm-applet)$
windowrulev2 = opacity 0.80 0.70,class:^(nm-connection-editor)$
windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = opacity 0.80 0.70,class:^(polkit-gnome-authentication-agent-1)$
windowrulev2 = opacity 0.80 0.70,class:^(org.freedesktop.impl.portal.desktop.gtk)$
windowrulev2 = opacity 0.80 0.70,class:^(org.freedesktop.impl.portal.desktop.hyprland)$
windowrulev2 = opacity 0.70 0.70,class:^([Ss]team)$
windowrulev2 = opacity 0.70 0.70,class:^(steamwebhelper)$
windowrulev2 = opacity 0.70 0.70,class:^(Spotify)$
windowrulev2 = opacity 0.70 0.70,initialTitle:^(Spotify Free)$

windowrulev2 = opacity 0.90 0.90,class:^(com.github.rafostar.Clapper)$ # Clapper-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(com.github.tchx84.Flatseal)$ # Flatseal-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(hu.kramo.Cartridges)$ # Cartridges-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(com.obsproject.Studio)$ # Obs-Qt
windowrulev2 = opacity 0.80 0.80,class:^(gnome-boxes)$ # Boxes-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(discord)$ # Discord-Electron
windowrulev2 = plugin:hyprbars:nobar, title:(Discord Updater)
windowrulev2 = opacity 0.80 0.80,class:^(WebCord)$ # WebCord-Electron
windowrulev2 = opacity 0.80 0.80,class:^(ArmCord)$ # ArmCord-Electron
windowrulev2 = opacity 0.80 0.80,class:^(app.drey.Warp)$ # Warp-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(net.davidotek.pupgui2)$ # ProtonUp-Qt
windowrulev2 = opacity 0.80 0.80,class:^(yad)$ # Protontricks-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(Signal)$ # Signal-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(io.github.alainm23.planify)$ # planify-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(io.gitlab.theevilskeleton.Upscaler)$ # Upscaler-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(com.github.unrud.VideoDownloader)$ # VideoDownloader-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(io.gitlab.adhami3310.Impression)$ # Impression-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(io.missioncenter.MissionCenter)$ # MissionCenter-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(io.github.flattool.Warehouse)$ # Warehouse-Gtk

windowrulev2 = float,class:^(org.kde.dolphin)$,title:^(Progress Dialog — Dolphin)$
windowrulev2 = float,class:^(org.kde.dolphin)$,title:^(Copying — Dolphin)$
windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = float,class:^(firefox)$,title:^(Library)$
windowrulev2 = float,class:^(kitty)$,title:^(top)$
windowrulev2 = float,class:^(kitty)$,title:^(btop)$
windowrulev2 = float,class:^(kitty)$,title:^(htop)$
windowrulev2 = float,class:^(vlc)$
windowrulev2 = float,class:^(kvantummanager)$
windowrulev2 = float,class:^(qt5ct)$
windowrulev2 = float,class:^(qt6ct)$
windowrulev2 = float,class:^(nwg-look)$
windowrulev2 = float,class:^(org.kde.ark)$
windowrulev2 = float,class:^(pavucontrol)$
windowrulev2 = float,class:^(blueman-manager)$
windowrulev2 = float,class:^(nm-applet)$
windowrulev2 = float,class:^(nm-connection-editor)$
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$

windowrulev2 = float,class:^(Signal)$ # Signal-Gtk
windowrulev2 = float,class:^(com.github.rafostar.Clapper)$ # Clapper-Gtk
windowrulev2 = float,class:^(app.drey.Warp)$ # Warp-Gtk
windowrulev2 = float,class:^(net.davidotek.pupgui2)$ # ProtonUp-Qt
windowrulev2 = float,class:^(yad)$ # Protontricks-Gtk
windowrulev2 = float,class:^(eog)$ # Imageviewer-Gtk
windowrulev2 = float,class:^(io.github.alainm23.planify)$ # planify-Gtk
windowrulev2 = float,class:^(io.gitlab.theevilskeleton.Upscaler)$ # Upscaler-Gtk
windowrulev2 = float,class:^(com.github.unrud.VideoDownloader)$ # VideoDownloader-Gkk
windowrulev2 = float,class:^(io.gitlab.adhami3310.Impression)$ # Impression-Gtk
windowrulev2 = float,class:^(io.missioncenter.MissionCenter)$ # MissionCenter-Gtk

# █░░ ▄▀█ █▄█ █▀▀ █▀█   █▀█ █░█ █░░ █▀▀ █▀
# █▄▄ █▀█ ░█░ ██▄ █▀▄   █▀▄ █▄█ █▄▄ ██▄ ▄█

layerrule = blur,rofi
layerrule = ignorezero,rofi
layerrule = blur,notifications
layerrule = ignorezero,notifications
layerrule = blur,swaync-notification-window
layerrule = ignorezero,swaync-notification-window
layerrule = blur,swaync-control-center
layerrule = ignorezero,swaync-control-center
layerrule = blur,logout_dialog

Config File: /home/izumi/.config/hypr/plugins/hyprbars.conf: Read Succeeded
plugin {
    hyprbars {
        # example config
        bar_height = 25
        bar_text_font = Cascadia Code Bold Italic
        bar_color = rgba(161B22DD)
        bar_precedence_over_border = true

        # example buttons (R -> L)
        # hyprbars-button = color, size, on-click
        # hyprbars-button = rgb(ff4040), 20, 󰖭, hyprctl dispatch killactive
        # hyprbars-button = rgb(eeee11), 10, , hyprctl dispatch fullscreen 1
    }
}

Config File: /home/izumi/.config/hypr/plugins/hyprexpo.conf: Read Succeeded
# bind = SUPER, grave, hyprexpo:expo, toggle # can be: toggle, off/disable or on/enable

plugin {
    hyprexpo {
        columns = 3
        gap_size = 10
        bg_col = rgb(11111f)
        workspace_method = first 1 # [center/first] [workspace] e.g. first 1 or center m+1

        enable_gesture = true # laptop touchpad
        gesture_fingers = 3  # 3 or 4
        gesture_distance = 300 # how far is the "max"
        gesture_positive = true # positive = swipe down. Negative = swipe up.
    }
}

Config File: /home/izumi/.config/hypr/plugins/hyprtrails.conf: Read Succeeded
plugin {
    hyprtrails {
        # color = rgba(00bfff80)
        color = rgba(212B3395)
    }
}

Config File: /home/izumi/.config/hypr/themes/common.conf: Read Succeeded

# █▀▀ █░█ █▀█ █▀ █▀█ █▀█
# █▄▄ █▄█ █▀▄ ▄█ █▄█ █▀▄

exec = hyprctl setcursor Bibata-Modern-Ice 20
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
exec = gsettings set org.gnome.desktop.interface cursor-size 20

# █▀▀ █▀█ █▄░█ ▀█▀
# █▀░ █▄█ █░▀█ ░█░

exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10'
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9'
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'

# █▀ █▀█ █▀▀ █▀▀ █ ▄▀█ █░░
# ▄█ █▀▀ ██▄ █▄▄ █ █▀█ █▄▄

decoration {
    dim_special = 0.3
    blur {
        special = true
    }
}

Config File: /home/izumi/.config/hypr/themes/theme.conf: Read Succeeded
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-dracula'
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Mocha'
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

general {
    gaps_in = 3
    gaps_out = 8
    border_size = 2
    col.active_border = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
    col.inactive_border = rgba(b4befecc) rgba(6c7086cc) 45deg
    layout = dwindle
    resize_on_border = true
}

group {
    col.border_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
    col.border_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
    col.border_locked_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
    col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
}

decoration {
    rounding = 10
    drop_shadow = false

    blur {
        enabled = yes
        size = 6
        passes = 3
        new_optimizations = on
        ignore_opacity = on
        xray = false
    }
}

#layerrule = blur,waybar

Config File: /home/izumi/.config/hypr/themes/colors.conf: Read Succeeded
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Wallbash-Gtk'
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

general {
    col.active_border = rgba(C9B9ABff) rgba(523C29ff) 45deg
    col.inactive_border = rgba(252220ff) rgba(595F51ff) 45deg
}

group {
    col.border_active = rgba(C9B9ABff) rgba(523C29ff) 45deg
    col.border_inactive = rgba(252220cc) rgba(595F51cc) 45deg
    col.border_locked_active = rgba(FFFFFFff) rgba(0B0B0Bff) 45deg
    col.border_locked_inactive = rgba(FFFFFFcc) rgba(FFFFFFcc) 45deg
}

Config File: /home/izumi/.config/hypr/monitors.conf: Read Succeeded

# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█ █▀
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄ ▄█

# Set your monitor configuration here
# See https://wiki.hyprland.org/Configuring/Monitors/

Config File: /home/izumi/.config/hypr/userprefs.conf: Read Succeeded

#█░█ █▀ █▀▀ █▀█   █▀█ █▀█ █▀▀ █▀▀ █▀
#█▄█ ▄█ ██▄ █▀▄   █▀▀ █▀▄ ██▄ █▀░ ▄█

# Set your personal hyprland configuration here
# for sample file, please refer https://github.com/prasanthrangan/hyprdots/blob/main/Configs/.config/hypr/userprefs.t2

======Config-End========

Description
well around the lines of version 40 and 41 it stoped working but volume up and down works no issus there.
How to reproduce
update to latest version or version 40. works fine on around version 38-39.
Crash reports, logs, images, videos
No response

you mean
# bindl  = , F10, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute

? It's commented out.

you mean
# bindl  = , F10, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute

? It's commented out.

@vaxerski ik that. but like function keys for muting and all just dont work. it used to work. not sure what went wrong

I don't see Xf86AudioMute anywhere in your config. Have you added it after posting the config in the issue?

um let me do that. weird it did have it

hye thanks for pointing this out. i never thought it was the that caused the issues. it seems that it got removed somehow even though i never did that. could be due to siome commands or mistake on myu -part.
with that said the onlyu issue i have is that if i press numlock that should just lock numbers right?? i only get acess to nyumber when i hit numlock like everything is opposite. of it

if the original issue is fixed then close it and make a new one for the other one

authors: MightyPlaza fufexan its-19818942118 vaxerski


text:
"fatal error: SharedDefs.hpp: No such file or directory" when building any plugin

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch main at commit 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7  (internal: introduce new types to avoid unsigned int rollover and signed int overflow (7216)).
Date: Thu Aug 8 22:01:50 2024
Tag: v0.42.0-2-g4b4971c0, commits: 5071

flags: (if any)

System Information:
System name: Linux
Node name: amnesia
Release: 6.10.3-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 06 Aug 2024 07:21:19 +0000

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1080] [10de:1b80] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  555.58.02  Tue Jun 25 01:39:15 UTC 2024

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

Description
After the 0.42 update, I cannot compile any plugins, getting the following error:

../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.

The same error appears for plugins I'm building manually from source, and plugins installed using hyprpm.
I've tried rebuilding Hyprland; does not fix the issue.
I've tried building a plugin in a debug session of Hyprland; same error.
How to reproduce
Running hyprpm add <url> -v with any plugin causes the error for me.
Crash reports, logs, images, videos
No response

I have the exact same issue.
here is a full output from hyprpm add https://github.com/hyprwm/hyprland-plugins -v:
[v] version returned: Hyprland, built from branch main at commit 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7  (internal: introduce new types to avoid unsigned int rollover and signed int overflow (7216)).
Date: Thu Aug 8 21:01:50 2024
Tag: v0.42.0-2-g4b4971c0, commits: 5071

flags: (if any)

[v] parsed commit 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7 at branch main on Thu Aug 8 21:01:50 2024, commits 5071
✔ adding a new plugin repository from https://github.com/hyprwm/hyprland-plugins
  MAKE SURE that you trust the authors. DO NOT install random plugins without verifying the code and author.
  Are you sure? [Y/n]

 → Cloning https://github.com/hyprwm/hyprland-plugins
✔ cloned
✔ found hyprpm manifest
✔ parsed manifest, found 6 plugins:
 → borders-plus-plus by Vaxry version
 → csgo-vulkan-fix by Vaxry version
 → hyprbars by Vaxry version
 → hyprexpo by Vaxry version
 → hyprtrails by Vaxry version
 → hyprwinwrap by Vaxry version
 → Manifest has 16 pins, checking
✔ Hyprland headers OK
 → Building borders-plus-plus
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/turtle && PKG_CONFIG_PATH="/home/turtle/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C borders-plus-plus all
make: Entering directory '/tmp/hyprpm/turtle/borders-plus-plus'
g++ -shared -fPIC --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:6:
/home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/Log.hpp:9,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:2,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from borderDeco.hpp:5,
                 from borderDeco.cpp:1:
/home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/turtle/borders-plus-plus'

✖ Plugin borders-plus-plus failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 → Building csgo-vulkan-fix
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/turtle && PKG_CONFIG_PATH="/home/turtle/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C csgo-vulkan-fix all
make: Entering directory '/tmp/hyprpm/turtle/csgo-vulkan-fix'
g++ -shared -fPIC --no-gnu-unique main.cpp -o csgo-vulkan-fix.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:5:
/home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/turtle/csgo-vulkan-fix'

✖ Plugin csgo-vulkan-fix failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 → Building hyprbars
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/turtle && PKG_CONFIG_PATH="/home/turtle/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprbars all
make: Entering directory '/tmp/hyprpm/turtle/hyprbars'
g++ -shared -fPIC --no-gnu-unique -g -std=c++2b -Wno-c++11-narrowing `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` main.cpp barDeco.cpp  -o hyprbars.so `pkg-config --libs pangocairo` -O2
In file included from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:6:
/home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/Log.hpp:9,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:2,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from barDeco.hpp:5,
                 from barDeco.cpp:1:
/home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:11: hyprbars.so] Error 1
make: Leaving directory '/tmp/hyprpm/turtle/hyprbars'

✖ Plugin hyprbars failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 → Building hyprexpo
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/turtle && PKG_CONFIG_PATH="/home/turtle/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprexpo all
make: Entering directory '/tmp/hyprpm/turtle/hyprexpo'
g++ -shared -fPIC --no-gnu-unique main.cpp overview.cpp -o hyprexpo.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -Wno-narrowing
In file included from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:5:
/home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/Log.hpp:9,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../defines.hpp:2,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/PluginAPI.hpp:26,
                 from globals.hpp:3,
                 from overview.hpp:5,
                 from overview.cpp:1:
/home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/turtle/hyprexpo'

✖ Plugin hyprexpo failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 → Building hyprtrails
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/turtle && PKG_CONFIG_PATH="/home/turtle/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprtrails all
make: Entering directory '/tmp/hyprpm/turtle/hyprtrails'
g++ -shared -fPIC --no-gnu-unique main.cpp trail.cpp -o hyprtrails.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:6:
/home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/Log.hpp:9,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../defines.hpp:2,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/PluginAPI.hpp:26,
                 from trail.hpp:6,
                 from trail.cpp:1:
/home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/turtle/hyprtrails'

✖ Plugin hyprtrails failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 → Building hyprwinwrap
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/turtle && PKG_CONFIG_PATH="/home/turtle/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprwinwrap all
make: Entering directory '/tmp/hyprpm/turtle/hyprwinwrap'
g++ -shared -fPIC --no-gnu-unique main.cpp -o hyprwinwrap.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:11:
/home/turtle/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/turtle/hyprwinwrap'

✖ Plugin hyprwinwrap failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

✔ all plugins built
✔ installed repository
✔ you can now enable the plugin(s) with hyprpm enable
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Done!

Furthermore - I went ahead to downgrade to v0.41.2 to get plugins back up and running. It was a pain.
hyprpm does not seem to take the current branch into account when cloning the hyprland repo, so it'll clone v0.42.0 and crash trying to find missing library files (wlroots stuff that was removed).
Quick and dirty fix:
edit .hyprpm/src/core/PluginManager.cpp at line 440:
std::string ret = execAndGet("cd /tmp/hyprpm && git clone --recursive --branch v0.41.2 https://github.com/hyprwm/hyprland hyprland-" + USERNAME + (bShallow ? " --shallow-since='" + SHALLOW_DATE + "'" : ""));
It'll pull the correct branch for v0.41.2 and hyprpm will run with no issues.
p.s. I could fix hyprpm to read the branch and clone that from git and do a PR, unless you're working on a different fix.

#7245

source: gharchive/issue

authors: TurtleMeds lifer0se vaxerski

repo: hyprwm/Hyprland

license_type: permissive

license_source: github-api


text:
Identify monitor using wl_output inside shader

Description
Hello, It came to my attention that it should be possible to import the uniform wl_output into the shader. The  docs state, that this object also has a string property model.
My goal is to apply the shader only to a certain monitor. In my case I could also use the unique resolution of my monitor. Strings do not exist inside the shader.
I tried to import  wl_output and use a condition and the height property. But it didn't produce the expected output:
struct WL_OUTPUT {
    int x;
    int y;
    int physical_width;
    int physical_height;
};

precision highp float;
varying vec2 v_texcoord;
uniform sampler2D tex;
uniform WL_OUTPUT wl_output;

void main() {
    vec2 fragCoord = gl_FragCoord.xy;

    if(fragCoord.x <= float(wl_output.physical_height)) {
      gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);;
    } else {
      gl_FragColor = texture2D(tex, v_texcoord);
    }
}

I wanted to ask, if I am missing something in my snippet?
Thank you!

The docs linked aren't relevant to Hyprland's screen shader. The wl_output exposed to the shader is the ID of the monitor as an integer.
So you would have uniform int wl_output; somewhere near the top, and you can find out what your monitor's ID is with the command hyprctl monitors.

awesome! That's very helpful! Thanks

solved as per above

authors: gnusenpai mklan vaxerski


text:
Unable to run OpenGL games with Integrated Graphics mode while my NVidia card is preferred in the hyprland.conf file.

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch  at commit 4520b30d498daca8079365bdb909a8dea38e8d55  (version: bump to 0.44.1).
Date: Wed Oct 9 12:54:39 2024
Tag: v0.44.1, commits: 5309
built against aquamarine 0.4.3

flags: (if any)

System Information:
System name: Linux
Node name: ARCHUS
Release: 6.11.5-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Tue, 22 Oct 2024 18:31:38 +0000

GPU information:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-H GT1 [UHD Graphics] [8086:9a68] (rev 01) (prog-if 00 [VGA controller])
0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] [10de:25a0] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64  560.35.03  Release Build  (archlinux-builder@)

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

Description
I have an Asus TUF laptop, and I'm running supergfxctl to switch between Integrated and Hybrid whenever I need to save battery power, here's the issue though, as of recently I've had this error pop up whenever I tried to run games in Integrated Graphics (sounds stupid, I know, but I sometimes kill time with this).
TL;DR: Whenever trying to run Minecraft this error printed: GLFW error 65543: GLX: Failed to create context: GLXBadFBConfig which was due to me having selected NVidia Graphics as my OpenGL backend when they didn't exist running Integrated Graphics.
Now the issue is that whenever running Hybrid Graphics, it prefers using the MESA Intel Graphics rather than the ones from my NVidia Card. I was wondering if anyone who had used supergfxctl in Hyprland had been successfully able to run games on Integrated Graphics while also being able to run NVidia Graphics in Hybrid mode, without Integrated mode failing.
How to reproduce
Have an Asus TUF/ROG Laptop or similar with a NVidia Dedicated GPU.

Add these following lines to your hyprland.conf

env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia

Use supergfxctl to run Integrated Graphics mode.
Run any OpenGL game.

Crash reports, logs, images, videos
No response

does it work on sway or kde? I fail to see how this is a hyprland issue

This issue has already been resolved in a separate forum.

authors: ItsFireStorm vaxerski


text:
Active window border is not blurred for layer shell widows with blurls

Installed from AUR hyprland-git
I'm using eww as example. I have seen this behaviour with other transparent layer shells too.
Steps to reproduce:

Set blurls=gtk-layer-shell to blur eww window.
set some active border thickness and color in Hyprland config. Also enable blur.
In eww config set window stacking to 'fg' or 'overlay' and exclusive to 'false'. Set background transparent in scss.
open eww window and some normal windows.

Expected outcome:
eww window should have blur from opened windows from background.
Noted outcome:
eww window does have blur but border of active window is too sharp. Its like blur is ignoring active window border.

I think you need to increase the passes. The top one is the same, but the color is closer to the background so it isn't as noticeable.

Okay I tried setting both borders same yet active border is still a bit sharper.

It's not sharper, it's just the drop shadows creating higher contrast.

Isn't that contrast bleeding into actual window where there's not shadow? Is it intended behavior?

Contrast isn't bleeding. Contrast is just the higher difference between 2 colors that make one of them appear brighter.
So I don't really understand the question.

I don't know. Currently my blur is set to size to 5 and passes to 3. Even if shadow should add some contrast, aren't windows just way sharper?

For example check this screen shot, same configs
no shadow:

with shdaow:

I can actually make out text in the white area which should not be affected by shadow right?

Something is wrong. The shadow shouldn't influence the blur.

Should I open another issue for this?

No.

This behavior is like what you get when you set blur_ignore_opacity=false and set window_opacity.

This behavior is like what you get when you set blur_ignore_opacity=false and set window_opacity.

finally fixed 6c10c384813890ed137f73ee79452cbe8c6f1dca :)

authors: autofool fufexan vaxerski


text:
feat: add treefmt-nix

Describe your PR, what does it fix/add?
This adds treefmt-nix to the Nix flake. treefmt brings together most formatters (including clang-format and alejandra) and brings its together into one. The main benefit that comes out of this is now you can just run one command nix fmt . and format the entire project. (Well, at least the .cpp and the .nix files, since they are the only file formats that matter here lol.)
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Doesn't seem to be anything that seems like abhorrently terrible other than a new flake input making the download process like 0.05% slower. (THE HORROR...)
It shouldn't break anything Hyprland or the flake, the only change made was the formatter.
Is it ready for merging, or does it need work?
I believe it is ready.

cc @fufexan @NotAShelf

I'm not sure if we really need treefmt-nix. If we had a convoluted stack of formatters, that could be useful but with just two I don't see a reason why we couldn't use a bash script to format files by filetype.

If we had a convoluted stack of formatters, that could be useful but with just two I don't see a reason why we couldn't use a bash script to format files by filetype.

I will agree in saying that this is kind of an overkill way of formatting with Nix in this case, but it is better for speed and it may help once we decide we should format Markdown files or other stuff too (probably not going to happen).

here's a quick and relatively fast (much faster than bash) example:
writeDashBin "lint" {
  makeWrapperArgs = [
    "--prefix" "PATH" ":" "${lib.makeBinPath [ pkgs.alejandra ]}"
  ];
} ''
	if [ -z "''${1:-""}" ] || [ "$1" == "." ]; then
      fd '.*\.nix' . -x statix fix -- {} \;
      fd '.*\.nix' . -X deadnix -e -- {} \; -X nixfmt {} \;
    else
      statix fix -- "$1"
      deadnix -e "$1"
      nixfmt "$1"
    fi
''

apply clang-formatter as seen fit, and we have a treewide formatter without a module addition.

apply clang-formatter as seen fit, and we have a treewide formatter without a module addition.

This script looks really interesting :eyes: I can think of some ways of expanding this.

{ writeDashBin, deadnix, statix, alejandra, llvmPackages_19, lib }:
writeDashBin "fmt" {
  makeWrapperArgs = [
    "--prefix" "PATH" ":" "${lib.makeBinPath [ deadnix statix alejandra llvmPackages_19.clang-unwrapped ]}"
  ];
} ''
  # thanks NotAShelf for the nix formatting script :)
  nix_format() {
    if [ -z "''${1:-""}" ] || [ "$1" == "." ]; then
      fd '.*\.nix' . -x statix fix -- {} \;
      fd '.*\.nix' . -X deadnix -e -- {} \; -X alejandra {} \;
    else
      statix fix -- "$1"
      deadnix -e "$1"
      alejandra "$1"
    fi
  }

  cpp_format() {
    if [ -z "''${1:-""}" ] || [ "$1" == "." ]; then
      fd '.*\.cpp' . -x clang-format -i {} \;
    else
      clang-format -i "$1"
    fi
  }

  for i in $@; do
    echo "formatting $i ..."
    nix_format
    cpp_format
  done
''

I think you can use clang-tools for a smaller-closure package that provides clang-format.

I believe this is complete, the formatter should be good now.

Looks good, and this is a nice addition. I think it would be complemented nicely by cachix/git-hooks.nix. @NotAShelf thoughts?

I'm in favor of not adding extra inputs, but I'd be okay git-hooks.nix since there's no good alternative.

ill see about integrating git-hooks, seems to be a popular move.

@vaxerski how would you feel about adding clang-tidy into the codebase?

ill see about integrating git-hooks, seems to be a popular move.
basically done, commiting once its actually done

Barebones implemenetation of git-hooks made. Highly suggest a thorough look.

what did i mean by that
what i mean to say now is it makes the argument check simpler since if the script is called without args it will now know that.

Two things I've noticed:

nix fmt is very slow, takes 24s on my machine.
subprojects/ should not be formatted.

Two things I've noticed:

nix fmt is very slow, takes 24s on my machine.
subprojects/ should not be formatted.

Is the former an initial run? It took like 3 or 5 seconds for me.
The latter was fixed in the commit above.

Yeah, the first point was an initial run after I intentionally misformatted flake.nix.

I'll see if I can replicate any of the speed degredations that you get with the format tool.

I figured out why it was slow as hell, and it was the subprojects. Currently works pretty well I'd say.

fair enough lol, thanks for the fix

how would you feel about adding clang-tidy into the codebase? i feel may its best be left in another PR but your mood is the deciding factor here

no.

no.

thats fair enough

Perhaps another nice addition would be a formatting check in CI. Not sure how to achieve this without adding a --check flag to the formatter script.
But that can be done in another PR. For now I'll merge this.

I'll take a look at implementing a check script.

source: gharchive/pull-request

authors: NotAShelf amadalusia fufexan vaxerski


text:
folk update

231215 folk update

folk update

repo: hyqskevin/chatgpt-on-wechat

license: MIT


text:
Constructor options doesn't support 2 new options since better-sqlite3@5.0.0

There are 2 new options introduced in better-sqlite3 v5.0.0 and v5.4.0: timeout and verbose.
https://github.com/JoshuaWise/better-sqlite3/blob/master/docs/api.md#new-databasepath-options

Sorry, I've been busy lately, I just updated this package, you can run npm update better-sqlite-pool to update it now.

Thank you very much for your fix.

authors: ConPac hyurl

repo: hyurl/better-sqlite-pool


text:
[FEATURE_REQUEST] PWA color head

Is your feature request related to a problem? If so, please describe.
No response
Describe the solution you'd like
Right now, when creating a PWA, the header has a white fill color. It should be changed to bend color
Priority
Low (Nice-to-have)
Is this something you would be keen to implement
None

👋 @hywax
Thanks for opening your first issue here!
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
If you like this project, please ⭐ star our repo.

authors: hywax hywax-assistant

repo: hywax/mafl


text:
Importing t() from i18next (instead of from request) is resulting in error "Cannot read property 'translator' of undefined"

I've setup i18next with the express-middleware package. Everything works fine with translating strings with the lng and t() function from the request object. However if I import it from the i18next instance itself, I get the error "Cannot read property 'translator' of undefined" when calling t() with my own language string (not importing that from i18next, just passing it in hardcoded).
A console.log(i18next) learns that the import works, I also have a t(), it only not works. The use case for this: i'm having a business layer that data fetching and transformations (like translations) and when doing a business layer to business layer call, I not always have the request object available.

try the use not importing t but using i18next.t

Thanks for the quick follow up. You mean not importing from the i18next instance but directly from the i18next module?

idk...never used the middleware or i18next with imports on node.js -> so not sure how that works out in the end.
just guess import { t } from 'i18next' might work not as expected - but like said...idk
but using i18next.t from some var i18next = require('i18next') should work

somewhere you add i18next to the middleware:
app.use(
middleware.handle(i18next, {
ignoreRoutes: ["/foo"],
removeLngFromUrl: false
})
);
just use i18next.t on that i18next -> should work (the one instance you init)

I understand what you mean, I actually did that, but that does result in the error Cannot read property 'translator' of undefined". The t() function is actually being called, but somehow not with the same outcome as calling the t() on the request object.

You are right :)
Setting the t() function like this does work correctly;
return { lng: 'en', t: i18next.t.bind(i18next) };

@senser1 could you provide an example?
I'm trying to use i18n instance t function without request object, but it looks like it has no access to loaded locales, because it just returns keys as they are

@plxel sounds like you call t before init call is done...did you wait until callback of init is called before calling that t function ?

@jamuhl I thought about it
But I tried to use instance inside my resolver, which also has access to req object, and req.i18n.t works fine

try calling t with a lng (main instance has no lng set as using the main global instance will collide with other user requests) -> i18n.t(key, { lng: 'de' });

@jamuhl
ok, looks like if I call it inside of my resolver i18n.t(key, { lng: 'ru' }) it translates this correctly, but I put 'en', it still not working and also creates missing.json file for that key, despite the translation.json is present
Also I tried to force change language on server start using changeLanguage to en. After that I just see that language and languages properties are set to en on i18n instance (before that it was undefined), but still it is not translating the key.
Also, if it uses global instance, is there a way to use i18n instance outside of scope where req is defined? without hardcoding lng parameter, so that it uses the current language

I found in source, that middleware uses cloneInstance, so if I need to sync instances I have to to do it manually somehow

that's because request are async in nodejs -> any colliding request on same time would interfere with each other -> so every request gets it's own instance with set language correctly detected for that request.

@jamuhl ok, thanks
I will try to figure out how it's better to organise my code then

authors: jamuhl plxel senser1

license: mit

license_source: bigquery


text:
Request for Enhancement

Is it possible to have a form similar to the login form where we can capture user input before the user interacts with the services?
We need to have access to a session variable where the value of this determines what sql tables are accessible. At present, we provided a dropdown at the service level to capture this, which was rejected by the client. It would be good if we could have/construct a form, post sign in, that could ask the user to select an option from a dropdown box and store that selection in a way that all services can access.
Is it possible to have this type of functionality added?

Hi @CharlesMarriott-VA,
Have you looked into i2 Connect user specific configuration feature? This would allow you to decide how to present a form based on the user trying to access it.

Hi @CharlesMarriott-VA
Did the suggestion from Ricardo allow you to do what you wanted?

I will close this one out as we have not had a response which hopefully means @Ricardo-Antunes-i2  suggestion helped.
Cheers


text:
[Request] Can you make it compatible with gamepad?

As the title says, what about doing it so that, for instance, doing some START+SELECT or something like that, it works with gamepad?
It's just a little suggestion. Thanks for everything and great work!!

Hi, it's likely possible to implement. I will take a look in the next few days.

if you use dualshocks, its easy to map something like top touchpad press to the P letter in ds4win. theres also joytokey
implemantation of a default gamepad key for pause may be troublesome, theres no standards for xinput/dinput, and a shortcut that would work for a controller brand may not work with another. but if you feel like going that way, l3+r3 would be a safer bet.
by the way, thank you for the release of this mod

This game works perfectly fine with DS4Windows by emulating the Xbox controller. I will probably come with the controller solution later today, stay tuned.

authors: Arthursza iArtorias xatornet


text:
Prevent arbitrary file writes with malicious resource names.

Fixes: #GHSA-2hqv-2xv4-5h5w

I clearly suck at understanding Windows pathing and cross-platform. Will revisit after some learning/research

I still think that we can stick to extracting to the same path inside of the apk/zip itself. Basically unzipping but decoding some types on-the-fly.

The challenge I suffer with here is that Path/File want to detect the path separator from the host OS. I want to specify one because as you mentioned these are paths correlating to Zip/Apk and then transitioned to host system. So for now - a basic check for traversal, which should suffice.

Looks nice. Great effort!

@iBotPeaches Can you cut a new release for apktool with this patch? I see that there is 2.10.0 scoped for April. Since this is a security fix, can we get a fixed version in the interim?

@iBotPeaches Can you cut a new release for apktool with this patch? I see that there is 2.10.0 scoped for April. Since this is a security fix, can we get a fixed version in the interim?

I was planning a patch release this weekend.

@iBotPeaches Can you cut a new release for apktool with this patch? I see that there is 2.10.0 scoped for April. Since this is a security fix, can we get a fixed version in the interim?

Now its out - v2.9.2 - https://apktool.org/blog/apktool-2.9.2

authors: 0x33c0unt ajinabraham iBotPeaches

repo: iBotPeaches/Apktool


text:
no divce found

please help me
Last login: Tue Feb 26 00:27:47 on console
/Applications/Couch\ Slouch\ copy.app/Contents/MacOS/Couch\ Slouch ; exit;
MACs-Mac-mini:~ DELLAS$ /Applications/Couch\ Slouch\ copy.app/Contents/MacOS/Couch\ Slouch ; exit;
2019-02-26 01:08:55.206 Couch Slouch[782:99072] Launcher 'org.danielkennett.CouchSlouchLoginHelper' is configured to start at login
2019-02-26 01:08:58.638 Couch Slouch[782:99072] error opening serial port '/dev/cu.usbmodemv51': Couldn't lock the serial port
2019-02-26 01:08:58.638 Couch Slouch[782:99072] could not open a connection (try 1)
2019-02-26 01:09:01.464 Couch Slouch[782:99072] error opening serial port '/dev/cu.usbmodemv51': Couldn't lock the serial port
2019-02-26 01:09:01.464 Couch Slouch[782:99072] could not open a connection (try 2)
2019-02-26 01:09:03.350 Couch Slouch[782:99072] error opening serial port '/dev/cu.usbmodemv51': Couldn't lock the serial port
2019-02-26 01:09:03.350 Couch Slouch[782:99072] could not open a connection (try 3)
2019-02-26 01:09:04.605 Couch Slouch[782:99072] error opening serial port '/dev/cu.usbmodemv51': Couldn't lock the serial port
2019-02-26 01:09:04.605 Couch Slouch[782:99072] could not open a connection (try 4)
2019-02-26 01:09:05.692 Couch Slouch[782:99072] could not start CEC communications
2019-02-26 01:09:09.081 Couch Slouch[782:99072] TRANSMIT_FAILED_ACK
2019-02-26 01:09:10.167 Couch Slouch[782:99072] HIGH_ERROR line:189 time:1521
2019-02-26 01:09:10.179 Couch Slouch[782:99072] HIGH_ERROR line:189 time:1485
2019-02-26 01:09:10.191 Couch Slouch[782:99072] HIGH_ERROR line:189 time:1480
2019-02-26 01:09:10.197 Couch Slouch[782:99072] HIGH_ERROR line:189 time:1528
2019-02-26 01:09:10.210 Couch Slouch[782:99072] HIGH_ERROR line:189 time:646
2019-02-26 01:09:10.221 Couch Slouch[782:99072] HIGH_ERROR line:189 time:1521
2019-02-26 01:09:10.233 Couch Slouch[782:99072] HIGH_ERROR line:189 time:1479
2019-02-26 01:09:10.244 Couch Slouch[782:99072] HIGH_ERROR line:189 time:1529
2019-02-26 01:09:10.250 Couch Slouch[782:99072] HIGH_ERROR line:189 time:1528
2019-02-26 01:09:10.262 Couch Slouch[782:99072] HIGH_ERROR line:189 time:646
2019-02-26 01:09:10.280 Couch Slouch[782:99072] RECEIVE_FAILED

Please help me,these is my debug log.
Couch Slouch.log

The Couch Slouch.log file is from a (mostly) perfectly functioning app, connecting to a Panasonic TV.
It looks like you are trying to run two copies of Couch Slouch at once, which isn't supported — the second one will fail to connect to the device and give the errors you see.
Usually when Couch Slouch launches, it doesn't present any UI. Look for the Couch Slouch icon in the top right of your menu bar — it looks like a little TV. If it's present, you can't launch another one.

183/5000
thanks, i checked but i'm sure only one app is activate i even check with activity monitor i've found a single couch slouch enable please help me, i am on mojave 10.14.3

repo: iKenndac/Couch-Slouch


text:
Added missing likely locales

Checklist

[x] At least one test case is included for this feature or bug fix.
[x] ReleaseNotes has added or is not needed.
[x] This PR has passed all of the test cases on Nodejs and Chrome Browser.
[ ] This PR has passed all of the test cases on QT/QML.
[ ] This is an API breaking change.
[ ] Requires a major version change.

Issue Resolved / Feature Added
Resolution
Links

@gouniLee view this PR with the "Hide whitespace changes" turned on or else it will be much larger than it should be. (I changed the testlocalematch.json from dos to unix line endings).
Also, add in any missing locales you find from your investigations and add unit tests for them.

@ehoogerbeets  I've added more locales to 'likelyLocalesAdditional.json` and unit test to verify them. Please review them.

The other branch for the getLikelyLocaleMinimal should go first, as there are conflicts with this branch and there are updates to the genlikelylocales that need to be merged in and the localematch.json regenerated with them.

@gouniLee please re-review the changes from fixing the merge conflicts.

authors: ehoogerbeets gouniLee

repo: iLib-js/iLib


text:
Fixed ilib demo bulid failures issue that is related ilib-scanner

Checklist

[x] At least one test case is included for this feature or bug fix.
[x] ReleaseNotes has added or is not needed.
[x] This PR has passed all of the test cases on Nodejs and Chrome Browser.
[x] This PR has passed all of the test cases on QT/QML.
[ ] This is an API breaking change.
[ ] Requires a major version change.

Issue Resolved / Feature Added
The current version of ilib-scanner occurs circular dependency.
It's related https://github.com/iLib-js/ilib-scanner/pull/7. when it's mergedm  build.xml is also need to be updated following an ilib-scanner change
Resolution
Links

It's related to https://github.com/iLib-js/ilib-scanner/pull/7. Please review that one too.


text:
Add service to refresh states on TaHoma box

Based on #227, thus that one needs to be merged first.
A first try to solve the issues around states for devices that need a refresh. In this PR a service is added to manually refresh the states. If this is the solution, we could add this as an option to the DataUpdateCoordinator.
Fixes #167, #223, #230
Please note that after the refresh is complete, the event needs to be fetched via the DataUpdateCoordinator.
2020-08-30 12:08:58 DEBUG (MainThread) [custom_components.tahoma.coordinator] RefreshAllDevicesStatesCompletedEvent/None (device:None,state:None->None)

Why not create an other coordinator that will call regularly the refresh request?

Why not create an other coordinator that will call regularly the refresh request?

That would be my next step. This was just to test if this command works, since I cannot test it myself unfortunately.

How would we decide the frequency of those refresh? We have to profile that code before making it automatic to be sure it doesn't consume too much resources.

How does this fix  #223?

How does this fix #223?

#233 😂. Apparently I only fixed this link on the 'linked issues' part, but forgot to update my original post.

How would we decide the frequency of those refresh? We have to profile that code before making it automatic to be sure it doesn't consume too much resources.

Not sure yet. In HomeBridge they make this configurable and I saw many people putting it pretty low (60 seconds).

authors: iMicknl tetienne vlebourl

repo: iMicknl/ha-tahoma


text:
关于稠密图数据用于训练

您好，我在使用库中gcn的模型进行稠密图的训练的时候发现效率非常低，在用github内另一个引用同一个文献的gcn实现的代码时算法效率并没有这么低。是优化还是什么别的原因吗？

如果是算法效率的问题那么算法效率可能限制了这个库的应用场景，我这里测试的稠密图的输入大概是一张图，1000左右个节点，3万左右条边，过一层gcn大概需要数秒的时间，但之前在另一个框架上跑的时候比这个要快许多

您好，可否提供一下代码？
我猜测可能是你在每一次infer的时候都重新建图导致的。

我简单做了一个性能测试，2080Ti的显卡。
在7W个节点，200W个边的情况下进行2次GCN的传播，
用时：0.02s，显存占用大约4个G。
DHG对静态的图/超图网络十分友好，我设计了多层的缓存，速度应该是极快的。
除非每个epoch的时候重新调用g = dhg.Graph(num_v, e_list)，这种情况下是动态图，速度很难通过缓存优化。
我建议可以参考样例，在主函数里面一次性把图/超图建好，然后在训练和推理的时候将g/hg传给相应的函数即可。
可以参考这个样例：
https://deephypergraph.readthedocs.io/en/0.9.2/examples/vertex_cls/graph.html#gcn-on-cora

落木银石
@.***

您好，我自己的实验部分的代码在dhg.experiments.simple.sub-dep-seed文件内，确实我在每次infer的时候传入的都是不同的图，即图上边的结构是不同的，因为我研究的问题可能更偏向于动态图。是这个导致算法效率低下的吗？意思是说此框架的代码目前只适合做静态图的工作吗？
------------------ 原始邮件 ------------------
发件人:                                                                                "iMoonLab/DeepHypergraph"                                                                                @.>;
发送时间: 2022年9月27日(星期二) 下午3:37
@.>;
@.@.>;
主题: Re: [iMoonLab/DeepHypergraph] 关于稠密图数据用于训练 (Issue #12)
您好，可否提供一下代码？
我猜测可能是你在每一次infer的时候都重新建图导致的。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

您好，
目前dhg的性能优化更偏向于处理静态图。方便的话，您可以将您对动态图的构想和期望的功能写成一个更为详细的issue，或者在discussion里面提出。我们也正准备在dhg的后续版本对动态图的操作做出一定的计算性能上的优化。

期待您的反馈。
祝好，
一帆

您好，
目前dhg的性能优化更偏向于处理静态图。方便的话，您可以将您对动态图的构想和期望的功能写成一个更为详细的issue，或者在discussion里面提出。我们也正准备在dhg的后续版本对动态图的操作做出一定的计算性能上的优化。
期待您的反馈。
祝好，
一帆

好的，我会和我这边的同学商量一下，然后稍后整理个更详细的在github中disucssion部分提出。不过我们实验室主要是用超图来做图分类任务，和只在一张图上做点分类很不一样。我们的需求主要是输入结构，功能上不同的超图，然后对每张超图做图分类任务。因此对动态图的需求比较高。我们不是每个epoch，重构一张图，而是每一个batch都会重构一张图

落木银石
@.***

------------------ 原始邮件 ------------------
发件人: "Yifan @.>;
发送时间: 2022年10月11日(星期二) 晚上8:43
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [iMoonLab/DeepHypergraph] 关于稠密图数据用于训练 (Issue #12)
您好，
目前dhg的性能优化更偏向于处理静态图。方便的话，您可以将您对动态图的构想和期望的功能写成一个更为详细的issue，或者在discussion里面提出。我们也正准备在dhg的后续版本对动态图的操作做出一定的计算性能上的优化。
期待您的反馈。
祝好，
一帆
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

期待！

iMoonLab/DHGNN: DHGNN source code for IJCAI19 paper: "Dynamic Hypergraph Neural Networks" (github.com)，在你们实验室的这个项目里面，就针对动态超图进行了实现。据我观察，每一层都对超图进行了重构，重新的初始化。但并没有对算法效率带来特别大的影响。之前我们讨论的，重新对超图进行初始化在dhg这个项目里面会对超图卷积操作带来很大的影响。这其中的原因大概是什么样的呢？

落木银石
@.***

------------------ 原始邮件 ------------------
发件人: "Yifan @.>;
发送时间: 2022年10月12日(星期三) 下午5:42
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [iMoonLab/DeepHypergraph] 关于稠密图数据用于训练 (Issue #12)
期待！
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

您好，
关于DHGNN的速度快，是因为，DHGNN仅仅考虑了一种类型的超边，也就是动态KNN建立超边组，同时也必须保证是在小规模图的情况下才可以。这样做只需要利用torch中的cdist计算出一个NxN的距离矩阵然后用topk和gather两个函数即可直接获取超边特征。当然这样做还有一个限制，也就是要保证每个超边连接了固定的个数K个点的情况下，才可以。因为这样才能对齐数据，进行矩阵操作。而新的DHG框架，因为没有每个超边连接点的个数相同的限制，没有只接受KNN建图的限制，没有只能进行小图计算的限制，在支持大规模，动态超图，灵活超边组构建上DHG目前解决了有无问题，但目前版本由于没有对动态适配，因此速度受到了限制。
一帆

我很高心，您关注到了DHG在每次增加超边或者动态删除的时候，都会进行新的超图初始化。这在目前是必须的。因为，我们必须对添加的超边加以限制。这里我拿图来举例子，严格意义上的简单图，A矩阵必须是对称的，也就是说， 当你添加(1，3)这个边的时候，我们DHG需要帮你隐式添加(3, 1)这个边。当你删除(3, 1)这个边的时候，我们DHG需要帮你隐式删除(1, 3)这个边。当然这是简单图上的约束，有向图就没有这个约束。当你在简单图重复添加，(1, 3)这个这个边的时候，我们会对新的(1, 3)这个边的权重，与已有的(1, 3)的边的权重进行merge（目前支持min, max, 和mean）。当然这是简单图上的约束，有向图就没有这个约束。同样，我们会对每次新增的超边都会使其与已有的超边进行比对，然后进行权重的合并。DHG在处理这些问题上是非常严谨的，因此每次添加新的超边都需要进行验证因此增加了时间的消耗。但是这里我们进行了一定的优化，我们对已有的超边使用字典的形式进行组织，因此增加超边的复杂度只有O(1)。你所能感受的耗时，是因为增加超边后这个超图的H矩阵变了，因此需要删除旧的H矩阵创建一个新的H矩阵，这就带来了大量内存的复制，从list复制到torch里面。这部分是最耗时的。
一帆

我其实也在构想对动态增加超边的支持。这里我也进行了profile，后期可能需要对从表示结构到计算结构（list -> torch.tensor）的时候，对旧的H矩阵加以利用。而不是直接删除然后创建新的，直接删除然后创建势必会带来大量内存的copy是十分耗时的。当然如果您有想法，欢迎提出讨论！
一帆

从大佬们的讨论里学到了很多！

哈哈 欢迎提意见！

repo: iMoonLab/DeepHypergraph


text:
Axiom 4.1.1 does not work with Immersive Portals any version

I wanted to use the mods (below) and this happened.
Mods:
  [✔] Axiom-4.1.1-for-MC1.21.jar
  [✔] BetterF3-11.0.2-Fabric-1.21.1.jar
  [✔] collective-1.21.1-7.84.jar
  [✔] easyelevators-1.21.1-1.2.jar
  [✔] fabric-api-0.104.0+1.21.1.jar
  [✔] fabric-carpet-1.21-1.4.147+v240613.jar
  [✔] immersive-portals-6.0.3-mc1.21.1-fabric.jar
  [✔] Pehkui-3.8.3+1.14.4-1.21 (1).jar

Error in log:
[14:53:27] [main/ERROR]: Incompatible mods found!
net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other!
A potential solution has been determined, this may resolve your problem:
	 - Replace mod 'Axiom' (axiom) 4.1.1 with any version that is compatible with:
		 - immersive_portals 6.0.3
More details:
	 - Mod 'Axiom' (axiom) 4.1.1 is incompatible with any version of mod 'Immersive Portals' (immersive_portals), but a matching version is present: 6.0.3!

Process exited with exit code 1 (0x1).

Yeah, I'm really hoping they make this a priority. I'm trying to use an up to date version of axiom with immersive portals, but they're just not compatable yet.

repo: iPortalTeam/ImmersivePortalsMod


text:
Python Server Crashes when linking new python files to app.py

🦟 Describe the bug
I am looking to create new python files to be referenced in the apis specified in app.py. However, writing any import statement to the python file crashes the server.
Steps to Reproduce
Add a helper file to app.py.
Expected behavior
Helper file does not crash python server by existing.

This might also be an issue of me not understanding how flask works.
`
/**

If not using in production, use the loading window
and run Flask in shell. This is where the location of
the main python file is referenced.
*/
if (isDevMode) {
await installExtensions(); // React, Redux devTools
browserWindows.loadingWindow = new BrowserWindow({ frame: false });
createLoadingWindow().then(() => createMainWindow(port));
spawn(python backend/app.py ${port}, { detached: true, shell: true, stdio: 'inherit' });
}

/**

If using in production, use the main window
and run bundled app (dmg, elf, or exe) file.
*/
else {
createMainWindow(port);

// Dynamic script assignment for starting Flask in production
const runFlask = {
  darwin: `open -gj "${path.join(app.getAppPath(), 'resources', 'app.app')}" --args`,
  linux: './resources/app/app',
  win32: 'start ./resources/app/app.exe'
}[process.platform];

spawn(`${runFlask} ${port}`, { detached: false, shell: true, stdio: 'pipe' });

}
`
Within this segment of code, the flask shell refuses to run when I have app.py reference a file outside of the python libraries installed through pip in requirements.txt

Was able to figure it out. Simply needed to stop specifying import statements by removing from modifiers. Here is a stack overflow post that references a similar issue someone faced within flask. https://stackoverflow.com/questions/31361482/flask-want-to-import-file-of-helper-functions

repo: iPzard/electron-react-python-template


text:
icons doesnt show

Hi,
first thx for your work,
i want  to figure out how does it work to enable the resources. Any help would be nice

Ok i find out it works only if  i build a package. Tahts ok for me thx :)


text:
Update scalafmt-core to 3.1.1

Updates org.scalameta:scalafmt-core from 2.7.5 to 3.1.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-major, semver-spec-major

Superseded by #56.

repo: iRevive/sbt-integration-env


text:
Status bar popup hides when trying to hover it.

Describe the bug
After opening a status bar menu, when trying to move the mouse over it, it closes itself.
When the mouse hovers the tiny gap, the focus must get lost bcause the popup closes.

I would expect to be able to move the mouse over the popup.
Workaround :
Move the mouse quickly enough so no mouse move event will be triggered on the tiny gap.
To Reproduce
No response
Expected Behavior
No response
Screenshots
No response
Desktop (please complete the applicable information)
No response
Additional context
No response

Closed, Marked as working has intended.
https://github.com/iTwin/iTwinUI/issues/2284#issuecomment-2400309195

repo: iTwin/appui


text:
Allow to Disable Element Tooltips

A informational tooltip appears automatically when the mouse is still for a short period of time.
We need a way to disable these.
They appear on top of everything and should just not appear at all.

We can costumize them with tooltip provider.
But even if we costumize them to be empty, an empty tooltip box still appears.
I'm not 100% sure, but I think this line is where the tooltip is 'activated'.
The solution should be someting that ressembles :
IModelApp.viewManager.disableTooltips = true.
IModelApp.uiAdmin.updateFeatureFlags({ showTooltips: false });
Thanks.

NotificationManager already has a getter isToolTipSupported that is used by AccuSnap APIs that you could override.
Alternatively, you could override _showToolTip of your notification manager (I assume you are using AppNotificationManager).

These are readonly and private properties, I cant change them.

We can hide the tooltip by doing a wrapper over the base class like this, but I dont really like that we are overwriting the frameworks implementation.

Fixed by #6934

authors: GerardasB mathieu-fournier

repo: iTwin/itwinjs-core


text:
test native fixes for roundtripping placement when no geometry is present

hoist deepEqualWithFpTolerance to the backend tests so it can be used there and in transformer tests
minor jsdoc fix in iModelDb I noticed
tests for this native pr

will merge after native PR merges


text:
3.7.0 changelog

file cherry-picked via git checkout release/3.7.x docs/changehistory/3.7.0.md -p

pipeline failing due to rus audit, force merging since we will not be releasing any 4.1. patches anymore, and if we do, fix then


text:
Fix import of almost-equal

fixes: https://github.com/iTwin/itwinjs-core/issues/7126
We include a package named "almost-equal" using this syntax:
import * as almostEqual from "almost-equal";
This results in an error "almost-equal is not a function" because the module exports its function by using the CommonJS syntax
module.exports = almostEqual
which results in us importing the entire module as an object rather than the function itself.
possible fixes are either doing
import almostEqual = require("almost-equal");
Which doesn't work as we have our module resolution strategy set to target ECMAScript modules which prevents this syntax.
The other alternative is
import almostEqual from "almost-equal";
Which I also am not allowed to do because that would require esModuleInterop and allowSyntheticDefaultImports to be enabled in tsconfig.jsonwhich we explicitly disallow.
After some discussion in the itwin team we decided to drop the dependency and just put a method directly into the code as it is very trivial.

Never mind, I am not allowed to use that syntax because our module resolution strategy is set to target ECMAScript modules. I cannot use the other syntax either because our tsconfig.json sets esModuleInterop to false, which would be needed for this.
So I guess there is no way we are allowed to use this module...
Looking for an alternative solution

This is more complex than I imagined. The native almost_equal method uses a tolerance value which defaults to 1000, while the almost_equal package uses an absolute and relativeError which both default to 2.2204460492503131e-16.
I just literally took Arun's generated method, but turns out with that many tests fail because they seem to have relied on the relativeError mechanism.
There is a chai-almost package which defaults to a tolerance of 1e-6 , but that also just calcilates the absolute difference and compares it.
It seems like there is no standard of what "almost" means. I'll think about it a bit and put something out for review tomorrow.


text:
How to pass data from mainVC to the containerView you selected?

Normal you pass some data with prepare segue to your view, so you can preform a query or pass that data into a tableview... Now I'm stuck because the segment is passing the button to show the right containerview, but is nog aware off some var I want to pass to the destination view

Hi @FredvanRijswijk !
I have updated my code now you can pass data from your Main View Controller to Container view. (if I got you right and if that's what you wanted).
let's say you have container view named FirstViewController.
`if let getFirstVCObject = self.container.currentViewController as? FirstViewController
{
     //pass your data with your getFirstVCObject

    }`

Kindly check out the updated code.
Thanks. :)

authors: FredvanRijswijk iaaqib

repo: iaaqib/ContainerView


text:
Intents provided as options not recognized correctly

Removing preferences doesn't change the current IN (sometimes it doesn't work when using the provided options)
Using the provided option I want to restart for a new movie was recognized as intent inquire(actors)

Using a new terminal library might partially help with this issue. Depends on #57

@WerLaj Can you provide some examples here? I couldn't reproduce.

authors: IKostric WerLaj

repo: iai-group/moviebot


text:
GPU OOM

Running train.py on Nvidia GRID K2, 1536 cores, 3.5 GB memory.
I tensorflow/core/common_runtime/gpu/gpu_init.cc:102] Found device 0 with properties:  name: GRID K2 major: 3 minor: 0 memoryClockRate (GHz) 0.745 pciBusID 0000:00:04.0 Total memory: 3.50GiB Free memory: 3.45GiB I tensorflow/core/common_runtime/gpu/gpu_init.cc:126] DMA: 0  I tensorflow/core/common_runtime/gpu/gpu_init.cc:136] 0:   Y  I tensorflow/core/common_runtime/gpu/gpu_device.cc:838] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GRID K2, pci bus id: 0000:00:04.0) Trying to restore saved checkpoints from ./logdir/train/2016-09-20T19-23-04 ... No checkpoint found. step 0 - loss = 7.461, (13.180 sec/step) Storing checkpoint to ./logdir/train/2016-09-20T19-23-04 ... Done.
Then the BFC allocator runs out of memory:
W tensorflow/core/common_runtime/bfc_allocator.cc:270] **************************************************************************************__**********xx W tensorflow/core/common_runtime/bfc_allocator.cc:271] Ran out of memory trying to allocate 194.79MiB.  See logs for memory state. W tensorflow/core/framework/op_kernel.cc:940] Resource exhausted: OOM when allocating tensor with shape[199462,256] I tensorflow/core/common_runtime/gpu/pool_allocator.cc:244] PoolAllocator: After 3463 get requests, put_count=3233 evicted_count=1000 eviction_rate=0.30931 and unsatisfied allo cation rate=0.38406
Do you know if there is a setting I can specify to work around GPU memory limitations ?

Are you running something else already on the GPU?

nope, fresh install, fresh reboot, running headless and only process using the GPU.

Looks like it stopped on 2 particularly large input samples.
Did this happen immediately, or after a few iterations?
If it's just because of large samples, pull request #54 should fix this by always cutting them into fixed size pieces.
You can also try setting the BATCH_SIZE to 1, or reducing the number of dilated convolutional layers in wavenet_params.json.
3.5 GB isn't a lot, but should be enough to train the network with some tweaks.
Note that we haven't yet managed to reproduce the results from the wavenet paper, so it's not worth training the network unless you can invest the time to look for good hyperparameters.

I get OOM on 8GB video ram always after 160 step

BATCH_SIZE=1 allows the process to run for a few dozen steps before OOMing. I just tried to mount a second identical GPU to increase total mem to 7GB but it behaves similarly. The second GPU is well recognized by TF but I think we would need explicit placement to make it useful. I will now look into #54

@lelayf: Yeah, we're not making use of extra GPUs at the moment.
#54 should definitely help. You can adjust the SAMPLE_SIZE downwards if you still run into problems.

it seems the training is now stalling silently after a few hundred steps. I do not get OOMs. I tried using 96000 sample_size, then 64000 and finally ran it with no sample_size on the command line. I also tried different GPUs, a GRID K2 and a Tesla K80. In all cases the same silent stalling arises.

Could this be the same problem as in #65?
The audio pipeline stopped processing data after traversing the input files once.
Updating to one of the newer commits should fix that.

Closing this, as all mentioned issues should be fixed at this point.
Feel free to comment if you still experience problems with this.

Getting same OOM on 61GiB aws instance even with sample size 10,000.
python 3.6

psutil.virtual_memory()
svmem(total=64389132288, available=60933558272, percent=5.4, used=2929561600, free=59257782272, active=3300839424, inactive=1334075392, buffers=73183232, cached=2128605184, shared=21499904, slab=143368192)

authors: ibab larsr lelayf mikelibg tuba

repo: ibab/tensorflow-wavenet


text:
Auth0 - access_denied: Invalid state

Observed behavior
Hello,
After following the latest guide  for deployment I am still not able to login with Auth0 even after the recent update of the server. I am simply trying to deploy the application for testing purposes but even after I tried with both s3 bucket and localhost I am getting this error:
Web output:

Console log:

Debug output:

After login button is pressed Winchan opens a different browser window (as it should) and shuts down after 1-2 seconds. The URL that I managed to capture (edited for clarification):

https://<auth0_domain>.eu.auth0.com/sso_dbconnection_popup/<auth0_client_id>

which seems correct based on the auth0-js file

The procedure was done very carefully so I don't believe I missed something in the process but something is breaking the state value that auth0-lock.js sees. State is only passed as argument in
Auth0Manager.js:85:22 with value the URL of the current window that called the login.
Any help would be greatly appreciated
Expected behavior
Simple login
Steps to reproduce the problem
Even the guide is outdated on some parts (regarding Auth0 setup) you just have to follow the process described in Read The Docs and just add 2 Auth0 applications (one REGULAR WEB APPLICATION and one MACHINE-TO-MACHINE)
Any special notes on configuration used
Updated version of env.yml (server) contains 2 new entries which refer to the MTM application:

AUTH0_API_CLIENT
AUTH0_API_SECRET

The rest are filled as described in the latest documentation.

Unfortunately, Auth0 issues can be difficult to diagnose. I don't believe this is a bug, but looks to be a misconfigured application. Elaborating on which other Auth0 config variables you have set in both the UI and server may help us diagnose.
However, as a first crack, you may want to try logging in with an updated version of Chrome -- some browsers can experience issues with logging in.

authors: landonreed xrestinpieces

repo: ibi-group/datatools-ui


text:
It would be nice to have a pre-defined location where config maps containing MQSC could be mounted and executed

It doesn't appear to be possible to add a file into an existing directory using a config map. So if you mount a config map (in my case based on an mqsc file) to /etc/mqm the rest of the /etc/mqm directory is shadowed and 10-dev.mqsc can't be found when the container starts.
One way to fix this could be to have a predefined path (or paths) that don't currently exist, but that users can mount config maps to. At runtime we could check for them and run any mqsc files we find, separately to the dev scripts we already ship.
There might be other/better ways of doing it though.

I originally raise this issue because it seemed like it wasn't possible to mount a config map into an existing directory inside the container. However, the following stateful set config does work:
volumes:
- name: mq-config-volume
configMap:
name: mq-config
volumeMounts:
- mountPath: "/mnt/mqm"
name: "{{ template "fullname" . }}-{{ .Values.dataPVC.name }}"
- mountPath: "/etc/mqm/qmconfig.mqsc"
name: mq-config-volume
subPath: qmconfig.mqsc
Specifically the subPath attribute on the volumeMount adds the config map file into /etc/mqm/qmconfig.mqsc rather than replacing/shadowing the entire /etc/mqm directory.
The limitation of subPath is that it doesn't get replaced when the config map is updated, so a pod restart is required. Without subPath, if you change the config map the volume is re-mounted and the container can see the changes to the file without being restarted.

repo: ibm-messaging/mq-container


text:
1050 compile fixes

Fixes required to get CI to pass in 1050 due to upstream changes (and pulling into our CI infrastructure).
None of these changes have any functional impact on the code.

I'm not sure we want to merge this. It would be required though if we need 1050 PR's to work.

repo: ibm-openbmc/openpower-debug-collector


text:
Swift Spinner Doesn't Show iOS9.2 - Solved - Submitted PR

SwiftSpinner used to work when called from any method. But in recent updates with Swift and iOS9.2 the SwiftSpinner gets lost in which window it should add the view to. I have solved the issue and submitted a PR from my fork.

#47

repo: icanzilb/SwiftSpinner


text:
🛑 Secret Site is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Secret Site is back up in 3a22627.

repo: icarephone/upptime


text:
🛑 Secret Site is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Secret Site is back up in e30e874.


text:
可以新建router.js文件管理路由，并将routers文件夹命名为views

建议：

可以新建router.js文件管理路由

目前路由是写在main.js中，这样伴随着项目的扩展会导致main.js的可读性变差，可以新建router.js文件管理路由导出对象，main.js引入然后map下

可以将routers文件夹命名为views

routers第一感觉是路由，但是打开文件夹发现里边是vue文件，才明白是页面，有点绕

最后表示感谢，作者的文章很好！

thx

repo: icarusion/vue-vueRouter-webpack


text:
[WIP]Release: 0.16.0

[ ] Dashboard #682
[ ] Code Translation https://github.com/ice-lab/iceworks/issues/603#issuecomment-753795583

Codecov Report

Merging #723 (bc81185) into master (c656024) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #723   +/-   ##
=======================================
  Coverage   57.14%   57.14%
=======================================
  Files           1        1
  Lines          70       70
  Branches       15       15
=======================================
  Hits           40       40
  Misses         30       30

Continue to review full report at Codecov.

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

Codecov Report

Merging #723 (bc81185) into master (c656024) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #723   +/-   ##
=======================================
  Coverage   57.14%   57.14%
=======================================
  Files           1        1
  Lines          70       70
  Branches       15       15
=======================================
  Hits           40       40
  Misses         30       30

Continue to review full report at Codecov.

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

authors: alvinhui codecov-io

repo: ice-lab/iceworks


text:
Just survey

Feature to query shodan and make the request to the remote servers without prompting download. i.e. it will simply make the requests parse the interesting words and alert what was found with no download option.  Option to have all output log to a file and or stdout to allow for headless deployment to a vps without user interaction.

Feature already exists with -q -s closing

repo: ice-wzl/DataReaper


text:
Prompts folder could not be accessed but is mounted

By starting the container I got the error: Could not read prompts/title_prompt.tmpl, using default template: open prompts/title_prompt.tmpl: no such file or directory
I assume that this file should be created when not existing.
But ./prompts is mounted and also shown as mounted in the docker settings. Rights are also doublechecked.
My Settings in docker compose file:
volumes:
- ./prompts:/app/prompts
Any idea why the prompts folder could not be accessed?

Hi, does it work without the mount? If yes, which operating system do you use?

Try using the absolute path like /volume1/docker/paperless-gpt/prompts:/app/prompts.
Also double check the container has the correct user setting, to access the folder.

Hi, already tried to use absolute path. The User has admin rights, so should also be able to access the folder (same folder than the docker-compose file, which can also be accessed without issues). BR

I have the same issue. I use absolute path and directory is mounted. I checked it by creating file from inside container and it was created on host. Seems like files just not copied on container start.

I found the issue and the fix: https://github.com/icereed/paperless-gpt/pull/30

The release is published. Can you please retry by doing docker compose pull and docker compose up -d?

Yes. Thx. Works now perfectly

repo: icereed/paperless-gpt


text:
Changing wiki for beforeInsert

Hey guys,
This isn't an issue about the code but about the Wiki. I was looking at the callbacks page. More specifically at the "beforeInsert" documentation.
I tried altering my code to fit the spec given there to no avail. Only after I tried to actually return the string value did it start to work.
The wiki does not state that there should be a string value to return in the beforeInsert.
I'm going to go ahead and change the wiki (if I'm allowed). If this does not suit your wishes please remove my alteration.
Greetings, Robert.

just do it.

authors: RobertDiebels ichord


text:
Specify Certificate Duration

Hello,
I read through the docs and didn't see it, but is there a way to specify the certificate duration? For example by default our ACME CA provides 1 year certificates, but I would like to do 90 or even shorter length certificates, for dev and test systems.
Thanks!

Hi,
the certificate lifetime is given be the issuing CA. The ACME protocol does not allow to specify that. I agree that short lifetimes are preferable. You could set up a separate CA for dev and test systems, but then you have to manage the trust anchors for that somehow for your clients. Depends on your particular setup how tricky that is.

Hmm that's interesting that Traefik supports it as a configuration https://doc.traefik.io/traefik/https/acme/#certificatesduration, so I had assumed it was specified by ACME.

I was wrong, one can request a notBefore and notAfter and the CA will deny issuing the cert if it does not agree to that.

Coming back to this: I had an exchange with the senior Lets Encrypt engineer on this and there are problems with using notBefore/notAfter in ACME. The spec says, in short, these parts of the Certificate Request must be either obeyed or certificate creation must be rejected.
Let's Encrypt does not support other lifetimes and this is one of the reasons for it. It adds complexities to their business that they do not want (my interpretation). Now other CAs might choose differently. I myself tend to side with Lets Encrypt here. I do not want to handle the issues that I foresee would arise with adding support for this in Apache. Other ACME clients might choose differently and that is totally fine.
If I were to design this feature for an ACME CA, I would let people configure desired lifetimes outside the ACME protocol itself. What I mean by this is that a user should be able to configure a DNS name with cert lifetime information.
Maybe that is done in a CA user configuration (for CA with user accounts) or a specific DNS entry that is looked at by the CA. These would say __acme_lifetime.xxx.yyy.com: 10 days, configured once and done.
Something like that is how I would go about it.

Just an addition to the mastodon thread about this and more explanations: https://chaos.social/@icing/110518749878760014

authors: icing misilot


text:
Use of pantable inhibits adding language support in LaTeX

I'm trying to combine Markdown sources with tables full of CSV data and render them as PDF's. The CSV data has localized strings in several languages and character sets. Pandoc doesn't have a problem with this content, and I know the incantations that are necessary to make it render in XeLaTeX. I just need to load a couple extra packages (fontspec and charclasses), then rig up all the code points and ranges that I need with various font declarations.
I can get this to work in a raw Markdown file by adding stuff to the header-includes metadata, but as soon as I add pantable into the mix, it borks. I can add other things to the metadata that get passed on to LaTeX fine, but as soon as I try to \usepackage, python starts spewing errors.
Here is a MWE:
$  cat <<- EOF | pandoc -o test.pdf --pdf-engine=xelatex -F pantable
---
header-includes:
     - \usepackage{fontspec}
---
\`\`\`table
"TRY","₺22,50"
"TND","65.000 دت"
\`\`\`
EOF

Note that if you rip out either the line that loads font spec or drop the pantable filter this works fine. (Note it isn't a finished example so the output isn't quite right either way yet, I stripped this down to be a minimalist example.
The python error I'm seeing is something like this:
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/bin/pantable", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python3.7/site-packages/pantable/pantable.py", line 292, in main
    doc=doc
  File "/usr/lib/python3.7/site-packages/panflute/io.py", line 260, in run_filter
    return run_filters([action], *args, **kwargs)
  File "/usr/lib/python3.7/site-packages/panflute/io.py", line 233, in run_filters
    doc = load(input_stream=input_stream)
  File "/usr/lib/python3.7/site-packages/panflute/io.py", line 56, in load
    doc = json.load(input_stream, object_pairs_hook=from_json)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 361, in loads
    return cls(**kw).decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
  File "/usr/lib/python3.7/site-packages/panflute/elements.py", line 1426, in from_json
    return RawInline(text=c[1], format=c[0])
  File "/usr/lib/python3.7/site-packages/panflute/elements.py", line 764, in __init__
    self.format = check_group(format, RAW_FORMATS)
  File "/usr/lib/python3.7/site-packages/panflute/utils.py", line 34, in check_group
    raise TypeError(msg)
TypeError: element str not in group {'openxml', 'rtf', 'latex', 'icml', 'opendocument', 'context', 'noteref', 'html', 'tex'}
Error running filter pantable:
Filter returned error status 1

This appears to be an iteration of this Pandoc issue. The example above could be mitigated like this:
---
header-includes:
  - |
  ```{=latex}
  \usepackage{fontspec}
  ```
---
```table
"TRY","₺22,50"
"TND","65.000 دت"
```

repo: ickc/pantable