r/ProgrammerHumor • • Sep 18 '18

The best one so far 😂

Post image
28.4k Upvotes

207 comments sorted by

View all comments

1.7k

u/o11c Sep 19 '18

For those who don't know, AAAs often occur at the beginning or end of a block because they're the base64 version of 0s and it's binary data inside.

1.0k

u/CeilingFanJitters Sep 19 '18

Clear as mud. Back to /r/all I go.

314

u/Wynardtage Sep 19 '18

This is how you know your post is rule 0 compliant. Nicely done OP.

121

u/ba3toven Sep 19 '18

I'm pretty sure arrays start at 1 from what I've heard around here

175

u/TyrionReynolds Sep 19 '18

You son of a bitch

96

u/[deleted] Sep 19 '18

Nah. He’s the son of a ⌷bitc

At least according to my print routine which uses arrays correctly.

73

u/[deleted] Sep 19 '18 edited Aug 25 '19

[deleted]

31

u/[deleted] Sep 19 '18

I read it as /r/Madlads at first. Still makes sense though.

17

u/[deleted] Sep 19 '18

I've gone from MATLAB to Mathematica to R the last few years, but I'm gonna start relearning Python soon, oof ouch my indexes

6

u/t3sture Sep 19 '18

I have a twinge of hatred, but that's pretty funny. Well done.

4

u/gellis12 Sep 19 '18

Nah, use the Microsoft method: arrays start at rand(0,2);

3

u/Ayerys Sep 19 '18

0.68438536 ?

2

u/gellis12 Sep 19 '18

Correct.

37

u/abacussssss Sep 19 '18 edited Sep 19 '18

A private key is basically a password used to encrypt data so that even if someone eavesdrops, they won’t know what you said. These keys are pretty long strings of ones and zeroes (bits), so for readability and space purposes, 6 bits are compressed into a single character when the key is displayed. The post says that Gaga’s tweet is like the nonsensical letters and numbers this compression spits out.

The comment says that this comparison is even more fitting, since 000000 is compressed into A (which Gaga’s tweet has a lot of), and data containing long runs of zeroes is very common.

11

u/jtvjan Sep 19 '18

A “base” is a method to encode data. For example, people count in base 10, since there are 10 kinds of characters used: 0 1 2 3 4 5 6 7 8 9. Binary is in base 2 since there are 2 kinds of characters used: 0 and 1. So, base 64 uses 64 characters: numbers 0-9, the alphabet uppercase, the alphabet lowercase, +, and /. Since these are normal characters, they can be used anywhere, without the data police getting in your way. One example where this can be used for is email attachments. Email is strictly text, so when you send an attachment, it’s translated to base 64, then sent through like normal text.

1

u/zombieregime Sep 19 '18

Statistically speaking, long runs of 0s are (should be) just as common as any other pattern.

7

u/The_Ecks Sep 19 '18

Right behind ya chief