💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-11-28.txt captured on 2023-01-29 at 03:44:04.
-=-=-=-=-=-=-
[2022-11-28T05:49:32Z] <wael[m]> Hi [2022-11-28T05:54:01Z] <testuser[m]> Hi [2022-11-28T08:15:41Z] <trunc88> is pipewire actually any good? [2022-11-28T08:21:40Z] <wael[m]> do you often switch audio devices [2022-11-28T08:25:25Z] <trunc88> no [2022-11-28T08:25:51Z] <wael[m]> then no it isn't [2022-11-28T08:26:09Z] <wael[m]> alsa works perfectly fine if you just listen to audio [2022-11-28T08:28:18Z] <trunc88> thats what ive always thought. even using 2 cards at once with pure alsa only had some fairly minor annoyances [2022-11-28T08:29:10Z] <trunc88> was asking a question in #ffmpeg recently and they were like WAT YOU DONT HAVE A SOUND SERVER? [2022-11-28T08:29:34Z] <wael[m]> lmao [2022-11-28T09:53:16Z] <aelspire> wael: Is ALSA able to multiplex sound sources today? So audio from 2 aplications in the same time? [2022-11-28T09:53:31Z] <wael[m]> duh [2022-11-28T09:53:38Z] <aelspire> Is so, I'll scrap pipewire from my install [2022-11-28T09:53:50Z] <wael[m]> i used alsa for a while and it worked really well [2022-11-28T09:53:51Z] <aelspire> one less thing to care about [2022-11-28T09:54:07Z] <wael[m]> other than: [2022-11-28T09:54:07Z] <wael[m]> recording audio from desktop [2022-11-28T09:54:07Z] <wael[m]> switching audio devices easily [2022-11-28T09:54:14Z] <aelspire> cool, I'll check it too when I'll use laptop with KISS [2022-11-28T09:54:23Z] <wael[m]> otherwise alsa is really nice [2022-11-28T09:56:40Z] <aelspire> I installed pipewire out of habit but multiple apps playing sound in the same time is the only thing I care about [2022-11-28T09:57:08Z] <aelspire> I remember pre-pulseaudio times when this was problematic… [2022-11-28T09:57:37Z] <wael[m]> alsa multi-plexed for me [2022-11-28T09:57:48Z] <wael[m]> unlike u im not old grandpa who lived in that time lol [2022-11-28T09:57:49Z] <aelspire> ohh, so cool [2022-11-28T10:13:37Z] <wael[m]> ---your mileage may vary [2022-11-28T10:19:37Z] <aelspire> I'll try maybe it works now [2022-11-28T10:20:25Z] <testuser[m]> u need config [2022-11-28T10:20:35Z] <testuser[m]> i just use pw to avoid alsa config [2022-11-28T10:20:36Z] <testuser[m]> so bad [2022-11-28T10:21:22Z] <wael[m]> alsa config: 2 lin [2022-11-28T10:21:24Z] <wael[m]> e [2022-11-28T10:25:59Z] <testuser[m]> yea [2022-11-28T10:26:01Z] <testuser[m]> but i keep forgetting it [2022-11-28T10:26:06Z] <wael[m]> gentoo wiki [2022-11-28T10:26:26Z] <aelspire> https://www.alsa-project.org/main/index.php/Asoundrc [2022-11-28T10:26:29Z] <aelspire> dmix? [2022-11-28T10:26:57Z] <wael[m]> watthe hfeu f [2022-11-28T10:27:32Z] <wael[m]> https://wiki.gentoo.org/wiki/ALSA#.7E.2F.asoundrc [2022-11-28T10:28:41Z] <aelspire> ok, thanks [2022-11-28T13:55:58Z] <aelspire> wael: tested ALSA only config, without dmix there is no multiplexing but with simple dmix config it works! [2022-11-28T13:56:55Z] <wael[m]> what [2022-11-28T13:57:01Z] <wael[m]> well ok [2022-11-28T14:24:58Z] <testuser[m]> it needs dmix [2022-11-28T14:27:24Z] <wael[m]> just werked for me [2022-11-28T14:27:31Z] <testuser[m]> fake [2022-11-28T14:27:33Z] <wael[m]> real [2022-11-28T14:27:36Z] <testuser[m]> no [2022-11-28T14:27:41Z] <wael[m]> yes [2022-11-28T14:27:41Z] <aelspire> it might [2022-11-28T14:27:52Z] <aelspire> some cards have multiplexer [2022-11-28T14:28:14Z] <aelspire> so there is no need for software one [2022-11-28T14:28:48Z] <aelspire> alsa wiki claims it [2022-11-28T14:42:09Z] <wael[m]> why is kiss fetch all pkgs, build all pkgs, install all pkgs, instead of fetching, building, install for all packages one by one? [2022-11-28T14:43:55Z] <testuser[m]> so bad [2022-11-28T14:44:24Z] <testuser[m]> fetching once does all network stuff beforehand [2022-11-28T14:44:34Z] <testuser[m]> installing later makes it need to use su program only once (unless deps need other deps) [2022-11-28T14:44:41Z] <aelspire> from what I noticed it fetch all pkgs and than build + install one by one [2022-11-28T14:44:50Z] <wael[m]> ooo ok ok true [2022-11-28T14:45:41Z] <aelspire> but I'm using doas and it ask for pass every single package even with persist in doas.conf [2022-11-28T14:46:10Z] <wael[m]> use ssu lo [2022-11-28T14:46:19Z] <testuser[m]> dont [2022-11-28T14:46:32Z] <testuser[m]> unless you're good at not accidentally running destructive commands [2022-11-28T14:50:24Z] <wael[m]> im good at running destructive commands [2022-11-28T14:53:07Z] <midfavila> i've never needed to explicitly include dmix even for really shitty integrated audio cards [2022-11-28T14:55:46Z] <aelspire> midfavila: Can I have your ALSA config, maybe it's me doing it wrong way [2022-11-28T14:56:12Z] <midfavila> uhhh, sure, i guess [2022-11-28T14:56:15Z] <midfavila> i don't really have one [2022-11-28T14:56:32Z] <midfavila> well, actually, scratch that [2022-11-28T14:56:42Z] <midfavila> you can't have it, because it's... literally just for my mic [2022-11-28T14:56:50Z] <aelspire> ah ok [2022-11-28T14:56:57Z] <midfavila> yeah there's not really anything to it [2022-11-28T14:56:58Z] <midfavila> sorry [2022-11-28T14:57:10Z] <aelspire> I've tried to run mpv twice and second one failed with device busy [2022-11-28T14:57:23Z] <aelspire> but I need to look into kernel config [2022-11-28T14:57:39Z] <aelspire> maybe I missed some option [2022-11-28T14:57:54Z] <midfavila> maybe! [2022-11-28T15:46:48Z] <wael_> whats a good ls alternative to busybox ls? [2022-11-28T15:46:48Z] <wael_> other than exa or rust shit [2022-11-28T15:53:30Z] <testuser[m]> for f in *; do echo $f; done [2022-11-28T16:04:33Z] <wael_> anyway [2022-11-28T16:04:42Z] <wael_> <testuser[m]> "for f in *; do echo $f; done" <- wheres that hyprland xwayland patch again [2022-11-28T16:08:49Z] <testuser[m]> Search in issues [2022-11-28T16:18:06Z] <wael_> i gave up and went back to xorg lmao [2022-11-28T16:18:13Z] <wael_> after a moment of thought [2022-11-28T16:45:14Z] <aelspire> if I need unzip in kiss build script should I add something to depends? [2022-11-28T16:46:17Z] <illiliti> why do you need unzip? [2022-11-28T16:46:44Z] <aelspire> system fonts managed by kiss [2022-11-28T16:46:56Z] <aelspire> busybox one is sufficent [2022-11-28T16:48:23Z] <aelspire> https://git.aelspire.info/kiss-repositories/tree/fonts/nerd-fonts-symbols-ttf/build?id=25b4df83e2117938a883b8f23f847dea53c501d0 [2022-11-28T16:48:30Z] <aelspire> I've commited such sin [2022-11-28T16:48:51Z] <aelspire> and noticed that unzip depends might be unnecessary [2022-11-28T16:50:59Z] <illiliti> i think we need provides system first to add such deps [2022-11-28T16:51:37Z] <illiliti> https://codeberg.org/kiss-community/repo/issues/88 [2022-11-28T16:51:54Z] <aelspire> yes my thought too [2022-11-28T16:52:13Z] <aelspire> and I wanted to swap rust for rustup [2022-11-28T16:52:21Z] <aelspire> and make rustup provide rust [2022-11-28T16:56:40Z] <phoebos> that's possible without provides [2022-11-28T16:56:53Z] <phoebos> just make a package called rust that uses rustup [2022-11-28T16:59:56Z] <aelspire> maybe this can be simulated without adding anything to kiss package manager [2022-11-28T17:00:11Z] <aelspire> create rust-alternatives folder [2022-11-28T17:00:24Z] <aelspire> and put rust and rutup inside [2022-11-28T17:00:44Z] <aelspire> than symlink correct version as rust in main repo [2022-11-28T17:02:15Z] <aelspire> but this will work only in this simple use case [2022-11-28T17:02:45Z] <aelspire> for something that provides multiple functionalities like busybox this will not suffice [2022-11-28T17:03:27Z] <midfavila> wael_ suckless ls [2022-11-28T17:04:27Z] <wael_> wher [2022-11-28T17:04:53Z] <midfavila> sbase [2022-11-28T17:05:27Z] <wael_> when i wanted an alternative to busybox ls i was expecting something more featuerful [2022-11-28T17:05:39Z] <wael_> not something that literally doesnt have colors [2022-11-28T17:05:58Z] <midfavila> pretty sure colors are a gnu extension [2022-11-28T17:06:16Z] <midfavila> if you want that, write your own ls, use busybox/gnu, or just stop using the terminal [2022-11-28T17:06:22Z] * midfavila shrugs [2022-11-28T17:07:51Z] <midfavila> you could also, i suppose, write or acquire a "colorifier" program [2022-11-28T17:07:56Z] <midfavila> i know such things exist for gcc, make and etc [2022-11-28T17:39:02Z] <phoebos> wael_: ls -F is enough [2022-11-28T17:50:28Z] <wael_> no!!! [2022-11-28T17:52:44Z] <aelspire> sadly rust is the fad now and most of colorful and nice utils are written in rust today [2022-11-28T17:52:51Z] <aelspire> go sometimes [2022-11-28T17:55:18Z] <wael_> go is nice [2022-11-28T17:58:06Z] <aelspire> https://github.com/acarl005/ls-go [2022-11-28T17:58:27Z] <aelspire> disclaimer: I personally don't use this [2022-11-28T17:59:31Z] <aelspire> I used to like exa but I purged it and use normal ls now [2022-11-28T17:59:49Z] <aelspire> purged it together with starship prompt [2022-11-28T18:00:39Z] <aelspire> coreutils/busybox's ls is colorful enough for me [2022-11-28T18:07:54Z] <aelspire> I remember being impressed with Enlightenment's terminology but it was more like: Wow, cool but I don't care [2022-11-28T18:08:17Z] <aelspire> as this terminal emulator can play videos and sounds [2022-11-28T18:08:52Z] <aelspire> foot can display images (sixels) but terminology was impressive some time ago [2022-11-28T18:09:01Z] <aelspire> https://www.linux.org/attachments/e20terminology-png.2692/ [2022-11-28T18:09:18Z] <aelspire> here it displays "ls" with thumbnails [2022-11-28T18:09:39Z] <midfavila> yeah ls has a lot [2022-11-28T18:09:44Z] <midfavila> s/ls/terminology/ [2022-11-28T18:09:47Z] <midfavila> what am i even saying [2022-11-28T18:09:48Z] <midfavila> feh [2022-11-28T18:10:32Z] <wael_> bleh [2022-11-28T18:10:49Z] <midfavila> my kitchen flooded last night so i'm kind of all over the place [2022-11-28T18:10:49Z] <midfavila> xwx [2022-11-28T19:02:25Z] <phoebos> ach [2022-11-28T19:02:39Z] <phoebos> mid: XtWidgetToApplicationContext(3) looks promising [2022-11-28T19:04:22Z] <wael[m]> imagine coming in and saying gibberish without elaboration [2022-11-28T19:04:54Z] <testuser[m]> Lol [2022-11-28T19:29:16Z] <midfavila> oh hmm [2022-11-28T19:29:34Z] <midfavila> that could definitely solve the no-context problem phoebos, [2022-11-28T19:29:47Z] <phoebos> seems to work [2022-11-28T19:30:07Z] <midfavila> hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm m m m m m m m m [2022-11-28T19:30:11Z] <midfavila> will need to experiment [2022-11-28T19:30:22Z] <midfavila> i want to write a simple Athena text editor soon:tm: so that'd be a good test bed [2022-11-28T19:30:35Z] <midfavila> nothing crazy, basically just notepad [2022-11-28T19:30:48Z] <wael[m]> notepad.exe [2022-11-28T19:31:09Z] <midfavila> i mean yeah [2022-11-28T19:31:10Z] <midfavila> why not [2022-11-28T20:31:49Z] <phoebos> https://tmp.bvnf.space/a.c [2022-11-28T20:31:55Z] <phoebos> this seems to find the top level widget [2022-11-28T20:32:33Z] <wael[m]> wtf is that while loop [2022-11-28T20:41:51Z] <midfavila> it's your mom [2022-11-28T20:41:52Z] <midfavila> gottem [2022-11-28T20:42:11Z] <midfavila> anyway do{}while() ensures the body runs at least once