Ammonite-Ops
SDKMan
Our great sponsors
Ammonite-Ops | SDKMan | |
---|---|---|
15 | 159 | |
2,585 | 5,845 | |
0.4% | 1.4% | |
8.5 | 4.3 | |
about 23 hours ago | 1 day ago | |
Scala | Gherkin | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Ammonite-Ops
- RFC: A Path Forward for Ammonite REPL and Scripts in 2023 and Beyond
-
Does ammonite support indent based syntax?
The indent based syntax is only available in Scala 3, you have to download a matching ammonite version from https://github.com/com-lihaoyi/Ammonite/releases
-
Scala Isn't Fun Anymore
That's funny, because this is what I really like about Scala; how quick and easy it is to get a project started.
> sbt new scala/scala3.g8
will just create an empty project. If you don't even want to bother with a project, use use scala-cli or ammonite (http://ammonite.io/) to just start banging out code.
Even the upgrading of a project from Scala2 to Scala3 is a breeze, thanks to very good backwards compatibility of new library releases.
-
No build target could be found
Ammonite is a very good REPL for Scala. You can invoke it with amm and type expressions into it, or load a Scala “script file” whose name ends with .sc into it, or many other things. It’s documented at https://ammonite.io. 2. sbt is the dominant build tool for Scala projects. As others have commented, when you open a folder in Visual Studio Code and try to make Metals “aware of it,” it expects to find a “Scala project” in the folder. A “Scala project” isn’t just Scala source code. See https://www.scala-sbt.org for details. 3. Also be aware that Metals supports worksheets, so you can easily experiment with code in your project interactively, too.
- A Python-compatible statically typed language erg-lang/erg
-
Scala 3 Reflection
Scripting API is quite limited, so the third option. - reuse the ammonite scripts https://github.com/com-lihaoyi/Ammonite or look how this is implemented (using internal compiler API),
-
New to Scala
Your exposure to Functional Programming with Haskell and Clojure suggest you will certainly pick up Scala quickly. With ZIO and cats, you can write robust software quickly. Consider the excellent Coursera Scala course. Get "the Red Book" https://www.manning.com/books/functional-programming-in-scala, and most important, play. Experiment to see how things work. Get https://ammonite.io/
-
Audacity Fork Without Any Sentry Telemetry or Crash Reporting
Here's an example of a smaller project that added telemetry without suffering a fork:
https://github.com/com-lihaoyi/Ammonite/issues/607
-
Scripting with Java – Improving Approachability
Or ammonite - I've ran Gatling performance test from a simple script based on this gist it fetches all the dependencies, compiles and runs the test, producing nice html report..
-
25 years of OCaml
Scala with the Typelevel ecosystem. Stay on the jVM, but have a much more pleasant and robust experience, including a great REPL.
SDKMan
-
Groovy 🎷 Cheat Sheet - 01 Say "Hello" from Groovy
Alternatively, you can use sdkman. A great tool to install your Software Development Kit. The downside is that it only works on *nix systems. So for Widnows users, you will have to use WSL or Cygwin as the official page suggests. It is really simple to use sdkman. after a successful installation, just type those commands into your *nix shell:
-
Java Microservices with Spring Boot and Spring Cloud
To run the example, you must install the Auth0 CLI and create an Auth0 account. If you don't have an Auth0 account, sign up for free. I recommend using SDKMAN! to install Java 17+ and HTTPie for making HTTP requests.
- Criando ambiente de desenvolvimento Java no Windows - sem wsl
-
Installing and managing Java on macOS
Another option for installing Java is SDKMAN!, a versatile tool that’s easy to install and helps you manage multiple versions of Java.
-
Build a Beautiful CRUD App with Spring Boot and Angular
Java 17
-
Authentication for Spring Boot App with Authgear and OAuth2
Java 17 or higher. You can use SDKMAN! to install Java if you don't have it already.
-
Creating a Ktor Server with Gradle and SDKMAN!: A Step-by-Step Guide
Ktor, a powerful web framework built with Kotlin, offers a lightweight and flexible solution for building web applications. In this article, we will guide you through the process of creating a Ktor project manually using Gradle and SDKMAN!. By following the steps below, you'll have a basic Ktor project up and running in no time.
-
First time Linux user
If you have any tips/advice then I'm all ears. I've already modified the dnf.conf with fastmirror and max_parallel_downloads I'm currently not using sdkman because this is my personal machine, so I don't mind always using the latest version OpenJDK. If I ever do need to switch between versions then I'll switch over to sdkman instead.
-
MOOC.fi question - Is there a way to automatically default to JDK 17 to where I don't have to set up an SDK every single time?
For handling your JDK: I highly recommend purging your system of all JDKs/JRMs - get rid of it all - and download SDK (if you're using Windows, you'll need to do this through WSL). This tool manages software development kits very well; switching between JDKs is super straightforward: sdk use .
-
Need Help: Installing OpenJDK-11 on Debian 12
I use sdkman to install java related stuff. Check it out. No root needed.
What are some alternatives?
better-files - Simple, safe and intuitive Scala I/O
jenv - Manage your Java environment
Shapeless - Generic programming for Scala
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
Scalaz - Principled Functional Programming in Scala
jabba - (cross-platform) Java Version Manager
calculator - Windows Calculator: A simple yet powerful calculator that ships with Windows
Homebrew-cask - 🍻 A CLI workflow for the administration of macOS applications distributed as binaries
cats - Lightweight, modular, and extensible library for functional programming.
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
scala.meta - Library to read, analyze, transform and generate Scala programs
asdf-nodejs - Node.js plugin for asdf version manager