mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

15K
active users

#daemons

0 posts0 participants0 posts today
Coding in #C ... sometimes I really enjoy just using what I created a long time ago 😁.

This is the whole change to #Xmoji allowing it to fork into background on startup:
https://github.com/Zirias/xmoji/commit/0ab2d8ed424ebc35aa99e5c2bd15b097a5e74b42

It's the first step to implementing an (optional) single-instance mode, that will only allow one running instance per user and machine. Implementing that will require a local #Unix domain #socket, which is also covered by the same library, #poser 😉.

I designed this library for (simple and small) #networking #daemons, but found it's quite useful for #X11 applications as well. If you want to know more, here are the docs:
https://zirias.github.io/poser/
By default, fork into background and exit from the main process after
startup is complete. For this to work, calling X11Adapter_init() must be
moved in the prestartup event handler which runs from ...
GitHubX11App: Detach from terminal by default · Zirias/xmoji@0ab2d8eBy default, fork into background and exit from the main process after startup is complete. For this to work, calling X11Adapter_init() must be moved in the prestartup event handler which runs from ...

@nuintari @pid_eins @OS1337 Again: I disagree as both #SMF and #LaunchD do more than just #init amd like #systemd are a whole collection of utilities and not a single massive binary.

In fact, #journalctl is an evidently better way to debug issues and fix problems with #services / #daemons than having to parse #Syslog through dozens of filters or spechalized tools.

Similarly, if #gstreamer & #ALSA / #OSS / #PulseAudio weren't shitshows, we'd not see the need for #PipeWire!