💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-01-02.txt captured on 2022-01-08 at 14:42:18.

View Raw

More Information

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

[2022-01-02T00:40:58Z] <acheam> oof
[2022-01-02T00:41:02Z] <acheam> you got it now?
[2022-01-02T00:54:06Z] <sad_plan> yeah, I eventually asked mcf over at #oasis, and he was kind enough to shed some light on the matter. and I had to add --static flag to pkgconf. abit similarly to st.
[2022-01-02T00:55:29Z] <sad_plan> if my memory dont fail me, I now got no shared libs, and only static bins, with the exception of libc.so, libelf's .so, as I cant seem to be able to build linux without it.
[2022-01-02T00:55:45Z] <acheam> wow
[2022-01-02T00:55:48Z] <acheam> whats your browser?
[2022-01-02T00:56:14Z] <sad_plan> oh and mpv though, Ive gotten it to static link everything, except libc.so. however, I couldnt get any sound, so ive been some back and forth and figuring out whys that
[2022-01-02T00:56:23Z] <sad_plan> ive been using lynx actually
[2022-01-02T00:57:51Z] <sad_plan> ive used links back and forth aswell, but I tend to fall back to lynx. recently tried elinks some aswell.
[2022-01-02T01:00:09Z] <acheam> nice
[2022-01-02T01:01:55Z] <sad_plan> yeah, I supose its working alright. its rather minimal tbh. I would like a graphical browser though, so im thinking about enabling gcc shared libs, so I can build llvm and mesa, and then promptly webkit2gtk aswell, or atleast pave way for it or something. itll be like oasis and sabotage, which is probably the best we'll get :')
[2022-01-02T04:10:56Z] <testuser[m]> Hi
[2022-01-02T04:11:30Z] <testuser[m]> akira01: Just use adb push pull
[2022-01-02T04:25:46Z] <acheam> hi testuser[m!
[2022-01-02T05:04:24Z] <testuser[m]> Long time since song of the day was set
[2022-01-02T13:50:28Z] <sad_plan> dilyn: did you manage to build linux-headers, aswell as linux when having no libc.so, only the .a lib? it has always complained about fixdep script was missing, even though it was there. didnt matter if I compiled it manually either for some reason
[2022-01-02T16:00:07Z] <acheam> testuser[m]: yep trying to bring it back
[2022-01-02T18:14:40Z] <dilyn> pretty sure i experienced no issues building linux-headers
[2022-01-02T18:16:52Z] <dilyn> yeah just built headers totally fine in my static chroot
[2022-01-02T18:17:09Z] <acheam> what is so special about building linux headers? isnt it just.... static header files?
[2022-01-02T18:17:15Z] <dilyn> correct
[2022-01-02T18:17:27Z] <acheam> so why do they need to be built at all?
[2022-01-02T18:17:35Z] <dilyn> some things are parsed on the headers
[2022-01-02T18:17:38Z] <dilyn> values replaced etc
[2022-01-02T18:17:53Z] <acheam> ah
[2022-01-02T18:18:00Z] <dilyn> it would be this script that the Makefile runs doing `make headers` ./scripts/headers_install.sh
[2022-01-02T18:18:50Z] <dilyn> but yeah the makefile basically just does some light tweaking and stuff with some basic commands and then moves the headers where they should be
[2022-01-02T18:19:13Z] <acheam> i see thanks
[2022-01-02T18:30:43Z] <sad_plan> hm, maybe theres a differnece in the building. iirc you didnt build gettent and the other one. maayybe thats the issue. i dunno tbh. thats the only difference I could think of. lemme check
[2022-01-02T18:31:39Z] <sad_plan> wait, you did
[2022-01-02T18:32:13Z] <sad_plan> however, I do build them statically, whereas you did not.
[2022-01-02T18:32:18Z] <sad_plan> in your static repo atleast, I mean
[2022-01-02T18:35:01Z] <sad_plan> /bin/sh: scripts/basic/fixdep: not found is the error Ive always got
[2022-01-02T18:36:24Z] <sad_plan> I tried without the static flag. made no difference
[2022-01-02T18:36:27Z] <sad_plan> this is strange
[2022-01-02T18:39:43Z] <sad_plan> I get it. I added a flag to the headers makefile, and there I fixed it
[2022-01-02T18:40:34Z] <sad_plan> I added -static flag inside HOSTCC="$CC". oasis had it mentioned, but for some reason, I dont think it worked for me before. which is abit strange imo. but oh well
[2022-01-02T18:46:48Z] <dilyn> getent and getconf are static in my tarball at least:P
[2022-01-02T18:47:00Z] <dilyn> but yes --static should go in HOSTCC for the kernel and headers
[2022-01-02T18:47:20Z] <sad_plan> they dont have the static flag your repo, but no matter.
[2022-01-02T18:47:51Z] <sad_plan> yeah, i seemed to work. now I wanted to check to doublecheck if I could build linux aswell, but now it complains about the fixdep script missing :')
[2022-01-02T18:48:33Z] <dilyn> well when you only have libc.a they don't have a choice I supposeXD
[2022-01-02T18:48:47Z] <dilyn> that's a bit wonkey eh. I should get back into that project...
[2022-01-02T18:49:20Z] <sad_plan> lol, right.
[2022-01-02T18:50:50Z] <sad_plan> yes I think you should. building things statically is fun. 
[2022-01-02T18:52:29Z] <sad_plan> lol. if I add HOSTCC="$CC -static", it says -static isnt found. If I dont add that, it just says fixdep is missing
[2022-01-02T18:53:23Z] <dilyn> gotta do HOSTCC="$CC\ -static
[2022-01-02T18:53:25Z] <dilyn> "
[2022-01-02T18:53:42Z] <sad_plan> headers didnt mind that. but yeah, will do
[2022-01-02T18:54:23Z] <sad_plan> why the backslash?
[2022-01-02T18:54:48Z] <dilyn> i'm not entirely certain i didn't bother to investigate it
[2022-01-02T18:54:58Z] <sad_plan> hm, ok
[2022-01-02T18:55:08Z] <dilyn> it's probably some dumb thing. i can test a thing gimme a sec...
[2022-01-02T18:56:07Z] <dilyn> hm, nope that ain't it
[2022-01-02T18:56:11Z] <sad_plan> headers dont even build with the backslash. strange
[2022-01-02T18:56:13Z] <dilyn> so i'm not sure:P
[2022-01-02T18:56:14Z] <dilyn> odd
[2022-01-02T18:56:46Z] <sad_plan> hm. imma have to dig further into oasis for this perhaps. the answer is probably somewhere in there :p
[2022-01-02T18:58:04Z] <dilyn> oasis is the Bible haha
[2022-01-02T19:08:56Z] <sad_plan> lol, it is. I see myself peek oasis' repo for solutions and patches all the time.
[2022-01-02T19:11:10Z] <sad_plan> you tried oasis at a time didnt you? why didnt you stay? or.. what didnt make you switch? w/e the right question is :p
[2022-01-02T19:20:59Z] <dilyn> I tried it for a short while but never actually booted into it to play with it
[2022-01-02T19:21:08Z] <dilyn> just wanted to see how it worked. it was quite snappy! big fan
[2022-01-02T19:21:21Z] <dilyn> was just too busy working on other stuff + didn't have a spare machine to fiddle with it
[2022-01-02T19:21:31Z] <dilyn> could theoretically use qemu now tho
[2022-01-02T19:21:59Z] <acheam> Did you get a nice qemu build?
[2022-01-02T19:22:47Z] <sad_plan> cant you just dualboot it? 
[2022-01-02T19:22:55Z] <sad_plan> or do you have lack of space?
[2022-01-02T19:23:13Z] <acheam> can you dualboot with efistub?
[2022-01-02T19:23:22Z] <sad_plan> yep
[2022-01-02T19:23:25Z] <sad_plan> its what I do
[2022-01-02T19:23:32Z] <acheam> how does that work?
[2022-01-02T19:25:18Z] <sad_plan> its simple. make each distro a .efi boot record in your bios. and if you wanna boot one of the other ones, just hit F12 or w/es your default on your machine, and change the one you want
[2022-01-02T19:25:39Z] <sad_plan> atleast thats what I do. I have my kernels in /boot, as foo.efi and so on
[2022-01-02T19:25:55Z] <acheam> nice
[2022-01-02T19:26:03Z] <acheam> didn't realize that you could do that
[2022-01-02T19:26:39Z] <dilyn> yeah efistub just writes an entry to the efivarfs and those can appear as bootable entries in your EFI boot menu
[2022-01-02T19:26:57Z] <sad_plan> me neither, untill grub started acting up for me when trying testusers lto repo. I decided I didnt wanna deal with grub anymore, so I utlimately ditched everything. no grub, no efivars, nothing
[2022-01-02T19:27:03Z] <dilyn> But it's more a lack of desire to dual boot. I don't like dual booting
[2022-01-02T19:27:05Z] <sad_plan> or just rename your kernel into foo.efi
[2022-01-02T19:27:38Z] <dilyn> grub is trash lmfao. if you have a chroot going where efivarfs is mounted grub will just nuke it and then not write any relevant entries xD
[2022-01-02T19:27:54Z] <sad_plan> why not? its not any hassle imo. or atleast not when the distros have fairly similar setup. I did find dualbooting artix with kiss to be more of a hassle than not. especially when upgrading kernels :p
[2022-01-02T19:28:03Z] <sad_plan> I havent had that issue yet though :p
[2022-01-02T19:28:14Z] <acheam> I didnt like dual booting for a long time until I tried it again
[2022-01-02T19:28:33Z] <acheam> now I don't mind it (but would still prefer just using a chroot or something if thats possible)
[2022-01-02T19:28:49Z] <acheam> its certainly better than a virtual machine if you dont need to run things from both systems at the same time
[2022-01-02T19:28:55Z] <dilyn> I just don't like it when distros think they know better than meXD  I am contemplating installing Ubuntu alongside KISS but just creating a chroot that I boot into instead of straight up installing it, that way it doesn't try to install a kernel or initramfs or any of that garbage. then I can just use a single kernel
[2022-01-02T19:28:57Z] <sad_plan> I think dualbooting is fine once you figure out a method to do it 'properly' having just efi entries is by far the simplest and best method Ive found
[2022-01-02T19:29:06Z] <dilyn> I just don't like rebooting. too much hassle
[2022-01-02T19:29:44Z] <dilyn> I like using qemu or chroots because I usually only need to test a single thing or do a single thing in the other system; KISS is comfy for me and I don't want to leave it haha
[2022-01-02T19:30:13Z] <sad_plan> lol, I feel you. I also got annoyd when using an artixchroot, and it kept wanting to install all this unneeded software..
[2022-01-02T19:31:02Z] <sad_plan> lol, youre using a desktop then I guess? im on my laptop almost all the time, and take it to work, so cant really just let it sit on standby all the time :p
[2022-01-02T19:32:33Z] <sad_plan> i feel you. kiss is really comfortable, even with me messing with the static stuff, which gives me a headache at times :p
[2022-01-02T19:33:08Z] <dilyn> Yeah I'm mostly using my desktop full-time now; my laptop exists for when I really need a particular sort of system (or I wanna head to a coffee shop)
[2022-01-02T19:33:19Z] <dilyn> It's so powerful I can't justify NOT using it haha
[2022-01-02T19:33:47Z] <dilyn> I can spin up twelve VMs each with a core and a gig of RAM each and still have plenty of room for rebuilding my whole system lmfao
[2022-01-02T19:34:08Z] <sad_plan> makes sense. if your home anyway, theres really no reason to not use the desktop 
[2022-01-02T19:34:14Z] <dilyn> indeed
[2022-01-02T19:34:29Z] <dilyn> plus I just got a second monitor i gifted to myself as a christmas gift and it's I N C R E D I B L E
[2022-01-02T19:34:40Z] <sad_plan> I cant do that. I only have 4 cores and 8 threads :c
[2022-01-02T19:34:46Z] <dilyn> it was also supremely easy to setup; add a single line in my wayfire.ini and bam
[2022-01-02T19:34:46Z] <sad_plan> nice :D
[2022-01-02T19:34:49Z] <sad_plan> what size?
[2022-01-02T19:34:52Z] <dilyn> 27"
[2022-01-02T19:34:58Z] <dilyn> 2560x1440, 144hz
[2022-01-02T19:35:01Z] <dilyn> it's :drool:
[2022-01-02T19:35:38Z] <sad_plan> nice. I bought a 32" ultrawide one last year, it was really nice. nohing fancy appart from the size though.
[2022-01-02T19:35:42Z] <dilyn> I have finally become the me that 14 year old Dilyn wanted me to become haha
[2022-01-02T19:35:57Z] <dilyn> there's just something nice about big screens! feels good
[2022-01-02T19:36:03Z] <sad_plan> its abit of a shame, as I dont particularly use the desktop that much, or rather at all.
[2022-01-02T19:36:06Z] <sad_plan> indeed it does
[2022-01-02T19:36:41Z] <sad_plan> also got a 60% keyboard. really nice to type on, but again, I dont use it that much. my desktop is ~10 year old or so, with bios. I hate bios..
[2022-01-02T19:37:47Z] <dilyn> ew
[2022-01-02T19:37:50Z] <dilyn> kickin' it old school
[2022-01-02T19:38:36Z] <sad_plan> involentarly however, but yes. 
[2022-01-02T19:39:04Z] <sad_plan> havent really had the money to upgrade it. I kinda wanna build a small one this time. got a full tower, and its taking up too much space imo
[2022-01-02T19:40:53Z] <dilyn> mini ITX is my favorite form factor
[2022-01-02T19:40:56Z] <dilyn> right next to toaster PCs
[2022-01-02T19:41:22Z] <sad_plan> toaster pcs?:p you mean like NUCs? 
[2022-01-02T19:41:48Z] <dilyn> basically
[2022-01-02T19:41:51Z] <dilyn> NUCs before NUCs
[2022-01-02T19:41:58Z] <dilyn> when people would literally put PCs into toasters
[2022-01-02T19:42:44Z] <dilyn> it was considered a retro thing in like 2009 lmao people have been doing dumb shit with motherboards since the 80s
[2022-01-02T19:42:51Z] <sad_plan> so just mini pc's. we got some of those at work, for some remote, and server stuff. theyre no bigger than a dinnerplate in size :P
[2022-01-02T19:43:01Z] <dilyn> yeah they're so crazy!
[2022-01-02T19:43:19Z] <dilyn> now companies like Dell and HP are making towers designed to just be mounted to the back of a screen
[2022-01-02T19:43:22Z] <dilyn> the future is now
[2022-01-02T19:43:42Z] <sad_plan> damn, now I wanna get my hands on an old toaster, and gut it, so I can put hardware in it. 
[2022-01-02T19:44:02Z] <sad_plan> yeah, the NUCs use that as a selling point. builint support for VESA mounts. really nice actually
[2022-01-02T20:07:20Z] <dilyn> some of these exercism exercises are impossible to parse
[2022-01-02T20:34:44Z] <sad_plan> wut?
[2022-01-02T20:36:42Z] <dilyn> big ol split
[2022-01-02T20:36:50Z] <dilyn> or what I said? lol
[2022-01-02T20:38:13Z] <dilyn> i'm using exercism to learn go and one of the exercises is very difficult to make heads or tails of. plus you don't compile the code to test it, you run it under a test benchmark. so knowing what the return values the benchmark expects are nonobvious, especially in this case. turns it, it did want me to return the struct; but you can just do
[2022-01-02T20:38:13Z] <dilyn> `return mystruct`, and if you instead do (as per an example it mentions earlier) PRINT the entries using fmt, it gets mad
[2022-01-02T20:38:30Z] <dilyn> frustrating (: wasted 20 minutes on this exercise just trying to get the benchmark to say "yessir"
[2022-01-02T20:54:39Z] <sad_plan> aah. i see :')
[2022-01-02T21:14:11Z] <noocsharp> any reason in particular you're learning go?
[2022-01-02T21:18:04Z] <dilyn> because I like it more than rust and it's similar to C which I also want to learn :v
[2022-01-02T21:18:39Z] <dilyn> plus canonical does a lot of their current work in go so it would be nice to better understand the codebase of things like snapd
[2022-01-02T21:32:16Z] <acheam> next stop flutter
[2022-01-02T21:33:59Z] <dilyn> hng
[2022-01-02T22:36:27Z] <acheam> matrix is having fun
[2022-01-02T22:43:11Z] <acheam> https://github.com/seemoo-lab/opendrop
[2022-01-02T22:46:01Z] <dilyn> > developed opensource airdrop
[2022-01-02T22:46:07Z] <dilyn> > only for devices which already have airdrop
[2022-01-02T22:46:08Z] <dilyn> mfw
[2022-01-02T22:48:49Z] <acheam> > OpenDrop is only supported on macOS or on Linux systems running an open re-implementation of AWDL such as OWL
[2022-01-02T22:49:03Z] <acheam> so your wifi card needs to work with https://github.com/seemoo-lab/owl
[2022-01-02T22:49:18Z] <acheam> but should work on linux
[2022-01-02T22:56:04Z] <acheam> that was short