Scala – CSV Reader

Ysden123's Blog

Do you need simple pure Scala CSV file reader? If yes, this is for you

View original post 625 more words

Posted in Photos | Leave a comment

Rainy day on sea

Rainy day on sea

Image | Posted on by | Tagged , , , | Leave a comment

Ayalon Canada Park

New photos from my favorite place in Israel – Ayalon Canada Park.

Continue reading
Posted in Photography, Photos | Tagged , , | Leave a comment

«Nefartiti» в мексиканских мотивах.

via «Nefartiti» в мексиканских мотивах.

Quote | Posted on by | Leave a comment

Scala – CSV Reader

Do you need simple pure Scala CSV file reader? If yes, this is for you Continue reading

Posted in Akka, git, Programming, Scala | Tagged , , , , , , , | 1 Comment

Working with JSON in Scala

  • Scala does not support JSON. You need to use 3rd party library. This post is about my experiments with usage the JSON in Scala with three libraries: Continue reading
Posted in Programming, Scala | Tagged , , , , , | Leave a comment

Spring Boot: How to disable @Scheduled in unit tests

Spring framework exposes a nice feature to schedule some task: @Scheduled annotation. But this features makes very difficult unit test process – all scheduled tasks start work in any unit test where Spring scanning is used. It means  Continue reading

Posted in java, Programming, Scala, Test | Tagged , , , , , , | Leave a comment

Idiomatic Scala: Your Options Do Not Match

Idiomatic Scala: Your Options Do Not Match:

Posted in Programming, Scala | Tagged , , , , | Leave a comment

Types of Observables in RxJava

This is a short reminder about Observable types in RxJava.

Observable is the simplest Observable which can emit more than one value.

Flowable is a Observable which can emit huge numbers of values which can’t be consumed by the Observer.

Single is a Observable which can emit only one value like a response from a network call.

Maybe is a Observable which can emit a value or no value.

Completable is a Observable which has to do some task without emitting a value

Observable type Number of values Handlers
Observable 1 or more onNext, onError or onComplete
Flowable Many with backpressure support onNext, onError or onComplete
Single 1 onSuccess or onError
Maybe 1 or nothing onSuccess, or onComplete, or onError
Completable No values onError or onComplete




Posted in java, Programming, rxjava | Tagged , , , , , , , , | Leave a comment

Vertx: Difference between io.vertx.reactivex and io.vertx.rxjava

Each time, when I return to development with Vertx, I have to decide what package to use: io.vertx.rxjava or io.vertx.reactivex? This is a reason, why I created this post.

io.vertx.rxjava package uses RxJava 1. io.vertx.reactivex package uses current RX extension – RxJava 2.

Posted in java, Programming, vertx | Tagged , , , | Leave a comment