2020-03-30T01:08:27 #kisslinux ax: just throw your questions here, I read the backlogs 2020-03-30T05:49:49 #kisslinux My laptop decided not to turn on Yesterday (which is why I wasn't on at all). 2020-03-30T05:50:19 #kisslinux It decided to turn on last night out of nowhere. :P 2020-03-30T05:51:44 #kisslinux brb 2020-03-30T06:13:21 #kisslinux We're very close to a ccache release which forces zstd. https://github.com/ccache/ccache/milestone/21 2020-03-30T06:46:58 #kisslinux hola 2020-03-30T07:06:41 #kisslinux dzove855: https://github.com/icyphox/mael -- the mail client thing I was talking about. 2020-03-30T07:06:51 #kisslinux The Python side needs a lot of TLC. 2020-03-30T07:07:11 #kisslinux Especially in the argument parsing code. I'm using 'sys.argv' because I'm lazy. 2020-03-30T08:00:28 #kisslinux icyphox: Write a parser in bash 2020-03-30T08:00:30 #kisslinux ;) 2020-03-30T08:03:45 #kisslinux ooo 2020-03-30T08:03:48 #kisslinux New kernel release 2020-03-30T08:22:04 #kisslinux 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 dylan02, dzove855: Anything is possible in bash. :D 2020-03-30T08:44:25 #kisslinux But, do I want to? 2020-03-30T08:44:45 #kisslinux Can I /really/ be bothered to write a Maildir parser in bash? 2020-03-30T08:44:47 #kisslinux Probably not. 2020-03-30T08:44:51 #kisslinux 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 icyphox: well it will remove the dep of python if you don't need to :p 2020-03-30T08:49:12 #kisslinux Agreed. 2020-03-30T08:49:51 #kisslinux 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 Let alone the skill. 2020-03-30T08:49:55 #kisslinux :D 2020-03-30T08:51:13 #kisslinux 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 Oh yeah absolutely. 2020-03-30T08:51:40 #kisslinux My current solution isn't very efficient either. 2020-03-30T08:51:51 #kisslinux But it works for me, I think. 2020-03-30T08:52:08 #kisslinux Time to work on the mail selection UX. 2020-03-30T08:55:38 #kisslinux 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 also some mails are signed which adds an other check to include 2020-03-30T09:35:44 #kisslinux 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 The power is in your hands. 2020-03-30T09:42:28 #kisslinux dzove855: No I'm not dealing with HTML email right now lol. 2020-03-30T09:42:43 #kisslinux Thankfully, most email are either plain or mulitpart (plain and HTML). 2020-03-30T09:43:20 #kisslinux 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 https://cr.yp.to/proto/maildir.html 2020-03-30T09:44:00 #kisslinux Here's a good reference. 2020-03-30T09:44:57 #kisslinux Oh 5.6 is stable now. 2020-03-30T09:45:12 #kisslinux Yeah 2020-03-30T09:45:15 #kisslinux I'm about to build it 2020-03-30T09:46:58 #kisslinux Building it right now. 2020-03-30T09:47:14 #kisslinux I should probably spend this break to clean up my kernel config. 2020-03-30T09:47:27 #kisslinux Trim the fat a bit. 2020-03-30T09:49:14 #kisslinux I'm doing that now :P 2020-03-30T09:49:21 #kisslinux Swapping to lz0 for compression as well 2020-03-30T10:24:37 #kisslinux dylanaraps: Weird, I'm having connectivity issues on 5.6. 2020-03-30T10:24:44 #kisslinux But 5.6-rc6 works fine. 2020-03-30T10:24:47 #kisslinux Heh. 2020-03-30T10:30:08 #kisslinux icyphox: There's a known issue with intel wifi 2020-03-30T10:30:15 #kisslinux Mine works fine though (iwlwifi) 2020-03-30T10:34:30 #kisslinux howdy 2020-03-30T10:36:51 #kisslinux dylan02: Ah I see. I'm using iwlwifi too though... 2020-03-30T10:37:12 #kisslinux Hey fehawen. 2020-03-30T10:37:22 #kisslinux Hello 2020-03-30T10:37:41 #kisslinux I meant to say thanks for reading my blog, fehawen, back then. A few days back. :) 2020-03-30T10:42:19 #kisslinux icyphox: https://patchwork.ozlabs.org/patch/1263553/ 2020-03-30T10:42:23 #kisslinux Patch for the WiFi 2020-03-30T10:42:42 #kisslinux Thanks! 2020-03-30T10:42:54 #kisslinux I think I'll wait for it to get merged and I'll switch then. 2020-03-30T10:43:09 #kisslinux Fair enough 2020-03-30T10:43:16 #kisslinux I have 8 or so patches for 5.6 :P 2020-03-30T10:43:43 #kisslinux Really. they're applied to all versions I may use 2020-03-30T10:44:31 #kisslinux lmao 2020-03-30T10:44:48 #kisslinux Patches for what exactly? 2020-03-30T10:45:06 #kisslinux > Reduce wakeups for PME checks, which are a workaround for miswired 2020-03-30T10:45:14 #kisslinux > reduce wakeups in ksm by adding rounding (aligning) when 2020-03-30T10:45:24 #kisslinux > saves 200ms+ of boot time. 2020-03-30T10:45:35 #kisslinux ooo 2020-03-30T10:45:46 #kisslinux Another tweaks ntp slightly. 2020-03-30T10:46:02 #kisslinux > do accept() in LIFO order for cache efficiency 2020-03-30T10:46:10 #kisslinux > locking: rwsem: spin faster 2020-03-30T10:46:25 #kisslinux Also one to do -march=native 2020-03-30T10:46:53 #kisslinux I see I see. 2020-03-30T10:46:59 #kisslinux They're mostly from Clear Linux: https://github.com/clearlinux-pkgs/linux/ 2020-03-30T10:47:16 #kisslinux Isn't that Intel's distro? 2020-03-30T10:47:32 #kisslinux Yeah 2020-03-30T10:47:49 #kisslinux They have nice patches for the kernel 2020-03-30T10:47:53 #kisslinux Yep 2020-03-30T10:48:00 #kisslinux They're slowly being accepted upstream 2020-03-30T10:49:23 #kisslinux dylan02: If I define a variable inside a function without 'local', can I access it from outside? 2020-03-30T10:49:29 #kisslinux Yes 2020-03-30T10:49:37 #kisslinux Hm, alrighty. 2020-03-30T10:49:43 #kisslinux I should probably 'local' some stuff then. 2020-03-30T10:49:53 #kisslinux You can do: func() ( var=hello; echo "$hello" ) 2020-03-30T10:49:57 #kisslinux instead of { } 2020-03-30T10:50:07 #kisslinux The function will run in a subshell 2020-03-30T10:50:30 #kisslinux Ooo, that's nifty. 2020-03-30T10:50:32 #kisslinux Can also just do: func() { echo "$var"; }; var=helo func 2020-03-30T10:50:54 #kisslinux or simply: func() { var=hello; echo "$var"; var=; } 2020-03-30T10:51:26 #kisslinux 'var=' effectively unsets it right? 2020-03-30T10:51:40 #kisslinux Can also abuse set (if args aren't needed): func() { set -- hello; echo "$1"; } 2020-03-30T10:51:43 #kisslinux Yeah 2020-03-30T10:51:56 #kisslinux Can also use 'unset' if you like. 2020-03-30T10:52:03 #kisslinux Right, yeah. 2020-03-30T10:52:06 #kisslinux Thanks! 2020-03-30T10:52:25 #kisslinux https://pubs.opengroup.org/onlinepubs/009695399/utilities/unset.html 2020-03-30T11:02:31 #kisslinux icyphox: No need to thank me for that :P It was good reading 2020-03-30T11:08:16 #kisslinux :) 2020-03-30T11:18:41 #kisslinux anyone using kiss linux with runit yet? 2020-03-30T11:27:41 #kisslinux Maybe 2020-03-30T11:27:47 #kisslinux It should be very easy to do. 2020-03-30T15:50:23 #kisslinux dylan02, dylanaraps: https://termbin.com/ceoo 2020-03-30T15:50:30 #kisslinux Any idea what I'm doing wrong here? 2020-03-30T15:50:41 #kisslinux The '-v' check should pass right? 2020-03-30T15:50:54 #kisslinux The variable '$s' is assigned. 2020-03-30T15:51:15 #kisslinux Oh woops. 2020-03-30T15:52:55 #kisslinux Nevermind that. Look at this instead: https://termbin.com/e76f 2020-03-30T15:58:48 #kisslinux what is -v flag? 2020-03-30T15:59:36 #kisslinux ominous_anonymou: Checks if the variable has been assigned. 2020-03-30T15:59:56 #kisslinux Figured it out. I drop the '$', and write it as '[[ -v s ]]' instead. 2020-03-30T18:35:31 #kisslinux hi, guys 2020-03-30T18:38:44 #kisslinux i'm giving kisslinux a try but i'm struggling to set up my keyboard... kernel went fine recognizing usb controllers (both mouse and keyboard) but it doesn't respond when i try to type something on tty 2020-03-30T18:39:21 #kisslinux any ideas? ;-; 2020-03-30T18:40:51 #kisslinux mforney: so I don't know if I can, or how to, do this, but if the right thing to do isn't printing the status after the job runs, is there a way to detect if the job has any output, and that way in one line mode I can have it print a newline before that output gets printed, because the current issue that I'm trying to resolve is that in the one line mode, if there is output the first line of it is appended to the latest line 2020-03-30T18:40:51 #kisslinux of the status, instead of starting on a line below, the other issue is there's an extra newline after it if the last output is from a job and not samurai, but if I can do the other stuff that can be easily dealt with by using a variable to prevent that newline from printing if the last output is from a job 2020-03-30T19:13:12 #kisslinux phanourios: maybe drivers for your keyboard aren't installed? 2020-03-30T19:13:58 #kisslinux phanourios: if you're struggling with figuring out what kernel drivers you need, I'd suggest grabbing the kernel config of another distro (say, Alpine or Void) and using it. 2020-03-30T19:15:20 #kisslinux it's installed, i checked on my current void installation which modules are being used 2020-03-30T19:15:42 #kisslinux every single one is built in on my k1ss kernel 2020-03-30T19:16:12 #kisslinux xhci_hcd and ehcpi-pci 2020-03-30T19:16:39 #kisslinux as i said, kernel debug says it's recognized 2020-03-30T19:17:41 #kisslinux strangely enough, capslock led doesn't even light up when i press it