this post was submitted on 03 Jan 2025
402 points (95.1% liked)

Programmer Humor

32939 readers
489 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 28 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 6 days ago

Nah, everything is binary. We just view it through false lenses because the switches got too tiny and people got too dumb.

[–] [email protected] 43 points 2 weeks ago (1 children)

Everything is open source if you can read assembly.

[–] [email protected] 21 points 2 weeks ago (3 children)

binaries aren't assembly though, they're *peers at notes, draws a blank* they're.... something else

[–] [email protected] 35 points 2 weeks ago

You just have to be able to navigate whatever executable file format it is, figure out where the data/code sections are, how different parts are linked together, and translate all the binary opcodes to readable mnemonics.

Easy. 😁

[–] [email protected] 28 points 2 weeks ago (1 children)

I think it’s most commonly called machine code.

[–] [email protected] 3 points 2 weeks ago

True. Machine code usually has a 1:1 mapping to assembly so it's not hard to read machine code as assembly. Although you will not see any of the labels (unless for some reason the the labels were left in).

[–] [email protected] 4 points 2 weeks ago

They're assembled into binary (together with metadata in some cases).

[–] [email protected] 40 points 2 weeks ago (4 children)
[–] [email protected] 34 points 2 weeks ago (1 children)

Quantum computers enter the picture

[–] [email protected] 32 points 2 weeks ago

Damn woke physics

[–] [email protected] 23 points 2 weeks ago
[–] [email protected] 12 points 2 weeks ago

There are ternary computers - just not so popular. Maybe when Carbon nanotube computers will take off it will be a thing.

[–] [email protected] 4 points 2 weeks ago (1 children)

No, all files are base 256

[–] [email protected] 9 points 2 weeks ago

That's just binary with extra steps.

[–] [email protected] 22 points 2 weeks ago (2 children)
[–] [email protected] 27 points 2 weeks ago* (last edited 2 weeks ago) (1 children)
[–] [email protected] 18 points 2 weeks ago (2 children)

Now all we need to do is rewrite this in Rust (the enby solution) and call it... idk... "enbym"?

[–] [email protected] 7 points 2 weeks ago

Dark mode would be NB-PM

[–] [email protected] 0 points 2 weeks ago (1 children)
[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago)

C for crap.

R for rubish.

Fair enough.

[–] [email protected] 10 points 2 weeks ago

Also: https://github.com/TodePond/DreamBerd

Booleans can be true, false or maybe. Technical info: Booleans are stored as one-and-a-half bits.

[–] [email protected] 10 points 2 weeks ago (1 children)

Remember, there is no 'bad' code – we have to be tolerant. There is just 'different' code.

[–] [email protected] 8 points 2 weeks ago (1 children)

*glances at PR*

Man why does your code look so... *Different? *

[–] [email protected] 4 points 2 weeks ago
[–] [email protected] 8 points 2 weeks ago

New gender dropped, source baby source!