Latest / Data Driven / Max Sklar on Exploring AI, Data Science, and Local Search
Transcript
- 0:00In today's episode, Frank and Andy sit down with special guest
- 0:03Max Sklar to delve into the world of artificial intelligence, data
- 0:07science, and data engineering. Max, a
- 0:11trailblazer in location data and machine learning, shares
- 0:14insights from his extensive experience at Foursquare, including his
- 0:18work on local search and bias correction. Get ready
- 0:22for a thought provoking discussion about groundbreaking projects, tech
- 0:26drama, and the ever evolving landscape of technology.
- 0:30So sit back, relax, and prepare to be amazed.
- 0:38Hello, and welcome to Data Driven, the Podcast, we explore the
- 0:42emergent fields of artificial intelligence, data science, data engineering,
- 0:46and all that good stuff. With me on this ever present,
- 0:51journey down the information superhighway is Andy Leonard. How's it going, Andy?
- 0:55Good, Frank. How are you doing? I'm doing alright. It's been a wild 24
- 0:59hours in, Maison Levin, or or
- 1:02Maison, Lavinia, depending on your, how you wanna pronounce it.
- 1:07At one point, we will share those crazy
- 1:11details, but it's been good most of the part. I I am,
- 1:14recovering from a, a bout of COVID,
- 1:19that hit the entire house. I think we all picked it up on the cruise.
- 1:23Again, there are worse places to pick up COVID, and there's worse
- 1:27things that could happen. I've I've sneezed quite a
- 1:31bit, I've coughed quite a bit, but The thing that's bugging me the most is
- 1:34this headache I had now for 48 straight hours.
- 1:38But it's okay, like I'm kind of living, learning to live with it, and I've
- 1:41actually given it a name, I call it Charlie. So, you
- 1:45know, Charlie is is is gonna be on the show today as
- 1:48well. I see. Yeah. You do sound a little different, but not much.
- 1:53Nah. That's why I need to clone my voice, and, maybe how they
- 1:56do the avatar stays. As I was saying in the virtual dream room, this is
- 2:00the 1st time I've I've felt fit for camera In about
- 2:03a week. Perhaps you can use some of that good
- 2:07AI voice modulation. There you go. We are
- 2:11pleased to present, with us, today is Max Sklar.
- 2:14Max is a, not only a fellow, data
- 2:18guy, but also a Fellow podcaster.
- 2:22Welcome to the show, Max. Thank you so much, Frank and Andy,
- 2:26for, for having me on. I'm looking forward to it. And,
- 2:30yeah. Thank you. Cool. So you you've been at you were at a
- 2:34company for a number of years. You were talking about this in the virtual dream
- 2:37room. You were at Foursquare for, oh, quite some time. Right.
- 2:41That's unusual, actually. 10 years at a at a company as as, you
- 2:44know, building software is pretty unusual. But I was really there For, I
- 2:48think, like, 3 different phases, so I kind of break it up into 3
- 2:52jobs. Interesting. So, you know,
- 2:55Foursquare is one of those companies that
- 3:00On when they broke up into 2 different parts, it kind of I didn't
- 3:04understand it. Like, this is just user. I'm not I'm not I know 1 I
- 3:07know that sounds terrible, but despite being my headache, Charlie talking, but, like,
- 3:13what, you know, obviously, that was a decision
- 3:16that was made in the marketing department, and I don't think people probably thought that
- 3:19through. But I love that location. Like, I I think, you know, like, I was
- 3:23the mayor of, like, 5 6 different places. It was such a cool
- 3:26creative, concept that if you go there long
- 3:30enough, you're the mayor, and some places would offer the mayor, like, a free coffee
- 3:34and a donut or something like that. Like, it was really clever.
- 3:38I know. I used to I mean, that was one of the things that got
- 3:41me really excited about it back in the day. And this is already 10 years
- 3:43ago. I assume you're talking about the, The app split back in
- 3:472014, which I guess is That sounds about right. I I guess
- 3:51almost 10 years. I guess it's It it's actually been 10 years since we started
- 3:55working on that, which was also how it worked. But,
- 3:58no. I I mean, I actually remember a lot of what was going on
- 4:02at the time, and, we could talk about that a little more in a
- 4:06second. I I I I I'm happy to talk about that.
- 4:10I I think the the whole gamification thing was really
- 4:14exciting. And I really loved the idea that I can go into
- 4:18a place and be like, hey. I was here for 5 times. Oh, we're gonna
- 4:20give you some free, you know, free, you know, dessert or
- 4:24free chicken nuggets or whatever. Maybe these days, you know, kind of trying to watch
- 4:27what I eat a little bit more, it might not be as exciting. I I
- 4:30it was really sad that that didn't scale as a business. I think what
- 4:34would happen was, and and this I both experienced
- 4:38this personally. And also from talking to the leadership there, it was clear
- 4:42that they felt it it, You know, it it it wasn't a
- 4:45sustainable thing because you'd often go into a place and say, hey, you know,
- 4:49I checked in here all these times. I got all these rewards. You know,
- 4:53I'm supposed to get, like, a dollar off, or I'm supposed to get some
- 4:56some free dessert or something, which is It's always exciting
- 5:00to get a little reward, even if it's not, you know, even if it's just
- 5:02a dollar or whatever. It's always but I think what would end up happening is
- 5:06like the the man, the The management who worked there or the or the
- 5:10bartender or whatever would know about it. And, you know,
- 5:14once a few times that, you know, you got that thing. Oh, oh, let me
- 5:17go in the back and check. And then they come back in, like, 20 minutes,
- 5:19and it's like a whole big deal. They're like, maybe I don't wanna do this
- 5:22again. That's interesting, because, like, from my point of view,
- 5:26it was always very It was very fun, like, so I was mayor of,
- 5:30there used to be a ferry service between, in the
- 5:34suburbs of DC, between Poolesville, Maryland and
- 5:37Leesburg, Virginia. And, I would take that ferry a lot so
- 5:41much. So I was actually the mayor of the ferry. It didn't get
- 5:45me anything, like, in that case, but it was this kind of cool, like I
- 5:48I love to I I always imagined, like, there would be, You know, like
- 5:52the ferry could have some kind of a a little like TV screen that could
- 5:55like show who the mayor was. And then you can, you know, and and and
- 5:59then then then we can like kind of scale up those fights, But alas,
- 6:03society didn't go in that direction. Interestingly,
- 6:07Foursquare, what, like, I have been interested in that this like local
- 6:11local search space since since well before forest grabbing even my, you
- 6:14know, my my senior project as an undergrad, back,
- 6:18though, starting in 2005, was this, like, you know, this this website
- 6:22called sticky map, where people would post little, Icons all
- 6:25over Google Map. It's kind of inspired by Wikipedia. You can add messages.
- 6:29And I just thought it was pretty cool. People started marking up the, the campus,
- 6:32and then people started, you know, marking up. It was like, well, it's based on
- 6:36Google Maps API, so you could just mark up anything you want. And
- 6:40I think in that first project, I noticed All the problems
- 6:44that still exist with that kind of data today. Okay. What happens when you
- 6:48add duplicates? It's the first thing that happened. As, you know, As an undergrad, I
- 6:51was like, oh, I'm so excited. Let me show something like this. They're like, okay,
- 6:54let me create a marker. And I'm like, don't create that one. It's already been
- 6:58created. And then it's like, okay, now we have duplicates Right off the bat. And
- 7:01that is still something that, you know, Foursquare
- 7:05deals with and I'm sure Google deals with and Apple Maps deals with and then
- 7:09they they all deal with it. So,
- 7:14Yeah. It it it it I I think when I
- 7:17discovered Foursquare, you know, several years later,
- 7:22it was the it was innovative in several ways. It was, first of
- 7:25all, it was based on on mobile apps actually being at the place when you're
- 7:29commenting on it, which is exciting. It was the gamification of it. And the
- 7:33fact And and for those listening Yeah. For those listening, that was new. Like,
- 7:36that was brand new. So sorry. I didn't mean to cut you off, but, like,
- 7:40the context is important because All I had was was something on a on
- 7:43a website. You know, I I wasn't thinking of the I the iPhone didn't
- 7:47exist, for actually, pre Foursquare,
- 7:51there there was something called dodgeball, which was kind of the the
- 7:55predecessor to Foursquare, Which I wasn't involved with, but it but, it
- 7:59it was based on, like, you know, SMS kind of text messages where people were
- 8:02messaging on. If you remember, You know, those, you know,
- 8:06the the the what was it? The t nine texting where people were Oh,
- 8:10God. Yeah. Yeah. Yeah. But people would use that and and Foursquare and,
- 8:14Google bought that. And then the the the founders,
- 8:19Dennis Nautz went it went in and started Foursquare after that.
- 8:23So, very, there there's a very
- 8:27interesting history of kind of, like, Local search, city guide,
- 8:31and basically sort of social kinda local applications. We're
- 8:35we're very big at the time. Nowadays, I think we need to find a new
- 8:38take on it, but, that when I joined Forescord
- 8:42in 2011, it was very exciting. I'm glad you mentioned that because there was
- 8:46a a real so I started my career in New York City. Right?
- 8:49So I worked at Barnes and Noble com. So I was there in the fairly
- 8:52early days of Silicon Alley, and that was a huge thing. It was
- 8:56Microsoft. I think it was Microsoft had something called Sidewalk.
- 9:01And then there was there was maybe it was maybe it wasn't Microsoft. Maybe
- 9:05somebody else had something called sidewalk AOL had something, going and the fact
- 9:09you can't remember it, I think says it all. Right? Like, it was like in
- 9:12in, you know, anybody that could register a .com could spell and could
- 9:16spell HTML To get funding back in those days, a
- 9:19bit like the way the AI startup ecosystem is kinda
- 9:23today. But, no, there was I mean,
- 9:26people there was a time, young children
- 9:30out there, That when, you know, people saw the online
- 9:34world is slightly different than the real world, and they saw this as an opportunity.
- 9:38Right? But no, I'd like That takes me back. As soon as
- 9:42you said to, like, the local kind of connection guides, I was like, wow, it
- 9:45takes me back. Yeah. Yeah. Coming back to
- 9:48the app split, and I wasn't expecting to talk about this today. I'm sorry if
- 9:52it brings up If for what it's worth, I'm a former Windows For what it's
- 9:56worth, I'm a former Windows phone developer, and I wrote a book on silver light.
- 9:59So I understand the pain of working on
- 10:03It'll fade and I worked at barnes and noble.com. Right? So there's my trifecta of
- 10:07ill fated technology projects. Yeah. I I think it's
- 10:12A lot of technology companies, in order to become successful, actually have
- 10:16to go through big changes where people yell at them.
- 10:20And so it's like, how do you know whether you're breaking things or whether you're
- 10:23actually doing what you're supposed to do? And so that's kind of a Right. That's
- 10:26that's kind of a tough decision. I I think For Foursquare
- 10:30at the time, there was always, like, kind of a design,
- 10:34and product, like, tension between the people who
- 10:38wanted to be there As essentially like a Yelp replacement, kind of
- 10:41like a a local search city guide. And then there and then versus the people
- 10:45who were there for the the life logging, the check ins, the game. And I
- 10:48think, I think the separation could have been
- 10:52done. I mean, my personal thing is I think there could have been a
- 10:56Separation, I could think, could have been executed a little bit better. I
- 10:59think technically we did a good job. I think the apps that
- 11:03we ended up with were well designed, but I think, I think
- 11:07we needed to do is take into account how the how people were using the
- 11:10apps, at the time and not just, like, Kick all the
- 11:14people who are checking in, which was which was Foursquare's kind of bread and butter
- 11:18and just, like, kick them to the side with this other app. And then it's
- 11:20like, well, what is this? I'm calling this something different. Sorta. That was that was,
- 11:23I think, too much. But, again,
- 11:27there there were people saying it at the time. But
- 11:31The problem is, I I guess, you know, there whenever you make a
- 11:35change, there's always a great many people saying a great many things. So
- 11:40We could wax this we could wax nostalgic about Foursquare because I used to
- 11:44like, when I I was travelling a lot at the time when I worked I
- 11:47worked at Microsoft about 10 years ago. But I remember Sometimes I would actually
- 11:50choose different connecting airports, so I could get, like, the the
- 11:54jet that was it, the the jet set tag, like level up in my achievement
- 11:58there. Right. Which is kinda sad, but, we could
- 12:02we could wax nostalgic about that all day, and I would love to. But I
- 12:05think what What was the role of AI and ML in that
- 12:09space? Right? Because you're obviously collecting a lot of data. No. Like, I'm just curious,
- 12:12like, because how how was that being used? How was that,
- 12:17leverage. In in in a lot of ways,
- 12:20and, you know, many of which I I worked on over all those years.
- 12:25You know, one of them was, I mean, just, you know, search
- 12:28ranking in general, which, you know, Foursquare had a lot of ex Google engineers.
- 12:32So I learned directly from them so they they knew what to do.
- 12:36But search ranking, search ranking was a was a was a big project.
- 12:40This is kind of more of a statistical Problem where you were kinda trying
- 12:44to weight different attributes, like, is this related to the search the
- 12:47person put in? Is this related to how much do we wanna, You know,
- 12:52score things that are, you know, maybe someone's
- 12:56friends went to. So something like that. I think that
- 13:00The biggest well, I'll talk about the one that I think is the biggest deal
- 13:03and then the one that that I worked on the most. The one I think
- 13:06was the biggest deal for for Foursquare, which I did work on a little
- 13:10bit, is basically trying to figure out where
- 13:13someone is given. So we know where someone is given there that long
- 13:17from their phone. But it's like, what are they actually in a particular
- 13:20store? Like, are they in the Starbucks? Are they in the, you know, are they
- 13:24in the office, over there? Are they Are they just walking down
- 13:28the street? And so using the fact that people were were
- 13:31giving us training data, essentially, which was a big theme there, which is, you know,
- 13:35I think, something that,
- 13:40data scientists and data entrepreneurs need to need to look in closely, which is
- 13:43like, How can you get people to give you training data? Because it is really
- 13:46useful. So if you have people giving you where they are and
- 13:50then you could see the information from their phone, not just a lot long, but
- 13:53like what, You know, things like what Wi Fi's can you see? What, you know,
- 13:56other sensors from your phone, can you figure out where they are? And then there's
- 14:00the whole stop detection, problem. And so, Yep.
- 14:04Foursquare essentially can kinda figure out, you know, where you went day
- 14:08to day, and it's actually pretty good. Like, you know, if I Don't tell Foursquare
- 14:11where I went. Even today, I still look at it and, you know, it tells
- 14:15me what, what actual stores I was in. Now maybe there's a question of,
- 14:19you know, whether whether our apps are knowing too much about us, but
- 14:22that's that's a whole another question. But that was a very important,
- 14:27a resource for the business. And the one that I worked on the most, that
- 14:30was the most exciting though for me was the natural language
- 14:34processing Pipeline. And, of course, you know, text text
- 14:38data today is is is having such a a resurgence
- 14:42with, You know, I don't need to tell your audience with AI and all that.
- 14:45But, you know, it it it back then it was like, well, people were giving
- 14:49us, you know, several sentences called tips on Foursquare Venues,
- 14:53which would often be like, here's, you know, here's what you should do here. Here's
- 14:56what you should try. Here's a little review, something like that. People were
- 15:00leaving text with their check-in. So there's a bunch of texts, there's
- 15:03menus, things like that. So there's a bunch of texts in the system. And so
- 15:07it's like, what do we do with all of that? And, one of the things
- 15:11that we did was we pulled out key terms, you know, noun phrase detection.
- 15:14This is all kind of standard natural language
- 15:18processing. You know, not
- 15:22you know, you know, people often ask, oh, you know, I I think
- 15:26Nowadays, I'm often thinking everyone's thinking, oh, you were probably using, like,
- 15:30generative AI or something. No. It was just kind of standard NLP that had
- 15:34been developed over the last, you know, several decades. But,
- 15:38we did sentiment analysis and we used that to come up with the ratings for
- 15:41the venues, which which are used today. So you could tell
- 15:45how good something is. And,
- 15:49you know, I did some things that were a little bit
- 15:53more interesting that, you know, maybe get overlooked, but they're
- 15:57they're kind of unique to To to what we did there, which was sort of
- 16:00like timeliness and seasonality, which is so, like, if you check into
- 16:04a diner in the morning versus in the afternoon, It'll statistically
- 16:08give you different suggestions based on how timely it thinks each
- 16:11each suggestion is. Because with every Check-in where someone is doing
- 16:15something in real time. We have the timestamp. We know what time of day. We
- 16:19know what time of week. We know what time of year. And so it's kind
- 16:22of cool to to put that all together. And some of
- 16:26the some of the, some of the
- 16:29models, got pretty,
- 16:34you know, it was it was pretty neat how it all turned out. I think
- 16:37that one I you know, I still talk about that one is one of my
- 16:39That's my favorite one after being in the industry so long, even though it was
- 16:42like 10 years ago, because it was like, okay, we had training
- 16:46data again from on these tips where, You know, we
- 16:50could tell if the person liked the venue or disliked the venue and because
- 16:54they they told us, and they also left the tip. There were a lot of
- 16:56people who did that. So that just gave us training data for sentiment analysis.
- 17:00And at the time, I'm sure the tools now are much more sophisticated at the
- 17:03time when we use pretrained sentiment analysis tools, Didn't really
- 17:06work well on our data because it's just it was just a different kind of
- 17:09text. People wrote on Foursquare differently than they did on Twitter, for
- 17:13example. So, so that gave us training data. Give
- 17:17us training data for every language. And so that was nice. We got kind of,
- 17:20like, you know, 90 languages for free just by just by
- 17:24using that Strategy of Oh, wow. Using the data that people gave us.
- 17:27Probably not probably didn't work very well in all 90, but certainly worked
- 17:31well. Well, the beauty of it is It ends up working
- 17:35well so long as we have good language detection, it ends up working well
- 17:38in, any language that has any Particular,
- 17:43you know, any particular popularity in Foursquare.
- 17:47So for example, if, the Turkish was very popular. Okay. Well, that
- 17:51means we have a lot of Turkish training data. That means that the
- 17:55the model, which trains monthly, is Is going to use all that training data. That
- 17:59means it's going to work very well. And so, and
- 18:02so that the fact that the models were always regenerating
- 18:07And they were always regenerating based on the latest data
- 18:11was was really cool because oftentimes you think these think about
- 18:16ML teams kind of building a model, and then they kind of throw
- 18:20it over a wall. They they productionize it. And then you have to
- 18:24work on the next one, but you have to you have to do some work.
- 18:27It's not automated, you know. So it's like, well, this is this is gonna start
- 18:30going downhill If we don't, if we don't interact. And the fact that we were
- 18:33able to set it up where it was just constantly getting smarter was,
- 18:37was pretty neat. So MLOps and pipelines before they were called
- 18:41MLOps. Well, they might have been called pipelines, but yeah. Interesting. Yeah.
- 18:45Pipeline was a big Big big key phrase. So what
- 18:48what did the data what did the back it because like one of the one
- 18:51of the jokes that we have, and in fact, it's a domain name that I
- 18:54registered. 1st, you get the data, is a phrase that
- 18:58a lot of data scientists will often use, much to the chagrin of a lot
- 19:01of data engineers, because a lot of data,
- 19:05you have to get the data in a certain way to to format it and
- 19:08and and to get it trained. And if you go to first you get
- 19:12the data.com, it should redirect you to our website,
- 19:15hopefully. God only knows if it works. 1st, I think
- 19:19yeah. I'm gonna I'm gonna try to get the data.com.
- 19:23I'm shattered to think that okay. Good. It does work. Okay. DNS
- 19:27and me have a long history. Yes. It's going back.
- 19:30Good. I I it's always good to start off a week with a win with
- 19:33DNS. What did it what did the
- 19:37because I'm curious, like, Foursquare was one of those early, kind
- 19:41of mobile first, kind of success stories. I'm
- 19:45always curious, what did the back end data platform look like? Right?
- 19:49Because, and again, going back 10 years, I
- 19:52mean, I mean, did you use what was the name of the,
- 19:57gosh. Can't think of the name of the platform, but what sorts of technologies did
- 20:00you did you guys use? Yeah. I'm I mean, I'm sure
- 20:04it works similar today in in at at Foursquare. Mhmm.
- 20:08Well, we were using data pipe I assume. But, yeah,
- 20:11if I remember correctly, we had, you know, our transactional database, our Mongo
- 20:15database that was sort of like, Every once in a
- 20:19while. And so that was kinda like the baseline. And then there'd be a series
- 20:23of jobs that, like, you know, built it up, that that
- 20:26that kind of Calculated things off of that, and that
- 20:30would, in the at the end of that pipeline, you know, release
- 20:34a, a dataset that would then be kind of,
- 20:38Automatically, deployed and then read by,
- 20:42read by the server in real time. So, if I can think of, like, the
- 20:46technologies, I think the, the pipeline technology, the
- 20:50pipeline, what was it? It was
- 20:53like Luigi. It was written in pipe. Python. I don't know if that's too interesting.
- 20:57There's a lot of different ones you could use these days.
- 21:02It's an interesting question of, like, you know, which one do you use? I,
- 21:07it's It's probably,
- 21:10you know, from from my point of view, it's always like, well, the company kinda
- 21:14chooses it. You don't really have much of a say.
- 21:19And then then it's like, well, well, how do I know how to compare? But
- 21:22let's see. Like, you know, we were using MapReduce jobs. We're using Hadoop At the
- 21:26time, I think scalding, was was one that's that's maybe kind of out of fashion
- 21:29now. That was a, a scala based framework for for
- 21:33some of these jobs which were, which which
- 21:37was based on abstract algebra. So it's actually pretty cool. I wish it
- 21:40was. It was kinda hard to to reason about sometimes if you
- 21:45It kind of went too far, to the side of, okay,
- 21:49you know, I love abstract algebra, but I don't want everybody
- 21:53who I don't I don't want that to be a barrier to entry for people
- 21:56who are we're working on this. But, I'm
- 22:00just trying to remember, like, some of the, You know, some of the some of
- 22:03the tech bud buzzwords. But if you have any specific questions, maybe they'll jog jog
- 22:06my memory. I don't know. Like, one of the things that was popular about that
- 22:09time was, HBase. Oh,
- 22:13yes. I, were we using interest? I think we were using,
- 22:18Yeah, I remember that Term, but I I know. I know. I was as you
- 22:21were talking, I'm like using it or if we wanted to use it. It was
- 22:24one of those 2. Now from that if memory serves, I think Facebook is the
- 22:27one who pioneered h base because it was really it was a right once read
- 22:31many thing, and basically, the last one in when,
- 22:34last last I can't talk, sorry. Last one wins.
- 22:38Let Andy help might help me out if with the
- 22:42technical term for that last one. Last one wins. What's the
- 22:46Oh, yeah. So right. I remember they were called h files, so it must have
- 22:49been yes. It must have been that. Yeah. Yeah. Yeah. That was one
- 22:53of those sorry, Andy. Go ahead. That's okay. You were I was thinking,
- 22:57you know, ChipLogic last in first out. Yeah.
- 23:01Yeah. Something like that. Yeah. Know if that's what you were after or not. Last
- 23:04one wins. Last one That was their concurrency strategy.
- 23:08That's, I know there's a better term for that, but again,
- 23:13it's a Monday and, I have
- 23:17a headache. But no, it's it's it's it's
- 23:21fascinating to kind of Almost like technology
- 23:25archaeology. Like what worth the big projects
- 23:28that were popular at the time. Right? You know, and it's
- 23:32just, And it's scary to think that, you know, we're talking 10 years
- 23:36ago. I mean, I mean, you Not even though. A lot of this stuff was
- 23:39I mean, a lot of this stuff is probably still in place at Foursquare today.
- 23:43Yeah. I mean, what's interesting to me is you you mentioned a lot of
- 23:47the NLP, techniques that, You know, for lack
- 23:51of better term, people would consider legacy now, right? Because they're pre
- 23:54transformers, right? They're pre GPT, right? Sentiment
- 23:58analysis, a lot of, you know, I I speak with a lot of people with
- 24:01varying degrees of technology skills, and they
- 24:05assume that this field of research didn't exist prior to
- 24:09last year. And, very
- 24:12much not the case. It's just that radically changed about a year ago.
- 24:17Right. I mean and and this is something that I'm trying to figure out how
- 24:19to do, which, I I might not be alone. It's like, okay. I did
- 24:23all these things. How do I reinvent myself now in this new world?
- 24:27And, you know, once you realize it could be exciting thing, then
- 24:31it's maybe not so much of a drag, you know, because there's there's so many
- 24:34opportunities out there. But it's like, but I can't be
- 24:38the only one out there who's struggling with this being like, okay,
- 24:41wow, I've got a, You know, I I've gotta,
- 24:45you know, work or at least do projects for companies that
- 24:49are at the cutting edge here in order to, In order to be,
- 24:53you know, in order to be at the forefront. Yeah. It's funny, like, you miss,
- 24:57like, I was, You know, offline for I tried to be offline, but for the
- 25:01better part of a week and for vacation.
- 25:04And like During that week, AMD announces that they are
- 25:08producing their own, GPU LLM
- 25:12type hardware. Gemini comes out and all
- 25:15these other innovations that come out, and I'm like, I feel, like, hopelessly behind
- 25:19now. I'm being offline for a week. Yeah.
- 25:23Yeah. It's I mean, I I guess the
- 25:26only, consolation there is everyone's dealing with that.
- 25:30Right. You know? Yeah. Right. And Kinda like impostor
- 25:33syndrome. Right? Yeah. Yeah. I think I think the
- 25:37question is, especially in this new world of generative
- 25:41AI. And and the question I'm asking I don't necessarily have answers. But it's
- 25:44like, how do you so You wanna jump in the stream
- 25:48and get all the latest stuff, but you also want to leverage your experience
- 25:52and understanding. Cannot be leveraged. And
- 25:56so what's the best way to to, you know, what
- 26:00what's the best way to balance that? I think that's something that I would like
- 26:03to see more people asking. And I would like guidance on this. I know I'm
- 26:06the guest. I'm supposed to say what I know, but No. But try now. You
- 26:10know, Mads, the, the thing is a lot of the stuff that's
- 26:13That's new. I'm doing the air quotes here for people who are listening.
- 26:17A lot of things that are new are really coming out of tech That was
- 26:21developed. The math was developed, for instance, in the late sixties, seventies,
- 26:24eighties, nineties. So a lot of that is just being reapplied
- 26:29Back when the math was developed and the theorems and and such,
- 26:32we didn't have machines fast enough to do it or at least do it
- 26:36usefully. So I wouldn't feel bad at all about,
- 26:40you know, having a bunch of, a bunch of experience that seems dated
- 26:43right now because A couple of weeks to a couple of months. That might
- 26:47be the new shiny. Right. That's true. When I went back to
- 26:51a a university computer science program, You know, they're still studying
- 26:55data structures and algorithms. It's still very relevant.
- 26:58And, you know, I think a lot of outsiders think, oh, everything's
- 27:02gonna Turnover in, in a year and a lot of things
- 27:06do. But there are also a lot of kind of like universal,
- 27:10kind of, there's a lot of universal Theory that's, good to know
- 27:14about. Sure. The fundamentals don't change that often.
- 27:18Nope. And it's a lot of reapplications. I see a lot of people
- 27:21reapplying stuff 2 or 3 times. I mean, I've been I've been
- 27:25around computing since 1975. So I've seen kinda like these meta
- 27:29patterns flow, you know, through several generations,
- 27:33and they kinda keep just resurfacing. One of one of the
- 27:36interesting ones is, like, the, well,
- 27:40both the chatbot and the text based interface versus the,
- 27:45Graphical interface seems like we keep going back and forth. You know,
- 27:48I I remember chatbots back in the, you know, AOL days.
- 27:52AIM days probably way before that too.
- 27:56And then, you know, and then There was kind
- 28:00of a a a chatbot resurgence in, you
- 28:03know, 2016, 2015, whenever when every company wanted
- 28:07a chatbot and we're excited about that. Yeah. It didn't quite work. It
- 28:11seemed to fizzle out. Then, you know, the
- 28:15the then nowadays, we have So many chat interfaces,
- 28:18chat GPT and and generative AI seems to be resurgent again.
- 28:22So there are these weird sine waves, these weird
- 28:26cycles, and I almost think of it as a coil where, you know, you're starting
- 28:29at the bottom and you're cycling, but you're also moving up at the same time.
- 28:33And so How do you how do you surf the wave? That's, that's,
- 28:37something that's once you kind of, understand the
- 28:40fact that that's what you're doing, then then then you can be excited about it.
- 28:44I I think it's fair. Well, we're at that point in the show
- 28:47where we transition to our, questions. And, we
- 28:51dropped them into the chat here for you. Our very first one is how did
- 28:55you find your way into data? Did data find you or did you find
- 28:59data, Max? Interesting. Well, I
- 29:02guess I was always interested in math and computer
- 29:06science. You know, going back to undergrad, you
- 29:10know, it was like there was a lot of different areas I could choose. I
- 29:13had a hard time going into a field that, you know, where I
- 29:17wasn't, using all different parts of my brain and
- 29:21computer science department, it was it was not just the
- 29:25mathematics. It was, you know, there was, you know,
- 29:29there was a bunch of creativity in it as well. There was human computer interface.
- 29:33There was it. So, So I was kind of, I gravitated to that field
- 29:37as an undergrad. When I graduated, I I joined a company
- 29:40called wireless generation, which, today is called Amplify.
- 29:45And that's it was an education tech company. And I was
- 29:48doing, you know, some simple kind of software engineering work. Actually, back
- 29:52then, It was, which sounds really dated now, but, you know, they
- 29:56were probably doing this up to, like, 2010, which was, you know,
- 29:59writing c plus plus for the palm pilot. You know, we yeah.
- 30:03Because it was they were assessing students and then it would sync to to
- 30:07the web and all that. And Sure. It was a lot of, like, taking
- 30:10stuff, Taking that information out of databases and putting it into a a
- 30:14dashboard. And it was it was you know, I I felt like there
- 30:18could be something more interesting I was doing even though I love kind of the
- 30:21mission of that company there. So I ended up in grad school. I ended up
- 30:24at NYU and I went there from I guess
- 30:282009 to 2011 really discovered,
- 30:32you know, data mining, was the 1st related
- 30:36class. Then I took, You know, machine learning, natural language processing. Actually,
- 30:39the the machine learning class was with, Jan Lacun, who is,
- 30:43a very well known machine learning researcher. He's Like The Lani.
- 30:47The the the the the the the the the the the the the the the
- 30:49the the the the the the the the the the the the the the the
- 30:51the the the the the the the the the the the the the the the
- 30:53the the the the the the the the the the the the the the the
- 30:53the the the the the the the the the the the the the the the
- 30:53the the the the the the the the the the the the the the the
- 30:53the the the the the the the the the the the You know, all the
- 30:55stuff that exists today. Like, even this was 2010. He would show us a camera
- 30:59where he would point to different objects. He'd be like key, wallet,
- 31:02chair, and it would like, the the the text would appear
- 31:06on the the screen based on what he pointed at. So they knew how to
- 31:10do all this stuff, that that you think of as as kind of
- 31:14it it's it almost seems crazy that that was not, like,
- 31:19and and turned into a product that anyone could use back then that it almost
- 31:22seems crazy that it took you know so long to do it but they and
- 31:26actually it it may have been Used by someone.
- 31:29It's, sure. Maybe we just don't know about it.
- 31:35Sorry. My paranoia. No. No. You're right. I'm sure it was used quite
- 31:39a bit, but it it it's just like what it was that kind
- 31:43of Sitting on his laptop was so much more sophisticated than anything that
- 31:46that I I saw a year later. But,
- 31:50Yeah. So it was That was kind of inspiring. And so it was
- 31:54like, you know, it was
- 31:58to me, it seemed like a much more interesting problem. Well, how do you How
- 32:01does the machine learn? You know? How do you, you know, I don't I don't
- 32:05wanna sit around writing code that's just dead. I want it to To
- 32:08be alive, I wanted to to learn from experience. And so when you dive into
- 32:12that question, well, then you get into machine learning, which is actually Pretty well
- 32:16named. And then and, you figure, okay, well, you need
- 32:19data to learn from, and then that that ends up being a statistical model
- 32:23and so on and so forth. So, you know, when I
- 32:27so Foursquare, was a company that that essentially came
- 32:30out of NYU And, you know, it kind of intersected. So
- 32:34and and they wanted to, to learn from from
- 32:38their data. They wanted to kind of, sort of a
- 32:42to build a data science team. And so I had already been
- 32:45working on that sticky map project, And I was into local search. I
- 32:49loved the the product aspect. I didn't have my new
- 32:53interest in machine learning and LP in there. So it all kinda came together. And
- 32:56so that's why I think that was such a good fit for me and probably,
- 33:01probably would be very difficult to find such a fit again.
- 33:08Our next question is, what's your favorite part of your current
- 33:12gig? And that was, in The virtual green room, you said you
- 33:16kinda had a good story about that.
- 33:19Right. So I don't. Well, I don't exactly have a a
- 33:23current gig right now. I have a bunch of different projects that I'm working on.
- 33:27It was you know, I think It it was on one hand, it was
- 33:30nice in Foursquare to be able to focus on one thing, and I'm gonna come
- 33:34back to that. But I feel like you need these periods, almost like the same
- 33:37as the grad school period That I had, back in 2010 where it was
- 33:41like, well, you're working on a few different side projects, but let's see.
- 33:44Hopefully, like, eventually it'll coalesce into something,
- 33:48you know, something a little bit more long term and permanent. So I'm working on
- 33:52several projects. One is with with the Foursquare founder, Dennis
- 33:55Crowley. And we are Working on a new product, a new
- 33:59kind of city guide where you walk around the city with your headphones in,
- 34:03with your AirPods in or whatever. And We kinda know what you're passing,
- 34:07by. We sort of are are using some of the Foursquare
- 34:11tools that are publicly available that we know about, but also, You know, we're
- 34:15kind of rigging up our our own thing because we've just done it so many
- 34:17times. You know how to do it. We're okay. We know what
- 34:21stores and stuff you're walking past. So what kind of sounds can we play? Right
- 34:24now, it's a bunch of text to speech. Essentially, the way I've rigged it up,
- 34:28the the old version 0, the alpha version is, you know,
- 34:32we asked chat g p t or OpenAI API what to say. So it's
- 34:35basically like you're you're walking down the street hearing,
- 34:39content From OpenAI. Interestingly, OpenAI
- 34:43seems to the the GPT seems to know,
- 34:46stuff about Every place along the way, like, you don't
- 34:50have to go into, like, location based database.
- 34:54It seems to seems to know quite a bit. There is a question of the
- 34:57all the content is there's some interesting content in there, but it all ends up
- 35:01being kind of mediocre. So it's like, okay, well, how do we turn this into
- 35:04something really cool? I think, you know, in the end, having,
- 35:09you know, you know, maybe music and and and speeches and an art
- 35:13project somehow in there, based on where you walk is an interesting
- 35:16idea. So if I could That'd be cool. Yeah. I could be like a
- 35:20platform that people can use, like a cultural version of
- 35:23Foursquare. Yeah. Yeah. And or maybe it's just
- 35:27like an enhancement of the the sounds of the city. Or maybe
- 35:31it's, You know, I mean, a lot of people think, okay, maybe maybe a tour
- 35:34guide. I I don't know. But, you know, it it's it feels like,
- 35:40It feels like there needs to be, a variety
- 35:43of use cases tried because there's there's a lot you could do with it. And
- 35:47and Maybe, you know, if if you put this in the hands of more
- 35:51creative or of of additional creative people, they would,
- 35:54ultimately find something interesting. I'm also working
- 35:58yeah. Oh, I could answer questions about that. But then my other project is my
- 36:02other 2 projects are are kind of interesting as well. Well, I have the
- 36:05podcast, The Local Maximum. So still doing that every week and, you know,
- 36:09interviewing people. Talking about,
- 36:14talking about data, talking about AI, you know, few episodes on the
- 36:18whole. You know, all the drama around OpenAI recently.
- 36:24I I never wanted to become kind of the the the,
- 36:27the the the tech drama, you know, what's it called?
- 36:31TMZ of technology? Yeah. Yeah. But but that's something that happened because
- 36:35I remember, like, last year, a couple years ago, there was all this craziness coming
- 36:38out of Google with, You know, there was 1 guy at Google who said,
- 36:42you know, he thought that the LLM has come to life. And Oh, yeah. And
- 36:46then and then there was a there was A whole
- 36:50bunch of stuff with, like, the the AI safety, you
- 36:53know, seemingly staffed
- 36:56by, people who are a little nutty. And
- 37:00so, it was a And they fired a bunch of
- 37:04people From that team too. So, like, there's
- 37:08definitely, it was something weird some weird mojo
- 37:11was going around. That's for sure. Yeah. And when when I cover that, I
- 37:15mean, it's hard to, you know, it's hard to hide the fact where it's like,
- 37:18wow, everyone in this story seems kinda nutty. But I also try to, you know,
- 37:22I try to take a step back and say, okay, this is what we know.
- 37:25These are a few things that could be happening internally, but we don't know everything.
- 37:28I'm not gonna jump to conclusions. But,
- 37:32I I I I try when I'm covering a story in a local maximum to
- 37:35give, like, a a balanced, a balanced version of
- 37:39of whatever story I come across. You know, maybe it's my show as I try
- 37:42to give my opinion. But, yeah, I I
- 37:46I my attempts, which, you know, some people have have,
- 37:51said I I I've captured that. But my my attempt is to sort
- 37:54of, try to try to
- 37:58approach each Story with a little bit of humility and try
- 38:02to help people understand what's going on without the
- 38:05raw emotion that you get often on on Twitter. Gotcha. That's a good
- 38:09point. Yeah. So we have, go ahead. I'm
- 38:13sorry. Oh, no. No. It's okay. Go ahead. Okay. So we got,
- 38:173 complete dishonest. And, the first is when
- 38:20I'm not working, I enjoy blank. Right.
- 38:24So now that I've moved to Connecticut, I feel like I
- 38:27am such a a Connecticut stereotype where I kinda, like, Drive
- 38:31around, going for walks in the woods and into
- 38:36various malls and stuff. So it's like it's like it's When the
- 38:39weather's good, you go into the woods. When the weather's bad, you go into the
- 38:42mall. Yeah. So I I actually like enjoy doing
- 38:46that. I enjoy listening to podcasts.
- 38:49I, honestly, enjoy hanging out with friends. You know,
- 38:53after, I used to live in New York City. I enjoyed
- 38:57it a lot, and I sorta had this, situation where
- 39:01I had this be careful what you wish for because, at the end of 2019,
- 39:05I was like, oh my god. I'm going to, like, events every single day. It's
- 39:08just it's just too much. How can we, like, how can we, you know,
- 39:12cut back on that. And then COVID came. And then to me, it was just
- 39:16it was the worst thing because it was like, okay, you stay in your apartment
- 39:19in New York City all day and you don't go and and talk to anyone.
- 39:23And it was just like it it it was just awful. It just
- 39:27felt like a a prison. So I I
- 39:31moved to New Hampshire for a couple years, then I came back. But, you
- 39:34know, nowadays, when I get a chance to hang out with with friends and and
- 39:38family, I just I try to do it, whenever I can because I'm
- 39:42not like, you know, it's not like when I was living in New York in
- 39:45the 2010s and got kind of overload on that.
- 39:50Right. Right. So, yeah. That's my answer there. And we have another complete this
- 39:53sentence. I think the coolest thing in technology is blank.
- 40:03The the way I've been putting it recently Is this,
- 40:07where, you know. It.
- 40:13You know, back maybe 10 years ago, the story we
- 40:16were getting that the hopeful story we were getting was that, okay, if you're an
- 40:20engineer, you could Build anything you want at
- 40:24a very low cost or if you're not an engineer for anyone because we
- 40:28have access to social media. You know, you can,
- 40:31you can put anything out there into the world that you want
- 40:35and and have people read it if if if they want to, or have people
- 40:39look at it if they want to. And so that was kind of the new
- 40:42exciting world. I think today, The new exciting
- 40:46world goes well beyond that, which is going to be like,
- 40:51you you can create worlds. Any Any world that you wanna
- 40:55build, any scenario that you can imagine, you
- 40:59can just have a machine fill in all the gaps for you and, You
- 41:03know, write the write the story, make the
- 41:06image and maybe, like, you know, make the make the video, make the whole
- 41:10world. So I think, I I I think the
- 41:14idea with generative AI that I want people thinking about more that that I
- 41:18I also wanna think about more is, like, Okay. If you could create any world
- 41:21you want, to explore, to live in, just
- 41:25to, you know, maybe it's something to to teach us about something. Maybe it maybe
- 41:28it's just an artistic adventure
- 41:32venture, you know, what kind of world do you want to create because that's
- 41:35that's going to become very cheap very quickly. Yeah. I could
- 41:39see that. So I'm gonna skip to,
- 41:43share something different about yourself. But we remind our guests
- 41:46to remember it's a family podcast.
- 41:52Okay. And I'm, you know, I'm I'm trying to,
- 41:58I'm I'm trying to think of an answer here, and it's not because,
- 42:02it's it's not because of the, of the of the caveat there,
- 42:06but it No. No. I get it. Well, you've already covered a lot
- 42:09that's It's different. I did. It is good stuff. Yeah. I mean, I
- 42:13think, I think one thing that, It's,
- 42:17I I enjoy doing that that that I forgot to mention, because
- 42:21I'm actually doing it again for the 1st time in in in 6 years was,
- 42:25I was a member of the Yale Alumni Service Corps. It's not
- 42:28a member. It's like you can do a a it was essentially we were doing
- 42:32trips to underserved Communities around the world and,
- 42:35you know, doing little, like, kinda, kind of service
- 42:39trips where you'd ever Either build a structure or work with small business
- 42:43owners or go, you know, teach in a school. And so I've been
- 42:47to, Nicaragua and Ghana And I actually
- 42:50got to lead one of their trips in 2017 and that was to the Fort
- 42:54Mohave Indian reservation. Very different kind of a trip because
- 42:58it was Within the United States here. And
- 43:02so it was honestly a lot easier. Because that's very cool
- 43:05flying to Vegas. But yeah. But we're actually going back there, in in a few
- 43:09months after 6 years. And so I was so even though it was less
- 43:13convenient this time around, I'm I'm very excited Do that. And so
- 43:17I I don't know. I really like learning about different cultures,
- 43:21different philosophies, different religions. I think A lot of people might
- 43:24assume given the you know given the tenor of my
- 43:28podcast that I'm very like you know rationalist and I talk about Bayesian
- 43:32inference a lot. But, I I
- 43:36sort of venture out of that a lot. I don't think that,
- 43:40That raw math can, can explain everything in life. And I also love like the
- 43:43diversity of, of cultures and stuff. So No. It's cool.
- 43:47That so that's maybe a positive thing, so I I don't know. It's very positive.
- 43:50Something different. No. It definitely is. It definitely is. So where can
- 43:54folks find out more about you and what Sure. So you mentioned you have a
- 43:57podcast, which I love the name, The Local Maximum.
- 44:01Right. Yeah. Local maximum's triple entendre, because it's got my name, Max.
- 44:05It's a local maximum is, of course, you know, in machine learning,
- 44:10when you're when you're trying to find the, well, sometimes it's often the local minimum
- 44:13if you're trying to, Minimize the the loss function, but the
- 44:17in basing inference, if you're trying to maximize the probability, whatever, you're you you get
- 44:21stuck stuck in one of your next which was Your name is Max. So Yeah.
- 44:24Exactly. Right. Right. That's the first one. That's the second one. And then, you know,
- 44:28I I worked on location data a lot, so it's kind of a a triple
- 44:30meaning. And so, I've
- 44:34been doing that for for quite a while. You can go back into kind of
- 44:38a a really extensive library there. And, I have
- 44:41the website local max radio.com. I have.
- 44:47If you go, I have local maximum labs. If you go to local maximum local
- 44:51max radio.com/labs, I have a
- 44:54bunch of papers And, you know, kind
- 44:58of works that I've done, which, you know, includes some
- 45:02discussion of machine learning, like kind of the math mathematics behind bias correction,
- 45:05but But also something kind of fun that I did, like, with the podcast last
- 45:09year, which is, like, I just rewrote the US constitution, fixed a bunch of
- 45:13things just because I I felt that was fun. I was Taken aback by how
- 45:17mad people get when you when you do that, it's not like I was actually
- 45:19trying to, you know, run a political campaign for it. I just thought it was
- 45:23a a fun project, and I learned a lot. But Some once you venture into
- 45:27the political, people start treating things different. People get angry pretty quick.
- 45:30Yes. That's true. Yeah. Yeah. I I I The
- 45:34I I I love to hear criticisms on it. I wanna hear what what what
- 45:38people think. But The one criticism
- 45:42that I get a lot, which I really hate is, like, how dare you spend
- 45:44your free time on this, which I I just don't get at all.
- 45:48Yeah. But, which, you know, whenever I put
- 45:52out some kind of math paper, even if it's like and there there is one
- 45:55called relative probability, which is, you know, sort
- 45:59of an abstract paper where it's like, okay, a reimagined probability
- 46:03theory as, okay, let's say you can't talk about The probability of something
- 46:06happening. Let's say you can only talk about 1 probability relative
- 46:10to another. What, what does that look like? And I just stated some basic facts
- 46:14and, you know, Not that many people gonna use it. Maybe people
- 46:18won't use it for for a while. I I feel like it's an interesting idea,
- 46:21and I feel like it will have uses eventually. But,
- 46:25You know, nobody criticized me for that. For like, how dare you spend your free
- 46:28time on that? Exactly. They they pick on you for the other
- 46:32stuff. Yeah. I mean, I I look at people. I mean, you spend your free
- 46:35time yelling at people on Twitter. I mean, what's the difference? I was gonna say
- 46:38you can you can look at TikTok, and you can find far more destructive uses
- 46:42is of Exactly. Exactly. So that's so that's that's my
- 46:46main thing. I I think maybe with the, with the Constitution, I think people have
- 46:50their sort of ideal society in mind. And if If your thing doesn't wind up
- 46:54with that, they they kind of perceive you as a threat. Like you're trying to,
- 46:57like I was trying to revitalize democracy, but some people are saying, no, you're
- 47:01backsliding on democracy. Alright. Like, let's talk about it. But, yeah, it's it's
- 47:05people get you know, people get different. We need to have you back and talk
- 47:08about that more. Yeah. For sure. For sure. Talk about that. Absolutely.
- 47:12We'd love having you. Both Andy and I, however, do have a hard stop, and
- 47:16I would love this This covers you to go out for a couple hours, and
- 47:18we'll talk to you more. And I just had a a conversation last night with
- 47:22my cohost that went a couple hours. I know how it goes. Yeah. Yeah. Yeah.
- 47:26We ended at 1 AM, and I was like, oh my god.
- 47:31Well, those 1 AM conversations. I know what you mean. You got it. So
- 47:35With that, we'll definitely make sure. Send us all your links, and
- 47:39we'll make sure we get them in the show notes, and we'll let Bailey, our
- 47:42semi extension AI host, Co host, 3rd
- 47:45host, wrap up the show. And thank you, dear
- 47:49listener, for subscribing to our podcast. You
- 47:53have subscribed to us, haven't you? Once you do,
- 47:56please be sure to rate and review our podcast on iTunes, Stitcher,
- 48:00or wherever you subscribe to us. Having high ratings
- 48:04and reviews helps us improve the quality of our show and rank us more
- 48:08favorably with the search algorithms. That means more
- 48:11people listen to us, spreading the joy. And,
- 48:15can't the world use a little more joy these days?
- 48:19So, go do your part to make the world just a little better and be
- 48:22sure to rate and review the show.