Freewill Tiger
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
𝔼𝕩𝕦𝕤𝕚𝕒@lemmy.world to memes@lemmy.world · 2 years ago

True Spaghetti code

lemmy.world

external-link
message-square
38
link
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
1
external-link

True Spaghetti code

lemmy.world

𝔼𝕩𝕦𝕤𝕚𝕒@lemmy.world to memes@lemmy.world · 2 years ago
message-square
38
link
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
alert-triangle
You must log in or register to comment.
  • jubilationtcornpone@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    …on my machine.

    • sylver_dragon@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      Perfect, we’ll just spin up an image of your machine in EC2, give it a public IP, set the default network rules to “allow any any” and we’re good. And I have no idea why the security team just all quit.

      • partial_accumen@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        The git commit comment when pushing to prod is just: WCGW?

        … alternate ending: YOLO!

  • sumguyonline@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    It runs, just nothing happens and no error pops ANYWHERE!!!

  • Manucode@infosec.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    • wise_pancake@lemmy.cadeleted by creator
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      I have a great performance optimization for this

      What if instead of 1s sleep, we did 0.5s sleep? That’s a 100% improvement.

      • Amanduh@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        It’s not sleeping for 1 second, $1 is an input parameter in the script

        • wise_pancake@lemmy.cadeleted by creator
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          That sounds expensive

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 years ago

          I took it as meaning sleep for a number of seconds equal to half the value you’re sorting. So like f "(( $1 / 2 ))" & or however math works in bash, I always forget.

          • Amanduh@lemm.ee
            link
            fedilink
            arrow-up
            0
            ·
            2 years ago

            Bash is the worst

            • JackbyDev@programming.dev
              link
              fedilink
              English
              arrow-up
              0
              ·
              2 years ago

              Yes but also skill issue

              • Amanduh@lemm.ee
                link
                fedilink
                arrow-up
                0
                ·
                2 years ago

                I bet you also tell people you love regex because you think it makes you look smarter lol

                • jollyrogue@lemmy.ml
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  2 years ago

                  What if you do love regex? 🥺

    • devfuuu@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      For anyone who controls time travel this is the fastest algorithm ever. Probably gonna change everything when we are traveling through space and passing by some dark holes.

  • Omgboom@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Most of the time

    • rockSlayer@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      stay away from the edge cases and everything will be fine

  • Gigliorananomicom@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    I want to learn C# or Python for game dev, but it looks…daunting.

    Anyone got advice?

    • RandomVideos@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Code looks more terrifying than it actually is

      After learning the basics of a programming language, you could try using a game engine like Unity or Godot to not have to code a lot of more complicated things like displaying things and collisions

    • rovingnothing29@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      “Automate the boring stuff with python” to start. As an added bonus you’ll have more downtime as you go.

    • slazer2au@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      Start by using an existing engine like renpy to get flow and math. Then expand to other engines.

    • Human@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      I would start (if you havent already) with an introduction to CS. You can take CS50 for free online - https://cs50.harvard.edu/x/2025/.

      I dont think they cover much C# (I took the 2020 course and they didnt) but they do introduce you to C, C++, Python, html, etc. They provide github codespaces available for anyone for free, so you can complete the weekly labs and problem sets offered in the course. It really is a good jumping off point.

    • rmuk@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      Be sure to regularly defrag your C: drive or things might slow down.

    • kittenzrulz123@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Learn rust for game dev, develop the game in rust, and then brag about how your game is written 100% in rust (nerds will be extremely impressed, for maximum clout release it under GPL V3 with native Linux support).

      • Valorie12@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Then remake Rust in rust

        • kittenzrulz123@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          But first you need to make a custom Risc-V CPU optimized for rust (and minimal memory leaks) and then port a custom Arch fork (completely rewritten in rust ofc) so you can run OxideFetch

          • vrighter@discuss.tchncs.de
            link
            fedilink
            arrow-up
            0
            ·
            2 years ago

            gameplay doesn’t matter. If it’s written in rust it will automatically be fun.

    • peoplebeproblems@midwest.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      Find a different career choice!

      Software development is all stress all the time and I don’t know what the fuck I’m doing and I really don’t think this much stress at 34 is healthy even with the salary

      • Saleh@feddit.org
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        I think your description covers many career choices in a capitalist society.

        • peoplebeproblems@midwest.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 years ago

          This… Is a very good point.

    • partial_accumen@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      I know a bit of python and ruby, but doing something similar except I’m writing it in BASIC on a Commodore 64 and am going to attempt to refactor it assembly. I have most of the BASIC version working now.

  • affiliate@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    i am both people in this picture

  • FunCube@feddit.org
    link
    fedilink
    Deutsch
    arrow-up
    0
    ·
    2 years ago

    Minecraft, quintessentially

  • jatone@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    … In the wrong direction.

  • peto (he/him)@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    No wonder he was the captain of the Black Perl…

    • AnAustralianPhotographer@lemmy.worlddeleted by creator
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      And the dinghy got him all the way to dock. What more could anyone want.

memes@lemmy.world

memes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !memes@lemmy.world

Community rules

1. Be civil

No trolling, bigotry or other insulting / annoying behaviour

2. No politics

This is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent reposts

Check for reposts when posting a meme, you can only repost after 1 month

4. No bots

No bots without the express approval of the mods or the admins

5. No Spam/Ads/AI Slop

No advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

  • !tenforward@lemmy.world : Star Trek memes, chat and shitposts
  • !lemmyshitpost@lemmy.world : Lemmy Shitposts, anything and everything goes.
  • !linuxmemes@lemmy.world : Linux themed memes
  • !comicstrips@lemmy.world : for those who love comic stories.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 8 users / day
  • 81 users / week
  • 1.56K users / month
  • 6.64K users / 6 months
  • 0 local subscribers
  • 23.1K subscribers
  • 9.58K Posts
  • 189K Comments
  • Modlog
  • mods:
  • Tenthrow@lemmy.world
  • The Picard Maneuver@lemmy.world
  • The Picard Maneuver@startrek.website
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org