πŸ”— Testing Patterns

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


@yellowduck.be | 1 day ago

πŸ”— The Problem With LangChain

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


@yellowduck.be | 1 day ago

πŸ”— How to send progress updates

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


@yellowduck.be | 2 days ago

πŸ”— Fast Full-text Search with PGroonga, Postgres, and Elixir

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


@yellowduck.be | 2 days ago

πŸ”— Healthy Code Reviews

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


@yellowduck.be | 3 days ago

πŸ”— Tips on Adding JSON Output to Your CLI App

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


@yellowduck.be | 3 days ago

πŸ”— Developing Rapidly with Generative AI

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


@yellowduck.be | 4 days ago

πŸ”— Build A Route Planner For Maps Using Python

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


@yellowduck.be | 4 days ago

πŸ”— OpenStreetMaps, Overpass API And Python

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


@yellowduck.be | 4 days ago

πŸ”— Lessons after a half-billion GPT tokens

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


@yellowduck.be | 10 days ago

πŸ”— Email DNS Records Cheatsheet

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


@yellowduck.be | 12 days ago

πŸ”— Here is why vim uses hjkl keys as arrow keys

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


@yellowduck.be | 19 days ago

πŸ”— Jeffrey Way's PhpStorm Setup in 2024

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


@yellowduck.be | 19 days ago

πŸ”— Laravel Read / Write Connections use multi-database

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


@yellowduck.be | 1 month ago

πŸ”— Offload the majority of requests to your database with our newest update to Standby Nodes

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


@yellowduck.be | 1 month ago

πŸ₯ Customizing email titles in Laravel console kernel scheduled tasks

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


@yellowduck.be | 1 month ago

πŸ”— Setting Up a Multi-tenant Phoenix App for Elixir

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


@yellowduck.be | 1 month ago

πŸ”— The Developer's Guide to SSO β€” WorkOS

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


@yellowduck.be | 1 month ago

πŸ”— Vector Similarity Search with PostgreSQL's pgvector

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


@yellowduck.be | 1 month ago

πŸ”— The 2038 Problem

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


@yellowduck.be | 1 month ago

πŸ”— The Mac Admins Podcast team explain how to secure Apple devices at work and home

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


@yellowduck.be | 1 month ago

πŸ”— Language Policy at Google: Let's Go!

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


@yellowduck.be | 1 month ago

πŸ”— Go, Python, Rust, and production AI applications

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


@yellowduck.be | 1 month ago

Generative AI for Contracts

Continue reading


@yellowduck.be | 1 month ago

System-wide text summarization using Ollama and AppleScript

Continue reading


@yellowduck.be | 1 month ago

Laravel 11: the upgrade guide from version 10

Continue reading


@yellowduck.be | 1 month ago

Checking your packages for Laravel 11 compatibility

Continue reading


@yellowduck.be | 1 month ago

I made a mistake

Continue reading


@yellowduck.be | 1 month ago

I don't get the point of Golang - That's why I need help

Continue reading


@yellowduck.be | 1 month ago

goqite - persistent message queue

Continue reading


@yellowduck.be | 1 month ago

Get consistent data from your LLM with JSON Schema

Continue reading


@yellowduck.be | 1 month ago

Get Started with Milvus Vector DB in .NET

Continue reading


@yellowduck.be | 1 month ago

Using non-integer primary keys in Eloquent

Continue reading


@yellowduck.be | 1 month ago

Distributed Systems Horror Stories: Kubernetes Deep Health Checks

Continue reading


@yellowduck.be | 1 month ago

Steve vs Matt β€” How two developers approach the same problem

Continue reading


@yellowduck.be | 1 month ago

Feature flags are ruining your codebase

Continue reading


@yellowduck.be | 1 month ago

Cancel in-progress jobs using GitHub Actions

Continue reading


@yellowduck.be | 1 month ago

RenΓ© Roth | Composite indexes in Laravel & MySQL

Continue reading


@yellowduck.be | 1 month ago

Your First Year as a CTO: A Comprehensive Guide

Continue reading


@yellowduck.be | 1 month ago

Having fun with (Franken)PHP | davlgd tech blog

Continue reading


@yellowduck.be | 1 month ago

Saving an Eloquent model without touching its owners

Continue reading


@yellowduck.be | 1 month ago

Multi-Tenant Architecture

Continue reading


@yellowduck.be | 1 month ago

ARCHITECTURE.md

Continue reading


@yellowduck.be | 1 month ago

Running Laravel Apps With FrankenPHP

Continue reading


@yellowduck.be | 1 month ago

Updating gcloud after installing Python 3.12

Continue reading


@yellowduck.be | 1 month ago

LinearB: Software Delivery Management

Continue reading


@yellowduck.be | 1 month ago

Use Four Keys metrics like change failure rate to measure your DevOps performance

Continue reading


@yellowduck.be | 1 month ago

Configuring PHP-FPM pools

Continue reading


@yellowduck.be | 2 months ago