HN user

rckrd

2,179 karma

twitter.com/mattrickard

matt@matt-rickard.com

Posts289
Comments175
View on HN
mattrickard.com 19d ago

Rebuilding Coginition's Agentic MapReduce

rckrd
2pts0
github.com 6mo ago

Rwx: "Ralph Wiggum Loop" util for Claude/codex

rckrd
2pts0
matt-rickard.com 1y ago

Context-Free Grammar Parsing with LLMs

rckrd
1pts0
matt-rickard.com 2y ago

Every Sufficiently Advanced Configuration Language Is Wrong

rckrd
2pts0
matt-rickard.com 2y ago

The Problems with "Cloud-Prem"

rckrd
3pts0
matt-rickard.com 2y ago

Copilot Is an Incumbent Business Model

rckrd
3pts0
matt-rickard.com 2y ago

The Model Is Not the Product

rckrd
1pts0
matt-rickard.com 2y ago

The Cost of Index Everything

rckrd
4pts0
matt-rickard.com 2y ago

What If Google Wasn't the Default?

rckrd
26pts53
matt-rickard.com 2y ago

The Context Length Observation

rckrd
1pts0
matt-rickard.com 2y ago

Infrastructure as Code Will Be Written by AI

rckrd
4pts1
matt-rickard.com 2y ago

On Mixing Client and Server

rckrd
2pts0
matt-rickard.com 2y ago

When A/B Testing Doesn't Work

rckrd
1pts0
matt-rickard.com 2y ago

The Inner-Platform Effect

rckrd
1pts0
matt-rickard.com 2y ago

Why Is the Front End Stack So Complicated?

rckrd
73pts68
matt-rickard.com 2y ago

A List of Leaked System Prompts

rckrd
4pts1
matt-rickard.com 2y ago

Anticipate the Cheap

rckrd
1pts0
matt-rickard.com 2y ago

Is Data Still a Moat?

rckrd
1pts0
matt-rickard.com 2y ago

Incentives Behind Programming Languages

rckrd
2pts0
matt-rickard.com 2y ago

LLMs as System 1 Thinkers

rckrd
2pts0
matt-rickard.com 2y ago

The New Tax on Engineering Against the Grain

rckrd
2pts0
matt-rickard.com 2y ago

Generative Interfaces

rckrd
4pts0
matt-rickard.com 2y ago

Lessons from Debugging

rckrd
2pts0
matt-rickard.com 2y ago

Is AI a Platform Shift?

rckrd
2pts0
matt-rickard.com 2y ago

Is Data Still a Moat?

rckrd
2pts0
matt-rickard.com 2y ago

Multi-Modal AI Is a UX Problem

rckrd
2pts0
matt-rickard.com 2y ago

Automate (But Automate Last)

rckrd
1pts0
matt-rickard.com 2y ago

Self-Hosted Compilers and Bootstrapped AI

rckrd
1pts0
matt-rickard.com 2y ago

The Age-Old Resistance to Generated Code

rckrd
1pts0
matt-rickard.com 2y ago

Type Constraints for LLM Output

rckrd
2pts0

I just released a zero-shot classification API built on LLMs https://github.com/thiggle/api. It always returns structured JSON and only the relevant categories/classes out of the ones you provide.

LLMs are excellent reasoning engines. But nudging them to the desired output is challenging. They might return categories outside the ones that you determined. They might return multiple categories when you only want one (or the opposite — a single category when you want multiple). Even if you steer the AI toward the correct answer, parsing the output can be difficult. Asking the LLM to output structure data works 80% of the time. But the 20% of the time that your code parses the response fails takes up 99% of your time and is unacceptable for most real-world use cases.

[0] https://twitter.com/mattrickard/status/1678603390337822722

https://matt-rickard.com

779 blog posts. Writing about engineering, startups, math, and AI.

Many of the posts have rich discussions on HN. You can see the top ones here: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

---

* Reflections on 10k Hours of Programming (421 points) - https://news.ycombinator.com/item?id=28086836

* Don't Use Kubernetes Yet (306 points) - https://news.ycombinator.com/item?id=31795160

* Google search's death by a thousand cuts (292 points) - https://news.ycombinator.com/item?id=36564042

* The Unreasonable Effectiveness of Makefiles (256 points) - https://news.ycombinator.com/item?id=32438616

* I Miss the Programmable Web (248 points) - https://news.ycombinator.com/item?id=32284375

* What Comes After Git? (227 points) - https://news.ycombinator.com/item?id=31984450

---

RSS Feed: https://matt-rickard.com/rss

Email list: https://matt-rickard.com/subscribe

(author here) That's interesting! Maybe there's a way to quantify the cumulative probability of the squashed tokens (i.e., if you constrain to 'true' and 'false', what's the distribution of the other tokens).

For now, this is a good way to make sure that I can parse the output reliably in the minimal amount of completions (instead of looping until conformant).

Similar strategies with the logitsprocesor. It is a more generalized version that's not just constrained to JSON parsing, but any regex. JSONformer/clownfish try to parse the types syntactically.

A regex is a better fit for a different class of problems. You might implement a JSONformer/clownfish with this instead.

Maybe images are the universal interface. With some of the advancements in ML, we have different decoders: image-to-text (OCR), layout information (object recognition), and other metadata (formatting, fonts, etc.).

Now, with diffusion-based models like Stable Diffusion and DALL-E, we have an encoder – text-to-image.

Natural analogy to how humans perceive the world and how we've designed our own human-computer interfaces.

[0] https://matt-rickard.com/screenshots-as-the-universal-api [1] https://twitter.com/mattrickard/status/1577321709350268928

Large fixed costs, economies of scale, whole product (need compute AND storage). It's possible that a company like Cloudflare can disrupt certain verticals in storage that are mispriced by AWS yet have a larger than expected TAM.

Those blog posts are a good start. I was referencing the full pricing page for s3 that breaks down by region and class. AFAIK there are some third parties that track the granular data, but it's not preserved anywhere on the AWS page. A lot of price decreases also might have happened silently (without a blog post) or as de facto decreases (widely but privately negotiated, e.g. "sticker price").

I still think that CUE/other configuration languages are too complex for most developers. Once you're adding language-like features (inheritance, schema validation, or control flow), you're better off using a general purpose language like Typescript.

Pulumi might be moving away from pure Typescript constructs because it's difficult to compete against something like AWS CDK, which will always be better because (1) it's specific to one provider and (2) is a first-class citizen.

I can't find the code anymore but I originally saw this in docker/compose.

I forget what they were using it for, but it boiled down to packing up a json file or two in a tarball and pushing it to the local daemon with a special suffix. Then it could pull that and unpack it on the next run.

Docker just announced Docker Extensions for Docker Desktop -- already configured long-running agents that are "managed" with a nice GUI.

I use the Tailscale extension to let my development pods talk to my tailnet. It's really handy (would be even better if it worked with the local Kubernetes cluster in Desktop). Of course you can do this yourself fairly easily, but it's nice to have it "managed" for a non-essential part of the workflow.