ImageMagick: syntax mess

ImageMagick is a CLI tool used to manipulate images without a graphical interface. It has been around for a long long time, and has been extended along the way. But the syntax is now a mess of inconsistent logic and patterns – like English, but not as bad. If we are just doing an imageContinue reading “ImageMagick: syntax mess”

Julia: pass args to a Julia script

From a terminal, CLI or backticked command in a Julia script, etc, we can…. julia path/to/script.jl arg1 “arg 2” …Then in the receiver script.jl… first_arg = ARGS[1] Base.ARGS captures all the args that are passed in from the command to start the script, as strings. No need to parse or such things. If we wantContinue reading “Julia: pass args to a Julia script”

Design a site like this with WordPress.com
Get started