C# Development, the Apple II, and Health Tech with Scott Hanselman6:19 with Craig Dennis
This episode we will be chatting with the the developer evangelist, epic podcaster, and Principal Program Manager for the .NET Open source project and many other great tools, Scott Hanselman.
Hi I'm Craig. 0:00 Welcome to the Treehouse Show. 0:01 The Treehouse show is our weekly conversation with the Treehouse community. 0:02 [MUSIC] 0:05 This episode, we'll be chatting with the developer evangelist, epic podcaster and 0:10 principle program manager for the .NET open source project and 0:15 many other great tools, Scott Hanselman. 0:18 >> Thanks for being here today, Scott. 0:20 I was wondering if you could tell the students what's something that you teach 0:22 here at Treehouse? 0:26 >> I teach C# and Azure and how to get your website and 0:27 your ASP.NET website that you write in .NET, up into the Cloud. 0:30 >> Awesome. 0:33 Why is C# a good language to start with? 0:34 >> So I like C# because I think it's one of those languages that lets you write 0:37 anything, anywhere. 0:41 Like even if you learn C# and become a web developer, you may not know it but 0:42 you're also a game developer and you're an IOS developer and 0:46 you can write Cloud applications or tiny applications that run on Raspberry Pi. 0:50 You're an anything, anywhere developer. 0:54 So I think it's a very general language that lets you write anything anywhere. 0:56 >> That's awesome. 1:00 How did you get your start in technology? 1:01 >> Well, that's a, I was born a young boy. 1:04 >> [LAUGH] >> On a cold winter's night. 1:07 Well, gosh. 1:10 When I was 12, I was getting into trouble and there was a meeting. 1:11 There's always a meeting. 1:17 >> Sure, the trouble meeting. 1:18 >> Yeah. The trouble meeting. 1:19 The superintendent was there. 1:20 It was a district level. 1:22 >> Wow! >> Yeah, it was bad and 1:24 that they knew I was in AV Club and I was good at computers and stuff and 1:26 they let me borrow the Apple II, not a Apple II, the Apple II. 1:30 Cuz there was only, it was a poor school, there was only one Apple II. 1:36 So what they let me do is they let my dad back his truck up to the side 1:38 of the building on the Friday afternoon and we basically had permission to steal 1:43 the Apple II and take it home if it would keep me off the street, and 1:48 then I had to have it back by 5:00 on Sunday so it was ready for 1:52 open house on Monday so that no one really knew that we had stolen it. 1:55 So it was kind of a don't ask don't tell- >> Okay. 1:58 >> Kind of a thing. 2:01 But it kept me from getting into trouble on the weekends. 2:01 >> Wow. 2:04 >> And then I came home some months later and my dad, the truck was gone. 2:04 He had sold the truck to buy a computer for us. 2:12 So, that. 2:16 If a teacher hadn't gotten involved. 2:17 If the superintendent hadn't said it was okay. 2:20 If the principal hadn't coordinated the whole thing. 2:22 If my dad hadn't sold the family car, I don't know what I would be doing, but 2:24 it wouldn't have been computers [LAUGH], some kinda white collar crime. 2:29 >> [LAUGH] >> But yeah, that sacrifice is on the part 2:34 of a series of educators, along with a degree of Portland Community College. 2:37 >> Great. 2:42 >> Has me here. 2:43 >> Wonderful, what were you doing on that Apple II? 2:44 >> I was playing Oregon Trail, and Conan the Barbarian. 2:46 >> Of course you were. 2:49 >> But you know, learning how to actually control robots, back before bluetooth, 2:50 we had these long ribbon cables that would run out of the back of the Apple II, 2:54 into a or a little tiny robot with a sharpie. 2:58 And you'd have it on a big piece of butcher paper and then you'd write logo. 3:02 And then you would draw pictures and spirographs of, you know, 3:05 this is the first time I could actually see something physical happening. 3:09 Moving a real, physical robot. 3:11 So, while we're doing that now with Node JS, and Bluetooth, and 3:13 tiny robots that we built from scratch, we were doing that 35 years ago, 3:17 except we had a big, long, tethered ribbon cable. 3:20 >> That's awesome. 3:23 What is something about you that somebody wouldn't know by just looking at you? 3:25 >> That's a good question. 3:29 I think that a lot of people look at different people and they go, gender or 3:30 race or age. 3:34 And they go, eh, you've got a pretty good deal there, right? 3:35 The thing that I have that is unusual is I'm a Type I diabetic. 3:39 So I have to take insulin to manage my blood sugar and 3:44 it's a constant up and down. 3:46 But more interestingly, I run an open source artificial pancreas. 3:48 >> Tell me more about that [LAUGH]. 3:54 >> Yeah, you like that. 3:54 Okay so, you know how you take insulin shots, right? 3:55 I don't do that, I have an insulin pump. 4:00 >> Wow. >> So the insulin is in here. 4:02 >> Cables. >> Right, and 4:04 there's cables that are physically plugged into me, I won't lift my shirt. 4:05 >> Okay. >> But that's plugged in all the time. 4:07 And there's a whole system right there, okay. 4:09 So that's delivery. 4:11 >> Okay. 4:13 >> This is the write-only. 4:14 >> Okay. [LAUGH] 4:15 >> Okay? 4:16 Then I have a Bluetooth implanted system. 4:17 You can. [SOUND] It's actually implanted 4:20 in my side there with a battery. 4:22 It's talking Bluetooth. 4:24 >> You're running on Bluetooth. 4:25 >> I'm running on Bluetooth. 4:26 >> Wow. >> Bluetooth low energy. 4:27 [LAUGH] >> [LAUGH] 4:28 >> So there's my read, 4:29 that shows my blood sugar. 4:30 You see it's going up a little bit because I just had tacos. 4:31 >> Right. [LAUGH] 4:33 >> This is a very old pump that speaks 4:35 radio frequency, doesn't speak Bluetooth, cuz it was made before Bluetooth. 4:37 >> Okay. 4:41 >> I've got my phone, 4:42 where I have an open source application called Loop that runs my blood sugar. 4:44 >> What was that called again? 4:48 >> Loop. 4:49 >> Loop, okay. 4:49 >> L-O, if you go and Google and for loop kit. 4:50 >> Loop kit. 4:51 >> You can learn about it. 4:52 I need this to tell the pump to deliver if I want it to happen automatically. 4:54 But this doesn't support Blue Tooth. 4:58 >> Okay. 4:59 >> So this is called Riley Link it is a Bluetooth to radio frequency bridge. 5:00 >> Okay. [LAUGH] 5:06 >> This allows this pump to speak 5:07 Bluetooth because I can go and talk to it. 5:10 This is now blinking. 5:13 This is talking Bluetooth to the pump. 5:16 >> To the pump. >> It's the proxy for the pump. 5:18 >> Okay. 5:20 >> Which is now talking radio frequency to the pump. 5:20 So we've Bluetoothed the 20 year old pump. 5:24 So I get Bluetooth data here, that goes over to here, and closes the loop. 5:27 Look at my blood sugar and make a small change. 5:32 So it's kind of like Tesla autopilot. 5:34 >> [LAUGH] >> It's not perfect. 5:35 It keeps you in the lanes. 5:37 >> Sure. >> But of course if 5:39 you have to make a hard left turn, you're gonna die. 5:39 So I still have to do a lot of manual work but 5:42 this is part of a whole group of people, a big community of open source developers. 5:45 The things you can go on Google for are Loop and Nightscout. 5:52 But the great thing to do is check out the #wearenotwaiting. 5:56 This is the diabetes community I'm a part of and we're not waiting for a cure, 6:00 we'll just make it ourself with code. 6:04 >> That is amazing. 6:06 >> Thanks. >> Thank you for your time. 6:07 >> Thank you. 6:08 [MUSIC] 6:08 >> Thanks for watching the Treehouse show. 6:13 To get in touch with the show reach out to me on Twitter or 6:15 hit us up on the Treehouse community. 6:17 See you next time. 6:19
You need to sign up for Treehouse in order to download course files.Sign up