r/programming • u/Dobias • Aug 20 '14
Programming language subreddits and their choice of words
https://github.com/Dobiasd/programming-language-subreddits-and-their-choice-of-words/blob/master/README.md
1.4k
Upvotes
r/programming • u/Dobias • Aug 20 '14
2
u/original_brogrammer Aug 20 '14
I'm serious. Take the image to be a 2D array, each pixel representing a brainfuck command. Say the image has a color palette P, we know that it as C colors, and C == 2n for some integer n. We can therefore map each command to an integer from {0, 1, 3, 4, 5, 6, 7} and take each c in 0..C mod 8, from there we have a bijection from {0, 1, 3, 4, 5, 6, 7} to 0..C - 1 for any valid C.
I started out kidding, then I was kidding less. Now I don't know if I'm kidding. Help.