2025/02/16

2025-02-16 01:42:45 +0000alp(~alp@2001:861:8ca0:4940:d06c:c4cf:d838:81ae) (Ping timeout: 248 seconds)
2025-02-16 08:59:00 +0000ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en
2025-02-16 09:04:19 +0000ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Remote host closed the connection)
2025-02-16 09:07:11 +0000Digit(~user@user/digit) (Read error: Connection reset by peer)
2025-02-16 09:07:50 +0000Digit(~user@user/digit) Digit
2025-02-16 09:42:43 +0000alp(~alp@2001:861:8ca0:4940:c79:76f1:1692:8b70)
2025-02-16 10:39:43 +0000alp(~alp@2001:861:8ca0:4940:c79:76f1:1692:8b70) (Ping timeout: 268 seconds)
2025-02-16 10:48:17 +0000coldpress(~coldpress@72.136.212.35.bc.googleusercontent.com) (Ping timeout: 265 seconds)
2025-02-16 10:51:57 +0000coldpress(~coldpress@72.136.212.35.bc.googleusercontent.com) coldpress
2025-02-16 10:59:12 +0000jaava(~nick@syn-076-035-209-158.res.spectrum.com)
2025-02-16 11:01:25 +0000 <jaava> Hello. I've been using xmonad for a little while and I like it. I'm trying to solve a problem that I have but I have no experience with Haskell and I'm having a really hard time despite trying to learn how to solve this problem for a week or so. I'm not asking anyone to write anything for me, but some pointers?
2025-02-16 11:05:14 +0000 <jaava> So I have a keymap that takes Mod+F2 and does volume down and Mod+F3 as volume up. I want to remove the Mod so that I can just press up and down. The problem with that is that when I press the key, my volume change command gets called several times while I am holding the button. So my solution is to create a function that takes the spawn function as an instance and runs System.CPUTime.getCPUTime and checks
2025-02-16 11:05:21 +0000 <jaava> if 15ms has passed since the last press. But coming from a procedural language background implementing this idea in haskell is confusing me
2025-02-16 11:36:22 +0000 <Leary> jaava: This shouldn't be anything unique to xmonad; do you not have exactly the same issue with other keys in other programs? I suggest you configure autorepeat for your system, e.g. with `xset`. You can adjust the delay or turn it off for certain keys.
2025-02-16 11:59:10 +0000alp(~alp@2001:861:8ca0:4940:7b11:c632:5243:a849)
2025-02-16 12:00:23 +0000 <jaava> It's not an issue with xmonad no. It's just that xmonad doesn't spawn my volume up script until I press Windows+F3, but if I press F3 alone then as long as I am holding that button the script gets called. This isn't an issue for any other applications. I just have autorepeat settings as default
2025-02-16 12:01:34 +0000Miroboru(~myrvoll@178-164-114.82.3p.ntebredband.no) (Ping timeout: 244 seconds)
2025-02-16 12:18:42 +0000Miroboru(~myrvoll@178-164-114.82.3p.ntebredband.no) Miroboru
2025-02-16 12:37:04 +0000jaava(~nick@syn-076-035-209-158.res.spectrum.com) (Quit: Lost terminal)
2025-02-16 16:58:21 +0000alp(~alp@2001:861:8ca0:4940:7b11:c632:5243:a849) (Ping timeout: 268 seconds)
2025-02-16 19:14:55 +0000alp(~alp@2001:861:8ca0:4940:272d:ade:2d7a:3548)
2025-02-16 23:12:00 +0000alp(~alp@2001:861:8ca0:4940:272d:ade:2d7a:3548) (Ping timeout: 252 seconds)