snabelen.no er en av mange uavhengige Mastodon-servere du kan bruke for å delta i det desentraliserte sosiale nettet.
Ein norsk heimstad for den desentraliserte mikroblogge-plattformen.

Administrert av:

Serverstatistikk:

363
aktive brukere

#scala

11 innlegg10 deltakere0 innlegg i dag

i'm completely lost in scala building tools. what is sbt server, and what is bloop server? can they coexist? can you compile code through `sbt compile` and see the result in your IDE connected to bloop using metals? if not, what's the way?

#scala#sbt#bloop

Now that I've spend like 2 weeks moving #scala code around, commenting, writing, entering new lines, refactoring, creating multi level ifs and matches and multiple defa inside defs and all that stuff, all using #scala3 whitebased syntax with formatter turned on to write it into that and 4 spaces for ident...

I'm getting so many weird compile errors constantly, scratching my head a lot about why comments moved place, for-comprehesions stopping to work..

I'm tired. I don't think if it's worth.

When I mention that #scala intellij is freaking slow I mean stuff like this. This was a fast autocomplete! Hard to remember to record or even know when a super slow one is coming 😮‍💨. This is like this for everything, constantly.

And this seems a problem, all the time. I have the same experience on different scala 3 versions, using sbt or bsp and on this mac and on another linux machine.

This particular one is a scala cli proj with a 5 files and bsp. Using helix/metals barely any types show up.

Might seem like a tiny #Scala Metals features, but it really makes a difference: the status bar tells you that the code in the module you're currently in won't compile (hence - no new highlighting), because there are errors in an upstream module.

Here, `core-test` won't compile because `core` has errors, but this of course generalises to multi-module projects with long dependency chains, not only tests.

Damn, I had installed #scala from brew and trying to use scala-cli functionality through it like "scala compile ." was extremely slow to the point of bein unusable. I have now removed the sbt and scala I had installed with brew, went with the annoyance of installing coursier, addi g that stuff the the path, installing scala-cli explicitly and sbt and that stuff and now "scala-cli compile ." just flies 🫠😱🥹.

Yet more crazy stuff I have to deal in a stupid macos machine.

Replied in thread

Alright, I am giving this a try.

Checking news (i.e. social media) only once in the morning and once in the evening.

I made it through yesterday that way, even abstained from the phone on the toilet, and I am moderately proud of myself.

It is a bit hard for a #Scala programmer, because we frequently wait on builds to complete. xkcd.com/303/ Huge potential for distraction there. I managed to look only on browser tabs with #Jira and #Gitlab and such.

Let's see about the weekend...

xkcdCompiling

You've heard of #scala language that works on the jvm. You also heard about scala native target to native (C) and interoping with that world side stepping the #jvm...

Now get ready for #clojure (jvm language) and it's target to Cpp.

---

#jank programming language - Clojure/LLVM/C++

"Where jank differs from Clojure JVM is that its host is C++ on top of an LLVM-based JIT*

jank-lang.org/

jank-lang.orgjank programming language - Clojure/LLVM/C++jank is a Clojure dialect on LLVM with a native runtime and C++ interop.

Today, we released Mill 1.0.0

It comes with a lot of new features and many many internal improvements. But we also changed a lot, so make sure to read the Changelog carefully.

github.com/com-lihaoyi/mill/bl

We aim to roll out more 0.12.x releases that support the transition to the newer APIs by providing more deprecation warnings.

Mill is a fast JVM build tool that supports Java, Scala, Kotlin and many other languages. 3-6x faster than Maven or Gradle for common workflows, Mill aims to make your project’s build process perfo...
GitHubmill/changelog.adoc at main · com-lihaoyi/millMill is a fast JVM build tool that supports Java, Scala, Kotlin and many other languages. 3-6x faster than Maven or Gradle for common workflows, Mill aims to make your project’s build process perfo...

I want to be your next #FediHire ! I've been a programmer since 1985 (as a child), I've been an IT professional since 1995 (pulling wires and swapping cards and configuring MS Windows). I graduated from University of Arkansas Fayetteville with a BS in CS in December of 2003. A full resume is available.

I currently require a 100% remote position. I cannot relocate from Cove, #Arkansas. I would prefer W-2 employment with a base salary of at least 130k USD/yr, plus some sort of retirement offering (401k or similar) and healthcare benefits (HDCP + HSA or similar).

I prefer something where I can be a high-performing individual contributor: reading, writing and improving source text the majority of my day, with some time spent knowledge-sharing with other developers -- learning and teaching. I'd like to work with #Haskell, #Purescript, or #Idris as the primary source language. I've previously delivered value in Haskell, #Javascript, #SQL, #Python, #Scala, #Java, #C, and #Cxx among others. I can be productive in almost any language (no PHP, please; I promised myself never again).