While building tempest/highlight, I came across an interesting design problem. One of its core components is a concept called "patterns"; these are classes that match a very specific part of code-to-be-highlighted using regex. Part of my test suite's responsibility is to test eac … | Continue reading
If you've been following the explosion of AI hype in the past few months, you've probably heard of LangChain. LangChain, developed by Harrison Chase, is a Python and JavaScript library for interfacing with [OpenAI(https://openai.com/)]'s GPT APIs (later expanding to more models) … | Continue reading
If you work on anything worthwhile, sooner or later people will care about it and will want you to send progress updates. These could be quarterly investor updates, weekly updates to your boss, emails to adjacent teams, etc. Here are tips on how to do this well. β οΈ This post link … | Continue reading
We're Indie Courses, the video course platform for indie creators. We help you sell your online courses quickly and give you the tools and knowledge to make more sales than you would elsewhere. No marketing degree needed. Our goal at Indie Courses is to offer creators the most ad … | Continue reading
I worked with a client in the early days of my career building social media sentiment analysis platform when Twitter was still called Twitter. We were a team of seven and I was a junior-level developer back then. We were young and enthusiastic and full of ourselves. "We're agile, … | Continue reading
A couple of years ago I wrote a somewhat controversial article on the topic of Bringing the Unix Philosophy to the 21st Century by adding a JSON output option to CLI tools. This allows easier parsing in scripts by using JSON parsing tools like jq, jello, jp, etc. without arcane a … | Continue reading
Generative AI is attracting attention as the technology has progressed in leaps and bounds in recent years, offering fresh ways to solve user problems. Since it's a relatively new area in terms of its practical application, figuring out how to start building with LLMs (large lang … | Continue reading
In this article I use the metric system, where 1 meter = 3.28 feet. I also talk about highways. Here I use the definition in British English, where highway refers to any path with a public right of access. We are all familiar with the existence of route planners like google maps … | Continue reading
OpenStreetMaps (OSM) is known for being an open source project that allows people to browse the world map and to plan routes. However it is more than that. Among others it provides a read-only API that allows users to query for very diverse map data: Overpass API β οΈ This post lin … | Continue reading
My startup Truss (gettruss.io) released a few LLM-heavy features in the last six months, and the narrative around LLMs that I read on Hacker News is now starting to diverge from my reality, so I thought I'd share some of the more "surprising" lessons after churning through just n … | Continue reading
Every so often, I need to chase down some aspect of email validation. This involves a number of DNS records and queries, but I may forget just which ones. So here's a quick cheatsheet for future me to pull up the next time I don't remember which records are used to validate SPF, … | Continue reading
I was reading about vim the other day and found out why it used hjkl keys as arrow keys. When Bill Joy created the vi text editor he used the ADM-3A terminal, which had the arrows on hjkl keys. Naturally he reused the same keys and the rest is history. β οΈ This post links to an ex … | Continue reading
Call it age. Call it apathy, if you must. I call it contentment. Much of my twenties were spent endlessly experimenting and searching for the perfect editor and workflow. As I read these words back to myself, I'm somewhat embarrassed. "Really? That's what you spent your twenties … | Continue reading
Sometimes you may wish to use backup database and live database for handling maximum user interaction Out of the box Laravel always you to have read/write database connections. This will allow you to have different database connections for SELECT queries and INSERT, UPDATE and DE … | Continue reading
Standby Nodes have always been a great failsafeβif your database fails for any reason, a constantly replicated and completely up-to-date Standby Node is there, ready and waiting, to take its place. But what about when your database is functioning fine? In addition to replication, … | Continue reading
Laravel provides a convenient way to schedule tasks. Scheduled tasks are vital for automating repetitive tasks like sending emails, generating reports, or performing database maintenance. By using the standard functionality, it's very easy to email the output of these commands. H … | Continue reading
Apps built with Elixir can support massive scalability, real-time interactivity, great fault tolerance, and the language's syntax is actually a joy to use. Elixir is a natural fit for applications such as chat apps, data dashboard apps, and anything needed to support a large user … | Continue reading
Adding SSO to your app is a common requirement for selling to enterprise customers. Here's a guide that will help you understand SSO and choose the best way to add it to your app. β οΈ This post links to an external website. β οΈ | Continue reading
As the AI revolution surges forward, promising significant innovations, it also introduced new types of vector databases. A vector database stores data as high-dimensional vectors called embeddings, which are mathematical representations of features or attributes of the data. The … | Continue reading
Remember the "Year 2000" problem (or Y2K) in the late 90s? This referred to the fact that many older computer systems represented years using only two digits. This meant that when the year 2000 arrived, many systems would incorrectly display it as "00" instead of "2000", causing … | Continue reading
Joined by the popular Mac Admins podcast cast, we dive into Apple security and privacy, and how Macs are being integrated into workplaces everywhere. Find out whether an Apple product on its own keeps you secure and safe from viruses, or if you need additional security apps to pr … | Continue reading
Last week, I wrote a post that was largely about how Google decides whether to support a programming language for general use. I mentioned that languages developed by Google, like Go and Dart, and languages advocated by Google, like Kotlin, were special cases. Sameer Ajmani (who … | Continue reading
In this article, I'll talk about Go, Python, and Rust, and each language's role in building AI-powered applications. β οΈ This post links to an external website. β οΈ | Continue reading