Pete Vilter's Avatar

Pete Vilter

@petevilter.me.bsky.social

Working on grid interconnection at Pearl Street Technologies. Prev databases and things at RelationalAI, Bubble, Cockroach. https://petevilter.me

103 Followers  |  188 Following  |  30 Posts  |  Joined: 27.10.2024  |  2.2903

Latest posts by petevilter.me on Bluesky

Nice. Are those datalog-based?

03.08.2025 11:58 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

React and TypeScript, with a REST API to a NodeJS backend where DuckDB is running.

My initial prompt to Claude was something like "I want to explore DuckDB data in a UI that looks like DataDog, with React and TypeScript" etc

03.08.2025 04:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

and of course the classics, 'filter to this value' and 'sort asc/desc'.

I lose my mind when table UIs don't have 'filter to this value' πŸ˜‚

03.08.2025 04:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

you can also filter by clicking on the histograms, inspired by Datadog's log search UI

03.08.2025 04:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

Used Claude Code to vibecode a UI for @duckdb.org in a few days. Here it is navigating foreign keys

03.08.2025 04:37 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

are tarriffs going to send prices back up?

02.07.2025 19:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Datadog up next?

11.06.2025 01:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
A context-aware LLM agent built directly into Grafana Cloud: Introducing Grafana Assistant | Grafana Labs With our new integrated AI agent you can write in natural language to ask observability questions, see certain data, build dashboards, and make changesβ€”all without leaving the Grafana UI.

Grafana has one too grafana.com/blog/2025/05...

11.06.2025 01:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
It's The End Of Observability As We Know It (And I Feel Fine) The history of observability tools over the past decade has been about a pretty simple concept, but LLMs bring the death of that paradigm.

Neat to see LLMs ingesting observability data and generating explanations www.honeycomb.io/blog/its-the...

11.06.2025 01:34 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@peet.io I see you added support for taking profiles for JS a while ago: github.com/microsoft/vs... very cool!

Think there's a chance of getting this upstreamed to the main debug adapter protocol so other languages can implement it?

30.05.2025 05:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

whoops, that lock implementation had a bug β€” forgot to set holder back to null, messing up next acquire. now fixed gist.github.com/vilterp/bf02...

26.05.2025 16:29 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
bank.ts GitHub Gist: instantly share code, notes, and snippets.

whoops, repo is still private. source here gist.github.com/vilterp/bf02...

25.05.2025 01:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

bank source here: github.com/vilterp/cons...

24.05.2025 23:42 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Dist Sys Simulator

try here: dist-sys-simulator.netlify.app

24.05.2025 23:42 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

If we make the client grab a lock around reading & writing the new balance, it's impossible to get a double spend:

the first client to acquire the lock wins; the next sees that there's not enough in the account.

24.05.2025 23:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Video thumbnail

Distributed systems should feel like physical puzzles we can manipulate!

As an example, I modeled a bank in my simulator.

Without a lock, there's a race condition: if the two clients' gets and puts of the balance are interleaved, the same money can be withdrawn twice.

24.05.2025 23:39 β€” πŸ‘ 13    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

I think the closest experience to what I'm looking for is Apple's Instruments or even the Chrome/Safari devtools, but a standardized protocol could really help the ecosystem flourish.

Tools like py-spy and memray have built fancy UIs for profile inspection, but each language/tool shouldn't have to.

19.05.2025 23:04 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Could also be interesting to attach to running servers in the cloud or continuous profiling services.

19.05.2025 23:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

And VSCode would be free to visualize the data however it sees fit, e.g. in the debugger UI or by annotating source lines with a heatmap.

19.05.2025 23:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

As with LSP and DAP, each language runtime would be free to do it its own way.

19.05.2025 23:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Different profile types, like CPU, memory allocation, contention, and blocking could be supported.

19.05.2025 23:02 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Under the hood, this could look like VSCode saying to the process "profile yourself please" over the debugger protocol, and getting a stream of stack frames in response, each tagged with a thread ID.

Perhaps it could use the OTel profiling standard as inspiration: github.com/open-telemet...

19.05.2025 23:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I wish @vscode.dev had richer & more standardized support for profiling; maybe a "Profiler Adapter Protocol" along the lines of the Debug Adapter Protocol and LSP.

When running a multithreaded program under the debugger, I want to see live CPU usage for each thread, and click to get a flame graph.

19.05.2025 22:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Each 'actor' is defined as a TypeScript function, which runs in the browser with simulated network latency. Messages can be 'sent' between them with async/await syntax.

13.04.2025 17:20 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

It's hard to wrap your head around all the failure modes of a distributed system.

What if you could play with the sequence diagram of a run to see how it responds, and see if you can get it into a failure state?

dist-sys-simulator.netlify.app

13.04.2025 17:19 β€” πŸ‘ 28    πŸ” 2    πŸ’¬ 3    πŸ“Œ 0

Thank you! Curious what your vision looks like

05.03.2025 11:28 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Little script to make a flamegraph of a codebase by lines of code github.com/vilterp/cloc...

26.12.2024 16:08 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Simulator

actor-trace.netlify.app#?systemInsta...

25.11.2024 03:01 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Transparent means that the order hasn't made it to the server yet.

25.11.2024 02:54 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

Am I becoming a fintech person? πŸ˜‚

Added a simulation of a commodity market to my distributed system simulator.

Clients submit buy and sell orders (blue/right and orange/left, respectively); the server uses DB triggers to execute a trade when there's a match.

25.11.2024 02:54 β€” πŸ‘ 8    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@petevilter.me is following 20 prominent accounts