💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-03-30.txt captured on 2021-12-17 at 13:26:06.
-=-=-=-=-=-=-
2020-03-30T01:08:27 #kisslinux <konimex> ax: just throw your questions here, I read the backlogs 2020-03-30T05:49:49 #kisslinux <dylanaraps> My laptop decided not to turn on Yesterday (which is why I wasn't on at all). 2020-03-30T05:50:19 #kisslinux <dylanaraps> It decided to turn on last night out of nowhere. :P 2020-03-30T05:51:44 #kisslinux <dylanaraps> brb 2020-03-30T06:13:21 #kisslinux <dylan02> We're very close to a ccache release which forces zstd. https://github.com/ccache/ccache/milestone/21 2020-03-30T06:46:58 #kisslinux <lieu> hola 2020-03-30T07:06:41 #kisslinux <icyphox> dzove855: https://github.com/icyphox/mael -- the mail client thing I was talking about. 2020-03-30T07:06:51 #kisslinux <icyphox> The Python side needs a lot of TLC. 2020-03-30T07:07:11 #kisslinux <icyphox> Especially in the argument parsing code. I'm using 'sys.argv' because I'm lazy. 2020-03-30T08:00:28 #kisslinux <dylan02> icyphox: Write a parser in bash 2020-03-30T08:00:30 #kisslinux <dylan02> ;) 2020-03-30T08:03:45 #kisslinux <dylan02> ooo 2020-03-30T08:03:48 #kisslinux <dylan02> New kernel release 2020-03-30T08:22:04 #kisslinux <dzove855> icyphox: the parser should be possible to write in bash, with a case statement like dylan02 have done it in birch 2020-03-30T08:44:21 #kisslinux <icyphox> dylan02, dzove855: Anything is possible in bash. :D 2020-03-30T08:44:25 #kisslinux <icyphox> But, do I want to? 2020-03-30T08:44:45 #kisslinux <icyphox> Can I /really/ be bothered to write a Maildir parser in bash? 2020-03-30T08:44:47 #kisslinux <icyphox> Probably not. 2020-03-30T08:44:51 #kisslinux <konimex> ax: simple, I gave everyone wishing to maintain a package a 7-day window to adopt the package, no response = no one wants it, simple as that, no what if situation 2020-03-30T08:47:38 #kisslinux <dzove855> icyphox: well it will remove the dep of python if you don't need to :p 2020-03-30T08:49:12 #kisslinux <icyphox> Agreed. 2020-03-30T08:49:51 #kisslinux <icyphox> It's non-trivial in bash though. I don't think I have the time / energy to go about doing that. 2020-03-30T08:49:53 #kisslinux <icyphox> Let alone the skill. 2020-03-30T08:49:55 #kisslinux <icyphox> :D 2020-03-30T08:51:13 #kisslinux <dzove855> i will have a look at it once i have time. It should not be difficult but it can be slow as hell when there are a lot of mails :D 2020-03-30T08:51:26 #kisslinux <icyphox> Oh yeah absolutely. 2020-03-30T08:51:40 #kisslinux <icyphox> My current solution isn't very efficient either. 2020-03-30T08:51:51 #kisslinux <icyphox> But it works for me, I think. 2020-03-30T08:52:08 #kisslinux <icyphox> Time to work on the mail selection UX. 2020-03-30T08:55:38 #kisslinux <dzove855> the only thing which might be complicated is to parse a body which is in html format.. dunno if you should parse it to get a clean mail or not 2020-03-30T08:56:50 #kisslinux <dzove855> also some mails are signed which adds an other check to include 2020-03-30T09:35:44 #kisslinux <dylan02> ax: You also have the full package files locally on your machine if the package is installed (regardless of whether or not it is in the repositories). 2020-03-30T09:35:51 #kisslinux <dylan02> The power is in your hands. 2020-03-30T09:42:28 #kisslinux <icyphox> dzove855: No I'm not dealing with HTML email right now lol. 2020-03-30T09:42:43 #kisslinux <icyphox> Thankfully, most email are either plain or mulitpart (plain and HTML). 2020-03-30T09:43:20 #kisslinux <icyphox> dzove855: If you want to give a shot at writing a Maildir parser in bash, I won't stop you. :) 2020-03-30T09:43:53 #kisslinux <icyphox> https://cr.yp.to/proto/maildir.html 2020-03-30T09:44:00 #kisslinux <icyphox> Here's a good reference. 2020-03-30T09:44:57 #kisslinux <icyphox> Oh 5.6 is stable now. 2020-03-30T09:45:12 #kisslinux <dylan02> Yeah 2020-03-30T09:45:15 #kisslinux <dylan02> I'm about to build it 2020-03-30T09:46:58 #kisslinux <icyphox> Building it right now. 2020-03-30T09:47:14 #kisslinux <icyphox> I should probably spend this break to clean up my kernel config. 2020-03-30T09:47:27 #kisslinux <icyphox> Trim the fat a bit. 2020-03-30T09:49:14 #kisslinux <dylan02> I'm doing that now :P 2020-03-30T09:49:21 #kisslinux <dylan02> Swapping to lz0 for compression as well 2020-03-30T10:24:37 #kisslinux <icyphox> dylanaraps: Weird, I'm having connectivity issues on 5.6. 2020-03-30T10:24:44 #kisslinux <icyphox> But 5.6-rc6 works fine. 2020-03-30T10:24:47 #kisslinux <icyphox> Heh. 2020-03-30T10:30:08 #kisslinux <dylanaraps> icyphox: There's a known issue with intel wifi 2020-03-30T10:30:15 #kisslinux <dylanaraps> Mine works fine though (iwlwifi) 2020-03-30T10:34:30 #kisslinux <fehawen> howdy 2020-03-30T10:36:51 #kisslinux <icyphox> dylan02: Ah I see. I'm using iwlwifi too though... 2020-03-30T10:37:12 #kisslinux <icyphox> Hey fehawen. 2020-03-30T10:37:22 #kisslinux <dylan02> Hello 2020-03-30T10:37:41 #kisslinux <icyphox> I meant to say thanks for reading my blog, fehawen, back then. A few days back. :) 2020-03-30T10:42:19 #kisslinux <dylan02> icyphox: https://patchwork.ozlabs.org/patch/1263553/ 2020-03-30T10:42:23 #kisslinux <dylan02> Patch for the WiFi 2020-03-30T10:42:42 #kisslinux <icyphox> Thanks! 2020-03-30T10:42:54 #kisslinux <icyphox> I think I'll wait for it to get merged and I'll switch then. 2020-03-30T10:43:09 #kisslinux <dylan02> Fair enough 2020-03-30T10:43:16 #kisslinux <dylan02> I have 8 or so patches for 5.6 :P 2020-03-30T10:43:43 #kisslinux <dylan02> Really. they're applied to all versions I may use 2020-03-30T10:44:31 #kisslinux <icyphox> lmao 2020-03-30T10:44:48 #kisslinux <icyphox> Patches for what exactly? 2020-03-30T10:45:06 #kisslinux <dylan02> > Reduce wakeups for PME checks, which are a workaround for miswired 2020-03-30T10:45:14 #kisslinux <dylan02> > reduce wakeups in ksm by adding rounding (aligning) when 2020-03-30T10:45:24 #kisslinux <dylan02> > saves 200ms+ of boot time. 2020-03-30T10:45:35 #kisslinux <icyphox> ooo 2020-03-30T10:45:46 #kisslinux <dylan02> Another tweaks ntp slightly. 2020-03-30T10:46:02 #kisslinux <dylan02> > do accept() in LIFO order for cache efficiency 2020-03-30T10:46:10 #kisslinux <dylan02> > locking: rwsem: spin faster 2020-03-30T10:46:25 #kisslinux <dylan02> Also one to do -march=native 2020-03-30T10:46:53 #kisslinux <icyphox> I see I see. 2020-03-30T10:46:59 #kisslinux <dylan02> They're mostly from Clear Linux: https://github.com/clearlinux-pkgs/linux/ 2020-03-30T10:47:16 #kisslinux <icyphox> Isn't that Intel's distro? 2020-03-30T10:47:32 #kisslinux <dylan02> Yeah 2020-03-30T10:47:49 #kisslinux <dylan02> They have nice patches for the kernel 2020-03-30T10:47:53 #kisslinux <icyphox> Yep 2020-03-30T10:48:00 #kisslinux <dylan02> They're slowly being accepted upstream 2020-03-30T10:49:23 #kisslinux <icyphox> dylan02: If I define a variable inside a function without 'local', can I access it from outside? 2020-03-30T10:49:29 #kisslinux <dylan02> Yes 2020-03-30T10:49:37 #kisslinux <icyphox> Hm, alrighty. 2020-03-30T10:49:43 #kisslinux <icyphox> I should probably 'local' some stuff then. 2020-03-30T10:49:53 #kisslinux <dylan02> You can do: func() ( var=hello; echo "$hello" ) 2020-03-30T10:49:57 #kisslinux <dylan02> instead of { } 2020-03-30T10:50:07 #kisslinux <dylan02> The function will run in a subshell 2020-03-30T10:50:30 #kisslinux <icyphox> Ooo, that's nifty. 2020-03-30T10:50:32 #kisslinux <dylan02> Can also just do: func() { echo "$var"; }; var=helo func 2020-03-30T10:50:54 #kisslinux <dylan02> or simply: func() { var=hello; echo "$var"; var=; } 2020-03-30T10:51:26 #kisslinux <icyphox> 'var=' effectively unsets it right? 2020-03-30T10:51:40 #kisslinux <dylan02> Can also abuse set (if args aren't needed): func() { set -- hello; echo "$1"; } 2020-03-30T10:51:43 #kisslinux <dylan02> Yeah 2020-03-30T10:51:56 #kisslinux <dylan02> Can also use 'unset' if you like. 2020-03-30T10:52:03 #kisslinux <icyphox> Right, yeah. 2020-03-30T10:52:06 #kisslinux <icyphox> Thanks! 2020-03-30T10:52:25 #kisslinux <dylan02> https://pubs.opengroup.org/onlinepubs/009695399/utilities/unset.html 2020-03-30T11:02:31 #kisslinux <fehawen> icyphox: No need to thank me for that :P It was good reading 2020-03-30T11:08:16 #kisslinux <icyphox> :) 2020-03-30T11:18:41 #kisslinux <k1ss> anyone using kiss linux with runit yet? 2020-03-30T11:27:41 #kisslinux <dylan02> Maybe 2020-03-30T11:27:47 #kisslinux <dylan02> It should be very easy to do. 2020-03-30T15:50:23 #kisslinux <icyphox> dylan02, dylanaraps: https://termbin.com/ceoo 2020-03-30T15:50:30 #kisslinux <icyphox> Any idea what I'm doing wrong here? 2020-03-30T15:50:41 #kisslinux <icyphox> The '-v' check should pass right? 2020-03-30T15:50:54 #kisslinux <icyphox> The variable '$s' is assigned. 2020-03-30T15:51:15 #kisslinux <icyphox> Oh woops. 2020-03-30T15:52:55 #kisslinux <icyphox> Nevermind that. Look at this instead: https://termbin.com/e76f 2020-03-30T15:58:48 #kisslinux <ominous_anonymou> what is -v flag? 2020-03-30T15:59:36 #kisslinux <icyphox> ominous_anonymou: Checks if the variable has been assigned. 2020-03-30T15:59:56 #kisslinux <icyphox> Figured it out. I drop the '