KDE Social
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
recursive_recursion [they/them] to Programmer Humor@programming.devEnglish • 10 months ago

Type in Morse code by repeatedly slamming your laptop lid

github.com

external-link
message-square
23
fedilink
  • cross-posted to:
  • linuxmemes@lemmy.world
262
external-link

Type in Morse code by repeatedly slamming your laptop lid

github.com

recursive_recursion [they/them] to Programmer Humor@programming.devEnglish • 10 months ago
message-square
23
fedilink
  • cross-posted to:
  • linuxmemes@lemmy.world
GitHub - veggiedefender/open-and-shut: Type in Morse code by repeatedly slamming your laptop shut
github.com
external-link
Type in Morse code by repeatedly slamming your laptop shut - veggiedefender/open-and-shut

cross-posted from: https://lemmy.world/post/17528189

  • @devilish666@lemmy.world
    link
    fedilink
    27•10 months ago

    Now write code with it
    I dare you
    <⁠(⁠ ̄⁠︶⁠ ̄⁠)⁠>

    • @stoy@lemmy.zip
      link
      fedilink
      12•10 months ago

      Do the characters even have morse code assigned to them?

      • @morgunkorn@discuss.tchncs.de
        link
        fedilink
        English
        26•10 months ago

        I found those:

        Underscore		. . _ _ . _
        Addition		. _ . _ .
        Subtraction		_ . . . . _ 
        Multiplication		_ . . _
        Division		_ _ _ . . .
        Equal			_ . . . _
        Right Parenthesis	_ . _ _ . _
        Left Parenthesis	_ . _ _ .
        

        But this isn’t enough for programming, square and curly brackets, carets, ampersand, pipe, tilda… I think it’s gonna be pretty challenging

        • Turun
          link
          fedilink
          16•10 months ago

          C is so old, it has a way to work around that! In case your 198x keyboard was not set to ASCII you know. Not sure if Morse covers all the characters needed for the replacement trigraphs though.

          https://riptutorial.com/c/example/23858/trigraphs

          • @morgunkorn@discuss.tchncs.de
            link
            fedilink
            7•10 months ago

            I love when there are solutions for every weird use case ^^

        • bruhduh
          link
          fedilink
          11•
          edit-2
          10 months ago

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

          • JackGreenEarth
            link
            fedilink
            English
            6•10 months ago

            Please delete the .m. from the Wikipedia link so it’s correct for desktop users.

            • bruhduh
              link
              fedilink
              4•
              edit-2
              10 months ago

              Did

              • JackGreenEarth
                link
                fedilink
                English
                4•10 months ago

                Thanks!

            • @14th_cylon@lemm.ee
              link
              fedilink
              -3•10 months ago

              What if desktop users delete it themselves, if they don’t like it?

              • JackGreenEarth
                link
                fedilink
                English
                8•10 months ago

                The default link redirects for mobile automatically, it doesn’t work the other way around.

                • @14th_cylon@lemm.ee
                  link
                  fedilink
                  -4•10 months ago

                  Ok, that’s fair point, but it still isn’t other people’s job to serve you links just how you like them.

        • @cheddar@programming.dev
          link
          fedilink
          3•10 months ago

          Can’t you extend it by adding extra bits? Though typing them would be problematic as the length will be growing too.

          • @morgunkorn@discuss.tchncs.de
            link
            fedilink
            2•10 months ago

            It would be a blow to render this typing method slightly slower, definitely a deal breaker 😏

      • qaz
        link
        fedilink
        1•10 months ago

        COW (a moo themed brainfuck variant) would work.

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
  • 1.04K users / day
  • 4.62K users / week
  • 9.1K users / month
  • 17.8K users / 6 months
  • 23.1K subscribers
  • 1.39K Posts
  • 50.9K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org