Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "binary"
-
So, my wife sends me this picture because our car had 111,111 miles on it. Of course she called me a nerd when I told her, "That is awesome because if you ignore the .3 on the trip odometer it is 63 and that in binary is 111111"8
-
EDIT: devRant April Fools joke (2018)
-------------------------
Hey everyone! As some of you have already noticed, @trogus and I made a decision (based on the suggestion of some members of the community) to start transitioning all scores on the app to binary. We have started by making all user scores in our mobile apps and website (if you’re logged in) appear in binary. We think this makes the app more fun while remaining usable at the same time!
Please let us know what you think and happy binary-reading!92 -
Happy today! 13th of September. The 256th day of the Year, that equals to 11111111 in Binary. Finally, Happy Programmer’s Day, The people who Dev & Rant 😍🤗🎂7
-
Math teacher: 1+1=?
Me: one zero
Math teacher: wrong!
So i gived to her my calculator (in binary mode :-) )
Me: check the answer.
Math teacher: [saw 1+1=10 on calc] thinks about 10 seconds LOL then says: you calculator is broken!18 -
There are 11 types of people: those who understand binary, those who don't, and those who are tired of seeing this binary joke.6
-
Was letting my five year old cousin play on my laptop today. She was writing numbers in notepad, and after typing '123', she erased them because she wanted to start over from 0 instead.
Later she started typing 1 and 0 repeatedly in random sequence.
She may be a robot. Either way, I sense a bright future ahead for her.2 -
Had this conversation the other day:
Girl: So, what do you do?
Me: I'm a Software Developer.
Girl: So you write 1 and 0 all the day?
Me: Yes!
----
I actually work with C#3 -
There are 10 types of people in the world: those who understand binary, those who don't, and those who weren't expecting a base-3 joke!2
-
girl friend: What kind of stripper would you want for a Bachelorette party?!?
me: no stripper...
girl friend: like a coding stripper?
me: what?
girl friend: he'd come out and be like, one zero one one zero one...
me: I love that you think I code in binary hahaha
girl friend: like the matrix!
me:
*pauses*
*contemplates explaining what binary is*
yes, like the matrix
:D6 -
Holy. Fucking. Shit.
++111111110 on devrant. This is my moment to shine, my account completely blew up. I am the Elon Musk of devrant. I am the coolest bitch on this website, bow before me you peasants!
... wait, is this binary?7 -
There are 10 types of people in the world. Those who understand binary and those who have regular sex.3
-
There are 10 types of people in this world.
Those who understand ternary , those who don't and those who thought this was going to be a binary joke.4 -
There are 10 types of people in the world. Those who understand binary and those who have regular sex.7
-
Damn!
Sometimes I just wonder about the level of customization you get at Linux. You can't even imagine a desktop that looks like this on Windows.37 -
Interviewed with Amazon, panicked and ended the interview apologizing for wasting the guy's time on a simple binary search question.11
-
Halfway through a timed midterm (no computers or calculators):
Convert this 5-digit decimal number to binary
Convert this 10-digit decimal number to binary
Convert this 20-digit decimal number to binary
Convert this even longer decimal number to binary11 -
My toddler is still learning to speak. We know some numbers now. Today he was counting items on the table, and I quote [with LT->EN translation]:
ZERO
ONE
TWO
THREE
I guess I'm doing something right as a parent. Proud of him and myself .22 -
Co-worker: "We would appreciate it if your future commits weren't so ignorant and bigoted"
Me: "Excuse me?"
Co-worker: "You made the gender variable a boolean"
I... But... Okay...13 -
My car gets horrible miles to the gallon. Put hundreds of gallons in and have only gone 17 miles 😩9
-
WOW, I can't believe I left for a while and I got that many ++'s!
It's insane!!!
Wait...
Why does it only have ones and zeros?
Fuck, it's in binary 😭😭😭😂1 -
Freinds/Family: You study computer science?
Me: Yeah
Friends/Family: so you write in 1s and 0s all day? How do you do it?
Me: *Rethinking choice in friends*9 -
You are asked by airport security to balance this binary tree to prove you're a programmer. How fucked are you?13
-
I remember while back in studies (Computer Science) we were learning binary logic and such. When the person next to me (albeit learning Business Information Systems) asks "What does binary have to do with Computers?"2
-
!rant
Few days ago I’ve had a room in a very '80s looking hotel in Poznań. Room number 11 on 10th floor. What a coincidence in their numbering...4 -
Cleaned up my Facebook timeline.. I actually posted a “there are 10 types of people..” joke back in 2011..
Shame on me...4 -
So this is my homework, I have to convert Hexadecimal to Text! And I can also convert the Hexadecimal to Binary!! I LOVE THIS STUFF6
-
If your code does not compile, because you inserted a dot instead of a comma or vice versa, you fucked up a bit3
-
Computer Scientists put the root at the top of their trees because they've never been outside to see what a real tree looks like3
-
As a follow-up to my comment on this rant: https://devrant.com/rants/1029538 I want to share with you my new project: BinToBmp!
It converts any file into a beautiful bitmap image illustrating all bytes as pixels. Each byte indicates an index to a color table (very happy bitmap makes it this simple).
Useful? No. Fun to make? Hell yeah!
Take a look at it on my github page:
https://github.com/Forside/BinToBmp
Download:
https://github.com/Forside/...
Print your favorite song and hang it on the wall or make a shirt from your latest compiled application. So many possibilities!
More infos in the readme.
Updates coming soon :)
P.S.: The image displays the converted jar.32 -
"Instead of adding an extra bit for counting to higher numbers we could just start counting from 0 again and use the additional bit to show that we count for the second time"
My tutoring student just invented counting.1 -
What grinds my gears:
IEEE-754
This, to me, seems retarded.
Take the value 0.931 for example.
Its represented in binary as
00111111011011100101011000000100
See those last three bits? Well, it causes it to
come out in decimal like so:
0.93099999~
Which because bankers rounding is nowstandard, that actually works out to 0.930, because with bankers rounding, we round to the nearest even number? Makes sense? No. Anyone asked for it? No (well maybe the banks). Was it even necessary? Fuck no. But did we get it anyway?
Yes.
And worse, thats not even the most accurate way to represent
our value of 0.931 owing to how fucked up rounding now is becaue everything has to be pure shit these days.
A better representation would be
00111101101111101010101100110111 <- good
00111111011011100101011000000100 < - shit
The new representation works out to
0.093100004
or 0.093100003898143768310546875 when represented internally.
Whats this mean? Because of rounding you don't lose accuracy anymore.
Am I mistaken, or is IEEE-754 shit?5 -
Uggg..... I'm trying to encode a binary file in Python which may be an image or may be an executable, and then decode it back into a file (I plan on editing it in the middle, but baby steps for now..) but nothing is working!!
My plan is to:
Open binary file.
Decode as base64, or something else that could easily handle binary.
Convert byte data to string (for editory perpousos - I won't be editing bytes, I'll be doing custom encoding but that's irrelevant for this test)
Convert back to a byte string/array (with .encode(), probably)
Write to file.
I do this, yet the output has been altered... Though I haven't touched anything..
It's so enfuriating.. x.x18 -
Code it in binary
(My friend claims to code in binary, is this an actually applicable thing or just a novelty thing to impress people?)17 -
Is this a bad way to traverse corners of a cube?
The objective is obvious from the context and I assume that programmers know how binary works.10 -
So, my car's odometer finally rolled over to 100,000 here a couple weeks ago. Been having fun watching it hit various binary values again (100001, 100010, etc.).
-
If someone like @ptls44 missed the april fools joke or wants the binary upvotes back, here's a quick script I did: https://github.com/7twin/...10
-
Did you know german was turing complete?
(Not really)
Do you know german?
(Probably not)
Learn today:
http://esolangs.org/wiki/german3 -
Just thought I'd share what I've been working on lately.
Heap: https://repl.it/@AmyShackles/Heap/...
Array: https://repl.it/@AmyShackles/...
Binary Tree: https://repl.it/@AmyShackles/...
(I'm so freaking tired.)7 -
"Our central servers firewall has been breached" - Doesn't even work on a server or anything, just his laptop
"How many proxies do we have left?"
"Around 10.200"
I don't take responsibility for any brain damage -
Today I celebrate nice round birthday 100000b. There will not be another one like this for 32 years.8
-
Given the interest in @MrMarlin's post yesterday I decided it would be fun to make a binary clock.
Here you go:
https://kyran-gostelow.me/misc/...1 -
I was going crazy for not understanding it.
I went to binary to decimal converters.
I tried applying my own messed up logic.
I was about to post a rage rant.
Now i realized how it works.. fml
And yes, i took a picture of my monitor, enjoy eye cancer :)12 -
01001000 01100101 01101100 01101100 01101111 00101100 00100000 01010111 01101111 01110010 01101100 01100100 001000019
-
So, the last days I saw a few posts here about binary clocks. Somehow I wasn't able to read them, until I read a comment they had to be read horizontally.
As far as I know binary clocks are supposed to be read vertically. Am I missing something? 🤔5 -
Got an exam next friday, 1/3 of the points are given by calculating decimal numbers to binary numbers1
-
Interviewer: Implement Binary Search on a Linked List
Me: * did so on the whiteboard *
Interviewer: *irritated* This is complete BS
Me: Yes, a complete Binary Search 🙂6 -
There are 10 types of people in the world: those who understand ternary, those who don't and those who were expecting the binary joke ;)
-
Just saw 10000 under my icon and thought of it as a bug in website. With hopes I went on to customize avatar.
2 single digits have never made fun of me that bad. -
You know that the Algorithm & Data Structure exam is coming, when you start traversing binary search trees in your sleep2
-
//First rant
So I've been working trying to get a file exporter for a binary file format mostly reverse engineered - 2001 Super Monkey Ball 2 (GameCube) if anyone's interested.
Everything works fine, goals show up in the right places, wormholes work as intended, etc. That is everything, except every single level you create will be invisible, or crash (Depending on which version of Dolphin emu you use).
This happens whenever trying to specify object names for 3D objects. I checked, all the many offsets seem correct, Object names are correct. Tried both null terminated strings and fixed 80 character strings - nothing.
Some other guy also made an exporter that works, however the code is an absolute mess - basically unreadable. It also lacks some newer parts of the file spec, which is the main reason as to why I'm rewriting it.
And as I'm working with an almost entirely unheard of file format, there are few people to go to for help. The 2 I know who are also familiar with the LZ file format have no idea either...
Sigh.1 -
01000110 01110101 01100011 01101011 00100000 01011001 01101111 01110101 00100000 01000001 01101100 011011007
-
What will happen if every school starts teaching with binary numbers before the easy decimal number system?
I think it would be challenging initially but it can have a much greater impact on how we think and it can open a completely new possibility of faster algorithms that can directly be understood by computers.
The reason people hate binary systems is that all their life they make the decimal system a habit which makes them reluctant to learn binary systems into that much depth later on.
Just a thought. But I really believe if I would have learned the binary system before the decimal system than my brain would see things in a totally different way than it does now.
It sounds a little geeky yet thoughtful13 -
"Open-Minded Programmer Only Works In Non-Binary Code"
https://babylonbee.com/news/...
An oldie but a goodie, especially relevant with the recent python controversies.6 -
01010111 01100101 00100000 01001100 01101111 01110110 01100101 00100000 01100100 01100101 01110110 01010010 01100001 01101110 01110100 001000011
-
Y'know, up until now, everyone was just bragging about who has the most ++s... (I'm kidding, that didn't really happen... I think...?)
But now that we have ++s in binary, we can literally brag about who has the LONGEST... string of ++s.
Not... something else. ( ͡° ͜ʖ ͡°)
Oh well, size doesn't matter anyway.
Happy Easter/April Fools! °u°2 -
There are only 10 types of people in the world:
Those that understand binary and those that don't.1 -
I honestly treat JavaScript as a binary executable format nowadays. It's an output format for me.
I choose you, TypeScript.4 -
101010001010101000101010101110101001000101010101010001010101110101010101010010010100101010101010
Well! Joke was in Binary 😋2 -
So the binary reputation easter egg is finally over
I won't forget my first confusion when i saw this and assumed that there are tyrants everywhere xD3 -
To people who like binary and numbers!
I didn't touched JavaScript in like 2 months or so.
For me it's a lot because I'm not that good. And last week at uni I learn numbering systems, and how to convert a decimal base number into other bases.
So I thought, what better way of practicing JavaScript and math, than doing a program that does it!
So yeah, I made a function that turns decimal numbers into binary ones!
To me it's a HUUUGE step!
It's probably not the prettiest code (I'll refactor it other day), but here it is if you want to see (GitHub):
https://github.com/joao-neves95/...3 -
When I fail at a Rant and have to delete it out of shame and repost 😢
bug fix: 01101100 01101111 011011002 -
Code aint binary, make it like a short story so that others enjoy to read instead of doing headbangs
-
What did Google backup and sync do to my Mac!!! Binary files IN THE TRASH! MY BINARY IS IN THE TRASH!6
-
Everybody born in 1984 must be a fantastic programmer (including me 😎), because when the year will be a power of 2, their age will also be a power of 2.
2048 = 2^11
2048 - 1984 = 64 = 2^62 -
I was bought into emergency medical care today morning. I feel sad coz I see all these posts on binary ++ but I missed it 😭😭 damn :-(5
-
Is it just me or is everyone thinking the binary ++ counter is a good idea?
I think it’s really cool because it sort of hides the number of ++ you have behind a wall of laziness. Like people probably aren’t going to convert every score and I personally just look at the length of it as a rough estimate of how upvoted a user is.
I think this really helps eliminate the “likes contest” that can come with other social media. (And as a result reduces spam that is posted/reposted just to get likes)
Anyone agree? Disagree?5 -
Lol, devRant good move by converting all the likes that one had received into binary system.
Rejigged old memories of converting binary to decimal at undergrad classes. 😂😂😂 -
binary counting w/ emoji
0 ✊
1 👍
2 ☝️
3 👆
4 🖕
5 🖕+👍
6 ✌️
7 ✌️+👍
8 ... 17
18 🤘
19 🤘+👍
20 ... 27
28 👌
29 ✋-☝️
30 ✋-👍
31 ✋2 -
01001001 00100000 01101010 01110101 01110011 01110100 00100000 01110111 01100001 01110011 01110100 01100101 01100100 00100000 01111001 01101111 01110101 01110010 00100000 01110100 01101001 01101101 01100101 001000011
-
Will I be classified as the weird uncle if i want to teach my nephew how to understand binary? (Thinking)
A 1 || 0 would suffice1 -
Hey girl are you into PDA? Because I've constructed a Pushdown Automata that can generate binary palindromes.1
-
There are 11 kinds of people, who understand binary, who don't understand binary and who are tired of hearing this shit
-
Why do people say Binary to ASCII? Shouldn't they say, "Binary to readable text through/using ASCII"?2
-
the most interesting question tech interveiwers should ask a job applicant should be "we want you to balance a red and black tree using bash"2
-
There are 10 types of people in this world.
Those who understand ternary, those who don't and those who thought this was going to be a binary joke.1 -
I cannot afford one more keystroke. Coding is exhausting! I need the warmth of my bed.
*sighs* I hope I don't dream in binary again.3 -
Joke 1: A good horse is expensive. A Trojan can be more expensive.
Joke 2: She: "Do you love me?"
He: "!yes, babe"
(! = not)7 -
People that commit large binary files to subversion... sigh...
(Banging head on desk waiting for binaries to finish downloading)2 -
If you think root is at the top of the tree not at the bottom then you're already my close friend.
#CodingForLife -
01001000011001010110110001101100011011110010110000100000011101000110100001100001011011100110101100100000011110010110111101110101001000000110011001101111011100100010000001110111011000010111001101110100011010010110111001100111001000000111100101101111011101010111001000100000011101000110100101101101011001019
-
Person: is it possible to learn binary?
Another person:
Yes.
Here's the dictionary: 0=0 1=1😏
Ps this is stolen from a quora quote
https://quora.com/Is-it-possible-to...
¯\_(ツ)_/¯ -
I know it's not really related to development, but I got in a discussion on twitter and one dude tweeted "in science, 1 isn't 1"
And so I was like "mate what? science is highly dependent on math and in math, 1 is kinda always worth math"
And this this girl comes in and just says:
"it's not true that 1 is always 1 because there's binary code as well"
And was was like totally astonished, like, have you even studied something? 1b = 1d = 1x and it's always 1 in whatever base!
(she even says she's some sort of engineer in her bio)8 -
01110011 01101111 01110010 01110010 01111001 00100000 01100110 01101111 01110010 00100000 01110111 01100001 01110011 01110100 01101001 01101110 01100111 00100000 01111001 01101111 01110101 01110010 00100000 01110100 01101001 01101101 011001013
-
Mindfuck thoughts with @viralparmardev Ep. 69
Every piece of code
in every possible language
is syntactic sugar for Binary.5 -
If someday god lands on earth, How are we even gonna explain him binary? Won't he need extra tuitions for learning all these concepts?
Or maybe he's just gonna yell fuck this shit, I'm going back home!3 -
!rant
So I decided to collab with a website's maker (who i wont name here) to create something like r/place. (not an exact copy.)
I decided to start by learning their API, and customizing the server later.
I asked the guy for some help, and HOLY SHIT.
Let's start off by this: I had to request a chunk. The response data was in binary. 4 bits meant 1 pixel, so right away, I had to deal with that in my code.
No problem, just decided to use C# instead of JS. (see https://www.devrant.io/rants/547013)
I was finally done after a couple of mental breakdowns, and decided to implement updates.
I needed to use webhooks, and that was completely fine. But when I got "C1FFFF0000CA06" as response (in hex), I seeked some help.
C1 is the operation type: it means that a pixel was updated.
FFFF and 0000 were the chunk coordinates. But remeber: it's a signed integer. Guess what, I had to use Two's compliment. I decided to be a lazy asshole and only check for "00000000" because I was only displaying chunk 0,0.
CA06: This is a weird one. It's 2 bytes, and CA0 contains the X and Y coordinate of the pixel (in the chunk), and 6 contains the new color of the pixel.
I was sent the following code to work with 0xCA06:
color = 0xF & buffer
x = buffer >> 10
y = (buffer >> 4) & 0x3F
So I tried to do it, and it didn't work. I'm not blaming the developer of the server (original dev is reddit) because maybe I screwed up, but which guy will have a night of frustration and debugging?
Me.
P.S.: Dev, if you see this, I'm sorry. This API is way too complicated. I know we need to save bandwith and stuff, but damn.1 -
Simple binary questionnaire;
http://corona-nlp.ngrok.io.ngrok.io
The application is:
0 - Garbage
1 - Good enough6 -
You know most coding languages (Except binary) if I am not mistaken had to be coded. That's something to sink you teeth into (;3
-
Fill it in!!!undefined binary software engineer engineering computer science coding programming programmer nerd rant devrant6
-
Recently had trouble with some SQL. My tests would not pass, so I had to manually run it to debug it.
SELECT * FROM a JOIN b ON [...] WHERE b.foo NOTNULL
Yielded 0 of 3 rows. Expected 1
Tried querying WHERE b.foo ISNULL instead. Would have expected 2 of 3 rows, but got 1.
After googling i discovered that comparing with NULL does not return a true/false binary description, but may also return unknown if the type is not a NULL type, e.g. 42 ISNULL =" UNKNOWN
😳 -
A movie about a developer will be black and white. Either black should exist or white. Both appears to co exists but in reality may be not.2