Omnimaga
General Discussion => Other Discussions => Humour and Jokes => Topic started by: Albytok on January 17, 2013, 03:10:50 pm
-
In this thread we shall discuss the various implementations of the
FIBONACCI BUTTSORT
-
what is this I don't even also rainbows everywhere?
-
According to the interwebz : "it involves zipping the string with a cycled list of the underline and overline function"
-
Yeah, I was planning on using a regular buttsort, but overline doesn't work on this forum...
-
(http://cdn.memegenerator.net/instances/400x/30615226.jpg)
-
I AM NOT GOING TO TELL YOU ANYTHING! MY METHODS SHALL FOREVER REMAIN A MYSTERY!
Edit: Here's the code for the rainbow buttsort, written in python.
#rbuttsort.py
# FOR PRODUCING A (RAINBOW) FIBONACCI BUTTSORT
ctags = ['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'purple',
'indigo', 'blue', 'green', 'yellow', 'orange']
out = ''
i = 0
print 'What would you like buttsorted today?\n',
sentence = str(raw_input(">>> "))
for x in sentence:
if x == ' ':
out = out + ' '
continue
i = i + 1
if i > 11: i = 0
out = out + '[color=' + ctags[i] + ']' + x + '[/color]'
f = open('out.txt', 'w')
f.write('[b][i]' + out + '[/i][/b]\n')
f.close()
print 'Enjoy your buttsort.',
-
My browser censors all-caps words D:
-
str(raw_input(">>> "))
Is that really needed? Couldn't you leave str() out of that since raw_input() returns a string anyways? O_o
-
Wut is a buttsort?
and albytok, I find that profile picture... mildy disturbing *.*
-
Buttsort? O.O
What's that supposed to mean :P
-
I believe it's just cool graphical text (like wordart)
-
I'm glad that I'm not the only one who's at a loss with this thread. What's the joke? ??? And what in the world is a buttsort ?
-
Could this thread be just simply declared as spam? :P
-
Wut is a buttsort?
Buttsort? O.O What's that supposed to mean :P
And what in the world is a buttsort ?
Basically this
According to the interwebz : "it involves zipping the string with a cycled list of the underline and overline function"
Image:
(http://www.anonmgur.com/up/e9bd2bc51f34a551a9aea26c3e67eb10.png)
-
Interesting. This is mildly confusing because the name sounds like a joke, but still it's pretty interesting.