acheam 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/HL_3D4b3UZM
<wael[m]> illiliti: why does tinyramfs stop at 'creating ramfs structure'? in debug mode it stops at reading binary [
<illiliti> looks like a bug
<illiliti> are you on glibc or musl?
<wael[m]> glibc yes
<wael[m]> 2.36
<wael[m]> i dont usually use a tinyramfs but im helping a friend
<wael[m]> s/tinyramfs/initramfs
<illiliti> run `ldd '/usr/bin/[' 2>/dev/null` and post output
<wael[m]> /usr/bin/[:
<illiliti> drop 2>/dev/null and post again
<wael[m]> /usr/bin/ldd: error: '/usr/bin/[' is not a dynamic executable
<illiliti> i wonder if it's an escaping bug. run `ldd /usr/bin/busybox 2>/dev/null`
<wael[m]> /usr/bin/busybox:
<wael[m]> /usr/bin/ldd: error: '/usr/bin/busybox' is not a dynamic executable
<illiliti> ah it's multiline output
<wael[m]> i removed 2>/dev/null
<illiliti> ok
<wael[m]> the first line is simulation of 2>/dev/null
<illiliti> ah ok
<wael[m]> so is this a kiss busybox problem orr
<illiliti> is ldd from glibc or sh-alternatives?
<wael[m]> i believe sh-alternatives
<illiliti> give me a source of your /bin/ldd . i'll double check
<dilyn> what about readelf
<wael[m]> illiliti: wdym?
Torr has quit [Ping timeout: 256 seconds]
<illiliti> post source of /bin/ldd
<wael[m]> oh wait ldd is owned by glibc
<wael[m]> kiss owns says that
<wael[m]> this is cat /bin/ldd output
<wael[m]> oh wait it is shlt-
<wael[m]> sh-alternatives*
<illiliti> yeah
<illiliti> is is bug in sh-alternatives
<wael[m]> what is the fix?
Torr has joined #kisslinux
<illiliti> remove this
<illiliti> glibc ldd doesn't print it and i see no point why it should
<wael[m]> yep that fixed it
<wael[m]> maybe that should be removed in sh
<wael[m]> -alternatives
<illiliti> it should yeah
<wael[m]> shall i open a PR?
<illiliti> yeah why not
<wael[m]> alright
<illiliti> dilyn: tinyramfs doesn't use readelf
<illiliti> i don't remember why i implemented only ldd
<wael[m]> i messed up the commit name but it works
<illiliti> thanks for the PR
rohan has quit [Ping timeout: 256 seconds]
<dilyn> I just meant try readelf to see a better picture than what ldd provides
<dilyn> but it doesn't matter in this case :v
Torr has quit [Quit: leaving]
rohan has joined #kisslinux
ella-0 has joined #kisslinux
ella-0_ has quit [Read error: Connection reset by peer]
<testuser[m]12> Hi
<dilyn> o/
<dilyn> testuser I've been thinking lately
<dilyn> should we provide a generic kernel and initramfs in the main repo?
<dilyn> I think it's basically trivial to provide now
<testuser[m]12> Sounds good, can save a lot of time for newcomers
<dilyn> that's what I was thinking
<dilyn> it basically trivializes a new setup and offers the *option* for doing the "hard part" of Linux
<wael[m]> well if a generic kernel is going to be provided, would there be a way to provide a custom configuration?
<dilyn> Theoretically it minimizes questions concerning kernel problems, but I have no idea what clusterfuck of a monsoon it might open up because we essentially end up removing a major bar to entry (at least, those who aren't knowledgeable enough to know "oh I can just copy this binary package from arch and create a handy initramfs thanks to illiliti")
<dilyn> It's... semi-trivial to customize a kernel config in this case...
<dilyn> make oldconfig reconciles the config and sanity checks it, so if you echo some new config option to the end of a .config file the Kconfig system will make sure everything works as it should
<dilyn> users may be prompted to make decisions on new config options, but you can spoof selections on those in an automated way as well
<dilyn> the way to provide a custom config would, I think, be best handled by forking a package, but that might just be due to lack of imagination on my part. Intervening in KISS package builds is difficult by design. You could always make it so that kernel builds prompt for config options, but that is the opposite of solving this problem unfortunately:\
<testuser[m]12> wael[m]: kiss fork?
<dilyn> you could use a pre-build hook...
<testuser[m]12> What if u want extra patches
<dilyn> in that case you just have the normal problem with any other package in KISS
<dilyn> not really a blocker here
<dilyn> i think we might have to create some new variables for KISS specifically for this venture; an install path for the kernel (because nobody ever seems to just want to use /boot, thanks arch...), potentially the location of a config file a user might want to supply (keep a simple pre-build hook...)...
<testuser[m]12> Adding build variables is just use flags
dilyn has quit [Quit: Connection closed]
dilyn has joined #kisslinux
<dilyn> I agree that it's USE_FLAGS but I think the kernel presents a special case due to the uniqueness of the kernel
<dilyn> alternatively we could establish that all kernel-related artifacts are installed in a specific location to be handled by the user; /usr/src/ is the de facto
<wael[m]> why would someone choose another kernel path different to /boot
<testuser[m]12> Just have /boot/vmlinuz as default
<testuser[m]12> Genpoo probably has a fixed path too
<wael[m]> arch does too I believe
<dilyn> have you ever seen documentation for other distros on where vmlinuz goes xD
<testuser[m]12> Arch is not source based
<dilyn>  /efi, /boot/efi, /boot...
<wael[m]> *efi is just for efi studd why would kernel be in there
<dilyn> I mean I'm fine with instituting the policy of '/boot is the location deal with it', it's just a thing to keep in mind
<dilyn> because if the kernel is built as an EFI binary (which it almost certainly would be) it theoretically goes there
<wael[m]> I have never seen that happen
<testuser[m]12> Also a portable kernel would need blobs so do we package 200mb of blobs too
<wael[m]> the efi partition would be mounted at /boot if that's the case
<dilyn> we would have to have a linux-firmware package or bundle firmware with the kernel (i vote a separate package)
<dilyn> wael[m]: again, other distributions handle this differently
<wael[m]> non separate firmware is a bad idea
ejjdhfjsu has joined #kisslinux
<dilyn> agreed
<testuser[m]12> Gnetoo just installs kernel source to /usr/src and u have to build manually
<dilyn> yes
<dilyn> that's the historical location for all kernel builds
<wael[m]> gentoo kernel sources
<wael[m]> then have to do some weird eselect stuff
<wael[m]> btw, didn't dylan intentionally want go have the kernel managed by the user?
<dilyn> correct
<wael[m]> hmmmm
<noocsharp> package splitting when
<wael[m]> wdym
<dilyn> -dev et al
<noocsharp> multiple packages from the same build
<dilyn> never not once
<wael[m]> I think this is difficult to do
<noocsharp> most major package managers have it
<wael[m]> many distros do this by having a package entry function inside the build file of some sort
<dilyn> and its the wrong choice for a sources distribution I think
<wael[m]> does gen2 do it
<dilyn> I'd hope not that would be insane
<noocsharp> idk why major distros don't package split kernel modules
<wael[m]> the idea could save some storage space but muh package count
<noocsharp> [nihal@debussy ~]$ du -sh /usr/lib/modules
<noocsharp> 198M/usr/lib/modules
<dilyn> it's a lot of labor to split modules
<dilyn> a standard Ubuntu kernel generates about 1GB worth of modules
<noocsharp> which i need 10MB of
<wael[m]> wait hold on splitting kernel modules???
<wael[m]> nahhhh that's a lot of work
<dilyn> technically canonical *does* split some modules up
<dilyn> between modules, modules-extra, others...
<dilyn> it's certainly a lot of labor
<illiliti> 8.0M/usr/lib/modules
<noocsharp> well you're presumably not running artix illiliti
<noocsharp> i'm using their stock kernel
<noocsharp> why do you have modules at all, why not build a static kernel?
<dilyn> -rwxr-xr-x 1 root root 9.8M May 30 17:41 vmlinuz.efi
<dilyn> fuck a module
<dilyn> it'd be smaller but kvm adds a lot of shit:X
<wael[m]> vmlinuz.efi?
<dilyn> just a name i chose for no good reason
<wael[m]> it made me get confused for a moment
<dilyn> :P
<illiliti> i need modules to test some things
<illiliti> tinyramfs, mdevd and others
<noocsharp> ah
ioraff has quit [Quit: ioraff]
ejjdhfjsu_ has joined #kisslinux
ejjdhfjsu has quit [Ping timeout: 248 seconds]
soliwilos has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
<virutalmachineus> what you guys think of harden kiss version?
<virutalmachineus> like gentoo harden
rohan has quit [Ping timeout: 252 seconds]
rohan has joined #kisslinux
ecs has quit [Remote host closed the connection]
ecs has joined #kisslinux
ecs has quit [Remote host closed the connection]
ecs has joined #kisslinux
<Ogromny> If you want a "good" default kernel .config, we can use voidlinux .config, that's what I did and it worked pretty well
<phoebos> dilyn: building a kernel is educational and I wouldn't want people to miss out on that and rely on a package
<phoebos> it's also difficult to choose what to include as you said
<phoebos> we could provide a .config to start with
<phoebos> but defconfig is good enough for that
kinozawa has quit [Quit: Leaving the Cosmos...]
ejjdhfjsu_ has quit [Remote host closed the connection]
kinozawa has joined #kisslinux
kinozawa has quit [Quit: Leaving the Cosmos...]
kinozawa has joined #kisslinux
rohan has quit [Ping timeout: 256 seconds]
soliwilos has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
<midfavila> i was gonna question you as to why your kernel is 9.8M,
<midfavila> but then I realized mine is like 13M so I can't talk
<wael[m]> my kernel is 9kb (real)
<midfavila> what, you on research unix? :p
<wael[m]> I am on gods third temple (real)
<midfavila> patrician operating system
phinxy has quit [Quit: WeeChat 3.5-dev]
phinxy has joined #kisslinux
midfavila has quit [Remote host closed the connection]
midfavila has joined #kisslinux
<testuser[m]12> ioraff did u build with gcc 12.2?
<testuser[m]12> Works fine for me but on glibc, a miscompilation should be irrelevant to libc tho
rohan has joined #kisslinux
chomwitt has joined #kisslinux
midfavila has quit [Quit: Leaving.]
midfavila has joined #kisslinux
<midfavila> ping
<testuser[m]12> host unreachable
<midfavila> fuq
<midfavila> I'm testing out a new IRC client that I might fork
<midfavila> Pidgin's constant crashing and obscene resource use is getting on my nerves
<wael[m]> why not use catgirl
<midfavila> if i'm going to run an X server i'm going to use GUI programs
<midfavila> also I like motif
<wael[m]> interesting
<midfavila> oh, nice, this client uses less memory than even my terminal
<midfavila> based
<wael[m]> what the shit
<midfavila> ?
<wael[m]> what damn irc client is it
<midfavila> nebula
<midfavila> it's pretty old
<midfavila> last official release was 0.5 in 2005
<midfavila> but it's a small codebase, so I'm confident I can get it working quite nicely
<wael[m]> and its gui
<midfavila> uh, yeah
<midfavila> i'll post a screenshot, one sec
<wael[m]> it uses Xt I presume?
<midfavila> everything ultimately uses Xt, but no
<midfavila> it uses Motif
<wael[m]> that looks like grandpa
<midfavila> i think it looks fine
<midfavila> i use motif regularly though so maybe i'm biased
<wael[m]> s/biased/based//s
<midfavila> i think the only gtk programs i have left at this point are lxtask and my browser
<midfavila> but i barely use the latter
<midfavila> it's like, exclusively for email and web banking
<wael[m]> wow
* midfavila shrugs
<phoebos> webmail?
<midfavila> yeah
<midfavila> for "professional" stuff I use protonmail
<midfavila> but that's basically just communication with the government and my landlord
<midfavila> most of my email goes through SDF
<phoebos> fair enough
<phoebos> thank you for explaining yourself
<wael[m]> sdf?
<midfavila> the super dimensional fortress public unix system
chomwitt has quit [Ping timeout: 248 seconds]
<midfavila> i'm a card-carrying member so i have a contractual obligation to shill
<wael[m]> holy shit that name fucks
<midfavila> /s obviously
<midfavila> and yeah sdf is based
<midfavila> iirc it's one of if not the oldest pubnix still in operation
<midfavila> they started in the late 80s
<wael[m]> I think I remember wanting to use it but my name is taken unfortunately
<midfavila> rip
<midfavila> once i have a little more money i'd like to pay for more privs
<midfavila> having the ability to tunnel my internet traffic through SDF will be really nice
<midfavila> as will be being able to set up a reverse proxy
<wael[m]> so basically, a vps vpn
<midfavila> VPN through SDF, yeah
<midfavila> ...oh, and I'll be able to get SMTP access on my account. that'll be nice
<midfavila> rn I have to log in to access my email
<wael[m]> why did I not come up with a username for myself is something I'll never know
<midfavila> i mean, it's not like you can't just come up with one now
<wael[m]> I've been trying to come up with one for 2 years
<midfavila> sounds like you're putting too much effort into it man
<midfavila> should just come to you
* midfavila nod-nods
<wael[m]> alright that's it wkfbiwrodnwiekdwojridmhwornf is my new name
<midfavila> a strong name
chomwitt has joined #kisslinux
<midfavila> this client doesn't even have list implemented, gosh
<midfavila> that'll need to be fixed
kinozawa has quit [Quit: Leaving the Cosmos...]
sam_sepi0l has quit [Quit: Textual IRC Client: www.textualapp.com]
kinozawa has joined #kisslinux
fitrh has joined #kisslinux
fitrh has quit [Quit: fitrh]
kinozawa has quit [Quit: Leaving the Cosmos...]
kinozawa has joined #kisslinux
ioraff has joined #kisslinux
<ioraff> testuser[m]12: yeah, still segfaults on youtube
<testuser[m]12> Do u have the original build dir
<testuser[m]12> Run with gdb
<testuser[m]12> And do the set thread all bt thingy
<testuser[m]12> Or launch with --single-process
<ioraff> launch chromium with --single-process?
<ioraff> I don't have a builddir, but it shouldn't take too long to regenerate with ccache. I'll try after I update my kernel.
<testuser[m]12> Yeah
<testuser[m]12> ioraff: are u sure it's gcc vs clang thing and not undefined behaviour like the TID thing
<ioraff> could be anything. all I know is that it segfaults when built with gcc and doesn't when built with clang.
ioraff has quit [Quit: ioraff]
ioraff has joined #kisslinux
<ioraff> you said you didn't encounter this segfault with gcc+glibc?
<testuser[m]12> Yea i didn't
<ioraff> on youtube?
<testuser[m]12> Didn't
<testuser[m]12> I only tested it for 5 mins tho
* midfavila pat-pats
midfavila has quit [Remote host closed the connection]
phinxy has quit [Quit: WeeChat 3.5-dev]
<ioraff> aren't any symbols
<ioraff> nevermind, I'm dumb.
phinxy has joined #kisslinux
<testuser[m]12> how are you supposed to screen record with audio on wayland
<dilyn> how do you do it on X11
<testuser[m]12> i didn't
<dilyn> lol
<testuser[m]12> Btw does pipewire screen sharing share audio?
<ioraff> I believe so
<dilyn> it should
<dilyn> the hard part is going to be finding a tool which supports this which doesn't also rely on gnome or some bullshit
<testuser[m]12> ~~chromium~~
<dilyn> like, you could do it on X with ffmpeg, but I don't think ffmpeg supports things here...
<testuser[m]12> I think wf-recorder has something for audio but it's based on poopaudio
<testuser[m]12> And seems like it's not synced properly with video
<dilyn> maybe just record the audio separately and use a slate to line it up:P
<testuser[m]12> also
<testuser[m]12> oh
<testuser[m]12> Ig I'll try to port wf-recorder audio code to pipewire
<testuser[m]12> pipewire-pulse exists but u still need libpulse cuz it just emulates the server part
<testuser[m]12> Or maybe it should just use openal soft cuz it provides abstraction for every backend
<ioraff> testuser[m]12: do you compile chromium with -g?
<testuser[m]12> ioraff: no
<rohan> yo
<testuser[m]12> Don't try that either
<rohan> someone know how to make alse work with firefox?
<rohan> i mean with mic
<ioraff> I didn't. I'm just not getting any debug symbols in out/Release/chrome
<ioraff> rohan: afaik that's only possible with apulse
<rohan> works great on kiss?
<testuser[m]12> ioraff: it'll always say that
<testuser[m]12> Just make it crash and do `bt`
<testuser[m]12> rohan: use chromium or install libpulse and use apulse
<ioraff> testuser[m]12: https://0x0.st/o9AC.txt
<ioraff> trying now
Torr has joined #kisslinux
<ioraff> it was useful indeed
<Torr> Book recommendation: Gene Wars - Kristin Dawkins
midfavila has joined #kisslinux
ioraff has quit [Quit: ioraff]
ioraff has joined #kisslinux
midfavila has quit [Remote host closed the connection]
midfavila has joined #kisslinux
<noocsharp> how's the math learning going mid?
<midfavila> slowly
<midfavila> i've been having a lot of trouble sleeping lately, and there's been a lot of stuff that needs to be addressed beyond my studies
<midfavila> i haven't touched my textbooks in maybe two weeks
<midfavila> feelsbadman
<midfavila> i was thinking of trying to finish off my logic textbook this upcoming week since there's only a few chapters left
<midfavila> atm it's covering the use of trees to reason about statements in monadic predicate logic
<midfavila> i think the remaining chapters are on generalized predicate logic, set theory, and basic proofs
<midfavila> oh, the discrete math textbook i got recently is pretty neat, though
<midfavila> it focuses on applications, so there's chapters on stuff like digital logic
<noocsharp> what's the "monadic" in monadic predicate logic refer to?
<midfavila> the fact that primitive propositions have two components, and are always expressed as something of the form Ax
<midfavila> as opposed to propositional logic, where primitive propositions are expressed simply as A
<midfavila> capital letter is the predicate, and the lowercase is the name. predicates tend to ascribe traits to names
<midfavila> so to use a cliche, M might be "x is a man", and s might be "Socrates", so to express the claim "Socrates is a man" in MPL would require the prop Ms
<noocsharp> ah
<midfavila> truthfulness of a prop is established by determining whether the name in a prop is a member of the set of things referred to by the predicate
<midfavila> so on and so forth
<midfavila> MPL also contains quantifiers, unlike PL
<noocsharp> ah, ok, i've used mpl but didn't call it mpl
<midfavila> what was it referred to in your work?
<midfavila> s/to/to as/
<midfavila> christ I can't grammar today
<midfavila> didn't get any sleep last night xwx
<noocsharp> actually wait, MPL is just a subset of first-order logic
<midfavila> yeah
<midfavila> GPL is first-order logic proper, I think
<midfavila> i think it's also called polyadic predicate calculus..?
<midfavila> or is that also a subset of first-order logic?
<noocsharp> it must be
<noocsharp> subset or the same
<noocsharp> non-strict subset
<midfavila> looks like it
<midfavila> i'm looking at the BNF grammar for first-order logic on wikipedia right now
<noocsharp> but no sane perso nwould call it polyadic predicate calculus
* midfavila shrugs?
<midfavila> idk dude i just like
<midfavila> read books and act like i know things
<midfavila> sometimes people even believe me
<noocsharp> when in doubt, use the less fancy expression of the idea
<midfavila> yeah, no, fair enough
<noocsharp> lest you become a philosophy professor
<midfavila> if i can't even attend university i don't think i need to worry about becoming a professor of anything lmao
<midfavila> brb checking on dinner
<midfavila> and we're back
<noocsharp> what's for dinner?
<midfavila> housemates are making nachos tonight
<midfavila> i don't have to do any of the cooking since i made dinner yesterday
<midfavila> (that was butter chicken curry)
<noocsharp> nice
<midfavila> yeah, 'twas okay
<noocsharp> i've been on a bit of a lua binge recently
<midfavila> oh yeah?
<midfavila> doing what?
<noocsharp> i made a ledger program, and started poking at ideas for a more minimal lilypond that doesn't use guile
<midfavila> neat
<midfavila> i've not heard of lilypond -- what is it?
<midfavila> i'm assuming it's a GNU thing, since, you know, guile
<midfavila> is it also a financial tool?
<noocsharp> music engraving engine
<noocsharp> sheet music
<midfavila> aaah
<midfavila> gotcha
<noocsharp> it uses guile as an extension language, which for me makes most of the code incomprehensible
<midfavila> that's fair
<midfavila> lisp can kind of be like that at times
<midfavila> wait until you learn about collector functions
* midfavila shudders
<noocsharp> what?
<midfavila> one of scheme's party tricks. basically it's a way to treat the state of a function as an immutable parameter
<midfavila> and computation is expressed by passing that parameter to recursive calls of the same function
<midfavila> it's... weird
<midfavila> the end result is that the base case is evaluated first
<midfavila> i don't fully understand the concept myself, and even GJS called it "black magic"
<midfavila> oop, food
<noocsharp> just sounds like recursion to me
<midfavila> i wish i could explain it better
<midfavila> but it's not the same as a regular recursive function, that's for sure
<noocsharp> recursion with an extra parameter
<midfavila> except that parameter is a function that's constantly being modified