Cigar Asylum Cigar Forum  

Go Back   Cigar Asylum Cigar Forum > Non Cigar Specialty Forums > Misc > Jokes

Closed Thread
 
Thread Tools Display Modes
Old 02-10-2012, 10:54 AM   #5061
markem
Bunion
 
markem's Avatar
16
 
Join Date: Oct 2008
First Name: Mark
Location: Second Star on the Right
Posts: 22,621
Trading: (47)
HUpmann
markem has disabled reputation
Default Re: Funny Pics thread

Quote:
Originally Posted by fencefixer View Post
Carriage Return: CR \r 0x0D decimal 13
Line Feed: LF \n 0x0a decimal 10

"The sequence \n in the string is C notation for the newline character, which when printed advances the terminal to the left margin of the next line." (Kernighan and Ritchie, "The C Programming Language" 1978, p. 7.

As someone who used to write terminal device drivers, I can assure you that advancing to the left margin of the next line encompasses (conceptually if not in fact) a line feed (vertical offset) and carriage return (horizontal offset).

Don't try to outgeek the computer science professor on this particular score. ASCII value != C implementation (which can vary based on device driver and OS).

__________________
I refuse to belong to any organization that would have me as a member.
~ Groucho Marx
markem is offline  
Old 02-10-2012, 10:59 AM   #5062
Sauer Grapes
Snatchin' yo people up
 
Sauer Grapes's Avatar
1
 
Join Date: Oct 2008
Posts: 2,235
Trading: (44)
Cohiba
Sauer Grapes has disabled reputation
Default Re: Funny Pics thread

Quote:
Originally Posted by Mattso3000 View Post
Love this.
Quote:
Originally Posted by markem View Post
Indeed. Left out the "\n" carriage return/line feed at the end of the quoted string. I'd mark it down too.
Quote:
Originally Posted by fencefixer View Post
Carriage Return: CR \r 0x0D decimal 13
Line Feed: LF \n 0x0a decimal 10

Quote:
Originally Posted by markem View Post
"The sequence \n in the string is C notation for the newline character, which when printed advances the terminal to the left margin of the next line." (Kernighan and Ritchie, "The C Programming Language" 1978, p. 7.

As someone who used to write terminal device drivers, I can assure you that advancing to the left margin of the next line encompasses (conceptually if not in fact) a line feed (vertical offset) and carriage return (horizontal offset).

Don't try to outgeek the computer science professor on this particular score. ASCII value != C implementation (which can vary based on device driver and OS).

Suddenly the picture doesn't seem funny anymore.
Sauer Grapes is offline  
Old 02-10-2012, 11:02 AM   #5063
fencefixer
Feeling at Home
 
fencefixer's Avatar
 
Join Date: Feb 2012
Posts: 544
Trading: (7)
fencefixer will become famous soon enoughfencefixer will become famous soon enough
Default Re: Funny Pics thread

Quote:
Originally Posted by markem View Post
"The sequence \n in the string is C notation for the newline character, which when printed advances the terminal to the left margin of the next line." (Kernighan and Ritchie, "The C Programming Language" 1978, p. 7.

As someone who used to write terminal device drivers, I can assure you that advancing to the left margin of the next line encompasses (conceptually if not in fact) a line feed (vertical offset) and carriage return (horizontal offset).

Don't try to outgeek the computer science professor on this particular score. ASCII value != C implementation (which can vary based on device driver and OS).

Hahaha, not trying to outsmart, just giving you a hard time <3
Glad there's some felllow coders on here!
fencefixer is offline  
Old 02-10-2012, 11:05 AM   #5064
markem
Bunion
 
markem's Avatar
16
 
Join Date: Oct 2008
First Name: Mark
Location: Second Star on the Right
Posts: 22,621
Trading: (47)
HUpmann
markem has disabled reputation
Default Re: Funny Pics thread

Quote:
Originally Posted by fencefixer View Post
Hahaha, not trying to outsmart, just giving you a hard time <3
Glad there's some felllow coders on here!
Of course, I was just doing the curmudgeon old guy thing. But I did also want to point out that '\n' has a different meaning in C. Sorry if I came off grumpy instead of curmudgeonly.
__________________
I refuse to belong to any organization that would have me as a member.
~ Groucho Marx
markem is offline  
Old 02-10-2012, 11:11 AM   #5065
fencefixer
Feeling at Home
 
fencefixer's Avatar
 
Join Date: Feb 2012
Posts: 544
Trading: (7)
fencefixer will become famous soon enoughfencefixer will become famous soon enough
Default Re: Funny Pics thread

Quote:
Originally Posted by markem View Post
Of course, I was just doing the curmudgeon old guy thing. But I did also want to point out that '\n' has a different meaning in C. Sorry if I came off grumpy instead of curmudgeonly.
fencefixer is offline  
Old 02-10-2012, 11:14 AM   #5066
markem
Bunion
 
markem's Avatar
16
 
Join Date: Oct 2008
First Name: Mark
Location: Second Star on the Right
Posts: 22,621
Trading: (47)
HUpmann
markem has disabled reputation
Default Re: Funny Pics thread

Quote:
Originally Posted by fencefixer View Post
of man, that's me to a tee!
__________________
I refuse to belong to any organization that would have me as a member.
~ Groucho Marx
markem is offline  
Old 02-10-2012, 11:17 AM   #5067
Blak Smyth
Think Blue!
 
Blak Smyth's Avatar
2
 
Join Date: Jun 2011
First Name: SD
Location: THE WOOD
Posts: 8,486
Trading: (52)
RA
Blak Smyth has disabled reputation
Default Re: Funny Pics thread

__________________
SUPPORT OUR TROOPS
Blak Smyth is offline  
Old 02-10-2012, 11:22 AM   #5068
Poronico
Teh Forever Noob
 
Poronico's Avatar
 
Join Date: Aug 2009
First Name: Jesse
Location: Bonney Lake, Wa
Posts: 868
Trading: (5)
Bolivar
Poronico will become famous soon enoughPoronico will become famous soon enough
Default Re: Funny Pics thread

Quote:
Originally Posted by Blak Smyth View Post
The Gorilla one was better LOL
__________________
Fellows, leave the tight pants to the ladies. If I can count the coins in your pocket, you better use them to call the tailor. "TMIMITW"
Poronico is offline  
Old 02-10-2012, 11:24 AM   #5069
Blak Smyth
Think Blue!
 
Blak Smyth's Avatar
2
 
Join Date: Jun 2011
First Name: SD
Location: THE WOOD
Posts: 8,486
Trading: (52)
RA
Blak Smyth has disabled reputation
Default Re: Funny Pics thread

Quote:
Originally Posted by Poronico View Post
The Gorilla one was better LOL
Yah not much is gonna top that gorilla one!
__________________
SUPPORT OUR TROOPS
Blak Smyth is offline  
Old 02-10-2012, 11:29 AM   #5070
Blak Smyth
Think Blue!
 
Blak Smyth's Avatar
2
 
Join Date: Jun 2011
First Name: SD
Location: THE WOOD
Posts: 8,486
Trading: (52)
RA
Blak Smyth has disabled reputation
Default Re: Funny Pics thread







__________________
SUPPORT OUR TROOPS
Blak Smyth is offline  
Old 02-10-2012, 11:37 AM   #5071
Blak Smyth
Think Blue!
 
Blak Smyth's Avatar
2
 
Join Date: Jun 2011
First Name: SD
Location: THE WOOD
Posts: 8,486
Trading: (52)
RA
Blak Smyth has disabled reputation
Default Re: Funny Pics thread









__________________
SUPPORT OUR TROOPS
Blak Smyth is offline  
Old 02-10-2012, 11:45 AM   #5072
Blak Smyth
Think Blue!
 
Blak Smyth's Avatar
2
 
Join Date: Jun 2011
First Name: SD
Location: THE WOOD
Posts: 8,486
Trading: (52)
RA
Blak Smyth has disabled reputation
Default Re: Funny Pics thread





__________________
SUPPORT OUR TROOPS

Last edited by Blak Smyth; 02-10-2012 at 11:51 AM.
Blak Smyth is offline  
Old 02-10-2012, 03:00 PM   #5073
Newbie_nick
Adjusting to the Life
 
Newbie_nick's Avatar
 
Join Date: Jul 2011
First Name: Nick
Location: Findlay, OH
Posts: 418
Trading: (13)
Bolivar
Newbie_nick will become famous soon enough
Default Re: Funny Pics thread

Quote:
Originally Posted by Commander Quan View Post
See...roses are a good gift for men!
Newbie_nick is offline  
Old 02-10-2012, 05:26 PM   #5074
markem
Bunion
 
markem's Avatar
16
 
Join Date: Oct 2008
First Name: Mark
Location: Second Star on the Right
Posts: 22,621
Trading: (47)
HUpmann
markem has disabled reputation
Default Re: Funny Pics thread

Not so much funny as awesome!

__________________
I refuse to belong to any organization that would have me as a member.
~ Groucho Marx
markem is offline  
Old 02-10-2012, 05:39 PM   #5075
weak_link
The Stranger
 
weak_link's Avatar
 
Join Date: Oct 2008
First Name: Eric
Location: SF Bay Area, CA
Posts: 1,263
Trading: (1)
Montecristo
weak_link has a spectacular aura aboutweak_link has a spectacular aura aboutweak_link has a spectacular aura about
Default Re: Funny Pics thread

Quote:
Originally Posted by markem View Post
Not so much funny as awesome!

Good thing Moto GP doesn't go to Sears Point/Infinion as we're not allowed to ride in the rain there, nor would I really want to now that I'm thinking about it.

In other news, friends don't let friends put bad vinyl stickers on trucks. Backwards.
weak_link is offline  
Old 02-11-2012, 03:02 AM   #5076
sevans105
Alpha Zombie Wolf "Sceve"
 
sevans105's Avatar
2
 
Join Date: Jul 2010
First Name: Scott
Location: Southern Minnesota
Posts: 1,786
Trading: (30)
Cohiba
sevans105 is a jewel in the roughsevans105 is a jewel in the roughsevans105 is a jewel in the roughsevans105 is a jewel in the rough
Default Re: Funny Pics thread



Frikkin nazi girl scouts. I want my damn Samoas!
__________________
sevans105 is offline  
Old 02-11-2012, 06:30 AM   #5077
fencefixer
Feeling at Home
 
fencefixer's Avatar
 
Join Date: Feb 2012
Posts: 544
Trading: (7)
fencefixer will become famous soon enoughfencefixer will become famous soon enough
Default Re: Funny Pics thread


fencefixer is offline  
Old 02-11-2012, 06:55 AM   #5078
fencefixer
Feeling at Home
 
fencefixer's Avatar
 
Join Date: Feb 2012
Posts: 544
Trading: (7)
fencefixer will become famous soon enoughfencefixer will become famous soon enough
Default Re: Funny Pics thread




fencefixer is offline  
Old 02-11-2012, 06:56 AM   #5079
fencefixer
Feeling at Home
 
fencefixer's Avatar
 
Join Date: Feb 2012
Posts: 544
Trading: (7)
fencefixer will become famous soon enoughfencefixer will become famous soon enough
Default Re: Funny Pics thread

fencefixer is offline  
Old 02-11-2012, 08:15 AM   #5080
weak_link
The Stranger
 
weak_link's Avatar
 
Join Date: Oct 2008
First Name: Eric
Location: SF Bay Area, CA
Posts: 1,263
Trading: (1)
Montecristo
weak_link has a spectacular aura aboutweak_link has a spectacular aura aboutweak_link has a spectacular aura about
Default Re: Funny Pics thread

Quote:
Originally Posted by fencefixer View Post
I work with the guy doing to google surfing. I am totally the rage comic. At least three times a week that is my life because the guy refuses to actually learn anything.
weak_link is offline  
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:09 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
All content is copyrighted jointly by Cigar Asylum and the content provider.