The best Hacker News stories from All from the past day
Latest posts:
Launch HN: CodeViz (YC S24) – Visual maps of your codebase in VS Code
Hey HN — we’re Liam and Will from CodeViz (<a href="https://codeviz.ai">https://codeviz.ai</a>). We're building a VS Code extension that generates interactive diagrams of codebases, from system architecture down to function call graphs. Here’s a demo where we analyze OpenHands, uv, and webviz: <a href="https://www.youtube.com/watch?v=fgfDXUtWzRk" rel="nofollow">https://www.youtube.com/watch?v=fgfDXUtWzRk</a>.<p>The extension is public if you want to try it on your own repos: <a href="https://marketplace.visualstudio.com/items?itemName=CodeViz.codeviz" rel="nofollow">https://marketplace.visualstudio.com/items?itemName=CodeViz....</a><p>Will and I started CodeViz because we wanted more intuitive representations of software. During our time at Tesla, we encountered a common problem: software engineers spend very little time actually typing code. Most development time was spent navigating convoluted files and building a mental map for each task. At the same time, whiteboard sessions were proof that code could be expressed intuitively.<p>We started with autogenerated technical documentation. Of course, long markdown docs are not a good solution for long files of code. We realized we needed diagrams that (a) help grasp large quantities of code and (b) can be filtered according to the developer’s task. So, we built a graph-based VS Code extension. It generates diagrams directly within VS Code, illustrating connections between functions and providing overviews of system architecture. These visualizations update as code changes.<p>CodeViz appears as a side panel in VS Code with two views:<p>(1) Call graph: as you click on functions, we show a chain of upstream and downstream references. You can navigate your codebase using the call stack and see, in one view, everywhere your functions are called. We generate this call graph using the language servers developers have already installed in VS Code<p>(2) Architecture diagram: we create a C4 diagram of your system, so you can see a top-level view of your codebase and click into the component layer. We were surprised to find that a small fraction of code can generate a very accurate representation of the system. We detect these important files, then use LLMs to build nested architecture diagrams at the container and component level<p>Developers are mainly using our extension to navigate spaghetti code, onboard new devs, and interpret open source repos. We're still figuring out our pricing. Currently, we offer basic features for free, with a paid tier for more resource-intensive tools like detailed architecture diagrams. Open to suggestions on this approach.<p>CodeViz is in active development and our main focus over the next couple of days is to make the call graph much easier to view and navigate. We're continuously working to make it better, so your honest feedback, suggestions, and wishes would be very helpful. Looking forward to hearing any and all thoughts, whether about the current extension, general problem space, or something else!
I'm blocking connections from AWS to my on-prem services
Rust's Ugly Syntax (2023)
Anthropic's Prompt Engineering Interactive Tutorial
SDL3 new GPU API merged
Marketing to Engineers (2001)
Chrome is entrenching third-party cookies that will mislead users
Elasticsearch is open source, again
Bypassing airport security via SQL injection
The secret inside One Million Checkboxes
COSMIC Alpha Released
Google's new pipe syntax in SQL
Sainsbury Wing contractors find 1990 letter from donor
Starting today, YouTube is almost unusable on Firefox
Maker Skill Trees
A dishwasher can make or break a restaurant (2017)
Diffusion models are real-time game engines
Why is the Oral-B iOS app almost 300 MB? And why is Colgate's app even bigger..?
Box64 and RISC-V in 2024: What It Takes to Run the Witcher 3 on RISC-V
U.S. Ambassador says Canadians are consuming 'unhealthy' amount of American news