Episode 127: Flux, ChatGPT & More with Tristan Brindle
35 minAudio
In this episode, Conor and Bryce continue to chat with Tristan Brindle about his new library Flux, ChatGPT and more. Link to Episode 127 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Twitter ADSP: The Podcast Conor Hoekstra Bryce Adelstein Lelbach About the Guest Tristan Brindle a freelance programmer and trainer based in London, mostly focussing on C++. He is a member of the UK national body (BSI) and ISO WG21. Occasionally I can be found at C++ conferences. He is also a director of C++ London Uni, a not-for-profit organisation offering free beginner programming classes in London and online. He has a few fun projects on GitHub that you can find out about here. Show Notes Date Recorded: 2023-04-05 Date Released: 2023-04-28 ADSP Episode 125: NanoRange with Tristan Brindle ADSP Episode 126: Flux (and Flow) with Tristan Brindle ChatGPT cwhy ChatDBG commentator “Performance Matters” by Emery Berger “Python Performance Matters” by Emery Berger (Strange Loop 2022) Tristan’s Tweet about scan Tristan’s Tweet with flux solutions to MCO ArrayCast Episode 48 Henry Rich Reveals J with Threads J9.4 J Fold’s top10 GitHub Repo Haskell’s mapAdjacent blackbird C++ Combinator Library C++ On Sea Conference CppNorth Intro Song Info Miss You by Sarah Jansen https://soundcloud.com/sarahjansenmusic Creative Commons - Attribution 3.0 Unported - CC BY 3.0 Free Download / Stream: http://bit.ly/l-miss-you Music promoted by Audio Library https://youtu.be/iYYxnasvfx8
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Tristan BrindleYou um were discussing this this scanduction, which um I'm sorry, that's that's the term I think it is.
ConorI've I've uh I've told my boss and a couple people, I said, you know, Zach told me definitely not to use it, but it's just uh and and you can think of it as like, you know, a map reduce would be a map duction, a scan duction. There's like a bunch of a bunch of like insert duction. It's it's I don't know. I think Zach is on to something. Uh and before we move on to the scan duction screen.
BryceI want a divorce.
ConorWhy? First of all, what? We're not married. You can't divorce me. Welcome to ABSP, the podcast, episode 127, recorded on April 5th, 2023. My name is Connor, and today with my co-host Bryce, we finished our three-part conversation with Kristen Brindle. We talk about ChatGPT his library flux animal.
BryceSo while while we're here, because Emery just uh just tweeted about this. This is uh this is CY. CY I got I got I got tired of of uh of trying to improve my compiler's diagnostics.
Tristan BrindleSo wait, you've got chat GPT to turn C error messages into English. Correct.
BryceThat is correct.
Tristan BrindleThat is amazing. That is amazing.
BryceIt's really, really good.
ConorOf course, this is by Emory Berger.
Tristan BrindleYes, it's not. Oh, sorry, I thought this was I thought this was yours, Bryce. Uh oh. Like someone just just that's it. Like a new startup, you will make millions.
ConorI feel like I've literally seen that tweet four times about like someone should just do a startup of like parsing C template uh memory.
BryceEmory created this other thing, chat chat debug. So like a uh basically it's a plugin for um GDB that does the same thing. Um and and then we started I started chatting with him about like, okay, well I would like I'd like that for compiler error messages. And we came up with with the CY thing. But but but both of these are I think super um uh brilliant.
BryceAnd one of the reasons is that um you look at all these large language models and you look at what people are trying to do with the with them in terms of uh developer tools, and a lot of it is um uh code synthesis, like having it help you write code, et cetera. Um and that's cool, but that is that's like an open-ended question, right? And and when there's an open-ended question, I think you're there's m multiple possible correct answers.
BryceUm and uh that also means that there's more room for it to do something that's wrong. Um and also I think that that uh you you end up with a lot more cases where it maybe hallucinates or or comes up with uh something that's nonsense. And and also there's been a lot of concern about um uh the like IP around uh code generated with an AI assistant.
BryceBut this space is very different because this is root cause analysis in both the debugging case and the compiler error case. What you're doing is you're saying, hey, I have this, you know, this thing happened. Here's the data, summarize from me what the root cause was. And that is something that the current technology for for large language models is very, very good at. And it's like a concrete problem. Um uh, you know, it's not an open-ended question.
BryceIt's like, here's here's information, summarize it and explain it to me. And that is that is something where things like uh ChatGPT really excels. Um, so I think that I I think I think that we're gonna see a lot of developments in the space of um AI assisted uh software engineering tools, but I think that things like this are gonna be the ones that are gonna have the highest impact uh the quickest. Um uh like I I'm I'm already like using this.
BryceI was I was using the the CY thing to write the CY thing because I don't like know Python well enough. And I kept getting these these Python errors when I was trying to um you know change something. And then I was like, all right, I'm just gonna ask it to you um to help me. Um and uh there was another thing that occurred, you know, what one part of this little tool that we have to do is um you you have to you have to figure out what you're gonna send to a large language model.
BryceYou can't send all the source code because it has a limited context size. Um and so what you do in in both the case of the debugger or in the case of the compiler diagnostic is you sort of you have a in both cases you sort of have a um a backtrace um you know it with a debugger, it's you know stack frames, but with the compiler diagnostics, you also sort of get this backtrace style where it tells you in this place I had this error, and then that was caused by this place and this place and this place. And so what you go through, what you do is you go through that, you extract all the source locations, and then you go and you open, you open up those files, you read in those, you know, some of the code around those source locations, and you send it to the large language model so that it can figure it out.
BryceUm what I'd like to eventually be able to do is to um to use like the Clang API to instead of extracting just like random lines from the file, be like, okay, I want the definition of this function and this function and this function and send that around. But one of the things that occurred to me is like we're still, you know, we were writing, we're writing some code to parse the compiler diagnostics and extract the source locations. And I just was thinking about it this morning because uh now we have to do it from all to make it work for multiple languages.
BryceUm I just originally wrote something that worked for C, and then Emery wrote something, changed it to work for Rust diagnostics. And then I realized like this hasn't worked for all of the ways for all the C compilers. Some of them output the source locations in different ways, and then like Python's a whole different story. And then I was like, why am I writing code to parse this stuff? Like what I should be doing is I should just be asking the large language model, hey, here's the full diagnostic. Give me back a list of all of the source locations that are in this diagnostic, and then I'll open up those source locations, and then I'll send you the pieces of the source code that you need.
BryceUm, and I mean the another idea is just you you show it the diagnostic and you ask it, hey, tell like tell me what parts of this source code you need to see to help explain to me what the problem is. Um, and you you end up with like this feedback loop here. Um and yeah, I uh I have drunk the Kool-Aid on this. Um yeah.
ConorOne mention of Chat GPT, and then Bryce is off. He's like, ah, we'll talk about this right now. 15 minutes later. 15 minutes later.
BryceItching all day to talk about this with you, with you, Connor.
Tristan BrindleUm that that does that does seem really cool. Yeah, I I haven't seen I haven't seen the tweet.
BryceI I think that um I think that this is gonna be a big a big deal. Like I was I was like a year ago when Git GitHub Copilot first came out, I was like skeptical because like I I am very I am not the target audience for uh uh software engineering tools because like I am very old fashioned in Crumbony, like you use Vim in a terminal. I use VI on a terminal. Um it's like I I don't know what an IDE is, I have no interest in one, I don't want graphic tools.
BryceI barely want like a build system. I'm happy to just like write bash scripts, I want it as simple as possible. Um I'm I'm not like even make is too much. I'm not the target audience for this, but um I I think that this is so I'm so blown away by this that I think that it's um it's compelling enough to make somebody like me want to change the way that I um develop software. Um and that to me makes it like if it's if it's that compelling to me, then it's gotta be a really big deal for all the people who are less stuck in their ways than me.
Tristan BrindleYeah, yeah. And genuinely, like error messages in C ⁇ are uh are a huge are a huge problem. And they're you know a lot of people who use C ⁇ daily or use C ⁇ occasionally, I should say, you know, they're not experts.
BryceAnd the moment they're hit with like a 200-line error message, I mean like imagine if imagine a future where like this is plugged into Godbolt, or like a future where there's like a GitHub action where whenever your CI fails, um the large language model explains to you the like in the GitHub PR, it's like, hey, I see that your you know this build failed, here's why the build failed, or like better yet, like hey, I see that this build failed. Like, here's here's why the build failed, and here's my suggestion, here's my patch proposing a fix for it.
BryceAnd then the CI can run on the patch, and then like it can just fix it automatically.
Tristan BrindleI'd say I'm sold. I'm in now.
ConorYeah, there's there's so much stuff that like I have a website that is written in ClojureScript that when you run it locally will like generate and come the compile down to JavaScript. But like that's I shouldn't be pushing the compiled JavaScript. Like I should have a little GitHub action that deploys using GitHub pages that does that for me. But like ClojuScript is not popular enough that like I can easily go read something of like how to automatically do this via GitHub actions. Uh if I could just ask ChatGPT, just like, yeah, I just want a script that like when I push my ClojuScript changes, you will go and download and and uh I'm pretty sure we're like maybe it doesn't do that right now, but there's no generation of like build system of like build systems was another is another low-hanging fruit that I've been thinking maybe may be a big deal too.
BryceOh, and and Emory Emery's got another really cool project that I just started checking out where it's called Commentator and it automatically comments your code for it for you. It's it's it's so clever. It's so clever. He's a very clever man, I gotta say.
ConorYeah, we'll link we'll link a couple of emy burger's uh emory burger's talks, but let's get back because we I think we've only got what 15 minutes left before Bryce has to go.
BryceYeah, before I turn into a pumpkin.
ConorWe're gonna share a screen and we're gonna share the tweets. So, I mean, we never uh we never Oh yeah, we got completely sidetracked. This got mentioned two episodes ago now, in the first time the first episode that we had Tristan on because we're slicing and dicing this up. And I got two I I brought this tweet up, but then we never actually uh we never actually read it. But we'll maybe we'll come back to and so this tweet, the tweet will link it in the show notes, says given a sequence of n elements, should an exclusive scan yield n elements or n plus one?
ConorAnd uh I actually let's just we'll we can read the tweet. I said it should be n plus one because that's what a pre-scan is. Anyways, the point being here, we were talking about scans. A pre-scan is definitely n plus one. Scan is n. And actually, yeah, if you want to hear about post-scan, which goes from n to n minus one, go listen to uh a raycast episode, uh, the most recent one, I think, where in J they have a primitive called fold, which has six different flavors, three of which are actually scans.
ConorThey call it like a multiple forwards uh fold. And that one does not take an initial value as an argument, and also does not make the first uh element of the output sequence of your scan result, it's not equal to the first value of your input sequence. It just adds the first two values, and that therefore you end up with one element less than your initial sequence.
ConorDoes that make sense?
Tristan BrindleYeah, am I right in thinking that C standard inclusive scan does the same thing if you don't provide an initial value?
ConorNo, and so actually let's go look at this. Uh the answer, I believe, is no. Stood inclusive scan.
BryceI take I take no responsibility for whatever broken thing.
ConorBut what's interesting is that this literally came up uh the other day in uh uh Jake Hemstad's uh fellow NVIDIA. We have our CCCL meetings on Mondays, and I said that inclusive scan doesn't take an initial value, which I was wrong about. So exclusive scan is our pre-scan, but it's actually a broken pre-scan because we've talked about this on the podcast before. It is a pre-scan that only gives you back n elements when it should give you back n plus one, because it just decides to not give you back the last one, arguably the most important value in the output sequence, um, which at one point we've also talked about this.
ConorBryce used to disagree, now he agrees. And I thought inclusive scan was uh the parallel equivalent of partial sum. But if you look at the first two overloads here, they take uh input iterators, first and last, and then an output iterator. But if you keep going down, at some point, there's a t in it! Look at this! So I actually so what is this? This is number five, and there's also an a t init on uh 4.5.
ConorSo let's look at what five does. Where does it describe these? Does it describe them? It doesn't even describe them by number. So let's see when it let's actually just Google or let's just search on the page. It computes the inclusive pre si prefix sum operation using the binary op or std plus for overloads that uh use the default, using init as the initial value if provided. And writes the result to the range beginning at d first inclusive, which means that the ith input element is included in the ith sum.
ConorSo because they don't mention anything about uh differing number of output elements, my guess is that init is just automatically added to the first element. So it's like partial sum, whereas if you're doing a partial plus scan, partial plus sum on one, one, one, one, one, you end up with one, two, three, four, five. But in this, if you're using inclusive scan and you specify init to be ten, then you're gonna end up with 11, 12, 13, 14, 15.
ConorI think, but I could be wrong about this. Um, I think it's incredibly confusing that is is there another algorithm in C that has a overload that specifies basically an optional initial value? I can't think of a single one.
BryceI mean Yeah, I think that's this is the only one, and that's the reason why that's the reason why it's last here, but it's for exclusive scan, it's before the binary operation, which is uh like in the pr in the parameter list order. That is of course fun. And and at one point it was not that way, it was it was reversed, but we we like to have um to have them uh appear in in order. In in like like uh uh uh as if as if it was defaulted if it's not uh provided.
ConorOh look at that. I've been exposed. I went to Gobolt and it was uh it's at Rust by default, not C. Um let's I'm actually curious.
Tristan BrindleSo I I have just tried this out um with with inclusive scan, and I can tell you that if you don't provide the initial value, uh you get n elements out.
ConorAnd what if you provide the initial value, what happens? It just adds it to the photos. Okay, yeah. So it is I was gonna say we shouldn't uh we shouldn't be misinforming our yeah, that is um No, no, that was that was me, that was my mistake.
Tristan BrindleApologies.
ConorI was uh Oh no, no, but I was saying I was saying that about like I just said I think that's the way it works, but uh I had no eye clue. So I was I was saying that like potentially I just misinformed people by guessing at what I thought it did when I realized I could go one of us could go code this in probably less than 30 seconds. So yes, I think that answers answers the question, which then I mean that really is kind of upsetting. Cause because like yeah, like std reduce technically you don't need to sp specify an initial value, but that's just because well, I guess maybe that is kind of similar.
ConorBut I so std reduce, if you don't specify initial value, it's set to zero, which I guess is kind of the same behavior here. I don't know though. I don't like it. Um, anyways, that was the I want to get back to flux. Um that was the tweet that uh initially set this up, and we've answered it now a full two episodes later for those that were like, they were gonna talk about a tweet. And we got 10, 10, or 15 minutes left. And this is the other tweet. I actually have this linked. Let's bring up that GitHub repo. So there's a GitHub repo I I've mentioned a couple times called Top 10, which currently only has eight problems, but they are eight of my favorite problems that I've ever come across.
ConorAnd I've talked about them in talks, in these ADSP uh episodes. And you can see down here at the bottom, three consecutive odds. I've linked to uh your sort of Twitter thread, Tristan, on your various solutions using Flux. Oh, where'd it go? Which one is it? There it is. Because I just think it's fantastic. One, it highlights how awesome Flux is. So I'm not sure we said we'll never do this where we show code and then the uh the listener doesn't get to see. But uh because I think this is a great way of highlighting like one, how awesome flux is, but just two, like my sort of passion for algorithmic thinking because it it highlights sort of all the different ways.
ConorSo I'm not sure if we want to spend the whole 10 minutes pop bopping through these, or you only want to explain a couple of these. Also, two, three consecutive odds. If you happen to also this being your first episode, it's given a sequence of integers, return true if there's at least three consecutive odd numbers in a row, otherwise false. Yeah, I'm not sure what how you want to do this, Tristan, or if you want to walk people at a high level through the flavors or only look at a couple of them, because it's uh this is like i idyllic code in my in my mind.
Tristan BrindleOh well, thank you very much. Um yeah, so this was uh I so every Friday I get a new episode of ADSP. Uh you know, my phone tells me there's a new episode out, and then um I I go and I I take a walk and I listen to the podcast. And this one, this particular episode, uh was it the first one where you were talking to Zach? Um and uh and I just thought this was a really, really interesting problem. And I went home and I was like, how would I do this? You know, I've got my own library for doing this, how would I do it uh in Flux?
Tristan BrindleAnd so I've got uh a few tweets that we will link to, I guess, in the show notes. And uh so the first the first one is just um it's not using any sort of library, it's just using uh you know a for loop and some if statements, kind of naive way of doing it without any library trickery, and that's kind of okay. Yeah, uh I'll say in the tweet, like I'm sure this will this would be some people's preference. And uh I'm sure Connie, you must you get comments on all your YouTube videos going like, why don't you just do it in the C way with a for loop?
Tristan BrindleAnd this is how you would do it uh that way, but you know, it didn't, you know, I like doing this, this uh I like using algorithms and things. Um so I went on and I did it uh a couple other ways. I use this um this for each while algorithm that we were talking about. Uh it doesn't make it doesn't do an awful lot in this particular example. Um it it I would say it doesn't actually improve the readability at all uh compared to the the imperative code that we were using before.
Tristan BrindleUm in some cases uh the for each while might be oper as we were talking about with internal iteration, it might be able to do things more efficiently than a plain old full loop. But in this particular case, it doesn't make any difference. Uh and the the generated code is the same uh either way.
ConorInteresting. So this the lambda that your for each while takes, actually, it it it does have a return value.
BryceYeah. Which is different than I may have to steal this idea. This is very clever.
ConorBe my guess. Be my guess. It basically gives you the what well, that's what the comment says exactly, but it uh it gives you the ability to short circuit.
Tristan BrindleUm exactly, yeah, that's precisely the the point of it. Yeah.
ConorVery interesting. Okay, well, we'll we'll link all this stuff so that folks that want to take a look um can. We'll move on to the next. This is it's hard, it's hard for me. Which one is more beautiful? This solution or the next one? I I don't know. It's uh but this code is oh it's just uh makes me so happy.
Tristan BrindleMakes me so happy. So um the next one, the next one uh uh that was actually my when I was listening to the episode. This was uh and I was walking along and I was like, how do I do it in my head? Uh And this was uh the way I thought of doing it. So you uh take your your input vector of integers and then you map it to uh a sequence of bools, uh depending on which whether each element is true or false, and then you step through that boolean sequence three elements at a time, and you look at the three bools and you say, Are these all true?
Tristan BrindleAnd uh if they are, then you you uh terminate and you say yes they are. Otherwise you uh you keep going until you either either they're all true or you reach the end of the array, in which case they're not. Um so if you look at the tweet, you have to do this in a slightly strange way. You have to provide this uh ID predicate which just um like passes through the identity function that you you had. Yeah. Um but uh yeah, I I this was my my sort of instinctive instinctives, maybe the my intuitive algorithm intuition, my intuitive way that I thought to do this.
Tristan BrindleUh but actually um as a result of the the episode, uh you um were discussing this this scan duction, which um I'm sorry, that's that's the term.
ConorI think it is. I've I've uh I've told my boss and a couple people, I said, you know, Zach told me definitely not to use it, but it's just uh and and you can think of it as like you know, a map reduce would be a map duction, a scan duction. There's like a bunch of a bunch of like insert duction. It's it's I don't know. I think Zach is on to something. Uh and before we move on to the scan ductions.
BryceI want a divorce.
ConorWhy? First of all, what we're not married, you can't divorce me. Um I just want to highlight a couple things. Uh, you know, like I said, we'll leave links, but first of all, maybe my favorite thing about this is that uh instead of adjacent transform, which is what we're getting in C23, Flux calls this adjacent map, which is in my mind the actual true name of this algorithm, which is actually, I'm not sure if you are aware of this, but it's uh that is the name of the algorithm in Haskell. Uh it's in a library, but adjacent map is like is what it should be called, but we have to call it in C adjacent transform because we are the only language on the planet that I know of at least that calls their maps transforms.
ConorVery unfortunate.
Tristan BrindleMap is a data structure, so we have to call it transform. But uh flux, um, I call I call the transform operation map because you say that uh is also the correct name for what we have to call transform.
ConorBut also you have these built-in predicates and sort of convenience functions. So you mentioned uh ID, which is the uh identity function, but you also have like odd, which is not like a necessary thing, but it's just like it's a very nice convenience for when you need to do things like that, which is uh which is awesome.
Tristan BrindleYeah. So there are there are only about half a dozen of these little predicates, but it's mostly just because I was writing tests and I just kept on using these little predicates, like is positive, is even, is odd, is zero. And I was just like, if I find these useful, someone else is going to find them useful. So uh as I say, there are, I think there are only six or eight or something, not very many, but they're they're there. And you can they're actually there's nothing really flux specific about it. You can use them with the standard library algorithms and everything.
ConorIt's very, very nice small touch, like the language like closure and a lot of Lisps actually, they have like you know, is positive or POS question mark, like just these nice small things that like how hard is it to write, you know, greater than zero? It's not hard at all, but like it's also nicer to just read like is pause and like not have to wrap something in a lambda, which especially in C can be unnecessarily verbose, as we all know. But uh anyways, we'll uh we'll move on to the scanduction solution, uh, which is also very nice.
Tristan BrindleYes. So the the solution with the with the adjacent map uh is fine, it you know, it works, it gives the right answer, it's it's pretty good. It has the downside that for kind of implementation reasons, it's calling the uh is odd transform multiple times. So the the way the adjacent map works is that it sort of has like internally, well, three cursors in flux, but you could think of it as three iterators. Um and it's every time you dereference them, it has to call the predicate on the underlying thing.
Tristan BrindleUm so it's fine, but it it calls the predicate more often than it really needs to. Uh so the scan uh avoids that. And so um so what we do is we we uh perform this scan, we we begin at the beginning and we return the number of consecutive odd elements we've seen so far. So um you know, let's say you have one, three, five, then your scan is going to be one and then two and then three, because that's the number of odd elements you've seen so far.
Tristan BrindleAnd so we do this scan, we transform our range of ints into, well, another range of ints, which is how many odd elements we've seen, the count of odd elements so far. And if we see an even element, we reset the count to zero. And then we go through and we have this uh in flux it's called any, in the standard library, it's called any of, and we look to see uh okay, are any of the values in this scan uh greater than or equal to three?
Tristan BrindleAnd uh again, if you look at uh if you look at the tweet, and this is maybe maybe not great uh audio only, but uh yeah, so we're using another one of these uh flux predicates that's uh greater than greater than or equal uh to three.
ConorI wonder, so you have a map. Maybe I'll go and is flux flux isn't available on gobbled, is it?
BryceThis is this is pretty clever.
Tristan BrindleUh it it is. So if you go to um uh so it's uh github.com slash tcbrindle slash flux. That's the there's uh I I should say there is almost no documentation for flux yet. Like this is literally.
BryceThat's cool because there's a large language model that can get the documentation for you.
Tristan BrindleYeah. Um I might have to look at that. It might save me a lot of time. Um, but uh I've got a little bit of introductory info. I one of the my goals over the next um you know, few weeks when I've got time is to write like documentation about how Flux works internally and stuff. Um but uh I do have a single header that has, you know, uh uh because um it's a header only like heavily used a lot of templates. Um so there's a single header uh file that you can just uh hash include in Godbolt because um it's amazing and go and download it.
Tristan BrindleSo there is, I believe in the readme, there is a link to uh Godbolt, and you can click that and it will um take you to somewhere where you can play it. So it's not one of the built-in in the driver's library's drop-down in compiler explorer. Sorry. Uh but uh but you can just do the hash include um the hash include thing, which is pretty cool.
ConorThe reason I asked is because I kind of want to go, there's an alter slightly alternate version of this where you map, you do the same initial map that you did in the previous solution, map odd to turn it into a sequence of ones and zeros. And then you can either simplify your lambda here to be if you call the first argument of your lambda a and the second b, it can be uh is it a plus b in parentheses times b. So it's like the times b will reset your odd count to zero if it's zero.
ConorOtherwise, it'll do a plus b on your a. So it'll either be your current odd count plus one in parentheses times one, or it'll be your current odd count plus zero times zero, which will reset it. And that pattern actually, your plus applied first, and then or your plus applied first and then your multiplies, you can spell in array languages with a dyadic fork, which is like a combinatory logic thing. So and I happen to have a small library called Blackbird.
ConorSo like if we combined flux and blackbird, you could get probably actually one line shorter, uh, because right now you have three lines for your scan. You'd have one line for your map and then one line for your scan, because you wouldn't have to spell it a lambda, you could just pass plus and times and identity to your phi one combinator. Anyways, losing the listener, but uh yeah, both of these solutions are so beautiful, and um, you know, people have a lot of a lot of nice things and not nice things to say about C, but like this is like uh, you know, we're close to the utopic world that uh one would want to live in if you're me coding in C.
ConorUh hopefully we didn't lose all the listeners. Uh we gotta stop doing this though, where we I mean, says the person who shared his screen to walk through some code.
Tristan BrindleIt's hard to it's hard to talk through tweets when uh I'm not sure whether people can see them.
BryceWe do have to wrap up because my mom uh is texting me that it's time for yoga.
ConorAll right. Well, so yeah, we got two less than two minutes left. Uh I know Tristan, so first of all, thanks for coming on. This has been awesome. We're gonna have you back to talk about FindIf versus accumulate and uh all the Chat GPT things. I'll guess I'll stop sharing my screen while uh we do this. Uh before we go, though, I know that you I think you last time we chatted at CPP North, I think was probably the last time, like in person, uh not over Twitter. You were freelancing and doing training and stuff. Is that is is that still what you're because anyways, if this is an opportunity to plug what you're doing, slash if you're gonna be at any conferences, giving talks, now's the time to do all that sort of thing.
Tristan BrindleOkay, so uh I am going to be this year at uh C on C. Um also just heard a couple of days ago my talk uh was accepted for CPP North as well. So I'll be going uh back to Toronto. So that's awesome because I had a really good time there last year. Um so I'm actually going to be uh talking about um flux and uh iteration and sort of uh the basics of iteration, how we can do these more safely. Um at both conferences. Uh I the you know the the windows overlapped and I submitted the same talk for both conferences and they they happened to both accept it.
Tristan BrindleSo um I guess depending on whether it's easier to go to Europe or easier to go to North America, uh you can, if you wish, hear me uh chatting about that. Um so yeah, uh really looking forward to that. Uh it's uh it's gonna be great. And I'll get to well, I'll get to see you Connor. I assume you're going to CPP North.
ConorYeah, I'll be both. I will I'll be both uh CPP North and C on C. So yeah, we'll we'll see each other a couple times.
BryceThere's another idea. GPT plugin for uh for PowerPoint. Microsoft, get on that. I want that.
ConorI mean they they they're they basically bought bought the whole company uh at this point.
Tristan BrindleThat would that would genuinely be a fun lightning talk, right? So you just get Chat GPT to like generate you a script and just stand there for five minutes and read out.
BryceYeah, yeah, and they do that.
ConorHalf of the stuff that it generates, like when it's like give us a promo for uh this podcast, it's like better than what I could have written. CBT Cast did that. Um but you covered the talks. Um are you available for training in in case folks want that?
Tristan BrindleOr absolutely, absolutely, yep. So um uh if you if you want training on C, I'm I'm most definitely available. Uh get in contact with me. Um we can, I guess, put my email somewhere. Uh if you're interested in that, otherwise uh I'm on Twitter if that's still going by the time this episode ends. Uh so it's at Tristan Brundle at Twitter. I haven't got round to setting up Mastodon yet, um, but I will do that at some point. Otherwise, um yeah.
ConorAwesome. Yeah, we'll we'll throw all the links in each of these episodes, even though the plugs happen in this one uh in the show notes, and yeah, folks can find you on Twitter. It is concerning that there has been uh the what is it, Shibu, Inu, Dogecoin? Yes, uh that's like that does seem like the b like I'm not sure if that's the beginning of the end, or we're like very close to the end, and the beginning was a long time ago, but uh it like it's been there for a few days now.
BryceI'm still convinced that he's gonna get bored with it at some point.
ConorHe kind of disappeared for a while. And then I I thought that was it, but then he came back guns a blazing.
Tristan BrindleWell, he was he had that poll with like, should I quit as CEO? And everyone's like, Yes. Uh and then he just ignored it.
BryceHe's a large man child. Eventually he'll find some other toy to play to play with.
ConorEverybody can it makes me very happy that apparently he tried to be the uh chairman of the board or something like that of OpenAI at one point because he was a yeah, I don't I don't know what he was. He probably says he's a co-founder when he wasn't and blah blah blah. But like he I think he had some association, and then uh I don't know what's it, Sam Altman and uh Suscover, they were basically like no bye. Yeah. Uh so the guys that uh the people that are behind ChatGBT and all this LLM stuff, it makes me very happy that they very much ahead of the curve recognized that they didn't want anything to do with uh with Mr.
ConorMusk. Yeah. All right, I really got it.
Tristan BrindleUh and we will thank you very much for having me. It's uh it's been awesome. Cheers, guys.
ConorBe sure to check your show notes either in your podcast app or at adspthepodcast.com for links to any of the things that we mentioned in today's episode, as well as a link to a GitHub discussion where you can leave comments, thoughts, or questions about today's episode. Thanks for listening. We hope you enjoyed and have a great day.
In this episode, Conor and Bryce chat with Zach Laine about C++26 Reflection vs CRTP, AI, kids & more. Link to Episode 313 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials ADSP:...
In this episode, Conor and Bryce chat with Zach Laine about the C++26 contracts fiasco. Link to Episode 312 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials ADSP: The Podcast:...
In this episode, Conor and Bryce talk with Zach Laine about his career and the career changes he has made. Link to Episode 311 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials...
In this episode, Conor and Bryce talk about Bryce's next chapter and where he is leaving NVIDIA for. Link to Episode 310 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials ADSP: The...
In this episode, Conor and Ben chat with Jason Turner about default construction in C++. Link to Episode 309 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials ADSP: The Podcast:...