Thank you to everyone who tuned into my live video! Join me for my next live video in the app. This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit weekly.devleader.ca/subscribe
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.
SPEAKER_01All right, folks, I'm just going to get things kicked off here. Get the streams streaming. Get the chat chatting. We'll see what's up. I think the chat's connecting. Good start. It looks like the stream is going. Nice. Okay, cool.
well great success okay we're gonna be doing something a little different today because we haven't done it in a while we're gonna be coding live which means you get to watch me mess up a lot make it look like i have no idea how to program um that's exactly how these things work i've been doing it for over 20 years and as soon as i have to do it in front of a live audience it's like i've never done it
SPEAKER_01before hey devon thanks for joining happy monday it is um We're going to be looking at some C-sharp code. I'm going to be walking through this package that I put together called Needler, not because I am trying to pitch it to people. It's an opinionated framework for scanning for types, and that means that we can build plug-in systems really nicely or easily. In my opinion, it's opinionated based on my opinion.
SPEAKER_01So the goal is not for me to say, hey, like you absolutely need to use this and this is the best way. And I hope it never comes across that way. I like don't want stuff I talk about to be like, hey, like my way is the only way. In fact, I want to fully recognize that some people will hate this. Yeah. That's that's totally cool. But I want to sort of do some comparing and contrasting and we can see like, well,
SPEAKER_01you can be the judge. I want to walk through like building some really simple stuff. And we can see how dependency injection looks in C Sharp traditionally when you're adding stuff onto the collection for your service collection. Then we go to make a provider from that, and then we can resolve things. And I just want to show you, I don't do it that way. I use all the same pieces, but it looks a little bit different when I do it. Hey, a random programmer, thanks for joining. Good to see you back.
SPEAKER_01And yeah, I mean, this is still like an AMA format. I always want my live streams to be AMA. So if I'm coding stuff and you're like, hey, I got a question that has literally nothing to do with what's on the screen, that's totally cool. I will try to make time to talk about it. If you're seeing what I'm coding and you're like, I don't know what's going on or why we're doing this, just feel free to ask. But I'll probably jump into it. I guess... I wanted to not miss this like I did last time.
SPEAKER_01I thought it was really fun. I don't know. I thought it was fun when we got to ask AI to build something for us. So I figured I'm going to ask AI to build something while I do this live stream. And maybe we'll check on it at the end. I don't think it's going to work, to be honest. But we'll check on it at the end. I think it's way too complicated to one-shot it. And we'll see. But give me one sec here. So... It came up with a plan for what I wanted to do.
SPEAKER_01So let's jump over to this. By the way, if I ever have stuff that's like being obscured by my stupid face or the chat, just let me know. I will try to address it, but I'm trying to watch the chat as well. You can't see my screen setup, but for me to see what's on the screen and being obscured, I have to look like way up here on this part. And that's way out of the way for me, but the chat's right in my face. So if you're saying something like, we can't see,
then I will probably notice it much quicker.
SPEAKER_01But boom, let me zoom in a little bit. I have this PRD file here. And what I did was I was talking to ChatGPT before this stream. And I had this idea that I will share with you. If this doesn't work, this is something that I will go build and I'll make YouTube videos on it and stuff. But what I wanted to do was, well, let me just, let me open this. Okay. We have, let me get a little bit more real estate here.
SPEAKER_01There we go. Sound effects and all. Okay, we are going to build a RAG system using Postgres. It's going to, hopefully, probably not, but it's supposed to. Maybe I'll say it that way. It's going to look through the lore for the game that I've been building for over 20 years. that will never be finished. It's going to go through the lore markdown files. And what I wanted to do is vectorize them. And then I want that to be able to support semantic search for
us using Postgres.
SPEAKER_01And then we're going to have semantic kernel on top of that. And that way we're going to have an interface that we can work with where we can ask questions about the lore of this game world. And it should be able to tell us with I'm hoping some degree of accuracy, but I think this is going to be a pretty complicated thing for this thing to build. So I asked chat GBT to make a PRD for us. and I gave it some requirements and stuff. So overall, some pieces that I want in the system,
high-level architecture.
SPEAKER_01And by the way, I let it drive a lot of this stuff. I kind of just picked some pieces. I don't like using Entity Framework Core. I'm one of those people. I don't know why. I just don't like it. So we're going to use Dapr. But I was like, hey, I don't know if Dapr supports all the vector types and stuff with Postgres. I've never tried it. It's going to be the first attempt at this for me. So if it doesn't work, I just kind of told it in the instructions, like, if you think it works and you're confident,
SPEAKER_01use it. If not, skip Dapper. But I don't want to use Entity Framework Core. I told it to use Needler. I have a bad feeling that it will not get the Needler usage correct. But the nice thing is that you can still using Needler kind of fall back to just normal dependency injection. So not really a big deal. told it when it's making plugins to try having single responsibility because in the first attempt it like made like in chat gpt it was like here's
one plugin we're gonna set up logging we're gonna set up the database we're gonna set like nope just
SPEAKER_01make different plugins for these things please so gave it a little bit of instruction there um it added in like health checks i didn't talk about that i didn't talk about schema migration at all It came up with this schema. Again, do I care? Not really. It's probably going to change. That's fine. But I think that there's just a lot of stuff in here, and I'm not really hopeful that it's going to get it right, but I'm curious to see how well it does.
SPEAKER_01Again, this is all from chat GPT, just kind of coming up with some some code. One of the things that I told it to re-examine was when we're asking for lore, this is like the semantic kernel side of things. Nope, you're getting blocked right from my chat. There we go. It was like you send in a string question and then it was giving a string back, but it was structuring like a complex string to return.
SPEAKER_01So I was like, no, just we're in C-sharp. Return an object for us. So a couple of improvements there. There's a lot of sections here, but this is the part that I think will hopefully help. I told it to... go break down the work streams now that i'm reading this i feel like the work streams are not very detailed but we'll see uh maybe it can use the information from above to make sense of uh work stream a looks like it's far too light but
we'll see uh go a little further but it kind of builds things out across these work streams and i told it to pay attention to um what can be done in parallel we're
SPEAKER_01going to use clawed flow for this part And then there is a bit of a checklist. So any, I don't know, chat's pretty quiet. Any thoughts? Hey, Andreas, good to see you. I told it to put some exit criteria because I have a bad feeling it's going to do each of these and be like, great success. And then it won't even compile, but it'll keep going. So we'll see. Overall,
think it did a good job putting the pieces together but um just i don't think it's gonna work but that's fine we'll uh we'll see cool let's see um claude flow uh we
SPEAKER_01are going to do a um hive mind is it spawn i think And then I'm going to do the thing where I talk into my mic and it types for me because I love this. Use the prd.md file to create the software defined by the spec. There we go. Pretty simple prompt. I was hoping that I could do basically nothing in the prompt
and then have it all
SPEAKER_01in the markdown file. Ben's asking, which coding AI are you using? For this, I am using Claude Flow, which is an agent layer on top of Claude Code. Yes, Claude Code has subagents and you can run parallel tasks and stuff like that. Claude Flow at this point is just like... sort of organizing it a little bit uh nicer it's supposed to have shared memory i still don't think the shared memory is working but that's okay
um so we'll use claude and then i need to do is it auto spawn i think we'll see but i think
SPEAKER_01That's gonna kick us off. Okay. We'll let that go run in the background and we'll check in on it later. Now let's go build some stuff. So, um, No, Devin. Have you seen the new AI features in CodeRush? They included a hockey for voice prompting. No, I've not used CodeRush at all, to be honest. That sounds interesting. Windows itself has, like, whatever. I don't even know what the key is. There's a key combo for it. But honestly, I was a little skeptical about two things.
SPEAKER_01One was using... Let me go back to... So I can... so i can talk um because i talk with my hands so um there's a software that i'm using called whisper and i was like ah this is a gimmick like there's already you know speech to text why would i use this um i tried it out it's um oh sorry jonathan uh on our mondays here only now uh no um
SPEAKER_00Sorry, they're on the podcast YouTube channel.
SPEAKER_01I knew this was going to be a discovery problem for a long time. Give me one sec, folks. I just want to put the link into the chat. So that is here. That's on Substack. If you're watching it and you want to know where the YouTube link is, it should be on LinkedIn too. just going to linkedin yeah it says it's going to linkedin cool um but anyway it's the live stream for youtube is on the podcast channel uh what
was i saying oh whisper um it's it's like ai boosted and it does a really good job i am surprised so i ended up getting a license for that and then the other thing i was skeptical
SPEAKER_01about was using a foot pedal But I have noticed that for the key combinations and stuff, I can't be bothered. Like, I won't press them. I don't know why. But when I have my foot pedal, I can just... It's a lot more intuitive. No idea why. I realize it's just a fancy keyboard for my feet. But it gets me to use it. So whatever works for you. I'm not here to sell you foot pedals or whisper, but... That's what's working for me. Okay, so I got Needler here,
and I figured I would ask the... Oh, discovery problem solved.
SPEAKER_01There we go. I'd ask folks that are willing to chime in in the chat. If you have ideas for simple things we can go build, we can do that. Otherwise, I'm just going to walk through an ASP.NET Core example. So I'm just going to start with that, but if folks have different ideas... me know um we will do uh youtube let's do i'll end up deleting this out of here anyway but that's okay um sure so this is gonna be probably
familiar to anyone that
SPEAKER_01has oh i'm not sharing my screen That's probably helpful, right? I just made, I made a new project. You didn't see me do it, but I promise you it's just the sample weather application. So this is pretty, why is my keyboard not zooming in? There we go. Pretty typical for C-sharp developers. If you're not a C-sharp developer and you don't know what's going on, that's totally cool.
SPEAKER_01But we end up having a couple of things going on here. Let me collapse a bunch of this. The idea is that when you're trying to build out systems in ASP.NET Core, we are working with a service collection. Maybe I'll take a step back. We're going to be talking about dependency injection. And when we're building ASP.NET Core apps, we have this web application builder. So this builder is to build web applications.
So just so you can see it without the var out the front, that is a web application builder.
SPEAKER_01This does have its own service collection for us to work with. And when we use the word service, if you're not familiar with this, I don't mean like literally a running service on some machine. I realize this might be confusing for some people. It's when we talk about a service in this context, it's just... like a type that we can work with, an instance of a type that we can play with. So like a logger is a service. You might have, I don't know, a database context,
SPEAKER_01or if you're using Entity Framework, or that could be a service. It's just an instance to something that we can work with, and we call that a service in this case. So when we talk about service collections, service providers, service locator patterns, this kind of stuff, we're just talking about a dependency that we want to use. So hopefully that makes sense. Now, traditionally, when we're working at ASP.NET Core, we do this kind of thing where we take our builder, you can see that Copilot's automatically adding some fun stuff,
SPEAKER_01right? So services, and then see how it has all of these methods. You see how little that scroll bar is? You can add, this is like the pattern that we use. And the other thing to point out, it might not be super obvious, I'm using a, sorry, my resolution on my screen is a little bit ridiculous. So usually for YouTube videos, the text on everything else is a lot bigger. But if you pay close attention to this icon here, it's this cube with a down arrow.
SPEAKER_01This is an extension method. So in general, the pattern is that we add things on so you would say like add oops not that word um add and scoped so there's add scoped there's add singleton add transient and then you can add the things that you want to do these don't exist i'm just going to let copilot kind of make some stuff up um But just so you can see, we could add controllers.
I just want to show you that this kind of thing, if you keep adding stuff, add a repository.
SPEAKER_01I know these things don't exist, but my point is that what ends up happening over time is you keep adding stuff into this entry point. Then what happens is you go, okay, like, so this code balloons out of control over time because you keep adding features into here. I'm obviously exaggerating this, but this truly can grow to like hundreds or thousands of lines. That part's not an exaggeration. Obviously,
it's not going to be the same things over and over, but this can get really big.
SPEAKER_01So what you end up doing is you say, well, that's not what we want. I want to extract this. I'm just going to do a local function for the moment. Add cool add cool services. And then usually what we do is we make an extension method for it. So you see how this up here on line three is add cool services. Then we call the builder. What we actually want it to look like so that it follows all of the cool
SPEAKER_01conventions is that we get add cool services. There we go. So this is the syntax we want. Okay, because then it matches like the add controllers one. So people move out all of these adding of services into their own extension method. So that means we need to do public static class. Thank you, copilot. So we go add in all of this stuff.
SPEAKER_01Okay. and I'm just going to, it doesn't even fit on the screen. So now we have this extension method. This part's wrong, so let me block select. Boop, there we go. Okay, so obviously this isn't gonna compile because I made those things up, but if I scroll back up here, you can see now we have add cool services. It's just one line instead of all of these other lines, right? But,
SPEAKER_01The catch is that this problem doesn't go away. We've just moved the problem because anytime you want to go add new classes, they either belong with the weather stuff and then you go, oh man, okay, well, I'm just, this is going to be terrible example story. Weather logger. And then, oh, there was this, we need a weather cache. So we made a weather cache. I have to go add it here. And then weather tracer. You keep doing this pattern where every time you're introducing
new things to work
SPEAKER_01with, you just keep stacking them on here. And then one day, someone has the bright idea where they say, hey, it's no longer just a weather app. It's also going to be, I don't know, who has a fun idea for what else this app could do aside from weather? And let me rename this ad. add weather services any other ideas it could be a shopping cart it could be a movie search i don't know like you end up adding more stuff
right so you're like well it's not weather that i'm adding here so builders services dot add uh let's do
SPEAKER_01add singleton and shopping cart it's really hard to type with this camera in front of my face shopping cart service and then I need my sharp shopping cart car rental service okay no we're doing that then um so what do we need for a car rental service car rental service. We need a car rental repository.
SPEAKER_01You can, I'm just making this stuff up, right? I don't want to go build all of this right now because, um, AI hype cycle tracker. Oh, we can add that too. Let's, let's add, um, right. So this is what happens, especially if you're building stuff at work and you have, you know, um, your management, cause we, we hate the managers. Um, i'm a manager um you know you have product managers or your engineering managers like no we need to go add these things so we have the ai uh
hype service and then we have the ai hype repository and then we need that controller right we have to go add these things on to actually controllers are a bad example because i am pretty
SPEAKER_01sure with the mvc stuff it will go discover them for you uh yeah there's spoiler alert um but you go add all these things on and then someone's like hey that's too many things so we go repeat the same thing right let me go make a function add ai type services right same thing car rental okay so
SPEAKER_01See, I keep collapsing it down, but I've just moved all of these things. So, like, what's the next feature, right? You keep doing this, or we have to keep building more stuff, and inevitably, we come back and we keep adding more stuff onto here. I hate this. But this is where the opinionated part comes in. I really don't like this because, like... 95 to 99% of what I do is almost always the exact same for
registering services.
SPEAKER_01When I'm building stuff, it almost never has state associated with it. An exception to that is like a reference to another service, which is like a cache or something like that. But I'm usually not keeping like a list in memory that's like an instance variable or something like that. Almost never things like that. So I build a lot of things that are singleton lifetime scoped because you don't need to go make another one. It doesn't need to be transient.
SPEAKER_01When you ask for it, just get the one that you built the one time. because we don't need to go allocate more. It doesn't make sense. There's no state. Hello and good night to you, Garcia. So I was like, not like out of nowhere, I got fed up with this. I just haven't been building software like this because I have not done this kind of thing for years. I just don't like doing it. And that's where Needler comes into play.
So I'm going to maybe delete some of these and show you how we can transform the
SPEAKER_01weather forecast one into a Needler approach, okay? So... is everyone following so far or does anyone have questions yet about like adding on the dependencies to the container and how all that works? You might be saying like, why do we, why are you doing that? Cause I didn't really explain that, but I just want to pause for a moment for anyone that's kind of like, I don't know what you're doing or why. I also need to acknowledge not everyone here is a C sharp developer. So this might be the very first time you're seeing this kind of thing.
SPEAKER_01So chat is a little bit delayed. but like definitely pausing for a moment for anyone to ask questions because it's a good time before we get into changing some other stuff around there are no dumb questions right if you don't know what's going on that's literally why i'm doing this just to show you how to navigate this kind of stuff
SPEAKER_00Okay, I don't see anything coming in yet.
SPEAKER_01You might still be typing your question. If so, keep typing because I will respond and answer. But I'm going to start deleting some of this stuff because we just don't need it right now. Okay. So we got our builder and we have an endpoint, right? This, we get pretty lucky here because we can go add this endpoint onto the app. But something else that I like to do,
SPEAKER_01by the way, is I like my entry points being extremely lightweight. What I mean by that is that, I mean, minimal APIs are kind of a bad example of that because they're very convenient. The fact that we can write a web application that looks just like this in one file is very convenient. But most web apps that you make grow beyond this very quickly. very very quickly so what you might end up doing is something like this weather
extensions that's not co-pilot get out of here um and then we would do something
SPEAKER_01like um public static void what do i want to call it add Add weather routes, and this is, that's better. Thanks, Copilot. So what I'm doing is I'm just moving this stuff over so that we don't need this record outside here. I'm gonna start building this closer to like how I would go build this personally. So we're pulling that out.
SPEAKER_01I'm gonna use this actual method. I'm gonna cut it right off of here. Okay, I'm gonna put it down here. get rid of the extra dot because I missed that. And summaries, we don't have access to that. So let's pull the summaries in here. We can just put this inside, okay? But we're going to change this up a little bit more too. So now we can, I'm just collapsing this so you can see more of my screen because it's like this
SPEAKER_01big, but that's okay. So now we would say, wait a second, we don't have app dot add weather routes boom right like this is a really lightweight little entry point very nice right but if you recall what i was saying that if we continue to grow this thing over time we're either adding in like we're registering a lot of routes here um this part is not really going away with needler
by the way we just
SPEAKER_01kind of move it um but when we go to talk about these other services, which I'll show you in just a moment, that's where we start to tack on more stuff that continues to grow the entry point, which we will avoid. Jonathan says, have you ever made a podcast on project folder structures? Also, do you mind tagging LinkedIn posts in the future? Um, have you ever made a podcast on project folder structures? I have not. Um,
SPEAKER_01I find that I probably have... I guess I would be curious what people want to know about that, Jonathan. So if you have thoughts on that, you don't have to necessarily answer in the chat. You can send me a message on the side, anything you want. Or you can answer in the chat if you'd like. But I'd be curious what people want to know about that. The reason that I haven't really shared that a lot, I guess, a little bit with some plugin stuff, it's because... I find a lot of people don't just go build plug-in architectures,
SPEAKER_01and that's all that I build, so maybe it is a good opportunity for me to share more of that. But I find with structures for projects, it's kind of just some rough guidelines, and I wouldn't... Devin said exactly kind of what's on my mind, right? Project folder structures is the stuff of holy wars. Because I know that someone's going to be very upset just to, I just want to,
SPEAKER_01and Jonathan, I'm not dismissing your idea because if you'd like to know how I do it, I'm happy to share. But just to show you very briefly, this little folder, I know the text is small. This one that says tests. Okay. I don't normally do this in my own stuff. But that's because this isn't really a plugin-based architecture. This is just like a library to use. Usually, you see how this one says ASP.NET tests, and this project down here is ASP.NET? Almost always they live side by side for me because I want my
plugin to live with
SPEAKER_01my tests for that plugin. So... I had to, I had them all at the same level side by side. And I was like, ah, this one's not a plugin architecture. I'm going to, I'm going to break my little rule. And I made a test folder. Does it have to be that way? Like, I don't, I don't know. Yeah. Project folders are just worse than tabs and spaces. But yeah, honestly, if you're interested in that, or there's certain things you'd want to know, just let me know. Do, and then your other question,
do you mind tagging you on LinkedIn posts in the future?
SPEAKER_01No, like tag me in anything you want. I appreciate it. I'm fully transparent. I post a lot more than I actively engage on platforms. And it goes in waves. Like if I'm really busy with work, I build brand ghosts. I build brand ghosts so that it keeps my social media going. But it does mean that if I'm super busy with work, that my actual human engagement to go respond to comments and
stuff drops.
SPEAKER_01I was on call for almost a month straight up until last week. So no one forced me to do it or anything like that, but I had done it. And that means that my energy levels are a lot lower. So for me to go actively, like go hop onto social media, that's not what's going to recharge me. I absolutely encourage you and anyone else, if there's stuff that you want me to check out on social, please tag me. Please send me the message.
SPEAKER_01Anything you want, I'm happy to look. It's just that because my energy levels kind of come in waves, it might be something that I put off for a little bit. Not because I'm not interested in hearing from you. Quite the opposite. just energy levels. Hey, Danny, Danny, like two months ago, you joined a live stream. And I said, I owe you a message. I'm coming to speak in Dallas in September. And I know what I'm going to talk about. It's going to be plug in architectures again. Save me a spot. I'm coming.
SPEAKER_01I got to do it. We're going to talk about we're going to talk about this at your Dallas conference. I'm coming. If you will still let me please you can't say no in front of this group of people because they would they would be so mad especially devon devon's gonna come after you um just kidding but i'm gonna get back to this jonathan i hope that answers your questions um but yeah if you want more details on project structures and stuff just just ask i will try
SPEAKER_01my best to explain i can make a video and all that Okay, so, so far, we're not really demonstrating why this is such a big problem. And to be honest, on this live stream, we probably won't grow a project to that size, but I wanna start pulling this apart a little bit, okay? So this is all the same stuff that we had, but what happens over time, especially if you wanna have like testability, let's pretend these things are more complex, okay? I realized for a demo on a sample project,
like if i don't have this disclaimer someone's like you're just adding more complexity i know but the reality is the stuff you're probably building in real life is a little bit more complex than the sample weather application what danny you got you gotta have a spot for me that's actually my bad though because i put it off for so long um i will send you a message after this i will do it someone will
SPEAKER_01hold me accountable um Thanks, Devin, for fighting the good fight. Okay, so let's split this up into what might look like some reasonable pieces. First of all, this thing is kind of hard to test. You can do it, obviously, because this is a really simple application, but if you have more complex logic, generally what I would say is that we don't want to have this kind of thing to test this. I don't want to have to call the web API. I would like to just go check if there's a forecast...
SPEAKER_01provider or forecast service, right? So let's go make that. All right, so I'm gonna have a forecast service and it's going to generate forecast for us. And I realized that I gotta move this thing out. Let's do that.
SPEAKER_00Okay, so now we can do weather forecast.
SPEAKER_01Okay. So we're going to generate a forecast. There's the thing. Oh, but we don't have our summaries. What are we ever going to do? So we're going to take the summaries out of here. Okay. All that I'm doing is refactoring this code a little bit. Okay. Should be functionally identical. But now we got something going on here. If we wanted to, what's going on? What's wrong with this? Oh, sure. There's an array. So
SPEAKER_01I've just I can't spell I've just moved this stuff out. Okay, but it's same. It's literally the same code just moved. So now what we would do, because if we wanted to, we could write tests against this without having to spin up a web server, which is pretty cool. You would do something like this. Okay, and then you would say, well, we could just literally return it. Okay, so now our API is very, very lightweight. OK, so for example, if you didn't write tests against your API,
SPEAKER_01if you didn't, the reality is like you could still write tests against this thing and you'd be doing pretty good. But you know what sucks? We have our summaries kind of hard coded in here. Also, I forgot this won't work. Sorry, I'm jumping around a little bit. Builder, this is what we have to do. Remember, we have to add all of our dependencies up at the top. We have to do it. okay but this is the part i hate right now we have this weird summaries array in there nope we don't want that so we're gonna make another
another type we're gonna have our summaries repository okay and there we go that's a nice little fake
SPEAKER_01repository and i'm not gonna use primary constructors, because I know someone will get upset. That's fine. We're going to do a public. Thanks, copilot. Not quite. Not quite what we want. Give me a field. Okay, so we're going to pass in our summaries repository. There we go. So we're going to ask our summaries repository to get the summaries out.
SPEAKER_01This is a terrible example, by the way, but it's simple enough that I can walk through these things. I'm just showing you that we're breaking down the API itself into smaller parts because even though these are very small, very simple parts in your application, these will probably be bigger parts made of many other parts that are composed of each other. So hopefully I can demonstrate how this gets a little bit gross and you can kind of extrapolate the impact of that.
SPEAKER_01OK, but we need to register one more service now. OK. And the whole point is that if we keep doing this with more types, we have to keep doing this. Oh, but we already have an extension method, right? So let's do that. Let's do.
SPEAKER_00Add. services okay so now we can just do all right so the whole idea being that like i'm trying to keep this entry point as thin as possible if you're wondering why i care about doing this so much i will try to explain in a very simple way when i'm adding
SPEAKER_01new functionality into an application I want to worry about the spot that I'm adding the functionality to. So just to give you an example, if I'm adding new weather functionality, I want to add the new code and make sure that I have to just test the new code, ideally. It's very isolated from everything else. As soon as I have to come back to a common spot to go touch that code, there is now a risk introduced.
SPEAKER_01I'm touching shared code. Even in this case, it's very simple. It's like the entry point with a few lines of code. The point is that I still have to come back to a common spot to touch it. I want to... This is, again, my opinion. I want to avoid doing that as much as possible. If I'm adding new weather functionality, I just want to go touch the weather stuff. Okay? So... We can keep doing this pattern.
SPEAKER_01Just to do one more quick example here, let's pretend we wanted to have a cache inside of our repository. This is obviously already doing a lot of fake stuff, but let's pretend. Internal, sealed, not static, sealed. By the way, everyone's favorite caching library is Fusion Cache. That's right. We love Fusion Cache. Jody Danetti writes the best documentation for a package that
I've ever read.
SPEAKER_01I hate reading documentation and I enjoy reading the Fusion Cache docs. So this cache isn't going to actually do anything. We're just pretending for now. But we're going to have a cache. I'm going to use a primary constructor here because I'm being lazy. But that means... Oh, it's, it's unread. Okay. Um, sure. Let's, uh, my, my editor rules are painting me right now. Public void.
SPEAKER_01Sure. Let's just, let's just pretend. Okay.
SPEAKER_00Okay,
SPEAKER_01so I'm just making things overly complicated for no reason, but we're gonna say, okay, so pretend that this is doing like, you know, either get from the cache or go to the database, but now we have a cache. So what do we have to do one more time? We add in the cache. Okay, so we have to keep adding things in here every single time. Again, We're like 20 minutes into this particular part.
SPEAKER_01You probably get the idea. It's getting really difficult for me to start adding complexity for no reason. But if you imagine a more complex application in some of the ones that I build, especially that are already plugin based, there's a lot of things that get added on. So. To recap, one of the goals that I have when building stuff is I like keeping the entry point as lightweight as possible. The next part is that when I'm adding stuff, I don't want it to touch other parts of the code because I'd
like it to be isolated as much as possible because that tells me that's the areas if I want to go test for
SPEAKER_01regressions and pay attention to. Ideally, I'm just touching those spots or putting most of my attention on those spots. It's not like... I'm saying by not touching the entry point, I'm guaranteeing I won't break anything, but I would dedicate a lot more attention to the spots where the code is changing. So just to prove that this hopefully works before we get too far, I'm going to run this.
SPEAKER_00Hopefully it does something. Oh man, look at that.
SPEAKER_01That screen real estate is not so great, is it? Okay, so this is running and I have a web service. Let me try to access that over here.
SPEAKER_00What's the name of the weather route? Is it just weather? No. What do we call it?
SPEAKER_01Weather forecast. Hey, we got weather, right? So like this works. Really kind of simple, crappy example, but let's convert this, okay? So these are the pieces. And what I want to do is show you that I don't need to add extension methods. I never have to keep doing this ever again because I don't like
doing this,
SPEAKER_01but we're going to use Needler to do that for us. So let's take this example. I'm just going to pull these dependencies in because it's the same thing. There we go. So I have a couple of packages. Um, I have the two that we're going to care about here are the base Needler package and the Needler package that's specifically for ASP.NET Core. And we're going to build a web application and a couple lines of code.
It's not, it's not going to be dramatically different in terms of number of lines.
SPEAKER_01I just, please bear with me. Um, If I were to show you BrandGhost, BrandGhost has, I think, 200 projects in it because there's a lot of plugins. And if I tried to build BrandGhost without using plugins, the entry point would be, I don't know, like a thousand lines long with just like registering classes and stuff. Would not be good for anyone's mental health. So instead... We're going to look at how we can use Needler, okay? So I thought that I was going to be clever with Needler.
SPEAKER_01I named it Needler because dependency injection, like a needle, and then there's a base type that's called a syringe. It's funny. I don't know. I am really bad at names, and that was the first thing that came to mind. So in Needler... Oh, should I put using... What's going on here?
SPEAKER_00Did it not take my... Why don't you like it? Oh, I know why. The project is at a different level. One sec.
SPEAKER_01I knew that was going to come back to get me one day. um the question is is there a full stack on c sharp i'm not sure what you mean by that question so i'm not sure how to answer you i'm sorry okay so in needler we have a syringe because that is going to be our fluent builder pattern and we're
SPEAKER_01done almost it's almost that simple um so what can we do now um we need to get the app okay so that gets rid of this and it gets rid of this and technically this this did have args on it so did i add something for that
SPEAKER_01Let's see. I want to be fair. Maybe I don't have it on here. Oh, there's a couple of ways you can do this. So using options, there we go.
SPEAKER_00And then we can do opstat. Why is that working? Come on.
SPEAKER_01It's a function. Oh, it's sorry. It doesn't take them in. So new, or we can use the empty ones using CLI args. So this is supposed to be like a fluent builder syntax. So you can do this kind of thing. If you're familiar with link, like L I N Q, um, then it's kind of like similar pattern, right? So this is now saying we're using options when we create the
web application and we
SPEAKER_01just want to use the command line arguments, CLI for command line, and then pass an arg. So now we don't need this line, okay? And what we're left with is we don't have this stuff hooked up. The cool thing is, Needler will do a bunch of that for us, but we do still need to do this part manually. Okay, so we need to get these routes hooked up, and that's fine because we can do a internal...
SPEAKER_01By the way, you'll notice I'm using internal. We don't have to expose things if we don't want to. So internal, sealed, class. I seal almost everything because I don't like using inheritance. I don't like object hierarchies. Again, my opinion. So not that it's wrong, not that it's the only way, not that it's... just my opinion so we're going to do a weather weather plugin and this one will be of type i web what do we need this was registered on the web
application so i web application plugin so needler is plugin based if uh folks have seen videos on my youtube channel i was building a lot of dependency injection stuff with autofac
SPEAKER_01Autofac uses what's called a module. And that's kind of like a, it's very similar to how people use extension methods, except you don't have to call the module directly. You can scan assemblies for the modules and automatically call them. That's very much what a plugin is like in Needler. But now I can go do this. I want this part specifically. Okay, and then I can say options dot web application.
SPEAKER_01And then I can fix that up. So this is a plugin that now registers the routes. Okay, we don't need that line now. By the way, I don't need these weather extensions. Boop, get rid of that. The only thing that we don't have is HTTPS direction, but we can add another little plugin for that. other fun stuff plugin okay we'll go put that on here okay so
what I've done is I've made plugins for these things notice how I'm not registering anything like
SPEAKER_01none of these types are added to the container Joel says there are many correct solutions. That's exactly right. And that's why it's hard for me to talk about stuff that I have an opinion on, because I don't want it to come across like I'm telling people this is the only way. It's absolutely not. And that's why I said at the beginning of this stream, some people might hate what I'm doing. It's totally cool. I don't hate it. This is how I like to code. So just to clean this up a little bit, because we don't need command line arguments,
SPEAKER_01I just wanted to show you that we can do it. This is how much code we have in our entry point. It never has to change. It will always remain two lines long. If you really wanted to, right, there we go. It's one line of code. You can put everything on one line of code if you really try. So the idea is that if I want to keep adding more stuff, I can go build out other plugins and I don't, have to come back and add stuff in extension methods and add
them to the container.
SPEAKER_01This is done in a way that's automatic based on the rules that I prefer. You can customize those rules. But by default, they're the way that I like to do it. And that means that by default, everything is registered as the implemented interface and the type itself. I didn't really use interfaces in this example. They are registered as singletons. Again, you can customize that. but I told you at the beginning of the stream or somewhere near the beginning that I like using singleton lifetime because I often do not have
state in my objects. The state is like a shared reference to like a cache or something like that. Now I'm nervous because I think that this is done and I think that this will work,
SPEAKER_01but I'm nervous. So let's try it. Drum roll. okay so far no crashing okay it's running oh wait I already had this in another window didn't I ready I'm gonna press enter oh it works okay so we yay super exciting we made the weather sample application But the point is that I got rid of the extension methods.
I don't have to register stuff on here because it automatically goes to find it for us.
SPEAKER_01We can break this with this, right? So I'm saying don't auto register this thing. What happens when I run this? It better not work. Oh, it's probably going to wait for me to try going to, right? It's like, I can't find this thing. I can't find this forecast service. And that's because I told Needler specifically, don't register this thing. So if you wanted to manually register stuff, you absolutely can.
SPEAKER_01I do this in BrandGhost a lot. I have some more complex things where I can't just automatically discover stuff. I got to set it up by hand. So I will put this attribute on there and then I will manually register stuff. And if you want to see what that looks like, we could do internal manual registration plugin. And this can just be an iServiceCollection plugin. And then we can say,
I just want two options on the services at a singleton of the forecast service,
SPEAKER_01okay? So I can go do that. If I run this now, and come back here, this should work. And it does, because I told it, don't automatically register that thing. Like, I'm going to go do it for you. So if you have something more complicated, you can absolutely go take care of that. Oh, yeah, sorry, a random programmer. I'm not sure where the...
SPEAKER_01the question was for the do not register attribute. But yeah, if you have other questions on that, let me know, please. But that essentially allows us to do manual registration. What I have been playing around with is like on the syringe class itself and the web application syringe, adding some like helper extension methods for registering things just to make it a little bit more, I don't know, like easy to use so you don't have to make plugins for everything if
you just want to tack like tack on stuff to this i do this a lot when i am um especially in tests just to give you an example right so i might do like using what do we got um i
SPEAKER_01don't actually have it on here and still okay Let's do this using post plugin registration callback. So see how I can do this right here. I can get rid of this plugin. So when I'm writing functional tests, I actually really like using, I have like a, a class that in like in brand ghost, for example, I have a syringe that I build up with all the things that I want.
And then before I actually build the service provider, I tack on something like this.
SPEAKER_01And I say, like, I want you to go add in this new service. And usually what I'm doing is I'm overriding like a, say this forecast service, pretend that like actually reached out across the internet to some API. And I'm like, hey, man, I'm writing like a unit test here. I don't want my code in my test to go hit the internet. So I might add a mock in. So it would look like, again, terrible example, but I'd have a mock and it would be like an eye forecast service.
SPEAKER_01Let's pull that up here.
SPEAKER_00Right, so I would do something like this. Sure. Okay, so I would have something like that. And if you're using the MOQ framework, it would look literally like that.
SPEAKER_01Okay, and then that way, when I'm running my test, I would use the syringe, I would get the service provider, I would resolve the type that I'm trying to run tests against. And then I can rest assured that anytime it's trying to go out to the internet, it won't anymore, because it's going to use this mocked out forecast service, just as a rough example. So I'm playing around with adding some more helpful extension methods on this. What else? Just to show you that some of this stuff works, let's pull this back off.
SPEAKER_01We can use interfaces on things. This is overkill for what we have in this application for sure. But who was using the forecast service? I think it was up on the plugin, right? Uses the iForecast service now. We can go run this. I did not change anything about how things are registered. I realize that the examples aren't exciting because you're just
seeing the same
SPEAKER_01stupid fake weather JSON over and over. Sorry. But the point that I'm trying to make here is that I like being in a position where I can go configure these things and not come back to touch this part of the code. I don't want to have to do that. Okay, so I don't know. Anyone have questions or other thoughts about what we can do with this or why I do this kind of thing?
SPEAKER_00Maybe it made sense and no one has questions. That's cool, too. We could, just to go... Hyper AI plugin.
SPEAKER_01AI stuff, return. All right, we can go add a new route. We don't need the weather forecast service. What else do we want? We wanna go do, we had a car rental service.
SPEAKER_00Okay, so there's two more plugins with routes.
SPEAKER_01Okay, so I'm going to go run that. Boop, there we go. Okay, what was the other route? Right, you can do this kind of thing with controllers already. So that part's not like that exciting, but hopefully you can see like, when i go to build new like features out in in things like brand ghost i just start writing the code that i want to use and because i follow the
same patterns and practices it just gets wired up automatically and the entry like the entry point here is literally three lines of code or sorry three lines because i split them out
SPEAKER_01there you go um So for me, this is really helpful. I never have to go back and I'm like, oh, I forgot to register, whatever. I just write the code and it all gets wired up. This will become an absolute nightmare if you are creating classes with a lot of state. And if you want to do that, that's totally fine, but you probably want to control how they're being registered. The default settings that I have will not be good for you.
SPEAKER_01Because you might say, next time I want to access this, I need it to be scoped or transient because I need it to live for the lifetime of this web request coming in. If that's what you need, then you don't want my default settings if you have state on those things. I don't write code that way. Singleton lifetime works very well. BrandGhost uses Quartz, which is a job scheduling framework. If I wanted to resolve a job interface,
SPEAKER_01if I wanted to, Quartz actually needs, I think, transient lifetime on jobs. I use, you can see, well, maybe you can't because the text is small, but I use something called Carter for registering stuff. I really like using Carter. It means that I don't necessarily have to write plugins like this. Carter, now that I have Needler, actually, I don't really need Carter. Now that I'm thinking about it, I was about to explain what Carter does.
SPEAKER_01It's this, which is fine. So that's cool. um i have carter inside of brand ghost but uh i noticed that if i'm using carter i need to actually exclude um carter modules from being automatically registered if i don't they get double registered so maybe i'll just pull carter out and i don't have to worry about it anymore but i do i do like carter i think it's a nice um It facilitates what I wanted out of registering API methods,
SPEAKER_01so I thought that's worked really well. But overall, this is what Needler does in a nutshell. And I don't know, I don't think I have anything else to add in. But you can do this kind of thing just to quickly show you. That YouTube example we just looked at is very much like this one, right? Web application is built on one line. I just have a bunch of console write line stuff here so you can see,
SPEAKER_01you know, if we try to resolve stuff, what's happening. But it's literally like we just looked at, right? weather plugin, weather provider. A more advanced one is here. So, oops, wrong file. But you can see like this has a lot of stuff going on in the entry point. But the cool thing is like if you configure your web application this way,
SPEAKER_01You shouldn't have to come back here when you're adding new features. So I can walk you through quickly what this one does. Needler supports Screwdoor, which is a very popular, super popular type scanning system. So basically like... I didn't like using... Coming from Autofac, I didn't like using Screwdoor because it got me most of the way, but not all the way. So Needler is essentially my combination of what I like in Autofac,
SPEAKER_01what I like in Screwdoor, and working with the... you know, the base dependency injection stuff. But you can use Screwdoor for doing your type registration. So that's built in. It is a separate package, so you're not forced to have that dependency. We can change how we want to go look for and sort assemblies. So in this example, I'm saying only look for assemblies that have Nexus Labs or ASP.NET Core App 1 in the name. But you might say, all of my plugins are named a certain way.
SPEAKER_01So... Go look for those. Or you just use a different builder here. So you go return something that's going to give back Needler the assemblies that you want to look at. You can add in additional assemblies. So there's some flexibility there. I've done this kind of thing in like test projects where I build this stuff up, but I'm like, oh, by the way, here's a couple more for you to look at. The for weather application changes this syringe into a weather
application syringe.
SPEAKER_01So we have some ASP net core functionality. This is one where I'm saying I just want to use a console logger on startup. If I jump into this, It's a helper method, really just sets up a logger. Logger factory, add console, set the level. not rocket surgery. This gets a little bit more complicated because like I said, I just wanted to show some things that you can do.
SPEAKER_01We need a configuration. So by default, it will use an empty configuration. But if you wanted to pull in stuff from app settings, environment variables, whatever, there is a configuration callback where you can go set all of that up. If you play with this in the repository, you can prove that it's taking effect by uncommenting some of this code, right? So if you were to do this and go run the application, you will get different results.
SPEAKER_01Otherwise, that one's pretty straightforward. But this one has a lot of complex configuration in it. What else? This one was just setting up plugins. So again, like it's just when you look at the entry points, they're generally very, very lightweight. And that's my goal with this kind of stuff is that I don't want the entry point to have a bunch of stuff. Unless you need complex configuration like this, then you can do it.
SPEAKER_01But I think that's it, folks. So at this point, there's something that we should not forget about. If you join the stream late, you might not know. But we said we're having AI build some stuff for us. Do we think that it did it? I don't. Okay, let's see. Let's see what it did. Okay, the lore rag system implementation is complete.
SPEAKER_01Claude says I've successfully built a comp. It has to be comprehensive, a comprehensive retrieval, augmented generation rag system based on the PRD specifications. Here's what was implemented. Jonathan Barron, you wanted to know folder structure. This is absolutely not how I would do it. Um, Just as an example, by the way, friendly reminder, it's not that this is wrong. It's just not how I would do it at all. I cannot stand personally organizing code by like the groups of things,
SPEAKER_01like having a models folder, having a folder for interfaces. No, I can't. I can't survive that way. That's totally fine if that's what you love to do. It just doesn't work for me. I much rather have my stuff grouped by features. I find that like within a feature, when I keep going deeper, sort of like a layered architecture kind of shows up. So just as a brief example, let me talk with my hands for one moment.
SPEAKER_01If I have like vertical slices or plugins that are features, so, you know, feature within that feature, I might have like the web API. The web API calls the business logic. The business logic calls into the data layer. The data layer will have like caching and like the actual data access. So I generally find a layered architecture shows up in each of the verticals, but my overall project structure is generally like entry point
and then individual
SPEAKER_01projects for plugins, usually. Um, cool. Let me jump back here. So key components delivered. I bet this doesn't even compile, but, uh, Postgres connection plugin has got PG vector support. Sarah log. I said, put Sarah log in for logging semantic kernel with Azure open AI. Okay. Hybrid search, combining vector similarity in Postgres. Um,
SPEAKER_01FTS, smart markdown chunking with header preservation. Content deduping with hashing. Okay. Got a RESTful API. Okay. I don't know. Do we, do we take a look at it?
SPEAKER_00I'm scared. Oh. Okay.
SPEAKER_01I don't even see a solution. To be fair, this happened to me with the Pokemon thing, or it built the whole Pokedex, and I was like, oh, this is dumb. I don't know. I'm just going to open up the project. Maybe it didn't make a solution for it. I just have very, oh, okay.
SPEAKER_01I don't know, like it's, maybe it'll work. What's the read me say? We should start with that, right? So I don't have, I'm not gonna put in my Azure OpenAI key. Copy the example environment.
SPEAKER_00Okay. I don't, like, do we try it? Let's try it.
SPEAKER_01Who wants to take bets on whether or not it compiles? I don't think it will compile. We're trying it. Okay.
SPEAKER_00Oh my goodness. What?
SPEAKER_01Okay. It compiles. That is much further than I thought we would get. I need to check what the readme said. Oh my goodness, how are we gonna ever see anything here? Where do we, what's the endpoint? There's a health and an API lore ask.
SPEAKER_00Oh, okay, that's fair.
SPEAKER_01I don't have the environment configured. So that's not terrible. I'm actually amazed that this actually compiled. What'll this do? Okay. It's probably going to complain about the same thing. Um, can we get away with? Probably not. I'm probably gonna have to go configure all this, but that could be a very interesting YouTube video follow up on
the main dev leader
SPEAKER_01channel, which is a great segue. Um, I'm amazed that it compiled. I have terrible luck with getting that kind of stuff to output. I don't know, anything that works. So give me one sec here. I'm going to sign off on the stream, folks. But I promise you, I will get that covered in a YouTube video. It'll be kind of interesting. If folks don't remember from last time, we had...
We did a recipe timeline planner and a .NET learning kind of system where it could
SPEAKER_01recommend videos and things like that, which is pretty cool. But in general, folks, my live streams are generally based on this. So this is where my newsletter is. Oh, a random programmer. I quite confident my message got lost in the many. I'll check on, uh, is it a message or is it a comment? I have not been on to, whoa, whoa, infinity mirror. Um, I haven't been on to check my messages, so I apologize,
SPEAKER_01but if it's a comment, then it's probably missed. I also didn't check my comments at all today, so let me know. I will follow up. Um, But for folks that are interested, this is where my newsletter is. It goes out on Saturdays. I did not release one this weekend. I was taking my on-call day off on Friday, and then I said I'm a little burnt out. I rarely ever skip newsletters, and I skipped this weekend. And I take it pretty seriously when I skip the newsletter,
so I needed to rest.
SPEAKER_01Okay, I ran a programmer. I will check. I don't know if I can call you Michael, though. I think it has to be a random programmer for forever. But... The newsletter comes out on Saturdays. It's an email newsletter. If you don't want emails, don't worry, don't subscribe, but you can check it out literally just by going to the site and you can see the topic. So this was last week's with my dumb face, but the live stream was on the same topic. That's generally how it is. So that's that.
SPEAKER_01Needler, this is what we looked at today. If you're interested, there's a link i got five whole stars wow but this is an opinionated framework there's the little guy thanks chat gpt for making the mascot slash logo um but it's got documentation and stuff it's got the examples we walk through you can check that out there'll be more youtube videos coming out on it so you can see kind of roughly how i'm using it The YouTube channels are the Dev Leader Podcast.
SPEAKER_01That's where this is being streamed to on YouTube right now. So for folks that have issues discovering where the live stream is now, this is where it will be. This is also the channel where I have interviews with software engineers. I talked with Hassan Habib not too long ago. One of my favorite conversations I've ever had on the podcast is I got to get my Scott Hanselman one back uploaded here. And I just did an interview with Derek Comartin, who is Code Opinion.
It's really cool because I get to reach out to these people that I really look up
SPEAKER_01to and I'm like, hey, let's let's do an interview. And they agree to it. And then I get to like fanboy out and talk to them. I try to try to act cool, though. But yeah, really awesome to get to chat with these folks. They're all got amazing career stories and stuff. So if you're interested in hearing about other people's journeys, I find this is very helpful if you are getting started out. or you're like thinking about switching careers and you're thinking like this is impossible like my journey looks very different like check out
one of these because everyone has a different journey and i think the more that you start to to realize that the more that you realize like yours is supposed to look unique and that's totally cool dev leader is my main channel so if you want to watch the programming
SPEAKER_01tutorials This is the link to it. I got a new intro video with my bald head. It was overdue. I need a new thumbnail for that. But this channel will be essentially just programming in C Sharp and AI tutorials. So you can check that out, especially if this kind of stream was what you were interested in. This would be the channel that I recommend. Usually my Monday streams are not coding, though, so... The next channel, there's a bunch of them, by the way.
SPEAKER_01So next channel is Dev Leader Path to Tech. I am still overdue on some resume videos, but I was just talking with my editor today. He had to do a bit of a move. So he's got a handful of videos he's got to catch up on. These will get uploaded here. But this is all resume reviews. People send them in. I review them. They're not roasts. They are literally me trying to help. So I will call out the things I think you're doing well and the
things that I think
SPEAKER_01you can improve on. Again, my opinion as a manager of 13 years. Code Commute is... I don't know. Is Code Commute my favorite channel? It's hard to say. But Code Commute is definitely one of my favorite channels. And the format is like Q&A vlogs. So people submit questions either on Code Commute or like on the YouTube channel or CodeCommute.com. You can submit questions anonymously. And that way that goes right to my email.
SPEAKER_01and I will make a vlog entry for you. I'm always looking for Code Commute topics, by the way. When I don't have any that are pending, I just go to Reddit. So if you want your stuff answered, Code Commute was like my solution to people sending me messages on social media and me being like, I can't just answer one-off questions all the time. The resume review channel was the solution to people messaging me and being like, review my resume. I'm like, I'll review it on YouTube if you want.
SPEAKER_01Then I get to make content. Almost last. I promise we're almost there. I got courses. If you're interested, this is... One of the paid things, yes, some people were able to snag this for free at the beginning of the year, which is pretty cool. But if you're interested in learning C Sharp, I have two courses specifically for getting started. They're 11 and a half hours in total. There's some other C Sharp courses, but then I've also paired up with Ryan Murphy and we do some soft skills,
SPEAKER_01career development, promotions, that kind of stuff. So if you're not a .NET developer, Don't worry, if you enjoy the way that I teach things and walk through topics, then there's some courses that you might be interested in as well. Nick Chapsis almost always seems to have a sale on. Every time I stream, at least, there's a sale on. So there's a sale if you want to get a deal. And finally, BrandGhost, if you're interested, BrandGhost is what I am building. And BrandGhost is built using Needler.
SPEAKER_01In fact, Needler, the code for Needler, I explained this in today's code commute video, which will go out on Wednesday. The code for Needler was me copying and pasting BrandGhost code over to a new solution and then just chipping away the BrandGhost specific pieces until I had Needler. Then I spent this weekend trying to reintegrate Needler back into BrandGhost and realized I missed a bunch of stuff. So I added that back and forth and now BrandGhost is running
using Needler for
SPEAKER_01dependency injection. So BrandGhost is my solution that I have built for cross-posting and scheduling social media content. So if you go on my social media profiles across any platforms, the things that I post are all through BrandGhost. So my LinkedIn posts, my Twitter, Blue Sky Threads, Instagram, TikTok, YouTube Shorts... What else? I don't have Tumblr anymore.
SPEAKER_01I have a Reddit profile. If you want, you can follow me on Reddit everywhere. If it's a social media platform, we try to support it. I guess I could have looked at the icons, right? I have a Pinterest. So you can check out any of these platforms and I should be posting there except Tumblr. They banned my Tumblr account. I think someone reported me. I don't know. It was really weird, but I had like messages on Tumblr from people. So if you are interested in posting more content to social
media, it's literally free promise.
SPEAKER_01Um, we don't take your credit card or anything because my belief is that if you want to post more on social media, um, There's lots of tools out there that'll do it. So we'll just give it away for free. Uh, like buffer is probably one of the biggest, you know, um, competitors they've been around since, I don't know, like I started making content in 2013 and they already existed. Buffer has a, like a free version, but we just give you all of the platforms for free.
SPEAKER_01So yeah, We're obviously better. Um, but yeah, you can get started with cross posting and scheduling for free using brand ghost. If you have a small business or you're like, say you're not interested in being content creator, that's fine. But if you have a small business and you need help with like marketing your stuff, you can use brand ghost to basically perpetually schedule content. And that way you have sort of like this infinite feed of stuff that will go to social media and Brand Ghost with the recurring posts is what I use, especially when I'm burnt out and I cannot create more content
because I don't have
SPEAKER_01capacity for it. Brand Ghost will recycle old posts I have and that way I can still share content. So that's how I survive social media and it's thanks to Brand Ghost. But folks... that's it for today. So, um, thank you so much for being here. I appreciate it. I hope you got to enjoy needler, something a little different for the Monday streams. And, uh, I appreciate it. So, uh, next week we'll probably be back to sort of normal software
engineering topics.
SPEAKER_01If you submit questions on code commute, they can very well end up being the same topic that we, we do on the, uh, the live stream. So I recommend it. Plus, I would appreciate trying to answer your questions. No math questions, just software engineering and career questions. Cool. Thanks, folks. I will see you next time. Take care.
Thank you to everyone who tuned into my live video! Join me for my next live video in the app. This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit...
Thank you to everyone who tuned into my live video! Join me for my next live video in the app. This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit...