No file found
“gandalf-” isn't a valid GitHub username.
Not anymore you mean. It was 12 years ago and those accounts still exist123 karma · joined April 7, 2015
No file found
“gandalf-” isn't a valid GitHub username.
Not anymore you mean. It was 12 years ago and those accounts still existThe main ones are:
https://diving.anardil.net/ - Scuba diving picture gallery; organized by timeline, common name, taxonomy, and more
https://dnd.anardil.net/ - Artifacts from my groups' D&D games
https://pirates.anardil.net/ - Pirate insult generator
https://alchemy.anardil.net/ - Morrowind (TES 3) alchemy calculator
Where simplicity conflicted with compatibility, I've chosen the former so far. Targeting the BSD options and behavior is another example of that. The primary goal is to feel out the data flow for each utility, rather than dig into all the edges.
cut comes to mind as a difficult one. In C, you can just hop around the char buffer[] and drop nulls in place for fields, etc before printing. You could go that way a Data.Array Char, but that's hard to justify as functional.
The other advantage is just deferring IO. For instance in split or tee, you could decide that you need 500 output files and open all the handles together in order to pass them to another function that will consume them. I'd squint at someone who wrote `void process_fds(int fds[500]);`, but here it doesn't matter.
cut comes to mind as an example, slicing and dicing lines into fields quickly without a ton of copies isn't easy. Using Streaming.ByteString generally makes a huge difference, but it's extremely difficult to use unless you get can your mind to meld with the types it wants. Picking it up again months later takes some serious effort.
D&D, tech, and scuba diving!
I implemented an optimizing interpreter in Bash[1] on a plane ride, and it's still one of my favorite pet projects.
Some interesting sub-sites
https://www.anardil.net/ My blog on programming and CS projects
https://diving.anardil.net/ Scuba diving pictures + taxonomy + game
https://timelapse.anardil.net/ Raspberry Pi timelapse videos since 2019
https://sensors.anardil.net/ Raspberry Pi temperature sensor plotting
https://www.anardil.net/2018/dynamic-shell-scripting.html (self plug)
The site is completely static, served from a Nginx reverse proxy to Digital Ocean Spaces
Is this project still active? Are there some features you'd like help developing?
Disclaimer: I work on Isilon
https://www.emc.com/collateral/hardware/white-papers/h10719-...
You decide the structure and the files, so you can throw it all in git to make it accessible anywhere.