Alteration x10's Avatar

Alteration x10

@alterationx10.com

Scala enthusiast. Expert mispeller of things. Things I will likely ramble about: Working on a zero-dependency framework for fun at https://github.com/wishingtreedev/branch and building fun, simple apps with it at https://github.com/wishingtreedev

195
Followers
105
Following
44
Posts
24.08.2023
Joined
Posts Following

Latest posts by Alteration x10 @alterationx10.com

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…

25.02.2025 13:06 👍 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!

07.02.2025 03:13 👍 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

28.01.2025 23:38 👍 2 🔁 0 💬 0 📌 0

Very excited for scalafix integration in scala-cli!

28.01.2025 15:21 👍 1 🔁 0 💬 0 📌 0

Thanks!

25.01.2025 13:25 👍 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

25.01.2025 05:41 👍 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...

25.01.2025 05:36 👍 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?

24.01.2025 04:03 👍 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 😅

07.01.2025 13:57 👍 3 🔁 0 💬 0 📌 0

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

25.12.2024 02:03 👍 1 🔁 0 💬 0 📌 0

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

24.12.2024 22:58 👍 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...

24.12.2024 21:39 👍 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

24.12.2024 15:05 👍 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 😆

17.12.2024 18:43 👍 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.

17.12.2024 18:39 👍 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 🤔

17.12.2024 17:36 👍 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.

17.12.2024 15:44 👍 1 🔁 0 💬 1 📌 0

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

17.12.2024 15:26 👍 1 🔁 0 💬 2 📌 0

Laziness for sure.

26.11.2024 19:53 👍 1 🔁 0 💬 0 📌 0

Very neat!

23.11.2024 20:53 👍 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.

22.11.2024 16:40 👍 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 🤣

22.11.2024 16:32 👍 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.

22.11.2024 13:42 👍 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

22.11.2024 13:25 👍 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

21.11.2024 16:52 👍 7 🔁 3 💬 0 📌 0
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

18.11.2024 12:16 👍 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?

17.11.2024 17:43 👍 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!

17.11.2024 15:30 👍 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?

13.11.2024 21:55 👍 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.

13.11.2024 21:43 👍 0 🔁 0 💬 0 📌 0