Omnimaga

General Discussion => Other Discussions => Humour and Jokes => Topic started by: Albytok on January 17, 2013, 03:10:50 pm

Title: FIBONACCI BUTTSORT
Post by: Albytok on January 17, 2013, 03:10:50 pm
In this thread we shall discuss the various implementations of the

FIBONACCI BUTTSORT
Title: Re: FIBONACCI BUTTSORT
Post by: Juju on January 17, 2013, 04:34:00 pm
what is this I don't even also rainbows everywhere?
Title: Re: FIBONACCI BUTTSORT
Post by: Adriweb on January 17, 2013, 04:36:15 pm
According to the interwebz : "it involves zipping the string with a cycled list of the underline and overline function"
Title: Re: FIBONACCI BUTTSORT
Post by: Albytok on January 17, 2013, 06:53:32 pm
Yeah, I was planning on using a regular buttsort, but overline doesn't work on this forum...
Title: Re: FIBONACCI BUTTSORT
Post by: Xeda112358 on January 17, 2013, 07:03:58 pm
(http://cdn.memegenerator.net/instances/400x/30615226.jpg)
Title: Re: FIBONACCI BUTTSORT
Post by: Albytok on January 17, 2013, 07:14:55 pm
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.
Code: [Select]
#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.',
Title: Re: Re: FIBONACCI BUTTSORT
Post by: DJ Omnimaga on January 17, 2013, 09:15:06 pm
My browser censors all-caps words D:
Title: Re: Fibonacci Numbers Rock
Post by: Xeda112358 on January 17, 2013, 09:24:21 pm
Code: [Select]
str(raw_input(">>> "))
Is that really needed? Couldn't you leave str() out of that since raw_input() returns a string anyways? O_o
Title: Re: LOLWUT
Post by: Roboman on January 17, 2013, 09:26:52 pm
Wut is a buttsort?
and albytok, I find that profile picture... mildy disturbing *.*
Title: Re: FIBONACCI BUTTSORT
Post by: epic7 on January 17, 2013, 09:36:35 pm
Buttsort? O.O
What's that supposed to mean :P
Title: Re: FIBONACCI BUTTSORT
Post by: pimathbrainiac on January 17, 2013, 09:39:36 pm
I believe it's just cool graphical text (like wordart)
Title: Re: FIBONACCI BUTTSORT
Post by: TIfanx1999 on January 18, 2013, 12:21:22 am
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 ?
Title: Re: FIBONACCI BUTTSORT
Post by: Sorunome on January 18, 2013, 12:38:15 am
Could this thread be just simply declared as spam? :P
Title: Re: FIBONACCI BUTTSORT
Post by: Albytok on January 18, 2013, 11:48:50 am
Quote
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)
Title: Re: FIBONACCI BUTTSORT
Post by: Juju on January 18, 2013, 01:44:09 pm
Interesting. This is mildly confusing because the name sounds like a joke, but still it's pretty interesting.