Ambrosia Software Web Board: A quick question - Ambrosia Software Web Board

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

A quick question

#1 User is offline   Bryce 

  • Open-Source Fan
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,714
  • Joined: 08-August 01
  • Gender:Male
  • Location:California

Posted 18 March 2003 - 06:11 PM

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?
"Programming is an art form that fights back."

www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.

#2 User is offline   idiotSavant 

  • Odysseus
  • PipPipPip
  • Group: Members
  • Posts: 723
  • Joined: 20-December 00
  • Location:New York

Posted 18 March 2003 - 06:23 PM

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. Posted Image

------------------
Siena College- Like Yale, only not!
"Anything is possible, except skiing through a revolving door."
I am not your rolling wheels / I am the highway / I am not your carpet ride / I am the sky / I am not your blowing wind / I am the lightning / I am not your autumn moon / I am the night

#3 User is offline   Avatara 

  • Guardian
  • PipPipPipPipPipPipPip
  • Group: Moderators
  • Posts: 12,036
  • Joined: 05-July 00
  • Gender:Male

Posted 19 March 2003 - 12:50 AM

So, in other words, that language sucks.

------------------
"There is a time and a place for everything."
"Sometimes I get confused whether I'm posting on ATT or in the War Room. But then I remind myself: If it's moderators acting scatter-brained and foolish, then it's the War Room*.

*Unless it's Avatara, of course."
-- From the memoirs of Sundered Angel

#4 User is offline   Mr. Somebody 

  • The Member
  • PipPipPip
  • Group: Members
  • Posts: 560
  • Joined: 13-February 02
  • Gender:Male
  • Location:West

Posted 19 March 2003 - 01:22 AM

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.
"Just the thought of a rap version of Beethoven's Fifth Symphony or 'Achy, Breaky Heart' is bound to make people smile." -Justice Anthony Kennedy, Campbell v. Acuff (2005)

"Haul your ass, Harry, but haul it slowly, or you'll sink the damn boat." -George Washington

Barbarian Films

#5 User is offline   Bryce 

  • Open-Source Fan
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,714
  • Joined: 08-August 01
  • Gender:Male
  • Location:California

Posted 19 March 2003 - 09:27 AM

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?
"Programming is an art form that fights back."

www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.

#6 User is offline   idiotSavant 

  • Odysseus
  • PipPipPip
  • Group: Members
  • Posts: 723
  • Joined: 20-December 00
  • Location:New York

Posted 19 March 2003 - 09:15 PM

Sometimes sigs are better when not totally understood. That's often part of their appeal. Posted Image
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."
I am not your rolling wheels / I am the highway / I am not your carpet ride / I am the sky / I am not your blowing wind / I am the lightning / I am not your autumn moon / I am the night

#7 User is offline   Bryce 

  • Open-Source Fan
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,714
  • Joined: 08-August 01
  • Gender:Male
  • Location:California

Posted 05 April 2003 - 07:29 PM

Quote

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


Well then... take a whack at this... (See below)
Posted Image

------------------
#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. */
  
"Programming is an art form that fights back."

www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.

#8 User is offline   idiotSavant 

  • Odysseus
  • PipPipPip
  • Group: Members
  • Posts: 723
  • Joined: 20-December 00
  • Location:New York

Posted 05 April 2003 - 10:04 PM

[quote]Originally posted by Bryce:
Well then... take a whack at this... (See below)
 Posted Image

------------------
Siena College- Like Yale, only not!
"Anything is possible, except skiing through a revolving door."
I am not your rolling wheels / I am the highway / I am not your carpet ride / I am the sky / I am not your blowing wind / I am the lightning / I am not your autumn moon / I am the night

#9 User is offline   Bryce 

  • Open-Source Fan
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,714
  • Joined: 08-August 01
  • Gender:Male
  • Location:California

Posted 05 April 2003 - 11:47 PM

Quote

Originally posted by idiotSavant:

Um...ph33r.   Posted Image

[/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. */
  
"Programming is an art form that fights back."

www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.

#10 User is offline   Celchu 

  • thing
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,691
  • Joined: 05-August 01
  • Location:Texas, the best durn country thar is!

Posted 05 April 2003 - 11:53 PM

Quote

Originally posted by Bryce:
<snip>


Wow. You can make char arrays. Now come over here so I can slap you. Posted Image

------------------
A tomb now suffices for him for whom the world was not enough.
Sometimes it would stop raining long enough for the stars to come out. And then it was nice. - Forrest Gump

#11 User is offline   Bryce 

  • Open-Source Fan
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,714
  • Joined: 08-August 01
  • Gender:Male
  • Location:California

Posted 06 April 2003 - 12:22 AM

Quote

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


Is that sarcasm? And is it directed towards me or C? Posted Image
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. */
  
"Programming is an art form that fights back."

www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.

#12 User is offline   Slayer 

  • EX-Moderator
  • PipPipPipPip
  • Group: Members
  • Posts: 1,109
  • Joined: 13-September 99

Posted 06 April 2003 - 12:30 AM

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]
Slayer's guide to Cythera:
http://russell.stanb...ide/cythera.htm

#13 User is offline   Bryce 

  • Open-Source Fan
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,714
  • Joined: 08-August 01
  • Gender:Male
  • Location:California

Posted 06 April 2003 - 12:56 AM

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).]
"Programming is an art form that fights back."

www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.

#14 User is offline   Slayer 

  • EX-Moderator
  • PipPipPipPip
  • Group: Members
  • Posts: 1,109
  • Joined: 13-September 99

Posted 06 April 2003 - 01:33 AM

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]
Slayer's guide to Cythera:
http://russell.stanb...ide/cythera.htm

#15 User is offline   Celchu 

  • thing
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,691
  • Joined: 05-August 01
  • Location:Texas, the best durn country thar is!

Posted 06 April 2003 - 08:07 AM

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. Posted Image

------------------
A tomb now suffices for him for whom the world was not enough.
Sometimes it would stop raining long enough for the stars to come out. And then it was nice. - Forrest Gump

#16 User is offline   Bryce 

  • Open-Source Fan
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,714
  • Joined: 08-August 01
  • Gender:Male
  • Location:California

Posted 06 April 2003 - 09:11 AM

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... Posted Image

------------------
#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. */
  
"Programming is an art form that fights back."

www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.

#17 User is offline   idiotSavant 

  • Odysseus
  • PipPipPip
  • Group: Members
  • Posts: 723
  • Joined: 20-December 00
  • Location:New York

Posted 06 April 2003 - 10:59 AM

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* Posted Image


------------------
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).]
I am not your rolling wheels / I am the highway / I am not your carpet ride / I am the sky / I am not your blowing wind / I am the lightning / I am not your autumn moon / I am the night

#18 User is offline   Bryce 

  • Open-Source Fan
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,714
  • Joined: 08-August 01
  • Gender:Male
  • Location:California

Posted 06 April 2003 - 11:09 AM

Quote

Originally posted by idiotSavant:
Now who does that remind me of... *cough* *cough*     Posted Image
[/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. */
  
"Programming is an art form that fights back."

www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.

#19 User is offline   idiotSavant 

  • Odysseus
  • PipPipPip
  • Group: Members
  • Posts: 723
  • Joined: 20-December 00
  • Location:New York

Posted 06 April 2003 - 12:50 PM

Quote

Originally posted by Bryce:
Give me one example.



*Odysseus looks innocent* Posted Image

------------------
Siena College- Like Yale, only not!
"Anything is possible, except skiing through a revolving door."
I am not your rolling wheels / I am the highway / I am not your carpet ride / I am the sky / I am not your blowing wind / I am the lightning / I am not your autumn moon / I am the night

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users