Advertisement · 728 × 90

Posts by Alteration x10

I’ve had great success lately, and with agent tools that incorporate feedback automatically (like compiler warnings, failures). Personally, I think it’s at a turning point now that more focus is being put on development workflows, than chatting about one source file in particular, etc…

1 year ago 1 0 0 0
Scala code

Scala code

I had been struggling to find the right incantation to automatically make a literal union type from the fields of a case class in #Scala, but I finally worked it out!

1 year ago 4 1 0 0
https://rockthejvm.com/courses/scala-macros-and-metaprogramming

@rockthejvm.bsky.social has released the #Scala macro/metaprogramming course! t.co/JSzxkOWPmM

1 year ago 2 0 0 0

Very excited for scalafix integration in scala-cli!

1 year ago 1 0 0 0

Thanks!

1 year ago 1 0 0 0
Branch Framework A zero-dependency framework for Scala 3 on Java 21+.

The #Scala dogfooding of my library has come full circle! From the library, I used my CLI and Mustache template engine modules to build a markdown based static site generator tool (named blarg)- and now I have replaced mdbook with it for the projects documentation site! branch.wishingtree.dev

1 year ago 3 0 1 0

Wrote a GitHub action for #Scala cli to check for dependency updates, open a PR if there are changes, run the tests, and auto merge/close the PR if the tests pass/fail. (easy to disable the latter, if you just want it to open a PR).

github.com/wishingtreed...

1 year ago 1 0 0 0

Finally stopped being lazy, and updated my handle here to my domain name.

In other news, did you know that if you use the GITHUB_TOKEN, your action to create a PR on dependency updates can't trigger the action to run (on: pull_request) PR tests?

1 year ago 0 0 0 0
Post image

Working on a #Scala Mustache template engine, and I *really* enjoy that I can load up the official spec files, and loop through the tests without writing them out.

It also helped me find a couple issues in my JSON library 😅

1 year ago 3 0 0 0

Oh, that will be nice! At work that's definitely a feature we use all the time (via tapir).

1 year ago 1 0 0 0
Advertisement

Very cool! You have some very nice examples and documentation as well!

1 year ago 1 0 1 0
Preview
GitHub - wishingtreedev/branch: A zero-dependency Scala framework A zero-dependency Scala framework. Contribute to wishingtreedev/branch development by creating an account on GitHub.

I built a layer over top of the java httpserver in my framework github.com/wishingtreed... (it's the spider package/module). The code for this app is here github.com/wishingtreed...

1 year ago 3 0 1 0
HABIT

Still having fun with my zero-dependency #Scala library - I built + deployed my first app with it! It's a good-habit bingo-sticker chart game for kids habit.wishingtree.app Not much much visual style on it yet, but it's a start! Storage is SQLite, frontend is pico css + htmx , deployed on fly.io

1 year ago 5 2 1 0

I mean, it makes plenty of sense, given how everything else is distributed in the ecosystem. Maybe I feel like my small apps aren't worthy of the eternity of maven central 😆

1 year ago 1 0 0 0

😁 I'm going all-in on scala-cli , but even I don't want to pass args through `scala-cli run` all the time. I think the default `scala-cli package` command will even download a JVM, but I could be remembering that wrong - perhaps it will download the appropriate JVM assuming one is already installed.

1 year ago 0 0 0 0

I was thinking this could be a good option as well, but I think that still requires publishing an artifact to central / some repository - which I don’t want to do for an app (but that’s just me, haha). Also, making sure users have/use coursier is one more hoop to jump through 🤔

1 year ago 0 0 1 0

In this context, probably cli apps with no gui. I’ll be deploying things with gui as web apps, and libraries via central. I don’t imagine I’ll have many users anytime soon (or ever 😁), but I believe in lowering the barrier to entry. That’s why I’m leaning to prebuilt apps on GitHub releases.

1 year ago 1 0 1 0
Advertisement

Wondering what's the least effort I should put into making it easy to install #Scala applications built with scala-cli. As a user, would you 1. Download it from GitHub and build it yourself 2. download a pre-built thing from GitHub releases page 3. install from homebrew

1 year ago 1 0 2 0

Laziness for sure.

1 year ago 1 0 0 0

Very neat!

1 year ago 1 0 0 0

That’s certainly nice, though I feel like they are doing a disservice to the project by prefacing “it’s not a build tool” every place they make something 10x easier than sbt. It’s ok to switch tools when the time is right, and starting with “but probably just use sbt” isn’t going to drive adoption.

1 year ago 1 0 1 0

I agree, but doing less with more can often expand your view on simplifying things and focusing on what matters (at the time). Perspective is more important than where the code lives for a short while, imo. scala-cli may be the most powerful “not a build tool” out there 🤣

1 year ago 0 0 0 0

They do not! (Or should not - I’d switch back if they did). Scala-cli also has a neat directive where you can identify a file as only being for test scope, which makes building reusable test components easier.

1 year ago 1 0 0 0

I'm trying a new #Scala code base layout by keeping test and source files together (Thanks, scala-cli!). Maybe it's the novelty, but I think I like this set up - would you ever re-locate your tests in your Scala project?x

1 year ago 2 0 2 0
Preview
Mid-Level Backend Developer Samsung Food is a Food Platform that helps millions of users worldwide find and save recipes, connect with like-minded foodie communities, and save time and money on planning, cooking, and shopping. Y...

We're looking for a Scala Developer — join our amazing team! Fully remote.
whisk.bamboohr.com/careers/103

1 year ago 7 3 0 0
Advertisement
The Scientist and Engineer's Guide to Digital Signal Processing

Very cool article! That’s a very nice summary of novice to master. This is also a handy book, and the chapters are free online www.dspguide.com

1 year ago 1 0 1 0

I'm working on a simple #Scala Actor System for my no-dependency framework project this weekend. It's coming along better than I expected 😆 I built some cool stuff a decade ago with Akka, and have loved the Actor model ever since. What cool Actor things have you built in Scala?

1 year ago 3 0 0 0
A eurorack system from ALM with lots of patch cables routed

A eurorack system from ALM with lots of patch cables routed

Was tempted to get a new M4 MacBook, but then found out ALM just dropped a new system!

1 year ago 2 0 0 0
Preview
GitHub - wishingtreedev/branch: A zero-dependency Scala framework A zero-dependency Scala framework. Contribute to wishingtreedev/branch development by creating an account on GitHub.

Woohoo! More #Scala people have joined the 🦋! A ~month ago, I thought it'd be fun to make a zero-dependency Scala framework (I'm sure it will only ever be used by me, haha), and have been having a blast re-inventing wheels! github.com/wishingtreed... What fun #Scala things have you been working on?

1 year ago 4 1 0 0

Oh, I didn't realize it was something you were working on building! Very cool! So much fun stuff to learn where software meets the hardware.

1 year ago 0 0 0 0