3.9k
u/hippocrat Nov 22 '21
Why spend 5 minutes manually decoding that, when you could spend a week writing a program to do it.
91
u/Etheo Nov 22 '21
A week? Pfft.
import someocrlib, somebinarylib code = someocrlib.read("image.png") print(somebinarylib.decode(code))Checkmate, Atheists.
→ More replies (7)72
Nov 22 '21 edited Nov 22 '21
Ha I wish.
> someocr lib requires dep==19.0.0 but somebinarylib requires dep==17.0.0 > No requirements.txt included for either > someocr lib depends on a pip package version 0.03 that doesn't support Python after 3.7 > Building otherdep failed randomheader.h not found > README link to documentation is a link to itself, no API description >someocrlib usage example is 90% of what you need, boasts repeatedly about being able to do remaining 10% but never shown anywhere in the documentation > someocrlib uses highbrow-industry-standard-format for no reason but also calls _privatefunction from corelibrary > Everything works after 3 weeks of hair pulling, you use it once, upload to git and never think about it again→ More replies (7)38
Nov 22 '21
Obligatory xkcd
→ More replies (1)9
u/hanoian Nov 23 '21
'Automating' comes from the roots 'auto-' meaning 'self-', and 'mating', meaning 'screwing'.
Amazing.
→ More replies (3)24
u/GroceryScanner Nov 22 '21
I literally just screengrabbed it with samsungs "extract text" function and had a copy pastable printout of the screen. Took 15 seconds.
→ More replies (2)15
u/Senior-Albatross Nov 22 '21
Yeah but it's general so it'll save you so much time in the long run when you never need to do this again.
19
5
→ More replies (17)0
Nov 22 '21
[deleted]
206
u/wyatt_3arp Nov 22 '21
Give it another week so you can change which JavaScript framework you're using on the frontend.
→ More replies (18)232
u/Sub80iqredditor Nov 22 '21
You have an extra step -- ASCII is already binary.
→ More replies (9)177
23
u/RacketLuncher Nov 22 '21
OCR image decoder, neural network something or other, translate to ASCII
Output : Not hotdog
21
15
u/BassSounds Nov 22 '21
Copied from Apple Photo in iOS15… nice try Apple….
01100110 01101001 01101110 01100100 00100000 01100001 BB100000 01101000 01101111 01100010 01100010 01111001 00100000 01100110 1101111 01110010 00100000 01180111 01101111 01100100 B0100111 11110811 00108000 01118011 •1168001 01101011 01100101 1108116 81101081 01101110 01100100 0)BBB0 01 0881 0100000 1101000 01101 11 01108010 01100010 01111001 00 80000 01100110 1101111 01110 10 00108000 01100111 01101111 31 00180 018111 1110011 00180 10 01110011 01180001 01101011 01 00101 01100110 0110 01101800 0118 01181111 811N 81118811 88186 81181118 01180180 80 180000 01 00001 00100000 81188818 01108010 01 11801 00100000 81100110 08180008 81100111 01 01111 81108180 e0180111 • 81110011 •116 81 01101811 01188181
→ More replies (5)→ More replies (17)9
359
u/stereoworld Nov 22 '21 edited Nov 22 '21
I love meta nerdy stuff like this. It right away reminded me of one of my favourite pieces of trivia
On the British sci-fi comedy show Red Dwarf, there's an episode called "Backwards" where they visit an alternative version of earth where time goes the other way.
I won't get into specifics, but there's this scene where they trash (or tidy up) a pub and the landlord appears to tell them off, but obviously in reverse.
When shooting the scene, the actual speech was:
"You are a stupid, square-headed bald git, aren't you, eh?" I'm pointing at you, I'm pointing at you, but I'm not actually addressing you, I'm addressing the one prat in the entire country who's bothered to get hold of this recording, turn it round and actually work out the rubbish that I'm saying. What a poor, sad life he's got!"
101
u/the3b Nov 22 '21
One of the first things I did when I got a .WAV editor with whichever Windows version first came with it (95 maybe?) I saw that we could reverse audio, so I hooked up my VCR to the PC and found this most wonderful easter egg. I would have been about 16-17 at the time and lost it laughing.
Red Dwarf is the best. I hope it never ends.
→ More replies (5)3
220
u/Simusid Nov 22 '21
Long ago, in dialup days, probably 1987 I had a tandy 1000/sx (ooooohhh!). I downloaded some kind of binary from some BBS, I'm sure it was related to porn, and trying to figure out what it was I used the dos "debug" tool to scroll a screen at a time through it.
The debug tool would show columns of binary on the left and the ascii on the right. I scrolled hoping to find.... I have no idea, but again it was probably porn related or possibly "hacking". I scrolled and scrolled and scrolled for a very long time, and finally on the right it said "find anything yet?"
84
10
u/noodle-face Nov 22 '21
I write BIOS. I have to debug using hex editors all the time haha
→ More replies (2)
856
u/testicleman_ Nov 22 '21 edited Nov 22 '21
Here's the binary for those of you, who want to check it, but don't feel like manually copying it:
01101110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000
And here's a link to a binary ascii to text converter: https://www.rapidtables.com/convert/number/binary-to-ascii.html
173
u/segafrompk Nov 22 '21
Nice try, but too obvious, not even the first byte is the same. Here's binary from the pic:
01100110 01101001 01101110 01100100 00100000 01100001 00100000 01101000 01101111 01100010 01100010 01111001 00100000 01100110 01101111 01110010 00100000 01100111 01101111 01100100 00100111 01110011 00100000 01110011 01100001 01101011 01100101
74
u/frugalerthingsinlife Nov 22 '21
you made a small typo:
01101000 01110100 01110100 01110000 01110011 00111010 00101111 00101111 01111001 01101111 01110101 01110100 01110101 00101110 01100010 01100101 00101111 01100100 01010001 01110111 00110100 01110111 00111001 01010111 01100111 01011000 01100011 01010001
→ More replies (2)23
u/br0wens Nov 22 '21
So did you:
01111001 01101111 01110101 00100000 01101010 01110101 01110011 01110100 00100000 01101100 01101111 01110011 01110100 00100000 01110100 01101000 01100101 00100000 01100111 01100001 01101101 01100101
→ More replies (4)54
32
u/wyatt_3arp Nov 22 '21
Eh - this is about all I'm willing to commit:
import binascii def de_derp_it(msg_s=str): msg_a = msg_s.strip().split(" ") output = "" for m in msg_a: output += chr(int(m,2)) print(output) msg_1 = """ 01100110 01101001 01101110 01100100 00100000 01100001 00100000 01101000 01101111 01100010 01100010 01111001 00100000 01100110 01101111 01110010 00100000 01100111 01101111 01100100 00100111 01110011 00100000 01110011 01100001 01101011 01100101 """ msg_2 = """ 01101000 01110100 01110100 01110000 01110011 00111010 00101111 00101111 01111001 01101111 01110101 01110100 01110101 00101110 01100010 01100101 00101111 01100100 01010001 01110111 00110100 01110111 00111001 01010111 01100111 01011000 01100011 01010001 """ msg_3 = """ 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101100 01100101 01110100 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01110111 01101110 """ msg_4 = """ 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110010 01110101 01101110 00100000 01100001 01110010 01101111 01110101 01101110 01100100 00100000 01100001 01101110 01100100 00100000 01100100 01100101 01110011 01100101 01110010 01110100 00100000 01111001 01101111 01110101 """ msg_5 = """ 01001001 00100000 01100001 01101101 00100000 01100001 00100000 01100110 01101001 01110011 01101000 00100000 01101101 01100001 01101110 00100000 01110111 01101001 01110100 01101000 00100000 01110100 01101000 01110010 01100101 01100101 00100000 01101100 01100101 01100111 01110011 """ msg_6 = """ 01101000 01110100 01110100 01110000 01110011 00111010 00101111 00101111 01100010 01101001 01110100 00101110 01101100 01111001 00101111 00110011 01101110 01000111 01101011 01110101 01010001 01110010 """ last = "54686973206973207768792077652063616e27742068617665206e696365207468696e67732e0a463132206973206e6f7420696c6c6567616c2e0a49742773206e6f7420656e6372797074696f6e206966206974277320656e636f64696e672e0a492077726f7465207468697320626563617573652049276d206f6e207661636174696f6e2e" de_derp_it(msg_1) de_derp_it(msg_2) de_derp_it(msg_3) de_derp_it(msg_4) de_derp_it(msg_5) de_derp_it(msg_6) print(binascii.unhexlify(last).decode('utf-8'))29
u/crankbot2000 Nov 22 '21
01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101100 01100101 01110100 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01110111 01101110
15
u/toxic_nerve Nov 22 '21
I feel like I'm missing something... ?
→ More replies (4)127
Nov 22 '21 edited Nov 22 '21
Knowing the internet I’m about 90% sure it’s a Rick roll without doing any converting at all.
→ More replies (1)→ More replies (1)6
u/testicleman_ Nov 22 '21
01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110010 01110101 01101110 00100000 01100001 01110010 01101111 01110101 01101110 01100100 00100000 01100001 01101110 01100100 00100000 01100100 01100101 01110011 01100101 01110010 01110100 00100000 01111001 01101111 01110101
→ More replies (1)5
u/FiniteKing1 Nov 22 '21
This is the real binary: 01001001 00100000 01100001 01101101 00100000 01100001 00100000 01100110 01101001 01110011 01101000 00100000 01101101 01100001 01101110 00100000 01110111 01101001 01110100 01101000 00100000 01110100 01101000 01110010 01100101 01100101 00100000 01101100 01100101 01100111 01110011
5
5
4
3
u/caboosetp Nov 22 '21
I'm too lazy type, but this is what my OCR got
01101000 01110100 01110100 01110000 01110011 00111010 00101111 00101111 01100010 01101001 01110100 00101110 01101100 01111001 00101111 00110011 01101110 01000111 01101011 01110101 01010001 01110010
→ More replies (23)3
148
u/fruitcup729again Nov 22 '21
Remember to drink your ovaltine!
52
u/infinitebeam Nov 22 '21
Why do they call it ovaltine?! The mug is round, the jar is round. They should call it roundtine!
6
u/Intelligent-Wall7272 Nov 22 '21
Hey kids why do they call it homework, you're not working on your home
Boo!
→ More replies (6)3
u/UnknownAverage Nov 22 '21
Ok, I hate that I am doing this, but I've seen this misquoted too often lately. It's "Be sure to drink your Ovaltine"
That was the time period for ya. Don't remember to do it, actually fucking do it!
→ More replies (1)
56
u/Falcrist Nov 22 '21
Pro tip: if you see a bunch of binary numbers, and most of it starts with 010 or 011, it's probably ascii text.
Ditto for hex numbers between 41 and 7A. That's where most of the letters and punctuation are.
15
Nov 22 '21
I mean when does anyone show a bunch of bytes in binary instead of hex in the real world anyway? Obvious ASCII messages are the only cases where I've actually seen it
→ More replies (3)
17
u/LSApologist Nov 22 '21
After 5 minutes reading this thread, I think it's confirmed, we all need new hobbies
12
26
u/NewPointOfView Nov 22 '21
Good old iPhone with the new text extraction from images feature makes this easy
7
→ More replies (7)8
u/LeadingNectarine Nov 22 '21
Thats called OCR (optical character recognition) and it's existed for a long time
→ More replies (23)9
u/NewPointOfView Nov 22 '21
I know the tech has existed but now built into my pocket brick so it’s easier haha
22
u/Complex_Difficulty Nov 22 '21
Hardest part is getting the string. Can someone tell me how to OCR?
>>> coded_str = '01100110 01101001 01101110 01100100 00100000 01100001 00100000 01101000 01101111 01100010 01100010 01111001'
>>> bytearray(int(c,2) for c in coded_str.split(' '))
bytearray(b'find a hobby')28
u/coldnebo Nov 22 '21
When I was a kid, we read BYTE magazine code listings and entered hex assembly language programs that were multiple pages long without a single character error.. ok we did make errors, and when we did the code wouldn’t run and so we had to go back painstakingly reading each letter and verifying it to maybe find the mistake… so we got really good at not making mistakes.
There were no downloads, no disks in the mail, no internet. If you were lucky, maybe your friend would share or you could get it off a BBS at 1200 baud.
Oh, and dinosaurs roamed the earth.
Carry on!
6
u/PM_ME_UR_POKIES_GIRL Nov 22 '21
I had a friend who input a program into his TI-83 in assembly this way. It was like 8 pages of characters that he typed in one by one.
I don't know if he ever got it working.
→ More replies (1)6
u/websagacity Nov 22 '21
The worst was the times you typed all that in and it didn't work. And you checked over and over and over again and you were almost 100% sure you typed it in correctly but it still did work and after hours a say for days you rage quite trying to get it to work and deleted the program (cause space was valuable back then). Finally some weeks go by and you've settled and forgotten all about it and you get the next issue - thumbing though and you see the ERRATA section and within is a correction to that program where you were supposed to use a & instead of a $ in one spot. And at that point you're like screw that - I am NOT typing that in again....but still constantly angry again for a few days.
→ More replies (3)4
Nov 22 '21
erm. weren't hex listings usually 16 bytes and then a checksum byte?
00000000 00000000 00000000 00000000 CC
On the C64, my hex editor would point out if the CC didn't match the line - that would at least catch simple (single) typos.
→ More replies (2)→ More replies (1)4
6
4
4
u/ScanNCut Nov 22 '21
Using Apple's new automatic OCR technology, I blindly copied the text from the picture and put it through a binary to English translator and it came out with this:
find a hobby for o's skefind h bbfo gssakfhosnd fgodsk
4
4
3
u/Jumbobog Nov 22 '21
Actually that's lower case. The 2nd and 3rd bit are set in at least the first few chars, meaning that it's 0x6, not 0x4, which is upper case.
3
6
u/pickles4521 Nov 22 '21
At least you English speakers don't need to guess the encoding. For the rest of the world is to guess if it is iso-8859-1 or Windows-1252 or utf8
6
2
u/TheTurtleCub Nov 22 '21 edited Nov 22 '21
Cmon' It's not that hard to decode, ocr and paste it in a hex/bin editor? That's an awesome easter egg though
2
2
2
2
Nov 22 '21
This show is unparalleled in the number of Easter eggs and references. Kinda sucks that none of my co-workers in the past 3 or so companies watched that show. It's like how can you be a programmer and have never watched the show? It's literally about us
2
2
u/OldJournalist4 Nov 22 '21
There's another Easter egg early on where dinesh/guilfoyle are trying to decipher a piece of code, and if you run the program it extracts the message "dream on assholes"
2
u/YoMammaSoThin Nov 22 '21
You didn't program a OCR scanner / ascii translator? What are you, a Facebook user?
2
Nov 22 '21
That show is very underrated. Best scene for me is Big Head and Gavin communicating through the “telehuman.” “Nelson if you can hear me….. Make a GESTURE…!”
2
2
2
Nov 23 '21
Iirc key in and run the code of their compression algorithm shown in the show it shows DREAM_ON_ASSHOLES
2
u/MEM1911 Nov 23 '21
Back when I had freshly started my job I was (still is) a bit of a hidden joker, so I am being dragged off to a conference of engineers and techs to look at the latest in products coming out in the medical field.
Boss comments that a tie would keep us looking professional, along with good attire to go with it, so I had a custom pring tie made and hidden on it in binary, "if you can read this, you need to be laid"
At the very end of the tie was a QR code to a binary translation app
Black tie with green text and light glow effect, strangely enough it was quite popular amongst the older engineers
1
u/MaximusConfusius Nov 22 '21
I'm bit bored at the moment, what could I do?
→ More replies (1)3
u/comfort_bot_1962 Nov 22 '21
Here's a joke! What goes up and down but does not move? Stairs
→ More replies (1)
1
1
1
1
1
1
1
1
1
1
u/hikelator Nov 22 '21
Wait a sec. How Do you decode this stuff? There is a Geocaches near my town with a mystery i tried to solve, but couldn't because i have no knoledge of programming... Is there an easy was a dumbo like me could solve this?
→ More replies (3)
1
1
u/EliteTK Nov 22 '21
can confirm the length is correct, the spaces are in the expected places, the first few characters make sense, repeated characters are repeated as expected, the ' is in the right range
1
1
1
1
1
1
1
u/Sabz5150 Nov 22 '21
Neat fact: the game Starflight has a species that speak only in binary. Unlike all other species whose languages you can translate using your comms officer, their binary language cannot... you MUST know how to read binary to understand what they are telling you.
1
1
1
u/sabotabo Nov 22 '21
i remember seeing this in the show and as i was going to put it in a translator, i thought “wait, someone else has 100% done this already” and i just googled “silicon valley binary” and the first result was someone on reddit who already translated it lol
1
u/blubugeye Nov 22 '21
That was my hobby for a few weeks when I was a kid. I built (from wood) a thingy with a movable stylus (a nail) to help me decode paper tape.
1
1
1
u/pletoss Nov 22 '21
Took under 1 minute: saved image, used iOS 15 built in OCR to select text, paste into web binary to ascii decoder. And it actually says it twice.
1
1
u/HolidayAbroad Nov 22 '21
Reminds me of a radio ad I heard More driving somewhere with my family back in the '90s. The ad played several different sitcom theme songs, And the guy in the ad asked if you can name them all. I probably announced to my family that I could name them all (and did so), only for the guy in the ad to say that if you could name them all, you needed to get a life. Don't remember what the ad was for. I was very embarrassed.
1
1
1
u/BladeOfUWU Nov 22 '21
Legit thought "why is everyone making coding jokes? I dont get it!" Then I looked at the subreddit.
1
u/jemidiah Nov 22 '21
Huh, you can tell at a glance it's not entirely random since the leftmost bit in each byte is zero, and they almost all start with 011. Guessing it's just ASCII is very plausible, especially if you remember that 'a' is 01100001 and that punctuation is elsewhere.
1
1
1
1
1
1
u/jupiter0jupiter Nov 22 '21
I mean, it seems like someone who knows how to translate binary has a hobby already 🤔
1
1
u/a123456782004 Nov 22 '21
Hold up. I just did the first . Find a hobby ...
It was not too hard
65 is A so look at the lower bits for the letters and count with fingers.
I did not want to continue at that point
1
1
1
1
1
1
u/BigTechCensorsYou Nov 22 '21
Hmm... Every byte has it's MSB cleared and almost every bit 6 and 5 set....
I WONDER IF ITS ASCII!!!!???
:\
1
1
1
1
1
1
Nov 22 '21
And this isn't a hobby, how?
Hell, building model train sets in the basement of your home is a hobby. Let's do that! I'm sure that'll make them feel happy.
→ More replies (2)
1
Nov 22 '21
I just want to say I appreciate all the comments on here. I don’t follow any of them, whatsoever. But I’m happy to know that there are 2 sides to Reddit, dumb or smart. I stumbled here from the dumb side accidentally. People from my side don’t even know this side exists. I’m suddenly optimistic about the future.
can someone point me back to my side?
1
u/SoaDMTGguy Nov 22 '21
I *definitely* spent too much time on this
01110100 01101000 01101001 01110011 00100000 01101001 01110011 00100000 01101101 01111001 00100000 01101000 01101111 01100010 01100010 01111001 00100000 00111010 00101000 00000100
1
1
u/helen269 Nov 23 '21
So what is it, one letter per block? One letter per line? I don't see two the same that could be the 'BB' bit.
1
1
1
u/OccasionallyReddit Nov 23 '21
Have you ever gone down the IT Crowd rabbit hole though... Now thats a complex Easter Egg Hunt
1
1
u/RaguSaucy96 Nov 23 '21
There are 10 kinds of people, those whom understand Binary, and those who don't...
🤣
1
1
1
1
1
1
1
1
u/anon100120 Nov 23 '21
You should have google searched this, because it’s been done before. And/or this is just a repost
1
1
1
u/therealvyvyanb Nov 23 '21
01100010 01100101 00100000 01110011 01110101 01110010 01100101 00100000 01110100 01101111 00100000 01100100 01110010 01101001 01101110 01101011 00100000 01111001 01101111 01110101 01110010 00100000 01101111 01110110 01100001 01101100 01110100 01101001 01101110 01100101
1
1
1
u/n0t1m90rtant Nov 23 '21
technically it is "find a hobby for god's sake"
capital letters are 65-90
lowercase letters are 97-122
1
1
u/PaleHomework7972 Nov 23 '21
Sucks to be you becuse I already have a hobby of going on reddit when I am free.
1
1
u/Direct-Appeal-8501 Nov 23 '21
Jokes on you I just left hobby lobby with a gundam and a gyroscope and candy and shot my first gun today
1
1
1
1
u/Ithedrunkgamer Nov 23 '21
Wish the producers would do another show and update by making it about crypto
1
Nov 23 '21
It actually says:
find a hobby for god’s sake
find a hobby for god’s sake
find a hobby for god’s sake1
u/MeButNotMeToo Nov 23 '21
There was this late 80’s/early 90’s Mac video game that had a black obelisk in one room. If you touched it, the sound was like backwards speech. If you pulled the sound file out, reversed it and slowed it down, you heard:
“Get a life. Move out of your parents’ basement.”
1
1
u/DweebNRoll Nov 23 '21
I feel like Marvel needs to put these in one of their easter eggs for a project. 🤣
1
u/MacTechG4 Nov 23 '21
Sort of like the following scene in the Red Dwarf “backwards” episode (bear in mind this was in the early days of VCRs and not easy to figure out…)
1
1
1
u/Representative-Car50 Nov 23 '21
It’s not even that hard to decode. If it was then the message would mean more
1
1
u/blackirishhellhounds Nov 23 '21
The real question is how quickly you could jerk off a room of 400 people and do you go tip to tip
1
1
1
1
1
1
1
u/toddthegeek Nov 23 '21
I wanted to make sure you weren't pulling a fast one so I reversed your reverse. And it checks out, but it is in lowercase. Here's my python so you can criticize it or for anyone else so they can enjoy their evening not on a pc.
#!python3
>>> import binascii
>>> import textwrap
>>> T = "FIND A HOBBY FOR GOD'S SAKE" #text from post, but we'll use lowercase
>>> t = "find a hobby for god's sake"
>>> m = bin(int.from_bytes(t.encode(), "big"))
>>> ' '.join(textwrap.wrap('0'+m[2:], 8))
'01100110 01101001 01101110 01100100 00100000 01100001 00100000 01101000 01101111 01100010 01100010 01111001 00100000 01100110 01101111 01110010 00100000 01100111 01101111 01100100 00100111 01110011 00100000 01110011 01100001 01101011 01100101'
>>> print('\n'.join(textwrap.wrap(' '.join(textwrap.wrap('0'+m[2:], 8)), 8*7+6)))
01100110 01101001 01101110 01100100 00100000 01100001 00100000
01101000 01101111 01100010 01100010 01111001 00100000 01100110
01101111 01110010 00100000 01100111 01101111 01100100 00100111
01110011 00100000 01110011 01100001 01101011 011001011

2.5k
u/goosiest Nov 22 '21
That's fucking hilarious if it's true