Better HN
topnewbestaskshowjobs
Log inSign up

graemefawcett

21 karma · joined Oct 22, 2023 (3y ago) · 41 submissions

Submissions

comment 6mo ago · link · parent

The other cases are the original request is still in flight or never occurred. The former case was explained by the prior comment, one request is processed, the other is returned by 409. The system cares little for which is which and neither should the caller. The latter case is handled by clients retrying until a request is received, at which point one of the other three states takes over.

Whether or not a prior request exists in the system in processed or unprocessed state should not matter in a properly implemented idempotent system, the whole point is that one and only one is processed, and all replicas indicate that they are such.

What you do inside of your boundary to implement that idempotent contract need not be part of the contract and the decision of what primitives to use (locking, content-based addressing etc) are mainly just a question of implementation constraints.

comment 8mo ago · link · parent

Stateless router to router with lossy scratchpad is a step up, still not going to ask it to check my Lisp. That's what linters are for

comment 8mo ago · link · parent

RAG is like when you want someone to know something they're not quite getting so you yell a bit louder. For a workflow that's mainly search based, it's useful to keep things grounded.

Less useful in other contexts, unless you move away from traditional chunked embeddings and into things like graphs where the relationships provide constraints as much as additional grounding

comment 8mo ago · link · parent

It's not just an issue of tokenization, it's almost a category error. Lisp, accounting and the number of r's in strawberry are all operations that require state. Balancing ((your)((lisp)(parens))) requires a stack, count r's in strawberry requires a register, counting to 5 requires an accumulator to hold 4.

An LLM is a router and completely stateless aside from the context you feed into it. Attention is just routing the probability distribution of the next token, and I'm not sure that's going to accumulate much in a single pass.

comment 8mo ago · link · parent

Exactly. They've implemented a VM inside a transformer, turned an O(1) memory access call into O(n), optimized it down to O(log n) and wrote a post about how smart they are.

It's a nice bit of engineering, if you don't subscribe to YAGNI. If you do, you must ask the obvious question of what capability this delivers that wasn't available before. The only answer I've got is that someone must have been a bit chilly and couldn't figure out the thermostat

comment 8mo ago · link · parent

Basically just madlibs - the models generate intermediate tokens that help predict a better answer based on training (RLHF & otherwise). They tend to look like "reasoning" because those tokens correlated with accepted answers during training.

Extended thinking passes are just more of the same. The entire methodology exists merely to provide additional context for the autoregression process. There is no traditional computation occurring

comment 9mo ago · link · parent

I believe that's I and the paper are both saying as well. The LLM is pure routing, the constraints currently are located elsewhere in the system. In this case, both the constraints and the motivation to perform the work are located in Knuth and his assistant.

Routing is important, it's why we keep building systems that do it faster and over more degrees of freedom. LLMs aren't intelligent on their own, but it's not because they don't have enough parameters

comment 9mo ago · link · parent

This is exactly how problem solving works, regardless of the substrate of cognition.

Start with "all your questions contained in randomness" -> the unconstrained solution space.

The game is whether or not you can inject enough constraints to collapse the solution space to one that can be solved before your TTL expires. In software, that's generally handled by writing efficient algorithms. With LLMs, apparently the SOTA for this is just "more data centers, 6 months, keep pulling the handle until the right tokens fall out".

Intelligence is just knowing which constraints to apply and in what order such that the search space is effectively partitioned, same thing the "reasoning" traces do. Same thing thermostats, bacteria, sorting algorithms and rivers do, given enough timescale. You can do the same thing with effective prompting.

The LLM has no grounding, no experience and no context other than which is provided to it. You either need to build that or be that in order for the LLM to work effectively. Yes, the answers for all your questions are contained. No, it's not randomness. It's probability and that can be navigated if you know how

comment 9mo ago · link · parent

Connecting them is easy, one is the math of the exchange and one of the state machine.

A better question might be why no one is paying more attention to Barandes at Harvard. He's been publishing the answer to that question for a while, if you stop trying to smuggle a Markovian embedding in a non-Markovian process you stop getting weird things like infinities at boundaries that can't be worked out from current position alone.

But you could just dump a prompt into an LLM and pull the handle a few dozen times and see what pops out too. Maybe whip up a Claw skill or two

Unconstrained solution space exploration is surely the way to solve the hard problems

Ask those Millenium Prize guys how well that's working out :)

Constraint engineering is all software development has ever been, or did we forget how entropy works? Someone should remind the folk chasing P=NP that the observer might need a pen to write down his answers, or are we smuggling more things for free that change the entire game? As soon as the locations of the witness cost, our poor little guy can't keep walking that hypercube forever. Can he?

Maybe 6 months and a few data centers will do it ;)

comment 10mo ago · link · parent

I think the biggest benefit is bandwidth more so than efficiency. This gives you multiple streams to mux which and a means to control their mixing.

The biggest innovation I think may have been accidental. The doubly stochastic matrix implements conservation on the signal stream.

Treating the signal like the information it is as we do in any other domain is crucial for maintaining its coherence. We don't allow a network router to generate more packets than it receives for the same reason.

comment 10mo ago · link · parent

Are you aware that there are certain members of your very own species that are as intelligent as you or I, who lack those qualia.

Non standard cognitive architectures are already coherent. Even if they were, why do you think qualia cannot be replicated with a similar signal to semantic meaning? Are there additional dimensions that we can feel that we've never talked about or more importantly, written down?

comment 10mo ago · link · parent

I took that idea just as far as I could and landed here

https://zenodo.org/records/18181233

It parses the AST out of it and then has a play

We're using it as an agentic control plane for a fortune 500s developer platform.

Keep going with yours, you'll find it

comment 10mo ago · link · parent

We propose SyneState: a communication prosthetic built on DeepSeek's Manifold-Constrained Hyper-Connections (mHC) architecture. By parameterizing cross-channel mixing as a doubly-stochastic matrix constrained to the Birkhoff polytope, we can: (1) induce machine synesthesia—stable, tunable cross-modal binding between latent streams; (2) learn personalized binding matrices that approximate individual cognitive architectures; and (3) translate between compression levels—expanding high-compression encodings into explicit single-channel representations and vice versa.

  For mHC implementers, SyneState is a direct application of manifold-constrained mixing to cross-modal binding. For cognitive science and clinical researchers, it offers a candidate prosthetic for the double-empathy problem: bridging communication gaps not by "fixing" either party, but by learning the translation between different cognitive compression schemes.

  All required components—multi-stream residuals, Sinkhorn projection, multimodal attention heads—exist in production stacks today. This is integration work, not research.

14.

SyneState: Machine Synesthesia with Manifold-Constrained Hyper-Connections(zenodo.org ↗)

2 points · by graemefawcett · 10mo ago · 1 comment

comment 11mo ago · link · parent

Besides, if everyone could paint the Sisten Chapel, then we'd have works equivalent to the Sistene Chapell everywhere.

Why is that a problem?

That to me sounds like the opposite of a problem.

Used effectively, these tools are elevators, enhancing the capabilities of everything they touch.

Telling them to paint you a picture results in the word you envision.

Painting a picture with them is how you see mine

comment 11mo ago · link · parent

Is art then just the outcome? The artifact that was produced?

What's your criteria then for who is allowed to produce art? If allowing everyone to create it lessens its value such that it becomes worthless, there must be a cutoff.

If your goal is to ensure the continuity of human expression, limiting who is allowed to create art and narrowly defining art to great works kind of misses the point.

comment 11mo ago · link · parent

I've been doing it for months, it's lovely

https://tech.lgbt/@graeme/115749759729642908

It's a stack based on finishing the job Jupyter started. Fences as functions, callable and composable.

Same shape as an MCP. No training required, just walk them through the patterns.

Literally, it's spatially organized. Turns out a woman named Mrs Curwen and I share some thoughts on pedagogy.

There does in fact exist a functor that maps 18th century piano instruction to context engineering. We play with it

comment 11mo ago · link · parent

I had a sickie yesterday with nothing better to do than attempt to prove isomorphism across domains

Like drawing lines on a mids menu but for grown ups when the price is right isn't on

comment 11mo ago · link · parent

Two systems are isomorphic when they admit the same morphisms—when the set of valid transformations applicable to one equals those applicable to the other.

If Hom(X, DNS) ≅ Hom(X, Filesystem) for all relevant X, then DNS ≅ Filesystem.

Wherein we prove it is

20.

DNS as a Filesystem: A Practical Study in Applied Category Theory(loss.dev ↗)

1 points · by graemefawcett · 11mo ago · 3 comments

21.

Abusing DNS TXT Records as a Planet‑Scale Key‑Value Store for Fun (and Geese)(graemefawcett.ca ↗)

1 points · by graemefawcett · 1y ago · discuss

comment 1y ago · link · parent

This is the right attitude.

GenAI isn't a thinking machine, as much it might pretend to be. It's a theatre kid that's really motivated to help you and memorized the Internet.

Work with them. Let them fill in your ideas with extra information, sure, but they have to be your ideas. And you're going to have to put some work into it, the "hallucinations" are just your intent incompletely specified.

They're going to give you the structure, that's high probability fruit. It's the guts of it that has to be fully formed in the context before the generative phase can start. You can't just ask for a business plan and then get upset when the one it gives you is full of nonsense.

Ever heard the phrase "ask a silly question, get a silly answer"?

comment 1y ago · link · parent

I posted the Rspec version of this earlier this week on Obie's keynote on Ruby + TDD + AI.

I've been working on a project to turn markdown into a computational substrate, sort of Skills+. It embeds the computation in the act of reading the file so you don't have to teach anything (or anyone) how to do anything other than read the data on the page along with the instructions on what to do with it. It seemed the simplest way of interacting with a bunch of machines that really love to read and write text.

I use a combination of reference manuals and user guides to replace the specs as a description of intent for the input to the process. They need to be written and accurate anyways and if they're the input to the process, then how can they not be. After all

requirements = specs = user stories = tests = code = manuals = reference guides = runbooks

They're all different projections of the same intent and they tend to be rather difficult to keep in sync, so why not compress them?

https://tech.lgbt/@graeme/115642072183519873

This lets one artifact play all of the roles in the process, or for anything non-trivial, you can use compositional vectors like ${interpolation:for-data.values}, {{include:other:sections-as.whole-units}} or run special ```graphnode:my-funky-cold-medina:fetch fences that execute code found on other nodes and feed the output through middleware to transform and transpile it into the parent document.

Think of it like Rack for your thoughts.

I threw the AST thing on it because I'd been playing with that node and thought a symbol table would be useful for two reasons. Hard to hallucinate a symbol table that's being created deterministically and if I've got it, it saves scanning entire files when I'm just looking for a method.

New computing paradigms sometimes require new new tools.

I think you're absolutely right about the rest of it. LLM assisted development is the process of narrowing the solution space by contextual constraints and then verifying the outcome matches the intent. We need to develop tools on both ends of that spectrum in order to take full advantage of them.

Try /really/ telling one what you want next time, instead of how to do it. See if your results are any better

comment 1y ago · link · parent

The nice thing about the transformer architecture is that they can cross these domains, to an extent. I have a very spatial way of reasoning through problems and using an LLM, especially an agentic one like Claude Code with access to my local file system as a research assistanmt, is a great aid.

I just have to remember how I built something and where the code is. We can take a quick dive into the code base and I don't have to yet again attempt to serialize my mental model of my system into something someone else may understand.

It can be difficult to explain why using the path on the underlying mount volume's EBS volume to carry meta data through filebeat, logstash, redis and kinesis to that little log stream processor was in fact the cleanest solution and how SMS was invented. It's easier when you can get the LLM to do it ;)

comment 1y ago · link · parent

They're "repeat after me" machines, not "think for me" machines.

For the former task, they're brilliant but everyone seems to have fallen for the branding and forgotten the technology behind it. Given an input, they set off a chain reaction of probability that results in structured language, in the form of tokens, as the output. The structure of that language is easier to predict - you ask it for an app that's your next business idea and it'll give you an app that looks like your next business idea. And that's it.

Because that's all you've given it. It's not going to fill in the blanks for you. It can't. Not its job.

If you were building a workflow, would you put something called "Generative" in one of those diamond shaped boxes that normally controls flow? That sounds more like a source to me, something to be filtered and gated and shaped before use.

That's what context is supposed to be for. Not "here's a series of instructions now go do them"

They'll be lost before they get to number three, they have no sense of time you know. Cause and effect is a simulation at best. They have TodoWrites now, those are brilliant for best approximation which is really all we need at the moment, but procedural prompting is still why everyone thinks "AI" (/Generative/AI) is broken.

They're going to give the same structured text regardless, you asked for a program after all. Give them more context, you call it RAG, I call it a nice chat - whatever it is, you are responsible for the thinking in the partnership. They're the hyperactive neurodivergent kid that can type 180wps and remembers all of StackOverflow, you're the patient parent that needs to remind them to clean their room before they go out (or completely remove all traces of the legacy version of feature X that you just upgraded so you don't end up with 4 overlapping graph representations). You're responsible for the remembering, you're responsible for the thinking - they're just responsible for amplifying your thoughts and letting you explore solution spaces you might not have had the time for otherwise.

Or you can build something to help you do that. Structured memory (mine's spatial, the direction of the edges itself encodes meaning) with computational markdown as the storage mechanism so we can embed code, data and prose in the same node.

I demoed a thing on here the other day that shows how I setup Rspec tests that execute when you read the spec that describes the feature you're building. A logical evolution of Obie's keynote. Now they just do it automatically (mostly, if they're new - fresh context - I have to reference the tag that explains the pattern so they pick it up first)

It's still not thinking in the traditional sense of the word, where some level of conscious rationality is responsible for breakthrough. Given, however, how much of human progress has been through accident (Fleming, Spencer, Goodyear, Fahlberg, Rontgen, Hofmann) or misunderstanding (Penzias and Wilson, Post Its, Viagra).

Most of human break through has been through pattern recognition, conscious or unconscious. For that, language is all that is needed and language is sufficient. If an idea can be described by language and if we suppose that the grammar of a language allows its atoms (and therefore its ideas) to be composed and decomposed, then does it not allow then that a consciousness (machine or otherwise) trained in the use of that language can form new ideas through the mere act of synthesis?

comment 1y ago · link · parent

Sorry, I had to get my kids off to school (there's two of them) and daddy tends to need some help on the best of days, but the abstraction is already designed for a polyglot runtime and my entire current platform is based on Ruby (she's just so pretty isn't she...) so the guts were there. I had a Ruby SDK for the graph from a week or two ago laying around so I just needed to get the fence processor and context injection wired up.

This I think proves the power of what Obie is saying. We do RSpec now and it's glorious

https://tech.lgbt/@graeme/115622344011576598

That shows how we can create a single node on the graph with a pair of {{include:statements}} and a bit of ${interpolation:based-pointer.math} and poke and peek tools in an MCP proxy turns a markdown file into an Rspec test runner, just by reading the file. And that same {{include:}} lets me drop that pattern anywhere I want all over the graph, which is pretty neat.

Obie's definitely on to something with this. There's a rather lot of negative emotion surrounding the changes to our profession. There's a certain lack of joy bleeding through many of the comments. Computing doesn't have to be that way, didn't used to be anyways. If you're smart about your verification process, if you're smart about optimizing the framing of your intent, this isn't a scary world we're all crashing headlong into. Remember what they're for - they're generative not thinking - and they'll serve you well.

Or not

They can be little gooses sometimes ;)

12