Want to talk Binary?

Want to talk Binary?

All Replies

• Monday, February 04, 2013 10:25 PM

If anyone wants to know how to convert text into a series of binary digits, I quickly made this little graphic.

Note that this sort of system applies to all radices as a way of converting to them, with the divisor "2" changed to the value of the radix.
• Monday, February 04, 2013 10:29 PM
Moderator

01000001011100110010000001001101011000010111010001101000001000000100110101100001011011100010011101110011001000000111010001100001011001110010000001100111011011110110010101110011001000000010110100100000010000100110100101101110011000010111001001111001001000000110100101110011001000000110000101110011001000000110010101100001011100110111100100100000011000010111001100100000001100010010110000100000001100010011000000101100001000000011000100110001
• Monday, February 04, 2013 11:44 PM

0101100101100101011100110010110000100000011001010111100001100001011000110111010001101100011110010010000001101101011110010010000001110000011011110110100101101110011101000010111000100000010000100110100101101110011000010111001001111001001000000110000101100100011001000110100101110100011010010110111101101110001000000110100101110011001000000110101001110101011100110111010000100000011000010111001100100000011001010110000101110011011110010010000001100001011100110010000001100100011001010110001101101001011011010110000101101100001000000110000101100100011001000110100101110100011010010110111101101110001011000010000001110100011011110110111100101110001000000101100101101111011101010010000001101010011101010111001101110100001000000111001001100101011001110111001001101111011101010111000000100000011101110110100001100101011011100010000001110011011011110110110101100101011101000110100001101001011011100110011100100000011001110110111101100101011100110010000001100001011000100110111101110110011001010010000000110001001011100010000001010011011010010110110101110000011011000110010100101100001000000110100101101110001000000110110101111001001000000110111101110000011010010110111001101001011011110110111000101110

I am an 11 year old that knows Small Basic and is learning Java and C. 'Binary is as easy as 1, 10, 11.'

• Tuesday, February 05, 2013 2:13 AM

010101000110100001101001011100110010000001101001011100110010000001110110011001010111001001111001001000000110100101101110011101000110010101110010011001010111001101110100011010010110111001100111001011100010000001001001001000000111000001110101011101000010000001110100011010000110100101110011001000000110001101101111011011100111011001100101011100100111010001100101011100100010011101110011001000000111001101101000011011110111001001110100011000110111010101110100001000000110111101101110001000000111010001101000011001010010000001000100011001010111001101101011011101000110111101110000001000000101100001000100001010010010111000100000
• Tuesday, February 05, 2013 2:28 AM

0101100101100101011100110010111000100000010000100110100101101110011000010111001001111001001000000110100101110011001000000111011001100101011100100111100100100000011010010110111001110100011001010111001001100101011100110111010001101001011011100110011100100000011010010110111000100000011011010111100100100000011011110111000001101001011011100110100101101111011011100010111000100000010000010110110001110011011011110010110000100000011010010110011000100000011110010110111101110101001000000110010001101001011001000110111000100111011101000010000001101011011011100110111101110111001011000010000001100001001000000110001001101001011101000010000001101001011100110010000001100001001000000110001001101001011011100110000101110010011110010010000001100100011010010110011101101001011101000010000000101000011001010110100101110100011010000110010101110010001000000011000100100000011011110111001000100000001100000010100100100000011000010110111001100100001000000110000100100000011000100111100101110100011001010010000001101001011100110010000000111000001000000110001001101001011101000111001100101110001000000100101101101001011011000110111101100010011110010111010001100101011100110010000001100001011100100110010100100000001100010011000000110000001100000010101001100010011110010111010001100101001011000010000001101101011001010110011101100001011000100111100101110100011001010111001100100000011000010111001001100101001000000011000100110000001100000011000000110000001100000011000000101010011000100111100101110100011001010010110000100000001010000011000100110000001100000011000000101010011010110110100101101100011011110110001001111001011101000110010100101001001000000110010101110100011000110010111000100000

I am an 11 year old that knows Small Basic and is learning Java and C. 'Binary is as easy as 1, 10, 11.'

• Tuesday, February 05, 2013 2:28 PM

These long strings of zero and one digits reminded me of the conversion
of bytestrings to Base64, see  http://en.wikipedia.org/wiki/Base64

In Base64 the long strings of zeros and ones are divided in 6 bits
( decimal 0 - 63 ) and translated into A..Za..z0123456789+/ (64 chars)
I added two subroutines to the program BTN178 from Amir CPS, which
convert Binary to Base64 and Base64 to Binary.
The program is published as BTN178-0 (sorry to steal Amir's programnumber,
I thought it should get a new number)

Jan [ WhTurner ] The Netherlands

• Wednesday, February 06, 2013 2:23 AM

MBM992 <- it was too long to post XD That is what I say in bianary!

A spark to start a fire is necessary. But mainly you need dry kindling.

• Wednesday, February 06, 2013 3:31 AM
Owner

If anyone wants to know how to convert text into a series of binary digits, I quickly made this little graphic.

Note that this sort of system applies to all radices as a way of converting to them, with the divisor "2" changed to the value of the radix.

Do you want to make it a Wiki article too? Or can I?

Thanks!

Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

• Wednesday, February 06, 2013 3:33 AM
Owner

These long strings of zero and one digits reminded me of the conversion
of bytestrings to Base64, see  http://en.wikipedia.org/wiki/Base64

In Base64 the long strings of zeros and ones are divided in 6 bits
( decimal 0 - 63 ) and translated into A..Za..z0123456789+/ (64 chars)
I added two subroutines to the program BTN178 from Amir CPS, which
convert Binary to Base64 and Base64 to Binary.
The program is published as BTN178-0 (sorry to steal Amir's programnumber,
I thought it should get a new number)

Jan [ WhTurner ] The Netherlands

Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

• Wednesday, February 06, 2013 3:47 AM

0100001101100001011011100010000001100001011011100111100101101111011011100110010100100000011100110111000001101111011101000010000001001101011000010111010001101000001000000100110101100001011011100010011101110011001000000110010101110010011100100110111101110010001000000110100101101110001000000110100001101001011100110010000000110001001100000110111001100100001000000111000001101111011100110111010000111111
• Edited by Wednesday, February 06, 2013 4:01 AM
•
• Wednesday, February 06, 2013 4:18 AM

0100100101110011001000000110100101110100001000000110000100100000011001110111001001100001011011010110110101100001011100100010000001101001011100110111001101110101011001010010000001101111011100100010000001100001001000000110110101101001011100110111010101101110011001000110010101110010011100110111010001100001011011100110010001101001011011100110011100100000011011110110011000100000011000100110100101101110011000010111001001111001001000000110111101101110001000000110110101111001001000000111000001100001011100100111010000111111

I am an 11 year old that knows Small Basic and is learning Java and C. 'Binary is as easy as 1, 10, 11.'

• Wednesday, February 06, 2013 6:01 PM

01101000011101000111010001110000001110100010111100101111011001010110111000101110011101110110100101101011011010010111000001100101011001000110100101100001001011100110111101110010011001110010111101110111011010010110101101101001001011110100110101100101011001110110000101100010011110010111010001100101001011100010000000100000010010010010000001110100011010000110100101101110011010110010000001110100011010000110010100100000011000110110000101110011011001010010000001110111011010000110010101110010011001010010000000110001011010110010000001110111011000010111001100100000011000110110110001100001011010010110110101100101011001000010000001110100011011110010000001100010011001010010000000110001001100000011000000110000001000000110001001111001011101000110010101110011001000000111011101100001011100110010000001100001011011100010000001100001011001000111011001100101011100100111010001101001011100110110100101101110011001110010000001101101011010010111001101110100011000010110101101100101001000000110100101101110001000000111010001101000011001010010000000110001001110010011011100110000001001110111001100101110
• Wednesday, February 06, 2013 6:23 PM

If anyone wants to know how to convert text into a series of binary digits, I quickly made this little graphic.

Note that this sort of system applies to all radices as a way of converting to them, with the divisor "2" changed to the value of the radix.

Do you want to make it a Wiki article too? Or can I?

Thanks!

Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

You can create a wiki article if you wish to do so :)
• Wednesday, February 06, 2013 9:40 PM
Owner

Liam, here's the Wiki article: http://social.technet.microsoft.com/wiki/contents/articles/15736.how-to-convert-text-into-binary.aspx

Thanks!

Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

• Wednesday, February 06, 2013 11:47 PM

Here's a quick ternary (trinary) to text and text to ternary converter: PWD225-1

And an encoded message to go with it!

02222110001020210121110211020201012110201020211011110101102011022010121022010210010121102210212102021102010202010121022011021010121012111002111110101210122111001021111021010121111111010111000101210210102201100210201012010101210010102121012111002102221102101020

I am an 11 year old that knows Small Basic and is learning Java and C. 'Binary is as easy as 1, 10, 11.'

• Edited by Friday, February 08, 2013 4:16 AM
•
• Thursday, February 07, 2013 12:05 AM

It cannot convert ternary to text.      Maybe line 23 is wrong.

If Text.GetLength(Ternary) < 1 Then     '<-----  this works well

• Thursday, February 07, 2013 12:22 AM

Sorry, the new one that works is PWD225-1

I am an 11 year old that knows Small Basic and is learning Java and C. 'Binary is as easy as 1, 10, 11.'

• Edited by Friday, February 08, 2013 4:16 AM
•
• Thursday, February 07, 2013 7:48 AM

0101011101100101011011000110110000100000011110010110111101110101001000000110111001100101011001010110010000100000011101000110100001101001011100110010000001000011010100100101000000110111001100010011100000100000011101000110111100100000011000110110111101101110011101100110010101110010011101000010000001101110011001010111100001110100001000000110110001101001011011100110010100101110

48657920477579732C2057686174277320676F696E67206F6E20686572653F203A29

Merry Xmas!

• Thursday, February 07, 2013 7:57 AM

546865726520697320612062756720696E20486578203A205465787420636F6E76657274657220706C656173652074616B652061206C6F6F6B20696E746F20636F64657320616E642074727920746F2066696E64206F7574207768617427732077726F6E673F206974207365656D73206E6F7420746F20776F726B20776974682063686172616374657220313320262031302070726F7065726C792E

Merry Xmas!

• Thursday, February 07, 2013 2:52 PM

4920736565206E6F772C207768656E20746865206E6577206C696E652063686172616374657273206172652070757420696E2C206974207075747320696E202A2D20696E7374656164206F662061206E6577206C696E65

I am an 11 year old that knows Small Basic and is learning Java and C. 'Binary is as easy as 1, 10, 11.'

• Friday, February 08, 2013 5:59 AM

4920736565206E6F772C207768656E20746865206E6577206C696E652063686172616374657273206172652070757420696E2C206974207075747320696E202A2D20696E7374656164206F662061206E6577206C696E65

I am an 11 year old that knows Small Basic and is learning Java and C. 'Binary is as easy as 1, 10, 11.'

49207374696C6C20646F6E2774206B6E6F7720686F7720746F206669782069742E203A53

Merry Xmas!

• Friday, February 15, 2013 7:55 AM
Owner

02201010121012110201102011020210201010120221210121110221021201012022121012111002011101102101012100101020211020110021012111020111110101210200110101100211101102021102011022102021102001201

http://blogs.msdn.com/b/smallbasic/archive/2013/02/01/text-to-binary-converter-small-basic-featured-program.aspx

Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

• Friday, February 15, 2013 8:00 AM
Owner

0101011101100101011011000110110000100000011110010110111101110101001000000110111001100101011001010110010000100000011101000110100001101001011100110010000001000011010100100101000000110111001100010011100000100000011101000110111100100000011000110110111101101110011101100110010101110010011101000010000001101110011001010111100001110100001000000110110001101001011011100110010100101110

48657920477579732C2057686174277320676F696E67206F6E20686572653F203A29

Merry Xmas!

4920616464656420416D697227732048657820436F6E76657274657220746F207468697320626C6F6720706F73743A

http://blogs.msdn.com/b/smallbasic/archive/2013/02/01/text-to-binary-converter-small-basic-featured-program.aspx

Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)