Devchat.tv Episode Roundup

Devchat.tv Episode Roundup

Download on the App Store

All Devchat.tv Episode Roundup episodes

  • 032 iPhreaks Show – Security with Rob Napier
    Panel
    Rob Napier (twitter github blog)
    Andrew Madsen (twitter github blog)
    Jaim Zuber (twitter Sharp Five Software)
    Charles Max Wood (twitter github Teach Me To Code Rails Ramp Up)
    Discussion
    00:38 - Rob Napier Introduction
    iOS 7 Programming Pushing the Limits by Rob Napier & Mugunth Kumar
    RNCryptor
    01:30 - Apple and Security
    04:21 - Security Concerns
    Passwords
    Personal Information
    06:10 - Prevention
    SSL
    Verisign
    09:50 - Generating Certificates
    Rob's Practical Security Talk, Slides and Sample Code from CocoaConf
    Rob Napier: Get Security and Privacy Right
    PBKDF2
    13:05 - Initialization Vector
    AES
    Cipher Block Chaining (CBC)
    16:06 - RNCryptor
    17:34 - Formats
    OpenSSL
    HMAC
    AES Crypt
    20:55 - Device Encryption
    25:28 - Server Security and Storing Passwords
    Hashing
    Salting
    Shor’s Algorithm
    37:48 - Breaking Passwords
    Rainbow Table
    BitTorrent
    John the Ripper
    41:47 - Keeping Passwords Safe
    1Password
    LastPass
    Convenience and Security
    47:35 - Obfuscation
    Picks
    Use Option as Meta Key in Mac OS X Terminal (Jaim)
    iTerm2 (Chuck)
    Duct Tape Marketing Revised & Updated: The World's Most Practical Small Business Marketing Guide by John Jantsch (Chuck)
    Security Now (Chuck)
    Reflections on Trusting Trust by Ken Thompson (Rob)
    Coursera: Cryptography I (Rob)
    Learn You a Haskell for Great Good: A Beginner's Guide by Miran Lipovača (Rob)
    Next Week
    AFNetworking with Kevin Harwood
    Transcript
     
    CHUCK: Hey everybody and welcome to episode 32 of iPhreaks. This week on our panel, we have Andrew Madsen.
    ANDREW: Hi from Salt Lake City.
    CHUCK: Jaim Zuber.
    JAIM: I'm still recovering from the Black Friday deals with the pawn shop. I waited in line for three hours to save $5 on an Xbox 360. Totally worth it.
    CHUCK: [Laughs] I'm Charles Max Wood from devchat.tv. And we have a special guest this week and that’s Rob Napier.
    ROB: That's right. I'm here in Raleigh, North Carolina.
    CHUCK: So do you wanna introduce yourself really quickly for people who don’t know who you are?
    ROB: Sure. I'm an iOS and Mac developer. I was a Mac developer before iOS come around in the iPhone. I write the book iOS Pushing The Limits. And I do a lot of work in the security world, so I keep a security cryptography package called RNCrytor, for simplifying cryptography.
    CHUCK: Oh, nice. Isn’t that just a bunch of fancy math?
    ROB: It is just a lot of fancy math. But it’s easy to do it wrong.
    CHUCK: [Chuckles] That’s for sure.
    ROB: [Chuckles]
    ANDREW: Isn’t that computers? Just fancy math?
    ROB: It’s so true. We need more math.
    CHUCK: “So easy to do it wrong.” Don’t tell Adobe that.
    ROB: [Chuckles]
    CHUCK: So, speaking with security with iOS, it seems like Apple does a lot of things to provide you with security. I mean, they have sandboxing and all the other stuff that they do. Do we really need to worry about security when we are programming for the iPhone?
    ROB: Oh certainly, yeah. Apple has done a really great job -- I feel -- in iOS. While over the years, there have been various  problems; some of the earliest locks didn’t really work well and early device encryption have trouble, but they’ve improved over the years. But iOS is really the first main stream operating system that came out with least privilege as the default, which was really brilliant, that they said day 1, “You are going to be locked in a  little sandbox and you can't do anything,” which made it very hard to write malware against the iPhone. But it still doesn’t get us off the hook of managing user information carefully. While we may not get infected with the virus, we still have lots of ways that we could leak our customer information.
    CHUCK: What are some of those ways? If it’s just a self-contained app and it doesn’t talk to anything else, is that still a risk?
    ROB: That's true.
    58 min
  • 031 iPhreaks Show – High Performance Core Data with Matthew Morey
    Panel
    Matthew Morey (twitter github blog)
    Jaim Zuber (twitter Sharp Five Software)
    Andrew Madsen (twitter github blog)
    Ben Scheirman (twitter github blog NSSreencast)
    Charles Max Wood (twitter github Teach Me To Code Rails Ramp Up)
    Discussion
    00:35 - Matthew Morey Introduction
    Buoy Explorer
    ChaiOne
    01:23 - Making Core Data Perform
    05:45 - Importing Data
    08:23 - Batch Sizing
    09:37 - Photo Blobs
    13:25 - Persistence
    16:43 - Query Performance
    String Comparison
    Order of Operations
    Hashing
    Tokens
    22:24 - Concurrency Models
    Context
    Notifications
    Picks
    iPad Telepresence Robot (Ben)
    Mercurial SCM (Andrew)
    Florian Kugler: Backstage with Nested Managed Object Contexts (Andrew)
    Needle Doctor (Jaim)
    Grado Labs Black1 (Jaim)
    Remote: Office Not Required by Jason Fried and David Heinemeier Hansson (Chuck)
    Audible (Chuck)
    High Performance Core Data (Matthew)
    Planet Money Podcast (Matthew)
    Core Data: Data Storage and Management for iOS, OS X, and iCloud by Marcus S. Zarra  (Matthew)
    Next Week
    Security with Rob Napier
    Transcript
    BEN: That’s the problem is that when my kids see the mixer, they are like, “Oh, knobs and buttons! I'm going to push all of them.”
    CHUCK: Hey everybody and welcome to episode 31 of the iPhreaks Show. This week on our panel, we have Jaim Zuber.
    JAIM: Boy, that is one cranky Rottweiler.
    CHUCK: Andrew Madsen.
    ANDREW: Hi from Salt Lake City.
    CHUCK: Ben Scheirman.
    BEN: Hi from Houston.
    CHUCK: I'm Charles Max Wood from devchat.tv and we have a special guest this week, and that is Matthew Morey.
    MATTHEW: Hello, also from Houston.
    CHUCK: So since you haven’t been on the show before, do you wanna introduce yourself?
    MATTHEW: Sure. So I got a couple of degrees in semiconductors physics and electrical engineering and quickly did nothing with those degrees. Spent a couple of years working on embedded electronics and a lot of C programming. And iOS SDK came out and jumped it to that, and been doing my own apps, including Buoy Explorer, which is a marine conditions app for surfers and water sports enthusiasts, where I implemented core data improperly there. And also I do work for a company here in Houston called ChaiOne, where we do a lot of client work.
    CHUCK: Yeah, I've met those guys before.
    MATTHEW: My boss is a real stickler.
    CHUCK: Yeah, I've heard that a couple of times. We brought John today to talk about high performance core data. Are there tricks to making core data perform or does it just work, or what?
    MATTHEW: Well, you can check the check box in the templates and it will generally just work. The problem is that it is such a complex framework and it’s just its so flexible and large. It’s very easy to put yourself in a bind or do the wrong thing and then suddenly, you'll have performance issues. I spent a lot of time making those mistakes, and I finally got to the point where I just wanted to figure all that out and kind of wrap my head around it. And so I've been focusing on that a lot, in particular.
    JAIM: You mentioned in Buoy Explorer, you initially did it improperly. Do you wanna elaborate on what mistakes you made there?
    MATTHEW: Yeah, so a common pattern in apps is you have to import data; either user’s data from the server or just general data, be it JSON, XML. On Buoy Explorer’s case, I'm downloading a bunch of data from these Buoys that are on the ocean and I measure wind conditions. And this data is very dense, so there's readings every 15 minutes from hundreds and thousands of these buoys. So there's a lot amount of data. And the way that the data is structured, I can't really fetch that data in a network efficient way. Unfortunately, I have to grab large amounts of data at a time. And importing that data into the persistence layer or into core data takes time; the data has to be parsed, the relationships have to be made, and then it has to be saved.
    36 min
  • 030 iPhreaks Show – Building Hardware for iPhones with Joel Stewart
    Panel
    Joel Stewart (twitter github)
    Andrew Madsen (twitter github blog)
    Jaim Zuber (twitter Sharp Five Software)
    Rod Schmidt (twitter github infiniteNIL)
    Charles Max Wood (twitter github Teach Me To Code Rails Ramp Up)
    Discussion
    00:30 - Joel Stewart Introduction
    VP of Engineering at Canopy
    Video Game Development
    01:06 - Building Hardware
    Sensus
    Apple’s MFI Program
    04:34 - Connectors
    09:11 - Challenges of connecting a device through a lightning adapter
    Case Certification
    CES
    11:39 - Build Process
    17:24 - Detection
    Sensus SDK Developer Portal
    21:54 - Bluetooth 4.0
    Pebble Smartwatch
    25:12 - Security
    26:59 - Development Interface
    29:22 - Sensus Release
    Market Strategy
    Leap Motion
    Picks
    i-calQ (Rod)
    Flow DJ Software (Andrew)
    MIKMIDI (Andrew)
    Bluegiga (Andrew)
    QONQR (Jaim)
    Airbnb (Chuck)
    Delta Airlines (Chuck)
    CARROT (Joel)
    Harvest (Joel)
    Next Week
    High Performance Core Data with Matthew Morey
    Transcript
    ROD: The audience is listening.
    CHUCK: Hey everybody and welcome to Episode 29 of The iPhreaks Show! This week on our panel, we have Andrew Madsen.
    ANDREW: Hi from Salt Lake City!
    CHUCK: Jaim Zuber.
    JAIM: Hello from Minneapolis!
    CHUCK: Rod Schmidt.
    ROD: Hello from Salt Lake!
    CHUCK: I’m Charles Max Wood from DevChat.tv. This week, we have a special guest and that’s Joel Stewart.
    JOEL: Greetings also from Minneapolis!
    CHUCK: Joel, do you want to introduce yourself for those of us who may not know who you are?
    JOEL: Sure! I’m currently a VP of Engineering at a company called Canopy up in Minneapolis. We’re a startup that is focusing on iPhone accessories. We do everything from hardware all the way up to stack to applications, then we part with a lot of content providers to integrate our functionality with our hardware inside their applications as well.
    Me personally, I’ve been doing the new game development for the last 6 or 7 years and I recently gotten involved in hardware. And yeah, [that’s] about it.
    CHUCK: Awesome. So you’re going to make a video game controller for the iPad?
    JOEL: Oh, yeah.
    CHUCK: What kind of hardware things are you building?
    JOEL: Well, our first product is called Sensus, and it is an iPhone case. It adds pressure sense with multi-touch panels to the back of your iPhone and also the edges. So, it can rename with functionality such as squeezing to scroll as opposed to using a thumb on the front of the screen to drag the contents around; you can just squeeze the edges and the content will automatically scroll.
    We do a lot of other things such as moving that touch and drag functionality to the back, moving environments as oppose to characters in the front; just adding an extra layer of interactions for your applications, for your games through the hardware. It’s attached to your iPhone through the Lightning connector right now, and it is part of Apple’s MFi program, which is made for iPhone. You have something to plot for and it has the entire slot for documentation that general public typically doesn’t get access to.
    CHUCK: Interesting. Is there some kind of trick to building hardware for iOS devices?
    JOEL: Certain metric. It’d be similar to most hardware products you create. You have a lot of industrial design (basically the plastics), a lot of mechanical engineering which is identifying what materials go into it, electrical engineering laying up those boards, firmware development, software development. I know it’s a much larger undertaking in just writing software, but process is a lot longer, it’s a lot more expensive, and it’s not easy, that’s for sure.
    ROD: Do you have to provide a driver to go with the hardware?
    JOEL: For the most part, no, since we’re talking through Apple’s Lightning connector; most of that protocols are already established so they provide a lot of documentation as to how to talk to the core operating system, iOS,
    43 min