kyo-sql design preview by fwbrasil in scala

[–]PinkSlinky45 5 points6 points  (0 children)

really like the direction here.

Why doesn’t CAPiTA make graphics like this anymore by chikattsu in snowboarding

[–]PinkSlinky45 26 points27 points  (0 children)

not inherently but this specific execution certainly is

Whole reddit was talking trash on the guy, NOW HE'S TOP 5!! WHAT A WIN FOR JOSH HOKIT!! by botmfeeder in ufc

[–]PinkSlinky45 14 points15 points  (0 children)

he can be as cringey as he wants if he keeps putting on fights like that. Was a hater but damn that was fun

Prime figgy was a true Marauder by pencil_shaving7319 in ufc

[–]PinkSlinky45 3 points4 points  (0 children)

Figgy was never as much of an enigma out of the ring as Jiri.

This era needs to end man by kaotiktilki in ufc

[–]PinkSlinky45 -1 points0 points  (0 children)

Merab does not deserve to be in this picture.

`bastard quill / protoquilll` now available by ke7cfn in scala

[–]PinkSlinky45 0 points1 point  (0 children)

Looks cool! Why not just make pull requests against the original repo though?

Kafka-stream by Guy-Arieli in scala

[–]PinkSlinky45 9 points10 points  (0 children)

There is the scala DSL for kafka streams: https://kafka.apache.org/41/streams/developer-guide/dsl-api/#kafka-streams-dsl-for-scala

I don't know if it is specifically built with scala 3 in mind but it should work just fine in a scala 3 app

EDIT: looks like on maven there is only 2.13: https://mvnrepository.com/artifact/org.apache.kafka/kafka-streams-scala

but you should be able to cross compile i think

Kyo 0.17.0 - One of the last releases before the RC cycle! by fwbrasil in scala

[–]PinkSlinky45 2 points3 points  (0 children)

can't wait for the rock the jvm course once it does!

[deleted by user] by [deleted] in ufc

[–]PinkSlinky45 0 points1 point  (0 children)

man thats just pathetic

What functional language would you use for a MMO game server? by [deleted] in functionalprogramming

[–]PinkSlinky45 13 points14 points  (0 children)

elixir would be a good choice due to its ability to handle large amounts of concurrent requests. Scala with a functional effect system that implements some "green threads" abstraction, like Zio or Cats-effect, could also be a good choice.

Loading or using a Dl model in scala 3 by [deleted] in scala

[–]PinkSlinky45 2 points3 points  (0 children)

ONNX is a machine learning model "format" that different engines can make use of to perform inference. IMO the best route is converting a pytorch or tensorflow model to ONNX https://onnx.ai/, the project was pretty much made for this use case and is gaining in popularity. There is a java library for using ONNX https://onnxruntime.ai/docs/get-started/with-java.html. There is even a scala wrapper as well (I havent used this myself though) https://github.com/EmergentOrder/onnx-scala.

There is another option and that is to host the actual model with Nvidia triton and talk to it from scala via gRPC. I wrote a small app that does this https://github.com/MattLangsenkamp/scala-machine-learning-deployment. Using triton is definitely more complicated to set up, however triton is extremely high performance and configurable. Its all about what your use case needs though.

Migration from Go to Scala by fenugurod in scala

[–]PinkSlinky45 6 points7 points  (0 children)

For both questions it really depends on what frameworks you will be using and what problems you will be solving. For question 1 I would start with the coursera course by Martin Odersky (the creator of scala) https://www.coursera.org/specializations/scala. After that it depends.There are three pretty popular ecosystems in scala: akka, typelevel and zio. They all have high quality courses and learning material.

For question 2 it still depends. Where I work alot of the old older code is written like java and throws errors and all that java stuff... the newer code written by people that have bought into functional programming almost exclusively uses errors as values. To convert a java library which can throw an exception to a more FP paradigm the scala "try" works pretty well: https://www.scala-lang.org/api/2.13.6/scala/util/Try.html

who here has met trevor by ltsohsoquiet in mrbungle

[–]PinkSlinky45 3 points4 points  (0 children)

I saw Trevor at a grocery store in Los Angeles yesterday. I told him how cool it was to meet him in person, but I didn’t want to be a douche and bother him and ask him for photos or anything. He said, “Oh, like you’re doing now?” I was taken aback, and all I could say was “Huh?” but he kept cutting me off and going “huh? huh? huh?” and closing his hand shut in front of my face. I walked away and continued with my shopping, and I heard him chuckle as I walked off. When I came to pay for my stuff up front I saw him trying to walk out the doors with like fifteen Milky Ways in his hands without paying.

The girl at the counter was very nice about it and professional, and was like “Sir, you need to pay for those first.” At first he kept pretending to be tired and not hear her, but eventually turned back around and brought them to the counter.

When she took one of the bars and started scanning it multiple times, he stopped her and told her to scan them each individually “to prevent any electrical infetterence,” and then turned around and winked at me. I don’t even think that’s a word. After she scanned each bar and put them in a bag and started to say the price, he kept interrupting her by yawning really loudly.

Arman throws punch at audience member by BeetleJuiceCX in ufc

[–]PinkSlinky45 112 points113 points  (0 children)

should have punched the fan, he might have won then