• 4 Posts
  • 32 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle




  • Ah! This is a shell pipe! It’s composing several smaller commands together, cool stuff.

    • ls -1 is the grep-friendly version of ls, it prints one entry per line, like a shopping list.

    • head takes a set number of entries from the head of a list, in this case 2 items. negative two, meaning “all but the last two.”

    • xargs takes the incoming pipe and converts it into extra arguments, in this case applying those arguments to rm.

    So, combined, this says “list all the .dump files, pick the first two, all but the last two, and delete them.” Presumably the first are the oldest ones and the last are the newest, if the .dump files are named chronologically.




  • Like many open source games, it has that distinctly ‘alpha’ feel to it right now, but I do enjoy NodeCore on occasion. It’s a zen minimalist block game with a unique diagetic crafting system. Instead of a traditional “recipe book” or “crafting grid”, you produce new materials through in-world transformations. For instance, to make glass, you have to surround sand with fire, and to control fire, you basically want to build a deliberately-shaped dirt or stone pit… the whole thing feels a little like minecraft and a little like a sand physics sim or cellular automata.