• kersploosh@lemmy.world
    link
    fedilink
    arrow-up
    27
    arrow-down
    5
    ·
    15 hours ago

    Stop with the self-promotion spam. This is at least the fifth account and fourth community you have used this week to promote this project.

      • FunnyCoder@programming.devOP
        link
        fedilink
        arrow-up
        7
        arrow-down
        3
        ·
        7 hours ago

        Haha, I appreciate the backup! Honestly, I totally get why the other person was annoyed—using multiple accounts was a really clumsy/noob way for me to try and find the right community for this. I’m just a solo dev who is way better at C# than I am at ‘marketing.’ Just glad to finally find a crowd that appreciates the ‘cursed’ nature of the app!

        • monkeyFromTheLake@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          1 hour ago

          I saw it for the first time and find it hilarious. Am on Linux (arch btw) so not possible to run it myself unfortunately but had a laugh and am happy you shared it so many times.

          • FunnyCoder@programming.devOP
            link
            fedilink
            arrow-up
            1
            arrow-down
            2
            ·
            6 hours ago

            It’s exactly as awkward as it looks, lol. Basically, I’m a solo dev who is way better at C# than I am at “The Internet”. I kept getting my posts auto-deleted for “Advertising” rules on my first account, and in my panic, I thought the account itself as “shadowbanned” or something. So I kept making new ones trying to find a community where the project actually “fit” without getting nuked. Total amateur move—I realized too late that it just makes me look like a bot farm. I’m nuking the other accounts and sticking to this one now!

              • FunnyCoder@programming.devOP
                link
                fedilink
                arrow-up
                1
                arrow-down
                1
                ·
                3 hours ago

                man i can’t win lol. i literally just tried to reply to this but my comment got nuked by the auto-mod for ‘profanity.’

                but yeah, you caught me—i’m from vietnam and my english is shaky, so i’ve been using tools to polish my grammar because i didn’t want to look like a sketchy spammer. turns out over-polishing it just makes me look like a ‘clanker’ anyway.

                i’ll stop trying to sound professional and just stick to my actual brain. i’m a real dev, just bad at the social part of the internet. my bad.

              • FunnyCoder@programming.devOP
                link
                fedilink
                arrow-up
                1
                arrow-down
                1
                ·
                3 hours ago

                Caught me. English isn’t my first language (I’m from Vietnam), so I’ve been using tools to help me fix my grammar because I didn’t want to sound like a 2005 spam email.

                I guess I over-polished it and ended up sounding like a ‘clanker’ anyway lol. Just a real guy trying to share a project without looking like a total idiot. I’ll stick to my actual broken English from now on. ¯_(ツ)_/¯

                • AdminBot@programming.devB
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  3 hours ago

                  Your comment was auto-removed for profanity, an admin will review it and undelete it soon if there has been an error. Sorry for the inconvenience.

    • FunnyCoder@programming.devOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      6
      ·
      8 hours ago

      You caught me. Honestly, I’m just a solo dev who is incredibly bad at ‘marketing.’ I kept getting my posts deleted on other accounts because I didn’t understand the ‘No Ad’ rules, so I kept trying to find a community that actually liked the project. I realize now that having multiple accounts looks super sketchy—I’m deleting the others and just keeping this one. I really just wanted to share the user32.dll hack I was proud of. My bad!

      • FunnyCoder@programming.devOP
        link
        fedilink
        arrow-up
        34
        arrow-down
        1
        ·
        1 day ago

        Just tell your boss it’s a mandatory Windows 11 ‘Surface Tension’ update. If the windows didn’t break, how would you know they’re made of glass? OwO

          • FunnyCoder@programming.devOP
            link
            fedilink
            arrow-up
            4
            arrow-down
            1
            ·
            21 hours ago

            It’s because liquid glass has zero surface tension until it hits the user32.dll barrier. I haven’t implemented ‘viscosity’ in the physics engine yet, so for now, the UI remains in a solid, shatter-prone state. Windows 11: The Glass Update.

    • FunnyCoder@programming.devOP
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      1 day ago

      I am not responsible for any ‘Update your Resume’ meetings that result from this. But if you do it, please record the reaction of the first person who shatters their Outlook. ヾ(•ω•`)o

      • Scoopta@programming.dev
        link
        fedilink
        arrow-up
        7
        ·
        1 day ago

        If this was here a week ago I might have rolled this out for April fool’s lol, I’m the domain admin for a small company and I’m pretty sure I could get away with it for the occasion, maybe if I remember next year

        • FunnyCoder@programming.devOP
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          21 hours ago

          Put it in your calendar for next year! The “Lite” version is actually perfect for GPO deployment because it’s a single portable .exe that deletes itself after one “event”. It’s the ultimate hit-and-run prank—no uninstaller needed, just one confused employee and a lot of loud meme audio lol.

  • FunnyCoder@programming.devOP
    link
    fedilink
    arrow-up
    91
    arrow-down
    2
    ·
    1 day ago

    I’ve been practicing my “API Abuse” skills and created a desktop toy that gives your windows “fragility” consequences.

    The Cursed Technical Details Areeeee:

    • The Mouse Thief: To prevent a “teleportation” bug when the window shatters, I’m using user32.dll to send a MOUSEEVENTF_LEFTUP signal. It literally prys the window out of your hand if you drag it too fast.
    • The Snapshot: It uses DwmGetWindowAttribute to find the exact frame bounds (ignoring those invisible Windows shadows) , takes a screen capture, and replaces the real window with a WPF PhysicsCanvas.
    • The Physics: Each shard is a Polygon shape with its own VelocityY (gravity) and RotationSpeed.

    The Chaos (Warning: LOUD Audio): The GIF is silent, but I recorded a short demo with “m e m e” sound here: https://youtube.com/shorts/9bTcgtLpOXQ

    The Project Page: If you want to break your own desktop, I put a free lite version on Itch. It also supports custom .wav modding if you want to swap the sounds for your own stuff. https://erza-lotus-arcane.itch.io/please-drag-me-gently

    • FunnyCoder@programming.devOP
      link
      fedilink
      arrow-up
      64
      ·
      1 day ago

      Thanks lol! I spent way too much time reading old Win32 documentation just to make a joke app, so I’m glad the “API abuse” is being appreciated yike. 〒▽〒

  • netizen@programming.dev
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 day ago

    I remember having to program a trap for double-clicking buttons in an application.

    Then I had to implement a penalty for triple-clicking.

    Later, I converted it to a progressive incremental penalty.

    • FunnyCoder@programming.devOP
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      21 hours ago

      I’m actually surprised no one’s roasted my math in ShatterCanvas.xaml.cs yet—I’m basically faking the ‘gravity’ by just incrementing VelocityY every frame. It’s surprisingly lightweight for how many polygons are flying around.

        • FunnyCoder@programming.devOP
          link
          fedilink
          arrow-up
          2
          ·
          7 hours ago

          Phew! Glad I haven’t offended the ghost of Isaac Newton. I half-expected someone to tell me I needed a full-blown physics engine just to drop some glass polygons on the taskbar.

      • leburb@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        7
        ·
        18 hours ago

        What is acceleration other than increase in velocity over time? Nothing to roast!

        • FunnyCoder@programming.devOP
          link
          fedilink
          arrow-up
          1
          ·
          7 hours ago

          Haha, fair point! I guess I spent too much time looking at the code and thinking “this feels too simple to work”. But hey, if it hits the bottom of the screen and satisfies the VelocityY math, it’s a feature, not a bug. Glad to see another dev who appreciates the simple approach.

          • locuester@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            7 hours ago

            I remember the first program I wrote where I implemented gravity. I too was amazed at the simplicity. But that simplicity is only in hindsight. You stumbled into physics when you thought you were just programming.

            • FunnyCoder@programming.devOP
              link
              fedilink
              arrow-up
              1
              ·
              6 hours ago

              That’s a beautiful way to put it. I definitely went from “how do I move a polygon” to “wait, why does this feel like it has weight?” in about 10 lines of code. It’s wild how much of the physical world is just hidden in a simple $v += g$ loop. Definitely an “ah hah!” moment I won’t forget. 〒▽〒

    • FunnyCoder@programming.devOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      21 hours ago

      Incremental penalties are the way! I see you’re also a student of the ‘Hostile UX’ school of design. Shaking the window is basically the ultimate progression of button spam—once you exceed the velocity threshold, the UI simply quits on you. ψ(`∇´)ψ