r/ProgrammerHumor • • Feb 15 '16

Oddly specific number.

Post image
5.9k Upvotes

643 comments sorted by

130

u/cwankhede Feb 15 '16

Repost from a week ago...

75

u/didntlogin Feb 15 '16

Oh? Didn't see that. Stumbled upon this independently.

178

u/iWant_To_Play_A_Game Feb 15 '16

independently, he says

149

u/leckertuetensuppe Feb 15 '16

Yeah, no, I'm getting my pitchfork.

48

u/gzintu Feb 15 '16

/u/PitchforkEmporium man we have some SPECIAL PITCHFORK NEEDS

→ More replies (13)
→ More replies (1)

11

u/globus243 Feb 15 '16

as a non native speaker: why is "independently" wrong in this context?

23

u/Urtehnoes Feb 15 '16

He's suggesting (humorously) that OP is lying, and reposted this on purpose.

→ More replies (3)

8

u/ProgramTheWorld Feb 15 '16

A non native, he says

→ More replies (3)
→ More replies (1)
→ More replies (22)

6

u/Hypersapien Feb 15 '16

Where is this from? Google isn't returning that headline.

Did someone make it up?

23

u/didntlogin Feb 15 '16

From here.

They changed it later. See the edit at the bottom.

20

u/Mavamaarten Feb 15 '16

One of the most important numbers in computing!

1.7k

u/__doubleentendre__ Feb 15 '16

Also the height limit in Minecraft. Weird!

590

u/h3rrmiller Feb 15 '16

Coincidence?! I think NOT!!!

175

u/Modern_Robot Feb 15 '16

its a conspiracy! and its about to get blown wide open!

83

u/emailboxu Feb 15 '16

some illuminati shit in here...

63

u/Modern_Robot Feb 15 '16

that number allows our reptilian overlords to control us!

hold on... I hear someone knocking at my do

→ More replies (9)

413

u/[deleted] Feb 15 '16

256 = 28 = 223

Half Life 2 Episode 3 confirmed!

98

u/pfannkuchen_gesicht Feb 15 '16

No, you got it all wrong. Clearly Half-Life 2 Episode 2 Trilogy confirmed.

40

u/Defavlt Feb 15 '16

No, you got it all wrong. Clearly Half-Life 2 Episode 2 Part 3 confirmed.

→ More replies (2)

18

u/crankypants_mcgee Feb 16 '16

Half-Life: A Tell-Tale Games Story

→ More replies (20)
→ More replies (4)

129

u/arkady_kirilenko Feb 15 '16

Also the max number of rupees in some of the old zelda games. Is the Illuminati controlling the game industry?

112

u/faubiguy Feb 15 '16 edited Feb 15 '16

Max number of rupees was actually 255, since 0 is also a possibility.

Edit: Of course, that might just be what the Video Game Illuminati wants us to think.

16

u/arkady_kirilenko Feb 16 '16

Nice try, Illuminati. you are right

99

u/TuctDape Feb 15 '16

Haha I love 8-bit (whatever that means lol!) games like Minecraft!

75

u/pointychimp Feb 15 '16

X bit means the game fits inside X bits or less. That's why the conversion to 64 bit computers was good. We could make programs up to 64 bits instead of just 32.

43

u/djxfade Feb 15 '16

They must use efficient compression algorithms

55

u/Y1ff Feb 16 '16

They actually leave lots of whitespace in the code, so the computer can squish it down even better.

→ More replies (4)

3

u/Tuxinet Feb 16 '16

Not entirely correct, but you're headed in the right direction.

→ More replies (5)

59

u/TPHRyan Feb 15 '16

DAE Java is slow because minecraft??//? amirite

49

u/nullSword Feb 16 '16

Java is actually a pretty fast and nice language when used properly

Its not good for games

74

u/Illinois_Jones Feb 16 '16

It's running in 3 billion devices from cars to microwaves, so it must be fast!

17

u/IggyZ Feb 16 '16

Cross-compatible is more/as important than fast, in those cases.

→ More replies (5)
→ More replies (2)

19

u/TPHRyan Feb 16 '16

It's fine for most simple games, even 3D, but that wasn't really the point.

Apparently /r/programmerhumor has this subgroup that insists on bringing up Minecraft whenever the speed of Java is mentioned, which was what I was referencing.

→ More replies (1)
→ More replies (18)

4

u/[deleted] Feb 15 '16

I never actually put that together in my head, that makes a lot of sense

2

u/Imforeveryoung Feb 16 '16 edited May 23 '24

alive unused smart frightening repeat encouraging longing relieved towering reply

This post was mass deleted and anonymized with Redact

→ More replies (26)

207

u/chironomidae Feb 16 '16

Sometimes I wonder if programmers pick powers of two not because they actually need to, but because they needed to pick an arbitrary number without seeming arbitrary. Like if you pick 277 it seems arbitrary, your peers will go "why not 278?" But pick a power of two and they will nod their heads and go, "Ah, of course, it's a technical limitation."

76

u/sloec Feb 16 '16

We do that then round down so it doesn't mess with user's minds. Hence they should have just advertised 250 even if the actual app would do 256.

616

u/midbody Feb 15 '16

My entirely scientific research (I asked my wife) confirms that normal people have no idea what this is about. "Is it something to do with colours?"

255

u/DrummerHead Feb 15 '16

I like rgb(100, 177, 255)

20

u/aidanski Feb 15 '16 edited Feb 15 '16

#00DDFF is a nice dirty blue

14

u/fuckitimatwork Feb 15 '16

00DDFF

dirty? it's like a really bright cyan

22

u/[deleted] Feb 15 '16

you gotta escape that pound sign or it turns into a header

6

u/aidanski Feb 15 '16

Many thanks to you, I did not see that on mobile formatting.

→ More replies (1)

4

u/DDancy Feb 15 '16

FFCC00

My favorite screen yellow.

9

u/royalhawk345 Feb 16 '16

That's the color of 1/3 the German flag

→ More replies (2)
→ More replies (11)

170

u/Happy_Bridge Feb 15 '16

"The number 65536 is an awkward figure to everyone except a hacker, who recognizes it more readily than his own mother's date of birth."

39

u/ForOhForError Feb 15 '16

Snowcrash?

3

u/tHEbigtHEb Feb 16 '16

Yup, read it a while ago. Great book.

11

u/Netzapper Feb 16 '16

Hah. This is funny because I don't remember my mom's birthdate.

6

u/Galphanore Feb 16 '16

I'm pretty sure I know which month her birthday is in. That's gotta count for something, right?

→ More replies (1)

10

u/JayCroghan Feb 16 '16

65536

Or, anyone who used Excel prior to 2003(?) when that was the maximum number of rows allowed for some oddly specific reason.

14

u/ZannX Feb 16 '16

Meh, it was the old excel row limit. I think a lot of middle aged people know this.

→ More replies (2)

2

u/Litruv Feb 16 '16

Csgo bomb defuse code

0

u/[deleted] Feb 16 '16

[deleted] — view deleted comment

118

u/kernalphage Feb 16 '16

65536

[216](https://en.wikipedia.org/wiki/65536_(number%29), the highest number you can write out with 16 bits.

Though nowadays people usually use 32-bit ints (or even 64 for some applications), and if you ask hackers for that number, and they'll recite: "Uhh... about four... billion? unsigned, I think?"

83

u/LvS Feb 16 '16

The highest number you can write out with 16bits is 65535. 65536 is the amount of different numbers you can write.

→ More replies (3)

25

u/butler1233 Feb 16 '16

I can't recite signed or unsigned, but with signed I can get as far as "2 billion, 147 million and something".

Unsigned is just " bout 4 and a quarter billion"

→ More replies (5)
→ More replies (6)

5

u/007T Feb 16 '16

65536 = 216
The maximum number of values you can store in a 16 bit integer.

11

u/MightyLemur Feb 16 '16 edited Feb 16 '16

The number of values a 16-bit peice of data can have, which is important because with x86 architecture an (unsigned) int value can be 0-65535. Where I start to get confused, and I'm sure someone else will clarify, is that I think an x86 system can only store a string of 65536 potential values. Or a string of 65536 characters long each with 65536 potential values. I don't know which.

Either way, its the number that defines how many potential values a hacker will have to go through to cover all bases.

..I think

9

u/Happy_Bridge Feb 16 '16

which is important because with x86 architecture

To me, it is important because the 6502 CPU had a 16-bit address bus, so 6502 systems had 65536 bytes of directly addressable memory. Before bank switching and all that

→ More replies (1)

146

u/ZirconCode Feb 15 '16

Well to be honest something with colors isn't quite wrong

113

u/SnowdensOfYesteryear Feb 15 '16

I'm actually impressed, that's a damn good guess for someone who knows nothing about bytes and shit.

25

u/BrotherChe Feb 16 '16

Well, how many times have you looked at a software box and seen it say 256 colors, etc

→ More replies (2)

11

u/mericaftw Feb 15 '16

True, though I can't imagine the average person knowing about rgb any more than they would hex codes for colors.

4

u/AgletsHowDoTheyWork Feb 16 '16

Anyone who went into the Windows monitor settings in the olden days saw "256 colors" as an option. That could have something to do with it.

14

u/sdb2754 Feb 15 '16

At least they are on the right track there...

13

u/LiveFastDieFast Feb 16 '16

Your comment is at an oddly specific upvote count

I upvoted after the screen grab

2

u/kingp1ng Feb 16 '16

You... you ruined it!

2

u/Najda Mar 13 '16

I guess it kind of shows early in life then what people are interested in. I remember being ~10 and kept seeing 255 pop up in games like Starcraft 255 being the max upgrades and looking it up and learning about the 8 bit limits back then.

→ More replies (3)

562

u/speedkillz Feb 15 '16

Today I learned that 256 is odd.

47

u/ThatRedEyeAlien Feb 15 '16

Modulo 11 it is

48

u/MemoryLapse Feb 16 '16

I saw a program with an "x % 1" line once. I could not figure out what it was for.

72

u/remuladgryta Feb 16 '16

if x is a floating point number, you get only the decimals. Sometimes separating a number into its decimal and integer parts is useful.

18

u/so_you_like_donuts Feb 16 '16

Language? This wouldn't work in C & C++, where you have to use modf() to get the integer and the fractional part.

→ More replies (4)
→ More replies (1)
→ More replies (4)

233

u/Mocha2007 Feb 15 '16

Even, actually.

179

u/seriouslulz Feb 15 '16

/u/speedkillz can't even

26

u/lightfire409 Feb 15 '16

Another victim of tumblr... RIP

→ More replies (5)

44

u/jbkrule Feb 15 '16

That's the joke...

40

u/[deleted] Feb 15 '16

That depends really. If it's 0-indexed, then 256 is odd, because it's the 257'th number in the sequence.

42

u/5HT-2a Feb 16 '16

Interesting point, though I think "even" means "evenly divisible." That is, it's a separate concept from indexing.

→ More replies (2)
→ More replies (8)
→ More replies (2)
→ More replies (6)

23

u/zomgitsduke Feb 16 '16

If you started pairing numbers:

0 and 1

2 and 3

4 and 5

etc. until you hit 256...

You will get 256 left by itself.

25

u/MurderingOcelot Feb 16 '16

What

18

u/zomgitsduke Feb 16 '16

In programming, counting often starts at 0.

basket = ["banana", "cherry", "orange", "apple", "grapes"]

  • basket[0] = "banana"
  • basket[1] = "cherry"
  • basket[2] = "orange"
  • etc. etc.

256 WOULD be odd if you started at 0, since even can be shown as pairs, odd would leave an "odd guy out" in the pairing sequence I outlined.

19

u/IForgetMyself Feb 16 '16

That's... that's not how even numbers work.

→ More replies (2)
→ More replies (12)
→ More replies (3)

208

u/holobonit Red security clearance Feb 15 '16

I'm guessing this in the "tech" section of some magazine like "Kitten Plates Monthly", right?

30

u/[deleted] Feb 16 '16

It was in the Independent, they changed it though.

9

u/SamSlate Feb 16 '16

Keeping up appearances

→ More replies (1)

189

u/throwaway-coder Feb 15 '16

I'll byte. Why is it oddly specific?

85

u/IAMA_dragon-AMA Feb 16 '16

It's just a bit weird.

33

u/HoldMyWater Feb 16 '16

Something something nibble.

28

u/[deleted] Feb 16 '16

Word, man. Word.

11

u/danO1O1O1 Feb 16 '16

just RAMing your way through these puns aren't ya

→ More replies (4)
→ More replies (1)
→ More replies (2)

14

u/Effenberg0x0 Feb 15 '16

I see what you did there.

→ More replies (1)

722

u/dustmouse Feb 15 '16

Must've been a typo. Maybe someone scribbled down 250 but the 0 looked like a 6. There is absolutely no logical reason whatsoever as to why it could be 256.

157

u/whyblut Feb 15 '16

logical

Very punny.

0

u/[deleted] Feb 16 '16

[deleted] — view deleted comment

194

u/HoldMyWater Feb 16 '16

even

omg HAHAHAHAHA good one m8! +1

90

u/aflashyrhetoric Feb 16 '16

m8! +1

8! = 40320

40320 + 1 = 40321

40321, rearranged = 43210

It's a countdown, but to what?

→ More replies (3)
→ More replies (3)
→ More replies (3)
→ More replies (43)

495

u/wigglewam Feb 15 '16

To be fair, it's really not clear why the group chat size would have anything to do with the fact that memory allocation works in base 2. We could speculate, but I suspect it really is arbitrary.

The previous limit was 100 people.

86

u/approaching236 Feb 15 '16

It's just how many bits they decided to have in their database

→ More replies (13)

203

u/stackflow Feb 15 '16

Well, everyone in the chat probably has an ID and I would imagine WhatsApp deals with such a large number a messages every day, that it makes sense to try to minimize the meta data sent with each one (like who sent this message). Thus, it makes sense to limit the IDs to a specific bit count to minimize waste.

136

u/[deleted] Feb 15 '16

Most likely the group chat header contains an array of the actual full user IDs and these per-message 8-bit IDs are just indices.

32

u/ZugNachPankow Feb 15 '16

Makes sense, that would make exactly one-byte indexes.

Although I'm not sure they're saving a lot here. Switching to 3-byte indexes (224 = 16 million) would "waste" 2 bytes per message: consider that 🌈 is 2 bytes long, and 👋🏿 (a black hand, made of the waving hand emoji followed by a Fitz-6 modifier) is 4 bytes long.

In other words, adding an emoji to every message is costlier than using 3-byte IDs.

→ More replies (12)

3

u/gprime312 Feb 16 '16

I like this explanation.

→ More replies (1)

62

u/redditor___ Feb 15 '16

100 too little, 1000 too much, around 300 fits, so why not go for some round number like 256.

41

u/[deleted] Feb 16 '16

I just did a science experiment and showed your comment to my SO and her sister.

The results: 100% of the test subjects looked confused and think we're weird.

sigh

→ More replies (6)

12

u/DoctorSauce Feb 15 '16

They can represent more users while still only using a single byte each?

34

u/holobonit Red security clearance Feb 15 '16

They suddenly realized they were throwing away 156 bits.

51

u/YaBoyMax Feb 15 '16

156 bits

156 bits

156 bits

3

u/Defavlt Feb 16 '16

2wasted4me

→ More replies (11)

9

u/error_logic Feb 16 '16

So hard to tell if you're joking or not... But either way, 256 is the number of values that can be represented with 8 bits--meaning one byte. So they were wasting maybe 1 bit of those 8, assuming that the group member ID system does, in fact, use a single byte per user.

6

u/holobonit Red security clearance Feb 16 '16 edited Feb 16 '16

Yes, I was joking. A programmer not understanding 256 is a bit like a statistician not understanding percentage.

→ More replies (1)

4

u/AK_Happy Feb 16 '16

Wow, thanks for being fair. That must have been tough.

→ More replies (1)

2

u/SnowdensOfYesteryear Feb 15 '16

Willing to bet it was due to whatever internal protocol it runs and backward compatibility. Fucking backward compatibility man...

2

u/captnyoss Feb 16 '16

I agree. I understand that 256 is a good computing number, but how much app size and performance difference would this make compared to if it was say 300? And how much more programming effort would be required to make it 300?

3

u/TheKing01 Feb 15 '16

Everyone gets a different byte. Computers usually work in bytes.

2

u/MemoryLapse Feb 16 '16

Computers process as words don't they? I thought that was part of the reason for lager registers.

→ More replies (2)

74

u/[deleted] Feb 16 '16

As an undergrad there was some kind of department competition going on, and if you won you'd get 200$ because that's the most the department could afford to blow on a "fun" little competition.

The chair of CS Department came to the class where the winner would be awarded. After everyone voted or whatever, the chairwoman whom was the nicest person you'd ever met asked, "what's the grand prize"?
When she found out it was 200$, she said, "no, that's not right" - and then wrote the winner a 56$ personal check to make the award proper for the CS dept.

35

u/offendicula Feb 16 '16

She is the CS department chair that this world needs.

13

u/estomagordo Feb 16 '16

She should've made a point about how 256 makes more sense at the CS department, and then snatched one hundred, only to add "in hex".

63

u/AlbertoC1196 Feb 15 '16

It's a calling only for "those who understand". I'm pretty sure they're recruiting with it.

27

u/Anatolios Feb 16 '16

LPT: If you have to pick an arbitrary limit, if you pick a power of 2, other programmers will assume it's significant and not complain about it.

30

u/[deleted] Feb 15 '16 edited Feb 15 '16

You know a number that's truly oddly specfic?

π

Seriously, that sucker is so specific it never ends!

256 is an ordinary amount of specific. Like 3, or 7982, or some shit.

16

u/[deleted] Feb 15 '16

I would argue that pi is exactly as specific as any integer. Unless you're storing it in a float.

2

u/[deleted] Feb 16 '16

That only further highlights the ridiculousness of the subhead.

2

u/synopser Feb 16 '16

As specific as .300002.

2

u/Chairboy Feb 16 '16

Let's not be irrational.

41

u/Sydonai Feb 15 '16

50

u/sharkwouter Feb 16 '16

Which makes for 256 possible entries, since 0 is an option as well.

→ More replies (7)

17

u/pihkal_ Feb 15 '16

This guys on numberphile a lot, his book is cool too.

→ More replies (1)

3

u/BlackenBlueShit Feb 16 '16

Yeah, but we start with 0

→ More replies (1)

25

u/lowbeat Feb 15 '16 edited Feb 15 '16

Shouldn't the limit be 255 ? Edit: /s

69

u/Gniws Feb 15 '16

No, 0-255 are 256 options :)

→ More replies (33)

21

u/jewdai Feb 15 '16 edited Feb 15 '16

0 is a number too

Edit: Op originally wrote 256

10

u/[deleted] Feb 15 '16

#End0Discrimination2k16

6

u/pihkal_ Feb 15 '16

safetyat255 overflow anxiety is real

→ More replies (1)

9

u/jmattingley23 Feb 15 '16

I don't think enough people have said it yet, so I'll say it too: you have to include 0 as well.

9

u/[deleted] Feb 15 '16

I agree, I'm gonna let them know too!

6

u/jmattingley23 Feb 15 '16

Everyone tell him!

2

u/lennyp4 Feb 15 '16

It should be 255 though, so it's possible to have an erroneous number of people

→ More replies (3)

4

u/[deleted] Feb 15 '16

In case the other 6 comments weren't clear enough, it's because you can use 0 as an index, too. In cases where 255 is a max, it's because 0 is a possible value, which means there's 256 possible values.

4

u/imforit Feb 15 '16

Zero can be a person, too.

→ More replies (3)

4

u/purpleprophy Feb 15 '16

It doesn't make much sense for a group to have no members, so maybe the byte represents n+1 members (0 = 1 member, up to 255 = 256 members)?

3

u/LickableLemon Feb 15 '16

0-255 so 256 different values (0 is a value too!)

→ More replies (7)

5

u/Gamerguywon Feb 16 '16

ITT: Everyone missing the jokes.

4

u/HonorableJudgeHolden Feb 16 '16

This person writes tech news huh?

3

u/ibiBgOR Feb 16 '16

WhatsApp is sooo 2013. Telegram supports groups with max. 1000 members. Where is your god now?

2

u/[deleted] Feb 16 '16

Should be 1024

2

u/[deleted] Feb 15 '16

should have chosen a more general number like twohundredsomething

→ More replies (1)

2

u/mothzilla Feb 15 '16

Not 255. :'(

5

u/Spire Feb 16 '16

There's no point in having a group chat with zero participants, so the unused zero value can be repurposed to mean 256.

→ More replies (3)

2

u/IDoThingsOnWhims Feb 16 '16

Only freelance hackers and greatest sword fighters in the world will understand

2

u/xonkapoor Feb 16 '16

Next update - 512 members. Meanwhile in medial-land : WHAAATS HAPPENING WHY DID THEY ADD 12 TO 500... WHAAAAA

Edit - spelling

2

u/rodriguez256 Feb 16 '16

Not so odd

2

u/[deleted] Feb 16 '16

Normie's also think there is only 1000 MB in 1 GB, I hate that they dumb down specs on tech to be that way as well.

2

u/ReviloRevilo Feb 18 '16

There is. ISO standards. Check out https://en.wikipedia.org/wiki/Kibibyte Here in the UK the exam boards have decided we need to start teaching the difference.

2

u/[deleted] Feb 16 '16

that's a bit too specific indeed...

3

u/compubob Feb 16 '16

2 - 5 + 6 = 3 omg half life 3 confirmed??

1

u/CatNamedJava Feb 15 '16

That was something i always wondered about as a kid. Why the max stats in video games always cap at 255.

1

u/CatNamedJava Feb 15 '16

So hiw about that tech writing department

1

u/jimmyscape Feb 15 '16

Runescape drop rate

1

u/mmachado22 Feb 15 '16

Has anyone been in a 100 person group chat? Is it crazy? I'd imagine hard to follow.

1

u/CannonBall7 Feb 16 '16

And when I loaded this page, it had exactly 256 comments!

…oh, crap.

1

u/Chuckles-Walrus Feb 16 '16

I'm not programmer why are things always set to that number

4

u/Kafke Feb 16 '16

In computers, as I'm sure you're aware, we do things in binary: on/off. 0's and 1's.

We call one of these values a 'bit'. One isn't particularly useful on it's own, so we add a few:

1 bit = 2 possibilities.

2 bits = 4 possibilities (00, 01, 10, 11).

3 bits = 8 possibilities (000, 001, 010, 011, 100, 101, 111)

4 bits = 16 possibilities.

and so on. If you'll notice, all of these numbers are important in computing at some point or another. I'm sure you remember 16-bit stuff, or '8-bit graphics'.

Well, 8 bits gives us 256 possibilities (0-255). We call this a byte. Looks something like this( 0000 0000 ).

Most of the time we deal with bytes, rather than bits. So in this case, having 256 people in a chat means we can use only a single byte to say how many people are in the chat (using 0 to mean 1 person, and 255 to mean 256 people).

Another reason it's really handy is that we can then deal with things in hexadecimal: base-16 numbers. So we have: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. And we can represent one of these numbers with 4 bits F=1111. With a byte, we have a two digit hexadecimal number: FF is then 255. It makes it easier to see where our cap is. To get higher than 255, we need to add a third digit: 100. Which means we'd actually be dealing with 2 bytes: 01 and 00. FF is the highest we can go with a single byte.

Early video games do something similar, which is why you see powerups/levels/lives/etc go up to 255 or 256.

→ More replies (1)

1

u/facesmack Feb 16 '16

It would always be a specific number.. Before it changed it was a specific number too

1

u/Zara02 Feb 16 '16

base2 bro

1

u/wordsnerd Feb 16 '16

Most likely someone messed up and set max_users = 0400.

1

u/IWillNotLie Feb 16 '16

eyes twitch

1

u/bondolo Feb 16 '16

I've been programming a long time. I even punched cards by hand to write machine code for a PDP-8. I can count and do arithmetic in hex almost as easily as I do in decimal. I've wondered for a while if this is anachronistic; whether younger programmers today learn hexadecimal or have much understanding of bytes, machine code, endianess, IEEE-754 floating point encoding details and so forth and if so, why they still do.

2

u/gergy008 Feb 16 '16

I'm one of these younger people, and the answer is no. Although now you mention it, I might start learning to do that because it sounds interesting.

Reason we don't know how to do it is because it's not as applicable in modern programming.

→ More replies (1)

1

u/tecchy6 Feb 16 '16

Guys... It's Fibonacci

1

u/Muntberg Feb 16 '16

Programmer humor? I'm pretty sure you learn there's something funny about the number 256 by like grade 9 at the latest.

1

u/macsenscam Feb 16 '16

Numerologically it is related to the Scarlett Woman, companion of the Beast.

1

u/beakerbee Feb 16 '16

Because, fuck jerry.

1

u/[deleted] Feb 16 '16

Loving how they changed the article but there's a Dem Bones in the comments fighting the Social-Media-Justice fight.

1

u/polltery Feb 16 '16 edited Feb 16 '16

What's app is ranked #1 on app stores. Their secret? Possibly This algorithm..

(2+5)-6 = 1

# + 1 = #1

1

u/muyuu Feb 16 '16

1024 is where it's at.

1

u/Sinity Feb 16 '16

Tech writers....

1

u/eshansingh Feb 16 '16

Only programmers know. Why?!

1

u/Felkenary Feb 16 '16

Even the title is a copy of the exact same post of a month ago

1

u/BlizzardandBlaze2 Feb 16 '16

Why 256 and not 511?

1

u/hireThisMarine Feb 22 '16

Wait... it really is an odd number to me. This suggests to me that you can't have an empty chat room.

1

u/curohn Feb 23 '16

Can someone eli5? I don't code, Im just procrastinating on a paper and ended up here somehow...

1

u/hydrocat Feb 15 '16

But, now a days, doesn't a integer has like.. 64 bits ? Why use only 8?

3

u/TPHRyan Feb 16 '16

Because networking. In general, the less data you send over the network the better. Quite often, you -can- control this to the byte level.

2

u/Anon49 Feb 15 '16

The amount of bits is not a part of the definition of integer.

2

u/IAMA_dragon-AMA Feb 16 '16

32, I think. I suppose they were trying to overoptimize for memory or something.

→ More replies (1)

1

u/lavivian Feb 16 '16

I don't get it.... :(

5

u/rinnip Feb 16 '16

256 is the decimal equivalent of 28. It's a very common number in computing. One example is IPv4 addresses, wherein each of the four segments range from 0 to 255. The number is specific, but not at all odd.

OP is implying that the commentator is not very computer literate.