{"@attributes":{"version":"2.0"},"channel":{"title":"Gavin Ray Blog","link":"https:\/\/gavinray97.github.io\/blog","description":{},"language":"en-us","managingEditor":"ray.gavin97@gmail.com (Gavin Ray)","webMaster":"ray.gavin97@gmail.com (Gavin Ray)","lastBuildDate":"Wed, 21 Oct 2026 00:00:00 GMT","item":[{"guid":"https:\/\/gavinray97.github.io\/blog\/undiscovered-public-knowledge","title":"Quasi-Riemann, Biologic Discovery, and Swanson's \"Undiscovered Public Knowledge\"","link":"https:\/\/gavinray97.github.io\/blog\/undiscovered-public-knowledge","description":"From mathematical proofs to biological discoveries, AI is connecting ideas across disciplines, bringing new scale to Don Swanson's \"undiscovered public knowledge\".","pubDate":"Wed, 21 Oct 2026 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["ai","llm","agents","non-technical"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/design-by-contract-and-effects-for-llms","title":"Design by Contract and effects are essential for LLM-generated code","link":"https:\/\/gavinray97.github.io\/blog\/design-by-contract-and-effects-for-llms","description":"As LLMs write more code, contracts and effect systems become essential tools for constraining behavior, exposing side effects, and verifying implementations.","pubDate":"Sun, 02 Aug 2026 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["programming","llms"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/building-from-zero-after-addiction-prison-felony","title":"Building from Zero After Addiction, Prison, and a Felony","link":"https:\/\/gavinray97.github.io\/blog\/building-from-zero-after-addiction-prison-felony","description":"I spent ages 14-16 in a maximum-security juvenile prison, became a felon at 19, lost almost everything to addiction, and later rebuilt my life through software, open source, and a few people who took a chance on me. This is the condensed story, written for anyone wondering whether they have a future.","pubDate":"Sun, 07 Jun 2026 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["non-technical","personal","career"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/the-race-for-universal-context-layer","title":"The Race to Become the Context Layer for Agents","link":"https:\/\/gavinray97.github.io\/blog\/the-race-for-universal-context-layer","description":"The next data platform may be less about storing data and more about deciding what AI agents should know, trust, and act on.","pubDate":"Tue, 05 May 2026 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["ai","llm","agents","data"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/memfd-create-noexec","title":"Bypassing noexec with memfd_create(2)","link":"https:\/\/gavinray97.github.io\/blog\/memfd-create-noexec","description":"Using Linux's memfd_create(2) syscall to load shared libraries and execute binaries entirely from memory, bypassing noexec restrictions without ever touching disk.","pubDate":"Sun, 01 Mar 2026 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["linux","c","systems-programming","java"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/llm-build-cheaper-than-searching","title":"Disposable Software: When generating code costs less than finding it","link":"https:\/\/gavinray97.github.io\/blog\/llm-build-cheaper-than-searching","description":"LLMs have made generating code nearly free, but maintaining it hasn't changed. On the growing plague of code that shouldn't exist and the discipline of searching before building.","pubDate":"Sat, 28 Feb 2026 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["non-technical","ai","opinion","software-engineering"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/absurdity-of-ai-engineer-title","title":"The Absurdity of the term \"AI Engineer\"","link":"https:\/\/gavinray97.github.io\/blog\/absurdity-of-ai-engineer-title","description":"Integrating a third-party LLM SDK does not make you an AI Engineer: a rant on the inflation of job titles in the age of ChatGPT wrappers.","pubDate":"Sun, 22 Feb 2026 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["non-technical","ai","opinion"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/postgres-sql-property-graphs","title":"Experimenting with SQL:2023 Property-Graph Queries in Postgres 18","link":"https:\/\/gavinray97.github.io\/blog\/postgres-sql-property-graphs","description":"Hands-on guide to the upcoming SQL\/PGQ graph syntax using a patched Postgres 18 beta.","pubDate":"Sat, 19 Jul 2025 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["postgres","sql"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/perspectives-on-psychedelic-use","title":"Psychedelics as Tools: Reflections After 20+ Compounds and a Decade of Experiments","link":"https:\/\/gavinray97.github.io\/blog\/perspectives-on-psychedelic-use","description":"Reflections and hard-won lessons from a decade exploring over 20 psychedelic compounds.","pubDate":"Sat, 12 Jul 2025 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["non-technical","psychedelics"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/overcoming-dialect-sql-generation-limits","title":"AI SQL Generation: Overcoming dialect-specific syntax errors","link":"https:\/\/gavinray97.github.io\/blog\/overcoming-dialect-sql-generation-limits","description":"A discussion on techniques available to overcome semantic errors in syntax when generating dialect-specific SQL","pubDate":"Sat, 17 May 2025 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["sql","text-to-sql","llms"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/what-good-are-record-patterns","title":"What good are Record Patterns in Java? An example based on Spark's Catalyst Optimizer and it's Tree Rewriting Rules","link":"https:\/\/gavinray97.github.io\/blog\/what-good-are-record-patterns","description":"A tutorial on how to use Java's new Record Patterns feature to write powerful, concise pattern matching code for usecases like AST transformations and rewrite-rules in compiler passes.\n","pubDate":"Sat, 04 Feb 2023 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["java","jdk","jvm"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/postgres-wire-protocol-jdk-21","title":"Building a PostgreSQL Wire Protocol Server using Vanilla, Modern Java 21","link":"https:\/\/gavinray97.github.io\/blog\/postgres-wire-protocol-jdk-21","description":"A dual-purpose tutorial to 1) Demonstrate how to implement the Simple Query Protocol, where Java is an implementation detail; 2) Show practical examples of most of the new features since JDK 17, including Records, Sealed Types, Pattern Matching for Switch, Virtual Threads, and Panama Foreign-Function & Memory API.\n","pubDate":"Mon, 16 Jan 2023 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["java","jdk","jvm","postgres","wire-protocol","databases","server"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/adding-invariant-to-cpp-design-by-contract","title":"Adding Design-by-Contract [[invariant]] conditions to C++, via a GCC plugin","link":"https:\/\/gavinray97.github.io\/blog\/adding-invariant-to-cpp-design-by-contract","description":"Design-by-Contract's invariant attribute allows you to enforce important properties of systems and data structures, making it an incredibly useful tool for developers. In this blog post, we'll be exploring the development of a GCC plugin that adds support for [[invariant]] conditions in C++ classes and structs. We'll also be looking at an example of how invariant can be used to improve the integrity of a Stack data structure. This is especially timely as GCC has recently added support for Contracts, allowing you to annotate functions with pre\/post conditions. Don't miss out on learning how to use this powerful feature in your own projects!\n","pubDate":"Sat, 31 Dec 2022 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["cpp","gcc","design-by-contract"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/a-day-without-a-copilot","title":"A Day Without a Copilot: Reflections on Copilot-Driven Development","link":"https:\/\/gavinray97.github.io\/blog\/a-day-without-a-copilot","description":"A reflection on the impact of language models like Github Copilot on the experience on authoring software and the role of the developer","pubDate":"Mon, 05 Dec 2022 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["github-copilot","machine-learning","non-technical"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/io-uring-fixed-bufferpool-zig","title":"Building a high-performance database buffer pool in Zig using io_uring's new fixed-buffer mode","link":"https:\/\/gavinray97.github.io\/blog\/io-uring-fixed-bufferpool-zig","description":"In this post, we will explore how to build a high-performance database buffer pool in Zig using io_uring's new fixed-buffer mode.","pubDate":"Fri, 14 Oct 2022 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["database","zig","io_uring","performance","linux"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/panama-not-so-foreign-memory","title":"Panama: Not-so-Foreign Memory. Using MemorySegment as a high-performance ByteBuffer replacement.","link":"https:\/\/gavinray97.github.io\/blog\/panama-not-so-foreign-memory","description":"An overview of how the Panama Foreign Memory API can be useful outside of foreign\/native applications","pubDate":"Sat, 03 Sep 2022 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["java","jvm","foreign-memory","panama"]},{"guid":"https:\/\/gavinray97.github.io\/blog\/building-query-expression-lang-kotlin-sql-jooq","title":"Building a Query Expression Language in Kotlin, plus dynamic SQL Generation using jOOQ","link":"https:\/\/gavinray97.github.io\/blog\/building-query-expression-lang-kotlin-sql-jooq","description":"A tutorial on building a Query Expression Language\/AST in Kotlin and implementing SQL generation","pubDate":"Sat, 19 Mar 2022 00:00:00 GMT","author":"ray.gavin97@gmail.com (Gavin Ray)","category":["kotlin","sql","jvm","query-engines","jooq"]}]}}