Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BE
benwebb @sh.itjust.works
Posts 1
Comments 4

native binaries from Scala with sbt, sbt-native-packager, graalvm, and nix flakes

codeberg.org nix-graalvm-scala-example

build native binaries from Scala with sbt, sbt-native-packager, graalvm, and nix flakes

Hi there! Sharing a little example project I put together a while back that builds native binaries from Scala code using sbt, graalvm, and nix.

It's dead simple and merely glues together the different technologies involved. But maybe a nix-curious Scala developer stumbling on this community will find it interesting as a template to copy. It relies on https://github.com/zaninime/sbt-derivation, which has worked well in my very limited usage of it.

1
[Discussion] Vote mechanics
  • I like the idea of using lemmy's builtin voting mechanism.

    I think for yes or no voting questions, it would be simplest to express all options with a single comment that is an affirmative statement on whatever is up for vote. Then each user action (pressing the upvote button, pressing the downvote button, or reading the post and pressing no button) maps exactly onto the vote a person casts.