shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

278
active users

#c

7 posts7 participants0 posts today

Today's devlog: Super Note can shoot enemies and dead enemies bounce against the others and back at him and he dies and everything is bouncing around and that's great.
Everyone has one HP because that's sufficient (how to scale difficulty or make more powerful enemies is left as an exercise to the reader).
Abusive use of high_impact's simple yet complete physics system. Code is not turning into spaghetti that fast, this time, I hope.
#GameDev #PixelArt #C #Aseprite #IndieDev #GameDesign

I’ve just switched an old iMac to run Linux Mint (Cinnamon) and it’s great. Starting to want to dig a little deeper into it I guess it comes with a C compiler.

Does it also have a Python interpreter? Anything else? (During a recent update the word Perl kept flashing across the screen)

#linux#C#Python

#Help needed with #C #Programming on #mac OS. I tried to put up a small c script, generating a basic #audio #player reading from a #fifo stream. The native #play process of #sox is to slow to react imediately, therefore the workaround. Problem: The audio is distorted and the signals break after the first iteration. Any ideas? github.com/do9re/morse_trainer - #ReToot appreciated.

Contribute to DO9RE/morse_trainer development by creating an account on GitHub.
GitHubGitHub - DO9RE/morse_trainerContribute to DO9RE/morse_trainer development by creating an account on GitHub.

I was looking for an alternative to classic shell scripts, so I timed a Hello World program in different languages for fun. I thought you might want to know:

1 ms - #Bash
1 ms - #Perl
12 ms - #Python
33 ms - #Go (shebang calling `go run`)
38 ms - #C (shebang compiling to temporary file)
61 ms - #Rust (shebang compiling to temporary file)

Needless to say that this is a highly unfair and silly comparison. It's still interesting, though.

I'm trying to add "genric" #signal handling to #poser. Ultimate goal is to provide a way for #swad to handle #SIGHUP, although signal handling must be done in poser's main event loop (signals are only ever unblocked while waiting for file descriptor events).

Okay, I could just add explicit handling for SIGHUP. But a generic solution would be nicer. Just for example, a consumer might be interested in #SIGINFO which doesn't even exist on all platforms ... 🤔

Now, #POSIX specs basically just say signal constants are "integer values". Not too helpful here. Is it safe to assume an upper bound for signal numbers on "real world" OS implementations, e.g. 64 like on #Linux? Should I check #NSIG and, if not defined, just define it to 64? 🙈

Greetings Programs!!! Tonight marks the 8th Anniversary of me becoming a #Twitch affiliate! It's hard to believe that I have been doing @pidgin development on Twitch for 8 years already...

But enough about that, @pidgin 3 isn't going to write itself so we're continuing that tonight! Come on by!!

twitch.tv/rw_grim
youtube.com/@rw_grim

Twitchrw_grim - TwitchMaking Pidgin The Universal Chat Client on Twitch! | C/GTK