Java streams are lazy
We all know how to use lambda expressions in java. But recently, I’ve made horrible mistake by not understanding that java stream API is lazy.
We all know how to use lambda expressions in java. But recently, I’ve made horrible mistake by not understanding that java stream API is lazy.
Last week I’ve spent multiple hours migrating our mining rig from win10 to linux. So this post is a note to myself about the things I did to successfully confugure a mining rig running on linux.
NullPointerExceptions probably are the most popular exceptions faced by any Java developer. As a class, NullPointerException has been in Java since version 1.0 and wasn’t updated after that.
With JDK 14 comes JEP 358 aimed at improving this particular exception. And judging by the enormous amount of frustration NPE has caused developers, this update is a long-awaited one.