Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 610 611 612 613 614 615 616 617 618 619 620 .. 1850
184,913 events total
2022-04-21 12:46:02 <abastro[m]> Package manager does signature checks?
2022-04-21 12:47:01 <geekosaur> windows is probably less vulnerable than linu these days, because NT-class windows has a better permissions system (original windows had none, not even administrator) and there was a lot of historical cruft that went away starting in windows 8
2022-04-21 12:49:37 <tdammers> depends on your attack vectors of course, but yes, generally speaking, windows got their act together
2022-04-21 12:50:23 <tdammers> the permission system is a two-edged sword though - the NT system is far more expressive than Unix permissions, but that also makes it more complex, and harder to understand
2022-04-21 12:50:32 <geekosaur> true
2022-04-21 12:50:58 <geekosaur> but a root-like Big Hammer is also a poor choice
2022-04-21 12:51:28 <tdammers> true; but it's not the only choice you have, even with Unix permissions
2022-04-21 12:52:04 <geekosaur> and you have to do a lot more work and sometimes go against your distro's permissions if you want to, say, do backups without having to invoke root
2022-04-21 12:52:28 <geekosaur> so in some ways it just moves the complexity instead of removing it
2022-04-21 12:53:35 <abastro[m]> <del>Like golang?</del>
2022-04-21 12:53:47 <tdammers> in a way, yes
2022-04-21 12:54:22 <tdammers> golang is a simple language, it lacks some abstractive power, and because of that, code is sometimes more complicated than it should be
2022-04-21 12:55:53 <abastro[m]> Yep now I recognize that I should at least appreciate how it does not accept features without tons of thought
2022-04-21 12:56:09 <abastro[m]> (The "simplicity" thing still sounds dubious to me tho)
2022-04-21 12:56:27 <abastro[m]> (Altho i guess comparison is against Java OOP, then.. lol)
2022-04-21 12:57:26 <tdammers> well, but that's kind of the age-old challenge of designing a programming language: you want the core language to be simple but expressive.
2022-04-21 12:57:52 <tdammers> if you make it too simple, you force people to write more complicated code; if you make it too complex, then the language itself is, well, too complex
2022-04-21 12:58:54 <abastro[m]> Indeed, I guess Go just strived to being too simple
2022-04-21 12:59:10 <abastro[m]> They generally do not care expressiveness it seems
2022-04-21 12:59:23 <abastro[m]> But that can help readability for beginners too
2022-04-21 13:04:59 <tdammers> you have to consider the context in which Go was conceived
2022-04-21 13:05:32 <tdammers> Google is not your average dev shop; the economics that govern 99% of the software industry do not apply to Google.
2022-04-21 13:06:41 <abastro[m]> Well yeah, but then everyone wants to folloe Yoogle
2022-04-21 13:06:51 <abastro[m]> s/Yoogle/Google
2022-04-21 13:09:23 <abastro[m]> Many companies try to do stuffs with lower quality devs as well, which generally saves cost
2022-04-21 13:13:57 <geekosaur> problem being it doesn't workfor them
2022-04-21 13:15:47 <abastro[m]> Doesn't work?
2022-04-21 13:15:55 <abastro[m]> But these companies are operational
2022-04-21 13:16:35 <geekosaur> operational but not getting the same benefits
2022-04-21 13:16:59 <geekosaur> admittedly "the perfect is the enemy of the good" also applies here
2022-04-21 13:17:29 <tdammers> case in point, most companies can get very far with shitty software and horrible development practices.
2022-04-21 13:17:30 <geekosaur> but you get a lot of barely functioning crap
2022-04-21 13:17:37 <geekosaur> that, yes
2022-04-21 13:17:56 <abastro[m]> Indeed, barely functioning crqp
2022-04-21 13:17:58 <tdammers> it's amazing how long people can hold such a pile of crap together with duct tape and chewing gum
2022-04-21 13:17:58 <abastro[m]> Crap**
2022-04-21 13:18:44 <abastro[m]> But at least it saves them cost because the price to pay for the troubles are still quite low
2022-04-21 13:19:32 <abastro[m]> Well, duct tape at least meeds more praise I think. They themselves should have been made reliable enough to hold other things together
2022-04-21 13:21:13 <abastro[m]> Writing shitty software is how shops using python operate I guess. Tho they got ideas which get afloat
2022-04-21 13:23:59 <abastro[m]> At least writing the same junk with Go might be better (or, I guess, not)
2022-04-21 13:34:11 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 13:35:39 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 13:49:56 abastro joins (~abab9579@220.75.216.63)
2022-04-21 14:19:36 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 14:20:41 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 14:22:55 The_Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 14:23:38 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 14:23:38 The_Czernobog is now known as Czernobog
2022-04-21 14:27:09 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 14:27:36 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 14:35:12 × benin quits (~benin@183.82.204.110) (Quit: The Lounge - https://thelounge.chat)
2022-04-21 14:41:05 <abastro> Why does xmonad pulls build executable from config directory? Can I change the behavior?
2022-04-21 14:42:28 <geekosaur> the build script, you mean? I think it's considered part of the config insofar as the config needs it (if it is needed)
2022-04-21 14:42:50 <geekosaur> I don't think there's a separate envar or etc. for the build script
2022-04-21 14:45:02 <abastro> True, seems like I've been confusing something
2022-04-21 14:45:21 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 14:45:42 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 14:46:58 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 14:48:09 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 14:49:45 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 14:50:52 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 14:53:10 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 14:53:31 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 14:55:42 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 14:56:40 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 14:59:21 <LukasLuluHu[m]> <geekosaur> "although these days we recommend..." <- thank you, but then how would you access XConfig from the additionalKeysP list, should I declare it a global variable? And just to clarify, because the docs couldn't help me here, is def {modMask = mod4Mask} of type XConfig?
2022-04-21 14:59:22 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 14:59:58 <geekosaur> only reason you need it is for modm, but additionalKeysP supports the M- modifier instead
2022-04-21 15:00:05 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 15:00:16 <geekosaur> and takes the config as its first (or as usually used, left) parameter
2022-04-21 15:03:16 <geekosaur> mm, sadly the tutorial doesn't have enough section headings. look in https://xmonad.org/TUTORIAL.html for "M-S-z" as an example of how to use additionalKeysP. it's written inside `` so it acts as an operator, so the config is its left parameter
2022-04-21 15:03:38 <geekosaur> so you don't have to extract the modifier key yourself, it does it for you
2022-04-21 15:03:43 × abastro quits (~abab9579@220.75.216.63) (Ping timeout: 260 seconds)
2022-04-21 15:03:57 <geekosaur> and you can just refer to it as the "M-" modifier in a key sequence
2022-04-21 15:32:18 <LukasLuluHu[m]> ok, thank you! Sadly adding ("M-y", scratchpadSpawnActionTerminal "alacritty") also doesn't spawn an alacritty. But it's also not that important, would only be nice to have.
2022-04-21 15:32:47 <geekosaur> @where paste
2022-04-21 15:32:48 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2022-04-21 15:39:49 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 15:40:37 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 15:43:56 Guest82 joins (~Guest82@104.129.199.20)
2022-04-21 15:44:17 <Guest82> hi has anyone gotten xmonad 17 working on nixos ive struggled for the past day on it
2022-04-21 15:44:35 <Guest82> looking to transition from arch, used to building with stack
2022-04-21 15:44:40 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-04-21 15:45:29 <geekosaur> there's a flake for xmonad and contrib but I know nothing about it, I don't use nixos. well, and there'sa NIX.md at the toplevel of the xmonad repo
2022-04-21 15:45:44 Czernobog joins (~Czernobog@user/czernobog)
2022-04-21 15:46:45 <Guest82> I'll research about the flakes! thanks
2022-04-21 15:47:43 <[Leary]> Guest82: Iirc 0.17 should work out of the box. What problem are you actually seeing?
2022-04-21 15:49:22 <Guest82> Setup: Encountered missing or private dependencies:
2022-04-21 15:49:22 <Guest82> xmonad >=0.16.99999 && <0.18
2022-04-21 15:50:10 <Guest82> smiliar issues documented here
2022-04-21 15:50:11 <Guest82> https://discourse.nixos.org/t/use-latest-version-of-xmonad-0-17-0/16191/2
2022-04-21 15:51:38 <[Leary]> Normally you don't select versions like that, you just just xmonad from the appropriate haskell package set.
2022-04-21 15:52:15 <[Leary]> I don't really know what people are doing in that thread..
2022-04-21 15:52:49 <Guest82> for some reason it is pulling .15 instead of .17 on the unstable repo for me, but I could have done something incorrectly
2022-04-21 15:53:08 <Guest82> so my config does not work because it is using the old contrib
2022-04-21 15:53:16 <Guest82> that is if I set it up as normal
2022-04-21 15:56:57 <[Leary]> It really should be 0.17 on unstable. Maybe you're pinned to an old nixpkgs, or you need to do some kind of channel update.
2022-04-21 15:59:20 <[Leary]> I'm rebuilding my system with standard xmonad right now, let's see what version I get.
2022-04-21 15:59:30 <Guest82> I ran these: sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos, sudo nix-channel --update, nixos-rebuild switch --upgrade
2022-04-21 15:59:59 <Guest82> I could totally be going about it completely wrong as I am very new to nix, so i really appreciate all the hlep

All times are in UTC.