LQX Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
muhyb@programming.dev to Programmer Humor@programming.dev · 3 days ago

The PHP part never gets old

toggl.com

message-square
77
link
fedilink
962

The PHP part never gets old

toggl.com

muhyb@programming.dev to Programmer Humor@programming.dev · 3 days ago
message-square
77
link
fedilink
  • Diplomjodler@lemmy.world
    link
    fedilink
    arrow-up
    55
    arrow-down
    2
    ·
    3 days ago

    Python:

    from horses import Horse 
    
    my_horse = Horse(color="brown")
    

    There. Done.

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      48
      ·
      3 days ago

      horses was last released in 2024, and can only run on python up to 3.12.

      horses depends on iron-making, that is up to date. That means the current version of iron-making depends on python >= 3.14, and that all the versions prior to 2025 were taken offline due to a CVE where if you run the library as root in a web backend that uses the make_nail function, people can open your barn doors without authorization when inside it.

      • anewfox@lemmy.zip
        link
        fedilink
        arrow-up
        17
        ·
        3 days ago

        and also the most recent horses release on pypi includes a crypto miner and credential stealer.

      • nibbler@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        I’m really having trouble recognizing if @marcos@lemmy.world started talking bullhoreseshit, or if the post by @Diplomjodler@lemmy.world is the first to be just trolling…

      • The Bard in Green@lemmy.starlightkel.xyz
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 days ago

        I cannot up vote this enough.

      • yxc999@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        thanks, I hate it

    • surewhynotlem@lemmy.world
      link
      fedilink
      arrow-up
      46
      ·
      3 days ago

      You built a horse in Python. There’s too much space between you and the horse so it dies.

      • Diplomjodler@lemmy.world
        link
        fedilink
        arrow-up
        12
        ·
        3 days ago

        I’ll just instantiate a new one.

      • StabbingSky@lemmy.zip
        link
        fedilink
        arrow-up
        6
        ·
        3 days ago

        Or you accidentally used spaces instead of a tab on one line

        • surewhynotlem@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          3 days ago

          Your horse is now an upside-down zebra

    • Kangae_Hishiryo@scribe.disroot.org
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      In Nim:

      import horses
      
      let my_horse = Horse(color: "brown")   
      

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.

  • 2.2K users / day
  • 5.47K users / week
  • 8.69K users / month
  • 16.4K users / 6 months
  • 1 local subscriber
  • 33.8K subscribers
  • 2.19K Posts
  • 67.9K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.20
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org