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:

270
active users

#c

13 posts11 participants2 posts today
https://alive.d34d.net/

I made a website.
It doesn't do anything, BUT ...

It is written in #C.
It uses mostly #OpenBSD core stuff like httpd and relayd.
I'm using httpd for auth, but I'm seeing that I can still
do nuanced stuff in the app because the username is available
to the downstream app via http/fastcgi vars.

A few packages are needed:


pkg_add fcgi
pkg_add ossp-uuid
# there was another maybe, one i forget

alive.d34d.netpage

lc is a line-based RPN calculator written in #C that takes input either from the command line or standard input. It supports floating point arithmetics and aims to be portable and standards compliant across POSIX(-like) systems.

It's in a *very* early stage of development, so there be dragons. And if you find it oddly similar to a very old project of mine (scalc), well it is on purpose: I wanted to get back into C with something I knew how to handle, but with many lessons learned from that old project.

github.com/ariadnavigo/lc

Line-based RPN calculator. Contribute to ariadnavigo/lc development by creating an account on GitHub.
GitHubGitHub - ariadnavigo/lc: Line-based RPN calculatorLine-based RPN calculator. Contribute to ariadnavigo/lc development by creating an account on GitHub.

What do OpenBSD people use for static analysis of C code?

Valgrind was available for a while but it seems to have been removed now

Apparently there is something called the "Clang Static Analyzer", but I'm not sure how to actually use it (it seems you have to compile your program with specific Clang flags?)

I know there are countless other bugs in my code, but its nice to see "no leaks detected" when I do some stupid shit with void pointers :)

#openbsd#c#gcc

#Vibecoding a #Perl interface to a #C library - Part 2
chrisarg.github.io/Killing-It-
Conclusions:
> #AI requires substantial subject matter expertise to deliver
> Constant vigilance for hallucinations, omissions and biases is required!
> They will not make a God out of a novice

Killing-It-with-PERL · Vibe coding a Perl interface to a foreign library - Part 2Of makefiles and alienfiles