ACAlexander Codesinalexandercodes.hashnode.dev·6d ago · 9 min readHow to Evaluate LLM Answers with the dbt Semantic LayerAn AI assistant can produce a perfectly valid MetricFlow query, and still answer the wrong question. It might choose the wrong metric, dimension, filter, or time grain. The query runs, the result look00
ACAlexander Codesinalexandercodes.hashnode.dev·Jun 29 · 10 min readHow to Evaluate AI-Generated SQL on DatabricksAn AI assistant can produce a query that runs and returns a plausible result. But how do we know if it's correct? Suppose a user asks: Which enterprise customers had revenue growth last quarter? An 00
ACAlexander Codesinalexandercodes.hashnode.dev·Jun 9, 2025 · 10 min readAn Elegant Stack MachineIntroduction Lately I’ve been fascinated with simple models of computation. It’s astounding to me that systems like the lambda calculus and SKI combinators, defined in just a few lines, can express any computable function. But there’s one thing in pa...00
ACAlexander Codesinalexandercodes.hashnode.dev·Feb 26, 2025 · 15 min readData Types in Algorand PythonIn this article, we’ll explore the differences between Python’s built-in data types, Algorand Virtual Machine types, and Algorand Python types. What is a Data Type? I like to think of a data type as a set of values, and a set of operations on those v...00
ACAlexander Codesinalexandercodes.hashnode.dev·Sep 23, 2024 · 12 min readBuilding a Code-Sharing DApp with FastHTMLIntroduction FastHTML is a new Python framework for developing interactive web applications. It's based on HTMX, and purportedly "scales down to a 6-line python file, and scales up to complex production apps". I'm excited to see if I can use it to bu...00KE