16 May 2024 |
mtomko | sbt ++3 main/Test/compile
[info] welcome to sbt 1.10.0 (GraalVM Community Java 21.0.2)
...
[success] Total time: 0 s, completed May 16, 2024, 10:54:10 AM
...
[error] Expected ';'
[error] Expected any character
[error] ++3
[error] ^ | 17:55:12 |
armanbilge | try ++ 3 | 17:55:26 |
armanbilge | there's a way to make it work, this is how sbt-tl auto-generated CI workflows work | 17:55:50 |
mtomko | it looked plausible then it went south... | 17:56:10 |
mtomko | * it looked plausible then it went south...
[error] Expected letter
[error] Expected symbol
[error] Expected '+'
[error] Expected '++'
[error] Expected 'java++' | 17:56:28 |
armanbilge | might need some quoting | 17:57:01 |
mtomko | interestingly, ++3.3.3 does work but it means I have to update my build node if I change to (e.g. scala 3.3.4), which I'm never going to remember to do. | 17:57:20 |
armanbilge | right, you don't need to do this 🙂 | 17:57:52 |
armanbilge | at least, not if you are on latest sbt | 17:58:12 |
mtomko | 1.10.0 🎉 | 17:58:33 |
armanbilge | https://github.com/typelevel/cats/actions/runs/9056050326/job/24878041954#step:13:1 | 17:58:54 |
mtomko | ah, that does it! | 17:59:22 |
mtomko | thanks | 17:59:50 |
kawaxte | java++... | 18:18:04 |
kawaxte | c++... | 18:18:07 |
kawaxte | oh no | 18:18:08 |
SethTisue#7418 | hahahahaha | 18:24:48 |
SethTisue#7418 | * hahahahaha, 💯 | 18:25:15 |
fel_her | Is a State in sbt immutable? | 19:15:32 |
fel_her | Seems that way | 19:42:45 |
SethTisue#7418 | on phone, but iirc yes | 21:04:28 |
SethTisue#7418 | there’s a lot of ideas in sbt that are straight out of FP. Mark Harrah was also the author of an important series of early blog posts about type-level programming in Scala | 21:06:19 |
| cathy005077 joined the room. | 23:12:47 |
cathy005077 | Redacted or Malformed Event | 23:13:09 |
17 May 2024 |
| gkrastev changed their profile picture. | 08:46:53 |
dmitrii.naumenko | Hello! In IntelliJ Scala Plugin we register special -build modules representing SBT project definition projects. The classpath of that module includes 132 jar files reported by SBT. Those are needed to provide all the ordinary intelligence in IDEA (completion, navigation, etc...) But we started wondering if all of those libraries are supposed to be used by developers. (Context: https://youtrack.jetbrains.com/issue/SCL-22511/Optimize-build-module-libraries) Right now all of them are accessible from IDEA and SBT (see the [comment](https://youtrack.jetbrains.com/issue/SCL-22511/Optimize-build-module-libraries#focus=Comments-27-9820022.0-0)) Maybe you know if any of those jars should be considered an implementation detail and shouldn't be accessible from *.sbt files? | 11:39:38 |
dmitrii.naumenko | * Hello! In IntelliJ Scala Plugin we register special -build modules representing SBT project definition projects. The classpath of that module includes 132 jar files reported by SBT. Those are needed to provide all the ordinary intelligence in IDEA (completion, navigation, etc...) But we started wondering if all of those libraries are supposed to be used by developers. (Context: https://youtrack.jetbrains.com/issue/SCL-22511/Optimize-build-module-libraries) Right now all of them are accessible from IDEA and SBT (see the [comment](https://youtrack.jetbrains.com/issue/SCL-22511/Optimize-build-module-libraries#focus=Comments-27-9820022.0-0)) Maybe you know if any of those jars should be considered an implementation detail and shouldn't be accessible from *.sbt files?
UPD Maybe it can be revised in SBT 2.X. Isolate some implementation-detail class paths entiresi n a separate class loaders | 12:58:59 |
| jamespigden3704 joined the room. | 13:00:59 |
jamespigden3704 | Hi all, I was wondering if anyone would be able to help with an issue we've been facing with build times using sbt?
Basically, while compiling the same project and on machines with similar specifications, we';ve found that using Windows has a substantially slower build time (3-4 times longer) than on Ubuntu despite using the same SBT_OPTS, as confirmed by sbt - verbose:
Using Windows 10 vs Ubuntu 23.10 sbt version is 1.10.0
SBT_OPTS are -Xmx16G -Xss1000M
Has anyone had a similar experience before and found a solution? | 13:00:59 |
| jamespigden3704 changed their display name from _discord_993518126404751401 to jamespigden3704. | 13:01:01 |