Wednesday, October 15, 2014

Episode 37: Funky Languages

Download

User question: Should I move to silicon valley?


Intro Topic: How do startups work?

News




Book of the Show




Tool of the Show




Funky Languages


  • Whitespace
    • Language entirely composed of tabs, spaces, and newlines
    • All non-whitespace characters are ignored
    • Can be embedded in text or code from whitespace-ignoring languages
  • ArnoldC
    • Most keywords & system function calls are replaced with Arnold Schwarzenegger movie quotes
    • Code:
      IT'S SHOWTIME
      TALK TO THE HAND "hello world"
      YOU HAVE BEEN TERMINATED
  • Velato
  • Piet
Listener Contribution: Rejection Sampling iPython notebook

Programming Throwdown is #74 on tech podcasts in iTunes!  Thanks for your support!!!


Monday, September 8, 2014

Episode 36: Swift

Download

Question: Getting involved with Open Source projects?

News




Book of the Show




Tool of the Show


  • Jason: Nextdoor
  • Patrick: Waze


Swift


  • Motivation
    • Objective-C is too low-level
  • Features
    • Static Typing with type-inference
    • Generics (e.g. typed containers)
    • String Templating (like handlebars)
    • Closures
    • Functions as first class citizens
    • Operator overloading
  • LLVM
    • Low Level Virtual Machine
    • LLVM Bytecode same as CLI in .NET
    • Swift -> LLVM bytecode -> machine code
    • Optimized for mobile
    • Integration with Objective-C
  • Bridging Header: Creates wrapper code for a set of Objective-C headers
  • Resources


Thursday, July 31, 2014

Episode 35: Haskell


Download

Question: Does your (current or potential) job title matter?

News
Book of the Show
Tool of the Show
  • Jason: Uber
  • Patrick: Store Coupon Apps

Databases

Thursday, June 26, 2014

Episode 34: Databases


Download

News
Book of the Show
Tool of the Show

Databases
  • Flat Files vs. Databases
  • Motivation (Why use a database)
    • Reverse-Indexing
    • Caching
    • Redundancy
    • Scalability
    • Segmentation
    • Analysis
    • Validation
  • Consistency
    • ACID
    • Eventually Consistent
  • Types
    • Relational Databases
      • SQL (Structured Query Language)
    • NoSQL Databases
      • Key/Value Store
      • Column-Family (Key / MultiValue)
      • Document Store
  • Implementations
    • Embedded
      • SQLite (Relational)
      • BerkeleyDB / MapDB (Key/Value)
    • In-Memory Server Database
      • memcached (Key/Value)
      • Redis (Key/Value)
    • Disk-Based Server Database
      • MySQL / Postgres (Structured)
      • HBase / Cassandra  (Column-Family)
      • MongoDB / RethinkDB (Document)

Wednesday, May 7, 2014

Episode 33: Design Patterns


Download

News
Book of the Show
Tool of the Show
  • Jason: VirtualBox
  • Patrick: Bittorrent Sync

Design Patterns
  • Singleton
    • Create only one instance of a class
      • Eager Initialization
      • Lazy Initialization
    • Example: Instance of a log file that should be shared across application
    • Danger: Use as Replacement for global variables
  • Facade
    • ZombieDB
  • Observer (Publisher/Subscriber)
    • Asynchronous device driver
    • Socket.IO
  • Resources

Tuesday, March 18, 2014

Episode 32: OpenSCAD


Download

News
Book of the Show
Tool of the Show

OpenSCAD
  • 3d models
    • Representation of the real world
    • Pure/Mathematical
    • NURBS: Non-uniform rational B-spline
  • Shapes
    • 2d
    • 3d
  • Transformations
    • Affine Transformation
    • 3d Transformation
    • Quaternions (4-D Trick)
  • Boolean Operations
  • Alternatives
    • Blender, 3d Studio Max
    • implicitCad (similar, written in Haskell)
  • RayTracing
    • Scene Description Language
    • Cast rays from camera to light source
    • POVRay

Monday, January 27, 2014

Episode 31: Unix Commands


Download

News
Interview Tips
  • Read up about the company you’re interviewing with
    • Core Products, Revenue
  • Be Confident, don’t be intimidated
    • Interviewer has studied the problems in advance
    • Attempt every problem, explain your thoughts, leave no stone unturned
  • Prepare a couple good questions for the interviewer
  • Have example code/ open source projects
  • Practice implementing common data structures and algorithms from scratch
    • Binary Trees and Tree Traversal
    • HashMaps
    • Sorting (at least 1 O(n log n) algorithm)
    • Graph Algorithms
    • Recursion & Dynamic Programming
  • TopCoder, Kaggle, Project Euler (and other competition sites)
  • Cracking the Coding Interview
  • Worst Interviewer / Interviewee moments
Book of the Show
Tool of the Show

Unix Commands

Shells
  • Bourne
  • C Shell (csh)
  • Korn Shell (ksh)
  • Thompson Shell (tsh)
  • Bash
Common Commands
  • cat
  • sed & awk
  • diff & patch
  • tar
  • gzip
  • crontab
  • bg, jobs, kill
  • ps, history
  • readlink
  • sort & uniq
  • tr, tr -s
  • cut
  • grep (and grep -r)
  • xargs
  • date
Rare But Useful Commands
  • expand
  • fmt
  • column
Quirky Commands
  • cal
  • banner