💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-05-10.txt captured on 2024-06-16 at 13:36:10.
⬅️ Previous capture (2022-06-04)
-=-=-=-=-=-=-
[2022-05-10T01:36:22Z] <maximum_yellow> phoebos interesting, but i think i want about 5% of roff. Oh well [2022-05-10T02:03:00Z] <illiliti> phoebos: su -n -c id 4294967296 [2022-05-10T02:03:13Z] <illiliti> you need to handle overflow [2022-05-10T02:12:50Z] <rohan> yo [2022-05-10T02:12:59Z] <rohan> anyone using sway-tiny [2022-05-10T02:13:24Z] <rohan> can use a config for resize window in sway config? [2022-05-10T02:13:32Z] <rohan> i using and not worked [2022-05-10T02:22:41Z] <testuser[m]> Hi [2022-05-10T02:38:44Z] <maximum_yellow> Hi [2022-05-10T02:38:55Z] <maximum_yellow> who wants to write my talk for me [2022-05-10T03:15:22Z] <noocsharp> what's it on? [2022-05-10T03:28:52Z] <maximum_yellow> my phd :/ no better way to never want to think about something again than to do a phd on it and have to give a defense [2022-05-10T03:30:42Z] <maximum_yellow> i'm just procrastinating [2022-05-10T09:14:12Z] <pomekon> can i execute tinyramfs installation in the home where i cloned it, or it has to be in /boot? [2022-05-10T09:26:46Z] <pomekon> too bad i still do not understand more complex shell commands, and how linux works in general to have an idea about this stuff. on gentoo for exsample, dracut generates initramfs. [2022-05-10T11:13:41Z] <phoebos> illiliti: whoops thanks [2022-05-10T11:14:03Z] <phoebos> posix says uid_t is an integer type, is that why you compare to UINT_MAX ? [2022-05-10T11:17:50Z] <phoebos> doesn't say signed or unsigned :/ [2022-05-10T11:25:06Z] <cot> hi phoebos [2022-05-10T11:25:09Z] <cot> and testuser[m] o/ [2022-05-10T11:25:36Z] <testuser[m]> cot: hi [2022-05-10T11:27:35Z] <phoebos> cot: how's it going [2022-05-10T11:29:50Z] <cot> all good [2022-05-10T11:30:40Z] <cot> how's kiss? anything out of the ordinary going on now? haven't been keeping up since nov 2022 [2022-05-10T11:30:42Z] <cot> *2021 [2022-05-10T11:35:15Z] <testuser[m]> no [2022-05-10T12:26:03Z] <acheam> cot: pretty much the same old [2022-05-10T12:26:15Z] <cot> ah [2022-05-10T12:26:20Z] <acheam> dylan hasn't been working on kiss though, so kiss-community has picked up the main repo again [2022-05-10T12:28:16Z] <cot> huh, did he disappear again or just stepped back? [2022-05-10T12:31:56Z] <acheam> he dissappeared for a month or two then came back active on github a month or two ago but hasn't said/done anything related to kiss [2022-05-10T12:34:10Z] <humaid_> Hi [2022-05-10T12:37:57Z] <acheam> ke [2022-05-10T12:37:58Z] <acheam> hi [2022-05-10T12:41:08Z] <acheam> ugh I cant find a gui music player that doesnt hang/be slow on my large library [2022-05-10T12:56:58Z] <omanom> do you use a specific music server? [2022-05-10T13:03:32Z] <acheam> no just local files [2022-05-10T13:03:43Z] <acheam> although I've been meaning to set up something to stream with [2022-05-10T13:04:13Z] <acheam> because right now even heavily compressed I cant carry the entirity of my library offline with me on my phone/laptop [2022-05-10T13:09:58Z] <omanom> there's stuff like LMS and KooZic that have docker containers you could run them in, and they both have web interfaces [2022-05-10T13:11:55Z] <omanom> https://github.com/epoupon/lms and https://koozic.net/ respectively [2022-05-10T13:49:39Z] <omanom> it might be a fun project to write one, i wish i had the time to mess around with it [2022-05-10T13:51:17Z] <testuser[m]> acheam: what players have u tried [2022-05-10T14:00:04Z] <testuser[m]> omanom: lol first time seeing a webapp in c++ [2022-05-10T14:02:23Z] <omanom> yeah it's definitely an interesting choice haha [2022-05-10T14:05:17Z] <omanom> https://www.webtoolkit.eu/wt [2022-05-10T15:23:17Z] <amogussy> can I install kiss linux on BIOS/MBR system? [2022-05-10T15:23:56Z] <deathmist> amogussy: https://kisslinux.org/install#031 points to using GRUB as the bootloader on such systems, so yes you can [2022-05-10T15:24:24Z] <amogussy> thank you, deathmist! [2022-05-10T16:45:46Z] <illiliti> phoebos: unfortunately, POSIX says nothing about uid_t limits. some systems define UID_MAX, some not. [2022-05-10T16:46:01Z] <illiliti> also doing (uid_t)-1 is wrong because uid_t might be signed as you pointed out. [2022-05-10T16:46:15Z] <illiliti> so i decided to use UINT_MAX as a sensible default limit [2022-05-10T16:47:02Z] <phoebos> illiliti: yeah. annoying. however, both musl and glibc `typedef unsigned uid_t` [2022-05-10T16:47:20Z] <phoebos> anyway, busybox rejected my patch. [2022-05-10T16:51:30Z] <illiliti> ssu don't target only glibc and musl. ssu attemps to be posix-compliant as much as possible. [2022-05-10T16:52:03Z] <illiliti> the current exception is initgroups() because POSIX specifies no way to set supplementary groups. [2022-05-10T16:53:19Z] <illiliti> it is widely supported, so not a big deal [2022-05-10T16:54:07Z] <illiliti> phoebos: link? [2022-05-10T16:55:31Z] <phoebos> illiliti: follow the thread here: http://lists.busybox.net/pipermail/busybox/2022-May/089717.html [2022-05-10T16:56:09Z] <phoebos> i'm sympathetic to why they rejected it [2022-05-10T17:12:17Z] <illiliti> i see i see [2022-05-10T17:12:34Z] <illiliti> maybe send a patch that fixes truncation? that wouldn't fix the root of issue, because ls is historically allowed to truncate usernames, but at least busybox would be fixed. [2022-05-10T17:12:43Z] <phoebos> https://tmp.bvnf.space/printowner.c [2022-05-10T17:13:04Z] <phoebos> illiliti: that's not a bad idea, I'll ask them if they'd accept it [2022-05-10T17:13:56Z] <phoebos> or use ^ that: `owner="$(printowner /usr/bin)"; su "${owner:-root}"` [2022-05-10T17:17:17Z] <testuser[m]> Only sane fix is to rewrite in compiled langs [2022-05-10T17:18:46Z] <illiliti> soon :) [2022-05-10T17:20:06Z] <phoebos> who [2022-05-10T17:20:38Z] <phoebos> i like dylan's (maybe expired) idea of a mix of shell and compiled parts [2022-05-10T17:21:59Z] <testuser[m]> Better if the full thing is compiled, no need to worry about speed of gnu grep vs busy box grep [2022-05-10T17:22:03Z] <testuser[m]> etc [2022-05-10T17:22:27Z] <phoebos> testuser[m]: that makes it more opaque [2022-05-10T17:22:44Z] <phoebos> at least if there's some shell you can `less /bin/kiss` and work out what's going on [2022-05-10T17:25:59Z] <phoebos> also i don't think anyone's gonna want to reimplement the speed of gnu grep so better to just use /bin/grep and let the user choose, as we do now [2022-05-10T17:58:50Z] <testuser[m]> https://0x0.st/omjw.mp4 [2022-05-10T20:18:01Z] <deathmist> is it possible to use ccache (for only a few larger packages) with the KISS package manager? [2022-05-10T20:19:57Z] <ioraff> sure. you can set, for example, CC=/usr/lib/ccache/bin/cc for said packages, rather than adding that directory to your PATH [2022-05-10T20:21:31Z] <ioraff> or use CC='ccache cc' [2022-05-10T21:20:02Z] <pomekon> i have to copy crub to /boot , right? What file exsactly is requider to go to my /boot? [2022-05-10T21:20:10Z] <pomekon> grub* [2022-05-10T21:21:15Z] <pomekon> tinyramfs has to go to the /boot too, i suppose. [2022-05-10T21:28:04Z] <ioraff> did you already grub-install? [2022-05-10T21:29:03Z] <pomekon> aham [2022-05-10T21:29:11Z] <pomekon> and its not already there [2022-05-10T21:29:14Z] <pomekon> for some reason [2022-05-10T21:29:39Z] <ioraff> that installs grub to the boot record of the disk [2022-05-10T21:29:42Z] <ioraff> now run grub-mkconfig -o /boot/grub/grub.cfg [2022-05-10T21:31:05Z] <pomekon> oh damn i see were is the problem [2022-05-10T21:31:37Z] <pomekon> im actually making a script for kiss linux installation next to my window where im actually installing it [2022-05-10T21:32:16Z] <pomekon> and i did type grub-install blah blah and grub-mkconfig in the script but not on the actual system.. [2022-05-10T21:32:44Z] <pomekon> just did go through all the commands i wrote with upper arrow to check it..... [2022-05-10T21:33:09Z] <pomekon> ty :) [2022-05-10T21:33:53Z] <pomekon> succes [2022-05-10T21:43:39Z] <pomekon> illiliti: what about tinyramfs? Do i have to manualy move something to the /boot? [2022-05-10T21:45:13Z] <illiliti> basically yes, you need to generate initramfs [2022-05-10T21:45:18Z] <illiliti> tinyramfs /boot/initramfs-$(uname -r) [2022-05-10T21:47:04Z] <pomekon> thanks dude [2022-05-10T22:19:36Z] <midfavila> hey NERDS [2022-05-10T22:35:49Z] <illiliti> hi. what coreutils do you use atm? [2022-05-10T22:36:50Z] <midfavila> sbase/ubase/9 [2022-05-10T22:36:52Z] <pomekon> hi midfavila! what filesystem do u prefer? [2022-05-10T22:36:57Z] <midfavila> xfs [2022-05-10T22:36:59Z] <midfavila> or nilfs2 [2022-05-10T22:37:09Z] <midfavila> and i like to use the ck and hardened patches on my kernel [2022-05-10T22:37:17Z] <midfavila> <:3 [2022-05-10T22:37:22Z] <pomekon> XD [2022-05-10T22:41:33Z] <midfavila> that's the only time i've ever done anything useful with C actually [2022-05-10T22:41:50Z] <midfavila> CK and the Hardened patches conflict in a few areas so I hacked them together [2022-05-10T22:41:53Z] <midfavila> felt pretty good -w- [2022-05-10T22:42:08Z] <pomekon> hehe im newb here :D I have no idea how to do that hahah [2022-05-10T22:42:20Z] <pomekon> pretty cool [2022-05-10T22:43:10Z] <midfavila> it's less impressive than you might think [2022-05-10T22:43:17Z] <pomekon> I wanted to harden my kernel but i decided to use openbsd for stuff where i need more secure system. [2022-05-10T22:43:26Z] <midfavila> that's the better option [2022-05-10T22:43:32Z] <midfavila> i don't run any servers myself, just a desktop [2022-05-10T22:44:55Z] <pomekon> the most secure thing is to go offline XD fact [2022-05-10T22:45:11Z] <midfavila> i mean, would certainly help, [2022-05-10T22:45:48Z] <midfavila> but if you wanted to be really paranoid you would need to homebrew a PC and surround it with a... god, I can't remember the actual name of the technology right now [2022-05-10T22:45:56Z] <midfavila> cage that blocks electromagnetic activity [2022-05-10T22:46:04Z] <pomekon> faraday cage [2022-05-10T22:46:08Z] <pomekon> yeah [2022-05-10T22:46:09Z] <midfavila> yeah, faraday cage [2022-05-10T22:46:16Z] <midfavila> i can only ever remember the names of those when I don't need to [2022-05-10T22:46:20Z] <pomekon> hehee [2022-05-10T22:46:28Z] <midfavila> if you don't have one of those you're subject to van Eck phreaking or w/e [2022-05-10T22:46:54Z] <midfavila> capturing EMI from the displays and using that to paint the same image on a remote screen [2022-05-10T22:47:04Z] <midfavila> sounds like sci-fi but it's enough to spook governments [2022-05-10T22:49:19Z] <pomekon> You can actually decide not to compile wifi support in to the kernel and go totaly offline. I was thinking of communication in a way where you use gpg to encrypt stuff, convert that to a sound and connect the output to the aux in of the online computer. send it over the internet to the desired location and that the same thing but in reverse. its 100% secure communication [2022-05-10T22:49:37Z] <midfavila> that's literally just scrambled dialup [2022-05-10T22:50:02Z] <midfavila> and I mean, it's not secure if you have blackbox hardware or software [2022-05-10T22:50:14Z] <pomekon> yeah hahaha sure [2022-05-10T22:50:31Z] <midfavila> *theoretically* there could be, oh, I don't know, a monitoring device built into your CPU with top-level access to everything at all times [2022-05-10T22:51:10Z] <pomekon> yeah.. and some kind of transmitter that screams over the air hahah [2022-05-10T22:51:35Z] <midfavila> = w= [2022-05-10T22:52:46Z] <pomekon> how can u capture EMI from the display? XD I never heard of that [2022-05-10T22:53:01Z] <pomekon> sounds ultra sci-fi [2022-05-10T22:53:21Z] <midfavila> https://en.wikipedia.org/wiki/Van_Eck_phreaking [2022-05-10T22:54:09Z] <midfavila> apparently, LCDs aren't much better than CRTs in this regard [2022-05-10T22:54:24Z] <midfavila> if you want to read about wacky ways to exfiltrate data, the israelis have some interesting ideas [2022-05-10T22:54:42Z] <midfavila> like using the vibrations of case fans or the status LEDs on RJ45 jacks [2022-05-10T22:56:20Z] <pomekon> for crts its possible for sure, but its weird for leds [2022-05-10T22:57:14Z] <deathmist> ioraff: thanks, I ended up building sccache and making a sh kiss_sccache wrapper script with env CC='sccache clang' CXX='sccache clang++' RUSTC_WRAPPER='/usr/bin/sccache' kiss "$@" as I'm on Glasnost :) [2022-05-10T23:12:48Z] <deathmist> hmm doesn't appear to do much as per "sccache --show-stats", perhaps I'm doing it wrong despite it showing "CC = sccache clang" and whatnot before starting build [2022-05-10T23:15:12Z] <deathmist> oh how fun, for CMake projects (LLVM is one, tried sccache on that) you have to set -DCMAKE_C_COMPILER_LAUNCHER=sccache explicitly it appears? [2022-05-10T23:17:07Z] <phoebos> deathmist: i think for sccache the full path of each file has to be the same for the cache to be used [2022-05-10T23:17:39Z] <phoebos> so if kiss builds your packages in $KISS_TMP/$pid/build/pkg, the path changes between each build [2022-05-10T23:18:10Z] <phoebos> you used to be able to control this with KISS_HOOK when it was sourced, but not now it's executed :( [2022-05-10T23:18:26Z] <deathmist> phoebos: ~/.cache/sccache at least is fully empty, so nothing was put there in the first place [2022-05-10T23:18:43Z] <phoebos> ooh [2022-05-10T23:18:57Z] <phoebos> when you say "CC = sccache clang" do you mean CC="sccache clang" [2022-05-10T23:19:23Z] <phoebos> oh dw [2022-05-10T23:19:27Z] <phoebos> that was the output of cmake [2022-05-10T23:19:55Z] <deathmist> that was output from kiss to be more specific, I didn't look if CMake said anything special. I'll get back to this tomorrow [2022-05-10T23:20:18Z] <deathmist> the line in full was "-> CC = sccache clang", it just removed the spaces because eh [2022-05-10T23:20:29Z] <deathmist> s/it/I/ [2022-05-10T23:20:33Z] <phoebos> what kiss command did you run? [2022-05-10T23:20:59Z] <deathmist> env CC='sccache clang' CXX='sccache clang++' RUSTC_WRAPPER='/usr/bin/sccache' kiss b llvm [2022-05-10T23:21:02Z] <deathmist> basically [2022-05-10T23:21:40Z] <phoebos> kiss shouldn't be printing anything like that [2022-05-10T23:22:41Z] <deathmist> on a typical KISS install you'd be right, on Glasnost there's plenty of additions to the KISS package manager to facilitate cross-builds for example [2022-05-10T23:22:51Z] <deathmist> printing the CC var is one of those changes: https://github.com/JamiKettunen/kiss-glasnost/commit/0e8a461#diff-89d19d63941a517f4921ec8496fbf07c4b444537352cc585461a1b4de469fde5R957 [2022-05-10T23:23:45Z] <phoebos> ah [2022-05-10T23:23:54Z] <deathmist> (I made that repo to better see changes Glasnost does on top of the typical KISS package manager repo, made https://github.com/glasnostlinux/glasnost/issues/14 about my thoughts on the current state of the repo) [2022-05-10T23:29:52Z] <phoebos> https://github.com/mozilla/sccache#debugging [2022-05-10T23:29:58Z] <phoebos> did you try getting a log [2022-05-10T23:30:23Z] <deathmist> not yet I'll take a look tomorrow, gn [2022-05-10T23:30:39Z] <phoebos> o/