Well I'm a researcher, so I'm commonly running experiments on lots of inputs. I make scripts to run the experiments that take command line parameters, and then use parallel
to run all of my experiments on all of my inputs under all configurations. It's very nice when you need to try all combos of a bunch of parameters, since by default it'll run with every combination of parameters you give it.
smoredahl
screen
and parallel
are my two workhorses.
Tried out that new metals best effort compilation flag and it stopped evaluating my worksheets :( But still, excited for this feature to get improved!
The "we shouldn't put data in code stuff" is silly. Why do we have Scala worksheets, then? The reason I like and teach Scala is that it's so flexible and meets you where you are.
Reddit refugee here, excited to be a part of this community and hopefully help grow it :)
Curious about anyone's experience with IntelliJ's Scala 3 support these days. I was trying to use it a couple of years ago but I was really struggling with spurious compiler errors. Specifically, I think that IntelliJ didn't have correct support for derives clauses.
Okay! I teach Scala and right now we're using SBT, but it could be nice to offer students an alternative.
Do you use Metals? I tried mill a few months ago and liked the tool itself but couldn't get it to cooperate well with Metals.
Fair enough! For what it's worth, parallel provides a lot of really nice control mechanisms to fine tune how your jobs are scheduled (e.g., only start a new job when there's X amount of memory available), saving stdout and stderr to log files, running jobs on remote hosts, even saving results to a SQL database.