ChanServ changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.bvnf.space | post logs or else | song of the day https://vid.puffyan.us/H7PvgY65OxA
<sad_plan> is there any other utility that provides fsck? outside of util-linux I mean. or busybox/toybox obviously
rohan has joined #kisslinux
<ioraff> file systems ship their own. I think fsck just picks the correct one of those.
<sad_plan> hm, so initially, I can manage without fsck as a standalone utility?
<ioraff> sure. just use fsck.ext4 or whatever
<sad_plan> hm, ok
rohan has quit [Ping timeout: 260 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 268 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 246 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 252 seconds]
<wael[m]> Hi
<ioraff> howdy
<sad_plan> hi
rohan has joined #kisslinux
ioraff has quit [Quit: ioraff]
sereg has quit [Ping timeout: 252 seconds]
rohan has quit [Ping timeout: 252 seconds]
rohan has joined #kisslinux
<saturn[m]> hey
<sad_plan> hi saturn[m]
<saturn[m]> hi sad_plan
<wael[m]> hi saturn
<saturn[m]> hi wael
sad_plan has quit [Quit: nyaa~]
<wael[m]> anyone know an alternative to depmod? toybox doesn't have it
<wael[m]> or and acpid
<wael[m]> sad_plan: new libressl version, should probably wait some time for projects to have checks for it
rohan has quit [Ping timeout: 252 seconds]
sereg has joined #kisslinux
kinozawa has joined #kisslinux
rohan has joined #kisslinux
aliosablack has joined #kisslinux
chomwitt has quit [Ping timeout: 268 seconds]
<wael[m]> was acpid dropped for busybox?
aliosablack has quit [Ping timeout: 252 seconds]
aliosablack has joined #kisslinux
<testuser[m]> /usr/bin/acpid
<testuser[m]> wtf why is ubungo installer using internet when i told it not to
<testuser[m]> literally 1984
<testuser[m]> WTF
<wael[m]> ubuntu moment
<testuser[m]> wtf why is firefox a snap
<wael[m]> because ubuntu looooooooves snaps
<testuser[m]> hmm why does gpu driver in vm crash with virgl
<testuser[m]> so bad
oldtopman has quit [Remote host closed the connection]
<testuser[m]> why does kiss use global variables instead of echoing and storing in var with subshell
<testuser[m]> phoebos:
<phoebos> testuser[m]: what do you mean by echo and store
<testuser[m]> fn() ( echo "$@" ); out="$(fn 1 2 3)"
<phoebos> oh yeah
<phoebos> i hate the use of implicit globals in kiss
<testuser[m]> not () instead of {} too, prevents manipulation of globalvars
<testuser[m]> i think we should refactor it
<testuser[m]> its so bad
<testuser[m]> note*
<wael[m]> wait wtf where is this used
<testuser[m]> everywhere
<phoebos> every kiss function
<wael[m]> oh my gos
<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
<phoebos> presumably it would be slower to use echo and store all the time, have to fork a lot, have to redirect stdout
<phoebos> agreed, stray alternatives should be fixed
<testuser[m]> i doubt it would be anything substantial, in nanoseconds which is nothing compared to other inefficiencies in kiss
<testuser[m]> cuz of sh limitations
<testuser[m]> but we can always bench
<phoebos> easier to mix in c programs using x=$(fn)
<testuser[m]> phoebos: example of weird filename in eval set -- printf suggestion?
<testuser[m]> seems to work fine with spaces
<testuser[m]> without eval
<testuser[m]> also we should replace `for x in xyz; do set -- $@ $x; done` with `x="$(for x in xyz; do echo $bla; done)"`
<testuser[m]> the former is quadratic i think
<testuser[m]> ill check performance
<phoebos> testuser[m]: without eval, set splits by spaces
<phoebos> set -- '/bin/b a d' '/bin/good'
<phoebos> set -- $(/bin/printf '%s/manifest ' "$@")
<phoebos> printf "%s\n" "$@"
<phoebos> /bin/b
<phoebos> a
<phoebos> d/manifest
<phoebos> /bin/good/manifest
<testuser[m]> can't we set IFS or something?
rohan has quit [Ping timeout: 268 seconds]
<phoebos> yes, but you'd have to separate the filenames by that and ensure no filenames contain it
<testuser[m]> ig this is why the quadratic set is used
<phoebos> better to stick to $@ for arrays
<testuser[m]> xargs grep -Fxf "$pattern_file" < "$files_file" ?
<phoebos> also need to quote properly for xargs
<testuser[m]> quote what
<phoebos> filenames
<testuser[m]> both are just paths to files
midfavila has joined #kisslinux
<testuser[m]> hmm
<testuser[m]> ig this issue is present in a lot of places then
<phoebos> just need to be careful
<midfavila> what issue?
<testuser[m]> bruh what if kiss preferred outputs a package name with space in it
<testuser[m]> u cant even split on the proper field
<phoebos> the best solution is to forbid package names with spaces
<phoebos> then filenames with spaces are ok
<testuser[m]> yes
<midfavila> tbf spaces in filenames *are* heresy
<testuser[m]> dufensive brogramming
<testuser[m]> phoebos `preferred | grep '^busybox '` better way to check if first field matches, while printing the rest of the line with match?
<phoebos> for what utility?
<testuser[m]> kiss preferred will output "busybox /file"
<testuser[m]> "s6-linux-init /usr/bin/init"
<testuser[m]> maybe it should just grep first field and say "busybox leaves behind orphaned symlinks, run kiss preferred for more info"
<testuser[m]> nvm ill just modify the function to take parms
rohan has joined #kisslinux
<testuser[m]> nvm
<testuser[m]> also how do you make grep always output `file:match`? it breaks if only 1 pkg
<testuser[m]> -H is a gnooo extension
<testuser[m]> bruh
<testuser[m]> might as well pass /dev/null as an argument
<testuser[m]> extra
sereg has quit [Ping timeout: 268 seconds]
<phoebos> testuser[m]: in your pr is the first example with your patch
<testuser[m]> ofc lol
<illiliti> pls no need to rush merging prs
<testuser[m]> ok
<wael[m]> rush b
<testuser[m]> ye i fucked up the preferred thing too
ella-0_ has joined #kisslinux
ella-0 has quit [Ping timeout: 252 seconds]
<phoebos> pkg_preferred has the same set -- splitting problem
<testuser[m]> it forbids spaces in args()
<testuser[m]> and newlines
<phoebos> ah ok yes
<phoebos> still better not to assume no need to quote
<phoebos> eg. $KISS_ROOT might contain a space
<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
<testuser[m]> the checks need to be seperated but idk how to even group them
<testuser[m]> what do they even represent
<testuser[m]> check_*[]\n
<testuser[m]> phoebos: ill change it to cd first ig
<testuser[m]> pkg_owner has the same issue if kiss root has space
<illiliti> revert and start over
ioraff has joined #kisslinux
<ioraff> illiliti: muon shouldn't set a warning level by default. combining -Wpedantic with -Werror=format breaks, for example, mesa
<wael[m]> muon can actually build mesa?
<ioraff> without llvm, yes. with llvm, it needs a small patch to meson.build so it looks for the llvm.pc we now ship
<wael[m]> woww
<illiliti> ioraff: you can overwrite warning_level on command line
<illiliti> iirc
<illiliti> but i agree that muon shouldn't set it
rohan has quit [Ping timeout: 252 seconds]
<wael[m]> can anyone supply a linux-headers binary?
<phoebos> linux-headers is literally all source
<wael[m]> ?
<phoebos> /usr/include/linux/...
<wael[m]> can I just have a binary
<midfavila> i don't think you understand
<phoebos> if you don't have the tools to use the package you won't be able to use a "binary"
<midfavila> linux-headers has no compilation step
<midfavila> it's a collection of *header* files
<wael[m]> then why the fuck can't I install it
<midfavila> logs should tell you
<phoebos> is there an error?
<wael[m]> yes
<wael[m]> no kernel headers
<wael[m]> which is why I need a binary
<midfavila> >no kernel headers
<midfavila> wat
<midfavila> >need a binary
<midfavila> binaries of header files don't exist
<wael[m]> this is kiss b linux-headers
<wael[m]> in linux-headers:build#3 it runs 'make headers'
<wael[m]> so hmmmmm
<phoebos> hmm
<illiliti> you're on glibc?
<phoebos> oh
<wael[m]> yes I am lol
<wael[m]> I extracted the headers from a kiss tarball
<wael[m]> I'm gud
<ioraff> glibc should have a hard dependency on linux-headers
<wael[m]> no I fucking removed it
<ioraff> i know. it doesn't have one, but it needs to
<wael[m]> but yeah glibc doesn't depend on linux-headers
<wael[m]> testuser: hi
<testuser[m]> I noticed it few days back in sandbox
<testuser[m]> Will fox
<wael[m]> hes gonna 🦊
rohan has joined #kisslinux
rohan has quit [Ping timeout: 260 seconds]
dilyn has joined #kisslinux
rohan has joined #kisslinux
rohan has quit [Ping timeout: 252 seconds]
rohan has joined #kisslinux
oldtopman has joined #kisslinux
rohan has quit [Ping timeout: 252 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 265 seconds]
<testuser[m]> Sus
<wael[m]> when the wael is sus
rohan has joined #kisslinux
<ioraff> what app is that
<ioraff> ?
<midfavila> looks like some qtshit
<testuser[m]> Element
<testuser[m]> Matrix
<wael[m]> schlidichat I believe
<testuser[m]> Same thing as element with green skin so I just said element
<testuser[m]> midfavila: do u like anything
<midfavila> that's a good question
<midfavila> i like it when i wake up and my friends have messaged me, i guess
<midfavila> nightwalks are comfy
<wael[m]> and breathing
<wael[m]> do you like living
<midfavila> no, not really
<wael[m]> do you hate your flesh
<midfavila> bit of a personal question
<wael[m]> hmm
soliwilos has joined #kisslinux
soliwilos_ has joined #kisslinux
soliwilos has quit [Remote host closed the connection]
rohan has quit [Ping timeout: 246 seconds]
<midfavila> I dunno if any of you guys use MWM, but if you do...
<midfavila> this is a clever little program called rizzle that I found earlier today
<midfavila> implements window rollup on top of MWM/eMWM
<illiliti> testuser[m]: globals are unavoidable
<illiliti> or about what globals you talking?
soliwilos_ is now known as soliwilos
soliwilos has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
sad_plan has joined #kisslinux
<sad_plan> o/
<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
* sad_plan shrugs
sereg has joined #kisslinux
sereg has quit [Ping timeout: 260 seconds]
rohan has joined #kisslinux
soliwilos has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
soliwilos_ has joined #kisslinux
soliwilos has quit [Remote host closed the connection]
Guest47 has joined #kisslinux
<Guest47> Hi
<Guest47> When I update flac chromium complains about symbols.
<Guest47> flac version 1.4.1-1
<dilyn> rebuild chromium
<Guest47> It's a bin. Slow laptop
<dilyn> welp
<dilyn> guess you'll have to rollback and wait :v
<dilyn> we don't have an automated system for rebuilding binary packages yet:(
<Guest47> would be nice
<dilyn> would be! but alas
<dilyn> we're either too lazy, too poor, or too dumb
<dilyn> (It's mostly an infra problem)
<Guest47> problem is mednafen wants latest flac chromium don't
<Guest47> haha
<Guest47> I guess I'll rebuild mednafen and satisfy chromium.
Guest47 has quit [Remote host closed the connection]
ioraff has quit [Quit: ioraff]
Guest47 has joined #kisslinux
soliwilos_ is now known as soliwilos
Guest47 has quit [Remote host closed the connection]
<soliwilos> Has anyone used a modern PSU on a old 90's ATX 1.x motherboard?
<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.