HN user

tlarkworthy

5,764 karma

Software Developer with a passion for transparency.

Firebase -> Google -> Futurice -> Taktile

Now in Berlin.

Posts174
Comments1,575
View on HN
engineering.taktile.com 1mo ago

Lambda isn't leaking memory, your metrics are lying to you

tlarkworthy
18pts5
tomlarkworthy.github.io 3mo ago

RISC-V Linux BusyBox Single Board Notebook

tlarkworthy
2pts13
labs.taktile.com 4mo ago

Realistic Benchmarks for Financial AI

tlarkworthy
1pts0
tomlarkworthy.github.io 5mo ago

Show HN: The Lopecode Tour

tlarkworthy
1pts0
arxiv.org 7mo ago

Measuring Agents in Production

tlarkworthy
1pts0
observablehq.com 7mo ago

Dynamic Dataflow Templating: the missing semantic for dataflow programming

tlarkworthy
1pts0
resonantcomputing.org 7mo ago

The Resonant Computing Manifesto

tlarkworthy
3pts0
tomlarkworthy.github.io 7mo ago

Unaggregating Cloud Watch Metrics

tlarkworthy
3pts0
automerge.org 9mo ago

Version Control for Your Data

tlarkworthy
2pts0
bsky.app 10mo ago

TypeScript cells in Observable Notebooks 2.0

tlarkworthy
2pts0
observablehq.com 11mo ago

Trying Out "GEPA: Reflective Prompt Evolution"

tlarkworthy
4pts0
www.fermyon.com 1y ago

Fermyon WASM Functions on Akamai

tlarkworthy
3pts0
scrtwpns.com 1y ago

Pigment Mixing into Digital Painting

tlarkworthy
379pts56
observablehq.com 1y ago

Most favorited Hacker News Posts, 2020-09-01 to 2024-12-21

tlarkworthy
3pts0
observablehq.com 1y ago

Show HN: Single File Observable Notebook Bundler

tlarkworthy
3pts0
github.blog 1y ago

Multi-file editing, code review, custom instructions for VSCode Copilot

tlarkworthy
1pts0
dexie.org 1y ago

Dexie Cloud, A sync service for Dexie.js (IndexDB wrapper)

tlarkworthy
3pts1
poolside.ai 1y ago

Our $500M fundraise to make progress towards AGI

tlarkworthy
1pts0
www.youtube.com 1y ago

AI Assisted Test Driven Development Loop with o1-preview [video]

tlarkworthy
1pts0
observablehq.com 1y ago

Test Driven Development with AI: Writing a Decompiler

tlarkworthy
2pts0
ottertune.com 2y ago

Ottertune Is Dead

tlarkworthy
4pts1
blog.cloudflare.com 2y ago

JavaScript-Native RPC to Cloudflare Workers

tlarkworthy
3pts1
observablehq.com 2y ago

Experiments in Complex Software Development with ChatGPT

tlarkworthy
3pts0
github.com 2y ago

Esm.sh/Run

tlarkworthy
2pts0
observablehq.com 2y ago

Show HN: Roboco-op, a computational blackboard for efficient human/AI collab

tlarkworthy
82pts27
observablehq.com 2y ago

Show HN: AWS x-ray dataset slurper and visualizer

tlarkworthy
4pts0
github.com 2y ago

Checking Causal Consistency the Easy Way

tlarkworthy
3pts0
observablehq.com 3y ago

Show HN: Simplifying Pose Estimation with Circular Barcodes

tlarkworthy
1pts0
github.com 3y ago

Smol Developer

tlarkworthy
528pts130
observablehq.com 3y ago

Collosal Cave ChatGPT Challange

tlarkworthy
2pts0

I tried it and it does not compress messages which was 90% of my context, so it only compresses a small part of my token usage. If you read it carefully you will realize that is exactly stated. If you look at /context you will probably see that tool calls are not where you are spending token on, so a proxy that compresses tool calls will not make much impact, whilst still being true that it compresses tool calls by 8x. Its just not that important for long coding sessions for me.

"native/built-in Read or cat tools, the data is not intercepted by RTK's shell hook"

OK fixed! As you clearly know this space well, what do think would make this project better? I was thinking I wanted to see a heatmap of memory access (pages?), and more detailed explaination of the opcodes, but getting the thing working took quite a while so I got a bit tired and stopped at the booting milestone, but I like the project a lot and now it is in a notebook I can basically probe any part of the system with dataviz tools to make it more tangible. Do you have anything you think would be helpful or cool for learners that you have not seen before in an emulator?

We do something similar at work, called metadev. It sits above all repos and git submodules othe repos in, and works with multiple changes with multiple sessions with worktrees, and stores long term knowledge in /learnings. Our trick has been to put domain specific prompts in the submodules, and developer process in metadev. Because of the way Claude hierarchically includes context, the top repo is not polluted with too much domain specifics.

The Gay Tech Mafia 5 months ago

Two husbands without kids, working in tech, have a huge amount of cash, time capacity and ideation opportunity. I felt these added up to a huge advantage for getting quality shit done and taking risks. Fair play.

Yeah, this upsert_cell tool does it

https://observablehq.com/@tomlarkworthy/forking-agent#upsert...

format: { type: "grammar", syntax: "regex", definition: cellsRegex },

Where cellRegex is

cellsRegex = { const CELL_OPEN = String.raw`<cell>\s`;

  const INPUTS_BLOCK = String.raw`<inputs>.*<\/inputs>\s*`;

  const CODE_BLOCK = String.raw`<code><!\[CDATA\[[\s\S]*\]\]>\s*<\/code>\s*`;

  const CELL_CLOSE = String.raw`<\/cell>`;

  return "^(" + CELL_OPEN + INPUTS_BLOCK + CODE_BLOCK + CELL_CLOSE + ")*$";
}

And the extraction logic is here https://observablehq.com/@tomlarkworthy/robocoop-2#process

function process(content) { const doc = domParser.parseFromString( "<response>" + content + "</response>", "text/xml" ); const cells = [...doc.querySelectorAll("cell")]; return cells.map((cell) => { const inputsContent = cell.querySelector("inputs")?.textContent || ""; return { inputs: inputsContent.length > 0 ? inputsContent.split(",").map((s) => s.trim()) : [], code: (cell.querySelector("code")?.textContent || "").trim() }; }); }

BTW that agent is under development and not actually that good at programming. Its parent https://observablehq.com/@tomlarkworthy/robocoop-2 is actually very good at notebook programming

I use regex to force an XML schema and then use a normal XML parser to decode.

XML is better for code, and for code parts in particular I enforce a cdata[[ part so there LLM is pretty free to do anything without escaping.

OpenAI API lets you do regex structured output and it's much better than JSON for code.

GPT-5.2-Codex 7 months ago

We fixed this at work by instructing it to maximize coverage with minimal tests, which is closer to our coding style.

?

Its like GET <namespace>/object, PUT <namespace>/object. To me its the most obvious mapping of HTTP to immutable object key value storage you could imagine.

It is bad that the control plane responses can be malformed XML (e.g keys are not escaped right if you put XML control characters in object paths) but that can be forgiven as an oversight.

Its not perfect but I don't think its a strange API at all.

Markov chains learn a fixed distribution, but transformers learn the distribution of distributions and latch onto what the current distribution based on evidence seen so far. So that's where the single shot learning comes from in transformer. Markov chains can't do that, they will not change the underlying distribution as they read.

U put something out on the internet, likely no-one cares, sometimes people will point out a better way of doing it. You gain in that knowledge. I learnt a lot from public critique... it makes you better and more knowledgeable. Harness the crowd, let it out.