def check_logs(iocs, log_lines):
hits = []
for ioc in iocs:
for line in log_lines:
if ioc in line:
hits.append((ioc, line))
return hits
def check_logs(iocs, log_lines): hits = [] for ioc in iocs: for line in log_lines: ...

def check_logs(iocs, log_lines):
hits = []
for ioc in iocs:
for line in log_lines:
if ioc in line:
hits.append((ioc, line))
return hits
Read the original article and join the discussion on Dev.to
Read on Dev.to


ExecCritic found that weak generated tests reduced repair success. A runnable Python example shows h...


Step-by-step: moving a FastMCP server to the MCP Python SDK 2.x — what broke, what changed, what did...


Serving Gemma 4 E2B q4_0 through llama.cpp on one laptop, twice: CPU-only and on a 2021-era 4 GB GTX...


The Nano Banana 2 Lite MCP server from July, updated: FastMCP is now MCPServer, google-genai 1.x get...


A 5/5 mutation score missed a regression. A ninth candidate then exposed why a redundant-looking tes...


Hello again, fellow Rustaceans, Pythonistas in denial, and the three people on earth who genuinely.....