Schedule

Schedule

Monday, March 2

1425319200 Tech News Today
1425322800 Triangulation
1425328200 iPad Today
1425335400 Coding 101
1425340800 Tech News 2Night

Tuesday, March 3

1425405600 Tech News Today
1425409200 MacBreak Weekly
1425418200 Security Now
1425427200 Tech News 2Night
1425430800 All About Android

Wednesday, March 4

1425486600 FLOSS Weekly
1425492000 Tech News Today
1425495600 Windows Weekly
1425502800 This Week in Google
1425513600 Tech News 2Night
1425515400 Android App Arena
1425520800 Ham Nation

Thursday, March 5

1425578400 Tech News Today
1425582000 Know How...
1425587400 Marketing Mavericks
1425592800 Home Theater Geeks
1425600000 Tech News 2Night
1425601800 The Giz Wiz

Friday, March 6

1425664800 Tech News Today
1425668400 This Week in Law
1425679200 Before You Buy
1425686400 Tech News 2Night
1425690000 Padre's Corner

Saturday, March 7

1425754800 The Tech Guy

Sunday, March 8

1425837600 The Tech Guy
1425852000 This Week in Tech

Monday, March 9

1425920400 Tech News Today
1425924000 Triangulation
1425929400 iPad Today
1425936600 Coding 101
1425942000 Tech News 2Night

Tuesday, March 10

1426006800 Tech News Today
1426010400 MacBreak Weekly
1426019400 Security Now
1426028400 Tech News 2Night
1426032000 All About Android

Wednesday, March 11

1426087800 FLOSS Weekly
1426093200 Tech News Today
1426096800 Windows Weekly
1426104000 This Week in Google
1426114800 Tech News 2Night
1426116600 Android App Arena

Most Recent Episodes

TWiT Live Specials

The Samsung Galaxy S6, S6 Edge, and Samsung Pay launch.

The Tech Guy
The Tech Guy 1165 February 28th, 2015

Storing photos and files if an iPad is your only computer.

Tech News 2Night

Google is working on a spectacular new campus.

This Week in Law
Episode #294: Dingo Free FCC February 27th, 2015

Do fan films infringe copyright or fall under Fair Use?

Tech News Today

Twitter fixes its troll control features

This Week in Computer Hardware

USB 3.1 performance, NVIDIA faces lawsuit for GeForce GTX 970 and more.

The Giz Wiz

Sick science toys, ThinkGeek blocks & games, Chad drinks from the Petaluma River and more!

Home Theater Geeks

Chip Adams, NBC Olympics, and thanks to SMPTE.

Tech News 2Night

Apple sends invitations for March 9th announcement

Know How...

Airbag for your Motorcycle.

Coding 101 7

Runtime, Funtime

March 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 reviewing function returns, checking out your viewer submissions, and we're getting graphical!

Reviewing Function Returns and Viewer Submissions

My example this week asks the user to input how long until their dinner reservations and how long until a movie starts next door. This equation doesn't account for lines for tickets or popcorn... so just skip the trailers. This function will RETURN the time they need to leave to get to the movie from dinner.

You can download my gibhub code HERE!

Viewer Submissions!
Dean created this Love Compatibility game.
Code is available here.

Razelda created this D&D Character Creator.
Code is available here.

Find the Code for ALL of our episodes HERE!

Ivory Tower

Let's take functions to the ULTIMATE Level -- The Runtime Library
* When we talk about functions, we talk about pieces of code that we've written, or that other programers have written for our use, that we can "call"
* Everytime we call a function, we're saving time and memory space by not having to re-write that particular piece of code.
* All of the functions we've played with do something very obvious:

** Functions that add sums
** Functions that print menus
** Functions that run loops with console commands"

But there are ""functions /// procedures /// methods pieces of code that get called over and over again... not to do the obvious things... but to support the programming language itself

** These are the bits of code that create the "Run-Time System" or "Run-Time Environment"

** This is the code that turns ""console"" into a usable command"

EVERY Computer language has some form of runtime-system. Whether it's C# or Java, Visual Basic or Python. -- Compiled or Interpreted.

We are always interacting with the Runtime-Environment because that's the only way that our code becomes something useful, but we have access to something FAR more powerful
*** THE RUNTIME LIBRARY ***

A Runtime Library gives us access to love-lever routines that can control some of the most basic and POWERFUL aspects of our programming language.
** In essense, using a runtime library gives us access to a library of functions that can control almost every aspect of how our program looks, works and interacts with the environment itself.

Windows Presentation Foundation
* WPF is a Runtime Library that is part of of the.NET Framework in Windows.

* WPF resembles XLM object modules.
* WPF is included in all version of Windows 8, 7, Vista, and Server 2008 and above. While XP or Server 2003 users can install the .NET Framework.

WPF users DirectX, which means it's designed to take advantage of modern graphics hardware.
* Gives coders access to some really nice eye-candy
* Allows us to build beautiful 2D and 3D applications without having to code all the functions to make that possible.

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.
* Email us at Padre@twit.tv and Shannon@twit.tv.
* Join our Google+ Community!

Download or subscribe to this show at twit.tv/code. Also, check out our transcripts.

Bandwidth for Coding 101 is provided by Cachefly.

Running time: 41:18

Sponsors: