home.social

#scala — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #scala, aggregated by home.social.

fetched live
  1. I may change my tune on significant indentation in #Scala 3.

    I've witnessed GPT 5.6 Luna (high) refactoring code, then struggling to balance the parens & braces, making a complete mess. Understanding & modifying the structure of your program have different challenges...

  2. Having some difficulties working on Mill lately. IMHO it developed in the wrong direction. Instead of being modular, it became a large mono-repo of an fake ecosystem. And now the `main` branch has changes I don't agree with but blocks any further development (by me). I'm still struggling how to deal with it. It's no longer fun. I really miss working on it.

  3. I wanted to try Scala.

    Now I have OpenJDK, scala-cli, scala, sbt, bsp, bloop, metals, metals-emacs, and scala-mode which I hooked up with eglot. But somehow my Emacs crashes all the time and scala-mode indents wrong. Can scala-mode not handle Scala 3 syntax? Do I have some setting that is incompatible with this mode? 😕

    All I did was copy this config and run sbt init. 🤷🏻‍♂️

    scalameta.org/metals/docs/edit

    #Scala #ScalaLang #Emacs

  4. Tiko is recruiting #scala backend engineer.

    “We are open to remote work for this position and will happily accept applicants from anywhere in Portugal, Kenya and South Africa.”

    Check the details at triggerise.bamboohr.com/career

    #GetFediHired #RemoteJobs #jobs

  5. Similar to #scala in a lot of ways.

    The thick arrow and thin arrow is something we will also get soon I guess because of the capabilities stuff being worked on.

    The anonymous declarations for errors is something cool too that maybe with a bit of hacking we could approach.

    The error monad being like rust with special syntax is not something I'm sure I like.

  6. The fact that it has an effect system baked in from the get-go is *especially* interesting: verselang.github.io/book/13_ef

    I'm starting to get the sense that it may be Steam Engine Time for first-class effect systems. The idea was almost entirely academic just a few years ago, but seeing this, alongside #Scala gradually getting an (as usual) more-general version of capabilities built in, leads me to suspect that we may only be five years away from effects becoming more "normal" across the programming landscape.

    #programming

  7. 🎩🤡 Oh, look! Another programmer pretending to "innovate" by reinventing the wheel... in Rust! Because nothing screams "cutting-edge" like rehashing #Scala concepts with a side of benchmark obsession. 🛠️🔨
    lordgoati.us/blog/tail-call/ #programming #innovation #reinventingthewheel #Rust #benchmarks #HackerNews #ngated

  8. #FPIndia is looking for #meetup hosts in #Bangalore

    Connect with senior devs and architects
    Showcase your engineering culture
    Engage with the community!

    We need a space for 20 to 40 people and a screen for ~3 hours

    DM or comment!

    #FunctionalProgramming #haskell #elixir #rust #clojure #typescript #scala #purescript #formalmethods

  9. // nerd-mode

    A small step for the humankind, a huge celebration for my inner nerd.  The most beautiful formulation of Fisher's 1922 dilution assay model in the history of humankind has landed 😊.

    A lot has been happening in Probula lately, but chiefly I worked on syntax to allow expressing more complex models, and doing this concisely and elegantly.  The picture shows Fisher's (1922) dilution assay model.  The first non-trivially-structured model that I implemented in Probula; also one whose structure is parametric (depends on the number of dilution stages).

    The screenshot shows the entire model, including the inference call. Each line corresponds directly to the piece of math it implements, so the model is almost identical to what McCullagh and Nelder (1989) describe. I think this is amazing. And of course samples very well :) The posterior sd matches Fisher's asymptotic formula to a fraction of a percent.

    I will be writing more about this online soon, and wrapping up a Probula release, before my students hit the topic this term.

    #scala #scala3 #ScalaLang #probula #ppl #ProbabilisticProgramming #Fisher1922 #statistics #glm #keep

    Links: To find this model on codeberg search for FisherIntegrated here https://codeberg.org/wasowski/probula/src/branch/main/doc/example/Fisher1922.scala

    //nerd-out

  10. Rust Book for Scala Developers, Chapter 7: packages, crates, and modules

    rossabaker.com/blog/rust-book-

    #Rust #Scala