acheam changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.org | post logs or else | song of the day https://vid.puffyan.us/bt5s-MUpXMc
an3223 has quit [Ping timeout: 240 seconds]
an3223 has joined #kisslinux
<tleydxdy[m]> Kinda sad that directfb is ded
ejjdhfjsu has joined #kisslinux
<acheam> kyxor: looks nice
<acheam> but the fact that you put ed after vi in the editor priority list is a disgrace
<acheam> ed is the one true editor
<acheam> also /root/.ash_history seems like a weird backup esp if you want this to be shell-agnostic, but I see how it would work for fixing your issue
<acheam> and I also dont see how you would know where else to look if HISTFILE isnt set
<acheam> it just rubs me the wrong way
mahmutov has joined #kisslinux
<testuser[m]> Hi
<noocsharp> can firefox even run with directfb
<noocsharp> hi testuser[m]
<noocsharp> kyxor: too good for makefiles?
mahmutov has quit [Ping timeout: 260 seconds]
rohan has quit [Ping timeout: 252 seconds]
illiliti has joined #kisslinux
<illiliti> wow i need ffmpeg now
<testuser[m]> Lol i unbundled it
<testuser[m]> It was bundled cuz of ffmpeg 5 changes but now i updated it
<illiliti> Error relocating /usr/lib/chromium/chromium: av_stream_get_first_dts: symbol not found
<illiliti> hmm
<illiliti> i have ffmpeg 5.0 installed
<testuser[m]> i bumped it once
<testuser[m]> rebuild
<testuser[m]> chromium relies on some internal field idk so arch alpine etc added the patch in ffmpeg package
<illiliti> ok
<illiliti> it works now
<illiliti> no crashes
<illiliti> thanks
<testuser[m]> np
<testuser[m]> @rohan:libera.chat: cbindgen fixed
<kyxor> noocsharp: sh > make I prefer something closer to a real programming language than a stub like make.
<kyxor> acheam: thanks for feedback, I'll address all those issues with next iteration
<kyxor> does ffmppeg 5.0 suck? they broke the old api, and the new does not give me much hope. Did anyone benchmark test it, I have a feeling it has to be slower now
<kyxor> well, once I rewrite nextfvp to support new api I would be able to do an accurate comparison. I kinda looked into it already but it's not finished yet
<phoebos> you would hope a programming language isn't necessary to get the instructions required to compile your code
<phoebos> make is designed for building projects
<testuser[m]> Pozix make is shit
<testuser[m]> Once ur project gets larger
<testuser[m]> U need atleast gnu make
<testuser[m]> larger as in vendoring some dependencies and stuff or platform specific code
<phoebos> yes but kyxor's project is one file
<testuser[m]> Yeah
<testuser[m]> I was just saying generally
<testuser[m]> I use it for small stuff too
<phoebos> kyxor: why define p as an alias to printf?
<illiliti> imho: use posix make for small projects and muon for large projects
illiliti has quit [Read error: Connection reset by peer]
illiliti_ has joined #kisslinux
illiliti_ is now known as illiliti
Guest3774 has joined #kisslinux
<Guest3774> Hi
<Guest3774> testuser[m]: https://termbin.com/yzaq
<Guest3774> Help please (gkiss, chromium-bin)
<testuser[m]> how will musl binary work on glibc
<Guest3774> Are you sitting on musl? Aren't you using the proprietary nvidia drivers?
ella-0 has joined #kisslinux
ella-0_ has quit [Read error: Connection reset by peer]
<Guest3774> x_x
<testuser[m]> What
<testuser[m]> I am using musl chroot for building chromium
<testuser[m]> I use firerox
<testuser[m]> Firerox
<testuser[m]> FIREFOX
<Guest3774> ok ok
<Guest3774> :)
Guest3774 has quit [Quit: Client closed]
an3223 has quit [Remote host closed the connection]
an3223 has joined #kisslinux
dilyn has joined #kisslinux
<dilyn> `[50183/50183] LINK ./chrome
<dilyn> ld.lld: error: undefined symbol: ui::ShellDialogLinux::SetInstance(ui::ShellDialogLinux*)
<dilyn> `
<dilyn> fml
<testuser[m]> Lol
<testuser[m]> It's cuz ur not building with gtk
<testuser[m]> Probably
<dilyn> indeed
<dilyn> it has something to do with that new patch which guards it in an ifdef with dbus
<dilyn> ofc i have dbus soooooooo
<dilyn> time to investigate
<testuser[m]> its the same as the old patch they just moved the file to a new place and refactored stuff
<testuser[m]> the .cpp files are removed from sources
<testuser[m]> The dbus portal shit
<dilyn> oic
<testuser[m]> idk how it worked earlier for u
<dilyn> me either :V :V :V
<dilyn> :thinking:
<dilyn> gnome is on this graphic but ubuntu isn't? sad
<dilyn> I mean it's theoretically in the top right but
<testuser[m]> Bruh
<testuser[m]> dilyn: there's nothing guarding that function
<dilyn> there isn't it's true
<testuser[m]> Ur linker is on smokies
<testuser[m]> It was just that 1 error?
<dilyn> it was several missing symbol errors, all from linux_ui.cc
<testuser[m]> Show
<testuser[m]> Ok
<testuser[m]> Its cuz those files must be in a gtk3 guard in gn generation files
<dilyn> indeed
<dilyn> it's my favorite kind of problem to debug:)
<testuser[m]> Just find where they're called and stub it
<kyxor> phoebos: I usually define p like that cause it's fast to type, when I do printf debugging saves time
<kyxor> phoebos: to run make you need shell, to run any program for that matter you need shell. therefore shell is fundamentally smaller form factor than make
<kyxor> I mean 1 file project may not even need build.sh, probably cc file.c -o exe can do the job too
<kyxor> it's just there so CLFAGS work and other extra flags for compiler so I don't have to retype them
<kyxor> correction: you don't necessarily need full shell to run programs, but you must have some process there to fork off from, and usually shell is the first citizen
<phoebos> i'm not saying there's a system with make but not sh, but if that's your reasoning, spinning up another shell is probably more expensive than parsing a makefile
<kyxor> this can be easily proven by bench testing, however the difference would be so small that it's practically nothing
<kyxor> fine look:
<kyxor> sh vs make just running the command with no arguments
<kyxor> sh : refs: 4,939,550
<kyxor> make : refs: 5,205,699
<kyxor> and don't forget that sh had to source my .rc as well while make is doing nothing but look for files with Make* names
<kyxor> maybe posix make might be a bit quicker, but in real were are talking 0.0000001s difference :)
<kyxor> generally make was a mistake, look what it led to: because make was so trash they had to make even more trash on top of it like auto* hell, cmake, bison, configure, meson and god knows how many more to come
<kyxor> this is what happens when everyone gets on with the bad or incomplete idea
<kyxor> trying to fix problems they created themselves... I stay true to the real thing which is: cc file.c -o out
<kyxor> everything else is just extra
<testuser[m]> kyxor: only autohell and configure build on top of make, cmake is just a generator it can do ninja files aswell and meson also uses ninja files
<kyxor> Look at this, why can't I compile my linux kernel with cc file.c -o out ? okay it may take a few days given how bloated it is but still what is the limitation
<kyxor> why did they had to make LTO a thing when instead could just make the damn thing compile in one translation unit
<testuser[m]> Nothjng
<kyxor> they could even use #define to toggle the translation unit
<kyxor> it's just a few things to keep in mind when organizing C code and files
<kyxor> it's possible to have it organized in such a way that going from one to the other is trivial, like in nextvi I can go back to the old way of parallel make and traslation units without having to change a single line of code except rearrange the #includes
<kyxor> I could even do it with 1 sed command probably
<kyxor> Instead of focusing so much on making programs work they should spend most of their time making program modifiable
<kyxor> what good is it if to make one small but important change I have to go and modify a million things
<kyxor> Instead of making the kernel impossible to crash they should focus on making the kernel better explain what's going on and why it crashed so that the masses could actually fix the problems themselves. So that a 5 year old could understand it...
<dilyn> seems irresponsible to let a five year old debug a kernel oops
<kyxor> Most of the design decisions in software eng. make no sense. Things are being used just because of some misunderstood "best practice" nonsense
<kyxor> dilyn: he must be a prodigy
<kyxor> now I wonder how much ram would it take to compile kernel in one unit. 1M loc probably would take 2GB of memory, so with debloated config should be doable
<kyxor> sounds like an idea for a new project
<kyxor> segfault > silent failure > security vulnerability
<illiliti> we are so close!
<illiliti> muon is already capable of builing mesa, libinput, wlroots, glib, ..., but...
<illiliti> the big problem is lack of full support for pkgconfig file
<illiliti> basically muon doesn't generate pkgconfig for libraries right now which makes them unusable
<illiliti> so muon is only suitable for executables right now
<testuser[m]> Rich
<dilyn> no, the big problem with muon is that it is GPL
<dilyn> come on, illiliti. Priorities
<illiliti> no no no no way
<illiliti> i'm pro-gpl person, don't you know?
<illiliti> not super hardcore one like stallman but still
<testuser[m]> dilyn: did u fix it
<dilyn> non
<dilyn> I was going to focus on it after work
mahmutov has joined #kisslinux
ejjdhfjsu has quit [Remote host closed the connection]
<dilyn> but testuser it should already be stubbed :'(   https://github.com/chromium/chromium/commit/40bca284c2fd06d9796bf02a012afec421271cd5
illiliti has quit [Quit: off to bed]
mahmutov has quit [Ping timeout: 272 seconds]
rohan has joined #kisslinux
<rohan> yo bro
<rohan> testuser[m]: your firefox sources is wrong
<rohan> repo is using 98.0 not 98.0.2
<rohan> is a error in version