Schedule

Schedule

Sunday, April 26

1430071200 The Tech Guy
1430085600 This Week in Tech

Monday, April 27

1430154000 Tech News Today
1430157600 Triangulation
1430163000 iPad Today
1430170200 Coding 101
1430175600 Tech News 2Night

Tuesday, April 28

1430240400 Tech News Today
1430244000 MacBreak Weekly
1430253000 Security Now
1430262000 Tech News 2Night
1430265600 All About Android

Wednesday, April 29

1430321400 FLOSS Weekly
1430326800 Tech News Today
1430330400 Windows Weekly
1430337600 This Week in Google
1430348400 Tech News 2Night
1430350200 Android App Arena
1430355600 Ham Nation

Thursday, April 30

1430413200 Tech News Today
1430416800 Know How...
1430422200 Marketing Mavericks
1430427600 Home Theater Geeks
1430434800 Tech News 2Night
1430436600 The Giz Wiz

Friday, May 1

1430499600 Tech News Today
1430503200 This Week in Law
1430514000 Before You Buy
1430521200 Tech News 2Night

Saturday, May 2

1430589600 The Tech Guy

Sunday, May 3

1430676000 The Tech Guy
1430690400 This Week in Tech

Monday, May 4

1430758800 Tech News Today
1430762400 Triangulation
1430767800 iPad Today
1430775000 Coding 101
1430780400 Tech News 2Night

Tuesday, May 5

1430845200 Tech News Today
1430848800 MacBreak Weekly
1430857800 Security Now
1430866800 Tech News 2Night
1430870400 All About Android

Most Recent Episodes

The Tech Guy
The Tech Guy 1181 April 25th, 2015

Leo Laporte's first impressions of the Apple Watch.

Tech News 2Night

Quick tips for feeling better about your facebook usage.

Before You Buy

Leo Laporte unboxes the Apple Watch.

This Week in Enterprise Tech

Facebook vs. Spammers and Twitter vs. Trolls.

This Week in Law

Katy Perry's attempt to trademark the design of "Left Shark" is rejected.

Tech News Today

We'll show you how waterproof the Apple Watch really is...

This Week in Computer Hardware

Google Fi, Intel Compute Stick, and more.

The Giz Wiz

gizwiz.tv

Home Theater Geeks

Pete Putman and display interfaces.

Tech News 2Night

One geek artist prefers Samsung to Apple

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: