How to Get a Grip on Rule-based Agents
The 4 types of rule-based agents are similar but have differing advantages relative to certain problems. Let’s find out what these are.Photo by Kenny Eliason on UnsplashNot long ago I outlined four ways to build AI agents. Rule-based agents were the first and most rudimentary agent. Being rudimentary does not mean such
Read moreHow to Use the CSS Grid repeat() Function
Learn how to use the keywords and functions of the CSS Grid repeat() function to create responsive layouts without media queries. Continue reading How to Use the CSS Grid repeat() Function on SitePoint.
Read moreHarnessing Retrieval Augmented Generation With Langchain
Implementing RAG using LangchainImage by Author, generated using Adobe FireflyRetrieval Augmented Generation (RAG) is more than just a buzzword in the AI developer community; it’s a groundbreaking approach that’s rapidly gaining traction in organizations and enterprises of all sizes.As we delve deeper into the capabilities of Large Language Models (LLMs), uncovering new
Read morePattern Matching in TypeScript: Tuples and Records
Image by authorAs mentioned in my previous article, while being on a vacation and work-free I decided to challenge myself with implementing pattern matching in TypeScript. While sitting in airports and planes and shuttles and between all the dancing workshops and social parties (I do social dancing and I highly recommend
Read moreHow engineering teams at a large org can move at startup speed
SPONSORED BY SHELL On this sponsored episode of the podcast, Ben talks with Amber Webb, Principal Engineer at Shell, and Naresh Kumar, Senior Principal Engineer at Shell, about their hyper automation initiative, which locates organization-level bottlenecks and removes them. They chat about the three big areas of improvement: acquiring necessary
Read moreDependency Injection Demystified
Write robust and maintainable software using modern language featuresImage generated using MidjourneyUnit testing will inherently nudge you towards writing your code in a maintainable way. You’ll separate concerns, design sensible interfaces, and break your code into small, easy-to-reason-about chunks.Modern language features like async/await and functional reactive programming bring incredible ergonomics to
Read moreThe Problem With Sharing Problems in Complex Systems
Should shared problems have shared solutions? Deciding so requires us to understand them at a deeper levelPhoto by Markus Winkler on UnsplashThroughout my career, one scenario has reared its head over and over again: multiple components seemingly sharing one problem in complex systems.From software architecture to macroeconomics, the question always arises: “Should shared
Read moreCreating and Modifying UIKit Components Like in SwiftUI
Photo by Firmbee.com on UnsplashProtocol-oriented programming is one of the most powerful and flexible tools for competent composition and distribution of responsibility in Swift. In one of the previous articles, protocol-oriented programming was used to manage the state and build a safe sequence of state transitions without additional checks. If you
Read moreHow to Use React Hooks the Right Way to Solve Common Problems
I’m hooked on HooksA real hook to represent the concept of a hook because it’s hard to find pictures of conceptsUsing Hooks in React is the standard way of writing React in 2023. The old ways do still work. You can still write class components. Heck, you can even still write React
Read moreFocus or Focus Visible? A Guide to Making Your Focus State Accessible
App navigation is crucial for users regardless of what device they are usingContinue reading on Better Programming »
Read more