Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.blahaj.zone
programmer_humorยทProgrammer Humorbynot_IO

HELLO

https://oldbytes.space/@gloriouscow/117045701876951834

๐Ÿธโ˜บ๏ธ๐Ÿฐ๐ŸŽโ™๐Ÿ—ƒ๏ธ๐Ÿงฏ๐Ÿงฏ๐Ÿงฏ๐Ÿฎ๐Ÿ’—๐Ÿฆฎ๐Ÿชโ™๐Ÿฐ๐Ÿน๐Ÿ—ƒ๏ธ๐Ÿงฏ๐Ÿงฏ๐Ÿงฏ๐Ÿงฏ๐Ÿ’—๐Ÿช—๐Ÿงฏ๐Ÿ˜—๐Ÿงฎ๐Ÿซช๐Ÿ˜—๐Ÿงฎ๐Ÿ˜—๐Ÿฎ๐Ÿ˜ช๐Ÿ˜”โญ

View original on lemmy.blahaj.zone
558

49 replies

Zarobi
aussie.zone

For some reason the inclusion of this emoji sends me

๐Ÿซช

๐Ÿซช

๐Ÿซช

๐Ÿซช

๐Ÿซช
๐Ÿซช

^๐Ÿซช^

^๐Ÿซช^

76

That emoji is incidentally how I feel about this whole thing being possible

30

It's quite a recent addition to Unicode, so I choose to believe they wanted to write this emoji program for many years already, but couldn't until now. ๐Ÿซช

15
Artacareply

My favorite of late. I send this one at inappropriate times followed immediately by the "correct" emoji and asterisks for a laugh. Has yet to fail me, especially in group chats. Example:

Them: omg work today blows Me: Oof that sucks ๐Ÿซช๐Ÿซช๐Ÿซช Me: โ˜น๏ธ**

9
grrgylereply
slrpnk.net

HAha I love this emoji. I've been using it like this memeable Willem Dafoe image

7

TIL that is Willem Dafoe - would have never recognized him from that perspective :D

4
swg-empire.de

Base64 is history. I'm going to encode all my binary data in emojis from now on!

72

Right, it should work great for anything you need to copy paste and want more compact on the screen, or for urls too. Even for checksums.

3
mander.xyz

I'm guessing those emoji happen to encode the opcodes for a program?

49
black0utreply
pawb.social

Yeah. This method is really cool, and it has been used for legitimate cases before. Look at the EICAR file:

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

It is a test file for malware detection software (in fact, it will still get flagged today if you try to send it, download it or save it to your disk). It prints "EICAR-STANDARD-ANTIVIRUS-TEST-FILE!" when run.

It was purposefully made so all the opcodes appeared as characters you can type on a standard keyboard. That way, anyone can write the file themselves even if they don't have internet or a way to download it. It's also easier to get it into test containers/VMs that are isolated from the internet or physical hardware, which is where most malware testing happens.

78

The circle is now complete. It began with coding in raw machine language, and it ends in coding entirely in emojis. The prophecy has been fulfilled. The end is nigh.

Somebody set up us the bomb. All our base are belong to them. You have no chance to survive make your time. Move 'ZIG'.

32
Yaky
slrpnk.net

This reminds me of "bugoga" from the olden days.

(Circa 2007 on bashorgru, there was a meme about writing "bugoga" into a text file, renaming it to exe and then running it. That made the cursor jump around the console and if you had a connected matrix printer, it would start going crazy - something about writing spaces to all available output in an endless loop)

22
monotrematareply
lemmy.ca

It kind of reminds me of a thing from the Apple IIe. If you were running a program on that machine and it crashed, it would often crash into this built-in micro debugger mode that gave you a * prompt. The normal boot-up ] prompt accepted BASIC and PRODOS commands, but the * prompt was for working with the Apple microassembler, and it was NOT user-friendly to the average young geek. So I learned exactly one command, which was 3D0G. My understanding was that this was an unconditional jump command to the place that PRODOS was normally loaded into memory at boot, so if the program hadn't overwritten that, it would get you back to the ] prompt. (Otherwise you had to turn the computer off and on again so it would reload from ROM, which wasn't a huge problem anyway, but this was a bit faster.) But I'm not actually sure exactly what it did. Anyway, it was memorable enough (since the zero looked close to an O that I could remember it as "three dogs") that I held on to it. Not actually important, just, y'know, kinda fun.

14
monotrematareply
lemmy.ca

Huh, I wonder if that's where his name came from.

2
lemmy.ml

Damn, I didn't realize I could type machine code with my emoji keyboard

16

Does your emoji keyboard also allow arbitrarily adding Variation Selectors 16 (aka Force Color Emoji Presentation, U+FE0F, or UTF-8 EF B8 8F), also used after a few emoji in the code? (It probably does insert one for characters like โ™€๏ธ whose codepoints default to non-emoji but you'll need a non-emoji-compatible text editor and keyboard to separate it)

Edit: that's probably only a concern with the MANDEL.COM program. This 141-byte one uses variation selectors the normal way.

Edit: except โ™, which does NOT get one

2

Edlin and debug allowed fast com file programming.

๐Ÿธโ˜บ๏ธ๐Ÿฐ๐ŸŽโ™๐Ÿ—ƒ๏ธ๐Ÿงฏ๐Ÿงฏ๐Ÿงฏ๐Ÿฎ๐Ÿ’—๐Ÿฆฎ๐Ÿชโ™๐Ÿฐ๐Ÿน๐Ÿ—ƒ๏ธ๐Ÿงฏ๐Ÿงฏ๐Ÿงฏ๐Ÿงฏ๐Ÿ’—๐Ÿช—๐Ÿงฏ๐Ÿ˜—๐Ÿงฎ๐Ÿซช๐Ÿ˜—๐Ÿงฎ๐Ÿ˜—๐Ÿฎ๐Ÿ˜ช๐Ÿ˜”โญ

But that's neat.

12
piefed.social

I vaguely recall that typing 'copy con clock$' would freeze a computer.

On DOS you could also have fun by replacing prompt $p$g with prompt {whatever text you want instead of c:}

12
zurohkireply
aussie.zone

On DOS you could also have fun by replacing prompt $p$g with prompt {whatever text you want instead of c:}

20
LumpyPancakesreply
piefed.social

Righto :)

I was a DOS 'programmer' long before I migrated to Linux - the same way some guy who used to write bat files with environment variables and errorlevel commands might migrate to a shell script.

What I really wanted was to be able to embed ^g into the Linux command line prompt, but so far I haven't been able to. On DOS I could add ^g (the Bell character) to the prompt so each time a command finished it beeped.

17
Droechaireply
piefed.blahaj.zone

I had to do some really wacky stuff but I finally got all manner of beeps and boops from the motherboard speaker last month (aftermarket addon). Stuff like beep on startup, buzz when moving a window, different quick peeps when clicking, doubleclicking or right clicking. I had it for about an afternoon and then my partner raged at all the noise :/ now my computer are silent and boring again

10

Now you need a proximity sensor to mute it only when your partner is nearby :)

Mine is still tolerating my "Eddie Izzard covered in bees person on the street reaction sound' sms notification sound.

5
balsoftreply

I have a slightly more advanced setup which uses post-command hooks to send a desktop notification when a command has been running for over 3 seconds. That notification contains the elapsed time and the exit code too, and plays a different sound depending on whether the command was successful or not. This allows for some neat integrations with KDE connect to let me know when some long compile has finished or something even when I'm away from my computer. You can see how it works here.

9
AnUnusualRelicreply
lemmy.world

On old unix systems, you could rename /dev/null and symlink /dev/audio to /dev/null...

Then you just had to wait.

4
LumpyPancakesreply
piefed.social

I'll have a hunt later. The work laptop is Ubuntu so might not be as flexible. Home is Debian for now.

2

So what does it actually do? rm -rf or something like that?

11

You should. You just executed:

  • 7 people โ˜บ๏ธ๐Ÿ˜—๐Ÿซช๐Ÿ˜—๐Ÿ˜—๐Ÿ˜ช๐Ÿ˜”
  • a frog ๐Ÿธ
  • 2 bunnies๐Ÿฐ๐Ÿฐ
  • a horse ๐ŸŽ
  • 2 cows ๐Ÿฎ๐Ÿฎ
  • a guide dog! ๐Ÿฆฎ
  • a hamster ๐Ÿน๏ธ

The only way you're not going to hell is by being an actual Satanist (he'll deny you the pleasure)

6
Crackhappyreply
lemmy.world

@ECHO OFF

ECHO Beginning critical system diagnostic...

PAUSE

ECHO.

ECHO Analyzing user competence level...

PAUSE

ECHO.

ECHO Diagnostic complete.

ECHO.

ECHO Result: Computer is fine. You, however, remain the weakest

ECHO component in this system.

ECHO.

ECHO Have a nice day.

20

Wow, you sure demonstrated your superior competence level with those echo statements.

5

You forgot a few random REM statements that don't actually do anything even if you uncomment them.

5

Now make one with invisible/whitespace characters only. There's 0D CR, 0A LF, 09 tab, 20 space, different-width spaces, zero width modifiers and 256 variation selectors: 16 in the BMP (U+FE0x, or UTF-8 EF B8 80) plus 240 in the E-plane (U+E0100, or F3 A0 84 80 up to U+E01EF, or F3 A0 87 AF).

2

You reached the end