1 00:00:00,000 --> 00:00:01,980 >> [MUSCIC PLAYING] 2 00:00:01,980 --> 00:00:20,310 3 00:00:20,310 --> 00:00:22,160 >> DAVID MALAN: Hello world, this is CS50LIVE. 4 00:00:22,160 --> 00:00:24,970 So you may recall from week zero that desk lamps have somehow 5 00:00:24,970 --> 00:00:26,959 become a thing this year in CS50. 6 00:00:26,959 --> 00:00:29,000 And this is actually just the result of my fairly 7 00:00:29,000 --> 00:00:31,791 spontaneously, before that first class, having gotten into the car, 8 00:00:31,791 --> 00:00:35,300 driven to a local store called Target to pick up really any lamps I could find. 9 00:00:35,300 --> 00:00:37,650 Because what I wanted to do was have some light bulbs 10 00:00:37,650 --> 00:00:39,630 with which to represent zeros and ones. 11 00:00:39,630 --> 00:00:42,780 Whereby if the light bulb was on, it would represent a one in lecture. 12 00:00:42,780 --> 00:00:45,616 And if the light bulb was off it would represent a zero. 13 00:00:45,616 --> 00:00:47,740 Now the funny thing is, at the end of that lecture, 14 00:00:47,740 --> 00:00:49,840 I didn't really need the desk lamps anymore. 15 00:00:49,840 --> 00:00:52,860 So I asked students to volunteer if they might like to take them home. 16 00:00:52,860 --> 00:00:55,360 You've never seen so much interesting in anything 17 00:00:55,360 --> 00:00:59,500 in CS50, let alone in desk lamps, so they very quickly were given away. 18 00:00:59,500 --> 00:01:02,790 So we completely ran out of stock, despite some requests 19 00:01:02,790 --> 00:01:04,040 ever since then for more. 20 00:01:04,040 --> 00:01:06,450 So I decided to get back into the car the other day 21 00:01:06,450 --> 00:01:10,930 and drive again to that store, Target, to pick up some more. 22 00:01:10,930 --> 00:01:14,755 >> We're here on our way to Target to pick up this week batch of desk lamps. 23 00:01:14,755 --> 00:01:17,615 I like to work on the end so no one scratches my car. 24 00:01:17,615 --> 00:01:24,006 25 00:01:24,006 --> 00:01:26,964 >> [MUSIC PLAYING] 26 00:01:26,964 --> 00:02:33,700 27 00:02:33,700 --> 00:02:36,442 >> This was CS50. 28 00:02:36,442 --> 00:02:39,854 I'm happy to say that desk lamps are now back in stock. 29 00:02:39,854 --> 00:02:43,020 But I did want to share a particular tweet with you that caught our eye back 30 00:02:43,020 --> 00:02:45,690 when we first gave out some of those desk lamps in week zero. 31 00:02:45,690 --> 00:02:48,720 This is posted by one of your classmates, Andrew Hill, who wrote, 32 00:02:48,720 --> 00:02:50,530 "davidjmalan, where's my lamp?" " 33 00:02:50,530 --> 00:02:52,530 Now the funny thing is this tweet caught the eye 34 00:02:52,530 --> 00:02:54,700 of a colleague of mine, Shelley Westover, who 35 00:02:54,700 --> 00:02:57,280 you may recall from such films as this. 36 00:02:57,280 --> 00:03:00,850 In any case, Shelley replied to Andrew's tweet as follows, "Andrew! 37 00:03:00,850 --> 00:03:02,550 Are you taking CS50 this Fall? 38 00:03:02,550 --> 00:03:05,100 Interested in doing some part-time editing for the course?" 39 00:03:05,100 --> 00:03:08,480 Shelley, of course, is CS50's full time team behind the camera. 40 00:03:08,480 --> 00:03:11,050 She had actually been a teaching assistant for a course 41 00:03:11,050 --> 00:03:14,750 that Andrew at the time had previously taken at Harvard Extension School. 42 00:03:14,750 --> 00:03:18,810 Now the funny thing is, we decided to humor Andrew with this request 43 00:03:18,810 --> 00:03:20,940 and we dropped one of those desk lamps in the mail. 44 00:03:20,940 --> 00:03:22,940 And to be honest, you know what would be better? 45 00:03:22,940 --> 00:03:24,480 Andrew, would you mind? 46 00:03:24,480 --> 00:03:27,540 Could you join me here on the internet? 47 00:03:27,540 --> 00:03:29,404 Andrew, would you like to say, hello world? 48 00:03:29,404 --> 00:03:30,404 ANDREW HILL: Yes, David. 49 00:03:30,404 --> 00:03:31,250 Hello, world. 50 00:03:31,250 --> 00:03:33,410 >> DAVID J. MALAN: So everyone, here is Andrew Hill. 51 00:03:33,410 --> 00:03:36,560 These are some of the desk lamps we picked up at Target the other day. 52 00:03:36,560 --> 00:03:40,620 And it is no understatement to say that these desk lamps change lives. 53 00:03:40,620 --> 00:03:43,240 And so in fact, now that we do have more of the things, 54 00:03:43,240 --> 00:03:46,590 we thought we'd invite you, the audience, particularly those in CS50X 55 00:03:46,590 --> 00:03:48,720 to participate in a little challenge of sorts. 56 00:03:48,720 --> 00:03:52,340 If you might like to receive the next CS50 desk lamp, 57 00:03:52,340 --> 00:03:54,760 go ahead and visit wheresmylamp.com. 58 00:03:54,760 --> 00:03:57,500 Which, believe or not, we actually bought last night 59 00:03:57,500 --> 00:03:58,750 at Andrew's suggestion. 60 00:03:58,750 --> 00:04:01,540 And we placed there a form that's going to ask you for your name, 61 00:04:01,540 --> 00:04:03,960 your email, and the URL of the video in which you 62 00:04:03,960 --> 00:04:07,340 try to convince us that you should be the next Andrew Hill, 63 00:04:07,340 --> 00:04:09,064 at least for the desk lamp part. 64 00:04:09,064 --> 00:04:10,230 So thank you so much Andrew. 65 00:04:10,230 --> 00:04:10,620 >> ANDREW HILL: Thank you, David. 66 00:04:10,620 --> 00:04:13,078 >> DAVID J. MALAN: We are so pleased to have you here with us. 67 00:04:13,078 --> 00:04:14,501 ANDREW HILL: Proud to be. 68 00:04:14,501 --> 00:04:16,209 DAVID J. MALAN: Now in the news today you 69 00:04:16,209 --> 00:04:20,130 may have noticed that Facebook, our old friend, has turned 10 years old. 70 00:04:20,130 --> 00:04:23,130 In fact this screen shot here was posted, no surprise, 71 00:04:23,130 --> 00:04:26,776 to Facebook itself by one of Facebook's founders Eduardo Severin. 72 00:04:26,776 --> 00:04:28,650 Who, if you saw the movie The Social Network, 73 00:04:28,650 --> 00:04:30,761 was played by actor Andrew Garfield. 74 00:04:30,761 --> 00:04:32,760 Now we thought this would be an opportune moment 75 00:04:32,760 --> 00:04:35,590 to point out that Facebook has one of these things called an API. 76 00:04:35,590 --> 00:04:37,910 An application programming interface. 77 00:04:37,910 --> 00:04:41,160 And what an API allows you to do is query service, like Facebook, 78 00:04:41,160 --> 00:04:44,930 get back some data-- often in a format known as JSON or JavaScript Object 79 00:04:44,930 --> 00:04:48,680 Notation-- and then integrate that data into your own application. 80 00:04:48,680 --> 00:04:51,730 Now it turns out, as a side effect of Facebook having an API, 81 00:04:51,730 --> 00:04:55,310 you can actually poke around individual users JSON data 82 00:04:55,310 --> 00:04:57,860 and see what their unique identifier is. 83 00:04:57,860 --> 00:05:01,282 >> Those unique identifiers are assigned to users when they first sign up 84 00:05:01,282 --> 00:05:03,990 and it turns out-- and this is very common when you use databases 85 00:05:03,990 --> 00:05:08,590 for websites-- those integers are assigned in increasing order from one 86 00:05:08,590 --> 00:05:09,290 on up. 87 00:05:09,290 --> 00:05:14,480 So in fact, even in a browser right now, if you go to graph.facebook.com/zuck, 88 00:05:14,480 --> 00:05:17,390 where zuck is Mark Zuckerberg's username. 89 00:05:17,390 --> 00:05:19,920 You'll see this JSON data come back indicating 90 00:05:19,920 --> 00:05:21,920 that this is indeed Mark Zuckerberg. 91 00:05:21,920 --> 00:05:25,470 And his unique ID is apparently 4, not 1. 92 00:05:25,470 --> 00:05:29,350 So the funny thing is it turns out that Mark's unique ID is indeed four 93 00:05:29,350 --> 00:05:32,470 because he actually created a few test accounts before setting up 94 00:05:32,470 --> 00:05:33,909 his own Facebook account. 95 00:05:33,909 --> 00:05:35,950 Now I'll admit the curiosity got the best of me-- 96 00:05:35,950 --> 00:05:39,840 and you're welcome to go here too-- if you go to graph.facebook.com/dmalan 97 00:05:39,840 --> 00:05:42,640 you'll see that I, on the other hand, was a bit of a late comer. 98 00:05:42,640 --> 00:05:48,740 At least relatively speaking, early on, and I was user number 6,454. 99 00:05:48,740 --> 00:05:52,000 Try it with your own user name at the end of the URL like that. 100 00:05:52,000 --> 00:05:55,060 >> Now also in the news this week has been this little nugget. 101 00:05:55,060 --> 00:05:59,420 It turns out that password is no longer the most popular password. 102 00:05:59,420 --> 00:06:02,130 In fact it's been overtaken by this gem here, 103 00:06:02,130 --> 00:06:10,770 123456, which is, funny enough, even more secure 104 00:06:10,770 --> 00:06:13,856 than one of our favorite passwords as in this film here. 105 00:06:13,856 --> 00:06:14,522 [VIDEO PLAYBACK] 106 00:06:14,522 --> 00:06:19,372 KING ROLAND: The combination is one. 107 00:06:19,372 --> 00:06:20,080 DARK HELMET: One. 108 00:06:20,080 --> 00:06:20,955 COLONEL SANDURZ: One! 109 00:06:20,955 --> 00:06:21,900 KING ROLAND: Two. 110 00:06:21,900 --> 00:06:22,140 DARK HELMET: Two. 111 00:06:22,140 --> 00:06:23,050 COLONEL SANDURZ: Two. 112 00:06:23,050 --> 00:06:24,060 KING ROLAND: Three. 113 00:06:24,060 --> 00:06:24,560 DARK HELMET: Three. 114 00:06:24,560 --> 00:06:25,060 COLONEL SANDURZ: Three. 115 00:06:25,060 --> 00:06:25,840 KING ROLAND: Four. 116 00:06:25,840 --> 00:06:26,590 DARK HELMET: Four. 117 00:06:26,590 --> 00:06:28,420 COLONEL SANDURZ: Four. 118 00:06:28,420 --> 00:06:29,170 KING ROLAND: Five. 119 00:06:29,170 --> 00:06:30,010 DARK HELMET: Five. 120 00:06:30,010 --> 00:06:31,320 COLONEL SANDURZ: Five. 121 00:06:31,320 --> 00:06:36,620 DARK HELMET: So the combination is one, two, three, four, five? 122 00:06:36,620 --> 00:06:39,140 That's the stupidest combination I ever heard in my life. 123 00:06:39,140 --> 00:06:41,640 That's the kind of thing an idiot would have on his luggage! 124 00:06:41,640 --> 00:06:43,800 >> COLONEL SANDURZ: Thank you, your Highness. 125 00:06:43,800 --> 00:06:44,633 >> [END VIDEO PLAYBACK] 126 00:06:44,633 --> 00:06:47,630 DAVID J. MALAN: Now in third place is the ever so slightly more secure 127 00:06:47,630 --> 00:06:52,360 12345678, which is apparently the result of people taking a little literally 128 00:06:52,360 --> 00:06:55,800 the typical requirement the passwords need to be at least 8 characters long. 129 00:06:55,800 --> 00:06:59,770 And yet, even that password is more secure than what apparently the US 130 00:06:59,770 --> 00:07:04,820 government used for 20 years to protect our nuclear missiles. 131 00:07:04,820 --> 00:07:07,380 Now in fourth place is qwerty, which is the result 132 00:07:07,380 --> 00:07:10,610 of typing the characters along the top of a typical US keyboard. 133 00:07:10,610 --> 00:07:13,680 In fifth place is abc123. 134 00:07:13,680 --> 00:07:17,580 And adorably, in ninth place, is iloveyou. 135 00:07:17,580 --> 00:07:18,380 Aw. 136 00:07:18,380 --> 00:07:21,410 >> Now you may have noticed that the start of CS50's lecture videos 137 00:07:21,410 --> 00:07:23,900 there's often some aerial photography such as that picture 138 00:07:23,900 --> 00:07:27,230 here for Memorial Hall which is the building in which Sanders theater where 139 00:07:27,230 --> 00:07:29,560 CS50's lectures are actually held. 140 00:07:29,560 --> 00:07:34,260 We take these photos and these videos using literally a flying drone. 141 00:07:34,260 --> 00:07:35,720 Such as that picture here. 142 00:07:35,720 --> 00:07:37,520 And we attach to the bottom of this thing 143 00:07:37,520 --> 00:07:42,340 a tiny little camera that actually is even smaller than you might think. 144 00:07:42,340 --> 00:07:45,180 And using a remote control, and believe it or not a pair of goggles, 145 00:07:45,180 --> 00:07:47,840 we're able to fly up, down, left, right, forward, back with the camera 146 00:07:47,840 --> 00:07:50,210 attached and actually film in fairly high resolution 147 00:07:50,210 --> 00:07:53,500 and then prepend those video clips to the start of lectures. 148 00:07:53,500 --> 00:07:55,510 >> Now it's been a beautiful, albeit super cold, 149 00:07:55,510 --> 00:07:57,190 week here in Cambridge, Massachusetts. 150 00:07:57,190 --> 00:07:59,490 It's been snowing and one of the more common requests 151 00:07:59,490 --> 00:08:01,240 that we've gotten over Facebook is to take 152 00:08:01,240 --> 00:08:03,100 some additional tours of Harvard campus. 153 00:08:03,100 --> 00:08:07,270 So we asked CS50's own Milo if he wouldn't mind taking us for a tour. 154 00:08:07,270 --> 00:09:08,660 155 00:09:08,660 --> 00:09:12,920 >> Now we've been keeping an eye, as usual, on Facebook, Reddit and Twitter. 156 00:09:12,920 --> 00:09:16,310 And one of the posts in particular on Facebook caught our eye recently. 157 00:09:16,310 --> 00:09:18,140 That from your classmate, Brenda Anderson, 158 00:09:18,140 --> 00:09:21,296 who's actually been amazing on various discussion forums fielding questions 159 00:09:21,296 --> 00:09:22,420 from her fellow classmates. 160 00:09:22,420 --> 00:09:23,726 Brenda hails from New Zealand. 161 00:09:23,726 --> 00:09:25,850 And what was nice was that she took it upon herself 162 00:09:25,850 --> 00:09:29,680 to put together an amalgam of the problem set one and problem set four. 163 00:09:29,680 --> 00:09:33,530 Taking the idea for Mario, mashing it together with the ideas of Break Out, 164 00:09:33,530 --> 00:09:37,675 and ultimately produced using Stanford's portable library, her own version, 165 00:09:37,675 --> 00:09:40,560 her own graphical version, of Mario. 166 00:09:40,560 --> 00:09:41,944 Let's take a look. 167 00:09:41,944 --> 00:09:42,610 [VIDEO PLAYBACK] 168 00:09:42,610 --> 00:09:46,210 BRENDA ANDERSON: So I recreated Mario using the pset4 SPL library. 169 00:09:46,210 --> 00:09:51,010 To use the number of steps, press the Build button, press Go, 170 00:09:51,010 --> 00:09:52,450 and Mario jumps to the top. 171 00:09:52,450 --> 00:09:56,290 172 00:09:56,290 --> 00:09:57,740 >> [END VIDEO PLAYBACK] 173 00:09:57,740 --> 00:09:59,448 >> DAVID MALAN: Now another post that caught 174 00:09:59,448 --> 00:10:01,870 our eye was posted here by Susan from LA. 175 00:10:01,870 --> 00:10:03,010 She writes, "Hello. 176 00:10:03,010 --> 00:10:06,360 I'm posting this for my son, who is 12 and too young for his own Facebook 177 00:10:06,360 --> 00:10:06,950 account. 178 00:10:06,950 --> 00:10:09,575 He has been stuck trying to figure out a little code and Mario. 179 00:10:09,575 --> 00:10:11,800 He can't figure out how to make the zero to 23 180 00:10:11,800 --> 00:10:15,620 without writing, or hard coding, zero, one, two, et cetera. 181 00:10:15,620 --> 00:10:17,080 Is this the only way? 182 00:10:17,080 --> 00:10:19,960 By the way has watched videos of classes, watched the walkthroughs, 183 00:10:19,960 --> 00:10:22,400 and read how stuff works and is still stuck. 184 00:10:22,400 --> 00:10:23,470 Thanks, Susan." 185 00:10:23,470 --> 00:10:25,640 >> So what was touching about this post was not only 186 00:10:25,640 --> 00:10:28,880 Susan reaching out on behalf of her son, but just how many of her son's 187 00:10:28,880 --> 00:10:31,277 classmates reached out with some helpful tips. 188 00:10:31,277 --> 00:10:34,360 For instance we'd like to acknowledge, in particular, Paul from the United 189 00:10:34,360 --> 00:10:37,200 Kingdom, picture here, who chimed in with some helpful advice. 190 00:10:37,200 --> 00:10:40,620 Mark, also from the United Kingdom, who simply offered some counsel. 191 00:10:40,620 --> 00:10:43,699 And Chris, pictured here, apparently in his car. 192 00:10:43,699 --> 00:10:45,490 Now Susan, at the end of the day, responded 193 00:10:45,490 --> 00:10:48,040 as follows, "Paul, thank you so much! 194 00:10:48,040 --> 00:10:49,852 It works now and he is smiling. 195 00:10:49,852 --> 00:10:51,560 I am sorry I am no help at all with this, 196 00:10:51,560 --> 00:10:54,400 I really appreciate everyone's time and advice." 197 00:10:54,400 --> 00:10:56,750 Thank you as well from CS50. 198 00:10:56,750 --> 00:11:00,290 >> Now pictured here is Brad Williams, apparently in avatar form. 199 00:11:00,290 --> 00:11:02,752 And Brad actually posted this to Facebook, 200 00:11:02,752 --> 00:11:05,710 something he mocked up in Photoshop as helpful suggestion for something 201 00:11:05,710 --> 00:11:08,100 we might integrate into CS50 live episode. 202 00:11:08,100 --> 00:11:11,370 In particular, he suggested that on the next CS50 someone 203 00:11:11,370 --> 00:11:13,810 should replace the green screen with tie dye. 204 00:11:13,810 --> 00:11:16,200 So as much as we appreciate all the effort we're sure 205 00:11:16,200 --> 00:11:19,857 went into this Photoshop mock-up, this is an academic courses at Harvard. 206 00:11:19,857 --> 00:11:22,440 It's a computer science course, no less, particularly rigorous 207 00:11:22,440 --> 00:11:23,580 at Harvard University. 208 00:11:23,580 --> 00:11:25,970 It simply wouldn't be appropriate for us to mess 209 00:11:25,970 --> 00:11:28,520 with things like the green screen for non-serious purposes. 210 00:11:28,520 --> 00:11:30,862 But thank you, nonetheless, for the suggestion. 211 00:11:30,862 --> 00:11:32,820 And, in fact, I also have to apologize to Kevin 212 00:11:32,820 --> 00:11:35,500 from Missouri, who similarly tweeted this suggestion, "Put 213 00:11:35,500 --> 00:11:37,540 davidjmalan in front of the Matrix code. 214 00:11:37,540 --> 00:11:39,190 He is the One." 215 00:11:39,190 --> 00:11:41,820 So here too, love the movie-- the first one. 216 00:11:41,820 --> 00:11:44,560 The second and third, not so much-- but here 217 00:11:44,560 --> 00:11:47,900 too, not really appropriate for this beautiful studio 218 00:11:47,900 --> 00:11:49,240 here at Harvard University. 219 00:11:49,240 --> 00:11:51,160 But thank you for the suggestion. 220 00:11:51,160 --> 00:11:54,086 >> Now frankly, if we're going to go anywhere with this green screen 221 00:11:54,086 --> 00:11:55,460 is not going to be in the Matrix. 222 00:11:55,460 --> 00:12:01,240 I think it's probably more likely to be on a sunny beach somewhere sipping 223 00:12:01,240 --> 00:12:02,734 frozen drinks. 224 00:12:02,734 --> 00:12:05,810 Now, thank you to all, though, for the suggestion. 225 00:12:05,810 --> 00:12:09,149 >> Now even more popular this year then desk lamps has been Google Glass. 226 00:12:09,149 --> 00:12:10,940 In fact, you've never seen so many students 227 00:12:10,940 --> 00:12:14,290 in CS50 coming up to chat after a lecture, 228 00:12:14,290 --> 00:12:16,360 really to see demonstrations of Google Glass. 229 00:12:16,360 --> 00:12:19,730 But that's been great, particularly since Google Glass allows you-- 230 00:12:19,730 --> 00:12:21,820 it turns out-- to develop software for it. 231 00:12:21,820 --> 00:12:24,400 In fact, one of CS50's own Teaching Fellows, 232 00:12:24,400 --> 00:12:27,010 Christopher Bartholomew has his own pair of Google Glass. 233 00:12:27,010 --> 00:12:30,257 And it turns out he himself has done some software development for it. 234 00:12:30,257 --> 00:12:32,840 He kindly agreed to go on a stroll with me recently to tell us 235 00:12:32,840 --> 00:12:36,354 and show us a bit more of Google Glass. 236 00:12:36,354 --> 00:12:37,020 [VIDEO PLAYBACK] 237 00:12:37,020 --> 00:12:38,140 CHRISTOPHER BARTHOLOMEW: Hey, did you want to talk? 238 00:12:38,140 --> 00:12:38,840 DAVID J. MALAN: Hey, yeah. 239 00:12:38,840 --> 00:12:39,923 You want to go for a walk? 240 00:12:39,923 --> 00:12:41,910 CHRISTOPHER BARTHOLOMEW: Yeah, sure. 241 00:12:41,910 --> 00:12:43,135 I want to bring my coat. 242 00:12:43,135 --> 00:12:45,755 243 00:12:45,755 --> 00:12:47,290 You're wearing your glass finally. 244 00:12:47,290 --> 00:12:48,260 >> DAVID J. MALAN: Yeah this is the first time 245 00:12:48,260 --> 00:12:50,310 I've had these on since class ended. 246 00:12:50,310 --> 00:12:52,420 >> CHRISTOPHER BARTHOLOMEW: Are you enjoying them or? 247 00:12:52,420 --> 00:12:52,970 >> DAVID J. MALAN: It's OK. 248 00:12:52,970 --> 00:12:55,110 I haven't found much of a use case personally, yet. 249 00:12:55,110 --> 00:12:58,010 But it did turn out great for CS50's lectures. 250 00:12:58,010 --> 00:12:58,620 We ended up-- 251 00:12:58,620 --> 00:12:59,150 >> CHRISTOPHER BARTHOLOMEW: Definitely. 252 00:12:59,150 --> 00:13:00,210 >> DAVID J. MALAN: --putting them on students any time 253 00:13:00,210 --> 00:13:01,210 they came up on stage. 254 00:13:01,210 --> 00:13:02,590 Then we would have some shots. 255 00:13:02,590 --> 00:13:05,244 >> CHRISTOPHER BARTHOLOMEW: I mean I must have counted at least-- 256 00:13:05,244 --> 00:13:09,860 probably at least 100 times I've handed out my glass to strangers 257 00:13:09,860 --> 00:13:15,185 in all different cases and showed them how it works. 258 00:13:15,185 --> 00:13:16,310 Look both ways. 259 00:13:16,310 --> 00:13:17,741 >> DAVID J. MALAN: Oh, yeah. 260 00:13:17,741 --> 00:13:19,497 I rarely do that. 261 00:13:19,497 --> 00:13:21,080 CHRISTOPHER BARTHOLOMEW: Go over here. 262 00:13:21,080 --> 00:13:24,585 263 00:13:24,585 --> 00:13:26,335 To show people what you're actually seeing 264 00:13:26,335 --> 00:13:29,870 is a very important aspect of just the technology. 265 00:13:29,870 --> 00:13:32,810 I mean that's what-- to be able to connect with somebody very easily, 266 00:13:32,810 --> 00:13:34,380 no matter where you are. 267 00:13:34,380 --> 00:13:36,380 DAVID J. MALAN: What about the privacy concerns? 268 00:13:36,380 --> 00:13:39,480 Given that the whole time I could of been recording what you're saying. 269 00:13:39,480 --> 00:13:40,896 >> CHRISTOPHER BARTHOLOMEW: Sure, so. 270 00:13:40,896 --> 00:13:42,599 DAVID J. MALAN: Ironically. 271 00:13:42,599 --> 00:13:45,140 CHRISTOPHER BARTHOLOMEW: I get this question a lot, you know. 272 00:13:45,140 --> 00:13:46,220 I don't know. 273 00:13:46,220 --> 00:13:51,170 I think in some sense or another I don't know 274 00:13:51,170 --> 00:13:54,625 why I would be recording people for any other reasoning besides if I 275 00:13:54,625 --> 00:13:56,220 was at a concert or something. 276 00:13:56,220 --> 00:14:00,240 For me, it's just it's an immoral thing to do. 277 00:14:00,240 --> 00:14:03,330 If you want to step on someone's privacy, you can do that. 278 00:14:03,330 --> 00:14:04,480 But otherwise. 279 00:14:04,480 --> 00:14:07,060 I have a great video when I was at the World Series game. 280 00:14:07,060 --> 00:14:11,560 I turned it on and I was like, Big Papi's going to hit a home run here. 281 00:14:11,560 --> 00:14:17,060 282 00:14:17,060 --> 00:14:19,560 And he did. 283 00:14:19,560 --> 00:14:24,131 And you could just see everybody's experience from the actual fan, right? 284 00:14:24,131 --> 00:14:25,130 And that was really fun. 285 00:14:25,130 --> 00:14:28,220 And my hands are up like yeah it happened. 286 00:14:28,220 --> 00:14:31,130 >> DAVID J. MALAN: I will admit it can definitely be used for evil. 287 00:14:31,130 --> 00:14:33,131 But as soon as you have facial recognition built 288 00:14:33,131 --> 00:14:35,254 in to this sort of thing, it would be amazing to be 289 00:14:35,254 --> 00:14:37,795 able to be walking down the street, someone waves hi to you. 290 00:14:37,795 --> 00:14:40,295 You don't really remember where you know them from and boom, 291 00:14:40,295 --> 00:14:42,320 it's Alice or Bob from such and such. 292 00:14:42,320 --> 00:14:44,570 And have those little visual cues would actually be pretty powerful. 293 00:14:44,570 --> 00:14:45,986 >> CHRISTOPHER BARTHOLOMEW: That too. 294 00:14:45,986 --> 00:14:48,600 I mean I think I was called my peanut butter problem. 295 00:14:48,600 --> 00:14:52,500 Where I would want something to decide what peanut butter I would like more. 296 00:14:52,500 --> 00:14:55,750 I'd love to have Glass look at both of them and I go, 297 00:14:55,750 --> 00:14:57,250 find me the best peanut butter here. 298 00:14:57,250 --> 00:15:02,380 And it would go back and based upon my own settings. 299 00:15:02,380 --> 00:15:09,037 My own wants or likes or whether it's healthy or whether the peanuts are-- 300 00:15:09,037 --> 00:15:11,620 DAVID J. MALAN: How much thought have you given this use case? 301 00:15:11,620 --> 00:15:13,284 CHRISTOPHER BARTHOLOMEW: A lot. 302 00:15:13,284 --> 00:15:14,950 DAVID J. MALAN: Why is it peanut butter? 303 00:15:14,950 --> 00:15:16,590 CHRISTOPHER BARTHOLOMEW: Just weird situations like that. 304 00:15:16,590 --> 00:15:18,020 DAVID J. MALAN: Yes, a weird situation indeed. 305 00:15:18,020 --> 00:15:18,556 CHRISTOPHER BARTHOLOMEW: I don't want to have 306 00:15:18,556 --> 00:15:20,870 to sit there and Google all these different things. 307 00:15:20,870 --> 00:15:25,380 I just want it to figure out for me, when it sees it, it acts upon my wants 308 00:15:25,380 --> 00:15:26,047 and it delivers. 309 00:15:26,047 --> 00:15:28,088 DAVID J. MALAN: Do you want to do a couple demos? 310 00:15:28,088 --> 00:15:28,880 Maybe weather and-- 311 00:15:28,880 --> 00:15:30,129 CHRISTOPHER BARTHOLOMEW: Yeah. 312 00:15:30,129 --> 00:15:30,840 I mean, so. 313 00:15:30,840 --> 00:15:31,630 >> DAVID J. MALAN: Google searches? 314 00:15:31,630 --> 00:15:32,050 >> CHRISTOPHER BARTHOLOMEW: Sure. 315 00:15:32,050 --> 00:15:34,040 So the first thing that you can do here is 316 00:15:34,040 --> 00:15:37,970 if you just swipe back a couple times, you can see weather. 317 00:15:37,970 --> 00:15:40,200 Another one, if you just lean up your head-- 318 00:15:40,200 --> 00:15:42,980 There's two ways to activate the OK Glass option. 319 00:15:42,980 --> 00:15:46,010 One of which is just by tapping and then when you see OK Glass, 320 00:15:46,010 --> 00:15:50,020 you can literally say OK Glass and that will give you a list of menu options 321 00:15:50,020 --> 00:15:51,120 that are available to you. 322 00:15:51,120 --> 00:15:52,680 >> DAVID J. MALAN: So do you have people that walk by you occasionally 323 00:15:52,680 --> 00:15:53,698 and be like OK Glass? 324 00:15:53,698 --> 00:15:55,495 325 00:15:55,495 --> 00:15:58,370 CHRISTOPHER BARTHOLOMEW: I'll have friends who-- I'll kind of look up 326 00:15:58,370 --> 00:16:00,078 and they know I'm about to do something-- 327 00:16:00,078 --> 00:16:02,870 and they'll just be like OK Glass, google pictures of whatever 328 00:16:02,870 --> 00:16:07,090 and then insert whatever in there. 329 00:16:07,090 --> 00:16:13,530 And then all of a sudden my glass screen gets planted with pictures. 330 00:16:13,530 --> 00:16:18,710 When I was doing the Google Foundry, when we were testing it for first time, 331 00:16:18,710 --> 00:16:21,560 everyone went up to this fruit stand to take pictures of. 332 00:16:21,560 --> 00:16:24,110 And then it was crazy because everybody's things 333 00:16:24,110 --> 00:16:27,170 would start going off because it's not person dependent. 334 00:16:27,170 --> 00:16:30,850 If everybody said OK Glass at once, you could set off other people's. 335 00:16:30,850 --> 00:16:33,640 This chain reaction would occur with that. 336 00:16:33,640 --> 00:16:36,070 But otherwise there's a lot of different-- 337 00:16:36,070 --> 00:16:39,410 I mean it really comes down to all the applications that are available. 338 00:16:39,410 --> 00:16:42,440 So as long as people and developers are making more apps, 339 00:16:42,440 --> 00:16:45,160 there will be more things that you can do with Glass 340 00:16:45,160 --> 00:16:47,642 but it's taking some time. 341 00:16:47,642 --> 00:16:48,850 DAVID J. MALAN: Almost there. 342 00:16:48,850 --> 00:16:50,891 CHRISTOPHER BARTHOLOMEW: We need more developers. 343 00:16:50,891 --> 00:16:54,062 Come on, David, you got to churn them out. 344 00:16:54,062 --> 00:16:55,145 DAVID J. MALAN: All right. 345 00:16:55,145 --> 00:16:57,040 So I'm not sure I can stay outside much longer. 346 00:16:57,040 --> 00:16:57,870 Shall we head back? 347 00:16:57,870 --> 00:17:00,120 >> CHRISTOPHER BARTHOLOMEW: Yeah, that's completely fine. 348 00:17:00,120 --> 00:17:02,922 349 00:17:02,922 --> 00:17:04,755 DAVID J. MALAN: It was 15 degrees, you said? 350 00:17:04,755 --> 00:17:06,005 CHRISTOPHER BARTHOLOMEW: Yeah. 351 00:17:06,005 --> 00:17:10,210 352 00:17:10,210 --> 00:17:13,430 >> DAVID J. MALAN: And now 60 seconds of peanut butter. 353 00:17:13,430 --> 00:17:15,750 >> [MUSIC -- BUCKWHEAT BOYZ, "PEANUT BUTTER JELLY TIME"] 354 00:17:15,750 --> 00:18:08,631 355 00:18:08,631 --> 00:18:09,464 [END VIDEO PLAYBACK] 356 00:18:09,464 --> 00:18:11,540 DAVID J. MALAN: 60 seconds of peanut butter. 357 00:18:11,540 --> 00:18:15,890 So we also had occasion to go for a stroll with CS50's own Jason Hirschhorn 358 00:18:15,890 --> 00:18:17,187 into our studio recently. 359 00:18:17,187 --> 00:18:19,520 And Jason, too, we presented with a pair of Google Glass 360 00:18:19,520 --> 00:18:21,311 so that we could take a more technical look 361 00:18:21,311 --> 00:18:25,520 at exactly how the technology works. 362 00:18:25,520 --> 00:18:26,310 Jason Hirschhorn. 363 00:18:26,310 --> 00:18:26,976 >> [VIDEO PLAYBACK] 364 00:18:26,976 --> 00:18:29,720 We're here today with Jason, one of CS50's Teaching Fellows. 365 00:18:29,720 --> 00:18:32,270 Whom you may know from CS50's weekly sections. 366 00:18:32,270 --> 00:18:33,130 Jason, hello. 367 00:18:33,130 --> 00:18:34,880 JASON HIRSCHHORN: David, great to be here. 368 00:18:34,880 --> 00:18:36,820 I love teaching CS50 sections. 369 00:18:36,820 --> 00:18:38,490 I've done it for two years now. 370 00:18:38,490 --> 00:18:40,690 And it's so much fun both to teach students here 371 00:18:40,690 --> 00:18:43,734 and to allow the videos to be shared throughout the world. 372 00:18:43,734 --> 00:18:45,150 DAVID J. MALAN: Well that's great. 373 00:18:45,150 --> 00:18:49,210 And I see you came wearing your Disneyland name tag with Jason on it. 374 00:18:49,210 --> 00:18:51,830 But you are, to my knowledge, the only CS50 Teaching 375 00:18:51,830 --> 00:18:53,664 Fellow who's been fired from Disneyland, no? 376 00:18:53,664 --> 00:18:55,871 JASON HIRSCHHORN: Well to be fired you have to hired. 377 00:18:55,871 --> 00:18:57,540 So I wasn't really tired. 378 00:18:57,540 --> 00:19:01,160 And I worked there for a week on the Indiana Jones Adventure 379 00:19:01,160 --> 00:19:03,260 and then it just didn't work out, unfortunately. 380 00:19:03,260 --> 00:19:03,700 >> DAVID J. MALAN: Really? 381 00:19:03,700 --> 00:19:05,575 >> JASON HIRSCHHORN: But thankfully you still took me back in CS50. 382 00:19:05,575 --> 00:19:06,130 >> DAVID J. MALAN: No, we did. 383 00:19:06,130 --> 00:19:07,421 We were happy to have you back. 384 00:19:07,421 --> 00:19:10,110 In fact, as some of you know who've watch the sections online, 385 00:19:10,110 --> 00:19:13,780 two years ago Jason came to us in CS50 wearing 386 00:19:13,780 --> 00:19:17,110 a pumpkin suit for one of his sections, roughly around Halloween, 387 00:19:17,110 --> 00:19:17,751 if you recall. 388 00:19:17,751 --> 00:19:19,750 In fact, for those of you who haven't seen this, 389 00:19:19,750 --> 00:19:22,410 let me grab our pair of Google Glass here from lectures 390 00:19:22,410 --> 00:19:26,530 and see if we can't dig this up online. 391 00:19:26,530 --> 00:19:32,968 OK glass, google video of Jason dressed as pumpkin. 392 00:19:32,968 --> 00:19:33,468 There it is. 393 00:19:33,468 --> 00:19:34,509 JASON HIRSCHHORN: Oh boy. 394 00:19:34,509 --> 00:19:37,360 So you might be asking yourself what's with the giant pumpkin? 395 00:19:37,360 --> 00:19:40,570 Well of course, tonight is Halloween. 396 00:19:40,570 --> 00:19:44,470 >> DAVID J. MALAN: So the next year you came back and were a little deflated. 397 00:19:44,470 --> 00:19:47,540 Your suit, in fact, had lost a bit of wind. 398 00:19:47,540 --> 00:19:48,390 What happened there? 399 00:19:48,390 --> 00:19:49,250 >> JASON HIRSCHHORN: Well first I don't if I 400 00:19:49,250 --> 00:19:51,416 like that these videos can be pulled out right away, 401 00:19:51,416 --> 00:19:55,380 but-- the second time I had to suit, I forgot 402 00:19:55,380 --> 00:19:57,730 the fan that is necessary to keep it inflated. 403 00:19:57,730 --> 00:20:00,640 So I had to stuff some pillows and other clothes inside. 404 00:20:00,640 --> 00:20:03,341 But I certainly took a lot of flack for that from my students. 405 00:20:03,341 --> 00:20:03,840 From-- 406 00:20:03,840 --> 00:20:06,120 >> DAVID J. MALAN: Well in the online, anonymous, feedback form 407 00:20:06,120 --> 00:20:06,830 that you have in your section. 408 00:20:06,830 --> 00:20:07,180 >> JASON HIRSCHHORN: Right. 409 00:20:07,180 --> 00:20:09,380 People are allowed to give me anonymous feedback because it 410 00:20:09,380 --> 00:20:11,296 helps me improve my teaching, but they've also 411 00:20:11,296 --> 00:20:13,120 used it to critique my outfits. 412 00:20:13,120 --> 00:20:14,790 Particularly the deflated costume, so. 413 00:20:14,790 --> 00:20:15,560 >> DAVID J. MALAN: Well, good. 414 00:20:15,560 --> 00:20:17,300 Well as interesting as this is, why don't we 415 00:20:17,300 --> 00:20:18,690 take a chance to actually play with Glass? 416 00:20:18,690 --> 00:20:21,440 Besides the pair here that we've been using in lectures this year, 417 00:20:21,440 --> 00:20:23,710 we also-- in recognition for all of your efforts 418 00:20:23,710 --> 00:20:26,470 this year-- got you your own pair of glass here. 419 00:20:26,470 --> 00:20:26,970 >> JASON HIRSCHHORN: Oh my goodness. 420 00:20:26,970 --> 00:20:27,860 >> DAVID J. MALAN: To wear just for today. 421 00:20:27,860 --> 00:20:28,818 >> JASON HIRSCHHORN: Okay. 422 00:20:28,818 --> 00:20:32,400 DAVID J. MALAN: But for those unfamiliar with how Glass itself works. 423 00:20:32,400 --> 00:20:36,050 So notice here, we have a battery pack which is what powers the whole device. 424 00:20:36,050 --> 00:20:38,010 Over here we have just the on off switch. 425 00:20:38,010 --> 00:20:40,450 In the front of the device, we have effectively the CPU 426 00:20:40,450 --> 00:20:42,830 and all the other brains behind the device. 427 00:20:42,830 --> 00:20:44,780 In the front, we have the front facing camera 428 00:20:44,780 --> 00:20:47,080 and this is what students were using to actually 429 00:20:47,080 --> 00:20:49,670 capture the perspective of them on stage. 430 00:20:49,670 --> 00:20:51,770 >> And then lastly, the piece of glass itself 431 00:20:51,770 --> 00:20:54,620 which works as follows, inside of here is not only the camera 432 00:20:54,620 --> 00:20:58,130 but a data projector of sorts that sends the image of this way. 433 00:20:58,130 --> 00:21:00,410 The prism then reflects it this way into your eye 434 00:21:00,410 --> 00:21:03,030 and so that's why you see the overlay of a rectangular screen 435 00:21:03,030 --> 00:21:03,930 right above your eye. 436 00:21:03,930 --> 00:21:05,200 If you'd like to try that out. 437 00:21:05,200 --> 00:21:06,830 >> JASON HIRSCHHORN: Fantastic. 438 00:21:06,830 --> 00:21:09,020 >> DAVID J. MALAN: So once you put it on, by default, 439 00:21:09,020 --> 00:21:11,103 once you tap it you should see the main menu which 440 00:21:11,103 --> 00:21:13,976 shows the current time and then a secret phrase. 441 00:21:13,976 --> 00:21:16,350 So if you want to go ahead and utter that phrase and then 442 00:21:16,350 --> 00:21:19,290 Google something like whatever comes to mind first. 443 00:21:19,290 --> 00:21:21,290 >> JASON HIRSCHHORN: OK. 444 00:21:21,290 --> 00:21:22,540 Let's try this now. 445 00:21:22,540 --> 00:21:24,120 OK glass. 446 00:21:24,120 --> 00:21:27,454 Google pictures of puppies. 447 00:21:27,454 --> 00:21:30,370 DAVID J. MALAN: And the funny thing is because we're sitting so close, 448 00:21:30,370 --> 00:21:31,930 my Glass heard that too. 449 00:21:31,930 --> 00:21:32,822 There it is. 450 00:21:32,822 --> 00:21:34,150 First thing that came to mind. 451 00:21:34,150 --> 00:21:36,460 So we can do more powerful things too. 452 00:21:36,460 --> 00:21:40,630 So to go back, go ahead and just swipe downward on your temple. 453 00:21:40,630 --> 00:21:42,467 On the bridge of the lenses here. 454 00:21:42,467 --> 00:21:44,550 All right, so you should be back at the main menu. 455 00:21:44,550 --> 00:21:44,940 >> JASON HIRSCHHORN: I am. 456 00:21:44,940 --> 00:21:46,670 >> DAVID J. MALAN: All right and this time I'll do it myself, 457 00:21:46,670 --> 00:21:49,470 but speak loud enough so both of our glasses pick this up. 458 00:21:49,470 --> 00:21:53,710 OK glass record a video. 459 00:21:53,710 --> 00:21:56,067 And I see you. 460 00:21:56,067 --> 00:21:57,650 JASON HIRSCHHORN: Voila I see you too. 461 00:21:57,650 --> 00:22:00,275 DAVID J. MALAN: All right and go ahead and hit the button quick 462 00:22:00,275 --> 00:22:02,620 so we can extend this beyond just 10 seconds. 463 00:22:02,620 --> 00:22:05,036 So what's also neat with glass is, besides all these built 464 00:22:05,036 --> 00:22:07,520 in applications, you actually develop your own applications 465 00:22:07,520 --> 00:22:09,780 using the GDK, glass development kit. 466 00:22:09,780 --> 00:22:14,797 Which is more time than we have today to dive into but certainly check that out. 467 00:22:14,797 --> 00:22:16,880 JASON HIRSCHHORN: I'd love to be interested in it. 468 00:22:16,880 --> 00:22:17,790 I mean, totally interested that. 469 00:22:17,790 --> 00:22:18,750 I love to learn more about that. 470 00:22:18,750 --> 00:22:20,270 >> DAVID J. MALAN: So you'd love to be interested in learning more 471 00:22:20,270 --> 00:22:21,770 about Google Glass. 472 00:22:21,770 --> 00:22:23,260 >> JASON HIRSCHHORN: And I also love that I have a video of you 473 00:22:23,260 --> 00:22:24,580 to remember this moment for. 474 00:22:24,580 --> 00:22:26,455 >> DAVID J. MALAN: No, this is the great footage 475 00:22:26,455 --> 00:22:28,070 that I'm going to hang on to for sure. 476 00:22:28,070 --> 00:22:31,050 Well that's it then with Jason Hirschhorn here and Google Glass. 477 00:22:31,050 --> 00:22:32,460 Thank you so much for joining us. 478 00:22:32,460 --> 00:22:32,970 >> JASON HIRSCHHORN: Thanks, David. 479 00:22:32,970 --> 00:22:34,678 >> DAVID J. MALAN: Great to have you aboard. 480 00:22:34,678 --> 00:22:38,410 481 00:22:38,410 --> 00:22:39,960 Google. 482 00:22:39,960 --> 00:22:42,624 Photos of Jason Hirschhorn dressed as a pumpkin. 483 00:22:42,624 --> 00:22:43,665 JASON HIRSCHHORN: Oh boy. 484 00:22:43,665 --> 00:22:45,530 I don't know if I want people to see that. 485 00:22:45,530 --> 00:22:50,600 >> DAVID J. MALAN: Now it's photos of Jason Hirschhorn dressed as a boy. 486 00:22:50,600 --> 00:22:51,900 OK. 487 00:22:51,900 --> 00:22:53,970 Stand by. 488 00:22:53,970 --> 00:22:56,820 Listening for music. 489 00:22:56,820 --> 00:23:00,857 Photos of Jason Hirschhorn dressed as a pumpkin. 490 00:23:00,857 --> 00:23:01,690 [END VIDEO PLAYBACK] 491 00:23:01,690 --> 00:23:03,172 That's it for CS50LIVE. 492 00:23:03,172 --> 00:23:04,630 Thanks so much to this week's team. 493 00:23:04,630 --> 00:23:07,640 And remember, if you yourself might like a CS50 desk lamp, 494 00:23:07,640 --> 00:23:09,530 let us know in video why. 495 00:23:09,530 --> 00:23:11,840 We can't wait to see the submissions. 496 00:23:11,840 --> 00:23:13,340 This was CS50. 497 00:23:13,340 --> 00:23:54,603 >> [MUSIC PLAYING]