RSSAmplifier

Blog

dan lamanna

Recent content on dan lamanna

danlamanna.comRSS feed ↗5 posts

Latest posts

Persisting terminal sessions with zmx

I just learned that persisting terminal sessions can be done without using tmux, screen, et al. You might not need tmux compelled me to try zmx and so far it’s been seamless. The readme even has a comparison to similar tools 🤩. The author also taught me about autossh! I feel embarassed for not knowing about it until now.

Tools for quickly understanding unfamiliar repos

I’ve recently had to come up to speed with a few new repos rather quickly. scc was useful for counting lines of code. I normally use tokei but scc has complexity estimations that seem to be reasonable when inspecting repos relative to one another. git-quick-stats was useful for quickly figuring out who are the key contributors to a repository and how active it is. I was hopeful for git-fame…

REST in Peace? Django's Framework Problem

The Django REST Framework maintainer has removed access to thousands of community discussions, leaving even other maintainers pleading for read-only access. What does this mean for Django’s ecosystem sustainability?

Building Search DSLs with Django

Search capabilities span from free text (think Google) to raw data access (think SQL). In between, there’s a wide range of options for narrowing a search that are often provided with UI elements. But what if there are too many fields for a UI to search on? Search DSLs can give a user more granular access to searching without exposing an overly complicated interface. GitHub issues provide a…

GNU Parallel for Serial Execution

It’s sometimes useful to use GNU Parallel for running things serially. Why? Because it remembers what it’s done, it can pick up where it left off, store output per job, and a ton of other stuff. Example: re-encoding videos Input file: some-video.mp4 some-other-video.mp4 ... Command: parallel --arg-file input.txt ffmpeg {} -o {.}.reencoded.mp4 This will run ffmpeg on every line of input…