Schedule

Schedule

Saturday, September 20

1411236000 The Tech Guy

Sunday, September 21

1411322400 The Tech Guy
1411336800 This Week in Tech

Monday, September 22

1411405200 Tech News Today
1411408800 Triangulation
1411414200 iPad Today
1411426800 Tech News 2Night
1411428600 Marketing Mavericks

Tuesday, September 23

1411491600 Tech News Today
1411495200 MacBreak Weekly
1411502400 Security Now
1411509600 Before You Buy
1411513200 Tech News 2Night
1411516800 All About Android
1411525800 Padre's Corner

Wednesday, September 24

1411572600 FLOSS Weekly
1411578000 Tech News Today
1411581600 Windows Weekly
1411588800 This Week in Google
1411599600 Tech News 2Night
1411601400 redditUP
1411606800 Ham Nation

Thursday, September 25

1411664400 Tech News Today
1411668000 Know How...
1411671600 The Social Hour
1411677000 Coding 101
1411680600 Home Theater Geeks
1411686000 Tech News 2Night
1411687800 The Giz Wiz
1411696800 OMGcraft

Friday, September 26

1411750800 Tech News Today
1411754400 This Week in Law
1411761600 Android App Arena
1411772400 Tech News 2Night

Saturday, September 27

1411840800 The Tech Guy

Sunday, September 28

1411927200 The Tech Guy
1411941600 This Week in Tech

Monday, September 29

1412010000 Tech News Today
1412013600 Triangulation
1412019000 iPad Today
1412031600 Tech News 2Night
1412033400 Marketing Mavericks

Tuesday, September 30

1412096400 Tech News Today
1412100000 MacBreak Weekly

Most Recent Episodes

Tech News 2Night

Selling Drugs on Instagram

This Week in Law

Did the FBI sleuth or hack to find the location of the Silk Road server?

Android App Arena
Episode #13: Material Design September 19th, 2014

Hands-on reviews of Reddit News, Today Calendar, Wally and Hangouts Dialer.

TWiT Live Specials
Episode #207: iPhone 6 Unboxing September 19th, 2014

Leo unboxes a brand new iPhone 6.

Tech News Today

The launch of the iPhone 6 and iPhone 6 Plus was greeted by long lines and widespread shortages.

This Week in Computer Hardware

New Moto X, GTX 980 leaks, and people raving regarding the iPhone 6.

The Giz Wiz
Episode #1486: No Potato Rotato September 18th, 2014

Capresso, self centering measuring tape, cut resistant gloves.

Home Theater Geeks
Episode #224: CEDIA 2014 Round-Up September 18th, 2014

Scott, Michael, Mark and Tom recap the CEDIA 2014 expo.

The Social Hour

Tiiny app, Apple CEO Tim Cook says "no social", Uber & Lyft are killing taxi business

OMGcraft

A brand new multi-genre map from qmagnet and his team.

Coding 101 3

Do While Conditioner

February 6 2014

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Guest: Lou Maresca

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 Xamarin Studio on Mac OSX, While Loops, For Loops, and Relational Operators. You can also check out our transcripts here.

Reviewing While Loops and A Mac OSX IDE Option

How do I download and compile my first code on a Mac?
Download the C# Compiler from the MonoDevelop website.
* Choose the Xamarin Studio package and download it.
* Click on the Mono + GTK# download link.
* Download the Intel Mac: Runtime or SDK links and install.
* Once all three programs are installed, open the Xamarin Studio application.
* From the main page, choose New, C#, Console Application.
* Start writing your code!

My While Loop looks like this:
* int counter = 368; - This will give me an integer variable called counter, which equals 368.
* while (counter > 0) - This is the start of my while loop, with counter being greater than zero.
*
Console.WriteLine(counter); - The loop states that every time my counter is greater than zero, to write out the counter number on my output.
*
counter = counter - 5;
- This changes the counter variable. So each time my while loop restarts, it's going to subtract 5 from the total, until the counter is no longer greater than zero.

Find the Code for ALL of our episodes HERE!

Ivory Tower!

Relational Operators

Remember the while loop?

The loop has a "()" section that determines if the loop will run. That section is called the "conditon" - as long as the condition is TRUE, the loop will run.

Those conditions use "Relationtional Operators" - Code elements that let you compare two operators against a relationship.Those relational operators are:
"<" Less Than
">" Greater Than
">=" Greater Than or Equal to
"<=" Less that or Equal To
"==" Equal To
"!=" Not Equal To

(3==3) is true, (2<1) is false, (71>=23) is true. Those would all work within that section, h
However, those conditions are ALWAYS true or ALWAYS false. That's useless in a loop because the loop would either never terminate, or it would never run. That's why we use variable within the condition, so that we can change the "trueness" or "falseness" of a condition.

for loop

The "for loop" is a "pretest" loop. Which means that, like the while loop, it will test the expression within the condition before ever running the code within the loop. (There IS a technique to make it a post-test loop, but we'll get to that later.) Unlike the "while loop", which requires you to seperately initialize the counter, create the condition and set the interator (step), every "for loop" defines its own initializer, condition, and iterator.

Example:

for (int counter=5; counter <= 10; counter++)

{

console.write (""The count is currently "");

console.writeln (counter);

}"

The Output will be:

The count is currently 5

The count is currently 6

The count is currently 7

The count is currently 8

The count is currently 9

The count is currently 10

1. The for loop will initialize an INT variable named "counter" and assign it the value of "5"
2. The for loop will check the condition of the expression "counter >= 10" -- since we set the value of counter at 5, the condition is true.
3. If the condition is true, the loop will execute
4. the for loop will then perform the "step" -- the increment or decrement that we specify

Get in Touch With Us!

* Subscribe and get Coding 101 automatically at TWiT.tv!
* Follow PadreSJ and Snubs on Twitter
* Watch the show live and join the chatroom every Thursday at 1:30pm PST.< br/>
* Email us at Padre@twit.tv and Shannon@twit.tv.

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

Bandwidth for Coding 101 is provided by Cachefly.

Running time: 38:28

Sponsors: