When faced with a task of picking a database for a project we need to consider a lot of tradeoffs. Finding and fully understanding the limitations and implications of using each candidate databases is very hard. It’s often the case that some database behaviors, which have huge impact on our use case, are buried deep in the documentation or even require diving into the codebase. For me personally,…
If you own a diesel car chances are you know about issues caused by unsupervised DPF burnouts. Knowing when DPF soot is going to be burned out and what is the current status of burning is crucial for keeping many vehicle components in good condition. Existing solutions for monitoring DPF How can you monitor it then? There are few ways: Having car that can display DPF information by default.…
I recently watched Wade Waldron’s talk “Domain Driven Design and Onion Architecture in Scala” which I found really great. What stood out was Wade’s gift for explaining confusing topics in a way that anyone could understand. Few days later I googled dude’s name and it turned out him and Michael Nash are about to release a book called “Applied Akka Patterns”. I skimmed through the table of contents…
This is the last part where I code a client. Thanks to everyone who watched the series! I know at times it was a bit hard to follow. I’ve made a mistake of coding and trying talk at the same time. It turns out it is a really hard and you cannot fully focus on both. Next time I’m going to do one thing at the time and then merge it in post-production. Code:…
Last part of server side implementation. The remaining piece of the puzzle is client side which is next part’s subject. Code: https://github.com/JakubDziworski/Akka-Streams-Websocket-Game-Server Other parts: Implementing Websocket Game Server with Scala and Akka Streams
Second part of server side implementation. Code: https://github.com/JakubDziworski/Akka-Streams-Websocket-Game-Server Other parts: Implementing Websocket Game Server with Scala and Akka Streams
First part of server side implementation Code: https://github.com/JakubDziworski/Akka-Streams-Websocket-Game-Server Other parts: Implementing Websocket Game Server with Scala and Akka Streams
Learning new language or framework can sometimes be a struggle. Traditional approach is to read documentation which explains the concepts, and provides simple examples. Sometimes that might be enough, but what those documentations are often lacking are some advanced examples and usages in real projects. Coming across a problem which is not described in documentation, most people look for solution…
Many compiled languages include tools (sometimes called REPL) for statements interpretation. Using these tools you can test code snippets rapidly without creating project. Take Scala as an example. Compilation can sometimes take a long time, but using repl each statement is executed instantly! That’s great when you are getting started with the language. Each expression gives you returned value and…