Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Pixi, a cross-platform, cross-language package manager (prefix.dev)
    —discuss
  2. Use of AI backfires on an expert witness at trial: "They have biases" (cbsnews.com)
    —discuss
  3. OpenCode launches higher tier for Go Plan (twitter.com/opencode)
    —discuss
  4. Comparing exception behavior of magic statics, std:call_once, and std:async (devblogs.microsoft.com/oldnewthing)
    —discuss
  5. First DVD player announced Sept 26, 1996 (dfarq.homeip.net)
    —discuss
  6. Hijacking the PS5's RTMP Stream (yashgarg.dev)
    —discuss
  7. Rick Manelius on Forward Deployed Executives [video] (youtube.com)
    —discuss
  8. Kids turned low-traffic NPR Spotify comments into a secret group chat (thisamericanlife.org)
    —discuss
  9. I asked across LLMs what is the best email provider: Resend is cited most (openllmrank.io)
    1comments
  10. What legal documents do startups need in the US? (stripe.com)
    —discuss
  11. Gevva0 – a Jev like decision engine on Gemma 26B via direct logit scoring (github.com/solvingsteve)
    —discuss
  12. Meta Poaches MongoDB CEO (mongodb.com)
    —discuss
  13. Universal gates from braiding and fusing anyons on quantum hardware (uchicago.edu)
    —discuss
  14. Ask HN: JEV for K1 Tax Forms
    —discuss
  15. Updated Google Maps shows destruction of the city of Rafah (twitter.com/aliabunimah)
    —discuss
  16. Investigating Jev's architecture and how to scale it (lowlevelml.com)
    —discuss
  17. Show HN: Agentic Engineered Social Connections and Travel App (viamour.app)
    —discuss
  18. Stop letting your agent's scripts die in /tmp (github.com/pfcoperez)
    —discuss
  19. What a sports medicine doctor wants patients to know about peptides (washingtonpost.com)
    —discuss
  20. Concern mounts over slow-moving, planetary-scale Kelvin wave heading for Calif (theguardian.com)
    —discuss
  21. We Build a Digital World, Then Dream About a Garden (idlefy.medium.com)
    —discuss
  22. How to Connect Your Drone or IP Camera Feeds to Red5 (red5.net)
    —discuss
  23. Echoleak Beaten - almost (huggingface.co)
    —discuss
  24. Cf: The Agentic CLI for the Cloudflare API (cloudflare.com)
    —discuss
  25. Macrocyclic peptides: a new third drug class? (empirical.health)
    —discuss
  26. The hottest new hangout for middle schoolers is NPR's comment section? (techcrunch.com)
    —discuss
  27. Dutch Police Arrest 'Reformed' Hacker in Shiny Hunters Investigation (krebsonsecurity.com)
    —discuss
  28. A case of Muse leaking personal information and keeping it for itself (simonwillison.net)
    —discuss
  29. Kudu (pixabay.com)
    —discuss
  30. SpaceX's Starship Reaches Orbit for First Time in Major Test (bloomberg.com)
    —discuss

ProjecturEd: One data structure, many editable views, with an AI assistant

1 pointsby 32m agoprojectured.org
1 comments
32m agoHN ↗

I'd like to show you ProjecturEd, a projectional editor I've been working on.

It's an application to view and edit structured data. You can define your own data structures and your own views for them. They work together with the domains that come with it, like JSON, Markdown, Julia code, widgets and charts. An AI assistant works with you on the same data and the same views. You can also use it as a user interface for your own Julia programs.

It's not yet finished, but most of it works. I think it's ready to show, and I'd like to get some feedback.

So, I started ProjecturEd in Common Lisp in 2013 (a long-long time ago) as a side project. I was interested in editing structured data because almost always it ends up as editing text. I wanted to look at and change the structured data itself using the keyboard and mouse. Now, thanks to AI software development is entirely different now. I created the Julia version (in 4 months part-time) for a new port of a well known and widely used discrete event communication network simulator (OMNeT++). It's a complete rewrite, with many more domains, more backends and the AI assistant built-in from the ground-up.

Here is a demo video, where a local AI agent builds a study of an M/M/1/K queue from seven user requests using the application's internal API. It writes the model and the formulas, runs OMNeT++ simulations, plots the results and finds the answer. The model is qwen3.8:27b in Ollama, on my machine. The OMNeT++ tool in the video is built on ProjecturEd, but its code is not public.

https://projectured.org/assets/videos/queue-study.mp4

Here is how it works, in short. The structured data is the source, and every view is computed from it. A projection (a composite one) turns the structured data into a view. It also turns your edits in the view back into typed operations on the structured data. Projections can be combined in many ways e.g. chaining, recursively, type dispatching. For example JSON goes to syntax recursively, then from syntax to text recursively, then to graphics. Many other combinations and mixtures are possible. Every data structure field is a reactive cell, the editor is lazy and incremental. A computed value stays until something it depends on changes. What's not on the screen is not computed, and a view never shows stale data.

The most important part for me is that you can add your own domain. A domain is a package with its document types, projections, operations and key bindings. Navigation, search, copy and paste, sorting, filtering, files, mixing with other domains, all the backends and the assistant work with it, with little or no extra code. The whole JSON domain is a few hundred lines. The web page shows how it's built.

The assistant runs Julia code inside the editor, so it uses the same API as you do. It can search the API by name, by pattern or by meaning. It can also open tabs and arrange the window. You can undo its changes with Ctrl+Z, like your own. By default it uses a local model through Ollama, but it also works with Claude. Other AI tools can use the same tools through MCP. Note that it's not a sandbox, and the MCP server has no authentication. Please don't run it on a shared machine.

ProjecturEd also comes with its own Julia REPL. You open it in a tab and type Julia, like in the normal REPL. But a result that is a viewable data structure or a picture shows as itself, not as text. And you can edit it right there.

- Web page with more videos: https://projectured.org

- Code and guides: https://github.com/projectured/projectured-julia

It's free for noncommercial use, including modifications. For commercial use you will need a licence from me, though it's not advised right now.

I'm happy to answer any questions.