💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-02-05.txt captured on 2024-06-16 at 13:37:43.
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
[2022-02-05T00:27:06Z] <noocsharp> instead of patching autotools just use a reasonable build system in the first place [2022-02-05T01:35:00Z] <midfavila> if I had the option to do so I would :^) [2022-02-05T02:32:12Z] <testuser[m]> Hi [2022-02-05T02:43:22Z] <GalaxyNova> So i've made an irc client [2022-02-05T02:43:28Z] <GalaxyNova> it's pretty cool [2022-02-05T02:43:53Z] <GalaxyNova> ncurses based and is currently ~500 LOC [2022-02-05T02:43:58Z] <GalaxyNova> although it's nowhere near finished [2022-02-05T02:44:05Z] <GalaxyNova> I'd like to keep it under 1000 LOC though [2022-02-05T02:44:30Z] <GalaxyNova> that's not to say that it's not functional [2022-02-05T02:44:39Z] <GalaxyNova> im actually using it to chat this right now [2022-02-05T04:17:28Z] <noocsharp> nice [2022-02-05T13:29:35Z] <testuser[m]> https://yewtu.be/watch?v=nUsDk8wjRPs [2022-02-05T15:24:04Z] <sahaquiel> hey guys [2022-02-05T15:25:04Z] <sahaquiel> how can i create a user group and user in the process of build of a package? [2022-02-05T15:26:54Z] <sahaquiel> i try to package synapse [2022-02-05T15:27:09Z] <sahaquiel> and use this alpine build as reference [2022-02-05T15:27:13Z] <sahaquiel> https://git.alpinelinux.org/aports/tree/community/synapse?h=master [2022-02-05T15:28:00Z] <sahaquiel> and it have a pre-install to addgroup and adduser [2022-02-05T15:28:03Z] <sahaquiel> https://git.alpinelinux.org/aports/tree/community/synapse/synapse.pre-install [2022-02-05T15:31:01Z] <testuser[m]> Bruh why packaging python stuff [2022-02-05T15:31:06Z] <testuser[m]> Synapse pulls in 40-50 deps total [2022-02-05T15:31:12Z] <testuser[m]> Just pip install it in virtualenv [2022-02-05T15:31:50Z] <testuser[m]> Earlier it used to be a problem since its dependency cryptography required rust but now they provide binary wheels for musl on pypi [2022-02-05T15:34:55Z] <sahaquiel> yeah for deps is a lot [2022-02-05T17:39:44Z] <testuser[m]> From the Github page, "I started this because I wanted to do C network programming" [2022-02-05T17:39:45Z] <testuser[m]> I think this is a poor choice (from a security perspective). It should be written in Go or rust. C programs (exposed to the network) are dangerous even when written by experienced developers. [2022-02-05T17:39:56Z] <testuser[m]> Really, in 2022, everything Internet facing should be written in a memory safe language, running as a normal user (no root) and have a strong MAC policy applied. Anything else is too risky. [2022-02-05T18:01:41Z] <bibliocar> blug, I guess I have to rewrite this code to be able to handle when mallocs fail [2022-02-05T18:11:27Z] <noocsharp> if you don't actually have a way to recover from an allocation failure, you could make a malloc wrapper which kills your program when malloc fails [2022-02-05T18:14:49Z] <bibliocar> hmmm [2022-02-05T18:18:30Z] <bibliocar> Okay. I could do that, but think recovering from an allocation failure may actually be easier in this case. [2022-02-05T18:19:54Z] <testuser[m]> https://termbin.com/q15a [2022-02-05T18:19:55Z] <testuser[m]> I use this [2022-02-05T18:20:00Z] <testuser[m]> But relies on non portable --include hack [2022-02-05T18:20:31Z] <testuser[m]> I stripped out irrelevant parts [2022-02-05T18:23:19Z] <bibliocar> oh, neat. Yeah, I did that manually in a couple spots. [2022-02-05T18:24:02Z] <bibliocar> really only use it twice, will just write it in. [2022-02-05T18:34:04Z] <bibliocar> well, i mean, kill the app. we'll see. [2022-02-05T18:34:25Z] <bibliocar> "app", god, they've got me. [2022-02-05T18:40:40Z] <testuser[m]> I hate that word [2022-02-05T18:41:10Z] <noocsharp> linux is a uefi app [2022-02-05T21:40:59Z] <sahaquiel> any news about dylan?