all AI news
Semgrep: AutoFixes using LLMs
March 26, 2024, 12:51 a.m. |
Simon Willison's Weblog simonwillison.net
semgrep is a really neat tool for semantic grep against source code - you can give it a pattern like "log.$A(...)" to match all forms of log.warning(...) / log.error(...) etc.
Ilia Choly built semgrepx - xargs for semgrep - and here shows how it can be used along with my llm CLI tool to execute code replacements against matches by passing them through an LLM such as Claude 3 Opus.
Via lobste.rs
ai claude cli code error etc forms generativeai llm llms match semantic shows tool
More from simonwillison.net / Simon Willison's Weblog
Food Delivery Leak Unmasks Russian Security Agents
2 days, 2 hours ago |
simonwillison.net
Quoting Alex Jason, via Adam Savage
2 days, 14 hours ago |
simonwillison.net
No, Most Books Don't Sell Only a Dozen Copies
3 days, 1 hour ago |
simonwillison.net
Jobs in AI, ML, Big Data
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Principal Data Engineering Manager
@ Microsoft | Redmond, Washington, United States
Machine Learning Engineer
@ Apple | San Diego, California, United States