💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-10-07.txt captured on 2024-05-26 at 16:05:17.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

[2022-10-07T01:10:09Z] <sad_plan> is there any other utility that provides fsck? outside of util-linux I mean. or busybox/toybox obviously
[2022-10-07T01:21:18Z] <ioraff> file systems ship their own. I think fsck just picks the correct one of those.
[2022-10-07T01:22:01Z] <sad_plan> hm, so initially, I can manage without fsck as a standalone utility?
[2022-10-07T01:23:10Z] <ioraff> sure. just use fsck.ext4 or whatever
[2022-10-07T01:25:37Z] <sad_plan> hm, ok
[2022-10-07T02:33:47Z] <wael[m]> Hi
[2022-10-07T02:34:16Z] <ioraff> howdy
[2022-10-07T02:34:31Z] <sad_plan> hi
[2022-10-07T03:36:43Z] <saturn[m]> hey
[2022-10-07T03:39:01Z] <sad_plan> hi saturn[m] 
[2022-10-07T03:39:29Z] <saturn[m]> hi sad_plan
[2022-10-07T03:39:47Z] <wael[m]> hi saturn
[2022-10-07T03:40:09Z] <saturn[m]> hi wael
[2022-10-07T06:40:26Z] <wael[m]> anyone know an alternative to depmod? toybox doesn't have it
[2022-10-07T06:40:30Z] <wael[m]> or and acpid
[2022-10-07T06:46:53Z] <wael[m]> sad_plan: new libressl version, should probably wait some time for projects to have checks for it
[2022-10-07T08:20:25Z] <wael[m]> was acpid dropped for busybox?
[2022-10-07T09:23:53Z] <testuser[m]> /usr/bin/acpid
[2022-10-07T09:26:25Z] * testuser[m] uploaded an image: (31KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.pratham.cc/EbfapjYhWJLlBofbXruJeHAn/2022-10-07T14%3A46%3A42%2C924325496%2B05%3A30.png >
[2022-10-07T09:30:41Z] <testuser[m]> wtf why is ubungo installer using internet when i told it not to
[2022-10-07T09:30:43Z] <testuser[m]> literally 1984
[2022-10-07T09:40:25Z] * testuser[m] uploaded an image: (23KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.pratham.cc/WVSMRjWNriUrhdeyTFiQmbhL/2022-10-07T15%3A08%3A10%2C042752831%2B05%3A30.png >
[2022-10-07T09:40:26Z] <testuser[m]> WTF
[2022-10-07T09:51:35Z] <wael[m]> ubuntu moment
[2022-10-07T09:54:14Z] <testuser[m]> wtf why is firefox a snap
[2022-10-07T09:54:30Z] <wael[m]> because ubuntu looooooooves snaps
[2022-10-07T09:58:54Z] <testuser[m]> hmm why does gpu driver in vm crash with virgl
[2022-10-07T09:59:01Z] <testuser[m]> so bad
[2022-10-07T11:47:45Z] <testuser[m]> why does kiss use global variables instead of echoing and storing in var with subshell
[2022-10-07T11:47:49Z] <testuser[m]> phoebos: 
[2022-10-07T11:49:25Z] <phoebos> http://lists.busybox.net/pipermail/busybox/2022-October/089909.html
[2022-10-07T11:49:41Z] <phoebos> testuser[m]: what do you mean by echo and store
[2022-10-07T11:50:19Z] <testuser[m]> fn() ( echo "$@" ); out="$(fn 1 2 3)"
[2022-10-07T11:50:37Z] <phoebos> oh yeah
[2022-10-07T11:50:54Z] <phoebos> i hate the use of implicit globals in kiss
[2022-10-07T11:50:57Z] <testuser[m]> not () instead of {} too, prevents manipulation of globalvars
[2022-10-07T11:51:03Z] <testuser[m]> i think we should refactor it
[2022-10-07T11:51:04Z] <testuser[m]> its so bad
[2022-10-07T11:51:19Z] <testuser[m]> note*
[2022-10-07T11:51:26Z] <wael[m]> wait wtf where is this used
[2022-10-07T11:51:41Z] <testuser[m]> everywhere
[2022-10-07T11:51:43Z] <phoebos> every kiss function
[2022-10-07T11:51:55Z] <wael[m]> oh my gos
[2022-10-07T11:52:25Z] <testuser[m]> phoebos: I think kiss preferred should be part of KISS, it can be used to implement checking for stray alternatives during pkg removal
[2022-10-07T11:53:04Z] <phoebos> presumably it would be slower to use echo and store all the time, have to fork a lot, have to redirect stdout
[2022-10-07T11:53:45Z] <phoebos> agreed, stray alternatives should be fixed
[2022-10-07T11:53:56Z] <testuser[m]> i doubt it would be anything substantial, in nanoseconds  which is nothing compared to other inefficiencies in kiss
[2022-10-07T11:54:03Z] <testuser[m]> cuz of sh limitations
[2022-10-07T11:54:10Z] <testuser[m]> but we can always bench
[2022-10-07T11:57:11Z] <phoebos> easier to mix in c programs using x=$(fn)
[2022-10-07T11:57:53Z] <testuser[m]> phoebos: example of weird filename in eval set -- printf suggestion?
[2022-10-07T11:58:35Z] <testuser[m]> seems to work fine with spaces
[2022-10-07T11:58:40Z] <testuser[m]> without eval
[2022-10-07T12:00:27Z] <testuser[m]> also we should replace `for x in xyz; do set -- $@ $x; done` with `x="$(for x in xyz; do echo $bla; done)"` 
[2022-10-07T12:00:32Z] <testuser[m]>  the former is quadratic i think
[2022-10-07T12:00:57Z] <testuser[m]> ill check performance
[2022-10-07T12:03:01Z] <phoebos> testuser[m]: without eval, set splits by spaces
[2022-10-07T12:03:14Z] <phoebos> set -- '/bin/b a d' '/bin/good'
[2022-10-07T12:03:24Z] <phoebos> set -- $(/bin/printf '%s/manifest ' "$@")
[2022-10-07T12:03:35Z] <phoebos> printf "%s\n" "$@"
[2022-10-07T12:03:44Z] <phoebos>  /bin/b
[2022-10-07T12:03:45Z] <phoebos> a
[2022-10-07T12:03:48Z] <phoebos> d/manifest
[2022-10-07T12:03:52Z] <phoebos>  /bin/good/manifest
[2022-10-07T12:05:07Z] <testuser[m]> can't we set IFS or something?
[2022-10-07T12:05:47Z] <phoebos> yes, but you'd have to separate the filenames by that and ensure no filenames contain it
[2022-10-07T12:06:09Z] <testuser[m]> ig this is why the quadratic set is used
[2022-10-07T12:08:02Z] <phoebos> better to stick to $@ for arrays
[2022-10-07T12:08:13Z] <testuser[m]> xargs grep -Fxf "$pattern_file" < "$files_file" ?
[2022-10-07T12:08:47Z] <phoebos> also need to quote properly for xargs
[2022-10-07T12:09:00Z] <testuser[m]> quote what
[2022-10-07T12:09:07Z] <phoebos> filenames
[2022-10-07T12:09:09Z] <testuser[m]> both are just paths to files
[2022-10-07T12:14:33Z] <phoebos> https://tmp.bvnf.space/log
[2022-10-07T12:14:43Z] <phoebos> https://github.com/kisslinux/kiss/pull/292
[2022-10-07T12:16:02Z] <testuser[m]> hmm
[2022-10-07T12:16:14Z] <testuser[m]> ig this issue is present in a lot of places then
[2022-10-07T12:16:32Z] <phoebos> just need to be careful
[2022-10-07T12:16:39Z] <midfavila> what issue?
[2022-10-07T12:18:31Z] <testuser[m]> bruh what if kiss preferred outputs a package name with space in it
[2022-10-07T12:18:33Z] <testuser[m]> u cant even split on the proper field
[2022-10-07T12:21:12Z] <phoebos> the best solution is to forbid package names with spaces
[2022-10-07T12:21:18Z] <phoebos> then filenames with spaces are ok
[2022-10-07T12:21:19Z] <testuser[m]> yes
[2022-10-07T12:21:43Z] <midfavila> tbf spaces in filenames *are* heresy
[2022-10-07T12:23:03Z] <testuser[m]> dufensive brogramming
[2022-10-07T12:25:12Z] <testuser[m]> phoebos `preferred | grep '^busybox '` better way to check if first field matches, while printing the rest of the line with match?
[2022-10-07T12:25:49Z] <phoebos> for what utility?
[2022-10-07T12:26:10Z] <testuser[m]> kiss preferred will output "busybox /file"
[2022-10-07T12:26:18Z] <testuser[m]> "s6-linux-init /usr/bin/init"
[2022-10-07T12:29:45Z] <testuser[m]> maybe it should just grep first field and say "busybox leaves behind orphaned symlinks, run kiss preferred for more info"
[2022-10-07T12:30:52Z] <testuser[m]> nvm ill just modify the function to take parms
[2022-10-07T12:31:19Z] <testuser[m]> nvm
[2022-10-07T12:33:33Z] <testuser[m]> also how do you make grep always output `file:match`? it breaks if only 1 pkg
[2022-10-07T12:34:50Z] <testuser[m]> -H is a gnooo extension
[2022-10-07T12:34:54Z] <testuser[m]> bruh
[2022-10-07T12:35:20Z] <testuser[m]> might as well pass /dev/null as an argument
[2022-10-07T12:35:26Z] <testuser[m]> extra
[2022-10-07T15:06:06Z] <phoebos> testuser[m]: in your pr is the first example with your patch
[2022-10-07T15:10:33Z] <testuser[m]> ofc lol
[2022-10-07T15:17:15Z] <illiliti> pls no need to rush merging prs
[2022-10-07T15:17:27Z] <testuser[m]> ok
[2022-10-07T15:22:40Z] <wael[m]> rush b
[2022-10-07T15:23:15Z] <testuser[m]> ye i fucked up the preferred thing too
[2022-10-07T15:30:44Z] <phoebos> pkg_preferred has the same set -- splitting problem
[2022-10-07T15:31:09Z] <testuser[m]> it forbids spaces in args()
[2022-10-07T15:31:12Z] <testuser[m]> and newlines
[2022-10-07T15:31:50Z] <phoebos> ah ok yes
[2022-10-07T15:32:16Z] <phoebos> still better not to assume no need to quote
[2022-10-07T15:32:26Z] <phoebos> eg. $KISS_ROOT might contain a space
[2022-10-07T15:32:51Z] <testuser[m]> what i fucked up is that pkg_preferred requires args that would be passed as if it was pkg_alternatives, but since i put it inside the case for verifying args for build/install/checksum, it gets passed "kiss" as an argument if no arg is given
[2022-10-07T15:33:08Z] <testuser[m]> the checks need to be seperated but idk how to even group them
[2022-10-07T15:33:10Z] <testuser[m]> what do they even represent
[2022-10-07T15:33:14Z] <testuser[m]> check_*[]\n
[2022-10-07T15:33:31Z] <testuser[m]> phoebos: ill change it to cd first ig
[2022-10-07T15:33:44Z] <testuser[m]> pkg_owner has the same issue if kiss root has space
[2022-10-07T15:35:08Z] <illiliti> revert and start over
[2022-10-07T16:32:58Z] <ioraff> illiliti: muon shouldn't set a warning level by default. combining -Wpedantic with -Werror=format breaks, for example, mesa
[2022-10-07T16:40:17Z] <wael[m]> muon can actually build mesa?
[2022-10-07T16:41:20Z] <ioraff> without llvm, yes. with llvm, it needs a small patch to meson.build so it looks for the llvm.pc we now ship
[2022-10-07T16:41:50Z] <wael[m]> woww
[2022-10-07T16:43:09Z] <illiliti> ioraff: you can overwrite warning_level on command line
[2022-10-07T16:43:13Z] <illiliti> iirc
[2022-10-07T16:43:38Z] <illiliti> but i agree that muon shouldn't set it
[2022-10-07T17:23:23Z] <wael[m]> can anyone supply a linux-headers binary?
[2022-10-07T17:24:10Z] <phoebos> linux-headers is literally all source
[2022-10-07T17:24:24Z] <wael[m]> ?
[2022-10-07T17:28:17Z] <phoebos>  /usr/include/linux/...
[2022-10-07T17:29:01Z] <wael[m]> can I just have a binary
[2022-10-07T17:29:08Z] <midfavila> i don't think you understand
[2022-10-07T17:29:14Z] <phoebos> if you don't have the tools to use the package you won't be able to use a "binary"
[2022-10-07T17:29:16Z] <midfavila> linux-headers has no compilation step
[2022-10-07T17:29:26Z] <midfavila> it's a collection of *header* files
[2022-10-07T17:29:33Z] <wael[m]> then why the fuck can't I install it
[2022-10-07T17:29:43Z] <midfavila> logs should tell you
[2022-10-07T17:29:47Z] <phoebos> is there an error?
[2022-10-07T17:30:00Z] <wael[m]> yes
[2022-10-07T17:30:01Z] <wael[m]> no kernel headers
[2022-10-07T17:30:06Z] <wael[m]> which is why I need a binary
[2022-10-07T17:30:16Z] <midfavila> >no kernel headers
[2022-10-07T17:30:16Z] <midfavila> >need a binary
[2022-10-07T17:30:16Z] <midfavila> wat
[2022-10-07T17:30:22Z] <midfavila> binaries of header files don't exist
[2022-10-07T17:30:49Z] <wael[m]> https://termbin.com/9220
[2022-10-07T17:30:59Z] <wael[m]> this is kiss b linux-headers
[2022-10-07T17:33:32Z] <wael[m]> in linux-headers:build#3 it runs 'make headers'
[2022-10-07T17:33:33Z] <wael[m]> so hmmmmm
[2022-10-07T17:37:30Z] <phoebos> hmm
[2022-10-07T17:39:07Z] <illiliti> you're on glibc?
[2022-10-07T17:39:40Z] <phoebos> oh
[2022-10-07T17:43:11Z] <wael[m]> yes I am lol
[2022-10-07T17:57:27Z] <wael[m]> I extracted the headers from a kiss tarball
[2022-10-07T17:57:31Z] <wael[m]> I'm gud
[2022-10-07T17:59:00Z] <ioraff> glibc should have a hard dependency on linux-headers
[2022-10-07T18:00:01Z] <wael[m]> no I fucking removed it
[2022-10-07T18:00:26Z] <ioraff> i know. it doesn't have one, but it needs to
[2022-10-07T18:00:26Z] <wael[m]> but yeah glibc doesn't depend on linux-headers
[2022-10-07T18:00:29Z] <wael[m]> testuser: hi
[2022-10-07T18:01:43Z] <testuser[m]> I noticed it few days back in sandbox
[2022-10-07T18:01:53Z] <testuser[m]> Will fox
[2022-10-07T18:03:49Z] <wael[m]> hes gonna 🦊
[2022-10-07T19:25:37Z] * testuser[m] uploaded an image: (46KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.pratham.cc/vMfnkhnKCWlLGFRgQyORiFnl/IMG_20221008_005524.jpg >
[2022-10-07T19:25:53Z] <testuser[m]> Sus
[2022-10-07T19:26:23Z] <wael[m]> when the wael is sus
[2022-10-07T19:30:57Z] <ioraff> what app is that
[2022-10-07T19:30:58Z] <ioraff> ?
[2022-10-07T19:31:11Z] <midfavila> looks like some qtshit
[2022-10-07T19:31:17Z] <testuser[m]> Element
[2022-10-07T19:31:21Z] <testuser[m]> Matrix
[2022-10-07T19:31:47Z] <wael[m]> schlidichat I believe
[2022-10-07T19:32:02Z] <testuser[m]> Same thing as element with green skin so I just said element
[2022-10-07T19:50:28Z] <testuser[m]> midfavila: do u like anything
[2022-10-07T19:50:44Z] <midfavila> that's a good question
[2022-10-07T19:51:05Z] <midfavila> i like it when i wake up and my friends have messaged me, i guess
[2022-10-07T19:51:09Z] <midfavila> nightwalks are comfy
[2022-10-07T19:51:18Z] <wael[m]> and breathing
[2022-10-07T19:51:19Z] <wael[m]> do you like living
[2022-10-07T19:51:27Z] <midfavila> no, not really
[2022-10-07T19:51:42Z] <wael[m]> do you hate your flesh
[2022-10-07T19:52:07Z] <midfavila> bit of a personal question
[2022-10-07T19:52:19Z] <wael[m]> hmm
[2022-10-07T20:22:06Z] <midfavila> I dunno if any of you guys use MWM, but if you do...
[2022-10-07T20:22:06Z] <midfavila> http://0x0.st/oylR.tar.gz
[2022-10-07T20:22:19Z] <midfavila> this is a clever little program called rizzle that I found earlier today
[2022-10-07T20:22:30Z] <midfavila> implements window rollup on top of MWM/eMWM
[2022-10-07T20:23:13Z] <illiliti> testuser[m]: globals are unavoidable
[2022-10-07T20:23:23Z] <illiliti> or about what globals you talking?
[2022-10-07T21:05:46Z] <sad_plan> o/
[2022-10-07T21:06:23Z] <sad_plan> wael[m]: I know. I updated as soon as I noticed. broke a few packages right away :p I like to live dangerously. lol
[2022-10-07T21:06:31Z] * sad_plan shrugs
[2022-10-07T22:57:36Z] <Guest47> Hi
[2022-10-07T22:59:28Z] <Guest47> When I update flac chromium complains about symbols.
[2022-10-07T22:59:52Z] <Guest47> flac version 1.4.1-1
[2022-10-07T22:59:54Z] <dilyn> rebuild chromium
[2022-10-07T23:00:19Z] <Guest47> It's a bin. Slow laptop
[2022-10-07T23:00:37Z] <dilyn> welp
[2022-10-07T23:00:42Z] <dilyn> guess you'll have to rollback and wait :v
[2022-10-07T23:00:52Z] <dilyn> we don't have an automated system for rebuilding binary packages yet:(
[2022-10-07T23:01:04Z] <Guest47> would be nice
[2022-10-07T23:01:14Z] <dilyn> would be! but alas
[2022-10-07T23:01:25Z] <dilyn> we're either too lazy, too poor, or too dumb
[2022-10-07T23:01:33Z] <dilyn> (It's mostly an infra problem)
[2022-10-07T23:02:03Z] <Guest47> problem is mednafen wants latest flac chromium don't
[2022-10-07T23:02:10Z] <Guest47> haha
[2022-10-07T23:04:01Z] <Guest47> I guess I'll rebuild mednafen and satisfy chromium.
[2022-10-07T23:40:46Z] <soliwilos> Has anyone used a modern PSU on a old 90's ATX 1.x motherboard?
[2022-10-07T23:42:10Z] <soliwilos> Even if a PSU has 20+4 pins, so the 20 pins fits, it is still somewhat scary as the pinout is a bit different.