slash
slash copied to clipboard
Which is the right version to use?
Hello!
I'm interested in trying out SLASH, but I'm confused what the current version is - on Scaladex, I see 0.1 is the most recent version (https://index.scala-lang.org/dragonfly-ai/slash) but I see 0.101 on main (https://github.com/dragonfly-ai/slash/blob/97d314c91fd57c47456edae88d6e8feb7181ef7d/build.sbt#L13) and on Scaladex under the old vector name (https://index.scala-lang.org/dragonfly-ai/slash/artifacts/vector?pre-releases=true).
Which one should I use?
Thank you!
@willowell
Hi, I'd recommend 0.1, it's the latest.
The docs should also point you at 0.1. I believe that line of code, to be outdated. Versioning is governed by the latest tag (you could track them if you wish), functionality provided courtesy of the excellent sbt-typelevel project.
Do post up in discussions how you get on. Feedback - good or bad, is welcome.
@dragonfly-ai
hey, for now, we disabled MIMA, and the appVersion line appears potentially confusing. If you agree, I'll put up a PR to move the tlBaseVersion to 0.1, and remove the appVersion attribute, which I think I would agree, is potentially confusing.
This is all governed by tags now and until if / when MIMA gets enabled, it's a no-op anyayz...
As of today, 0.2 is the best version to use.
It will require some refactoring, though, because every reference to ai.dragonfly.math has shortened to slash. Also if you used any mutable vector operations, they now return Unit instead of this.
Less significantly, the stream.{Beta, Binomial, Gaussian, LogNormal, Poisson} estimators no longer make any attempt toward concurrency safety. Please feel free to wrap these with a concurrency model of your choice.