Schedule

Schedule

Saturday, August 30

1409421600 The Tech Guy

Sunday, August 31

1409508000 The Tech Guy
1409522400 This Week in Tech

Monday, September 1

1409590800 Tech News Today
1409594400 Triangulation
1409599800 iPad Today
1409612400 Tech News 2Night
1409614200 Marketing Mavericks

Tuesday, September 2

1409677200 Tech News Today
1409680800 MacBreak Weekly
1409688000 Security Now
1409695200 Before You Buy
1409698800 Tech News 2Night
1409702400 All About Android
1409711400 Padre's Corner

Wednesday, September 3

1409758200 FLOSS Weekly
1409763600 Tech News Today
1409767200 Windows Weekly
1409774400 This Week in Google
1409785200 Tech News 2Night
1409787000 redditUP
1409792400 Ham Nation

Thursday, September 4

1409850000 Tech News Today
1409853600 Know How...
1409857200 The Social Hour
1409862600 Coding 101
1409866200 Home Theater Geeks
1409871600 Tech News 2Night
1409873400 The Giz Wiz
1409882400 OMGcraft

Friday, September 5

1409936400 Tech News Today
1409940000 This Week in Law
1409947200 Android App Arena
1409958000 Tech News 2Night

Saturday, September 6

1410026400 The Tech Guy

Sunday, September 7

1410112800 The Tech Guy
1410127200 This Week in Tech

Monday, September 8

1410195600 Tech News Today
1410199200 Triangulation
1410204600 iPad Today
1410217200 Tech News 2Night
1410219000 Marketing Mavericks

Most Recent Episodes

Tech News 2Night

Facebook status updates are now searchable on mobile.

This Week in Law

Google receives 1 million DMCA takedown notices a day.

Android App Arena

A collection of games that are best played while wearing headphones.

Tech News Today

Microsoft's MSN Messenger is shutting down for good.

This Week in Computer Hardware

Haswell-E leak and 8TB hard drives.

Home Theater Geeks

Blind Audio Testing

Tech News 2Night

Apple announces Sept. 9th event.

Know How...

Lunchbox with braiiiiiiins!

The Giz Wiz

GoGo Pillow, PackIt, Keurig Mini.

Coding 101

This week we're going abstract.

Coding 101 1

Coding 01100101

January 23 2014

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Welcome to Coding 101 - It's the TWiT show that gives YOU the knowledge to live in the wonderful world of the programmer. This week we are taking a look at binaries. You can also check out the transcript of the show here.

Ivory Tower: Binary

Binary is a base 2 system. With the total sum based on each binary value being either "on" or "off" (Which is why it's called "BINARY")

2-bit Binary Value

  • Each BIT can have 2 values - on or off - 1 or 0
  • Each Bit is worth the value of powers of 2, counting up from 0.
  • We count the values from right to left.
  • With two bits, that means the "first" bit can be worth either "1" (2(0)) or "0" while the second bit can be worth "2" (2(1)) or "0"
  • If we have a value of 00 = 0 :: 11 = 3 :: 10 = 2 :: 01 -1
  • If we have a n 8-bit value the maximum value will be (1+2+4+8+16+32+64+128) 255

Let's Break Down the process!

  • If I had a value like 10101010... what logic would I use to get to the DECIMAL value? (170)
  • I would create a "Total" Variable
  • I would look at each position, from left to right, giving each position a value of 0-7
  • If the value was "0" then I would skip to the next value.
  • If the value was "1", then I would raise 2 to the power of that position, then add that value to the "Total" Variable
  • Once I have no more values to calculate, I would report my total.

Code Warrior: Lou Maresca

Get the Code!

Get in Touch With Us!

Download or subscribe to this show at twit.tv/code.

Bandwidth for Coding 101 is provided by Cachefly.

Running time: 28:39

Sponsors: