Category Archives: Programming
Sometimes You need to check if You really use all modules specified in package.json. I wrote
Functional error handling in Scala alvin February 13, 2017 – 11:08am Here are a few nice blog posts on functional error-handling in Scala: – Easing into functional error handling in Scala – How do I error handle thee? – Designing … Continue reading
Java 8 has rich possibilities to process the collections. One of them is stream. The main goal of stream, as I see it, is changing of programming paradigm: from “how to do” to “what to do”. Focusing
Java 8 suggests nice ways to create maps from stream. You can see some code examples on GitHub: https://github.com/ysden123/ys-pjava/blob/master/basics/src/main/java/com/stulsoft/pjava/basics/stream/CollectExamples.java
Java 8 gives flexible ways to perform asynchronous tasks. One of a such ways is usage of CompletableFuture.
Simple example shows how to pass a function to a method. The function doesn’t have argument and doesn’t return a result.
I wrote on Scala a simple HTTP server using Akka. The example demonstrates the usage of the low-level server side API. First release contains one example with using synchronous request handling. Example shows how to return HTML page from a file (static page). … Continue reading
Problem Sometimes it is necessary to check your npm module with installation. It means that you have to publish the module on npm server and then to check new version of the module. If new version of the module has a bug … Continue reading