[2022-02-05T00:27:06Z] instead of patching autotools just use a reasonable build system in the first place [2022-02-05T01:35:00Z] if I had the option to do so I would :^) [2022-02-05T02:32:12Z] Hi [2022-02-05T02:43:22Z] So i've made an irc client [2022-02-05T02:43:28Z] it's pretty cool [2022-02-05T02:43:53Z] ncurses based and is currently ~500 LOC [2022-02-05T02:43:58Z] although it's nowhere near finished [2022-02-05T02:44:05Z] I'd like to keep it under 1000 LOC though [2022-02-05T02:44:30Z] that's not to say that it's not functional [2022-02-05T02:44:39Z] im actually using it to chat this right now [2022-02-05T04:17:28Z] nice [2022-02-05T13:29:35Z] https://yewtu.be/watch?v=nUsDk8wjRPs [2022-02-05T15:24:04Z] hey guys [2022-02-05T15:25:04Z] how can i create a user group and user in the process of build of a package? [2022-02-05T15:26:54Z] i try to package synapse [2022-02-05T15:27:09Z] and use this alpine build as reference [2022-02-05T15:27:13Z] https://git.alpinelinux.org/aports/tree/community/synapse?h=master [2022-02-05T15:28:00Z] and it have a pre-install to addgroup and adduser [2022-02-05T15:28:03Z] https://git.alpinelinux.org/aports/tree/community/synapse/synapse.pre-install [2022-02-05T15:31:01Z] Bruh why packaging python stuff [2022-02-05T15:31:06Z] Synapse pulls in 40-50 deps total [2022-02-05T15:31:12Z] Just pip install it in virtualenv [2022-02-05T15:31:50Z] 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] yeah for deps is a lot [2022-02-05T17:39:44Z] From the Github page, "I started this because I wanted to do C network programming" [2022-02-05T17:39:45Z] 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] 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] blug, I guess I have to rewrite this code to be able to handle when mallocs fail [2022-02-05T18:11:27Z] 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] hmmm [2022-02-05T18:18:30Z] Okay. I could do that, but think recovering from an allocation failure may actually be easier in this case. [2022-02-05T18:19:54Z] https://termbin.com/q15a [2022-02-05T18:19:55Z] I use this [2022-02-05T18:20:00Z] But relies on non portable --include hack [2022-02-05T18:20:31Z] I stripped out irrelevant parts [2022-02-05T18:23:19Z] oh, neat. Yeah, I did that manually in a couple spots. [2022-02-05T18:24:02Z] really only use it twice, will just write it in. [2022-02-05T18:34:04Z] well, i mean, kill the app. we'll see. [2022-02-05T18:34:25Z] "app", god, they've got me. [2022-02-05T18:40:40Z] I hate that word [2022-02-05T18:41:10Z] linux is a uefi app [2022-02-05T21:40:59Z] any news about dylan?