Logs: liberachat/#xmonad
| 2024-02-16 19:57:51 | <geekosaur> | hm. you could change the binding to: \w -> catchX (planeMove (Lines 4) Circular ToUp) (return ()) |
| 2024-02-16 19:58:08 | <geekosaur> | that won't make the key work but it should log the error and continue |
| 2024-02-16 19:59:03 | <geekosaur> | (and if it does then I need to file a bug that we aren't guarding mouse bindings properly) |
| 2024-02-16 20:03:00 | <beastwick> | okay I wrapped it in a catch, no crashing now |
| 2024-02-16 20:03:08 | <beastwick> | but where would the caught error be printed, if at all? |
| 2024-02-16 20:03:14 | <beastwick> | xession-serrors shows nothing |
| 2024-02-16 20:07:46 | <geekosaur> | you're using startx so it'll be on the console |
| 2024-02-16 20:19:45 | <geekosaur> | what version of xmonad and xmonad-contrib are you using? (I'm filing a bug report) |
| 2024-02-16 20:22:16 | <beastwick> | xmonad-0.17.0 xmonad-contrib-0.17.0 |
| 2024-02-16 20:26:21 | <geekosaur> | bug filed, plus I just tracked down where we're not using `userCode` or `catchX` |
| 2024-02-16 20:26:47 | <beastwick> | I wish I knew more haskell, this language is *hard* |
| 2024-02-16 20:27:16 | <beastwick> | and now my config is blowing up again, let me paste bin :D |
| 2024-02-16 20:34:39 | <beastwick> | https://pastes.io/l4dvmzrhpk |
| 2024-02-16 20:34:49 | <beastwick> | sorry for the alt paste site, pastebin isn't accepting my submission |
| 2024-02-16 20:35:47 | <beastwick> | https://pastes.io/tacfocq0lb my config |
| 2024-02-16 20:38:25 | <beastwick> | it doesn't like the ++ I have with what follows |
| 2024-02-16 20:42:50 | <geekosaur> | yes, it's in the wrong place and it needs parentheses in 0.17.0 |
| 2024-02-16 20:43:40 | <beastwick> | okay the docs are out of date then as well |
| 2024-02-16 20:43:53 | <beastwick> | I will register tomorrow so I can contribute that way at least |
| 2024-02-16 20:44:00 | <beastwick> | where should I put it, and what gets wrapped? |
| 2024-02-16 20:44:25 | <beastwick> | and thankyou once again btw for all your help |
| 2024-02-16 20:44:51 | <geekosaur> | https://pastes.io/3b1dxdhf3l |
| 2024-02-16 20:45:00 | ← | L29Ah parts (~L29Ah@wikipedia/L29Ah) () |
| 2024-02-16 20:45:52 | <geekosaur> | if you're using the docs on xmonad.github.io then it uses the new precedence for additionalKeys, not the old one |
| 2024-02-16 20:45:59 | <geekosaur> | but 0.17.0 has the old one |
| 2024-02-16 20:46:22 | <geekosaur> | and in any case you are not appending your keys to the list for additionalKeys, but to the one for additionalMouseBindings |
| 2024-02-16 20:47:54 | <geekosaur> | (xmonad.github.io documents git master, you probably want to be using https://hackage.haskell.org/package/xmonad-contrib-0.17.0 |
| 2024-02-16 20:48:09 | <beastwick> | thanks |
| 2024-02-16 20:48:27 | <beastwick> | yeah, I for some reason thought it would just "figure" it out wherever I add it to my xconfig def |
| 2024-02-16 20:49:01 | <beastwick> | xmonad.hs:71:91: error: parse error on input ‘)’ |
| 2024-02-16 20:49:05 | <beastwick> | 71 | zip (zip (repeat (mod4Mask)) [xK_1..xK_9]) (map (withWorkspaceIndex S.greedyView) [1..])) |
| 2024-02-16 20:49:18 | <beastwick> | for some reason it does not like the paren at the end |
| 2024-02-16 20:50:50 | <geekosaur> | did you miss the added open paren on line 57? |
| 2024-02-16 20:51:05 | <beastwick> | absolutely did |
| 2024-02-16 20:52:37 | <beastwick> | excellent! |
| 2024-02-16 21:00:01 | <beastwick> | any favorite haskell learning resources? I peruse learn you a good haskell from time to time |
| 2024-02-16 21:00:29 | <beastwick> | I think (with a lot of help) I've been able to make xmonad do what I want, but running into these problems that I can't decipher is motivation crushing |
| 2024-02-16 21:01:04 | <geekosaur> | @where wikibook |
| 2024-02-16 21:01:05 | <lambdabot> | http://en.wikibooks.org/wiki/Haskell |
| 2024-02-16 21:01:12 | <geekosaur> | @where cis194 |
| 2024-02-16 21:01:12 | <lambdabot> | <https://github.com/byorgey/haskell-course>,<https://www.seas.upenn.edu/~cis194/spring13/lectures.html> |
| 2024-02-16 21:01:36 | <geekosaur> | I don't like LYAH much, it shows you a lot but has no exercises to speak of so you never really learn how to use it |
| 2024-02-16 21:04:12 | <beastwick> | thanks! |
| 2024-02-16 21:05:23 | <geekosaur> | there's also |
| 2024-02-16 21:05:27 | <geekosaur> | @where pih |
| 2024-02-16 21:05:28 | <lambdabot> | "Programming in Haskell" by Graham Hutton in 2007-01-15,2016-09-01 at <http://www.cs.nott.ac.uk/~pszgmh/pih.html> |
| 2024-02-16 21:05:34 | <geekosaur> | but it's not free |
| 2024-02-16 21:21:57 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 2024-02-16 22:24:34 | → | blooms joins (~pupkey@user/pupkey) |
| 2024-02-16 22:27:12 | <blooms> | @where paste |
| 2024-02-16 22:27:12 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 2024-02-16 22:28:22 | <blooms> | hi there. i was wondering if someone could let me know where i might be going wrong here |
| 2024-02-16 22:28:34 | <blooms> | i am running this xmobar file; https://paste.tomsmeding.com/2c0vEfgY |
| 2024-02-16 22:28:54 | <blooms> | and the bar displays. the only issue is, DiskU is stuck at `Updating...` |
| 2024-02-16 22:29:52 | <blooms> | i took a look here; https://codeberg.org/jao/xmobar-config/src/branch/master/lib/Monitors.hs and on the documentation for DiskU to get the formatting but i am not sure what i am doing wrong here |
| 2024-02-16 22:29:59 | blooms | is now known as breakpoint |
| 2024-02-16 22:33:25 | → | hightower2 joins (~hightower@213.186.15.36) |
| 2024-02-16 22:38:17 | <breakpoint> | sorry, just relogging |
| 2024-02-16 22:38:29 | × | breakpoint quits (~pupkey@user/pupkey) (Quit: Lost terminal) |
| 2024-02-16 22:40:45 | → | breakpoint joins (~pupkey@user/pupkey) |
| 2024-02-16 22:40:48 | <breakpoint> | sorry, back |
| 2024-02-16 22:45:51 | × | vanvik quits (~vanvik@78.156.10.140) (Quit: Ping timeout (120 seconds)) |
| 2024-02-16 22:46:11 | → | vanvik joins (~vanvik@78.156.10.140) |
| 2024-02-16 22:48:09 | <geekosaur> | is /home a mounted filesystem, or just a directory? |
| 2024-02-16 22:48:43 | <breakpoint> | yes, it is mounted to sda3 when running lsblk |
| 2024-02-16 22:49:03 | <breakpoint> | as in, the mountpoint of sda3 is /home |
| 2024-02-16 22:54:01 | <geekosaur> | hm, just noticed your template doesn't have DiskU in it, it has %wlan0% which, since you don't have a monitor for that, is being run as a command |
| 2024-02-16 22:55:40 | <breakpoint> | ah. you are completely correct. not sure why i keep missing these typos and mistakes |
| 2024-02-16 22:55:51 | <breakpoint> | but thank you for pointing that out. it all works as intended now :) |
| 2024-02-16 23:09:17 | <geekosaur> | come to think of it, is that time right? 6 seconds? |
| 2024-02-16 23:12:25 | <breakpoint> | oh, i just thought it might be better to leave the polling for longer as i may not need the information immediately |
| 2024-02-16 23:12:45 | <breakpoint> | but i wasn't sure how much it added to keep it at something lower like 20 or 10 |
| 2024-02-16 23:14:33 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Ping timeout: 260 seconds) |
| 2024-02-16 23:14:52 | <geekosaur> | probably not very much since it won't be spawning an external command |
| 2024-02-16 23:15:17 | <breakpoint> | ah i see. i will set it to 10 then :) |
| 2024-02-16 23:15:19 | <geekosaur> | but 6 seconds seemed kinda weird and I was wondering if you had assumed it was in seconds or something (it's tenths of a second) |
| 2024-02-16 23:16:11 | <breakpoint> | oh, i see. i wasn't sure to be honest. i was going to test it a bit later by moving some large files back and forth. i was trying to find where it mentioned refresh rate units but couldn't find it in the documentation |
| 2024-02-16 23:16:43 | <breakpoint> | by the way, would you happen to know if there's any way to rearrange the disku output? the documentation says it ignores `-t` |
| 2024-02-16 23:17:02 | <breakpoint> | but it is unfortunately showing the 3 drives i am tracking in the wrong order |
| 2024-02-16 23:17:08 | <breakpoint> | https://codeberg.org/xmobar/xmobar/src/branch/master/doc/plugins.org#user-content-headline-45 |
| 2024-02-16 23:17:54 | <geekosaur> | I'm not that much of an expert on xmobar, I've never used it |
| 2024-02-16 23:18:04 | <breakpoint> | ah i see. no problem then :) |
| 2024-02-16 23:18:11 | <geekosaur> | I know just enough to answer simple questions about it, sometimes referring to the documentation |
| 2024-02-16 23:18:26 | <breakpoint> | do you use a different bar? or just none at all? |
| 2024-02-16 23:18:33 | <geekosaur> | looks like the refresh parameter is described at the end of https://codeberg.org/xmobar/xmobar/src/branch/master/doc/plugins.org#user-content-default-arguments |
| 2024-02-16 23:18:44 | <geekosaur> | mate-panel via xmonad-log-applet |
| 2024-02-16 23:18:55 | <geekosaur> | since I run xmonad as window manager for mate |
| 2024-02-16 23:19:24 | <breakpoint> | ah right. thank you for the link as well. seems i missed it |
| 2024-02-16 23:30:14 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 2024-02-16 23:51:24 | × | jeeeun8 quits (~jeeeun@78.40.148.178) (Read error: Connection reset by peer) |
| 2024-02-16 23:52:02 | → | jeeeun8 joins (~jeeeun@78.40.148.178) |
| 2024-02-17 03:26:22 | × | td_ quits (~td@i5387091D.versanet.de) (Ping timeout: 264 seconds) |
| 2024-02-17 03:27:43 | → | td_ joins (~td@i53870918.versanet.de) |
| 2024-02-17 05:01:12 | × | breakpoint quits (~pupkey@user/pupkey) (Quit: Lost terminal) |
| 2024-02-17 08:56:01 | × | hightower2 quits (~hightower@213.186.15.36) (Ping timeout: 260 seconds) |
| 2024-02-17 09:40:50 | × | zawaken- quits (~zawaken@user/zawaken) (Ping timeout: 252 seconds) |
| 2024-02-17 11:17:26 | → | jeeeun83 joins (~jeeeun@78.40.148.178) |
| 2024-02-17 11:18:10 | × | jeeeun8 quits (~jeeeun@78.40.148.178) (Ping timeout: 255 seconds) |
| 2024-02-17 11:18:10 | jeeeun83 | is now known as jeeeun8 |
| 2024-02-17 12:22:33 | → | zawaken joins (~zawaken@user/zawaken) |
All times are in UTC.