The most complex piece of source code you have ever seen / written.

Started by
16 comments, last by Antony Paul 21 years, 7 months ago
quote:Original post by Beer Hunter
this


Dear God, I think that one should win first prize. Besides being insanely complex and well nearly impossible to understand, it somehow turns out to be ascii art of a 3D bar graph !!!!!



_____________________________

And the Phoenix shall rise from the ashes...

--Thunder_Hawk -- ¦þ
______________________________

[edited by - Thunder_Hawk on September 1, 2002 3:15:29 AM]
______________________________________________________________________________________The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ"So. Any n00bs need some pointers? I have a std::vector<n00b*> right here..." - ZahlmanMySite | Forum FAQ | File Formats______________________________________________________________________________________
Advertisement
quote:Original post by Furion
Here''s the most complicated code I''ve ever written:

#include <iostream>

int main()
{
std::cout "Hello World!\n"

return 0;

}


AND IT DOESN''T EVEN WORK, LOL



Try

std::cout << "Hello World!\n";

You were missing the bitshift operator and the semicolon

Ken Murphy
"Hello world", in <A HREF=http://www.mines.edu/students/b/bolmstea/malbolge/>Malbolge</A> (from <A HREF=http://www.acooke.org/andrew/writing/malbolge.html>here</A>:


  (=<`$9]7<5YXz7wT.3,+O/o''K%$H"''~D|#z@b=`{^Lx8%$Xmrkpohm-kNi;gsedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543s+O<oLm  


The "99 bottles of beer" program in <A=HREF=http://www.muppetlabs.com/~breadbox/bf/>Brainfuck</A> is pure evil (taken from <A HREF=http://99-bottles-of-beer.ls-la.net/b.html>here</A>:


  >+++++++++[<+++++++++++>-]<[>[-]>[-]<<[>+>+<<-]>>[<<+>>-]>>>[-]<<<+++++++++<[>>>+<<[>+>[-]<<-]>[<+>-]>[<<++++++++++>>>+<-]<<-<-]+++++++++>[<->-]>>+>[<[-]<<+>>>-]>[-]+<<[>+>-<<-]<<<[>>+>+<<<-]>>>[<<<+>>>-]>[<+>-]<<-[>[-]<[-]]>>+<[>[-]<-]<++++++++[<++++++<++++++>>-]>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>[-]>[-]++++[<++++++++>-]<.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<.><+++++..--------.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++++++++++++++.>>>>-]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<+++++++++>-]<--.---------.>+++++++[<---------->-]<.>++++++[<+++++++++++>-]<.+++..+++++++++++++.>++++++++[<---------->-]<--.>+++++++++[<+++++++++>-]<--.-.>++++++++[<---------->-]<++.>++++++++[<++++++++++>-]<++++.------------.---.>+++++++[<---------->-]<+.>++++++++[<+++++++++++>-]<-.>++[<----------->-]<.+++++++++++..>+++++++++[<---------->-]<-----.---.>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>>++++[<++++++>-]<--.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<.><+++++..--------.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++++++++++++++.>>>>-]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<+++++++++>-]<--.---------.>+++++++[<---------->-]<.>++++++[<+++++++++++>-]<.+++..+++++++++++++.>++++++++++[<---------->-]<-.---.>+++++++[<++++++++++>-]<++++.+++++++++++++.++++++++++.------.>+++++++[<---------->-]<+.>++++++++[<++++++++++>-]<-.-.---------.>+++++++[<---------->-]<+.>+++++++[<++++++++++>-]<--.+++++++++++.++++++++.---------.>++++++++[<---------->-]<++.>+++++[<+++++++++++++>-]<.+++++++++++++.----------.>+++++++[<---------->-]<++.>++++++++[<++++++++++>-]<.>+++[<----->-]<.>+++[<++++++>-]<..>+++++++++[<--------->-]<--.>+++++++[<++++++++++>-]<+++.+++++++++++.>++++++++[<----------->-]<++++.>+++++[<+++++++++++++>-]<.>+++[<++++++>-]<-.---.++++++.-------.----------.>++++++++[<----------->-]<+.---.[-]<<<->[-]>[-]<<[>+>+<<-]>>[<<+>>-]>>>[-]<<<+++++++++<[>>>+<<[>+>[-]<<-]>[<+>-]>[<<++++++++++>>>+<-]<<-<-]+++++++++>[<->-]>>+>[<[-]<<+>>>-]>[-]+<<[>+>-<<-]<<<[>>+>+<<<-]>>>[<<<+>>>-]<>>[<+>-]<<-[>[-]<[-]]>>+<[>[-]<-]<++++++++[<++++++<++++++>>-]>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>[-]>[-]++++[<++++++++>-]<.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<.><+++++..--------.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++++++++++++++.>>>>-]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<+++++++++>-]<--.---------.>+++++++[<---------->-]<.>++++++[<+++++++++++>-]<.+++..+++++++++++++.>++++++++[<---------->-]<--.>+++++++++[<+++++++++>-]<--.-.>++++++++[<---------->-]<++.>++++++++[<++++++++++>-]<++++.------------.---.>+++++++[<---------->-]<+.>++++++++[<+++++++++++>-]<-.>++[<----------->-]<.+++++++++++..>+++++++++[<---------->-]<-----.---.+++.---.[-]<<<]  


or ROT13 in <A HREF=http://www.eleves.ens.fr:8080/home/madore/programs/unlambda/>Unlambda</A> (taken from <A HREF=http://www.miranda.org/~jkominek/rot13/unlambda/>here</A>:


  # A simple rot-13 program.# Copyright: Jan 30 2002 by Ørjan Johansen.# License: See the file COPYING for GPL Version 2 or later.```sii ``s ``s ``s `d`k ``@i c `k``s ``s `d `?A i `k .N ``s ``s `d `?a i `k .n``s ``s `d `?B i `k .O ``s ``s `d `?b i `k .o``s ``s `d `?C i `k .P ``s ``s `d `?c i `k .p``s ``s `d `?D i `k .Q ``s ``s `d `?d i `k .q``s ``s `d `?E i `k .R ``s ``s `d `?e i `k .r``s ``s `d `?F i `k .S ``s ``s `d `?f i `k .s``s ``s `d `?G i `k .T ``s ``s `d `?g i `k .t``s ``s `d `?H i `k .U ``s ``s `d `?h i `k .u``s ``s `d `?I i `k .V ``s ``s `d `?i i `k .v``s ``s `d `?J i `k .W ``s ``s `d `?j i `k .w``s ``s `d `?K i `k .X ``s ``s `d `?k i `k .x``s ``s `d `?L i `k .Y ``s ``s `d `?l i `k .y``s ``s `d `?M i `k .Z ``s ``s `d `?m i `k .z``s ``s `d `?N i `k .A ``s ``s `d `?n i `k .a``s ``s `d `?O i `k .B ``s ``s `d `?o i `k .b``s ``s `d `?P i `k .C ``s ``s `d `?p i `k .c``s ``s `d `?Q i `k .D ``s ``s `d `?q i `k .d``s ``s `d `?R i `k .E ``s ``s `d `?r i `k .e``s ``s `d `?S i `k .F ``s ``s `d `?s i `k .f``s ``s `d `?T i `k .G ``s ``s `d `?t i `k .g``s ``s `d `?U i `k .H ``s ``s `d `?u i `k .h``s ``s `d `?V i `k .I ``s ``s `d `?v i `k .i``s ``s `d `?W i `k .J ``s ``s `d `?w i `k .j``s ``s `d `?X i `k .K ``s ``s `d `?x i `k .k``s ``s `d `?Y i `k .L ``s ``s `d `?y i `k .l``s ``s `d `?Z i `k .M ``s ``s `d `?z i `k .m| i i  


Anything coded in one of the above languages can be considered "the most complex piece of code I''ve ever seen".

Of course none of them was designed to be usable. They''re mostly weird experiments and only interesting from an academic point of vue (or for the fun, if you''re a masochist ).

Oops, I guess HTML won''t work unless I''m logged in. Sorry about that (one of the anchors was broken anyway).
Just about every Rijndael implementation I''ve seen confuses me something chronic. In fact, most crypto algorithms tend to be confusing.

Maybe it''s just me

Tom
refrain_from_stupidity( &me );
Another 99 Bottles of Beer program.

See http://www.azstarnet.com/~jeffryj/hanoi.txt for an explanation of
this crude language.

This is originally one single line.


  ..,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''.....''..,''...:..,...''......''..,''...:.,...`.''......,!...;...,...''......''..,''...:.,...`.''......,!...;..,.''...,.''.....''..,''...:..,...''...,.;''.....,...''...,.;''....,.''...,.''...,...`.''......,!...;...,...''.....,...''......''..,''...:.,.''...,.''..,.;''.....,...''.....,...''....,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:.,...`.''......,!...;..,.''...,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,.''.....''..,''...:..,...''.....,...''.....,...''...,.;''...,.''...,.''.....''..,''...:..,...''...,.;''.....,...''......''..,''...:.,...`.''......,!...;..,.''...,.''...,...`.''......,!...;...,...''......''..,''...:.,.''..,.;''.....,...''....,...`.''......,!...;...,...''......''..,''...:.,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''.....,...''.....,...''...,.;''....,.''...,...`.''......,!...;..,.''...,.''...,...`.''....,.''...,...`.''......,!...;.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''......''..,''...:.,.''...,...`.''.....,...''....,...`.''......,!...;...,...''.....,...''...,.;''.....,...''......''..,''...:.,.''.....''..,''...:.,...`.''......,!...;..,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''......,!...;...,...''......''..,''...:.,...`.''......,!...;.,.;''....,.''...,.''.....''..,''...:..,...''...,.;''.....,...''....,...`.''....,.''...,.''...,...`.''......,!...;..,.''...,.''...,.''.....''..,''...:..,...''.....,...''...,.;''.....,...''...,.;''....,.''...,.''...,.''...,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:.,.''...,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''......,!...;...,...''......''..,''...:.,.''..,.;''.....,...''....,...`.''......,!...;..,.''...,.''...,...`.''......''..,''...:..,...''......''..,''...:.,...`.''......,!...;..,.''.....''..,''...:.,...`.''......,!...;....,!...;...,...''.....,...''...,.;''....,.''.....''..,''...:..,...''......''..,''...:.,...`.''......,!...;..,.''...,...`.''......,!...;..,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''.....,...''....,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:..,...''...,.;''.....,...''...,.;''....,.''...,.''...,...`.''......,!...;...,...''.....,...''......''..,''...:.,.''...,.''..,.;''.....,...''.....,...''....,...`.''......,!...;..,.''.....''..,''...:.,.''...,.''...,.''...,.''...,.''...,''"''.....,...''.....,...''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''...,.''...,.''...,.''...,.''...,.''...,''"''.....,...''.....,...''......''..,''...:.,...`.''......,!...;...,...''......''..,''...:.,...`.''......,!...;.,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''....,.''..,.;''...,.;''...,.;''...,.;''...,.;''....,''"''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''.....,...''......''..,''...:..,...''.....,...''...,.;''.....,...''...,.;''....,.''...,.''...,.''...,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:.,.''...,.''...,''..,.;''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''.....''..,''...:.,.''...,.''...,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''.....,...''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''...,.''...,.''...,.''.....''..,''...:.,...`.''......,!...;...,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''...,...`.''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''...,.;''...,.;''...,.;''....,''"''....,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''...,.;''...,.;''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,''"''.....,...''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,''"''.....,...''.....,...''.....,...''......''..,''...:..,...''...,.;''.....,...''...,.;''....,.''...,.''...,...`.''......,!...;...,...''.....,...''......''..,''...:.,.''...,.''..,.;''.....,...''.....,...''....,...`.''......,!...;..,.''.....''..,''...:.,.''...,.''...,.''...,.''..,.''...,''"''.....,...''.....,...''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''...,.''...,.''...,.''...,.''...,.''...,''"''.....,...''.....,...''.....,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''....,.''..,.;''...,.;''...,.;''...,.;''...,.;''....,''"''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''.....,...''......''..,''...:..,...''.....,...''...,.;''.....,...''...,.;''....,.''...,.''...,.''...,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:.,.''...,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''.....''..,''...:.,.''...,.''...,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''.....,...''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''...,.''...,.''...,.''.....''..,''...:.,...`.''......,!...;...,...''...,.;''...,.;''...,.;''...,.;''.....''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''...,.;''...,.;''...,.;''....,''"''....,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''...,.;''...,.;''....,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,''"''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''....,...`''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''...,.;''....,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''...,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,..`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''....,''"''....,...`.''....,...`.''....,...`.''....,''"''......''..,''...:.,...`.''......,!...;..,.''...,.''...,.''...,...`.''.....,...''......''..,''...:.,...`.''......,!...;...,...''......''..,''...:.,...`.''......,!...;..,.''...,.''.....''..,''...:..,...''...,.;''.....,...''...,.;''....,.''...,.''...,...`.''......,!...;...,...''.....,...''......''..,''...:.,.''...,.''..,.;''.....,...''.....,...''....,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:.,...`.''......,!...;..,.''...,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,.''.....''..,''...:..,...''.....,...''.....,...''...,.;''....,.''...,.''.....''..,''...:..,...''...,.;''.....,...''......''..,''...:.,...`.''......,!...;..,.''...,.''...,...`.''......,!...;...,...''......''..,''...:.,.''..,.;''.....,...''....,...`.''......,!...;...,...''......''..,''...:.,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''.....,...''.....,...''...,.;''....,.''...,...`.''......,!...;..,.''...,.''...,...`.''....,.''...,...`.''......,!...;.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''..,.;''...,.;''.....,...''......''..,''...:.,.''...,...`.''.....,...''....,...`.''......,!...;...,...''.....,...''...,.;''.....,...''......''..,''...:.,.''.....''..,''...:.,...`.''......,!...;..,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''......,!...;...,...''......''..,''...:.,...`.''......,!...;.,.;''....,.''...,.''.....''..,''...:..,...''...,.;''.....,...''....,...`.''....,.''...,.''...,...`.''......,!...;..,.''...,.''...,.''.....''..,''...:..,...''.....,...''...,.;''.....,...''...,.;''....,.''...,.''...,.''...,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:.,.''...,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''....,...''.....,...''......''..,''...:.,.''..,.;''.....,...''....,...`.''......,!...;..,.''...,.''...,...`.''......''..,''...:..,...''......''..,''...:.,...`.''......,!...;..,.''.....''..,''...:.,...`.''......,!...;....,!...;...,...''.....,...''...,.;''....,.''.....''..,''...:..,...''......''..,''...:.,...`.''......,!...;..,.''...,...`.''......,!...;..,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''.....,...''....,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:..,...''...,.;''.....,...''...,.;''....,.''...,.''...,...`.''......,!...;...,...''.....,...''......''..,''...:.,.''...,.''..,.;''.....,...''.....,...''....,...`.''......,!...;..,.''.....''..,''...:.,.''...,.''...,.''...,.''...,.''...,''"''.....,...''.....,...''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''...,.''...,.''...,.''...,.''...,.''...,''"''.....,...''.....,...''......''..,''...:.,...`.''......,!...;...,...''......''..,''...:.,...`.''......,!...;.,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''....,.''..,.;''...,.;''...,.;''...,.;''...,.;''....,''"''....,''"''....,...`.''....,...`.''....,..`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''.....,...''......''..,''...:..,...''.....,...''...,.;''.....,...''...,.;''....,.''...,.''...,.''...,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:.,.''...,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''.....''..,''...:.,.''...,.''...,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''.....,...''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''...,.''...,.''...,.''.....''..,''...:.,...`.''......,!...;...,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''...,.;''...,.;''...,.;''....,''"''....,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''...,.;''...,.;''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,''"''.....,...''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,''"''...,.;''...,.;''...,.;''....,''"''....,...`.''....,...`.''....,...`.''....,''"''......''..,''...:.,...`.''......,!...;..,.''...,.''...,.''.....,!...;.  
I had to write a system where various ranges in memory on a chip were to be polled at given time intervals, but the actual interrogation of the chip (via serial IO) was a huge bottleneck since the chip was slow. So I wrote an algorithm that would query blocks of memory at a time if it detected that one or more blocks were close enough to each other to query them all at once, and then dispatch the peeked information back to the packets. I commented as well as I could, but it still took a while to get through code review.
Heh, I had almost forgotten about novelty/esoteric languages. Here's a program that draws an inverted pyramid out of asterisks, written in Brainfsck:
++++++++++>++++++++++>>+++                       ++ +++   ++>   +++   +++ ++ +++   +++   +++   +++ ++ +++   +++   +++   +++ ++ +++++++++   +++   +++ ++ +++   +++   +++   +++ ++ +++   +++   +++       ++ +++   +++   +++   +++ ++ +++   +++   +++   +++ ++                       ++++++++++++++++++++<<<<[>[>+<-]>[>>.<<<+>-]>.<<-<-]


[edited by - zealouselixir on September 1, 2002 3:08:51 PM]

[twitter]warrenm[/twitter]

This topic is closed to new replies.

Advertisement