Schedule

Schedule

Tuesday, July 29

1406653200 Tech News Today
1406656800 MacBreak Weekly
1406664000 Security Now
1406671200 Before You Buy
1406674800 Tech News 2Night
1406678400 All About Android

Wednesday, July 30

1406734200 FLOSS Weekly
1406739600 Tech News Today
1406743200 Windows Weekly
1406750400 This Week in Google
1406761200 Tech News 2Night
1406763000 redditUP
1406768400 Ham Nation

Thursday, July 31

1406826000 Tech News Today
1406829600 Know How...
1406833200 The Social Hour
1406838600 Coding 101
1406842200 Home Theater Geeks
1406847600 Tech News 2Night
1406849400 The Giz Wiz
1406858400 OMGcraft

Friday, August 1

1406912400 Tech News Today
1406916000 This Week in Law
1406923200 Android App Arena
1406934000 Tech News 2Night

Saturday, August 2

1407002400 The Tech Guy

Sunday, August 3

1407088800 The Tech Guy
1407103200 This Week in Tech

Monday, August 4

1407171600 Tech News Today
1407175200 Triangulation
1407180600 iPad Today
1407193200 Tech News 2Night
1407195000 Marketing Mavericks

Tuesday, August 5

1407258000 Tech News Today
1407261600 MacBreak Weekly
1407268800 Security Now
1407276000 Before You Buy
1407279600 Tech News 2Night
1407283200 All About Android

Wednesday, August 6

1407339000 FLOSS Weekly
1407344400 Tech News Today
1407348000 Windows Weekly
1407355200 This Week in Google
1407366000 Tech News 2Night
1407367800 redditUP
1407373200 Ham Nation

Thursday, August 7

1407430800 Tech News Today
1407434400 Know How...
1407438000 The Social Hour
1407443400 Coding 101
1407447000 Home Theater Geeks
1407452400 Tech News 2Night
1407454200 The Giz Wiz

Most Recent Episodes

Tech News 2Night

OkCupid conducted matchmaking experiments on users

Triangulation

The Michael Jordan of video games.

Tech News Today

Samsung's first Tizen smartphone is reportedly delayed indefinitely.

This Week in Tech

Larry Niven, emoji life, judgmental media, ticket fixing, and more.

The Tech Guy
The Tech Guy 1104 July 27th, 2014

How much do YouTube stars make?

The Tech Guy
The Tech Guy 1103 July 26th, 2014

Mobile Security

Tech News 2Night

The US House of Representatives vote to allow users to unlock their cellphones.

This Week in Law

Indie books without DRM sell twice as many copies than those with DRM.

Android App Arena

Modern games with old-school charm.

This Week in Computer Hardware

64GB of RAM, Shield Tablets, and More!

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: