X Bookmarks — 2024 KW41: 20 Lines of Bash That Replaced Datadog

October 10, 2024

|bookmarks

by Florian Narr

X Bookmarks — 2024 KW41: 20 Lines of Bash That Replaced Datadog

@kkyrio — 20 lines of bash for instant error alerts, no Vercel, no Datadog

Goodbye, Vercel. Goodbye, Datadog.

🙋‍♂️Hello, 20 lines of bash. 🚨 Instant alerts on your phone when your service logs an error.

Free, simple, and effective.

Smart, because the 20-line version probably covers 90% of what most small-to-medium services actually need from Datadog. The pitch is right: you don't need a $600/month observability platform to get notified when something breaks. A tail -f on the log, a grep for ERROR, and a curl to your notification endpoint of choice. Worth reading the actual script before committing — "free" often means "works until your log format changes" — but the principle is solid.


@thatstraw — Bash operators decoded: (), {}, $(), $(()), ${}, [], [[]]

Bash cheat sheet: (), {}, $(()), $(), ${}, [], [[]] what are they?

Honestly just saved this to not have to google it again. The [[]] vs [] difference alone has bitten me in enough shell scripts to make this worth bookmarking — [[ is a bash builtin and handles spaces in variables without quoting gymnastics, while [ is POSIX sh and will surprise you. The $(()) vs $() distinction (arithmetic expansion vs command substitution) is the other one that trips people up. Having these in one place is useful.


@AIBuzzNews — NotebookLM getting attention

This blows my mind!

NotebookLM is the most impressive AI tool I've seen since ChatGPT.

From students to professionals, it's a game-changer for everyone.

The enthusiasm here is a bit much, but NotebookLM is genuinely interesting — it grounds responses in documents you upload and cites its sources, which makes it more useful for anything research-heavy than a default LLM chat. The Audio Overview feature (turns your docs into a podcast-style conversation) is the thing that apparently got a lot of people's attention around this time. Useful if you have a pile of PDFs you want to actually internalize.