Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Phyllotaxis: An audio-reactive LED display (jagi.studio)
    —discuss
  2. privacyguides.org (github.com/privacyguides)
    —discuss
  3. The large robotic arm on the International Space Station has stopped working (arstechnica.com)
    —discuss
  4. Opus 5.5 showcasing: Liquid Glass-like elements for the web (tomacco.github.io)
    1comments
  5. Infinitrance [video] (youtube.com)
    —discuss
  6. How to reduce token usage in Claude Code, Codex, and Cursor (avanderlee.com)
    —discuss
  7. Recursive Self-Improvement via On-Policy Distillation for Reasoning (arxiv.org)
    —discuss
  8. The problem is not the AI code, but nobody knows anything anymore (ssp.sh)
    —discuss
  9. 13 Months Sober (2025) (bobbytables.io)
    —discuss
  10. Active, in-the-wild exploitation of CVE-2026-88771 with IoCs (twitter.com/lupovisdefence)
    —discuss
  11. Congress is considering giving doctors automatic annual pay raises in Medicare (statnews.com)
    —discuss
  12. Show HN: Assay – a QA CLI that finds bugs with no LLM and no tests written (github.com/awss1i)
    —discuss
  13. Nero (storia-e-libri.fandom.com)
    —discuss
  14. AI-guided optimization for thermostable mRNA vaccines (nature.com)
    —discuss
  15. Should I Stay or Should I Go? (newyorker.com)
    —discuss
  16. Daily Logic Puzzles (logicpuzzles.io)
    1comments
  17. APOD's main NASA site is moving (apod.com)
    1comments
  18. Open-source Python simulation benchmarking rainbow gravity against NGC 3198 (domushorizon.vercel.app)
    —discuss
  19. Mega Bomberman: Special 8 Player Demo (segaretro.org)
    —discuss
  20. FY2025 NASA Planetary Research and Analysis Funding Cut by More Than 50% (planetary-research.org)
    —discuss
  21. Jevgrep: A CLI for coding agents that uses Jev to discover relevant files (github.com/dzhng)
    —discuss
  22. Syncing Rust GCC back end or how to test Murphy's law (guillaume-gomez.fr)
    —discuss
  23. Show HN: I built an idle game that rewards you for doomscrolling less (getisland.app)
    1comments
  24. I confronted my biggest haters online. It didn't go as expected (slate.com)
    —discuss
  25. The Glimmer in Our Eye (With Grant Sanderson) [video] (youtube.com)
    —discuss
  26. Mathematicians Harness Randomness to Crack a 55-Year-Old Conjecture (quantamagazine.org)
    —discuss
  27. Create AI Workout Plans with Cloudflare Durable Objects (master.dev)
    —discuss
  28. Kubernetes in Docker (github.com/kubernetes-sigs)
    —discuss
  29. JEV based Effort-router picks Claude Code's reasoning effort for each prompt (github.com/totally-tim)
    1comments
  30. GSC-CLI: GSC CLI. Zero Dependencies. Search Intelligence in Ruby (github.com/apolloswave)
    —discuss

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

1 pointsby 1h agoprojectured.org
1 comments
1h 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.