Schedule

Schedule

Sunday, April 20

1398016800 The Tech Guy
1398031200 This Week in Tech

Monday, April 21

1398099600 Tech News Today
1398103200 Triangulation
1398108600 iPad Today
1398121200 Tech News 2Night

Tuesday, April 22

1398180600 Marketing Mavericks
1398186000 Tech News Today
1398189600 MacBreak Weekly
1398196800 Security Now
1398204000 Before You Buy
1398207600 Tech News 2Night
1398211200 All About Android

Wednesday, April 23

1398267000 FLOSS Weekly
1398272400 Tech News Today
1398276000 Windows Weekly
1398283200 This Week in Google
1398294000 Tech News 2Night
1398295800 The Giz Wiz
1398301200 Ham Nation

Thursday, April 24

1398358800 Tech News Today
1398362400 Know How...
1398366000 The Social Hour
1398371400 Coding 101
1398375000 Home Theater Geeks
1398380400 Tech News 2Night
1398384000 OMGcraft

Friday, April 25

1398445200 Tech News Today
1398448800 This Week in Law
1398466800 Tech News 2Night

Saturday, April 26

1398535200 The Tech Guy

Sunday, April 27

1398621600 The Tech Guy
1398636000 This Week in Tech

Monday, April 28

1398704400 Tech News Today
1398708000 Triangulation
1398713400 iPad Today
1398726000 Tech News 2Night

Tuesday, April 29

1398785400 Marketing Mavericks
1398790800 Tech News Today
1398794400 MacBreak Weekly
1398801600 Security Now
1398808800 Before You Buy
1398812400 Tech News 2Night
1398816000 All About Android

Wednesday, April 30

1398871800 FLOSS Weekly

Most Recent Episodes

The Tech Guy
The Tech Guy 1075 April 19th, 2014

Heartbleed update, live streaming your band's performance, replacing the cable set-top box, and your calls.

Tech News 2Night

Heartbleed hijacks VPN sessions, NASA's new laser internet connection, HTC wants to own the selfie market, criminals use drones to find pot farms, and Pandora sued over playing pre-1972 recordings.

This Week in Computer Hardware

New Haswell CPU's, the word on Nvidia’s 337.50 driver update, desktop monitor upgrades, and more!

This Week in Law

Regulating robots, remixing music and fair use, the Aereo Supreme Court case, and more!

Tech News Today

Heartbleed flaw is getting fixed on more websites, Pandora sued by major record labels, Google might split Nexus into two different price points, and more.

Home Theater Geeks

POV binaural audio recording with High-Definition video.

Know How...

The Heartbleed exploit explained with jellybeans, tweak Windows 7 or 8 for extra speed, manage your passwords with LastPass, and a first look at the WRT 1900AC.

Tech News 2Night

Dropbox is on an acquisition spree, Facebook lets you find your Friends on a map, try-on Google Glass at home, Twitter's ad app launches, Amazon's Fire TV expands voice search, iOS could have Shazam built-in, and Honda's ASIMO robot is even more human.

Coding 101

Your Python list example, we'll explain the Heartbleed bug with jelly beans, and a While Loop.

The Social Hour

Amber & Sarah chat with Stageit's Evan Lowenstein on connecting artists and fans, Twitter's new ad strategy, US Airways' major major tweet fail, is Runkeeper's Breeze app Rad or Fad? And more!

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: