Search
Items tagged with: scala
“Choose Boring Technology”
I entirely agree if you want to actually ship. Learning takes a back seat. For me, the boring, reliable, predictable tech is #Scala + FP (mostly Typelevel, Lightbend, SoftwareMill stuff) and PostgreSQL 🤷♂️
Well, I did something.
Written some ramblings about #scala and the syntax/way to write typeclasses.
Just the start. Basically notes to myself, but maybe useful for others eventually.
I should turn this into some blog post or put it into a personal wiki or wtv. But ain't nobody got time for that.
So just a bunch of code, hosted in codeberg (gotta start using it more), with a bunch of comments intended to be read from top to bottom.
That's all folks
codeberg.org/vascorsd/scala3-e…
#fp
scala3-examples/typeclass-1.scala at main
scala3-examples - Some scala3 code examples, with some ramblings and exploration of what's possible.Codeberg.org
In general the official #scala API docs are very very lacking and generally suck.
Methods have barely any description on them. There are no examples in most methods to understand them. Important methods and collections lack explanation of their characteristics related to performance, runtime, O notations of each etc. Barely describe where each is more appropriate vs others, etc.
🫣
I was pointed out yesterday to scodec for #scala. It has some important things there that seem very useful and will likely use it.
It's just pretty sad that such a known, useful, stable library has most of the site with incomplete docs, broken links and incomplete released version numbers.
Example:
- incomplete docs: from this on scodec.org/guide/Collections.h…
- scodec.org/api/ scodec-protocols 1.2.0 link broken; versions on the page are not latest and you need to check github
🫣
Jon Pretty wins in court against sexual harassment claims by Scala community
Link: pretty.direct/statement.html
Discussion: news.ycombinator.com/item?id=4…
Martin Odersky's thoughts on "Lean Scala"
What do you think? #Scala
odersky.github.io/blog/2024-04…
Lean Scala
Program code is for communicating between humans, not just for instructing computers. So we strive for code to be lean. Lean code is simple and understandable. It is as concise as possible without losing clarity.Martin Odersky (Language and Code)
I delivered my talk on "Elements of JVM Concurrency" 😸
Link to slides (PDF): alexn.org/assets/pdfs/Scalar-2…
Apache Pekko has left the incubator phase and is now a top-level project.
lists.apache.org/thread/grl5h0…
That's great news! Pekko was created as a Fork of Akka 2.6, right after Lightbend chose to pull a bait-and-switch by relicensing Akka to a non-FOSS license.
I have already switched to Pekko a few months ago, it went very smooth, and I am grateful to everybody involved in making this happen.
#opensource #pekko #akka #scala #java #licensing #apache #foss
Check out the release notes here github.com/scala/scala/release… for details on that and more. 👇
Release Scala 2.13.13 · scala/scala
The Scala team at Lightbend is pleased to announce Scala 2.13.13. The following changes are highlights of this release: Language Support binary integer literals using 0b, as in Java (#10656 by @so...GitHub
#Scala 2.12.19 comes with some extra compatibility for JDKs 21 & 22 and a new `-Yrelease` flag to complement `-release` for working with old Java versions. And of course - bugfixes!
Check out the release notes here 👇github.com/scala/scala/release…
Release Scala 2.12.19 · scala/scala
This release improves compatibility: Support certain Java libraries compiled on JDK 21 (#10675 by @SethTisue) Support JDK 22 in optimizer (by upgrading to ASM 9.6) (#10575 by @Philippus) New -Yrel...GitHub
“Scala's Future”
Gather around, kids, let me tell you two stories from my past in the software industry.
Initial release of http4s-otel4s-middleware:
github.com/http4s/http4s-otel4…
#Scala #OpenTelemetry #http4s #otel4s
Release v0.1.0 · http4s/http4s-otel4s-middleware
Initial release. This is a fork of natchez-http4s-otel, with Otel4s replacing Natchez. It is compatible with otel4s-0.3.x and http4s-0.23.x. New Contributors @rossabaker made their first contrib...GitHub
Since other people are discussing these things, always a good reminder that on #scala using cats-effect library and using #FunctionalProgramming these thing are properly abstracted away nowadays and on daily usage one finally barely has to care at all about it. - typelevel.org/cats-effect/docs…
----
Two kinds of threads pools, and why you need both | Lobsters - lobste.rs/s/k8knw4/two_kinds_t…