2022/03/10

2022-03-10 00:26:10 +0100jenifer(~jenifer@097-085-050-159.res.spectrum.com)
2022-03-10 00:32:40 +0100 <jenifer> Ok ill probably be laughed out of here but I am gonna ask anyway. Do people sometimes get tired of Haskell updates breaking there system and they just never update? lol
2022-03-10 00:34:40 +0100 <liskin> jenifer: yes
2022-03-10 00:34:56 +0100 <jenifer> Am I stupid to think of never updating?
2022-03-10 00:35:23 +0100 <jenifer> Is there some kinda flag I can use when doing updates in terminal that block Haskell based updates?
2022-03-10 00:35:41 +0100 <liskin> quite likely even distro maintainers get tired (and by tired I mean burned out) and stop maintaining stuff :-)
2022-03-10 00:35:59 +0100 <liskin> Haskell stuff in Debian has been stuck for over a year
2022-03-10 00:36:12 +0100 <jenifer> I use Arch
2022-03-10 00:36:19 +0100 <jenifer> Thus get updates all the time
2022-03-10 00:36:47 +0100 <jenifer> Silly thing is xmonad compiles fine lol but still wont load past light dm
2022-03-10 00:36:49 +0100 <liskin> oh, well, that's bad
2022-03-10 00:37:00 +0100 <liskin> arch doesn't let you do partial updates
2022-03-10 00:37:22 +0100 <liskin> so you're either going to be running insecure stuff, or you'll have to accept that updates break stuff
2022-03-10 00:38:10 +0100 <jenifer> Well I mean its only three files for me. I use Polybar so one config for it and auto start and xmonad.hs file
2022-03-10 00:38:13 +0100 <liskin> what many people do is install haskell stuff using stack/cabal/ghcup instead of using arch packages
2022-03-10 00:39:02 +0100 <jenifer> I mean if I just did a fresh install every 6mo should not be end of the world?
2022-03-10 00:40:57 +0100 <liskin> well everyone will tell you it's a really bad idea because security
2022-03-10 00:40:58 +0100 <jenifer> I can use Octopi to update one or two programs . I wonder if there is some kinda plugin or something that can be used with it to filter out things
2022-03-10 00:41:15 +0100 <liskin> realistically as long as you keep your browser updated, it may very well be just fine :-)
2022-03-10 00:41:20 +0100 <liskin> but don't tell anyone I told you
2022-03-10 00:45:59 +0100seschwar(~seschwar@user/seschwar) (Quit: :wq)
2022-03-10 00:46:32 +0100 <jenifer> Well I figured id ask
2022-03-10 00:46:35 +0100 <ArshiaAghaei[m]> <liskin> "what many people do is install..." <- I installed xmonad using pacman
2022-03-10 00:46:36 +0100 <ArshiaAghaei[m]> It was old
2022-03-10 00:46:44 +0100 <ArshiaAghaei[m]> 0.15 I think
2022-03-10 00:47:53 +0100 <jenifer> Well I can drop into terminal and Arch is still working even my neofetch is there lol. So its Xmonad not starting up
2022-03-10 00:48:18 +0100 <jenifer> It compiled fine before the reboot and says its compiling fine from terminal at login screen lol
2022-03-10 00:49:51 +0100 <jenifer> I have something like this happen before and next day was fresh updates and boom it started working agian lol
2022-03-10 00:50:49 +0100 <jenifer> I was looking at i3 but not sure ill like the Tree format
2022-03-10 00:51:57 +0100spider__(~spider@vps-951ce37a.vps.ovh.ca) (Ping timeout: 240 seconds)
2022-03-10 00:58:27 +0100 <jenifer> Ok well I think I am gonna try a reinstall and just replace the configs with mine
2022-03-10 00:59:40 +0100 <jenifer> Thanks :)
2022-03-10 01:01:26 +0100jenifer(~jenifer@097-085-050-159.res.spectrum.com) (Quit: Leaving)
2022-03-10 01:26:11 +0100_bfrk(~Thunderbi@2001:9e8:356:fe00:1928:a910:1b2f:d635)
2022-03-10 01:28:17 +0100bfrk(~Thunderbi@i59f7abad.versanet.de) (Ping timeout: 256 seconds)
2022-03-10 01:28:17 +0100_bfrkbfrk
2022-03-10 01:51:13 +0100theproffesor(~theproffe@2601:282:847f:8010::7f59)
2022-03-10 01:52:54 +0100bfrk(~Thunderbi@2001:9e8:356:fe00:1928:a910:1b2f:d635) (Ping timeout: 250 seconds)
2022-03-10 03:09:52 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Quit: Leaving)
2022-03-10 03:11:29 +0100geekosaur(~geekosaur@xmonad/geekosaur)
2022-03-10 04:04:39 +0100banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 272 seconds)
2022-03-10 04:22:09 +0100banc(banc@gateway/vpn/airvpn/banc)
2022-03-10 04:41:00 +0100Guest21(~Guest21@185.183.97.187)
2022-03-10 04:42:37 +0100 <Guest21> is it possible to implement DWM like tags into XMonad nicely? CopyWindows works for assigning window to multiple workspaces, but there isn't a way to toggle tags/workspaces into view like in DWM?
2022-03-10 06:19:17 +0100mvk(~mvk@2607:fea8:5cc3:7e00::45ee) (Ping timeout: 240 seconds)
2022-03-10 06:25:11 +0100incertia(~incertia@207.98.163.88) (Read error: Connection reset by peer)
2022-03-10 06:26:03 +0100incertia(~incertia@207.98.163.88)
2022-03-10 06:29:48 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds)
2022-03-10 06:48:13 +0100Guest21(~Guest21@185.183.97.187) (Ping timeout: 240 seconds)
2022-03-10 06:55:20 +0100redgloboli(~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
2022-03-10 06:56:29 +0100redgloboli(~redglobol@user/redgloboli)
2022-03-10 07:14:33 +0100evan(~evan@219.136.52.90)
2022-03-10 07:28:57 +0100steve__(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds)
2022-03-10 08:49:47 +0100dschrempf(~dominik@mobiledyn-62-240-134-189.mrsn.at)
2022-03-10 08:57:48 +0100dschrempf(~dominik@mobiledyn-62-240-134-189.mrsn.at) (Ping timeout: 240 seconds)
2022-03-10 10:14:26 +0100bfrk(~Thunderbi@2001:9e8:356:fe00:1928:a910:1b2f:d635)
2022-03-10 10:22:34 +0100ArshiaAghaei[m]sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/f8b0b21f0aaa814c86121ab0e3dc4d14641d…
2022-03-10 10:22:35 +0100 <ArshiaAghaei[m]> I get this when using a language server on xmonad.hs
2022-03-10 10:30:04 +0100mc47(~mc47@xmonad/TheMC47)
2022-03-10 11:26:41 +0100bfrk(~Thunderbi@2001:9e8:356:fe00:1928:a910:1b2f:d635) (Quit: bfrk)
2022-03-10 11:26:57 +0100bfrk(~Thunderbi@i59F7ABAD.versanet.de)
2022-03-10 11:33:49 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
2022-03-10 12:01:34 +0100benin(~benin@183.82.26.94)
2022-03-10 12:46:25 +0100benin(~benin@183.82.26.94) (Remote host closed the connection)
2022-03-10 12:53:07 +0100 <liskin> ArshiaAghaei[m]: HLS makes it hard/impossible to create a configuration that would make it work with xmonad.hs
2022-03-10 12:53:36 +0100 <liskin> especially when one uses stack
2022-03-10 13:16:46 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2022-03-10 13:16:48 +0100allbery_b(~geekosaur@xmonad/geekosaur)
2022-03-10 13:16:51 +0100allbery_bgeekosaur
2022-03-10 13:22:13 +0100 <ArshiaAghaei[m]> <liskin> "Arshia Aghaei: HLS makes it hard..." <- So just not use a Haskell language server for xmonad.hs?
2022-03-10 13:29:50 +0100 <geekosaur> sad
2022-03-10 13:35:13 +0100evan(~evan@219.136.52.90) (Quit: Leaving)
2022-03-10 13:37:18 +0100Solidhas had absolutely no problems with using HLS or ghcide for his xmonad.hs
2022-03-10 13:38:08 +0100geekosaurhas never tried
2022-03-10 13:38:21 +0100 <geekosaur> I kinda never developed the habit of using IDEs
2022-03-10 13:38:58 +0100 <geekosaur> …and have memorized enough of xmonad and contrib (not to say Xlib) that I don't need to :)
2022-03-10 13:39:58 +0100 <liskin> Solid: possibly because it's part of a cabal project?
2022-03-10 13:40:45 +0100 <Solid> liskin: it's a stack project, I've never really used cabal on its own
2022-03-10 13:41:07 +0100 <liskin> geekosaur: it doesn't do much anyway, but it shows errors so one doesn't need the extra window for ghcid and can use the screen space for something else
2022-03-10 13:41:18 +0100 <liskin> Solid: it's something.cabal isn't it?
2022-03-10 13:41:52 +0100 <liskin> But yeah mea culpa I meant package not project
2022-03-10 13:42:02 +0100 <geekosaur> I'd expect a cabal file (which you'd need anyway unless you went the hpack route) would be enough
2022-03-10 13:42:05 +0100 <Solid> ah, yeah it has a .cabal file
2022-03-10 13:42:50 +0100 <geekosaur> but yes, the quick and dirty ways to build a config won;t give HLS enough information to figure itself out
2022-03-10 14:07:47 +0100 <liskin> I suppose I could replace some of my make machinery with a .cabal file
2022-03-10 14:09:56 +0100 <geekosaur> or not replace, just provide enough of a cabal file for HLS to work
2022-03-10 14:19:02 +0100dschrempf(~dominik@mobiledyn-62-240-134-171.mrsn.at)
2022-03-10 14:20:23 +0100 <Solid> definitely replace all of the make machinery that you can :P
2022-03-10 14:28:12 +0100 <geekosaur> enh. I mena, I'mnot a great fan of complex build systems, but there's also not breaking what already works
2022-03-10 14:29:01 +0100 <geekosaur> especially when doing so means you can't log in afterward :)
2022-03-10 14:31:08 +0100 <Solid> just don't log out until things work :D
2022-03-10 14:31:36 +0100 <geekosaur> famous last words
2022-03-10 14:39:38 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-03-10 14:42:12 +0100dschrempf(~dominik@mobiledyn-62-240-134-171.mrsn.at) (Ping timeout: 252 seconds)
2022-03-10 14:46:50 +0100Hash(~Hash@irc.websecurity.group)
2022-03-10 15:00:26 +0100dschrempf(~dominik@2a02:8389:100:e100:63d2:5fb6:bfcf:e59)
2022-03-10 15:05:13 +0100bfrk(~Thunderbi@i59F7ABAD.versanet.de) (Ping timeout: 272 seconds)
2022-03-10 15:05:51 +0100dschrempf(~dominik@2a02:8389:100:e100:63d2:5fb6:bfcf:e59) (Ping timeout: 252 seconds)
2022-03-10 15:06:46 +0100dschrempf(~dominik@2a02:8389:100:e100:78a9:fa63:bc23:f21d)
2022-03-10 15:10:50 +0100banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
2022-03-10 15:14:05 +0100 <liskin> Solid: I love my make machinery
2022-03-10 15:14:58 +0100 <liskin> but yeah, can't really argue it's simple any more, which was my only argument against having xmonadrc.cabal
2022-03-10 15:23:25 +0100banc(banc@gateway/vpn/airvpn/banc)
2022-03-10 15:34:56 +0100dschrempf(~dominik@2a02:8389:100:e100:78a9:fa63:bc23:f21d) (Ping timeout: 250 seconds)
2022-03-10 15:55:55 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-03-10 16:02:51 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-03-10 16:05:08 +0100dschrempf(~dominik@2a02:8389:100:e100:9474:382a:5c78:161d)
2022-03-10 16:05:40 +0100byorgey(~byorgey@155.138.238.211) (Quit: leaving)
2022-03-10 16:18:20 +0100fcser(~fcser@booty.farted.net) (Excess Flood)
2022-03-10 16:18:27 +0100fcser(~fcser@booty.farted.net)
2022-03-10 16:19:32 +0100dschrempf(~dominik@2a02:8389:100:e100:9474:382a:5c78:161d) (Ping timeout: 252 seconds)
2022-03-10 16:20:44 +0100steve__(~steve@ool-182c2b80.dyn.optonline.net)
2022-03-10 16:46:13 +0100frosch03(~user@2a02:c98:1003:8000:bf30:b607:4d78:5e32)
2022-03-10 16:50:03 +0100bfrk(~Thunderbi@i59F7ABAD.versanet.de)
2022-03-10 17:00:06 +0100Las[m](~lasmatrix@2001:470:69fc:105::74e) (Quit: You have been kicked for being idle)
2022-03-10 17:00:15 +0100liskin[m](~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2022-03-10 17:03:53 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-03-10 17:48:14 +0100mvk(~mvk@2607:fea8:5cc3:7e00::45ee)
2022-03-10 17:53:17 +0100seschwar(~seschwar@user/seschwar)
2022-03-10 18:13:00 +0100frosch03(~user@2a02:c98:1003:8000:bf30:b607:4d78:5e32) (Remote host closed the connection)
2022-03-10 18:26:46 +0100dschrempf(~dominik@2a02:8389:100:e100:8314:75b7:5450:7049)
2022-03-10 18:38:49 +0100benin(~benin@183.82.26.94)
2022-03-10 18:39:45 +0100 <benin> Any way to compile scripts/xmonadctl.hs from xmonad-contrib with the same stack.yaml used during install?
2022-03-10 18:39:58 +0100liskin[m](~liskinmat@2001:470:69fc:105::768)
2022-03-10 18:42:15 +0100 <benin> This link (https://xmonad.org/INSTALL.html#build-using-stack) is how my stack.yaml looks now. Just added XMonad.Hooks.ServerMode to my config, would be nice if this stack.yaml itself could somehow compile xmonadctl in so that it would trigger with just `xmonad --recompile` instead of compiling it separately.
2022-03-10 18:43:17 +0100 <benin> Learning haskell as I configure, but not familiar with how stack works, any help would be nice, thanks!
2022-03-10 18:47:52 +0100 <liskin> stack ghc should do it
2022-03-10 18:48:28 +0100 <liskin> (and we should probably make it an executable in the cabal package, this manual building is silly)
2022-03-10 18:50:15 +0100 <geekosaur> I think the main reason it isn't is that ServerMode is a proof of concept with a number of shortcomings
2022-03-10 18:50:33 +0100 <Solid> mh, would `stack install` install every executable in that case or would it prompt you to specify one?
2022-03-10 18:51:18 +0100 <geekosaur> all, I think. (cabal would ask you for a component, unless there's only one executable)
2022-03-10 18:54:57 +0100 <liskin> hm, maybe that's why I didn't do it earlier, I vaguely remember considering it before
2022-03-10 18:59:53 +0100 <benin> stack ghc -- --make xmonadctl.hs errors out with "could not find module Graphics.X11.Xlib and Graphics.X11.Xlib.Extras.
2022-03-10 19:04:19 +0100 <benin> Will writing a stack.yaml in the scripts/ subdirectory and including it under packages: in the main stack.yaml work?
2022-03-10 19:05:23 +0100 <benin> I see xmonad-contrib's stack.yaml having a extra-deps section with X11. Adding that section to scripts/stack.yaml should do no?
2022-03-10 19:09:17 +0100 <liskin> you should run that command from the directory where you have your main stack.yaml
2022-03-10 19:09:35 +0100 <liskin> so that's it's build using the same deps as xmonad
2022-03-10 19:17:07 +0100 <benin> That worked, thanks. Sadly leaves the build artifacts and executable in the source dir.
2022-03-10 19:30:57 +0100dschrempf(~dominik@2a02:8389:100:e100:8314:75b7:5450:7049) (Ping timeout: 252 seconds)
2022-03-10 19:35:11 +0100td_(~td@94.134.91.38)
2022-03-10 19:45:06 +0100 <benin> Got it working with the following. Really not sure if all this is required just to add one executable to compile.
2022-03-10 19:45:06 +0100 <benin> scripts/stack.yaml: https://pastebin.com/GsnavCtd
2022-03-10 19:45:06 +0100 <benin> scripts/xmonadctl.cabal: https://pastebin.com/wtzwgR08
2022-03-10 19:45:06 +0100 <benin> Also added `- xmonad-contrib/scripts` to the base stack.yaml under packages:.
2022-03-10 19:46:51 +0100 <benin> Well, at least now I know something about the convoluted build process in haskell /s.
2022-03-10 19:46:51 +0100 <benin> Please check it out and lmk if I did something really stupid or if there's a better way, thanks!
2022-03-10 19:47:24 +0100 <geekosaur> this is convoluted because you're trying to fit into a nonstandard build process
2022-03-10 19:47:34 +0100 <geekosaur> a proper build script would be easier
2022-03-10 19:50:52 +0100 <benin> Realized that. To be frank, this is still preferable over having .hi / .o files after running an arbitrary command (which I will most certainly forget).
2022-03-10 19:51:18 +0100 <benin> At least this is a proper patch I can save for later.
2022-03-10 19:54:39 +0100Czernobog(~Czernobog@user/czernobog) (Ping timeout: 272 seconds)
2022-03-10 19:55:00 +0100dschrempf(~dominik@2a02:8389:100:e100:2fc2:81e0:5305:9797)
2022-03-10 19:55:40 +0100Czernobog(~Czernobog@user/czernobog)
2022-03-10 20:00:42 +0100byorgey(~byorgey@155.138.238.211)
2022-03-10 20:06:19 +0100vanvik(~vanvik@78.156.12.223) (Ping timeout: 256 seconds)
2022-03-10 20:09:15 +0100vanvik(~vanvik@78.156.12.223)
2022-03-10 20:14:13 +0100dschrempf(~dominik@2a02:8389:100:e100:2fc2:81e0:5305:9797) (Ping timeout: 240 seconds)
2022-03-10 21:39:15 +0100banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
2022-03-10 21:48:52 +0100banc(banc@gateway/vpn/airvpn/banc)
2022-03-10 22:35:31 +0100benin(~benin@183.82.26.94) (Quit: The Lounge - https://thelounge.chat)
2022-03-10 22:47:26 +0100zawaken(~zawaken@user/zawaken) (Quit: ZNC 1.9.x-git-unknown - https://znc.in)
2022-03-10 22:50:58 +0100zawaken(~zawaken@user/zawaken)
2022-03-10 23:07:11 +0100zawaken(~zawaken@user/zawaken) (Remote host closed the connection)
2022-03-10 23:33:02 +0100zawaken(~zawaken@user/zawaken)
2022-03-10 23:34:01 +0100zawaken(~zawaken@user/zawaken) (Client Quit)
2022-03-10 23:36:41 +0100mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-03-10 23:38:39 +0100 <geekosaur> reminds me that at some point we need to arrange for -odir and -hidir to be the cache dir, if we haven't yet