About us
Contact us
WanariLeaks
Posts containing "scala"
Akka JWT with RSA (asymmetric encryption algorithm)
Alex Sükein
2020-10-02
In our previous post, we dived into JWT generation and validation with RSA in Spring. Now let’s see how to do the same in Scala with Akka.
#Akka
#jwt
#rsa
#Scala
Ray Tracing with Akka – Part 4
Gergő Törcsvári
2017-11-07
Where did we stop last time? Read the first part of this series for an intorduction to ray tracing and what I wanted to achieve. Here we created a sphere and a shadow. Read part two for a discussion on creating a plane and letting our objects reflect and refract. Part three has been the most advanced, in here we built...
#Akka
#code
#Scala
#WebDevelopment
#ComputerGraphics
#raytracing
Ray Tracing with Akka – Part 3
Gergő Törcsvári
2017-09-25
Where we left off In the last two posts, we reached the capabilities of a simple ray-tracer. We now have two types of shapes (sphere and plane), we can calculate shadows, reflections and refractions recursively. Before we move onto the more computation-heavy shapes, I am curious about how I could move our computations to separated nodes. So...
#Akka
#raytracing
#ComputerGraphics
#Scala
#code
Ray Tracing with Akka – Part 2
Gergő Törcsvári
2017-08-16
Where we left off In the first episode, we made a really basic (but parallel) ray tracer. It can handle spheres and use diffuse mapping. We made three types of actors, the renderer, who starts the tracing, collects the answers and saves the picture; the scene, who manages the trace requests, gets the closest object...
#Akka
#code
#Scala
#ComputerGraphics
#raytracing
Ray Tracing with Akka – Part 1
Gergő Törcsvári
2017-05-31
About this series Most of the time, when you learn a new concept or a new programming language from a(n) (e-)book, you get the basics. But these are really far from the production-ready code with the new toolstack. The only good way to learn programming (like most of the other things in life) is to practice.
#Akka
#code
#Scala
#ComputerGraphics
#raytracing
The Best Scala Code Formatters and Linting Tools
Gergő Törcsvári
Barnabás Oláh
2017-05-04
Have you ever faced the problem: your PR on github is not merged because you didn’t follow the project style-guide? Or your IDE is reformatting the whole file when you just want to modify one line? We had some of theses problems with our own code-base here at Wanari (most of the time when we...
#code
#Scala
#CodeFormatter
How are Scala Implicits more explicit than Java Generics?
Gergő Törcsvári
2017-04-05
This blogpost will show you how implicits can solve problems arising from/because of type erasure, proving that Scala implicits sometimes are more explicit than Java generics All of these code snippets can be copy-pasted to the REPL. Some of the require-s will fail, those are just to demonstrate the expected work without the need...
#code
#Java
#Scala
How to Write a Custom Protocol for Gatling?
Gergő Törcsvári
2017-02-10
I like to try out new tools and new things, so I decided to loadtest my newly written “simple chat” application to see how AkkaStreams handles load. Starting with load testing, there are some tools out there. The top three are JMeter, Gatling and Tsug. Tsug is written in erlang, and my half year long...
#code
#Scala