2020-12-28T02:55:41 #kisslinux i'm working on a fork of https://github.com/bionade24/abs_cd for KISS 2020-12-28T02:56:47 #kisslinux micr0: you just missed my message, but i'm working on a fork of https://github.com/bionade24/abs_cd for KISS 2020-12-28T03:05:41 #kisslinux Well... if only freenode's IRCd had channel history 2020-12-28T03:05:57 #kisslinux s/$/ playback/ 2020-12-28T03:06:00 #kisslinux Well... if only freenode's IRCd had channel history playback 2020-12-28T03:06:13 #kisslinux gotta get Quassel 2020-12-28T03:06:19 #kisslinux its a dream 2020-12-28T03:32:00 #kisslinux should I develop this new CD system on kiss-community or my sr.ht? 2020-12-28T07:16:00 #kisslinux the only static libraries on my system are libc, libgm, libgles, libegl, libvulkan, and libglapi (musl, mesa) 2020-12-28T07:16:04 #kisslinux was it worth it, you may ask? 2020-12-28T07:16:06 #kisslinux hell no. 2020-12-28T07:17:24 #kisslinux six binaries link against libc and I really really *really* don't wanna bother. Why does pango-view refuse to be static? who tf knows. This isn't worth it, nobody should build a static system. It's untenable. Thank you for coming to my TED talk. 2020-12-28T07:48:57 #kisslinux acheam: i think github is more apt for KISS related stuff, but i don't think it matters that much 2020-12-28T08:08:00 #kisslinux https://dylan.k1ss.org/ anyone know what's this? 2020-12-28T08:29:41 #kisslinux o/ 2020-12-28T08:29:45 #kisslinux hi 2020-12-28T08:30:04 #kisslinux How are you all ? 2020-12-28T08:30:08 #kisslinux How's Dylan ? 2020-12-28T08:32:28 #kisslinux o/ 2020-12-28T08:39:23 #kisslinux eudaldgr: https://github.com/dylanaraps/dylan.k1ss.org/commit/66e96f278cbb207632accabcc3ec7723725b404f#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051 2020-12-28T08:41:44 #kisslinux yeah i see the commit 2020-12-28T08:42:00 #kisslinux not sure what thats supposed to mean though 2020-12-28T08:43:53 #kisslinux that's my question, thanks 2020-12-28T10:13:34 #kisslinux danteissaias: could you fix shellcheck for `lua-lpeg` and PR to kiss-community ? 2020-12-28T12:18:12 #kisslinux i can't build icu from community 2020-12-28T12:18:14 #kisslinux https://termbin.com/3ejl 2020-12-28T12:19:03 #kisslinux why they say that there is no c compiler compatible? 2020-12-28T12:24:18 #kisslinux eudaldgr `KISS_DEBUG=1 kiss b icu` and upload the config.log from build directory 2020-12-28T12:55:50 #kisslinux icu needs clang 2020-12-28T14:44:14 #kisslinux eudalgr : Re you icu issue: have a look here: https://freenode.logbot.info/kisslinux/20200715#c4400989 . 2020-12-28T15:16:09 #kisslinux hey ! 2020-12-28T15:16:18 #kisslinux Does anyone know what happened to Dylan ? 2020-12-28T15:21:44 #kisslinux No idea 2020-12-28T15:21:49 #kisslinux He's been gone for over a month at this point 2020-12-28T15:22:08 #kisslinux been a semi-regular topic of discussion in here 2020-12-28T15:22:48 #kisslinux Has anyone tried to contact his mother or brother or something ? 2020-12-28T15:22:58 #kisslinux or himself, by email ? 2020-12-28T15:23:07 #kisslinux I wouldn't know, myself 2020-12-28T15:23:22 #kisslinux But I don't think it'd be the right time to call up his mum or something :v 2020-12-28T15:23:38 #kisslinux just poking dylan himself would be fine I imagine 2020-12-28T15:23:41 #kisslinux lmao 2020-12-28T15:24:44 #kisslinux then again if he's not logging on to IRC I dunno if he'd be checking his email either... 2020-12-28T15:25:30 #kisslinux Looking at his commit schedule this year, an extended break isn't entirely unprecedented 2020-12-28T15:25:37 #kisslinux the timeframe makes sense too, imho 2020-12-28T15:27:07 #kisslinux If he lives away from his family, he might've traveled there for christmas / new years? Maybe he also just needs some time to refresh. 2020-12-28T15:27:14 #kisslinux That's what I'm thinking 2020-12-28T15:27:27 #kisslinux Commits stopped rolling in around 'murican Thanksgiving 2020-12-28T16:28:51 #kisslinux yeah, we should only start worrying about dylan after a couple weeks into the new year 2020-12-28T16:33:16 #kisslinux Yep 2020-12-28T16:40:25 #kisslinux testuser[m]: I ended up putting it on my sr.ht, but I could move it at some point. https://sr.ht/~armaan/kiss_cd 2020-12-28T16:40:42 #kisslinux acheam i think its good to be conservative over whats kiss-community produces 2020-12-28T16:40:50 #kisslinux micr0: yeah for sure 2020-12-28T16:41:03 #kisslinux im making good progress on this, I think it will finally be the scalable solution we are looking for 2020-12-28T16:41:36 #kisslinux And if it isn't, then at least I learned some Django :) 2020-12-28T16:43:45 #kisslinux acheam: yeah i checked your sourcehut repo, it can be mirrored to github later anyways if required 2020-12-28T16:43:57 #kisslinux testuser[m]: sounds good! 2020-12-28T16:44:03 #kisslinux Also, great work :) 2020-12-28T16:45:12 #kisslinux I feel so dumb not thinking of the fact that building binaries should first look at other binaries already build lol 2020-12-28T16:45:59 #kisslinux scalable => we get to piggyback off the arch work xD 2020-12-28T16:46:14 #kisslinux Hey, nothing wrong with that :p 2020-12-28T16:46:20 #kisslinux it looks cool, though I have frustrations with python whats most important is that it does the thing 2020-12-28T16:54:10 #kisslinux anyone using nvi? 2020-12-28T17:43:10 #kisslinux is anyone able to explain what is happening on this line? https://github.com/kisslinux/kiss/blob/master/kiss#L45 -- I am trying to understand, why is $* passed in? why use a new file descriptor instead of just stdin? and finally, why redirect /dev/tty into stdin? 2020-12-28T17:45:53 #kisslinux nerditup i can't look at the code / answer those questions, but i wonder if cross-references the pure posix and pure bash repos that dylan made would help 2020-12-28T17:46:01 #kisslinux if you can see the same patterns they might explain things 2020-12-28T17:47:49 #kisslinux I am beginning to think that the busybox su implementation isn't strictly posix so it provides some niceties, for example doesn't cleanenv (hence $* is passed in) 2020-12-28T17:48:04 #kisslinux I'm comparing against the suckless su.c source 2020-12-28T17:48:25 #kisslinux s/cleanenv/clearenv 2020-12-28T17:48:29 #kisslinux nerditup I think it would be awesome, if you do find out why any line works the way it does, to submit a PR with comments explaining what you find 2020-12-28T17:48:37 #kisslinux no matter how small the understanding is 2020-12-28T17:50:29 #kisslinux ah my limited understanding would be exposed haha 2020-12-28T17:58:25 #kisslinux I can explain *what* is happening, but not *why* 2020-12-28T17:59:05 #kisslinux stdin is duplicated to file descriptor 3, stdin is then set to /dev/tty 2020-12-28T17:59:34 #kisslinux the command to run with "$su" get's file descriptor 3 as its stdin 2020-12-28T18:01:05 #kisslinux or rather: "the current stdin is backed up to file descriptor 3 [...]" 2020-12-28T18:04:08 #kisslinux I would assume it's just so that the $su program can still read the password from the tty, while the program ran by $su retains the original stdin (e.g. when stdin is a pipe) 2020-12-28T18:05:22 #kisslinux nerditup ^ 2020-12-28T18:07:34 #kisslinux aarng: thank you for the explanation, I think the why might be better explained here, in this special case: https://github.com/kisslinux/kiss/blob/master/kiss#L1463 2020-12-28T18:09:01 #kisslinux that does not explain it at all if you ask me 2020-12-28T18:13:19 #kisslinux what is `env $*` used for in this case? 2020-12-28T18:14:52 #kisslinux it's the command run by the $su program 2020-12-28T18:14:57 #kisslinux I think that is where I thought the above link is useful, since it sets the environment of the su -c command to be whatever is set in file descriptor 3? 2020-12-28T18:15:19 #kisslinux `env` in case any of the functions arguments are environment variable assignments 2020-12-28T18:15:30 #kisslinux no 2020-12-28T18:15:50 #kisslinux "env(1) is to run a program in a modified environment" - maybe I'm misunderstanding 2020-12-28T18:16:06 #kisslinux if I call `as_root HOME=/dev/null whoami -x` 2020-12-28T18:16:39 #kisslinux the function calls `$su env HOME=/dev/null whoami -x <&3` 2020-12-28T18:17:07 #kisslinux but yeah, the `env` program is to call programs with a modified environment 2020-12-28T18:17:56 #kisslinux hope that makes sense :D 2020-12-28T18:18:02 #kisslinux what would be an example of something that wouldn't work if env $* wasn't there? 2020-12-28T18:19:06 #kisslinux well the $* is always necessary, otherwise the function wouldn't pass the program to run to whatever $su is 2020-12-28T18:20:32 #kisslinux the `env` I'm not so sure about. I guess it depends on how the su program calls other programs (if a shell is involved) 2020-12-28T18:20:53 #kisslinux ignorant me is thinking, what's wrong with `su -c "$1" "$2"` :D 2020-12-28T18:22:35 #kisslinux as_root "HOME=/dev/null id -u" someuser, in my ignorant case 2020-12-28T18:25:02 #kisslinux yeah, the latter should be possible 2020-12-28T18:25:08 #kisslinux no idea why it's done that way 2020-12-28T18:25:38 #kisslinux the former is not possible because there is still the trailing user argument 2020-12-28T18:28:00 #kisslinux but then you could also do `su "$user" "$@"` I guess 2020-12-28T18:29:58 #kisslinux aarng: thanks for entertaining my inquiries, appreciate the help 2020-12-28T18:31:22 #kisslinux I enjoy figuring out things like this too, so np :) 2020-12-28T18:41:59 #kisslinux aarng: you're right! the file descriptor juggling act is to allow the user to enter in the password without getting overwritten by the stdout 2020-12-28T18:42:28 #kisslinux yup 2020-12-28T18:43:13 #kisslinux the question is, when would that function (or the entire kiss script for that matter) not have the tty as its stdin 2020-12-28T18:43:16 #kisslinux I did a quick test between `su -c "$*"` and `su -c "$* <&3" 3<&0 yeah, planning ahead I guess 2020-12-28T18:44:14 #kisslinux that's what I thought too 2020-12-28T18:45:25 #kisslinux I think that makes me more confident in the why, as much as we can guess without asking him of course