Campfyre
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
recursive_recursion [they/them]@programming.dev to Programmer Humor@programming.devEnglish · 10 个月前

Type in Morse code by repeatedly slamming your laptop lid

github.com

external-link
message-square
23
fedilink
  • cross-posted to:
  • [email protected]
261
external-link

Type in Morse code by repeatedly slamming your laptop lid

github.com

recursive_recursion [they/them]@programming.dev to Programmer Humor@programming.devEnglish · 10 个月前
message-square
23
fedilink
  • cross-posted to:
  • [email protected]
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

alert-triangle
You must log in or # to comment.
  • devilish666@lemmy.world
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    10 个月前

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

    • stoy@lemmy.zip
      link
      fedilink
      arrow-up
      11
      ·
      10 个月前

      Do the characters even have morse code assigned to them?

      • morgunkorn@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        25
        ·
        10 个月前

        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@feddit.de
          link
          fedilink
          arrow-up
          16
          ·
          10 个月前

          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
            arrow-up
            7
            ·
            10 个月前

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

        • bruhduh@lemmy.world
          link
          fedilink
          arrow-up
          11
          ·
          edit-2
          10 个月前

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

          • JackGreenEarth@lemm.ee
            link
            fedilink
            English
            arrow-up
            7
            arrow-down
            1
            ·
            10 个月前

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

            • bruhduh@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              edit-2
              10 个月前

              Did

              • JackGreenEarth@lemm.ee
                link
                fedilink
                English
                arrow-up
                5
                arrow-down
                1
                ·
                10 个月前

                Thanks!

            • 14th_cylon@lemm.ee
              link
              fedilink
              arrow-up
              2
              arrow-down
              5
              ·
              10 个月前

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

              • JackGreenEarth@lemm.ee
                link
                fedilink
                English
                arrow-up
                9
                arrow-down
                1
                ·
                10 个月前

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

                • 14th_cylon@lemm.ee
                  link
                  fedilink
                  arrow-up
                  3
                  arrow-down
                  7
                  ·
                  10 个月前

                  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
          arrow-up
          3
          ·
          10 个月前

          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
            arrow-up
            2
            ·
            10 个月前

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

      • qaz@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        10 个月前

        COW (a moo themed brainfuck variant) would work.

  • Hupf@feddit.de
    link
    fedilink
    arrow-up
    21
    ·
    10 个月前

    https://xkcd.com/378/

    • SatouKazuma@programming.dev
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      10 个月前

      I’m quite sure that atmospheric wind currents don’t change the direction of cosmic rays, lol.

  • 𝒎𝒂𝒏𝒊𝒆𝒍@sopuli.xyz
    link
    fedilink
    arrow-up
    17
    ·
    10 个月前

    the hinges disliked that

    • 14th_cylon@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      10 个月前

      well, he chose machine with metallic hinges, but still…

      • 𝒎𝒂𝒏𝒊𝒆𝒍@sopuli.xyz
        link
        fedilink
        arrow-up
        9
        ·
        10 个月前

        All the hinges I’ve seen were metallic, what fails most of the time is the metal->plastic interface

  • bruhduh@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    10 个月前

    Break off laptop display morse% speedrun

  • Norodix@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 个月前

    Ugh, and the code is so bad. I love it!

  • Richard@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 个月前

    Poor sweet little hinges 😭

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: [email protected]

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
Visibility: Public
globe

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

  • 1.18K users / day
  • 4.26K users / week
  • 8.52K users / month
  • 17.1K users / 6 months
  • 1 local subscriber
  • 23.2K subscribers
  • 1.4K Posts
  • 50.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org