homeGeek CultureWebstoreeCards!Forums!Joy of Tech!AY2K!webcam

The Geek Culture Forums


Post New Topic  New Poll  Post A Reply
my profile | directory login | | search | faq | forum home
  next oldest topic   next newest topic
» The Geek Culture Forums   » Other Geeky Stuff   » Ask a Geek!   » How do I read binary? (Page 1)

 - UBBFriend: Email this page to someone!  
This topic comprises 2 pages: 1  2 
 
Author Topic: How do I read binary?
Tiroth
Geek-in-Training
Member # 8543

Rate Member
Icon 5 posted May 29, 2007 13:45      Profile for Tiroth   Author's Homepage         Edit/Delete Post   Reply With Quote 
Can someone post a link to a site that can teach me please? Thanks in advance.

-Tiroth

--------------------
Life is neither a good nor an evil; it is simply the place where good and evil exist.

-Seneca

Posts: 35 | From: Death Valley | Registered: May 2007  |  IP: Logged
spungo
BlabberMouth, a Blabber Odyssey
Member # 1089

Member Rated:
4
Icon 1 posted May 29, 2007 13:53      Profile for spungo     Send New Private Message       Edit/Delete Post   Reply With Quote 
There is a DOS utility called 'list.com' which will give you a readable hex dump. Try googling it. If you're using OSX, then pop up a terminal -- the system should have 'od' or something similar.

--------------------
Shameless plug. (Please forgive me.)

Posts: 6529 | From: Noba Scoba | Registered: Jan 2002  |  IP: Logged
dragonman97

SuperFan!
Member # 780

Member Rated:
4
Icon 1 posted May 29, 2007 14:04      Profile for dragonman97   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
That presumes it's not a reference to silly binary. [Wink]

i.e. 01000001->41->A
(I'm not adequately bored to write something in 'binary'. [Razz] )

--------------------
There are three things you can be sure of in life: Death, taxes, and reading about fake illnesses online...

Posts: 9332 | From: Westchester County, New York | Registered: May 2001  |  IP: Logged
Tiroth
Geek-in-Training
Member # 8543

Rate Member
Icon 1 posted May 29, 2007 14:07      Profile for Tiroth   Author's Homepage         Edit/Delete Post   Reply With Quote 
0100110011101000100001001100110100110100
I think this means: Is this it?
a site i found said the digits are
16,8,4,2,1 on the bytes

--------------------
Life is neither a good nor an evil; it is simply the place where good and evil exist.

-Seneca

Posts: 35 | From: Death Valley | Registered: May 2007  |  IP: Logged
Grummash

Gold Hearted SuperFan!
Member # 4289

Icon 1 posted May 29, 2007 14:10      Profile for Grummash     Send New Private Message       Edit/Delete Post   Reply With Quote 
Tiroth asks: How do I read binary?

... from right to left. [Wink]

--------------------
...and yet, across the gulf of space, minds immeasurably superior to ours regarded this earth with envious eyes...

Posts: 2335 | From: Lancashire,UK | Registered: Aug 2005  |  IP: Logged
spungo
BlabberMouth, a Blabber Odyssey
Member # 1089

Member Rated:
4
Icon 1 posted May 29, 2007 14:13      Profile for spungo     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Grummash:
Tiroth asks: How do I read binary?

... from right to left. [Wink]

Oooh -- I hear an endianness war a-brewing...

--------------------
Shameless plug. (Please forgive me.)

Posts: 6529 | From: Noba Scoba | Registered: Jan 2002  |  IP: Logged
Tiroth
Geek-in-Training
Member # 8543

Rate Member
Icon 1 posted May 29, 2007 14:34      Profile for Tiroth   Author's Homepage         Edit/Delete Post   Reply With Quote 
I'm getting confused [Confused] [crazy]

-Tiroth

--------------------
Life is neither a good nor an evil; it is simply the place where good and evil exist.

-Seneca

Posts: 35 | From: Death Valley | Registered: May 2007  |  IP: Logged
GrumpySteen

Solid Nitrozanium SuperFan
Member # 170

Icon 1 posted May 29, 2007 14:36      Profile for GrumpySteen     Send New Private Message       Edit/Delete Post   Reply With Quote 
Tiroth wrote:
Can someone post a link to a site that can teach me please? Thanks in advance.

http://en.wikipedia.org/wiki/Binary_numeral_system

Once you understand how numbers are represented in binary, then you can move on to what those numbers might mean if they represent ASCII characters, ANSI characters, unicode characters and the like.

--------------------
Worst. Celibate. Ever.

Posts: 6364 | From: Tennessee | Registered: Jan 2000  |  IP: Logged
Tiroth
Geek-in-Training
Member # 8543

Rate Member
Icon 1 posted May 29, 2007 14:44      Profile for Tiroth   Author's Homepage         Edit/Delete Post   Reply With Quote 
wikipedia just made me more confused. [crazy] [Confused]

--------------------
Life is neither a good nor an evil; it is simply the place where good and evil exist.

-Seneca

Posts: 35 | From: Death Valley | Registered: May 2007  |  IP: Logged
The Famous Druid

Gold Hearted SuperFan!
Member # 1769

Member Rated:
4
Icon 1 posted May 29, 2007 15:00      Profile for The Famous Druid     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Tiroth:
0100110011101000100001001100110100110100
I think this means: Is this it?
a site i found said the digits are
16,8,4,2,1 on the bytes

Taking the rightmost 8 digits from your example

0 0 1 1 0 1 0 0
---------------
1 6 3 1 8 4 2 1
2 4 2 6
8

= 32 + 16 + 4 = 52

--------------------
If you watch 'The History Of NASA' backwards, it's about a space agency that has no manned spaceflight capability, then does low-orbit flights, then lands on the Moon.

Posts: 10680 | From: Melbourne, Australia | Registered: Oct 2002  |  IP: Logged
Tiroth
Geek-in-Training
Member # 8543

Rate Member
Icon 1 posted May 29, 2007 15:05      Profile for Tiroth   Author's Homepage         Edit/Delete Post   Reply With Quote 
well how do i turn that into letters?

--------------------
Life is neither a good nor an evil; it is simply the place where good and evil exist.

-Seneca

Posts: 35 | From: Death Valley | Registered: May 2007  |  IP: Logged
WinterSolstice

Solid Nitrozanium SuperFan
Member # 934

Member Rated:
3
Icon 1 posted May 29, 2007 15:06      Profile for WinterSolstice     Send New Private Message       Edit/Delete Post   Reply With Quote 
http://www.asciitable.com/

--------------------
An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.

Posts: 1192 | From: Los Angeles | Registered: Oct 2001  |  IP: Logged
GrumpySteen

Solid Nitrozanium SuperFan
Member # 170

Icon 1 posted May 29, 2007 15:12      Profile for GrumpySteen     Send New Private Message       Edit/Delete Post   Reply With Quote 
Did you read the "binary simplified" section? Skip over the top part of the Wikipedia page to that and start there if you haven't.

--------------------
Worst. Celibate. Ever.

Posts: 6364 | From: Tennessee | Registered: Jan 2000  |  IP: Logged
The Famous Druid

Gold Hearted SuperFan!
Member # 1769

Member Rated:
4
Icon 1 posted May 29, 2007 16:16      Profile for The Famous Druid     Send New Private Message       Edit/Delete Post   Reply With Quote 
According to this site, it says "L4"

--------------------
If you watch 'The History Of NASA' backwards, it's about a space agency that has no manned spaceflight capability, then does low-orbit flights, then lands on the Moon.

Posts: 10680 | From: Melbourne, Australia | Registered: Oct 2002  |  IP: Logged
garlicguy

Member # 3166

Member Rated:
5
Icon 1 posted May 29, 2007 16:35      Profile for garlicguy   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Which is why I prefer hexidecimal. Once coded into hex, then run through the site Druid offers, it actually translates into: L4

--------------------
I don't know what I was thinking... it seemed like a good idea at the time.

Posts: 3752 | From: Pluto, no matter what you call it, is still my home. | Registered: Dec 2004  |  IP: Logged
GrumpySteen

Solid Nitrozanium SuperFan
Member # 170

Icon 1 posted May 29, 2007 16:56      Profile for GrumpySteen     Send New Private Message       Edit/Delete Post   Reply With Quote 
*sigh*

dragonman97 pointed right at the answer, although he didn't suggest using 5 bit words. Here... figure out why it works this way for yourself:

code:
01001 10011 10100 01000 01001 10011 01001 10100
9 19 20 8 9 19 9 20
i s t h i s i t



--------------------
Worst. Celibate. Ever.

Posts: 6364 | From: Tennessee | Registered: Jan 2000  |  IP: Logged
Tiroth
Geek-in-Training
Member # 8543

Rate Member
Icon 1 posted May 29, 2007 17:35      Profile for Tiroth   Author's Homepage         Edit/Delete Post   Reply With Quote 
well i know how to use 5 bit ones, but no idea about 8 bit. i'm hopeless [shake head] lol

--------------------
Life is neither a good nor an evil; it is simply the place where good and evil exist.

-Seneca

Posts: 35 | From: Death Valley | Registered: May 2007  |  IP: Logged
GrumpySteen

Solid Nitrozanium SuperFan
Member # 170

Icon 1 posted May 29, 2007 17:37      Profile for GrumpySteen     Send New Private Message       Edit/Delete Post   Reply With Quote 
8 bit words used to represent text are usually ASCII, ANSI or Unicode. If you do a search on each, you can find information on what characters correspond to what numerical values.

--------------------
Worst. Celibate. Ever.

Posts: 6364 | From: Tennessee | Registered: Jan 2000  |  IP: Logged
Stereo

Solid Nitrozanium SuperFan!
Member # 748

Member Rated:
5
Icon 1 posted May 29, 2007 17:55      Profile for Stereo     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Steen:
8 bit words used to represent text are usually ASCII, ANSI or Unicode. If you do a search on each, you can find information on what characters correspond to what numerical values.

Isn't Unicode 16 bits?

Tiroth, the Druid gave you the key to 8-bit binary decoding.

--------------------
Eppur, si muove!

Galileo Galilei

Posts: 2289 | From: Gatineau, Quebec, Canada | Registered: Apr 2001  |  IP: Logged
Tiroth
Geek-in-Training
Member # 8543

Rate Member
Icon 1 posted May 29, 2007 17:58      Profile for Tiroth   Author's Homepage         Edit/Delete Post   Reply With Quote 
YES I GET IT NOW!!! [Big Grin] [Big Grin] [Big Grin] I just have to get used to the letters' binary numbers.

--------------------
Life is neither a good nor an evil; it is simply the place where good and evil exist.

-Seneca

Posts: 35 | From: Death Valley | Registered: May 2007  |  IP: Logged
dragonman97

SuperFan!
Member # 780

Member Rated:
4
Icon 1 posted May 29, 2007 18:14      Profile for dragonman97   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
/me beats a dead horse - why would anyone use 5 bit? That's not enough to hold ASCII...

--------------------
There are three things you can be sure of in life: Death, taxes, and reading about fake illnesses online...

Posts: 9332 | From: Westchester County, New York | Registered: May 2001  |  IP: Logged
GrumpySteen

Solid Nitrozanium SuperFan
Member # 170

Icon 1 posted May 29, 2007 18:24      Profile for GrumpySteen     Send New Private Message       Edit/Delete Post   Reply With Quote 
Stereo wrote:
Isn't Unicode 16 bits?

It is if you're using UTF-16 encoding and not UTF-8 or UTF-32. I didn't want to confuse the issue [Smile]

dragonman97 wrote:
/me beats a dead horse - why would anyone use 5 bit? That's not enough to hold ASCII...

It's the first word length that can hold 26 letters for the alphabet. For use on a computer, it doesn't make sense. For use as an introduction for a beginner to the concept of binary encoding of text, it does.

Tiroth:
Congratulations. You're becoming geeker by the day [Smile]

--------------------
Worst. Celibate. Ever.

Posts: 6364 | From: Tennessee | Registered: Jan 2000  |  IP: Logged
Tiroth
Geek-in-Training
Member # 8543

Rate Member
Icon 1 posted May 29, 2007 19:06      Profile for Tiroth   Author's Homepage         Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Steen:
Tiroth:
Congratulations. You're becoming geeker by the day [Smile]

Before joining these forums never thought I'd say ty to that lol.
01110111 01101111 01101111 01110100

--------------------
Life is neither a good nor an evil; it is simply the place where good and evil exist.

-Seneca

Posts: 35 | From: Death Valley | Registered: May 2007  |  IP: Logged
quantumfluff
BlabberMouth, a Blabber Odyssey
Member # 450

Member Rated:
5
Icon 1 posted May 29, 2007 19:41      Profile for quantumfluff     Send New Private Message       Edit/Delete Post   Reply With Quote 
Stereo wrote: Isn't Unicode 16 bits?
It's 32 bits, but the most common encodings are the 8-bit UTF-8 for transmission and data interchange and the 16-bit (UTF-16) for use during program execution.

dragonman97 wrote: /me beats a dead horse - why would anyone use 5 bit? That's not enough to hold ASCII...
Early telegraph systems used a 5-bit encoding called Baudot, but few people who frequent these forums would be old enough to ever have heard about it. DEC used a "sixbit" format to encode 6 alphanumeric characters in a single 36 bit word, but it could only handle upper case. They also packed five 7-bit ASCII characters into a 36 bit word. It was always an pain to convert from one format to the other when dealing with strings when writing PDP-10 assembler code.

Posts: 2902 | From: 5 to 15 meters above sea level | Registered: Jun 2000  |  IP: Logged
Stereo

Solid Nitrozanium SuperFan!
Member # 748

Member Rated:
5
Icon 11 posted May 30, 2007 06:12      Profile for Stereo     Send New Private Message       Edit/Delete Post   Reply With Quote 
Steen & qf: I guess I am not a good enough geek. I believe the 16-bit Unicode was talked about in a college course, and although I could have guessed the existence of a 32 bits version, I never knew about an 8 bits one. [blush] (I think I'll have to update my knowlege if I don't want to make a fool of me again...)

--------------------
Eppur, si muove!

Galileo Galilei

Posts: 2289 | From: Gatineau, Quebec, Canada | Registered: Apr 2001  |  IP: Logged


All times are Eastern Time
This topic comprises 2 pages: 1  2 
 
Post New Topic  New Poll  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:

Contact Us | Geek Culture Home Page

2015 Geek Culture

Powered by Infopop Corporation
UBB.classicTM 6.4.0



homeGeek CultureWebstoreeCards!Forums!Joy of Tech!AY2K!webcam