this post was submitted on 14 Jul 2024
260 points (98.1% liked)

Programmer Humor

23427 readers
1028 users here now

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

founded 2 years ago
MODERATORS
 
top 23 comments
sorted by: hot top controversial new old
[–] devilish666@lemmy.world 27 points 10 months ago (1 children)

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

[–] stoy@lemmy.zip 11 points 10 months ago (2 children)

Do the characters even have morse code assigned to them?

[–] morgunkorn@discuss.tchncs.de 25 points 10 months ago (3 children)

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 16 points 10 months ago (1 children)

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 7 points 10 months ago

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

[–] bruhduh@lemmy.world 11 points 10 months ago* (last edited 10 months ago) (1 children)
[–] JackGreenEarth@lemm.ee 6 points 10 months ago (2 children)

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

[–] bruhduh@lemmy.world 4 points 10 months ago* (last edited 10 months ago) (1 children)
[–] JackGreenEarth@lemm.ee 4 points 10 months ago
[–] 14th_cylon@lemm.ee -3 points 10 months ago (1 children)

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

[–] JackGreenEarth@lemm.ee 8 points 10 months ago (1 children)

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

[–] 14th_cylon@lemm.ee -4 points 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 3 points 10 months ago (1 children)

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 2 points 10 months ago

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

[–] qaz@lemmy.world 1 points 10 months ago

COW (a moo themed brainfuck variant) would work.

[–] Hupf@feddit.de 21 points 10 months ago (1 children)
[–] SatouKazuma@programming.dev 0 points 10 months ago

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

[–] maniel@sopuli.xyz 17 points 10 months ago (1 children)
[–] 14th_cylon@lemm.ee 1 points 10 months ago (1 children)

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

[–] maniel@sopuli.xyz 9 points 10 months ago

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

[–] bruhduh@lemmy.world 14 points 10 months ago* (last edited 10 months ago)

Break off laptop display morse% speedrun

[–] Norodix@lemmy.world 6 points 10 months ago

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

[–] ricdeh@lemmy.world 4 points 10 months ago

Poor sweet little hinges 😭