A quick question



  • I hope this isn't offensively off topic, but I'm considering changing my .sig (In fact, i have made the transition to a provisional .sig below) and I would like to gather opinions on it. In particular, who here 'gets' it? (We'll assume Slayer would, but he's not here.)

    ------------------
    "This programming language has the power of BASIC, the readability of Perl, the simplicity and ease of use of Assembly language, and all the efficiency of ADA! Why, it's as reliable as Microsoft Windows!" - Glowing software review from another dimension.

    Where do you want to (url="http://"http://www.macclassics.com/cythera/tricks/rJade.htm")teleport(/url) today?



  • Quote

    Originally posted by Bryce:
    **who here 'gets' it? We'll assume Slayer would, but he's not here.

    **

    I think we can also safely assume he'd lock this topic. :p

    ------------------
    Siena College- Like Yale, only not!
    "Anything is possible, except skiing through a revolving door."



  • So, in other words, that language sucks.

    ------------------
    "There is a time and a place for everything."



  • Well, I sort of know a little bit about a few of them and I know enough I know that Basic has no power, Perl is the closest to typed illegibility, Assembly language is complicated and ADA is slow. Don't even go NEAR that Windows comment folks, to utter that you'd be cursed, (Unless your Bill Gates, father of all computer related curses, usually in the form of errors...)

    ------------------
    Do not hurt when holding is enough, do not wound when hurting is enough, do not maim when wounding is enough, do not kill when maiming is enough. The greatest warrior is he who does not need to kill.



  • Right Mr. somebody and Avatara. Thanks for the help. I think I'll keep the sig.

    ------------------
    "This programming language has the power of BASIC, the readability of Perl, the simplicity and ease of use of Assembly language, and all the efficiency of ADA! Why, it's as reliable as Microsoft Windows!" - Glowing software review from another dimension.

    Where do you want to (url="http://"http://www.macclassics.com/cythera/tricks/rJade.htm")teleport(/url) today?



  • Sometimes sigs are better when not totally understood. That's often part of their appeal. ;)
    However, yes, your sig is fairly clear. Even the the person reading it had little or no knowedge of the programming languages stated in it, the "Windows" comment should make it understandable.

    ------------------
    Siena College- Like Yale, only not!
    "Anything is possible, except skiing through a revolving door."



  • Quote

    Originally posted by idiotSavant:
    **Sometimes sigs are better when not totally understood.
    **

    Well then... take a whack at this... (See below)
    :D

    ------------------
    #include <stdio.h>
    main(void){char a(22) = {0x4a,0x75,0x73,0x74,' ',0x61,0x6e,0x6f,0x74,0x68,0x65,0x72,' ',0x43,' ',0x68,0x61,0x63,0x6b};int b;for (b = 0;b < 23;printf("%c",a(b)),b++){};printf("...n");}
    /* Not just for perl. */



  • (quote)Originally posted by Bryce:
    **Well then... take a whack at this... (See below)
    :eek:

    ------------------
    Siena College- Like Yale, only not!
    "Anything is possible, except skiing through a revolving door."
    **



  • Quote

    Originally posted by idiotSavant:

    Um...ph33r. :eek:

    (/B)

    It is a rather obfuscated (But not the most obfuscated, mind. (There are some that are much worse) ) bit of C code. It outputs some text ('Just another C hack', (Which refers to me (In the sense of one who is not good at something.), not the program.(Although it could be considered a hack. (But not a very good one.)) to be exact.) when you compile and run it. And I have a strange desire to learn LISP... (Where did that come from?)

    ------------------
    #include <stdio.h>
    main(void){char a(22) = {0x4a,0x75,0x73,0x74,' ',0x61,0x6e,0x6f,0x74,0x68,0x65,0x72,' ',0x43,' ',0x68,0x61,0x63,0x6b};int b;for (b = 0;b < 23;printf("%c",a(b)),b++){};printf("...n");}
    /* Not just for perl. */



  • Quote

    Originally posted by Bryce:
    ** <snip>
    **

    Wow. You can make char arrays. Now come over here so I can slap you. :D

    ------------------
    A tomb now suffices for him for whom the world was not enough.



  • Quote

    Originally posted by Celchu:
    Wow. You can make char arrays.

    Is that sarcasm? And is it directed towards me or C? :)
    Nice to see you here.

    ------------------
    #include <stdio.h>
    main(void){char a(22) = {0x4a,0x75,0x73,0x74,' ',0x61,0x6e,0x6f,0x74,0x68,0x65,0x72,' ',0x43,' ',0x68,0x61,0x63,0x6b};int b;for (b = 0;b < 23;printf("%c",a(b)),b++){};printf("...n");}
    /* Not just for perl. */



  • The code in your sig not only has too few characters in the string, in the loop it also walks off the end of the array. a(22) is not a valid location in the array. This results in a character gibberish being printed to the screen. Just be thankful that it's not Java; you'd get a runtime error!

    ------------------
    Slayer's guide to Cythera:
    (url="http://"http://www.macclassics.com/cythera/cythera.htm")http://www.macclassi...era/cythera.htm(/url)



  • Quote

    Originally posted by Slayer:
    **T <snip>
    **

    Um, how come it worked when I wrote it?
    Did the UBB sig thing mess something in it up?

    (edit) at any rate its weirdnesses are kinda appropriate for what the program says about its author, so I don't think I'll change it...

    ------------------
    #include <stdio.h>
    main(void){char a(22) = {0x4a,0x75,0x73,0x74,' ',0x61,0x6e,0x6f,0x74,0x68,0x65,0x72,' ',0x43,' ',0x68,0x61,0x63,0x6b};int b;for (b = 0;b < 23;printf("%c",a(b)),b++){};printf("...n");}
    /* Not just for perl. */

    (This message has been edited by Bryce (edited 04-06-2003).)



  • The code works because it's not so faulty that it will cause major problems. Results will also vary from compiler to compiler and system to system.

    ------------------
    Slayer's guide to Cythera:
    (url="http://"http://www.macclassics.com/cythera/cythera.htm")http://www.macclassi...era/cythera.htm(/url)



  • Quote

    Originally posted by Bryce:
    **for (b = 0;b < 23;printf("%c",a(b)),b++){};
    **

    Well, to start off with, the a(22) you end on gives you a problem; the max index is 21. Not only that, but a(19), a(20) and a(21) are undefined. Some compilers would give an error on both of these, and some are good enough to correct your idiocy. ;)

    ------------------
    A tomb now suffices for him for whom the world was not enough.



  • Quote

    Originally posted by Celchu:
    ** <snip>**

    Ah, thanks. I forgot about the terminating character taking up a slot in the string.
    One thing Celchu, for all your talents you've not been blessed with the virtues of tact or subtlety... :)

    ------------------
    #include <stdio.h>
    main(void){char a(22) = {0x4a,0x75,0x73,0x74,' ',0x61,0x6e,0x6f,0x74,0x68,0x65,0x72,' ',0x43,' ',0x68,0x61,0x63,0x6b};int b;for (b = 0;b < 23;printf("%c",a(b)),b++){};printf("...n");}
    /* Not just for perl. */



  • Quote

    Originally posted by Bryce:
    One thing Celchu, for all your talents you've not been blessed with the virtues of tact or subtlety...

    Now who does that remind me of... cough cough :p

    ------------------
    Siena College- Like Yale, only not!
    "Anything is possible, except skiing through a revolving door."

    (This message has been edited by idiotSavant (edited 04-06-2003).)



  • Quote

    Originally posted by idiotSavant:
    Now who does that remind me of... cough cough :p
    (/B)

    Give me one example.

    ------------------
    #include <stdio.h>
    main(void){char a(22) = {0x4a,0x75,0x73,0x74,' ',0x61,0x6e,0x6f,0x74,0x68,0x65,0x72,' ',0x43,' ',0x68,0x61,0x63,0x6b};int b;for (b = 0;b < 23;printf("%c",a(b)),b++){};printf("...n");}
    /* Not just for perl. */



  • Quote

    Originally posted by Bryce:
    **Give me one example.

    **

    Odysseus looks innocent :D

    ------------------
    Siena College- Like Yale, only not!
    "Anything is possible, except skiing through a revolving door."


Log in to reply