sueden.social ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Eine Community für alle, die sich dem Süden hingezogen fühlen. Wir können alles außer Hochdeutsch.

Serverstatistik:

1,9 Tsd.
aktive Profile

#semaphore

1 Beitrag1 Beteiligte*r0 Beiträge heute

Ein paar Merge Requests für die Doku von ansible semaphore erstellt. Ich mag Semaphore, aber die Doku ist ausbaufähig 🙈
Mit all den offenen Doku Merge Requests, die der anderen und meiner, dürfte die Doku deutlich besser werden. Auch wenn es nicht meine Doku ist, freue ich mich, sollten alle MRs demnächst gemerged werden :)

I finally eliminated the need for a dedicated #thread controlling the pam helper #process in #swad. 🥳

The building block that was still missing from #poser was a way to await some async I/O task performed on the main thread from a worker thread. So I added a class to allow exactly that. The naive implementation just signals the main thread to carry out the requested task and then waits on a #semaphore for completion, which of course blocks the worker thread.

Turns out we can actually do better, reaching similar functionality like e.g. #async / #await in C#: Release the worker thread to do other jobs while waiting. The key to this is user context switching support like offered by #POSIX-1.2001 #getcontext and friends. Unfortunately it was deprecated in POSIX-1.2008 without an obvious replacement (the docs basically say "use threads", which doesn't work for my scenario), but still lots of systems provide it, e.g. #FreeBSD, #NetBSD, #Linux (with #glibc) ...

The posercore lib now offers both implementations, prefering to use user context switching if available. It comes at a price: Every thread job now needs its private stack space (I allocated 64kiB there for now), and of course the switching takes some time as well, but that's very likely better than leaving a task idle waiting. And there's a restriction, resuming must still happen on the same thread that called the "await", so if this thread is currently busy, we have to wait a little bit longer. I still think it's a very nice solution. 😎

In any case, the code for the PAM credential checker module looks much cleaner now (the await "magic" happens on line 174):
github.com/Zirias/swad/blob/57

GitHubswad/src/bin/swad/cred/pamchecker.c at 57eefe93cdad0df55ebede4bd877d22e7be1a7f8 · Zirias/swadSimple Web Authentication Daemon. Contribute to Zirias/swad development by creating an account on GitHub.
Fortgeführter Thread

Nice, #threadpool overhaul done. Removed two locks (#mutex) and two condition variables, replaced by a single lock and a single #semaphore. 😎 Simplifies the overall structure a lot, and it's probably safe to assume slightly better performance in contended situations as well. And so far, #valgrind's helgrind tool doesn't find anything to complain about. 🙃

Looking at the screenshot, I should probably make #swad default to *two* threads per CPU and expose the setting in the configuration file. When some thread jobs are expected to block, having more threads than CPUs is probably better.

github.com/Zirias/poser/commit

Absolutely loving my Social Media life these days.
As I say to many, your mileage may differ. I think it all comes down to who you chose to engage with, and the topics you reply to.
We all have the choice to be on certain services and not on others. We should all abide and respect the choices others make in this regard.

My main Social Media area these days is the Fediverse, particularly through a GoToSocial ActivityPub instance named Polymaths.social. Wonderful software, instance, admin, and neighbours!
Since 2009 I was on a Mastodon instance named LinuxRocks.online. It started off really well with good chats on the local timeline. However, over the past year certain people and their followers came in, the local chats got strained, and quite painful at times, and I knew I needed to move on. I was friendly with the owner, and moderators, but the time had come.

To access Polymaths.social I use Phanpy on a browser, and Tusky on my Android Phone.
For browser access I did use Semaphore for a while. Very clean and effective, but Phanpy is like KDE vs Mate. To me this is a good thing. I do use Semaphore at times to check on Follow Requests and to currently "Delete and Redraft" as needed.

Telegram is a large part of my life. I use it to talk with many friends, including Arianna and my Sister Catriona, podcrawl and Linux groups, as well as my own Christian group.

I'm still on Facebook, and yes I question that daily.
For now I am there.
As I said at the start, this is my choice, and I am there for really good friends, family, and groups.

A few weeks ago I activated my Instagram account, which had been set up for no follows and privates, just so I could view content as needed.
I was getting so many requests from good friends if I was on there, and ok... "caved in", but my involvement is relatively minimal. Mostly posting my own photos and commenting on those of friends.

Well, that's my online life, and it is good.
Feel free to reply back with questions, and DM as needed.

#SocialMedia #Fediverse #GoToSocial #Mastodon #ActivityPub #Phanpy #Tusky #Semaphore #Telegram #Facebook #Instagram

Antwortete im Thread

@sebsauvage #Semaphore (interface web, pas d'appli) fait un peu ça, de la récupération partielle avec un "trou" dans la timeline entre , par exemple, les derniers pouets de la veille et le "premier paquet" du matin.
Mais il n'y a pas l'affichage de la durée du trou, il faut regarder les dates de publication des messages...

Antwortete im Thread

After getting the #Mastodon account migrated, I went through all my UIs and switched over finally, including 3 webapps & 3 native #iOS apps. That was mostly smooth. The only failure is #Elk (elk.zone), which I think only exposes settings through the user profile page, which I can't reach because it's logged in with a disabled account. But these were all fine:

- #Semaphore (semaphore.social)
- #Phanpy (phanpy.social)
- #Mammoth
- #Metatext
- #Trunks
- Mastodon for iOS

Except for that last one, the official native mobile app, and Elk, all support multiple accounts. You can switch between instances in the settings. So I just added the new instance and then logged out of the old one. In the case of Mastodon for iOS, you just log out and then in with a new account. Lots of quality time with Google Auth too. Lol

ElkElkA nimble Mastodon web client

I just set layout.css.backdrop-filter.enabled to false in about:config on #Firefox and suddenly, #Pinafore / #Semaphore profiles are snappy and fast instead of highly laggy and causing the CPU to heat up quickly and the fan to spin up.

Apparently, the implementation of filter effects in Firefox is extremely bad and unperformant (and needs constant redoing on scrolling and whatever).

Primer episodio de Accesibilidad con Tecnologías libres tras el cambio de instancia (relevante para el Podcasting 2.0)

Producido por @raivenra , tenemos las siguientes secciones:

· Odisea en el ciberespacio, con David Marzal @DavidMarzalC .
· Accesibilidad web, con Pablo Arias.
· Otros mundos, otras realidades, con Thais Pousada.
· Clases con Pascal, con David Pacios
· Érase una vez, con Enrique Varela @evarela .
· Diseño para todos, con Jonathan Chacón @jonathanchacon .

Enlaces, reproductor y más info en:
accesibilidadtl.gitlab.io/11

- Feed: accesibilidadtl.gitlab.io/feed

CC: @eva_m

#AccesibililidadTL #AccesibilidadConTecnolgiasLibres #a11y #ATL

#Phanpy #Semaphore #ElkZone #Mona #Pachli #Tusky #Tweescake #TWBlue
#BuscaApps #URA #Mapcesible #Joomla #TalentosInclusivos

accesibilidadtl.gitlab.iohttps://accesibilidadtl.gitlab.io/posts/atl/011-atl/