2020-03-09T04:20:42 #kisslinux night night, sry for the inactivity, been working my ass off (it's dawn here now, goddamit) 2020-03-09T04:20:44 #kisslinux laters 2020-03-09T07:41:45 #kisslinux I will continue to use KissLinux but with Arch chroot 2020-03-09T07:47:17 #kisslinux Can anyone confirm? 2020-03-09T07:47:40 #kisslinux I just compiled `st` without `ncurses` installed. 2020-03-09T07:48:21 #kisslinux Because https://github.com/kisslinux/repo/blob/master/xorg/st/depends#L4 2020-03-09T07:55:37 #kisslinux ah, `tic` is needed 2020-03-09T08:21:58 #kisslinux o/ 2020-03-09T08:32:34 #kisslinux hi merakor 2020-03-09T08:36:57 #kisslinux Some of you may dislike the idea but I am writing a binary package distribution system for kiss packages. For making the installation of stuff like firefox and webkit easier. It can also be used to share packages between computers. 2020-03-09T08:37:28 #kisslinux What do you think? 2020-03-09T09:57:15 #kisslinux merakor: This is already possible via 'kiss i /path/to/tarball' though not automatically via repositories. firefox-bin is a special case and is not indicative of something that should be "normal". It's just a means of getting on with your day by allowing you to avoid building nodejs, rust, clang, firefox itself, etc, etc. 2020-03-09T09:58:34 #kisslinux KISS is a source based distribution, I don't want to (nor care about) "first class" support for binary packages or binary repositories. This defeats the purpose of the distribution being source based. 2020-03-09T10:00:24 #kisslinux There's a trust issue introduced with binaries provided by a third-party. By third-party I mean binaries provided by someone external to the software's maintainer(s) and the distribution's maintainer (me). 2020-03-09T10:01:02 #kisslinux I know, that's not my intention. 2020-03-09T10:02:32 #kisslinux For small packages (See shellcheck-bin) it's fine to unpack the binary tarball and convert it to a KISS one via the package system. This ends up being faster than a build of the software (though the intention is in this case to avoid the haskell mess). 2020-03-09T10:03:22 #kisslinux Firefox's binary package is done the way it is to avoid unpacking 150MB just to repack 150MB. It's a pointless conversion. 2020-03-09T10:04:23 #kisslinux The Firefox binary package is there to save up to 10 hours of builds on a monthly basis. It's well worth the "cost" (to me) for everyone. 2020-03-09T10:04:51 #kisslinux Okay, I should probably publish my commits to better talk about the idea behind it. 2020-03-09T10:04:51 #kisslinux 2020-03-09T10:04:59 #kisslinux The rest of the system takes near no time at all to keep up-to-date. 2020-03-09T10:05:02 #kisslinux Yes 2020-03-09T10:05:12 #kisslinux Or explain it in its entirety here. 2020-03-09T10:05:18 #kisslinux Also: https://k1ss.org/blog/20200309a 2020-03-09T10:05:21 #kisslinux New blog post 2020-03-09T10:08:50 #kisslinux I will explain it here, I have published a rough first release to https://github.com/CarbsLinux/fat 2020-03-09T10:09:47 #kisslinux Okay, so this is a toolset for both getting binary packages and distributing them in a somewhat sane manner. 2020-03-09T10:12:28 #kisslinux I don't want to replace the source-based distribution manner. I just want to have binary packaging for the big stuff like firefox/webkit. I also want to keep my own builds on a place where I can reach without thinking too much. 2020-03-09T10:16:16 #kisslinux There are simpler methods of grabbing a remote binary. You could very easily script a wrapper around KISS. You could even set the KISS cache to a remote directory "share" (Like how Dropbox works. I don't exactly know what it's called). 2020-03-09T10:16:41 #kisslinux A simple package manager hook in the right place is another option. 2020-03-09T10:17:18 #kisslinux Do what you like though. I can't stop you. :P 2020-03-09T10:17:26 #kisslinux :D 2020-03-09T10:17:31 #kisslinux I can just tell you that I don't like it 2020-03-09T10:17:49 #kisslinux I knew from the start that you wouldn't like it 2020-03-09T10:24:44 #kisslinux This is kind of a wrapper for KISS though. It also has a 'get' function which basically downloads a binary and does 'kiss install' to that. 2020-03-09T10:26:13 #kisslinux I see why you're not liking it. I do think that the script is useful, but I am not in love with it either. 2020-03-09T10:34:15 #kisslinux This can be done in a far simpler way 2020-03-09T10:38:30 #kisslinux I know, but my intention was creating a secure distribution system. If that wasn't my intention, it could just be a one-liner script. 2020-03-09T10:42:07 #kisslinux I don't see why a one-liner (or simple script) would be insecure if you use https and own the local and remote ends of the transfer. 2020-03-09T10:43:28 #kisslinux My emphasis was on the 'distribution system' part :D 2020-03-09T10:44:38 #kisslinux Well, a simple script could be used by many users with a tiny addition of checksum/signature verification 2020-03-09T10:44:53 #kisslinux I don't see why you need what is effectively a second package manager 2020-03-09T10:47:13 #kisslinux It is not a second package manager, though. 2020-03-09T10:47:40 #kisslinux It is 2020-03-09T10:47:53 #kisslinux Also: https://github.com/CarbsLinux/fat/blob/master/fat-dist#L27 2020-03-09T10:47:58 #kisslinux The warning is right here 2020-03-09T10:48:27 #kisslinux You can use a heredoc to loop over it and keep vars 2020-03-09T10:51:18 #kisslinux joined in late (a lot of catching up would be needed since I effectively took a break) but from the logs I could read, would it be fair to say that fat (would be) is to kiss as apt is to dpkg? 2020-03-09T10:51:53 #kisslinux I mean that is not something I would want 2020-03-09T10:51:54 #kisslinux Can dpkg manage packages? 2020-03-09T10:52:01 #kisslinux That's not my intention 2020-03-09T10:52:06 #kisslinux ie, install/remove/etc? 2020-03-09T10:52:11 #kisslinux Yeah 2020-03-09T10:52:48 #kisslinux yes, dpkg -i does that 2020-03-09T10:52:51 #kisslinux fat would then be a package manager 2020-03-09T10:53:11 #kisslinux Okay, I can connect the similarities now. 2020-03-09T10:53:40 #kisslinux although dpkg doesn't resolve dependencies, download binaries (!!!) and just install/remove .deb files 2020-03-09T10:53:55 #kisslinux from what I know anyway 2020-03-09T10:54:17 #kisslinux Yup 2020-03-09T10:54:24 #kisslinux Just read similar 2020-03-09T10:55:05 #kisslinux Yeah, I really don't want fat to be a second package manager. 2020-03-09T10:55:15 #kisslinux As I really don't like the way apt and dpkg works. 2020-03-09T11:21:08 #kisslinux from the GNU-free side, looks like crisis averted in firefox with libc++ https://bugzilla.mozilla.org/show_bug.cgi?id=1594027 though I don't know if these would be backported to 68, but hey at least I don't have to maintain my own firefox package (except the dependencies part) in the future 2020-03-09T11:21:51 #kisslinux We may have to wait for the next ESR to bump llvm/clang to 10.0 2020-03-09T11:22:01 #kisslinux I hope we don't but there were bugs fixed this week 2020-03-09T11:49:58 #kisslinux By the way, %.*s (used in pfetch) does't seem to be POSIX 2020-03-09T11:54:05 #kisslinux Thanks 2020-03-09T11:58:19 #kisslinux Heh 2020-03-09T11:58:23 #kisslinux It works without the dot 2020-03-09T11:59:57 #kisslinux What do you mean by that? 2020-03-09T12:00:13 #kisslinux Doesn't %*s $n print $n number of spaces? In any case, %*s isn't POSIX either :P 2020-03-09T12:00:21 #kisslinux :( 2020-03-09T12:01:09 #kisslinux Oh looks like you were using it to print spaces anyway 2020-03-09T12:01:45 #kisslinux > No provision is made in this volume of POSIX.1-2017 which allows field widths and precisions to be specified as '*' since the '*' can be replaced directly in the format operand using shell variable substitution. Implementations can also provide this feature as an extension if they so choose. 2020-03-09T12:02:30 #kisslinux I'll just swap to a VT100 cursor move 2020-03-09T12:19:16 #kisslinux How to set time aftet network? 2020-03-09T12:19:37 #kisslinux I noticed my clock is wrong 2020-03-09T12:28:28 #kisslinux wait %*s isn't POSIX? 2020-03-09T12:29:37 #kisslinux tragic 2020-03-09T12:39:18 #kisslinux Yep, because it would be interpreted as a glob when unquoted 2020-03-09T12:39:55 #kisslinux (note that it's POSIX in C, just not in the command) 2020-03-09T12:40:51 #kisslinux o/ 2020-03-09T12:43:04 #kisslinux o/ 2020-03-09T12:43:26 #kisslinux lukasfri: Install tzdata and set your timezone. 2020-03-09T12:51:31 #kisslinux Nvm, installed tzdata and did stuff, i will do some pr for the wiki 2020-03-09T12:53:12 #kisslinux The existing pages need some love too 2020-03-09T12:53:54 #kisslinux No one has contributed anything to it in 12~ days. https://github.com/kisslinux/website/tree/master/site/wiki 2020-03-09T12:54:02 #kisslinux Since I moved it away from GitHub basically. 2020-03-09T12:54:41 #kisslinux I may close the Wiki and replace it with something better. 2020-03-09T12:55:05 #kisslinux What that better is, I don't know yet 2020-03-09T13:10:58 #kisslinux By the way, the latest commit broke pfetch because it can be a negative number and %*s treats it the same whether positive or negative but the VT100 sequence doesn't 2020-03-09T13:11:16 #kisslinux Also, you used 033 but you use the literal escape in the rest of the script 2020-03-09T13:11:40 #kisslinux dylanaraps: Nah, why close the Wiki? 2020-03-09T13:15:41 #kisslinux fehawen: I want to _replace_ the Wiki 2020-03-09T13:16:21 #kisslinux Actually, it seems like it's negative all the time, although I haven't thoroughly checked. So you could just invert the signs or multiply by -1 2020-03-09T13:16:34 #kisslinux oh and it seems like you want C not D? 2020-03-09T13:17:11 #kisslinux or maybe your terminal somehow supports negative to go in the opposite direction and that's how that happened 2020-03-09T13:17:33 #kisslinux Interesting 2020-03-09T13:18:03 #kisslinux I'll rever it for now. 2020-03-09T13:18:08 #kisslinux revert* 2020-03-09T13:18:12 #kisslinux I can't reproduce at all 2020-03-09T13:18:24 #kisslinux yeah, so I guess your terminal supports negative numbers 2020-03-09T13:18:46 #kisslinux I'm using st 2020-03-09T13:18:46 #kisslinux but anyway, just make the result a positive and use C instead of D 2020-03-09T13:19:01 #kisslinux and it should work on all VT100 2020-03-09T13:19:48 #kisslinux You're talking about ascii_width? 2020-03-09T13:20:42 #kisslinux It's positive for me 2020-03-09T13:22:27 #kisslinux I'm talking about $((${#name}-info_length)) 2020-03-09T13:22:46 #kisslinux if it's positive for you then the cursor should go to the left instead 2020-03-09T13:25:05 #kisslinux Right 2020-03-09T13:25:06 #kisslinux Fixed 2020-03-09T13:25:16 #kisslinux I reversed the subtraction 2020-03-09T13:26:19 #kisslinux great, works now 2020-03-09T13:26:29 #kisslinux Thanks 2020-03-09T13:27:34 #kisslinux np. I actually found the %.*s by running it with oil 2020-03-09T13:28:08 #kisslinux works other than that, which I find pretty good. It still has a ways to go for bash, but at least POSIX sh mostly works. 2020-03-09T13:28:39 #kisslinux Nice 2020-03-09T13:28:46 #kisslinux Oil is a great project 2020-03-09T13:28:55 #kisslinux I've been reading the regular posts for a while 2020-03-09T13:30:20 #kisslinux yeah, me too 2020-03-09T14:01:17 #kisslinux mrsh can't run pfetch though 2020-03-09T14:01:18 #kisslinux > /home/goldie/.local/bin/pfetch:284:13: syntax error: expected ')' 2020-03-09T14:02:10 #kisslinux Commenting the code results in: 2020-03-09T14:02:12 #kisslinux > /home/goldie/.local/bin/pfetch:506:1: syntax error: expected 'esac' 2020-03-09T14:02:56 #kisslinux Commenting that code results in: 2020-03-09T14:02:57 #kisslinux > /home/goldie/.local/bin/pfetch:558:50: syntax error: unmatched closing parenthesis in arithmetic expression 2020-03-09T14:03:14 #kisslinux Again 2020-03-09T14:03:15 #kisslinux > /home/goldie/.local/bin/pfetch:589:1: syntax error: expected 'esac' 2020-03-09T14:03:28 #kisslinux Again 2020-03-09T14:03:29 #kisslinux > /home/goldie/.local/bin/pfetch:601:45: syntax error: unmatched closing parenthesis in arithmetic expression 2020-03-09T14:03:35 #kisslinux Seems a lot of work is still needed 2020-03-09T14:03:55 #kisslinux > Assertion failed: parser->buf.data[i] != '0' (parser/parser.c: parser_read: 180) 2020-03-09T14:04:00 #kisslinux Now we get an interesting one 2020-03-09T14:13:19 #kisslinux yeah, mrsh is still far from ready. haven't been able to run a single script yet, but I think I've gotten oil to run all I've tried so far 2020-03-09T14:16:21 #kisslinux my only complaint with oil is that the author doesn't seem to fully understand some parts of shell (assuming that it's not me who's wrong heh), like https://github.com/oilshell/oil/issues/291 2020-03-09T14:18:08 #kisslinux but other than that, they're really good and extremely productive. that's the only old issue i've opened that hasn't been resolved, I think 2020-03-09T14:20:13 #kisslinux (so much that I'm not sure if I'm correct, but at any case, it's what shells actually do for whatever reason and I'm not sure why they linked that issue at the end there) 2020-03-09T14:21:58 #kisslinux speaking of oil, oil (or osh) is supposed to be 100% bash-compatible, isn't it? 2020-03-09T14:22:47 #kisslinux mostly, that's the goal, yes 2020-03-09T14:23:02 #kisslinux there are some intentional differences. like dynamic variable naming isn't allowed IIRC 2020-03-09T14:23:25 #kisslinux I might symlink it to /bin/bash in wyvertux 2020-03-09T14:23:31 #kisslinux and it's still far from running complicated bash scripts. but posix works well 2020-03-09T14:23:49 #kisslinux e.g., stuff like $( dylanaraps: I realized a problem with the sorting I was doing for the sh build_OID_registry (not one that was showing up because the input file happens to not have any cases that would cause the issue), so I did some work to pass off the entirety of the sorting to "sort" by using flags and changing the contents of "$@", and now the script I'll send shortly is both shorter and actually works correctly 2020-03-09T15:15:03 #kisslinux 'kill' it's a shell builtin, right ? 2020-03-09T15:15:25 #kisslinux sometimes 2020-03-09T15:15:46 #kisslinux > which kill 2020-03-09T15:15:52 #kisslinux > /bin/kill 2020-03-09T15:16:32 #kisslinux some shells like zsh have a builtin kill 2020-03-09T15:17:24 #kisslinux dylanaraps: http://ix.io/2dOe much better sh build_OID_registry 2020-03-09T15:22:43 #kisslinux hmm, as i see all shells have kill builtin - mksh,dash,bash,busybox sh,etc . but posix doesn't declare 'kill' as builtin - https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_14 2020-03-09T15:28:10 #kisslinux oh, ok 2020-03-09T15:29:18 #kisslinux I wonder why though 2020-03-09T15:36:27 #kisslinux which was the wrong command to check if kill is builtin, it's not builtin itself so it can't check for builtins 2020-03-09T15:36:32 #kisslinux do command -v 2020-03-09T15:38:49 #kisslinux kill should just be a wrapper around kill() 2020-03-09T15:39:12 #kisslinux E5ten: Nice! 2020-03-09T15:39:29 #kisslinux Got it in patch form? If not, I'll write one. 2020-03-09T15:39:32 #kisslinux Thanks for this 2020-03-09T15:41:46 #kisslinux yeah one sec, just gotta update my patch to use the new script 2020-03-09T15:45:11 #kisslinux http://ix.io/2dOm 2020-03-09T15:45:20 #kisslinux just under 100 lines lol 2020-03-09T15:45:47 #kisslinux Nice 2020-03-09T15:46:05 #kisslinux I hate how for counters, like if I have a number starting at 0 and want to increment it on each usage, but don't want to have a separate usage and also : "$((i += 1))" I have to start it at -1 2020-03-09T15:46:22 #kisslinux cuz there's no ++ to increment it after evaluation 2020-03-09T15:47:17 #kisslinux please give any suggestions you have for improvement 2020-03-09T15:47:22 #kisslinux I will 2020-03-09T15:49:18 #kisslinux > total_length=0 IFS='.' 2020-03-09T15:49:30 #kisslinux Do you mean to overwrite the default IFS globally? 2020-03-09T15:50:07 #kisslinux yeah 2020-03-09T15:50:11 #kisslinux Alrighty 2020-03-09T15:50:40 #kisslinux pretty sure in its current form word splitting on spaces is never used, except for the read calls which I overwrite IFS on? 2020-03-09T15:51:29 #kisslinux I'll double check 2020-03-09T15:51:49 #kisslinux is window borders implemented in sowm? 2020-03-09T15:52:15 #kisslinux or does Xorg draw a border around windows by default? 2020-03-09T15:54:05 #kisslinux oh those 2 awk calls I make are on the same things I think, I should find a way to include them in "$@" in the first usage and then reuse those values in the second usage 2020-03-09T15:54:11 #kisslinux get it down to one awk call 2020-03-09T15:54:34 #kisslinux kiedtl: No and no 2020-03-09T15:55:15 #kisslinux The awk call could be a function 2020-03-09T15:55:48 #kisslinux I meant more to decrease the number of calls to awk the script actually makes by half 2020-03-09T15:56:09 #kisslinux Right 2020-03-09T15:56:12 #kisslinux > bla() { awk "BEGIN{print int(log($1)/log(2)/7)}"; } 2020-03-09T15:56:21 #kisslinux Desn't '$c' change though? 2020-03-09T15:56:51 #kisslinux I don't think so 2020-03-09T15:57:00 #kisslinux both loops are over the components of the . separated oid 2020-03-09T15:57:10 #kisslinux > for c in ${i##*:}; do 2020-03-09T15:57:19 #kisslinux So $c doesn't change on each iteration? 2020-03-09T15:57:24 #kisslinux dylanaraps: because I have a small border around my windows. 2020-03-09T15:57:31 #kisslinux kiedtl: Interesting 2020-03-09T15:57:47 #kisslinux https://0s0.st/iTFK.png 2020-03-09T15:57:50 #kisslinux 1px bdr maybe 2020-03-09T15:58:08 #kisslinux > https://0s0.st/iTFK.png 2020-03-09T15:58:10 #kisslinux > Hmm. We’re having trouble finding that site. 2020-03-09T15:58:12 #kisslinux :( 2020-03-09T15:58:19 #kisslinux sec 2020-03-09T15:58:24 #kisslinux lol sorry 2020-03-09T15:58:30 #kisslinux https://0x0.st/iTFK.png 2020-03-09T15:58:30 #kisslinux https://0x0.st/iTFK.png 2020-03-09T15:58:32 #kisslinux ;) 2020-03-09T15:58:42 #kisslinux no but like look at the first awk loop, c loops over $oid, $oid is then included in "$@" as part of "$name:$oid:$total_length", then in the second part of the script i is set to ${i%:*} and then the loop goes over ${i##*:}, which would again be what $oid was in the first loop I think? 2020-03-09T15:58:43 #kisslinux That looks nice actually 2020-03-09T15:58:57 #kisslinux it does, I was just curious where it was coming from 2020-03-09T15:59:06 #kisslinux The terminal? 2020-03-09T15:59:07 #kisslinux Maybe 2020-03-09T15:59:11 #kisslinux Try a GUI prog 2020-03-09T15:59:18 #kisslinux E5ten: I see what you mean 2020-03-09T15:59:58 #kisslinux Both loops loop over the same data 2020-03-09T16:00:15 #kisslinux You'd need a list though 2020-03-09T16:00:32 #kisslinux yeah 2020-03-09T16:00:38 #kisslinux You're stuck to one array 2020-03-09T16:00:48 #kisslinux I mean pretty much this whole script is getting around not having lists lol 2020-03-09T16:01:00 #kisslinux Could be a "string list" 2020-03-09T16:01:11 #kisslinux I use the one array to make lists of like 3-4 things 2020-03-09T16:01:13 #kisslinux ie, append to a string and split in a subshell 2020-03-09T16:01:28 #kisslinux list="$list $new_element" 2020-03-09T16:02:05 #kisslinux c=$(set -- $list; shift "$i"; echo "$1") 2020-03-09T16:02:11 #kisslinux Something like that 2020-03-09T16:02:18 #kisslinux dylanaraps: it could definitely be xterm, I don't see that border in netsurf, st or urxvt 2020-03-09T16:02:23 #kisslinux Yup 2020-03-09T16:02:28 #kisslinux Must be xterm then 2020-03-09T16:02:41 #kisslinux why the hell would xterm draw it's own bdr though 2020-03-09T16:02:49 #kisslinux because 2020-03-09T16:02:50 #kisslinux reasons 2020-03-09T16:03:13 #kisslinux guess you have to expect that from a program that's so old it predated Xorg 2020-03-09T16:03:21 #kisslinux I'm gonna make it so in the first loop when I add "$name:$oid:$total_length" to "$@", $oid is actually a list of each oid component and then an "_" and then the awk output of running the relevant math on that oid component 2020-03-09T16:03:53 #kisslinux and then when I loop over that list I split on _ 2020-03-09T16:03:58 #kisslinux like I loop and then operate on ${c#} and ${c%} 2020-03-09T16:05:14 #kisslinux That works too 2020-03-09T16:05:42 #kisslinux Could the whole thing be done in awk? 2020-03-09T16:06:10 #kisslinux I'd have to call sort 2020-03-09T16:06:14 #kisslinux Ah 2020-03-09T16:06:18 #kisslinux POSIX awk 2020-03-09T16:06:54 #kisslinux I was about to suggest just that 2020-03-09T16:07:40 #kisslinux it also wouldn't make much sense because like most of the script would be in the END bit 2020-03-09T16:08:33 #kisslinux Perl would work too. :^) 2020-03-09T16:09:57 #kisslinux P Y T H O N 2020-03-09T16:10:38 #kisslinux Write it in rust 2020-03-09T16:10:53 #kisslinux shit you're right 2020-03-09T16:13:39 #kisslinux We could write it in C and include it as part of KISS. Then the patch would simply change a single line 2020-03-09T16:14:09 #kisslinux the patch would also need to compile it then 2020-03-09T16:14:15 #kisslinux I could do the same for the shell version though 2020-03-09T16:14:22 #kisslinux why couldn't an sh version be included? 2020-03-09T16:14:26 #kisslinux yeah lol 2020-03-09T16:14:33 #kisslinux Meh 2020-03-09T16:14:39 #kisslinux It works already 2020-03-09T16:14:59 #kisslinux but perl :( 2020-03-09T16:15:03 #kisslinux Let's create a npm package for it 2020-03-09T16:15:20 #kisslinux E5ten: I meant the sh patch 2020-03-09T16:15:27 #kisslinux ah 2020-03-09T16:16:51 #kisslinux so I have it without the second set of awk calls but it's 102 lines now :( 2020-03-09T16:18:05 #kisslinux btw I'm not actually sure if posix awk can do bitwise operations 2020-03-09T16:18:19 #kisslinux Let me see if I can remove some lines 2020-03-09T16:18:26 #kisslinux bc? 2020-03-09T16:19:14 #kisslinux E5ten: total_length=-1 IFS='.' 2020-03-09T16:19:15 #kisslinux Then 2020-03-09T16:19:16 #kisslinux set -- "$@" "$name:$oid:$((total_length += size))" 2020-03-09T16:19:23 #kisslinux that's an option but if you call tons of external programs, there is no point for the rewrite in the first place ;) 2020-03-09T16:19:27 #kisslinux That'd probably work 2020-03-09T16:19:52 #kisslinux aarng: If we can avoid perl entirely it's a win. 2020-03-09T16:20:02 #kisslinux oh ya, definitely 2020-03-09T16:20:03 #kisslinux Only Firefox and libvpx require it at compile time in KISS 2020-03-09T16:20:06 #kisslinux I mean shell vs awk 2020-03-09T16:20:09 #kisslinux Nothing at runtime 2020-03-09T16:24:12 #kisslinux E5ten: I'd remove the shellcheck lines too if your intention is to send this upstream. 2020-03-09T16:24:19 #kisslinux dylanaraps: POSIX awk can't do bitwise yeah 2020-03-09T16:24:38 #kisslinux and the total_length thing doesn't work cuz size has to be added to it after it's used in the set 2020-03-09T16:24:50 #kisslinux Right 2020-03-09T16:25:12 #kisslinux http://ix.io/2dOB ok, second set of awk calls removed 2020-03-09T16:25:44 #kisslinux > IFS='.' 2020-03-09T16:25:46 #kisslinux Then 2020-03-09T16:25:47 #kisslinux > set -- "$@" "$name:$oid:${total_length:=$((total_length += size))}" 2020-03-09T16:25:50 #kisslinux That might work 2020-03-09T16:25:53 #kisslinux Though ugly 2020-03-09T16:26:53 #kisslinux eh, it's back down to 99 lines with the shellcheck bits removed anyway 2020-03-09T16:29:48 #kisslinux https://github.com/dylanaraps/pure-bash-bible/issues/100 holy fuck lmao 2020-03-09T16:30:15 #kisslinux I know 2020-03-09T16:30:58 #kisslinux I thought I'd give a nice reply though I really wanted to just write "no" and close it 2020-03-09T16:31:54 #kisslinux how dare you sin like this :( 2020-03-09T16:32:29 #kisslinux In an ideal word I'd say unspeakable things ;) 2020-03-09T16:32:34 #kisslinux world* 2020-03-09T16:32:58 #kisslinux The way I write online is the opposite to who I am 2020-03-09T16:34:31 #kisslinux I've had people try and dig up dirt about me, so far as to finding out my mother's identity and reading the books she's written about me lol 2020-03-09T16:34:40 #kisslinux I don't mind as it has drawn traffic to her work 2020-03-09T16:34:41 #kisslinux ;) 2020-03-09T16:34:48 #kisslinux yikes 2020-03-09T16:35:04 #kisslinux well that's a nice silver lining 2020-03-09T16:35:11 #kisslinux She doesn't mind either 2020-03-09T16:35:14 #kisslinux It's just odd 2020-03-09T16:35:41 #kisslinux Someone is also acting as me on twitter (@dylanaraps) 2020-03-09T16:36:45 #kisslinux do you think you could ask twitter to get that account removed? 2020-03-09T16:36:59 #kisslinux wait, that's not your twitter account? 2020-03-09T16:37:02 #kisslinux No 2020-03-09T16:37:10 #kisslinux I used to have one 2020-03-09T16:37:18 #kisslinux I deleted it ages ago 2020-03-09T16:37:50 #kisslinux I'm slowly moving off of all social media 2020-03-09T16:38:13 #kisslinux I'm left only with Facebook now as I require it to communicate with family 2020-03-09T16:38:34 #kisslinux It's the compromise to not owning a phone 2020-03-09T16:38:53 #kisslinux E5ten: I'd have to then take over the name no? 2020-03-09T16:39:11 #kisslinux I guess 2020-03-09T16:39:12 #kisslinux idk 2020-03-09T16:40:03 #kisslinux It should be pretty obvious that it isn't me 2020-03-09T16:40:25 #kisslinux If I end up caring about it I guess I'll contact twitter about it 2020-03-09T16:41:00 #kisslinux dylanaraps.com was taken too. I let it expire and poof, it's gone 2020-03-09T16:45:40 #kisslinux rip 2020-03-09T16:46:41 #kisslinux It's fine 2020-03-09T16:47:18 #kisslinux I've been planning to change my name for a few years 2020-03-09T16:47:24 #kisslinux ;) 2020-03-09T16:48:58 #kisslinux Oh yeah. Ubuntu's launchpad neofetch group decided to add me without my consent so now I get multiple emails a day about random CI crap 2020-03-09T16:49:11 #kisslinux I tried contacting the owner but there's no valid email anywhere 2020-03-09T16:49:24 #kisslinux No way to remove yourself either 2020-03-09T16:49:33 #kisslinux Tough luck :P 2020-03-09T16:49:42 #kisslinux > [recipe build #2516239] of ~neofetch neofetch-daily in xenial: Dependency wait 2020-03-09T16:49:49 #kisslinux the price of fame lol 2020-03-09T16:49:54 #kisslinux Why does neofetch have daily builds????????? 2020-03-09T16:58:57 #kisslinux Gots to go, later folks 2020-03-09T18:05:43 #kisslinux I guess my next move is to rewrite rtcd.pl from libvpx in sh 2020-03-09T18:13:04 #kisslinux libvpx has a few perl scripts no? 2020-03-09T18:25:47 #kisslinux kiss looks great (and very similar to my own take on a minimal musl distro with posix shell pkg manager: https://github.com/uggedal/bare) 2020-03-09T18:26:57 #kisslinux sadly my work on it stalled and it died before its inception 2020-03-09T18:29:06 #kisslinux dylanaraps: most only run on ARM 2020-03-09T18:29:37 #kisslinux E5ten: woohoo 2020-03-09T18:30:36 #kisslinux eu: Nice. I do see some similarities 2020-03-09T18:34:40 #kisslinux dylanaraps: I relied on sbase/ubase/sinit though, and used bb just for the missing pieces 2020-03-09T18:35:30 #kisslinux eu: You can do the same on KISS 2020-03-09T18:35:38 #kisslinux lots of bugs in sbase were detected and fixed while running all horrible configure scripts 2020-03-09T18:35:43 #kisslinux There's a user running without busybox 2020-03-09T18:35:59 #kisslinux (Using GNU coreutils + other providers of utilities) 2020-03-09T18:36:00 #kisslinux nice, busybox is ok-ish 2020-03-09T18:36:29 #kisslinux during my days working with alpine I grew to dislike it a bit 2020-03-09T18:36:29 #kisslinux It's fine as a default. The important part is enabling choice so that one may move away from it if they want to. 2020-03-09T18:38:08 #kisslinux musl support has come a long way thankfully. had some long nights while I did the first port of Go to it years ago :) 2020-03-09T18:38:38 #kisslinux eu: what would you use as busybox alternative? 2020-03-09T18:38:52 #kisslinux Go is a "just works" situation now 2020-03-09T18:39:16 #kisslinux yeah, this was before go was written in go 2020-03-09T18:39:20 #kisslinux Ah 2020-03-09T18:39:59 #kisslinux when it used Ken's c compiler from plan9 2020-03-09T18:40:51 #kisslinux k1ss: busybox is probably the best you get without breakage 2020-03-09T19:01:06 #kisslinux E5ten: I have a solution. I just ship the headers pre-generated. 2020-03-09T19:01:14 #kisslinux Chromium does this for nacl 2020-03-09T19:06:50 #kisslinux Tada 2020-03-09T19:06:54 #kisslinux Builds fine 2020-03-09T19:08:34 #kisslinux Works too 2020-03-09T19:14:04 #kisslinux https://github.com/kisslinux/repo/commit/66c5cffad5895d8f34c69f2c9b7745a86cb63578 2020-03-09T19:14:28 #kisslinux > -> grep perl */*/depends | wc -l 2020-03-09T19:14:32 #kisslinux 1 2020-03-09T19:14:49 #kisslinux Firefox is the only package in the repositories which requires perl now. 2020-03-09T19:17:02 #kisslinux Nice, I'll probably still try to rewrite in shell for myself though (and obviously provide a link if I succeed) 2020-03-09T19:18:13 #kisslinux I'm not at my computer rn so I don't know how plausible this is but maybe an awk call could replace the whole while read loop that starts my build_OID_registry, that way instead of a while read loop that makes a bunch of awk calls for math it'd be a single awk call 2020-03-09T19:18:30 #kisslinux That'd be nicer 2020-03-09T19:19:15 #kisslinux I don't remember anything particularly complex happening in that loop so it should be very doable I think 2020-03-09T19:19:23 #kisslinux I'll give it a shot in like 5 2020-03-09T19:20:01 #kisslinux Just grabbing the size, awk and then total_length += size 2020-03-09T19:25:23 #kisslinux brb 2 sec 2020-03-09T19:25:24 #kisslinux s 2020-03-09T19:37:47 #kisslinux Sorry 2020-03-09T19:38:06 #kisslinux I found something that fits my suit better 2020-03-09T19:38:23 #kisslinux ?? 2020-03-09T19:38:35 #kisslinux Have to move from Kiss but this project is amazing? Keep it up 2020-03-09T19:38:48 #kisslinux Right 2020-03-09T19:38:54 #kisslinux ?=! 2020-03-09T19:39:07 #kisslinux We need more minimalist distros 2020-03-09T19:39:14 #kisslinux More than ever 2020-03-09T19:39:38 #kisslinux Be the change you want to see in the world 2020-03-09T19:40:09 #kisslinux I will be over at Ataraxia 2020-03-09T19:40:28 #kisslinux Good luck Dylan 2020-03-09T19:41:00 #kisslinux "This release also includes bug fixes and GNOME 3.36." this is the news from that "minimalist" distro's latest snapshot hmmm 2020-03-09T19:42:07 #kisslinux Yeah, I'm not really a fan of Ataraxia Linux (though the dev did contribute a patch for rust which I appreciate) 2020-03-09T19:42:56 #kisslinux E5ten: The distribution bootstrap requires bash too. I could go on, but I won't. :-) 2020-03-09T19:43:08 #kisslinux yikes 2020-03-09T19:44:32 #kisslinux did I send the version with half the awk calls removed? (not gonna bother with replacing the first loop with awk) 2020-03-09T19:44:41 #kisslinux Yes 2020-03-09T19:44:55 #kisslinux Thank you again 2020-03-09T19:45:08 #kisslinux Now to tackle Firefox 2020-03-09T19:45:18 #kisslinux yikes 2020-03-09T19:45:26 #kisslinux Lord have mercy on my soul 2020-03-09T19:47:19 #kisslinux Does nss require perl? 2020-03-09T19:47:38 #kisslinux It does doesn't it? 2020-03-09T19:47:43 #kisslinux yeah 2020-03-09T19:47:46 #kisslinux :( 2020-03-09T19:47:59 #kisslinux my only perl dep left 2020-03-09T19:48:02 #kisslinux RIP Firefox efforts 2020-03-09T19:48:56 #kisslinux https://dxr.mozilla.org/mozilla-central/source/nsprpub/admin/explode.pl 2020-03-09T19:48:58 #kisslinux God 2020-03-09T19:49:09 #kisslinux This could be shell in 30 seconds 2020-03-09T19:49:18 #kisslinux > @dirs = `ls -d *.OBJ*`; 2020-03-09T19:49:20 #kisslinux Oh god 2020-03-09T19:49:23 #kisslinux Let's parse ls 2020-03-09T19:49:29 #kisslinux What could go wrong? 2020-03-09T19:50:27 #kisslinux Same with: https://dxr.mozilla.org/mozilla-central/source/nsprpub/config/make-system-wrappers.pl 2020-03-09T19:50:35 #kisslinux jesus 2020-03-09T19:51:06 #kisslinux https://dxr.mozilla.org/mozilla-central/source/security/nss/cmd/signver/examples/1/form.pl 2020-03-09T19:51:07 #kisslinux lol 2020-03-09T19:52:02 #kisslinux is this like an LLVM thing where they don't use shell scripts and only use python because windows doesn't have sh? 2020-03-09T19:52:26 #kisslinux Most likely 2020-03-09T19:52:28 #kisslinux or does firefox have shell scripts too and just has no reason for these stupid perl scripts 2020-03-09T19:52:36 #kisslinux > $cmd =~ s/'/"/g; # because windows doesn't understand single quote 2020-03-09T19:52:38 #kisslinux Yup 2020-03-09T19:52:50 #kisslinux Firefox has shell too though 2020-03-09T19:53:56 #kisslinux https://dxr.mozilla.org/mozilla-central/source/security/nss/coreconf/version.pl 2020-03-09T19:53:57 #kisslinux lol 2020-03-09T19:54:06 #kisslinux The alphabet stuff isn't even used 2020-03-09T19:54:20 #kisslinux Love seeing scripts half commented out 2020-03-09T19:55:26 #kisslinux https://dxr.mozilla.org/mozilla-central/source/third_party/rust/libz-sys/src/zlib/zlib2ansi#107 2020-03-09T19:55:27 #kisslinux lol 2020-03-09T19:55:47 #kisslinux (See line 107 onwards) 2020-03-09T19:56:23 #kisslinux yikes 2020-03-09T19:57:17 #kisslinux OK 2020-03-09T19:57:21 #kisslinux Firefox is out of the question 2020-03-09T19:57:32 #kisslinux At least perl can now be avoided via firefox-bin... 2020-03-09T19:57:52 #kisslinux We need a new browser 2020-03-09T19:59:39 #kisslinux surf? 2020-03-09T19:59:42 #kisslinux http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.75.8197&rep=rep1&type=pdf 2020-03-09T20:00:01 #kisslinux Chimera: An Athena-Based World-Wide Web Browser 2020-03-09T20:00:04 #kisslinux howdy ho 2020-03-09T20:00:08 #kisslinux March 1995 2020-03-09T20:00:10 #kisslinux :( 2020-03-09T20:00:27 #kisslinux welp, time to make a web browser, dylan :D 2020-03-09T20:00:36 #kisslinux kiedtl: Something as powerful as ublock origin would be required at a minimum 2020-03-09T20:00:47 #kisslinux Also umatrix though I can live with basic per-site js toggling 2020-03-09T20:03:00 #kisslinux have you looked at ungoogled-chromium? 2020-03-09T20:03:08 #kisslinux just asking, I haven't used it 2020-03-09T20:03:15 #kisslinux Chromium is awful to package 2020-03-09T20:03:21 #kisslinux The sources are 1GB~ now 2020-03-09T20:03:31 #kisslinux It also updates very frequently 2020-03-09T20:03:39 #kisslinux oh 2020-03-09T20:04:28 #kisslinux It takes a lot longer to compile too 2020-03-09T20:04:42 #kisslinux It's no better (probably even worse than Firefox) 2020-03-09T20:05:32 #kisslinux it's better, it have disable-dbus option without breakage 2020-03-09T20:05:58 #kisslinux If only that were one issue between the two 2020-03-09T20:06:07 #kisslinux --disable-dbus works in firefox ESR fyi 2020-03-09T20:06:15 #kisslinux It broke in 69.0+ 2020-03-09T20:06:58 #kisslinux There's no Chromium ESR-esque release to track either. 2020-03-09T20:07:20 #kisslinux The one major update a year approach is far easier to deal with 2020-03-09T20:07:47 #kisslinux (Every monthly minor release _should_ be a simple version bump as it's just security fixes) 2020-03-09T20:08:34 #kisslinux Chromium also has Manifest v3 inbound 2020-03-09T20:08:41 #kisslinux ie, bye bye "real" adblockers 2020-03-09T20:09:14 #kisslinux https://github.com/uBlockOrigin/uBlock-issues/issues/338 2020-03-09T20:10:45 #kisslinux Mozilla will go the same route, don't worry https://blog.mozilla.org/addons/2019/09/03/mozillas-manifest-v3-faq/ 2020-03-09T20:17:12 #kisslinux https://github.com/void-linux/void-packages/blob/master/srcpkgs/chromium/template << void-linux has it. we can simply copy patches, strip all crap and package it(yeah, nothing can stop me to do it myself). a long long while ago i did it in alpine using these patches from void+ungoogled and as i remember it worked pretty good 2020-03-09T20:19:12 #kisslinux Meh 2020-03-09T20:19:24 #kisslinux If you'll maintain it, sure. 2020-03-09T20:19:50 #kisslinux Note: You'll be doing a lot of full builds due to frequent updates. 2020-03-09T20:20:20 #kisslinux I have a Chromium build with 100~ patches. ie, ungoogled chromium + musl patches. 2020-03-09T20:20:41 #kisslinux It builds but fails to link right at the end 19999/20000 basically. 2020-03-09T20:21:10 #kisslinux out of memory) 2020-03-09T20:21:19 #kisslinux No no 2020-03-09T20:21:38 #kisslinux I spent too many hours trying to get it running 2020-03-09T20:21:59 #kisslinux Chromium was actually my first browser choice for KISS 2020-03-09T20:22:23 #kisslinux It's out of necessity that we default to Firefox 2020-03-09T20:23:37 #kisslinux fine by me but gtk2 and python2 makes me mad 2020-03-09T20:24:09 #kisslinux Chromium is no better 2020-03-09T20:25:01 #kisslinux I'd actually prefer gtk+2 instead of gtk+3 2020-03-09T20:25:29 #kisslinux neither :>) 2020-03-09T20:25:38 #kisslinux me too 2020-03-09T20:25:50 #kisslinux E5ten: In an ideal world, yes :( 2020-03-09T20:26:11 #kisslinux I don't like qt either 2020-03-09T20:26:20 #kisslinux I mean sure qt is ass too but c'mon 2020-03-09T20:26:30 #kisslinux comparatively better 2020-03-09T20:26:38 #kisslinux It's huge 2020-03-09T20:26:40 #kisslinux gtk+3 is worst, ATK crap is even worst 2020-03-09T20:27:07 #kisslinux illiliti: Fun fact: There's more ATK related code in GTK+3 than there is in actual ATK. 2020-03-09T20:27:27 #kisslinux https://bugzilla.mozilla.org/show_bug.cgi?id=1617748 2020-03-09T20:27:37 #kisslinux Firefox is close to Python 3 2020-03-09T20:27:40 #kisslinux All we need is this 2020-03-09T20:28:04 #kisslinux https://bugzilla.mozilla.org/show_bug.cgi?id=1619408 2020-03-09T20:28:10 #kisslinux It might actually work now 2020-03-09T20:28:29 #kisslinux Let's hope that the next ESR includes these changes 2020-03-09T20:29:12 #kisslinux > 2020-06-30 2020-03-09T20:29:15 #kisslinux Mark this date 2020-03-09T20:29:35 #kisslinux > 2020-03-10 2020-03-09T20:29:38 #kisslinux Oh fuk 2020-03-09T20:29:45 #kisslinux New ESR minor release tomorrow 2020-03-09T20:43:16 #kisslinux i'm looking forward to new firefox releases. i got lots of musl fixes upstreamed 2020-03-09T20:43:41 #kisslinux Seen this? https://github.com/sdsddsd1/kiss-games 2020-03-09T20:44:55 #kisslinux mforney: Nice. Did they merge the glibc basename one? (or was it dirname) 2020-03-09T20:45:06 #kisslinux jedavies: Yeah 2020-03-09T20:45:35 #kisslinux It's awesome 2020-03-09T20:48:34 #kisslinux Yeah it's great! Just need 0ad now :) 2020-03-09T20:48:51 #kisslinux OpenSpades is another good one 2020-03-09T20:49:02 #kisslinux It's a blocky shooter with building 2020-03-09T20:49:08 #kisslinux Used to play it a ton 2020-03-09T20:49:19 #kisslinux It's a client for the old "Ace of Spades" 2020-03-09T20:49:29 #kisslinux Before it was bought by Jagex 2020-03-09T20:50:14 #kisslinux Interesting, will have a go 2020-03-09T20:50:16 #kisslinux dylanaraps: yep, they finally did. took 6 years, but it's fixed now 2020-03-09T20:50:52 #kisslinux Nice 2020-03-09T20:51:16 #kisslinux I hope the GTK2 removal makes it in too 2020-03-09T20:51:25 #kisslinux That with Python 3 would be wonderful 2020-03-09T20:51:41 #kisslinux unfortunately it missed the deadline for 74 by like one day 2020-03-09T20:52:33 #kisslinux Damn 2020-03-09T20:52:44 #kisslinux So it's in Beta and/or Nightly? 2020-03-09T20:53:33 #kisslinux sorry, was talking about basename fix. not sure of the status of gtk2 removal or python3 2020-03-09T20:55:03 #kisslinux Ah 2020-03-09T20:55:05 #kisslinux Right 2020-03-09T20:55:08 #kisslinux I got my hopes up 2020-03-09T21:06:54 #kisslinux dylanaraps: neofetch line 3973 has a shellcheck directive because of a false positive and I think that false positive is gone 2020-03-09T21:08:27 #kisslinux Yu 2020-03-09T21:08:28 #kisslinux Yup 2020-03-09T21:08:30 #kisslinux Thanks 2020-03-09T21:09:48 #kisslinux https://github.com/dylanaraps/pfetch/pull/45/files 2020-03-09T21:09:53 #kisslinux Current ssh'd into an IRIX box 2020-03-09T21:10:04 #kisslinux To add support to pfetch 2020-03-09T21:10:14 #kisslinux Just need an ASCII logo now 2020-03-09T21:10:22 #kisslinux Though I can't test pfetch on the machine 2020-03-09T21:10:27 #kisslinux I have no net 2020-03-09T21:10:34 #kisslinux Or well, no way to download anything 2020-03-09T21:10:52 #kisslinux HOME is: /usr/people/dylan 2020-03-09T21:10:55 #kisslinux Which is interesting 2020-03-09T21:11:19 #kisslinux Also, 'do' is a command 2020-03-09T21:11:29 #kisslinux As is 'while' 2020-03-09T21:11:30 #kisslinux weird lol 2020-03-09T21:13:20 #kisslinux > error: IRIX is not currently supported. 2020-03-09T21:13:21 #kisslinux Grr 2020-03-09T21:13:38 #kisslinux I'm running pfetch by copy/pasting the entire thing into the shell 2020-03-09T21:13:45 #kisslinux Which may be the cause of that 2020-03-09T21:13:58 #kisslinux you can't open a file? 2020-03-09T21:14:10 #kisslinux Now that's an idea 2020-03-09T21:14:29 #kisslinux Ignore my stupidity :^) 2020-03-09T21:15:02 #kisslinux E5ten: vi may or may not be ed 2020-03-09T21:15:11 #kisslinux lmao 2020-03-09T21:16:44 #kisslinux Woo 2020-03-09T21:16:56 #kisslinux vi works now 2020-03-09T21:19:13 #kisslinux Oh 2020-03-09T21:19:22 #kisslinux pasting breaks due to the embedded esc chars 2020-03-09T21:21:18 #kisslinux > [?7lerror: IRIX is not currently supported. 2020-03-09T21:21:19 #kisslinux Yay 2020-03-09T21:26:24 #kisslinux Crestwave: Speaking of *.s: *.s7mIRIX 6.5 2020-03-09T21:26:37 #kisslinux Here's a real system without it 2020-03-09T21:27:09 #kisslinux in pfetch, I don't think the || [ "$1" ] in the while loop at the end of the script is needed, cuz the heredoc being used guarantees there will be a newline at the end? 2020-03-09T21:27:29 #kisslinux Yeah 2020-03-09T21:27:30 #kisslinux oh wait that's [ "$1" ] not [ "$line" ] nevermind lol 2020-03-09T21:28:48 #kisslinux I have to use top and ps to get memory and uptime on IRIX 2020-03-09T21:28:56 #kisslinux 'tis a little gross 2020-03-09T21:29:47 #kisslinux > memory 14M / 160M 2020-03-09T21:29:52 #kisslinux > pkgs 110 2020-03-09T21:30:00 #kisslinux >> uptime 2h 26m 2020-03-09T21:30:02 #kisslinux Huzzah 2020-03-09T22:34:50 #kisslinux hi, is there a way to build and install, for example, 2bwm and apply my own config.h file? 2020-03-09T22:44:04 #kisslinux Yeah. Just fork the package. 2020-03-09T22:44:18 #kisslinux (And include it in your own local repository) 2020-03-09T22:44:42 #kisslinux A repository is just a directory which you add to $KISS_PATH (which works exactly like $PATH) 2020-03-09T22:45:19 #kisslinux You'd then run 'kiss s 2bwm' to find where 2bwm's repository files live 2020-03-09T22:45:35 #kisslinux Then: cp -r /path/to/2bwm /path/to/myrepo 2020-03-09T22:45:51 #kisslinux From there on: https://k1ss.org/package-system 2020-03-09T22:45:59 #kisslinux eudaldgr: