3 ms·
Fhtagn – A tiny CLI programs tester written in Awk
- sn41 3y agoWell the entire command should be: Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn On a serious note: Is this similar in functionality to "expect" ? Edit: corrected that expect is not a gnu project, thanks for the correction.
- andrewshadura 3y agoExpect is not GNU.
- pmarreck 3y agoPardon my ignorance, but what is the significance of it not being GNU?
- misterfifths 3y agoOh hey, I took a stab at rewriting tush a few years ago: https://github.com/misterfifths/slightish https://github.com/misterfifths/slightish Ruby though, not awk :)
- mehulkar 3y agoI've been using https://www.prysk.net/ https://www.prysk.net/ for the past few months, and I really like the simplicity of running a programming and using standard tools to validate the output and any system changes. Here's a bunch of tests in the turborepo codebase if anyone is interested https://github.com/vercel/turbo/tree/main/turborepo-tests/integration/tests https://github.com/vercel/turbo/tree/main/turborepo-tests/in...
- cryptof4una 3y agoThe Call of Cthulhu is a fantastic piece. But what's your thought process around, reconciling Lovecraft's views on race, with naming your product after his work? Why does he get a pass in tech/internet culture?
- Cthulhu_ 3y agoSomething something separating the artist from the art; one can appreciate the mythos and subculture without the racism. (Also yes I'm a bit biased)
- 082349872349872 3y agoConsidering the genre of the art is "eldritch horror", it's probably simpler to just lump in the artist (fittingly, for having conceived such a demon-haunted world?) as part of that from which the audience recoils in fear? (eg, Major Gowen from Fawlty Towers definitely gets a pass, although he was intentionally written to be the butt of the comedy) As for the mythos being larger than the originator: anyone read Winter Tide?
- Lacerda69 3y agoNice bait but ill bite: While HP created Mythos its much bigger than the individual and its views. Tolkien also had lots of questionable views and we can separate his work from the invidual beliefs. (btw also true forprobably every artist that ever existed as well)
- mbork_pl 3y agoOut of curiosity: what do you consider JRRT's "questionable views"?
- Lacerda69 3y agoI mean I personally don't consider them questionable (probably should have worded that differently), but if you want to go down that rabbit hole, this pretty much sums it up https://en.m.wikipedia.org/wiki/Tolkien_and_race https://en.m.wikipedia.org/wiki/Tolkien_and_race Also emphasis on classism, divine rights of kings, few female characters etc.
- Hendrikto 3y agoWow, this is pretty far-fetched.
- Xen9 3y agoC'thulu will be released from his eternal sleep, rolling.
- xaduha 3y agoNever heard of tush, but I've used cram for a while. I think tools like that are good for some stuff e.g. unix pipes, but complexity catches up with you very fast if you try to use them for something non-trivial. https://bitheap.org/cram/ https://bitheap.org/cram/
- pmarreck 3y agoI wrote something like this but in Bash https://github.com/pmarreck/tinytestlib https://github.com/pmarreck/tinytestlib but since this accomplishes my own design goals of being able to assert on all 3 things at once (stdout, stderr, return/exit code), and since I have a thing for Awk, and since you can also embed this in a Markdown, I kind of like this better One enhancement request would be adding a ">" to continue lines