leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
Tom Helmuth 2021-06-19T18:15:11.017700Z

I have a large dataset (2 GB) stored as EDN files and want to write a small library to make it easy to sample randomly from the dataset. I want to make it so you can download the dataset to your machine once along with the library, and then be able to use the library from different projects on the machine. It doesn’t feel like making it a library you can include as a dependency and pulling from Clojars is the right way to go, since that will require pulling copies of the 2 GB dataset for each project that uses it. Is there a way to tell leiningen to use a library from a specified location? Or any other suggestions on a better way to go about this? (I’m not sure if this is the right place for this question, so let me know if it isn’t.)

dpsutton 2021-06-19T19:17:21.018300Z

Data like that seems a poor fit for being encapsulated in a library

dpsutton 2021-06-19T19:17:57.019500Z

Having those files distributed in another way and a library that gives the access you like when provided a local path to the data sounds way more reasonable.

Tom Helmuth 2021-06-19T19:26:00.019800Z

I was starting to think that direction too. Thanks!