#habr #completablefuture
And here is the first 🥇 article in english on HUBR with code examples.
You are welcome to join for comments if you like.
There are some current project interesting situations with code, which are still not posted. So in near future plan to write about it.
https://habr.com/en/articles/735126/
And here is the first 🥇 article in english on HUBR with code examples.
You are welcome to join for comments if you like.
There are some current project interesting situations with code, which are still not posted. So in near future plan to write about it.
https://habr.com/en/articles/735126/
Habr
Run ForkJoinTask via custom ForkJoinPool in CompletableFuture sauce
And the sauce of CompletableFuture turns out to be "asynchronous". In one of the tasks on the project, I had to wrap the ForkJoinTask collection in CompletableFuture for asynchronous execution and...
👍1
#generics #capitallettersjam
Have several generic type parameters in class?
Then you should better have a look at this article!
It describes the unique "Capital letters jam" technique.
https://habr.com/en/articles/738646/
Have several generic type parameters in class?
Then you should better have a look at this article!
It describes the unique "Capital letters jam" technique.
https://habr.com/en/articles/738646/
Habr
Apply «capital letters jam» for generic type parameters
Typical type parameter? There are such types in Java - called " Generics ". And the point here is that there is a convention for naming generic type parameters WITH ONE CAPITAL LETTER . Generics...
#springreactor #deadlock #flux #mono
My next article is about situation which I faced directly in my project at work. Have a look how call to Mono::block can just break reactive stream with full deadlock.
To be honest I feel my self very interesting when I saw how execution work for unlimited time and NOT STOP!
It is official BUG which registered in Spring Reactor project - be careful!
https://habr.com/en/articles/741464/
My next article is about situation which I faced directly in my project at work. Have a look how call to Mono::block can just break reactive stream with full deadlock.
To be honest I feel my self very interesting when I saw how execution work for unlimited time and NOT STOP!
It is official BUG which registered in Spring Reactor project - be careful!
https://habr.com/en/articles/741464/
Habr
Spring Reactor Mono::block deadlock
And where is the deadlock here? Faced with the situation when calling Mono::block leads to deadlock - in debug I can just see how it stands on Unsafe::park and no more movement at all. Actually this...
👍2
#agile #waterfall
Tired of stupid Agile?
No good and detailed specs?
Frequent spontaneous architecture changes?
Just try well known Waterfall!
https://habr.com/en/articles/743970/
Tired of stupid Agile?
No good and detailed specs?
Frequent spontaneous architecture changes?
Just try well known Waterfall!
https://habr.com/en/articles/743970/
Habr
Agile vs Waterfall by eyes of developer
Go to waterfall?! I have been working in Agile since 2017 in several projects. And I would like to note here a couple of moments from real experience through the eyes of the developer with technical...
👍1
#springjpa #hibernate #converter
Very useful solution, especially when values from database not matches to ENUM field of JPA entity!
https://habr.com/en/articles/747140/
Very useful solution, especially when values from database not matches to ENUM field of JPA entity!
https://habr.com/en/articles/747140/
Habr
Spring Data JPA entity enum converter
Want an entity enum converter!? Faced with situation when had to map STRING VALUE coming from database TO ENUM . The problem happens when value stored in database differs from enum name. And here we...
👍2🔥1
Hello and wish you ☀️ a sunny day.
I plan to record video 🎥 lessons to describe more details on my Habr posts.
Question because of YouTube blocking in Russia in near future. Please answer - what you think about it...?
I plan to record video 🎥 lessons to describe more details on my Habr posts.
Question because of YouTube blocking in Russia in near future. Please answer - what you think about it...?
Anonymous Poll
64%
VK Video
36%
Rutube
0%
Other - please write ✍️ in comment
Java основы. 1 Урок - язык Java и среда разработки
https://vk.com/video-221759623_456239053
https://vk.com/video-221759623_456239053
VK Видео
Java основы. 1 Урок - язык Java и среда разработки
#java #idea #story #javastory Инструкции - vk.com/video/playlist/-221759623_4 Telegram - https://t.me/notes_about_java VK - https://vk.com/donut/notes_about_java Инструкция по установке системы Linux Mint - https://pingvinus.ru/note/linux-mint-install Скачать…
👍7
Инструкции. Как отблагодарить и поддержать автора?
https://vk.com/video-221759623_456239070
https://vk.com/video-192668858_456239033
https://vk.com/video-221759623_456239070
https://vk.com/video-192668858_456239033
VK Видео
VK Donut для донов
Watch VK Donut для донов 25 s from 1 September 2020 online in HD for free in the VK catalog without signing up! Views: 3795783. Likes: 548.
👍2🔥1
Какая версия Java в вашем проекте? JDK version?
Anonymous Poll
30%
8
10%
11
30%
17
10%
21
7%
Другая, напишу в комментариях.
13%
А что это??
❤2
Какая опасность ждёт в методе IdentityHashMap.remove(key, value) до 20 джавы?
Final Results
18%
Да все нормально там!
6%
Метод remove(key, value) ошибочно удаляет все элементы из мапы.
53%
Метод remove(key, value) ошибочно сравнивал аргумент value со значением в мапе с equals.
24%
В классе IdentityHashMap нету такого метода.
👍4
Как кратко можно охарактеризовать JVM (Java Virtual Machine)?
Anonymous Quiz
15%
Это набор инструментов для Java разработки. В него входит JRE и JVM.
37%
Это часть JDK, которая представляет среду выполнения и предназначена для запуска Java-приложения.
44%
Входит в состав JRE. С помощью виртуализации запускает Java-приложения на любых системах.
4%
Какая-то виртуалка для джавы!
👍4
С помощью ключевого слова "new" в Java создается новый ?? Закончите предложение.
Anonymous Quiz
19%
Класс!
69%
Объект.
6%
Переменная.
6%
"new" вообще-то используется в присваивании, а не в создании.
👍3
Как получить значение поля объекта? Класс Human, объект girl, поле name.
Anonymous Quiz
6%
59%
29%
0%
6%
Невозможно получить значение объекта girl! Чтобы получить значение, надо обращаться к классу.
❤3👍1