LibreTechni.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
muhyb@programming.dev to Programmer Humor@programming.dev · 16 小时前

The PHP part never gets old

toggl.com

message-square
50
fedilink
37

The PHP part never gets old

toggl.com

muhyb@programming.dev to Programmer Humor@programming.dev · 16 小时前
message-square
50
fedilink
alert-triangle
You must log in or register to comment.
  • dasrael@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    2 小时前

    This is no time for joking around…I just wanna know if I can turn my webserver back on yet?! Hello?!? Anyone?!

    • NotAnOtter@lemmus.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 小时前

      If you keep it off, it’s significantly harder to get hacked.

      Until your hosting service gets pwned…

  • Tja@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    2 小时前

    Ctrl-F “rust” - > 0 matches

    I sense a pertubance in the force

    • Afaithfulnihilist@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      5
      ·
      2 小时前

      Well duh, Ctrl f doesn’t work on pictures!

  • Diplomjodler@lemmy.world
    link
    fedilink
    arrow-up
    36
    ·
    8 小时前

    Python:

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

    There. Done.

    • surewhynotlem@lemmy.world
      link
      fedilink
      arrow-up
      35
      ·
      7 小时前

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

      • StabbingSky@lemmy.zip
        link
        fedilink
        arrow-up
        3
        ·
        2 小时前

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

        • surewhynotlem@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 小时前

          Your horse is now an upside-down zebra

      • Diplomjodler@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        6 小时前

        I’ll just instantiate a new one.

  • tetris11@feddit.uk
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    5 小时前

    The Fixed Point Expression / Y Combinator expressed in horses:

        Y = (λ f. (λ x. f(xx))(λ x. f(xx)))
        ;; so then, give Y a horse argument with apple parameters:
        Y🐎️ = (λ f. (λ 🍎.  f(🍎🍎)) (λ 🍎. f(🍎🍎))) 🐎️   ;; [1]
            =       (λ 🍎. 🐎️(🍎🍎)) (λ 🍎. 🐎️(🍎🍎))      ;; [2]
            = 🐎️(   (λ 🍎. 🐎️(🍎🍎)) (λ 🍎. 🐎️(🍎🍎))   )  ;; [3]
            = 🐎️(Y🐎️)                                       ;; [4]
    
    Explanation
    • 1: x is 🍎, but could be anything. It’s just a function parameter nested within another.
    • 2: λf gets executed and vanishes from the left, substituting f internally with 🐎️. This is now a new function, with left group as the function body, and right group as the function argument, despite being identical.
    • 3: λ🍎 gets executed and vanishes from the left, substituting 🍎 with (λ 🍎. 🐎️(🍎🍎))
    • 4: Everything within the main brackets at [3] has been seen before at [1], but with f being 🐎. Thus we have bred a new horse. We can breed infinite horses this way
  • GardenGeek@europe.pub
    link
    fedilink
    arrow-up
    13
    ·
    7 小时前

    • MehBlah@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      4 小时前

      Looks big enough to me.

    • Axolotl.cpp@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      15
      ·
      7 小时前

      This might be a client issue, eg: when images are too big, Thunder pixelate 'em

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        4 小时前

        Good to know. 🙏

      • GardenGeek@europe.pub
        link
        fedilink
        arrow-up
        5
        ·
        6 小时前

        It is indeed, thank you!

    • muhyb@programming.devOP
      link
      fedilink
      arrow-up
      6
      ·
      7 小时前

      Well, this is the original as it gets, direct from the source.

      • GardenGeek@europe.pub
        link
        fedilink
        arrow-up
        6
        ·
        7 小时前

        All right. Sorry if that came across the wrong way: I wasn’t actually trying to complain, I just used the meme because I noticed the low resolution. I don’t know if I’m getting too old for this crap, but back in the day, that meme used to pop up all the time as a response to low-resolution images. ^^

        • bitjunkie@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          5 小时前

        • Bazoogle@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          6 小时前

          The resolution is great on my end. That might be where the confusion was

        • muhyb@programming.devOP
          link
          fedilink
          arrow-up
          5
          ·
          7 小时前

          Nah, that’s ok. Though you have to click on the image for full resolution. On Lemmy it shows small for some reason.

          • GardenGeek@europe.pub
            link
            fedilink
            arrow-up
            4
            ·
            6 小时前

            Oh, didn’t realize that, thank you!

            • muhyb@programming.devOP
              link
              fedilink
              arrow-up
              3
              ·
              6 小时前

              No problem!

    • SapphironZA@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      7 小时前

      https://toggl.com/blog/build-horse-programming

      • GardenGeek@europe.pub
        link
        fedilink
        arrow-up
        1
        ·
        7 小时前

        Thanks!

  • OwOarchist@pawb.social
    link
    fedilink
    English
    arrow-up
    57
    ·
    13 小时前

    Needs a python horse in there.

    Probably something about “why build a horse when you can just import horse from field?”

    • fxdave@lemmy.ml
      link
      fedilink
      arrow-up
      9
      ·
      7 小时前

      But it’s built 10 years ago using conda so the installation process is more complicated than building a new horse.

    • MoffKalast@lemmy.world
      link
      fedilink
      arrow-up
      31
      ·
      11 小时前

      “The horse turns out perfectly average, but boy it can’t run”

      • Diplomjodler@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        8 小时前

        But it still gets there faster than all the other horses on account of how easy it was to implement.

        • Axolotl.cpp@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          11
          ·
          7 小时前

          Sadly, it gets so long to go from point A from B that you wish you made the horse in something else…

    • muhyb@programming.devOP
      link
      fedilink
      arrow-up
      16
      ·
      13 小时前

      horse()

  • Alavi@programming.dev
    link
    fedilink
    arrow-up
    8
    ·
    9 小时前

    But notice that lisp was the only one where you actually built a horse.

    • MonkderVierte@lemmy.zip
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      8 小时前

      Also assembly. And the dangling parts.

  • Y|yukichigai@kbin.earth
    link
    fedilink
    arrow-up
    96
    ·
    14 小时前

    When I first saw this comic I was a relatively new COBOL programmer. It felt accurate.

    I am now my employer’s senior COBOL dev. It still feels accurate.

    • Madagaskar_sky@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      7 小时前

      What’s the biggest hurdle to porting old systems written in COBOL to newer languages? Besides the glaring conflict of interest for you.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 小时前

        the cobol system was already tested for years or decades, important bugs are already fixed, it’s other quirks have became part of the workflow for people using it, and for other systems interacting with it, some of them likely also cobol. if you write a new system, it has to work the exact same way. same features, same bugs, same everything. but realistically it will have brand new bugs, it will miss some functions and do some others differently enough that it sometimes causes problems, and nobody knows why.

      • Fmstrat@lemmy.world
        link
        fedilink
        arrow-up
        28
        ·
        7 小时前

        Hahaha port. Get a load of this person thinking COBOL is being ported! I bet they like the number 4.

      • Lyrl@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        13
        ·
        6 小时前

        I think just the size of the projects. My employer has had a team of ten-ish people working full time on porting a piece of our COBOL program (the full thing was deemed not possible to port to a single modern application, so it’s getting split up) for about a year now. I was peripherally involved in four rounds of increasingly integrated testing environments. Go live was yesterday. They rolled it back three hours in.

        It’s hard for a company to invest multiple people’s salaries for many years on reworking software that currently mostly works.

  • DreadPirateShawn@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    56
    ·
    15 小时前

    The LISP parentheses are not equally balanced. There are more ( than ).

    • muhyb@programming.devOP
      link
      fedilink
      arrow-up
      37
      ·
      14 小时前

      Exactly 6 more.

      • Sneezycat@sopuli.xyz
        link
        fedilink
        arrow-up
        41
        ·
        11 小时前

        )))))) There, the horse is contained now.

        • caseyweederman@lemmy.ca
          link
          fedilink
          arrow-up
          5
          ·
          6 小时前

          You thought so, but there was a teleporter

          • Sneezycat@sopuli.xyz
            link
            fedilink
            arrow-up
            4
            ·
            5 小时前

            Shout-outs to enclose.horse!

  • db2@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    14 小时前

    The assembly one isn’t fair.

    https://kolibrios.org/en

    • MonkderVierte@lemmy.zip
      link
      fedilink
      arrow-up
      16
      ·
      edit-2
      8 小时前

      Why not? KolibriOS is pretty basic for a OS. But boy is it fast.

      • A_norny_mousse@piefed.social
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        6 小时前

        And it runs Doom.

        • MonkderVierte@lemmy.zip
          link
          fedilink
          arrow-up
          3
          ·
          5 小时前

          HTML runs Doom.

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    8 小时前

    deleted by creator

  • _stranger_@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    12 小时前

    That’s because it’s already so old, it can’t get older.

    • muhyb@programming.devOP
      link
      fedilink
      arrow-up
      4
      ·
      12 小时前

      PHP is a vampire.

  • Kairos@lemmy.today
    link
    fedilink
    arrow-up
    10
    ·
    14 小时前

    That’s a little reductive but but… sure.

    • Viking_Hippie@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      5
      ·
      13 小时前

      Sounds like you have a future in network news 😉

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.

  • 1.95K users / day
  • 3.57K users / week
  • 6.32K users / month
  • 15.1K users / 6 months
  • 1 local subscriber
  • 33.7K subscribers
  • 1.72K Posts
  • 36.8K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org