benjaminedwardwebb

joined 1 year ago
 

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.

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.