dice.camp is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon server for RPG folks to hang out and talk. Not owned by a billionaire.

Administered by:

Server stats:

1.5K
active users

#c

19 posts14 participants0 posts today
Cesare Nanni Costa<a href="https://pixelfed.uno/discover/tags/c?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#c</a>'eraunavolta<br> <a href="https://pixelfed.uno/discover/tags/onceuponatime?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#onceuponatime</a>
ACARS Drama<p>ACARS Message From: <a href="https://www.jetphotos.com/photo/keyword/C-GUWJ" rel="nofollow noopener" target="_blank">C-GUWJ</a> / WS0124 </p><p>Message: HELLO..LOOKS LIKE IM GOING TO MISS MY DH TO YLW. CAN I JUST DH TOWORRW AM XXX XXXXX 11247 </p><p><a href="https://www.flightradar24.com/C-GUWJ" rel="nofollow noopener" target="_blank">Track Aircraft</a> </p><p>Area: Seattle, WA, USA </p><p><a href="https://live.acarsdrama.com/tags/acars" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>acars</span></a> <a href="https://live.acarsdrama.com/tags/vdlm2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vdlm2</span></a> <a href="https://live.acarsdrama.com/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a>-GUWJ <a href="https://live.acarsdrama.com/tags/WS0124" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WS0124</span></a></p>
Ars Technica News<p>Remembering Descent, the once-popular, fully 3D 6DOF shooter <a href="https://arstechni.ca/ZS3M" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">arstechni.ca/ZS3M</span><span class="invisible"></span></a> <a href="https://c.im/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a>:\ArsGames <a href="https://c.im/tags/partnership" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>partnership</span></a> <a href="https://c.im/tags/eCommerce" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>eCommerce</span></a> <a href="https://c.im/tags/Shopping" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Shopping</span></a> <a href="https://c.im/tags/descent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>descent</span></a> <a href="https://c.im/tags/GOG" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GOG</span></a>-Ars <a href="https://c.im/tags/Gaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gaming</span></a> <a href="https://c.im/tags/gaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gaming</span></a> <a href="https://c.im/tags/gog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gog</span></a></p>
ACARS Drama<p>ACARS Message From: <a href="https://www.jetphotos.com/photo/keyword/C-FNND" rel="nofollow noopener" target="_blank">C-FNND</a> / AC0034 </p><p>Message: NO APU START AT GATE CHANGE OUT TIME TO 1600Z THANKS </p><p><a href="https://www.flightradar24.com/C-FNND" rel="nofollow noopener" target="_blank">Track Aircraft</a> </p><p>Area: Seattle, WA, USA </p><p><a href="https://live.acarsdrama.com/tags/acars" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>acars</span></a> <a href="https://live.acarsdrama.com/tags/vdlm2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vdlm2</span></a> <a href="https://live.acarsdrama.com/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a>-FNND <a href="https://live.acarsdrama.com/tags/AC0034" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AC0034</span></a></p>
heise Developer<p>Neu in .NET 9.0 [31]: Verbesserte Ausgabe bei Debug.Assert()</p><p>Beim Fehlschlagen der übergebenen Bedingung zeigt .NET 9.0 diese in der Ausgabe komplett an. </p><p><a href="https://www.heise.de/blog/Neu-in-NET-9-0-31-Verbesserte-Ausgabe-bei-Debug-Assert-10499888.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&amp;utm_source=mastodon" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">heise.de/blog/Neu-in-NET-9-0-3</span><span class="invisible">1-Verbesserte-Ausgabe-bei-Debug-Assert-10499888.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&amp;utm_source=mastodon</span></a></p><p><a href="https://social.heise.de/tags/NET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NET</span></a> <a href="https://social.heise.de/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a> <a href="https://social.heise.de/tags/Debugging" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debugging</span></a> <a href="https://social.heise.de/tags/IT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IT</span></a> <a href="https://social.heise.de/tags/Microsoft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Microsoft</span></a> <a href="https://social.heise.de/tags/news" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>news</span></a></p>
Jonathan BeckerVapour<br> <br> <a href="https://pixelfed.social/discover/tags/Leica?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#Leica</a> <a href="https://pixelfed.social/discover/tags/Leica?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#Leica</a> M6 <a href="https://pixelfed.social/discover/tags/M6?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#M6</a> <a href="https://pixelfed.social/discover/tags/Kodak?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#Kodak</a> <a href="https://pixelfed.social/discover/tags/Vision3?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#Vision3</a> <a href="https://pixelfed.social/discover/tags/Vision3?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#Vision3</a> 500T <a href="https://pixelfed.social/discover/tags/500T?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#500T</a> <a href="https://pixelfed.social/discover/tags/C?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#C</a>-41 <a href="https://pixelfed.social/discover/tags/analog?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#analog</a> <a href="https://pixelfed.social/discover/tags/shootfilm?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#shootfilm</a> <a href="https://pixelfed.social/discover/tags/film?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#film</a> <a href="https://pixelfed.social/discover/tags/photography?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#photography</a> <a href="https://pixelfed.social/discover/tags/BelieveInFilm?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#BelieveInFilm</a>
ACARS Drama<p>ACARS Message From: <a href="https://www.jetphotos.com/photo/keyword/C-GDMP" rel="nofollow noopener" target="_blank">C-GDMP</a> / WS0462 </p><p>Message: GOOD EVENING- WE USED THE LAST -387 BU LB FROM THE SPARES. </p><p><a href="https://www.flightradar24.com/C-GDMP" rel="nofollow noopener" target="_blank">Track Aircraft</a> </p><p>Area: Seattle, WA, USA </p><p><a href="https://live.acarsdrama.com/tags/acars" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>acars</span></a> <a href="https://live.acarsdrama.com/tags/vdlm2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vdlm2</span></a> <a href="https://live.acarsdrama.com/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a>-GDMP <a href="https://live.acarsdrama.com/tags/WS0462" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WS0462</span></a></p>
I feel like raylib is a good cross platform gui and game engine.

* Things I don't care about:
"native look and feel" I could not care less about this kind of thing.

* Things I DO care about:
Using opengl when most/all of my ideas are 2D. (I don't like it.)
But ... I also like ncurses for simple stuff. So this is the compromise.
GUIs get OpenGL and TUIs (ncurses) are for the retro/old/remote machines.

Otherwise, I can't find a decent C gui lib. GTK is too big and I don't like constant
version churn. (basically that is ALL the gui libs.)

Lot's of the simpler stuff I find is wrappers for something bigger like gtk.

If I wasn't so into #C and #OpenBSD right now, I would probably just be happy
to use tcl/tk for gui stuff.

#GUI #TUI #C
#raylib

Continued thread
I favor the less latter, but I am only seeing the former in OpenBSD code.
So I think I might default to using the former.

To be clear that means in a function definitions add
parans and the asterisk to a function pointer name: int (*fnptr)(int)

as opposed to: int fnptr(int)

They both work, and I am guessing the latter is like a newer
convieniance. (totally guessing)

The declarations have a similiar nuance:

void fn(int (*)(int));

vs.

void fn(int * int);

I think I have also only seen the former in OpenBSD code so far.
In my example I didn't type out the whole definition stanza, but I did
I did type out the whole declaration.

#C #OpenBSD


https://codeberg.org/pkw/learn/src/branch/main/fun_ptr.c


void
fun_ptr_test1(void (*f1) (char *), void (*f2) (char *))
{
f1("v1...");
f2("v2...");
}

int
fun_ptr_add_results(int f1(int), int f2(int))
{
return f1(10) + f2(20);
}

/* the style difference is in the declaration *.h file too */

I'm playing with function pointers as parameters
in C. Both function definitions seem valid. I like the top
one, but see things more like the bottom in OpenBSD code.
I was looking in tmux code. (random grepping)
I wouldn't mind seeing better examples of passing function
pointer as parameters.

It doesn't say anything about them in style. [0]

But the lead i buried is that I really like them. I thought they
were more convoluted. They do break the indent program. [1]


[0]: https://man.openbsd.org/style
[1]: https://man.openbsd.org/indent
Until now I have been running indent on all my C code all the time.

#C #OpenBSD
Summary card of repository pkw/learn
Codeberg.orglearn/fun_ptr.c at mainlearn - Examples in C to learn.

I like to think of Arch Linux in the same way the C programming language gives you the freedom to royally screw things up if you don't know what you're doing, and NixOS in the same way that the Rust programming language provides safety to prevent you from easily making stupid mistakes.

#Meme#Linux#ArchLinux