ohai.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A cozy, fast and secure Mastodon server where everyone is welcome. Run by the folks at ohai.is.

Administered by:

Server stats:

1.8K
active users

#pipe

5 posts5 participants0 posts today
Voilà un petit personnage dans une pipe ancienne réalisé pour une commande un peu particulière.
L'idée était de réaliser un personnage façon clin d’œil (ou hommage ?) plutôt que portrait réaliste, pour un être disparu à cause du tabac, dans une pipe lui ayant appartenu histoire de faire la paix avec cet objet source de malheur.
J'avoue que ça m'a un peu mis la pression comme projet, peur de ne pas être à la hauteur, mais j'ai beaucoup aimé y travailler (avec beaucoup d'hésitations, clairement pas ma commande la plus rapide à réaliser :-) ). Je suis un peu fière et un peu émue d'avoir pu réhabiliter cet objet, le rendre plus joyeux.
Merci pour cette si jolie commande.

#elisagranowska #mariniere #bretagne #pipe #longuevue #recyclage #pipeancienne #illustrationenvolume #3Dillustration #papiermache #pateamodeler #plastiroc #handmade #ooak

Incomplete (t)

With the continuing drought in California, we had to disconnect the hot water line in the house. Now, we chase the granddaughter around for a few minutes and then jump in the shower. You tend to cool off quickly with just cold water, so, the showers are shorter and we save water.

San Ardo, California 2003
#Incomplete #Hogwas_Book_One #pipe #San_Ardo #California #Monterey_County #Hogwash #Hog_Wash #photography
flic.kr/p/F6zncE

FlickrOops! | Flickr
Replied in thread

This, btw, was yet another reminder of the horrible can of worms #stdio's #buffering is.

I created a little tool running as a child process to do the *actual* #PAM authentication, so it will be possible to have this run as root while the real service drops all privileges. This little tool uses a simple line-based protocol for communication on stdin/stdout. It worked well when testing directly on the terminal.

On the first real test though, my service just went hanging. 🙄 I suspected a deadlock caused by pthread mutexes. Wasted quite some time looking into that. Then I finally realized communication over the pipes was stalled.

Ok, just set buffering mode to "line buffering" after fdopen'ing the #pipe. Turned out that didn't help either. I *assume* that even in the child process, the stdio streams automatically created on the pipes were somehow fully buffered. But at that point, I was really fed up with trial and error and rewrote the whole mess to do I/O using plain #POSIX APIs (read, write), sidestepping any buffering. Worked like a charm. 🙈