frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Ariana – Check what (AI generated) code did at runtime with 0 effort

1•anougaret•6h ago
Hello HN

tl;dr: I am tired of having to painfully put a shit ton of logging or breakpoints into AI code, which I haven't written, in order to debug it. And more generally, I'm tired of existing debugging techniques.

That's why for the last 4 months I built this tool called Ariana to help visually understand in your IDE what the code does at runtime, with minimal effort and prior knowledge about the code: https://x.com/AniC_dev/status/1934549383690752363

You can get started with it on VSCode/Cursor for free https://marketplace.visualstudio.com/items?itemName=dedale-d..., but it's weird and experimental so I advise you to read below first.

# Problem

AI code is weird to work with because it is often so subtly wrong and at the same time completely foreign to us, maintainers, now that we don't even write the code. How ironic I have to admit.

# Existing solutions

Traditional debuggers expect you (or the AI if it uses them) to know pretty well where to put breakpoints, and then you have to just step and step and step (but often can't even step back). It's not trivial for everybody (folks coding with AI aren't likely to be in the mood for traditional debuggers). Also you have to reproduce your bug until you reach interesting breakpoints which is annoying enough as of itself even pre-AI imo. Oh and forget about using debuggers on production code lol.

And logging, well at least AI is half decent at doing it, but it's often not already logging the exact right thing at the exact right place the first time you encounter a bug, especially in prod. So you also need to reproduce. Furthermore, it's annoying to maintain enormous amounts of logging, and to read walls of logs. Not even mentioning learning how to best handle observability paradigms, platforms, dashboards... as a small to medium-sized project's maintainer that's not the mood.

# Solution

With Ariana you have basically 0 things to change with your code, just run your JS/TS/Python code normally from the terminal but add the `ariana` command before (for example: ariana python <insert your script>). Behind the hood, it transforms your code like a transpiler, adds custom observability, it runs and watches that instrumented code, and reconstructs logic-flow & data-flow visualizations.

(Note that it will transform the files on my server, I'll publish a self hosted version soon. For now I did it this way so I could later add LLMs into the mix, so that observability will be made custom to your program's semantics.)

Then I made a VSCode extension to consume the debugging data like you've seen in the vid: https://marketplace.visualstudio.com/items?itemName=dedale-d... It installs the CLI for you btw.

You can also copy all the data and give to your agent to debug but for now they are too verbose (working on improving that too).

The whole philosophy of the tool is to always run your code with it, know all that the code did the first time a bug appears, so you never have to reproduce bugs again. At least that's the vision. Hope one day some projects will even use it in prod and not just to debug locally (I've heard everything is IO bound on mutexes out there so could be fine).

Thanks for your attention :-)

Inside torch.compile Guards: How They Work, What They Cost, and Ways to Optimize

https://www.youtube.com/watch?v=GmhnYe9QQoM
1•matt_d•7m ago•0 comments

Show HN: Tiny Redirects - Git-based URL shortener using _redirects

https://github.com/rishikeshsreehari/tiny-redirects
1•rishikeshs•10m ago•0 comments

Show HN: Mongoose unit of work – transactions made easy

https://github.com/tauqeernasir/mongoose-unit-of-work
1•tauqeernasir•17m ago•1 comments

Scale AI's Wang Brings to Meta Knowledge of What Everyone Else Is Doing

https://www.bloomberg.com/news/articles/2025-06-16/scale-ai-s-alexandr-wang-brings-meta-his-extensive-competitor-knowledge
2•gametorch•17m ago•0 comments

The Impact of Return-to-Office Mandates on Equity Analysts

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5206058
1•petethomas•18m ago•0 comments

Show HN: Chawan TUI web browser

https://chawan.net/news/chawan-0-2-0.html
6•shiomiru•18m ago•0 comments

The Modern Observability Roundtable: AI, Rising Costs and OpenTelemetry

https://thenewstack.io/the-modern-observability-roundtable-ai-rising-costs-and-opentelemetry/
1•oavioklein•20m ago•0 comments

Fugento: How an AI and a Human Built a Magento 2 Assistant Together

https://medium.com/@saccitizen/the-tale-of-fugento-how-an-ai-and-a-human-built-a-magento-2-assistant-together-f1681ab83c60
1•Matsonian•23m ago•0 comments

Logarithms of algebraic data types for property-based testing (2022)

https://dl.acm.org/doi/abs/10.1145/3498726
1•fanf2•25m ago•0 comments

Penn State boffins create silicon-free two-dimensional computer

https://www.theregister.com/2025/06/16/penn_state_boffins_2d_cmos/
3•moose44•27m ago•0 comments

How Do Olympiad Medalists Judge LLMs in Competitive Programming?

https://arxiv.org/abs/2506.11928
1•npalli•29m ago•1 comments

Levels.fyi's Over-the-Air Updates on Mobile App

https://www.levels.fyi/blog/over-the-air-updates.html
1•zuhayeer•31m ago•0 comments

phkmalloc

https://phk.freebsd.dk/sagas/phkmalloc/
2•matt_d•32m ago•0 comments

Flashes of lucidity before death: The debate shaking up neuroscience

https://english.elpais.com/science-tech/2025-06-16/flashes-of-lucidity-before-death-the-debate-shaking-up-neuroscience.html
2•domofutu•32m ago•0 comments

Show HN: Zero-config AWS CUR → interactive cost dashboard (DuckDB and Rill)

3•adamkabak•32m ago•0 comments

Improving Continual Pre-Training Through Seamless Data Packing

https://arxiv.org/abs/2505.22018
1•PaulHoule•32m ago•0 comments

Show HN: Nexus.js - Fabric.js for 3D

https://punk.cam/lab/nexus
9•ges•33m ago•1 comments

FreeRDP 3.16 Released with Better SDL3 Client Support

https://www.phoronix.com/news/FreeRDP-3.16-Released
1•Bender•34m ago•0 comments

People who are 'allergic' to humans

https://www.bbc.com/future/article/20250613-the-people-who-are-allergic-to-humans
2•domofutu•34m ago•0 comments

Denmark tests unmanned robotic sailboat fleet

https://apnews.com/article/denmark-robot-sailboats-baltic-sea-bfa31c98cf7c93320115c0ad0e6908c5
4•domofutu•35m ago•0 comments

Cosmic Dawn: The Untold Story of the James Webb Space Telescope [video]

https://www.youtube.com/watch?v=uSMGENDH_QI
1•namanyayg•36m ago•0 comments

After eighteen years of infertility, an AI tool let a couple conceive

https://www.today.com/health/news/ai-fertility-technology-star-sperm-conception-rcna212591
1•namanyayg•36m ago•0 comments

A better way to turn solar sails

https://www.universetoday.com/articles/a-better-way-to-turn-solar-sails
1•namanyayg•36m ago•0 comments

Amazon Ads and Roku Set Pact Giving Brands Access to 80% of Connected-TVs

https://deadline.com/2025/06/amazon-ads-roku-set-landmark-pact-connected-tv-streaming-1236432615/
3•WaitWaitWha•37m ago•0 comments

Should Wyoming Ranchers Paint Zebra Stripes on Their Cows? Science Says Yes

https://cowboystatedaily.com/2025/06/13/should-wyoming-ranchers-paint-zebra-stripes-on-their-cows-science-says-yes/
1•Bender•40m ago•0 comments

China lays foundation for cislunar infra with spacecraft in novel lunar orbits

https://spacenews.com/china-lays-foundation-for-cislunar-infrastructure-with-spacecraft-in-novel-lunar-orbits/
1•rbanffy•41m ago•0 comments

The AI Arms Race: Deepfake Generation vs. Detection

https://www.securityweek.com/deepfakes-and-the-ai-battle-between-generation-and-detection/
1•Bender•41m ago•0 comments

AlphaOne: Reasoning Models Thinking Slow and Fast at Test Time

https://alphaone-project.github.io
3•hullo•45m ago•0 comments

Matrix Is Cooked

https://blog.cyrneko.eu/matrix-is-cooked
7•sanqui•46m ago•0 comments

Retrobootstrapping Rust for some reason

https://graydon2.dreamwidth.org/317484.html
32•romac•47m ago•6 comments