Sorting a Java 8 stream and notes on time-based comparison

I have created an article on Codementor.io about SQL-like sorting of Java 8 streams based on object properties and added some notes on my solution where I used comparison based on LocalDateTime.

You can find the article here: https://www.codementor.io/ghajba/sortring-a-java-8-stream-and-notes-on-time-based-comparison-54b30uy6n

Happy reading! and do not forget to give a start to my article at Codementor! 😉

Python vs JavaScript

It’s a co-authored article where I give a birds-eye-view introduction to both JavaScript and Python with my opinion which one I prefer over the other.

You can read more about it here: http://www.discoversdk.com/blog/python-vs-javascript

Feel free to comment and start a discussion!

JavaZone videos

Recently I have encountered an URL on Vimeo which contains all the JavaZone videos available.

At Christmas this year I have created a simple scraper to get all the videos into one site to make searching through them easier without using a search on Vimeo or paging through all 1044 videos.

The result is available at my GitHub repository.

If you look carefully you will see that some videos are not English. Currently there is no way to filter them out.

I wish you with this “goodie” a happy new year!

Web Service client with Spring

I have encountered a task where we had to create a website client to send data to our web-service to enable bulk data import for testing purposes. In this article I will show you how you can create your own client with Spring — without any Spring Boot requirements.

Continue reading