Hacker News new | ask | show | jobs
by tonyarkles 14 days ago
As a more general idea, I’ve had pretty great success using LLMs to write “doctor” scripts. Similar idea to what’s going on here, instead of repeatedly giving LLMs raw data files from hardware and having it find the same issues over and over, I’ve started being careful to drive the lessons learned into automated test scripts and just instinctively running them against telemetry files every time someone sends me one, whether or not there’s something wrong (or they’re just looking for some data analysis). It’s the kind of thing I’ve always wanted to do, but under time pressure would always just knock out 20 lines of numpy code, do whatever analysis or debugging, and then move onto the next fire.
2 comments

This was kind of the idea I had behind pcapsql[1]

We end up having to do a bunch of pcap analysis at work, and rather than having to write a bunch of one off python scripts, a colleague had expressed that if we could just use sql, we could more easily add/share various checks analysis etc, and we’ve built up a little library of easily shareable SQL statements That, and adding the ability to join with other data sources via DuckDB has been a fun project.

Thing is - LLMs are really very good now, and there is always the temptation to just throw it the pcap file and say “find the problem” (as long as tokens are cheap).

[1] https://github.com/mtottenh/pcapsql

Same here. Another upside is that I have a common "library" of the solved problems (ie: tools), my sessions / project reuse. It dramatically improves the perceived results and quality (I get to what I need in a fraction of the time it took me on the beginning)