Camaro5 Chevy Camaro Forum / Camaro ZL1, SS and V6 Forums - Camaro5.com
 
Nightowl LED
Go Back   Camaro5 Chevy Camaro Forum / Camaro ZL1, SS and V6 Forums - Camaro5.com > Members Area > Off-topic Discussions

Off-topic Discussions Discuss any off-topic subjects with other members.

Reply
 
Thread Tools
Old 08-07-2007, 04:12 PM   #1
MerF
Go Rays!
 
MerF's Avatar
 
Drives: 03 Trailblazer
Join Date: May 2007
Location: St Pete, Florida
Posts: 2,537
Do you know?

There are 10 types of people in the world:

Those who understand binary, and those who don't.

MerF is offline   Reply With Quote
Old 08-07-2007, 04:24 PM   #2
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,234
Hex is the shorthand for binary.
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-07-2007, 04:27 PM   #3
Kyle.Gilmour
Charter Circle Member
 
Kyle.Gilmour's Avatar
 
Drives: 427 LSX- with TWINS
Join Date: Jan 2007
Location: Back in Michigan!! Do miss ATX and my Tejas friends
Posts: 2,758
Send a message via AIM to Kyle.Gilmour
Yes... there at 10 types of people in the world that understand binary, but i won't ruin the surprise Merf


Seeing how your a computer guy then Merf, have you ever ran across any ID-10-T Errors.
If not you surely have had a Picnic Error before, right. I know I have.

__________________
Kyle.Gilmour is offline   Reply With Quote
Old 08-07-2007, 05:38 PM   #4
MerF
Go Rays!
 
MerF's Avatar
 
Drives: 03 Trailblazer
Join Date: May 2007
Location: St Pete, Florida
Posts: 2,537
Yeah, the ID-10-T error is usually fixed by cycling the O-N-O-F-F switch (that sounds better saying it, typing it takes it away).

Mindz, I gotta admit that I don't get your post. I'm sure I'm missing something.
MerF is offline   Reply With Quote
Old 08-07-2007, 07:15 PM   #5
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,234
hexadecimal = base 16

digits go
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10
11
...


That's why instead of having a really long color code 255 red 0 blue 0 green would be #FF0000 (if you know html, colors are all in quotes or in that 6 digit category).

so
Binary (base 2) = Hex (base 16)
10000 = 10
01111 = F or 15
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-08-2007, 10:19 AM   #6
MerF
Go Rays!
 
MerF's Avatar
 
Drives: 03 Trailblazer
Join Date: May 2007
Location: St Pete, Florida
Posts: 2,537
Oh I know how hex works, I have to teach kids how to decode it for troubleshooting one of my archaic electronic cabinets.

By the way there's no 10 or 11 in hex....
0=0
1=1
...
...
9=9
A=10
B=11
C=12
D=13
E=14
F=15

more accurately, the numbers you posted are

10000 (base 2)= 16 (decimal)
10000 (base 16)= 00010000000000000000 (base 2)= 65536 (decimal)

01111 (base 2)= 15 (decimal)
01111 (base 16)= 00001111111111111111 (base 2)= 65535 (decimal)

The highest binary number for a hexadecimal conversion is 1111, which translates to 15 (F)...so to get a true color code as you gave an example for, the binary number would be
#0000000000000000000000000000000000000000000000000 0000000

SO your example "#FF0000" would actually read:
111111110000000000000000 which is good for any video setting using 24-bit color.

For the newer stuff, most everyone is using 32-bit color, which is actually 8-hexadecimal numbers in the code:
00000000 = true black.
FFFFFFFF = true white.

All this computer hacking is making me thirsty.
MerF is offline   Reply With Quote
Old 08-08-2007, 12:08 PM   #7
Kyle.Gilmour
Charter Circle Member
 
Kyle.Gilmour's Avatar
 
Drives: 427 LSX- with TWINS
Join Date: Jan 2007
Location: Back in Michigan!! Do miss ATX and my Tejas friends
Posts: 2,758
Send a message via AIM to Kyle.Gilmour
Mindz...
did you understand Merf's Original post. It was a joke

Quote:
There are 10 types of people in the world:

Those who understand binary, and those who don't.
__________________
Kyle.Gilmour is offline   Reply With Quote
Old 08-08-2007, 02:39 PM   #8
stevenm357
 
Drives: 98 Trans am 00 Trans am 01 corvette
Join Date: Mar 2007
Location: West Virginia
Posts: 380
wow there is the time it took to read a post i'll never get back! Back to cars.. or atleast car programs
__________________

2001 Corvette
Heads,Big cam, 4:11, Custom Exhaust, MGW Shifter Baer Eradispeed +2 2 pieces rotors, Hotchkiss swaybars. and a few other little things.

1998 Trans Am A4 ( was STS turbo until the turbo and oil pump died)

2000 WS6 Trans AM under the knife ( sadly turned into long term project.
stevenm357 is offline   Reply With Quote
Old 08-08-2007, 03:49 PM   #9
MerF
Go Rays!
 
MerF's Avatar
 
Drives: 03 Trailblazer
Join Date: May 2007
Location: St Pete, Florida
Posts: 2,537
I'm a geek, I can't help it.
MerF is offline   Reply With Quote
Old 08-08-2007, 04:29 PM   #10
acscamarochick06
Chevrolet Enthusiast
 
acscamarochick06's Avatar
 
Drives: 2011 Camaro SS ;)
Join Date: Jun 2006
Location: Bowling Green, Kentucky
Posts: 807
.............


All of that went wayyyy over my head, but I'm still impressed nontheless! Amazing, isn't it?! lol
__________________
acscamarochick06 is offline   Reply With Quote
Old 08-08-2007, 05:34 PM   #11
MerF
Go Rays!
 
MerF's Avatar
 
Drives: 03 Trailblazer
Join Date: May 2007
Location: St Pete, Florida
Posts: 2,537
Quote:
Originally Posted by MerF View Post
There are 10 types of people in the world:

Those who understand binary, and those who don't.

Oh, for those still following along:

"10 types of people" but only two are listed, right?

Binary works like this. Only ones and zeros in binary, so as it counts up, the MSD (most significant digit) moves to the left.

For example.

0000 = 0
0001 = 1
0010 = 2
0011 = 3
0100 = 4
0101 = 5
0110 = 6
0111 = 7
1000 = 8
etc...

So "10" types of people in binary is really "2" types of people in decimal.

MerF is offline   Reply With Quote
Old 08-08-2007, 05:51 PM   #12
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,234
Quote:
Originally Posted by Kyle.Gilmour View Post
Mindz...
did you understand Merf's Original post. It was a joke
Yes I did, I was being a smart ass but my response was that I was one who understood it.

And Merf,

Quote:
By the way there's no 10 or 11 in hex....
10 in hex = 16 in decimal

I had to do it.
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-08-2007, 06:40 PM   #13
MerF
Go Rays!
 
MerF's Avatar
 
Drives: 03 Trailblazer
Join Date: May 2007
Location: St Pete, Florida
Posts: 2,537
Quote:
Originally Posted by Mindz View Post
10 in hex = 16 in decimal

I had to do it.
Hehe. Touche.

Too bad no superscript to put the base-value in the numbers to make more sense of it.
:tweetz:
MerF is offline   Reply With Quote
Old 08-08-2007, 09:33 PM   #14
marczsport
GM Forever!
 
marczsport's Avatar
 
Drives: 06' Envoy ; 05' Impala
Join Date: Jan 2007
Location: Athol, MA
Posts: 72
Send a message via AIM to marczsport
Quote:
Originally Posted by MerF View Post
Hehe. Touche.

:tweetz:



I'm almost afraid to ask what that "smilie" is all about! :eek:
marczsport is offline   Reply With Quote
Old 08-08-2007, 11:09 PM   #15
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,234
Quote:
Originally Posted by marczsport View Post


I'm almost afraid to ask what that "smilie" is all about! :eek:

bewbs
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-08-2007, 11:17 PM   #16
Mr. Wyndham
I used to be Dragoneye...
 
Mr. Wyndham's Avatar
 
Drives: 2014 Camaro 1LE
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 25,788
Send a message via AIM to Mr. Wyndham
Quote:
Originally Posted by Mindz View Post
bewbs


Okay, I've gotta say, I follow how binary works (I'm no expert, but I took a programming class once), but I don't get hex. I've never heard of it before.
__________________
"Keep the faith." - - Read Before You Post.
SIGN UP for 2014 Camaro5 HPDE @ Gingerman Raceway!
Mr. Wyndham is offline   Reply With Quote
Old 08-08-2007, 11:37 PM   #17
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,234
think of counting to 10.

1 2 3 4 5 6 7 8 9 then you start in the second colum with 10

this is base 10 or "decimal"



now hexadecimal (hex 6, decimal 10) is base 16
1 2 3 4 5 6 7 8 9 but we can't go to 10 just yet, you have to find a way to make it to 15 before 10. The way we do it is by starting to use letters.

7
8
9
A (10)
B (11)
C (12)
D (13)
E (14)
F (15)

then we hit 10. 10 is basically the number when you've run out of single digits. So in Hex (base 16) 10 is the equivalent to 16 in decimal (base 10)

20 in hex is the eqvuialent of 32 in decimal.

21 = 33
25 = 37






100 in hex is a little bit tricky. You start multiplying exponentially.

16squared's place 16's place 1's place








099 =
0 x 16 squared
9 x 16 = 144
9 x 1 = 9

153 is 99 if you're writing in hex.






0FF or just FF is 255 which is the equivalent of 99 in hex as it's the max amount of numbers before hitting 100 (One Zero Zero, not one hundred).

100 is calculated as follows

1 x 256 (16 squared)
0 x 16 (16)
0 x 1 (1)

therefore 100 in hex is the equivalent of 256 in decimal.





I know you probably didn't care to learn, but here is the explanation the best that I can put it while working.
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-08-2007, 11:51 PM   #18
Mr. Wyndham
I used to be Dragoneye...
 
Mr. Wyndham's Avatar
 
Drives: 2014 Camaro 1LE
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 25,788
Send a message via AIM to Mr. Wyndham
So when you hit 19 in Hex, which is actually 25, what's the next number? Or is it 5 more letters again...
__________________
"Keep the faith." - - Read Before You Post.
SIGN UP for 2014 Camaro5 HPDE @ Gingerman Raceway!
Mr. Wyndham is offline   Reply With Quote
Old 08-09-2007, 12:10 AM   #19
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,234
1A
1B
1C
1D
1E
1F
20
21
22
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-09-2007, 12:36 AM   #20
Mr. Wyndham
I used to be Dragoneye...
 
Mr. Wyndham's Avatar
 
Drives: 2014 Camaro 1LE
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 25,788
Send a message via AIM to Mr. Wyndham
Ah...I see. and continuing:

23
24
25
26
27
28
29
2A
2B
2C
2D
2E
2F
30

would be the next ones?
__________________
"Keep the faith." - - Read Before You Post.
SIGN UP for 2014 Camaro5 HPDE @ Gingerman Raceway!
Mr. Wyndham is offline   Reply With Quote
Old 08-09-2007, 01:46 AM   #21
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,234
hai.
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-09-2007, 01:56 AM   #22
Mr. Wyndham
I used to be Dragoneye...
 
Mr. Wyndham's Avatar
 
Drives: 2014 Camaro 1LE
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 25,788
Send a message via AIM to Mr. Wyndham
Awesome, I understand 1% of a complicated topic! :p
__________________
"Keep the faith." - - Read Before You Post.
SIGN UP for 2014 Camaro5 HPDE @ Gingerman Raceway!
Mr. Wyndham is offline   Reply With Quote
Old 08-09-2007, 02:45 AM   #23
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,234
ok, now, work this out in decimal.

4A7
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-09-2007, 09:22 AM   #24
MerF
Go Rays!
 
MerF's Avatar
 
Drives: 03 Trailblazer
Join Date: May 2007
Location: St Pete, Florida
Posts: 2,537
This is the point I have to stare at my student's keyboards. They tend to try their hardest to bust out the Microsoft calculators instead of just working it out.

Little f***ers!

4=0100
A=1010
7=0111
-------------
010010100111 (base2) = 1+2+4+32+128+1024 = 1191 (base 10)

I probably pencil-f***ed myself somewhere, feel free to check it!

Last edited by MerF; 08-09-2007 at 09:39 AM. Reason: Wirty dords.
MerF is offline   Reply With Quote
Old 08-09-2007, 01:07 PM   #25
Mr. Wyndham
I used to be Dragoneye...
 
Mr. Wyndham's Avatar
 
Drives: 2014 Camaro 1LE
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 25,788
Send a message via AIM to Mr. Wyndham
Well, I got the 4=0100, and the 7=1000...but I can't figure out the A, nor do I have any idea how MerF got from 010010100111 to 1+2+4+32+128+1024...


You don't have to try and teach this stuff to me, you know...I'll learn it if you want to, but don't go out of your way.
__________________
"Keep the faith." - - Read Before You Post.
SIGN UP for 2014 Camaro5 HPDE @ Gingerman Raceway!
Mr. Wyndham is offline   Reply With Quote
 
Reply

Thread Tools

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 -5. The time now is 05:13 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.