Mastodon: @wally3k@infosec.exchange

Lurks on topics like security, privacy, repair & gaming. Sometimes comments, too.

  • 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle
  • WaLLy3K@infosec.pubtoLinux@lemmy.mlIs anyone using awk?
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    10 months ago

    awk is pretty damn solid. When I was completely rewriting the gravity.sh script from Pi-hole about six years back, it was easily the fastest for parsing and uniquely sorting content from files with a couple million lines. It made things much more usable on Raspberry Pi Zero hardware, since changing to another language like Python was out of the question.


  • As someone who runs a popular blocklist collection, I’ve come to find that most of the MASSIVE lists are people who collate a whole bunch of lists together and then promote their “one size fits all” solution alongside their donation link. There are very few original high quality ad-blocking lists maintained (where originality is defined as a sizeable amount of unique entries not shared by other lists) and almost all don’t appear to openly discuss the magic sauce behind their lists, outside of the obvious case of user submissions.