Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 606 607 608 609 610 611 612 613 614 615 616 .. 1850
184,913 events total
2022-04-19 16:06:15 <abastro> Easier for imperative programmers.. ee
2022-04-19 16:13:49 <geekosaur> it's going away
2022-04-19 16:15:43 <abastro> Oh.
2022-04-19 16:15:47 <abastro> "This module is a perpetual draft and will therefore be removed from xmonad-contrib in the near future."
2022-04-19 16:16:58 <geekosaur> it was an experimental new way of configuring xmonad. it never really went anywhere and works poorly with many contrib modules because you have to work out how to integrate it yourself, the standard instructions generally don't work
2022-04-19 16:17:54 <abastro> I see
2022-04-19 16:18:13 <abastro> Personally I think declarative syntax works better for configs
2022-04-19 16:18:41 <abastro> (I guess "wrapping by ewmh etc" part is a bit confusing tho)
2022-04-19 16:19:12 <geekosaur> that stuff allcame after X.C.Prime anyway,mostof the combinator style stuff is within the past few years
2022-04-19 16:19:26 <geekosaur> ]originally you had to stick hooks everywhere
2022-04-19 16:20:04 <geekosaur> Ether[m], I don't know why you think throwing a thousand line config at me and expecting me to understand it immediately is going to work well
2022-04-19 16:20:05 <abastro[m]> Stick hooks?
2022-04-19 16:20:27 Ether[m] uploaded an image: (275KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/XaKhFUKpHpvZheEhnBxdybcv/20220419_222008_6368108160159698788.jpg >
2022-04-19 16:20:29 <geekosaur> you had to manually add the hooks to your startupHook, logHook, etc.
2022-04-19 16:20:50 <Ether[m]> Trying to install 0.17 getting this error, do use sudo?
2022-04-19 16:21:01 <geekosaur> almost never do you want sudo
2022-04-19 16:21:09 <abastro[m]> geekosaur: <del>Oh, I mean I am okay with that</del>
2022-04-19 16:21:29 <Ether[m]> geekosaur: Any idea why i am getting this error
2022-04-19 16:22:31 <geekosaur> ls -ld ~/.config/xmonad
2022-04-19 16:22:40 <geekosaur> run that, pastebin the result
2022-04-19 16:25:49 <Ether[m]> geekosaur: Is that a capital i?
2022-04-19 16:26:22 <abastro[m]> I think it is l
2022-04-19 16:26:26 <Ether[m]> Yep
2022-04-19 16:26:29 <abastro[m]> You know, l
2022-04-19 16:26:33 <geekosaur> loweercase l for both
2022-04-19 16:26:48 <Ether[m]> geekosaur: Nothing to paste bin
2022-04-19 16:26:52 × abastro quits (~abab9579@220.75.216.63) (Ping timeout: 246 seconds)
2022-04-19 16:26:58 <geekosaur> huh?
2022-04-19 16:27:03 <Ether[m]> It just shows contents of the directory
2022-04-19 16:27:15 <abastro[m]> No content in the directory I guess
2022-04-19 16:27:25 <abastro[m]> Eh
2022-04-19 16:27:26 <abastro[m]> Well
2022-04-19 16:27:31 <geekosaur> then you did something wrong
2022-04-19 16:27:49 <geekosaur> -lmeans long listing, -d means show the directory itself instead of its contents
2022-04-19 16:27:58 <abastro[m]> Doesn't it show permission
2022-04-19 16:28:02 <Ether[m]> geekosaur: I did?
2022-04-19 16:28:13 <abastro[m]> Oh
2022-04-19 16:28:51 <geekosaur> example output: https://paste.tomsmeding.com/cyM5clBe
2022-04-19 16:29:07 Ether[m] uploaded an image: (302KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/RZTnXAswxbAVfWyxokqlrbZX/20220419_222850_2750948350285123782.jpg >
2022-04-19 16:29:43 <abastro[m]> Why is it owned by root
2022-04-19 16:29:54 <abastro[m]> Now this is curious situation
2022-04-19 16:30:03 <geekosaur> no idea, I assume you used sudo at some point when you shouldn't have
2022-04-19 16:30:11 <geekosaur> sudo is a big hammer, it should be avoided
2022-04-19 16:30:27 <Ether[m]> I think i used it to move the file
2022-04-19 16:30:27 <abastro[m]> Something owned by root in home directory..
2022-04-19 16:31:15 <Ether[m]> abastro[m]: Yep thats the case
2022-04-19 16:31:22 <Ether[m]> Had to run chown
2022-04-19 16:31:30 <Ether[m]> It works not, thanks
2022-04-19 16:31:33 <geekosaur> and I expect a lot of stuff to break if anything else in .config is owned by root
2022-04-19 16:31:35 <Ether[m]> Noe*
2022-04-19 16:31:42 <Ether[m]> Now*
2022-04-19 16:31:47 <geekosaur> you type almost as bad as I do :þ
2022-04-19 16:36:06 <abastro[m]> What is different between forkIO and forkProcess?
2022-04-19 16:38:18 <geekosaur> everything :)
2022-04-19 16:38:24 <geekosaur> forkIO creates a new thread
2022-04-19 16:38:33 <geekosaur> forkProcess creates a new process
2022-04-19 16:38:36 <abastro[m]> Oh
2022-04-19 16:38:45 <abastro[m]> How about forkOS?
2022-04-19 16:38:47 <geekosaur> linux tried to combine those in the 2.x days, it wasa disaster
2022-04-19 16:39:04 <geekosaur> forkOS makes a bound thread (the Haskell thread always runs on the same OS thread)
2022-04-19 16:39:59 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-04-19 16:40:05 <geekosaur> you need forkOS if the thread makes use of FFI that uses thread-local storage, or similar
2022-04-19 16:40:12 <abastro[m]> Meh I wonder why forkProcess is not part of base
2022-04-19 16:40:31 <geekosaur> you can't do it on Windows
2022-04-19 16:40:39 <abastro[m]> In this application of xmonad, it doesn't matter but.. if you want to fork a procees..
2022-04-19 16:40:59 <geekosaur> windows can spawn a new program, but not duplicate a process like forkProcess does
2022-04-19 16:41:25 <abastro[m]> What do you do in Windows if you want to create a copy program?
2022-04-19 16:41:35 <geekosaur> (not that unix's fork()+exec() turns out to be a good API)
2022-04-19 16:41:48 <abastro[m]> Oh wait
2022-04-19 16:42:01 Ether[m] uploaded an image: (266KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/wAtmwwtcMzeIHjnelMBSCdWp/20220419_224131_8715269237636572978.jpg >
2022-04-19 16:42:15 <Ether[m]> Jeez what did i do?
2022-04-19 16:42:22 <geekosaur> you don't. and you don't generally want to; back in theold days the only uses of fork() were immediately followed by exec() (which is windows' "spawn") or as a workaround for lack of threads
2022-04-19 16:42:27 <abastro[m]> I learned it the linux way so I did not think of spawning executable as brand new
2022-04-19 16:43:05 <geekosaur> but then, back in the old days fork() was cheap enough that it basically worked as an alternative to threads, for most stuff
2022-04-19 16:44:07 <geekosaur> o.O
2022-04-19 16:45:09 stackdroid18 joins (~stackdroi@user/stackdroid)
2022-04-19 16:46:18 <abastro[m]> geekosaur: Meh, I guess I should be more familiar with building multiple executables
2022-04-19 16:46:24 <geekosaur> Ether[m], when you installed ghcup, did you do it as root?
2022-04-19 16:46:43 <Ether[m]> I think
2022-04-19 16:46:44 <geekosaur> althouhg I can't see why that would produce *that* error
2022-04-19 16:47:05 <geekosaur> but it sounds like you need to nuke ~/.ghcup and start over
2022-04-19 16:47:11 <Ether[m]> geekosaur: Wait what, i didn't
2022-04-19 16:47:29 <Ether[m]> I am on debian
2022-04-19 16:49:57 <Ether[m]> You dont install ghcup in debian its supposed to be installed as a dependency
2022-04-19 16:50:09 <Ether[m]> I think*
2022-04-19 16:50:33 <geekosaur> you switched from arch?
2022-04-19 16:50:46 <geekosaur> is your stack from debian then?
2022-04-19 16:51:00 <geekosaur> in that case it might be old enough that the first thing you need to do is stack upgrade
2022-04-19 16:51:16 <Ether[m]> I did
2022-04-19 16:51:30 <Ether[m]> I am follow the xmonad guide
2022-04-19 16:51:34 <geekosaur> unless you run debian testing
2022-04-19 16:51:45 <geekosaur> which might be close enough to arch to make you happy
2022-04-19 16:51:48 <Ether[m]> And fyi i am on debian unstable
2022-04-19 16:51:52 <geekosaur> ah
2022-04-19 16:52:02 <Ether[m]> Meh
2022-04-19 16:52:13 <geekosaur> I found that a little *too* unstable back when I tried it, but who knows
2022-04-19 16:52:25 <Ether[m]> Only for sake of trying xmonad 0.17
2022-04-19 16:52:43 <Ether[m]> I think i have to edit stack.yaml
2022-04-19 16:56:05 <geekosaur> congratulations,k there are no hits for that gcc error in a web search :/
2022-04-19 16:56:42 <geekosaur> somehow you have confused the hell out of stack

All times are in UTC.