home.social

#wtfbbq — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #wtfbbq, aggregated by home.social.

  1. Tutorial now updated to work with the latest sdl3:

    solhsa.com/gp2/index.html

    also includes a bunch of fixes and cleanups. A lot of new stuff coming as soonish. (Should I add fedi comments to these pages?)

    (fyi @icculus)

    #sdl #sdl3 #tutorial #programming #graphics #pixel #lowlevel #softwarerendering #wtfbbq

  2. Easy math(y) quiz!

    ** Post your answers with content warning. **

    These are all plain C expressions, so no macros or operator overloading.

    Explain:

    (a + 1) < a
    true

    b == -b
    true

    (c + 1) == c
    true

    d == d
    false

    e == -e && e != 0
    true

    Some of these have several correct answers.

    #c #programming #quiz #trivia #code #wtfbbq #math

  3. Easy math(y) quiz!

    ** Post your answers with content warning. **

    These are all plain C expressions, so no macros or operator overloading.

    Explain:

    (a + 1) < a
    true

    b == -b
    true

    (c + 1) == c
    true

    d == d
    false

    e == -e && e != 0
    true

    Some of these have several correct answers.

    #c #programming #quiz #trivia #code #wtfbbq #math

  4. 3 Advent of Code posts to go and then I have posted all my aoc animations on cohost. My mornings will probably feel a bit emptier without this ritual.. I've been posting once a day for months. #AdventOfCode #wtfbbq

  5. And to those wondering what if we combine huffman and zx0; I ran the huffman output through zx0 and the results are better on the bottom end but slightly worse for general case in huffman. Still beats plain zx0 in all cases, though. Way too expensive to decode on a speccy, however.

    Doing the zx0 first might compress even better, but I'm too lazy to test that.

    #z80 #speccy #assembly #compression #wtfbbq

  6. On my quest of compressing floyd-steinberg dithered bitmaps; yes, huffman encoding beats zx0. But not so significantly that I'd be bothered to write a decoder in zx80 assembly.
    #z80 #speccy #assembly #compression #wtfbbq

  7. Likelihood of anyone recognizing this is fairly low, but here goes anyway =)

    #3dprinting #demoscene #wtfbbq

  8. Today I got a group text that wasn't spam .. #wtfbbq