News for hackers. Stuff that matters.
Re:Introduction to Pluto.jl by krastanov on Thursday April 29, 2021 @04:47PM (#26986495)
I also do not really get the complaint, but it is along the lines of people wanting to write `julia-pkg install Pluto` instead of `julia -e 'using Pkg; Pkg.add("Pluto")'`. It seems it is a big pet peeve for some people.
Re:Introduction to Pluto.jl by spekcular on Thursday April 29, 2021 @05:52PM (#26987281)
Yes. I agree with this complaint. The REPL is useful in some cases but in general I avoid interacting with it whenever possible. My impression is that workflow is highly task-dependent (perhaps obvious) but there are many of us who just want to write a script, run the script, and repeat.
Re:Introduction to Pluto.jl by simeonschaub on Friday April 30, 2021 @04:15AM (#26990943)
Check out https://github.com/fredrikekre/jlpkg. It does pretty much exactly what you are describing.
Re:Introduction to Pluto.jl by nerdponx on Thursday April 29, 2021 @09:49PM (#26989047)
The `-e` thing gets very messy quickly if you need to pass non-trivial data from the outside world into the application (have you ever tried to "parameterize" a Sed script?). It also doesn't compose well with other CLI tools.

I think these are two perfectly reasonable things to be annoyed by.

Re:Introduction to Pluto.jl by chillfox on Friday April 30, 2021 @02:21AM (#26990351)
Thanks for the example.

As someone who has never used Julia... Wow, that looks exceptionally painful compared to most other modern languages.

Re:Introduction to Pluto.jl by krastanov on Friday April 30, 2021 @03:20PM (#26998032)
The package manager that comes with Julia is actually way better than what is available in python, and it has an unmatched "foreign language dependencies" support. It just happens to be mostly used from the REPL, not the command line (hence the execute -e flag above).