• 0 Posts
  • 106 Comments
Joined 3 months ago
cake
Cake day: August 31st, 2025

help-circle







  • Ackshually, the meme is encoded using progressively smaller images nested into the fourth panel of the comic. Each fourth panel is effectively a nested function call to the original comic procedure, which more closely represents recursion than an infinite loop.

    For an infinite loop, one might instead lay out the 3 unique panels horizontally, and just memcpy them into rows below, creating a table. That’s a regression in humor, but it’d fix the bug.

    So I agree with @ryannathans@aussie.zone’s review; The joke is about infinite loops, but the visual gag is about recursion.


  • That’s how I started. When I was 10 years old, I discovered game maker and accidentally gained a lifelong passion for programming.

    not the computer wizkid, but the average one

    I can assure you that 10 year old me was below average with computers. It’s a miracle I managed to figure out how to install gamemaker at all. The only thing that matters is interest, passion, and determination. If the child doesn’t have those things, they probably won’t succeed, and you probably can’t force them to, which is fine. It doesn’t mean they won’t become a software engineer in the future, just that they won’t do it at an early age. I know engineers who started learning programming in college, and are way smarter than me even though I had almost a decade head start.

    EDIT: btw, I don’t know if I’d recommend gamemaker today. When I started with it, it was simple and specifically aimed at learning. Today, it’s trying to be a full-blown commercial game engine and it has gotten pretty complex. Another option might be Godot, but I’d strongly recommend against it. Godot is way too complex for someone’s first game engine. Some people like Scratch, but IMO it’s pretty lame and feels more like a homework assignment.

    Some possible alternatives (haven’t used them myself):

    Or just search for “no code game engine” in your favorite search engine. There are probably tons of those today.









  • What kind of work do you do? Every time I read stuff like this, I find it hard to believe, but maybe the code/languages/frameworks I’m using just aren’t as easy for LLMs as what other people are using. The results I’ve had trying to get it to write C++ have been atrocious.

    I’m not against AI code assistance, and I like keeping an open mind. For the moment though, the only success I’ve had is with using it to explain some feature or API faster than manually looking up the documentation. But actually reading the docs, I’ve found, helps me remember things better.


  • your user folder linked to one drive (so you’ll always have a backup) is also a cash-grab

    That’s actually illegal bundling behavior, something they wouldn’t dare do if Biden was still president and Lina Khan was still head of the FTC.

    I think actually that the future of Windows won’t be so dire post Trump. There’s no way the pro-monopoly brain rot survives this admin, and people will soon start to realize that the billionaires, although easy targets, are just a symptom of lax regulation rather than the root cause of the enshitiffication apocalypse of the mid 2020s.


  • Forget the cloud. What if the ad is the operating system? Windows 12 will be using a distributed architecture, running on top of global ad networks. Every advertisement medium (TV, radio, web, video) will include an x86 interpreter that runs Windows services (ARM support will come later).

    The same tracking tech used to target you with that ad will be used to log you in to your Azure Copilot 365 OneDrive account, so you can access your files and applications seamlessly without having to remember a password or pin. When your smart toilet is showing you an ad for Draft Kings to earn your flush credit, you’ll be able to check your emails, connect with the fam, or ask Copilot for assistance.


  • I’m sitting around doing IT shit waiting things to download/backup/install/etc and have nothing better to do, so here’s an AI-free explanation with code samples:

    It’s basically just a code style thing. Standard C allows you to declare unnamed structs/unions within other structs/unions. They must be unnamed, so it’d look like this:

    struct test {
            int a;
            struct {
                    char b;
                    float c;
            };
            double d;
    };
    

    Which is fine, but the -fms-extensions flag enables you to do the same thing with named structs. For example:

    struct test {
            int a;
            struct test2 {
                    char b;
                    float c;
            };
            double d;
    };
    

    without -fms-extensions, the above will compile, but won’t do what you might assume. b and c will be members of struct test2, not test. So something like this won’t compile:

    struct test my_test;
    my_test.b = 1; // error: ‘struct test’ has no member named ‘b’
    

    But with the flag, not only does it work, it also lets you do some convenient things like this:

    struct test2 {
            char b;
            float c;
    };
    struct test {
            int a;
            struct test2;
            double d;
    };
    //...
    struct test my_test;
    my_test.b = 1; //OK
    

    That is, you can reuse an existing struct definition, which gives you a nice little tool to organize your code.

    Source: https://gcc.gnu.org/onlinedocs/gcc/Unnamed-Fields.html