News for hackers. Stuff that matters.
Re:How to avoid humiliating newcomers: A guide for advanced ... by koala_man on Friday March 16, 2018 @03:22PM (#16603293)
I had this problem as well. The same trivial shell scripting problems came up over and over.

My solution was to write a static analysis tool (ShellCheck) that would recognize them automatically and with enough confidence would even auto-answer. It's gotten way more use than I ever expected.

Haven't made much progress on the plaintext question problem though. Some day!

Re:How to avoid humiliating newcomers: A guide for advanced ... by maxxxxx on Friday March 16, 2018 @06:55PM (#16604558)
Cool! It's also written in Haskell. I always wanted to take a closer look at that language and this project seems just about the right size!
Re:How to avoid humiliating newcomers: A guide for advanced ... by koala_man on Saturday March 17, 2018 @05:22AM (#16606167)
Just be aware that this was my first proglang project as well as my first Haskell project.

What worked well was unit testing and Haskell. What didn't work as well was inventing adhoc solutions instead of standard compiler techniques like DFA/CFG, and not writing more and better DSLs (in the form of monadic APIs) since they're cheap and convenient.

Re:How to avoid humiliating newcomers: A guide for advanced ... by forkerenok on Friday March 16, 2018 @03:32PM (#16603383)
Thank you for the great tool! I use it.