Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
CodyIT ( CodiUnicorn@programming.dev )  to Programmer Humor@programming.devEnglish · 3 days ago

Magic

programming.dev

message-square
27
link
fedilink
600

Magic

programming.dev

CodyIT ( CodiUnicorn@programming.dev )  to Programmer Humor@programming.devEnglish · 3 days ago
message-square
27
link
fedilink
alert-triangle
You must log in or # to comment.
  • wyldrstallyns ( wyldrstallyns@lemmy.dbzer0.com ) 
    link
    fedilink
    English
    arrow-up
    1
    ·
    18 hours ago

    import curses

    It can hear me? No wonder my code doesn’t proc.

  • SomeRandomNoob ( SomeRandomNoob@discuss.tchncs.de ) 
    link
    fedilink
    arrow-up
    7
    ·
    2 days ago

    There is also magic smoke if some hardware dies hard enough. :)

  • huquad ( huquad@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    73
    ·
    3 days ago

    I still remember the first time I had to sacrifice a child to get more memory

    • setVeryLoud(true); ( isVeryLoud@lemmy.ca ) 
      link
      fedilink
      arrow-up
      7
      ·
      3 days ago

      Have you ever had to remove child from parent using fork? I have…

      • tetris11 ( tetris11@feddit.uk ) 
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 days ago

        bro, clone, detach, kill, then fork

  • copacetic ( copacetic@discuss.tchncs.de ) 
    link
    fedilink
    English
    arrow-up
    46
    ·
    3 days ago

    Programming is the closest thing to magic we have. Incant the right words and you can do nearly anything.

    It doesn’t stop being magic just because you know how it works. -Terry Pratchett

    • Malgas ( Malgas@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      22
      ·
      3 days ago

      ++????++ Out of Cheese Error. Redo From Start.

      -Terry Pratchett

    • heartSagan5 ( heartSagan5@lemmy.zip ) 
      link
      fedilink
      arrow-up
      8
      ·
      3 days ago

      “Anything sufficiently advanced technology can be mistaken as magic.” -Isaac Asimov (paraphrased, not precise quote)

      • Malgas ( Malgas@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        6
        ·
        3 days ago

        Isaac Asimov

        *Arthur C. Clarke.

      • mcv ( mcv@lemmy.zip ) 
        link
        fedilink
        arrow-up
        5
        ·
        3 days ago

        Of course that also means that any technology that’s distinguishable from magic is insufficiently advanced.

  • goatinspace ( goatinspace@feddit.org ) 
    link
    fedilink
    arrow-up
    35
    ·
    3 days ago

    • huquad ( huquad@lemmy.ml ) 
      link
      fedilink
      English
      arrow-up
      8
      ·
      3 days ago

      No thanks, I don’t support JK Rowling \s

      • onlinepersona ( onlinepersona@programming.dev ) 
        link
        fedilink
        arrow-up
        3
        ·
        3 days ago

        I don’t support CrApple (no /s)

  • kibiz0r ( kibiz0r@midwest.social ) 
    link
    fedilink
    English
    arrow-up
    18
    ·
    3 days ago

    “Definitely not occult magick. Just gotta use cat to trace lines for my headless daemon and track down this zombie orphaned child. Maybe there’s something in the journal about what it bound to before the memory pool told it to sleep. … Why are you looking at me like that?”

  • Sunshine ( Sunshine@piefed.ca ) 
    link
    fedilink
    English
    arrow-up
    14
    ·
    3 days ago

    Technology is indistinguishable from magic

  • SwooshBakery624 [they/them] ( SwooshBakery624@programming.dev ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    !witchymemes@lemmy.world

  • heartSagan5 ( heartSagan5@lemmy.zip ) 
    link
    fedilink
    arrow-up
    13
    ·
    3 days ago

    It’s just math. The programmers just like playing wizards.

    • underisk ( underisk@lemmy.ml ) 
      link
      fedilink
      arrow-up
      5
      ·
      3 days ago

      mathemagic, please.

  • Sonotsugipaa ( Sonotsugipaa@lemmy.dbzer0.com ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 days ago

    “Nonsense, there’s an entire field of science behind computers”
    "

    "

    • Miaou ( Miaou@jlai.lu ) 
      link
      fedilink
      arrow-up
      7
      ·
      3 days ago

      I could tell what it was before zooming in. Only surprised it’s not boost

  • cryowatt ( cryowatt@lemmy.zip ) 
    link
    fedilink
    arrow-up
    10
    ·
    3 days ago

    Rust has a transmute function.

  • thesdev ( thesdev@feddit.org ) 
    link
    fedilink
    arrow-up
    9
    ·
    3 days ago

    Curses is a Python standard library module (for those who like me have never had anything to do with Python).

    • Malgas ( Malgas@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 days ago

      Not just Python. It’s a terminal control library for Unix-like systems (originally BSD, but widely ported).

    • Venator ( Venator@lemmy.nz ) 
      link
      fedilink
      arrow-up
      3
      ·
      3 days ago

      What’s imagemagic?

    • optional ( brotundspiele@sh.itjust.works ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      Actually, curses is much older than Python. It’s a generic library to allow standardized output on non-standardized text terminals. If you see text based user interfaces on Posix systems, you can be 99% sure that it’s based on curses (or its successor ncurses).

      Developed for C in the late 1970s, it now has bindings for dozens of languages from Ada to Zig

      • esc ( esc@piefed.social ) 
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 days ago

        Do people still use original curses and not ncurses (which is a bit newer than python)?

  • dragnucs ( dragnucs@lemmy.ml ) 
    link
    fedilink
    arrow-up
    9
    ·
    3 days ago

    Kill and invoke a daemon.

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 925 users / day
  • 2.37K users / week
  • 3.67K users / month
  • 7.54K users / 6 months
  • 463 local subscribers
  • 33.6K subscribers
  • 1.55K Posts
  • 25.4K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code