Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Shady_Shiroe@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago

01001101 01100101 01101101 01100101

lemmy.world

message-square
49
fedilink
567

01001101 01100101 01101101 01100101

lemmy.world

Shady_Shiroe@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago
message-square
49
fedilink
alert-triangle
You must log in or # to comment.
  • AlexWIWA@lemmy.ml
    link
    fedilink
    arrow-up
    85
    ·
    2 years ago

    It was even worse, they manually flipped toggle switches to write the program

    • IHeartBadCode@kbin.social
      link
      fedilink
      arrow-up
      39
      ·
      2 years ago

      For anyone interested. Here’s a video of programming an EEPROM with dip switches and using it to drive a seven segment display.

      The guy’s channel also includes how to build a very simple computer using various ICs. If breadboard computers are your kind of thing.

      • GVasco@discuss.tchncs.de
        link
        fedilink
        arrow-up
        8
        ·
        2 years ago

        Love Ben Eater and his projects. Helped me understand lots about how a computer functions under the hood with his 8bit computer project.

      • 🦄🦄🦄@feddit.de
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        That was great, thanks for sharing:)

    • akash_rawal@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      2 years ago

      Even worse, they connected cables.

      https://en.wikipedia.org/wiki/Plugboard

      • Hikermick@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        Yeah they looked like old timey telephone operators and the people who did it were called computers

    • tias@discuss.tchncs.de
      link
      fedilink
      arrow-up
      9
      ·
      2 years ago

      And there was no space or enter.

    • Carighan Maconar@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      2 years ago

      I bet most people reading your comment will think it’s a joke. 😩 And thanks for bringing back up those nightmares.

  • cloudy1999@sh.itjust.works
    link
    fedilink
    arrow-up
    38
    ·
    2 years ago

    The binary says ‘Meme’

  • MonkderZweite@feddit.ch
    link
    fedilink
    arrow-up
    23
    ·
    2 years ago

    Nah. They punched cards.

    (Too bad shittywatercolors is not on lemmy)

  • Phoenix3875@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    2 years ago

    Yeah, with USB and chips. Sounds about right.

  • Programmer Belch@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    11
    ·
    2 years ago

    Finally, a keyboard to program brainfuck

  • CookieJarObserver@sh.itjust.works
    link
    fedilink
    arrow-up
    10
    ·
    2 years ago

    Binary is just morse in Mashine readable Form.

    • Cruxifux@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      2 years ago

      I was gonna say “like, kind of” because of Morse code.

      Ya beat me to it bro

    • BlackRose@slrpnk.net
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      2 years ago
    • jungle@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Not really, Morse code is not binary, but tertiary.

      • fibojoly@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        I’m guessing you’re saying that because of the pauses? Otherwise I don’t get it.

        • BlackRose@slrpnk.net
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 years ago
        • jungle@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Yes, the space is a necessary symbol in Morse code, otherwise it’s impossible to decode.

          • fibojoly@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Makes sense. I remember asking myself whether Morse was a form of Huffman encoding back when I was learning that stuff. And it kinda is going for that, but without actually doing it properly since it wasn’t a binary code per se and so could use the pauses. “Ternary” makes sense.

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

              Right, Morse was actually mentioned as an example when I was learning Huffman encoding. :)

      • BlackRose@slrpnk.net
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        I’d say it’s quinary but can easily be represented binarily

        1. short mark, dot or dit ( ▄ ): 1

        2. longer mark, dash or dah ( ▄▄▄ ): 111

        3. intra-character gap (between the dits and dahs within a character): 0

        4. short gap (between letters): 000

        5. medium gap (between words): 0000000

        • jungle@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          You can do it with three symbols:

          1. Dot: 10
          2. Dash: 1110
          3. Gap: 00

          The long gap between words is just three short gaps.

          There’s a Vsauce video about this: https://youtu.be/HY_OIwideLg

          • BlackRose@slrpnk.net
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            2 years ago

            Looks right, but would that not already be optimized?

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

              Not sure what you mean by optimized.

              • BlackRose@slrpnk.net
                link
                fedilink
                arrow-up
                1
                ·
                2 years ago

                Optimized to use less symbols by combining them (long gap between words is just three short gaps). I also think if a sentence ends, there would be the unnessecary 0 from the dots and Dashes at the end.

  • sgtnasty@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    This picture is basically true. The old punch cards …

  • Blackmist@feddit.uk
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    Come on, we at least used hex digits.

    https://archive.org/details/your-sinclair-61/page/n27/mode/2up

    • BlackRose@slrpnk.net
      link
      fedilink
      arrow-up
      21
      ·
      2 years ago

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

        Need this

  • nothacking@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    2 years ago

    What’s “space!” and “enter”?

    For those that need help in deciphering the title text, there is a super easy trick: Take the last 5 bits of each byte, convert them from binary to decimal, and that letter of the alphabet (starting from one) is the letter represented by the ASCII code.

    To convert binary numbers to decimal, just add the place values of a the 1s together. For 5 bits, the place values are 16, 8, 4, 2, 1. So 10110 becomes 16+4+2 which is equal to 22.

    01001101: last 5 bits are 01101, in decimal, that is 8+4+1=13, and the 13th letter of the alphabet is “m”

    01100101, becomes 00101, then 4+1=5, and the 5th letter of the alphabet is ‘e’

    The last 2 are just repeats of those, so the post body reads “meme” (if the third bit is zero, the letter is capital, so it should really be “Meme”)

  • little_hoarse@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Technically morse code is just on/off on/off lol

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

    This is what I imagined programators did when i was a kid

  • Lifted_lowered@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    This is a weird meme to me. Have you ever made something like a simple accumulator machine out of logic gates, OP? You literally just program them in binary, although usually the instructions are expressed in hexadecimal. You make your own instruction set. When we did ours in Compsci foundations I just decided that 0x06 was going to be my jump at negative instruction. I could have wired the logic so that instruction was at a different value, it’s literally possible to make your own instruction set, then your own assembly language, and then your own compiler, and your own programming language. People, mostly women at first, did this for every new computer their institution built at first.

  • leobm@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Plankalkül from 1942

    https://de.m.wikipedia.org/wiki/Plankalkül

  • aidan@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Having a space character makes it ternary. If enter is a character than quaternary

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 125 users / day
  • 504 users / week
  • 1.68K users / month
  • 10.1K users / 6 months
  • 441 local subscribers
  • 35.6K subscribers
  • 1.71K Posts
  • 37.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org