💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2021-09-24.txt captured on 2024-06-16 at 13:40:03.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
[2021-09-24T00:04:52Z] <GalaxyNova> http://0x0.st/-Y8Z.mp4 [2021-09-24T00:05:01Z] <GalaxyNova> ^^ most annoying thing in the whole world [2021-09-24T00:07:31Z] <GalaxyNova> I have no idea why this happens [2021-09-24T00:14:20Z] <illiliti> even qemu can't handle ubuntu bloat [2021-09-24T00:15:44Z] <dilyn> XD you're alone in this matter my mang [2021-09-24T00:15:47Z] <dilyn> i don't have this problem... [2021-09-24T00:16:00Z] <dilyn> i built chromium in my ubuntu vm, worked just fine [2021-09-24T00:36:06Z] <ryoshu> does udev_device_new_from_devnum create or refcnt++ preexisting device? [2021-09-24T00:36:17Z] <ryoshu> scanning the preexisting ones [2021-09-24T00:36:53Z] <ryoshu> I wonder whether I can scan all the devices on library init (struct udev) and then refcnt++ for this call [2021-09-24T00:37:24Z] <ryoshu> I'm not sure about semantics [2021-09-24T00:37:49Z] <illiliti> udev_device_new_from_devnum allocates new udev_device [2021-09-24T00:38:25Z] <ryoshu> does the device must be present in the system (allocated, attached in the kernel)? [2021-09-24T00:38:36Z] <illiliti> yes [2021-09-24T00:39:02Z] <ryoshu> so I need to scan /dev for major+minor then check whether it is present in drvctl, right? [2021-09-24T00:39:34Z] <illiliti> you don't need to scan /dev for major+minor [2021-09-24T00:39:39Z] <illiliti> there's devname [2021-09-24T00:39:45Z] <illiliti> devname(3) [2021-09-24T00:39:55Z] <illiliti> https://man.netbsd.org/devname.3 [2021-09-24T00:40:01Z] <ryoshu> ah, good catch! [2021-09-24T00:41:55Z] <GalaxyNova> ryoshu: You're porting libudev-zero to netbsd? [2021-09-24T00:41:57Z] <GalaxyNova> cool! [2021-09-24T00:42:19Z] <ryoshu> actually I ended up writing my own [2021-09-24T00:42:38Z] <ryoshu> but libdev-zero is the best reference [2021-09-24T01:53:12Z] <ryoshu> illiliti: how about a sequence of udev_device_new_from_devnum + udev_device_get_parent [2021-09-24T01:53:28Z] <ryoshu> illiliti: should the parent if possible, be created? [2021-09-24T01:53:30Z] <ryoshu> allocated [2021-09-24T01:54:45Z] <ryoshu> udev_device_get_parent(udev_device_new_from_devnum(...)) [2021-09-24T01:55:15Z] <illiliti> it should be allocated on demand [2021-09-24T01:56:53Z] <illiliti> i.e explicitly when caller requested it [2021-09-24T02:07:09Z] <ryoshu> this is odd [2021-09-24T02:07:18Z] <ryoshu> api [2021-09-24T02:08:28Z] <illiliti> you can cache allocated parent device [2021-09-24T02:08:31Z] <illiliti> https://github.com/illiliti/libudev-zero/blob/master/udev_device.c#L54 [2021-09-24T02:09:22Z] <ryoshu> https://github.com/illiliti/libudev-zero/blob/master/udev_device.c#L145 shouldn't we refcnt here? [2021-09-24T02:10:53Z] <illiliti> caller should do that manually [2021-09-24T02:15:47Z] <ryoshu> OK. [2021-09-24T02:55:15Z] <illiliti> gotta go for now, see ya [2021-09-24T03:27:11Z] <testuser[m]> Hi [2021-09-24T03:32:20Z] <GalaxyNova> Hey testuser [2021-09-24T03:33:16Z] <testuser[m]> https://drewdevault.com/2021/09/23/Nitter-and-other-internet-reclamation-projects.html [2021-09-24T03:34:56Z] <GalaxyNova> huge respect to devault [2021-09-24T03:35:02Z] <GalaxyNova> he's an awesome guy [2021-09-24T03:35:53Z] <GalaxyNova> He's 100% right about medium, i hate that website [2021-09-24T03:36:23Z] <GalaxyNova> most of the things there are either shitty blogs or opinions presented as facts [2021-09-24T03:39:39Z] <testuser[m]> noocsharp You said that you got netsurf building right ? Could you send the build script [2021-09-24T03:41:53Z] <noocsharp> i used oasis's netsurf packaging [2021-09-24T03:42:41Z] <noocsharp> had to change some hardcoded paths and a few other things i think [2021-09-24T03:43:13Z] <testuser[m]> so you ran oasis's lua scripts on kiss ? [2021-09-24T03:47:01Z] <noocsharp> well yeah, the repo is self-contained [2021-09-24T03:47:40Z] <noocsharp> it doesn't install it to root, i installed it to $HOME/.oasis [2021-09-24T03:48:11Z] <noocsharp> oasis writes the rootfs to a git repo, so you can put it anywhere [2021-09-24T03:56:59Z] <testuser[m]> https://www.gamingonlinux.com/2021/09/epic-games-announce-full-easy-anti-cheat-for-linux-including-wine-a-proton [2021-09-24T03:59:04Z] <GalaxyNova> yeah i saw that [2021-09-24T03:59:38Z] <GalaxyNova> interesting but doesn't affect me since I woudn't dare play video games. They're bloat [2021-09-24T04:00:07Z] <GalaxyNova> :P [2021-09-24T04:36:21Z] <dilyn> tbf galaxynova, if you didn't believe your opinions were facts... why would you use those as the basis for actions? [2021-09-24T04:36:57Z] <dilyn> like, if you didn't think the things you believed were accurate and captured a truth about the world, you'd be acting... dishonestly. and that's morally wrong! [2021-09-24T04:43:48Z] <testuser[m]> What [2021-09-24T04:47:14Z] <dilyn> wdym what [2021-09-24T04:48:29Z] <noocsharp> i am a sinner [2021-09-24T05:22:46Z] <kyxor> testuser[m]: Hi, you do also get an issue like this: https://github.com/ehawkvu/kiss-xorg/issues/3 [2021-09-24T05:25:17Z] <kyxor> I Haven't been on kiss irc for a while, huh? Howdy guys? [2021-09-24T05:26:36Z] <kyxor> Ok, a be back to check in here in a few hours. Cya [2021-09-24T05:39:46Z] <testuser[m]> kyxor: there are patches to build with harfbuzz 3, will add them in a few days along with a bump to chromium 94 [2021-09-24T05:39:52Z] <testuser[m]> They are releasing every 2 weeks now i think [2021-09-24T05:43:57Z] <GalaxyNova[m]> acheam what web browser do you use [2021-09-24T06:27:32Z] <testuser[m]> https://habr.com/en/post/579714/ [2021-09-24T06:30:05Z] <GalaxyNova[m]> I accidentally deleted my kiss partition when trying to install openbsd [2021-09-24T06:30:15Z] <GalaxyNova[m]> So ig this is my life now [2021-09-24T06:30:32Z] <dilyn> f [2021-09-24T06:31:19Z] <testuser[m]> Bruh [2021-09-24T06:32:52Z] <GalaxyNova[m]> I mean I'm not really mad since I store all of my import stuff on a separate computer [2021-09-24T06:33:04Z] <GalaxyNova[m]> And I was planning to switch to open anyway [2021-09-24T06:33:23Z] <GalaxyNova[m]> But yeah, pretty bruh moment [2021-09-24T07:04:46Z] <GalaxyNova> l [2021-09-24T11:13:52Z] <ryoshu> illiliti: hi [2021-09-24T11:14:10Z] <ryoshu> my status: I'm working on udev_device addition per dev_t [2021-09-24T11:14:27Z] <ryoshu> then:enumeration and monitoring [2021-09-24T11:14:36Z] <ryoshu> I plan to expose the library as udev.h [2021-09-24T11:14:57Z] <ryoshu> and add a think header-only compat for linux libudev.h [2021-09-24T11:15:19Z] <ryoshu> a thin* [2021-09-24T11:15:26Z] <ryoshu> Ox [2021-09-24T11:15:35Z] <ryoshu> (wrong window) [2021-09-24T11:15:55Z] <ryoshu> So the end result is a NetBSD specific libudev [2021-09-24T11:16:33Z] <ryoshu> I hope we can do header-only magic for whole /sys [2021-09-24T11:40:26Z] <illiliti> nice [2021-09-24T15:23:47Z] <kyxor> testuser[m]: Got it! Thanks [2021-09-24T15:26:05Z] <illiliti> kyxor: https://github.com/kyx0r/nextvi/blob/master/build.sh#L23 [2021-09-24T15:26:07Z] <illiliti> it's not portable [2021-09-24T15:27:37Z] <illiliti> posix forbids parameter expansion of @ [2021-09-24T15:27:53Z] <illiliti> same for * [2021-09-24T15:28:14Z] <kyxor> Damn, phoebos wrote that one :) [2021-09-24T15:30:00Z] <testuser[m]> A walking talking shellcheck [2021-09-24T15:30:07Z] <kyxor> I think I had something like ""$@" [2021-09-24T15:31:29Z] <kyxor> Is "$@" build portable? I had that originally [2021-09-24T15:31:39Z] <kyxor> Or it's just the same thing [2021-09-24T15:32:20Z] <testuser[m]> Wouldn't that just append build to arguments (if any) [2021-09-24T15:32:36Z] <testuser[m]> Oh it won't matter [2021-09-24T15:32:48Z] <testuser[m]> Cuz none of the functions take any params so you can call them with anything [2021-09-24T15:36:07Z] <illiliti> https://termbin.com/egyg [2021-09-24T15:36:45Z] <illiliti> a little bit verbose but portable [2021-09-24T15:37:10Z] <illiliti> this replicates current behavior [2021-09-24T15:39:37Z] <kyxor> Thank you, I'll patch this in. [2021-09-24T17:15:06Z] <kyxor> https://github.com/kisslinux/repo/issues/336 [2021-09-24T17:16:14Z] <kyxor> Hm Dylan could of just say he likes it for aethetics purpose. But lets see if it ever gets used for anything else [2021-09-24T17:41:26Z] <omanom> i don't see an issue with it, and i don't think its a contradiction. "Simple" doesn't always mean "minimal", nor does it mean "non-redundant". on the off chance a package needs some steps prior to the build, there's already a spot ready and waiting for those steps to be listed... the package maintainer doesn't need to decide on a convention for [2021-09-24T17:41:26Z] <omanom> how to document it, where to put the steps, etc... it's already defined in a simple-to-understand and use way [2021-09-24T17:51:03Z] <kyxor> What prevents one to simply put those pre build steps into the build itself? I've been using kiss since the start and there was never a situation like that. All customizations were done in the build script if needed. [2021-09-24T17:52:26Z] <kyxor> So for example with wayland, to use it one may need to add it's user to the VIDEO,AUDIO group, etc. This can be done prior to install, but also we can just put that in the USAGE section, won't make a difference [2021-09-24T17:53:19Z] <akira01> yo guys [2021-09-24T17:53:30Z] <omanom> sure, that's one option. i personally would prefer it to be listed explicitly prior to the build script execution though. [2021-09-24T17:53:45Z] <akira01> kiss-flatpak still work in build [2021-09-24T17:53:53Z] <akira01> ? [2021-09-24T17:54:30Z] <omanom> akira01 did you try it and it failed? [2021-09-24T17:54:41Z] <akira01> yeah [2021-09-24T17:54:45Z] <kyxor> Funny enough though, the wayland package does not make use of that section to mention user permissions and all that setup. it just says kiss build wayland [2021-09-24T17:55:28Z] <akira01> the appstream-glib is missing json-glib [2021-09-24T17:57:07Z] <testuser[m]> Then package it [2021-09-24T17:57:22Z] <akira01> yeah i already did it [2021-09-24T17:57:24Z] <akira01> but [2021-09-24T17:57:46Z] <akira01> acheam told me other time [2021-09-24T17:58:21Z] <akira01> "json-glib was in the glib package" [2021-09-24T17:58:45Z] <akira01> so is just for make sure that is not just me [2021-09-24T18:05:05Z] <omanom> @kyxor i mean... ok? is that the absolute only scenario someone might want to use the [001] section for? [2021-09-24T18:08:18Z] <kyxor> omanom: Seems to be. Okay he actually mentions the setup in the sway package README [2021-09-24T18:09:00Z] <kyxor> It's just kinda odd that there be only a few use cases for it, but it is being used on absolutely every package [2021-09-24T18:09:31Z] <omanom> kind of the point of a template, is it not? [2021-09-24T18:10:25Z] <kyxor> Like if you have a small terminal which can display only 50 rows, on some limited crt screen. The install section will be wasting the screen space [2021-09-24T18:10:49Z] <omanom> lol that's reaching a bit now isn't it [2021-09-24T18:11:23Z] <kyxor> Yeah it's just a template pretty much. Though it's not usable [2021-09-24T18:11:40Z] <kyxor> Because you have to substitute the package name into it [2021-09-24T18:12:18Z] <kyxor> So if it was template, it would just say kiss build <pkg> but instead it gets customized every time by hand [2021-09-24T18:12:53Z] <kyxor> Unless he generates those with script of some kind [2021-09-24T18:14:17Z] <omanom> my use of "template" was just to refer to each package's docs having that section, not as a reference to a specific parameterized file [2021-09-24T20:29:25Z] <GalaxyNova> How's everyone doing [2021-09-24T20:45:10Z] <f1> good [2021-09-24T20:45:19Z] <f1> GalaxyNova: and you? [2021-09-24T20:45:33Z] <GalaxyNova> very good! [2021-09-24T20:45:38Z] <GalaxyNova> playing around with OBSD [2021-09-24T20:46:11Z] <f1> I tried obsd today too, but I still like linux more :) [2021-09-24T20:47:39Z] <GalaxyNova> yeah, I guess linux has more freedom of choice in terms of the base set of software [2021-09-24T20:48:08Z] <GalaxyNova> but the only sane distro that makes use of the freedom of choice is kiss linux and since school started I've had less and less time to muck around with packages [2021-09-24T20:48:31Z] <GalaxyNova> suprisingly openbsd is more "just werks" than linux [2021-09-24T20:48:58Z] <GalaxyNova> also it's basically impervious to any kinds of viruses [2021-09-24T21:26:02Z] <acheam> GalaxyNova: firefox esr [2021-09-24T21:26:16Z] <acheam> iridium is good too [2021-09-24T21:26:25Z] <acheam> its basically ungoogled chromium, but by an openbsd dev [2021-09-24T21:27:02Z] <acheam> noocsharp: how is npm doing? [2021-09-24T21:27:09Z] <acheam> I'm looking for a new password manager (again) [2021-09-24T21:28:29Z] <noocsharp> it seems to work, but more extensive testing is probably required [2021-09-24T21:28:35Z] <noocsharp> i still haven't switched over to it [2021-09-24T21:28:39Z] <GalaxyNova> I've been using firefox esr too [2021-09-24T21:28:47Z] <GalaxyNova> firefox seems broken for me [2021-09-24T21:29:02Z] <GalaxyNova> might try seeing if it's fixed in -current [2021-09-24T21:29:20Z] <acheam> packages dont get updated too much [2021-09-24T21:29:24Z] <acheam> you should use -esr [2021-09-24T21:29:35Z] <acheam> browsers do, but its not worth it IMO [2021-09-24T21:29:42Z] <GalaxyNova> yeah [2021-09-24T21:29:45Z] <acheam> and -current is a whole nother rabbit whole [2021-09-24T21:30:06Z] <GalaxyNova> I've realised software updates often just bring in more bloat ;-; [2021-09-24T21:30:44Z] <GalaxyNova> OpenBSD is really nice [2021-09-24T21:30:54Z] <GalaxyNova> Haven't had any problems with it except suspend / resume [2021-09-24T21:31:08Z] <GalaxyNova> which seems to be something that OpenBSD has a particular challenge with [2021-09-24T21:31:59Z] <acheam> yeah [2021-09-24T23:44:01Z] <GalaxyNova> Has anyone here looked into kati? [2021-09-24T23:44:04Z] <GalaxyNova> https://github.com/google/kati [2021-09-24T23:44:08Z] <GalaxyNova> seems really interesting [2021-09-24T23:44:35Z] <GalaxyNova> feels like it could be perfect for KISS