Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
1121219165 ( 1121219165@lemmy.zip )  to Programmer Humor@programming.dev · 4 days ago

Home Sweet Home

lemmy.zip

message-square
45
link
fedilink
446

Home Sweet Home

lemmy.zip

1121219165 ( 1121219165@lemmy.zip )  to Programmer Humor@programming.dev · 4 days ago
message-square
45
link
fedilink
alert-triangle
You must log in or register to comment.
  • rockSlayer ( rockSlayer@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    76
    ·
    4 days ago

    Everyone has a localhost, the place you really want to be is ~

    • BurntWits ( BurntWits@sh.itjust.works ) 
      link
      fedilink
      arrow-up
      32
      ·
      3 days ago

      This has been my desktop wallpaper for the last year or so.

      • Sockenklaus ( sockenklaus@sh.itjust.works ) 
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        I really like the idea of the wallpaper (especially with earth as the background) but the shape of the tilde sign bothers me. It looks more like a violins f-hole…

        • BurntWits ( BurntWits@sh.itjust.works ) 
          link
          fedilink
          arrow-up
          3
          ·
          2 days ago

          It’s a Euler spiral map projection. It just so happens to look a lot like a tilde, hence the joke. But it’s not just a tilde with an earth design, it’s an actual map shape.

          • Sockenklaus ( sockenklaus@sh.itjust.works ) 
            link
            fedilink
            arrow-up
            2
            ·
            2 days ago

            Uuuh now I see it. That’s very smart!

  • Bananskal ( Bananskal@nord.pub ) 
    link
    fedilink
    English
    arrow-up
    35
    ·
    3 days ago

    The http:// part bothers me a little. I would’ve personally put just 127.0.0.1, or maybe ::1 😁

    • Classy Hatter ( ClassyHatter@sopuli.xyz ) 
      link
      fedilink
      arrow-up
      6
      ·
      3 days ago

      They have a lock on their door, but they keep it unlocked. Thus http instead of https.

      • MonkeMischief ( MonkeMischief@lemmy.today ) 
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        Hope they don’t have knocking enabled. =\

    • Cousin Mose ( undefined@lemmy.hogru.ch ) 
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 days ago

      ::1 for me, this is an IPv6 mostly network

    • kalpol ( kalpol@lemmy.ca ) 
      link
      fedilink
      arrow-up
      6
      ·
      3 days ago

      Came to say the same thing. Its like saying home can only be accessed by the ladder to the 80th-story window

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

    I can’t tell if you like living on just port 80.

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

    deleted by creator

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

      It’s like saying “there’s no place like microwave in my home”

  • jcr ( jcr@jlai.lu ) 
    link
    fedilink
    Français
    arrow-up
    4
    ·
    2 days ago

    There is no place like LOCALHOST

  • xia ( xia@lemmy.ca ) 
    link
    fedilink
    English
    arrow-up
    16
    ·
    3 days ago

    “There is no place like localhost”

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

      I always had this problem too. There’s no place like localhost? or maybe loopback? It’s like a joke created by someone who has only the the most basic understanding of what they’re trying to joke about.

      If you wanted to be a little loose with it, I could even see it being “here”, but even that doesn’t fit with “there’s no place like…”

      “There’s no place like ᱻ/” Would make more sense.

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

    *no place like http://[::1]

    • 4am ( 4am@lemmy.zip ) 
      link
      fedilink
      arrow-up
      12
      ·
      3 days ago

      No place like ::1

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

      Came here for this comment

  • nonentity ( nonentity@sh.itjust.works ) 
    link
    fedilink
    arrow-up
    9
    ·
    3 days ago

    Localhost is wherever you are, ~ is home.

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

    “${HOME}”

  • rizzothesmall ( rizzothesmall@sh.itjust.works ) 
    link
    fedilink
    arrow-up
    7
    ·
    3 days ago

    I got similar for a friend when he got a new house. Not http, just the localhost ip.

    I agree it would be better as “there’s no place like ~/”

  • SparroHawc ( SparroHawc@piefed.world ) 
    link
    fedilink
    English
    arrow-up
    17
    ·
    3 days ago

    I got this doormat from Thinkgeek back when it still existed. I miss that store.

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

      deleted by creator

  • supersquirrel ( supersquirrel@lemmy.ca ) 
    link
    fedilink
    arrow-up
    15
    ·
    4 days ago

    Side note, why the hell did programmers make this as the home ip? Why couldn’t it have been something intuitive that said to normal people “home” in some way?

    I will never not be grumpy about this, it is such a trivial, random choice that only makes sense once you understand everything about it already.

    • KaninchenSpeed ( KaninchenSpeed@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      19
      ·
      4 days ago

      its not only this ip. In ipv4 the whole 127.0.0.0/8 subnet is the current computer / localhost, so every 127.x.x.x points to localhost (i know its a bit silly, but so is a lot of legacy ip). 127.0.0.1 is just the first address in this subnet that can be used for devices. I would assume 127 was chosen because its the largest 7 bit number so its 01111111 in 8 bit which is easy to detect in hardware.

      In ipv6 its much more sensible, only ::1 is localhost.

      Sorry for wasting your time (but please use ipv6 anyways >:3)

      • supersquirrel ( supersquirrel@lemmy.ca ) 
        link
        fedilink
        arrow-up
        5
        ·
        4 days ago

        I super appreciate the explanation and I figured that it makes sense when you look at the context… but still did this really have to be the home ip? I can never remember the sequence of numbers, I know it is only a handful of them but it is just so damn unintuitive that I almost always have to look it up because my memory recall is trash… and I don’t think I should have to it should be so obvious that anybody can remember it.

        Even if this “had” to be the home ip grammar… couldn’t they have at least created a commonly accepted shortcut/alternate name you could type in that normal people could remember?

        • John ( Starchildjohn@leminal.space ) 
          link
          fedilink
          arrow-up
          15
          ·
          4 days ago

          Easy, just remember 01111111 and convert back when you need it 🙃

          For real tho just use ipv6 ::1 or localhost if you can’t remember

        • MnemonicBump ( MnemonicBump@lemmy.dbzer0.com ) 
          link
          fedilink
          arrow-up
          6
          ·
          4 days ago

          You can usually just type localhost://

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

          I’m curious, what IPv4 address space reads like “home”?

          • supersquirrel ( supersquirrel@lemmy.ca ) 
            link
            fedilink
            arrow-up
            1
            ·
            3 days ago

            An easy to remember pattern of any kind would have been better, a repeating sequence like 1010101 or 1234567 or something else that doesn’t feel completely and utterly arbitrary (almost to the point of condescension to normal non-techy users in my opinion).

            • SparroHawc ( SparroHawc@piefed.world ) 
              link
              fedilink
              English
              arrow-up
              3
              ·
              3 days ago

              127 is the highest number you can fit in 7 bits of binary. It’s a lot easier to remember if you know your powers of 2.

              One bit can hold the numbers 0 and 1.
              Two bits can hold 0 through 3.
              Three bits can hold 0 through 7. Et cetera. These numbers were far more important to remember when everyone who did programming had to do low-level programming to get any sort of performance out of their code.

              • metallic_z3r0 ( metallic_z3r0@infosec.pub ) 
                link
                fedilink
                arrow-up
                2
                ·
                3 days ago

                Ah, but if it’s an 8-bit signed number, then 01111111 is actually “-1”. This is a lot more fun.

                • SparroHawc ( SparroHawc@piefed.world ) 
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  3 days ago

                  But… but then you’re mixing signed and unsigned numbers in the same address! Panic! Human sacrifice! Dogs and cats living together! MASS HYSTERIA!!

      • MonkderVierte ( MonkderVierte@lemmy.zip ) 
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        3 days ago

        i know its a bit silly, but so is a lot of legacy ip

        The /usr thing? The Unix guys disk was full. The dotfiles thing? A bug in the Unix file system ls. And so on and so on. 1/3 of IT is just things someone decided on a whim. Another 1/3 is for obsolete reasons.

  • samus12345 ( samus12345@sh.itjust.works ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 days ago

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

    Why so formal? Just call it 127.1

  • Obeca ( Obeca@pawb.social ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 days ago

    I don’t know, 127.1.2.3 seems quite similar.

    Something it took me a while to realize is that each and every one of these addresses have a complete set of ports available for usage, so you can use port 80 on 127.0.1.0 and port 80 on 127.0.0.2 for different services.

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.

  • 426 users / day
  • 2.22K users / week
  • 4.39K users / month
  • 8.39K users / 6 months
  • 465 local subscribers
  • 34.3K subscribers
  • 1.68K Posts
  • 27.9K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code