growlingOwl
growlingOwl
CC#
Created by growlingOwl on 5/14/2024 in #help
Semantic kernel
I have an OpenAI subscription, topped up for 5dollars and wanted to use GPT-4o chat completions. I don't really know if this model is available to use yet. I have tried it with OpenAI nuget from "OkGoDoIt", but something is fishy going on. Maybe someone has succeeded in using it with that nuget. I've also stumbled upon Microsoft.SemanticKernel nuget. Do I need Azure to fully use it or can I use it with just my API key?
4 replies
CC#
Created by growlingOwl on 8/12/2023 in #help
❔ To learn about concurrency
Hello 🙂 Anyone has a good source to learn all about async/await; multithreading; concurrency in .NET/C# ? ( maybe not all about, but the necessary things ). Maybe videos/blog posts that I should definitely look into if I wanted to learn basics and necessary things about this topic. I'll look into this. https://learn.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/ I also have Jon Skeet C# in depth book. I think I'll read his chapter on concurrency as well. Anything else that you guys found helpful/useful?
5 replies
CC#
Created by growlingOwl on 4/16/2023 in #help
❔ Struggling with HTML/CSS
Anyone knows what CSS framework I could use to write highly customizable websites? Maybe you can tell me from experience what you did. For example I have just used bootstrap, but been stuck on the styling of navigation bar for days, since the regular bootstrap components are not what I am looking for. But the carousels or bootstrap forms and some other premade components do look nice and I can see myself working with them. It's just that I want a highly responsive website, but I want to do it having quality and best practices in mind. I am thinking of the following approach: Use what I can from bootstrap, but if I don't find anything that I want I should write my own components using my own css. Is there a better CSS framework or practices I could do to achieve my goal? I am using Blazor.
5 replies
CC#
Created by growlingOwl on 2/23/2023 in #help
✅ Practicing delegates
I've asked chat GPT to give me some good pseudo applications I could create with .NET, C# to practice everything about delegates. The answer that was given to me is:
Delegates are a powerful feature of C# and .NET that allow for decoupling and modularity in software design. Here are some pseudo applications you could create with C# and .NET to practice using delegates:

Event aggregator: Create an event aggregator that can be used to subscribe to and publish events. Use delegates to define the events and to handle event subscriptions.

Stock ticker: Create a stock ticker that displays real-time stock quotes. Use delegates to define the methods that will be called when new stock quotes are received.

Calculator: Create a calculator that performs basic arithmetic operations. Use delegates to define the methods that will be called when the user selects an operation.

Weather application: Create a weather application that displays current weather conditions and forecasts for a given location. Use delegates to define the methods that will be called to retrieve weather data from various sources.

Chat application: Create a simple chat application that allows users to send messages to each other. Use delegates to define the methods that will be called to handle incoming and outgoing messages.

File watcher: Create a file watcher that monitors a folder for changes and alerts the user when a new file is added or an existing file is modified. Use delegates to define the methods that will be called when a file change is detected.

Image editor: Create an image editor that allows users to apply filters and effects to images. Use delegates to define the methods that will be called to apply the filters and effects.
Delegates are a powerful feature of C# and .NET that allow for decoupling and modularity in software design. Here are some pseudo applications you could create with C# and .NET to practice using delegates:

Event aggregator: Create an event aggregator that can be used to subscribe to and publish events. Use delegates to define the events and to handle event subscriptions.

Stock ticker: Create a stock ticker that displays real-time stock quotes. Use delegates to define the methods that will be called when new stock quotes are received.

Calculator: Create a calculator that performs basic arithmetic operations. Use delegates to define the methods that will be called when the user selects an operation.

Weather application: Create a weather application that displays current weather conditions and forecasts for a given location. Use delegates to define the methods that will be called to retrieve weather data from various sources.

Chat application: Create a simple chat application that allows users to send messages to each other. Use delegates to define the methods that will be called to handle incoming and outgoing messages.

File watcher: Create a file watcher that monitors a folder for changes and alerts the user when a new file is added or an existing file is modified. Use delegates to define the methods that will be called when a file change is detected.

Image editor: Create an image editor that allows users to apply filters and effects to images. Use delegates to define the methods that will be called to apply the filters and effects.
Wanted to ask you guys what you thought about this and maybe someone has some more input for me. Maybe a suggestion with which one I should start? I am not new to delegates, but I have never truly dedicated an application to practice delegates.
46 replies
CC#
Created by growlingOwl on 2/2/2023 in #help
Exception/NULL/Error handling advice.
3 replies
CC#
Created by growlingOwl on 1/12/2023 in #help
✅ BaseApiClient - help on handling null returns / exceptions, logging
7 replies