August 23, 2024Ardan Labs
From the Ardan Community
Introduction: Welcome to Episode 5 of our Intro to Generative AI series! In this episode, Daniel explores practical techniques for enhancing AI models’ ability to handle large volumes of text data effectively. He addresses the challenges developers face when working with extensive content, such as entire web pages or internal documents, and provides actionable strategies to optimize the retrieval and processing of relevant information.
Context Handling: Splitting large text into manageable chunks while preserving context.
Continue reading August 09, 2024Ardan Labs
From the Ardan Community
Introduction: Welcome to Episode 4 of our Intro to Generative AI series! In this episode, Daniel dives into the essential technique of prompt engineering, focusing on creating dynamic and interactive prompts to enhance the capabilities of AI models.
Prompt Templating: Techniques for creating and using dynamic prompt templates to enhance AI interactions. Context Management: Strategies for integrating and switching between multiple contexts in AI applications. Interactive Systems: Building AI systems that respond to user inputs in real-time, using terminal input loops and command-line arguments.
Continue reading August 08, 2024Herbert Wolverson
Rust Trainer/Consultant
Introduction LibreQoS is an open source project for monitoring and providing quality-of-experience for Internet Service Providers (ISPs) and large networks. It runs as a “middle-box”, monitoring traffic that passes through it. It recently gained the ability to track individual data flows - connections between two endpoints. It’s also my favorite Open Source project, to which I contribute regularly.
Public Internet IP addresses belong to an ASN - an Autonomous System Number.
Continue reading August 07, 2024Ardan Labs
From the Ardan Community
Introduction: Welcome to Episode 12 of our Ultimate Software Design series! In this final installment, Bill guides us through the advanced implementation of transaction management in Go, ensuring robust and consistent data operations within applications. By focusing on middleware integration, Bill provides a comprehensive strategy for handling database transactions, committing successful operations, and rolling back when errors occur.
Learn to configure and log transaction middleware for tracking commits and rollbacks.’
Continue reading July 31, 2024Ardan Labs
From the Ardan Community
Introduction: Welcome to Episode 11 of our Ultimate Software Design series! In this episode, Bill delves into the intricacies of implementing robust application layer tests within Go projects, providing developers with essential strategies for creating scalable and maintainable software systems.
Implement application layer tests that ensure comprehensive coverage with minimal database instances.
Organize tests at the domain level using subtests for easier issue isolation and resilient code.
Manage dependencies, authentication tokens, and context for smooth information flow and consistent error handling.
Continue reading July 26, 2024Ardan Labs
From the Ardan Community
Introduction: Welcome to Episode 3 of our Intro to Generative AI series! In this episode, Daniel explores the critical aspect of prompt formatting when working with AI models, emphasizing how proper formatting can significantly enhance the quality of the AI’s responses and overall performance.
Prompt Formatting: Learn the importance of using specific prompt formats for AI models to enhance response quality. API Convenience: Discover how chat completions endpoints simplify prompt formatting and improve integration.
Continue reading July 24, 2024Ardan Labs
From the Ardan Community
Introduction: Welcome to Episode 10 of our Ultimate Software Design series! In this episode, Bill dives into the integration of authentication and authorization mechanisms within Go packages, providing developers with essential strategies for securing and maintaining their software systems.
Learn to configure and manage cryptographic keys using a KeyStore and integrate it into your Go applications.
Discover how to create middleware functions for token parsing, user ID extraction, and role-based access control.
Continue reading July 17, 2024Ardan Labs
From the Ardan Community
Introduction: Welcome to Episode 9 of our Ultimate Software Design series! In this episode, Bill delves into the intricacies of implementing robust authorization and API structure within Go packages, offering invaluable insights for developers aiming to build scalable and maintainable software systems.
Implement role-based authorization logic for secure and precise access control using Rego scripts.
Learn best practices for structuring exported and unexported APIs to maintain a clean, intuitive, and maintainable codebase.
Continue reading June 27, 2024Ardan Labs
From the Ardan Community
Introduction: Welcome to Episode 2 of our Intro to Generative AI series! In this segment, Daniel dives into the practical aspects of working with large language models (LLMs) using the Go programming language and the Prediction Guard API.
Accessing LLMs: Learn how to set up and connect to hosted models using the Go client for Prediction Guard. Prompt Engineering: Discover how to create effective prompts and configure parameters like max tokens and temperature.
Continue reading July 03, 2024Ardan Labs
From the Ardan Community
Introduction: In this segment, Bill delves into the fundamental aspects of authentication and authorization, equipping Go developers with essential knowledge and advanced tools to enhance the security of their applications. Through practical examples and detailed explanations, he unpacks the intricacies of these concepts, demonstrating their crucial role in protecting and managing access to your software systems.
Learn the distinct roles of verifying user identity and determining access levels.
Discover how to use JWTs for secure token generation, validation, and expiration management.
Continue reading