Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

i speak several languages passably well, but everyone keeps defaulting to english on this trip.

Uncategorized
1 1 0

Gli ultimi otto messaggi ricevuti dalla Federazione
  • the idea behind the patch was it starts with a pulse generator that generates a single frame pulse every few seconds, and that gets written into a tape loop such that the tape loop starts empty and eventually gradually turns into a wall of static. this is fed into another chain of more different tape loops which approximate resonators and echo. the patch is named "for as long as you can stand it"

    read more

  • What is it about doornails that makes them more dead than other nails

    read more

  • I made an absolute dogshit patch, but mastodon is refusing to upload it. The upload progress bar keeps resetting to zero. Very odd.

    read more

  • "Fungible" is a portmanteau of "fun" and "dirigible"

    read more

  • More progress on the sprite editor. Preview looks OK, now (it was stretched to fill the space before, because I'm still figuring out how to make things specific sizes and shapes and locations in QML). Save also works correctly.

    I also made a little guy with a big butt and big ears, I guess.

    read more

  • Ora legale definitiva?

    Può darsi che passerà, ma mi pare che ci sia molta disinformazione

    https://wp.me/p6hcSh-8Xe

    read more

  • Just learned Commodore Plus/4 fans call it the Plussy, and I was not ready for that information.

    read more

  • Writing Type-Safe Generics in C

    The fun part about a programming language like C is that although the language doesn’t directly support many features including object-oriented programming and generics, there’s nothing that’s keeping you from implementing said features in C. This extends to something like type-safe generics in C, as [Raph] demonstrates in a blog post.

    After running through the various ways that generics are also being implemented using methods including basic preprocessor macros and void pointers, the demonstrated method is introduced. While not necessarily a new one, the advantage with this method is that is type-safe. Much like C++ templates, these generics are evaluated at compile time, with the preprocessor handling both the type checking and filling in of the right template snippets.

    While somewhat verbose, it can be condensed into a single header file, doesn’t rely on the void type or pointers and can be deduplicated by the linker, preventing bloat. If generics is what you are looking for in your C project, this might be a conceivable solution.

    hackaday.com/2025/11/17/writin…

    read more
Post suggeriti