Calendar 2025-06-11
Category category.notes
Language en

A problem with GroupedOpenApi

Yesterday I had a problem with GroupedOpenApi in my Spring Boot 3 project. It seemed like Swagger was completely ignoring it. Swagger was working fine, it used settings provided by OpenAPI bean, but it wasn’t dividing my APIs into any groups.

Calendar 2024-03-17
Category category.notes
Language ru

Обновление блога

Мне нравится писать чейнджлоги. В процессе их написания появляется приятное чувство от ощущения проделанной работы. Сравнение двух состояний - до и после. Вот так было, вот так стало. Вот столько-то поменялось. Вот настолько-то стало лучше. Каждое изменение, я считаю, должно быть отмечено в журнале изменений, зафиксировано, и опубликовано. Даже если их немного. В любом случае, вести чейнджлог лучше чем не вести.

Calendar 2023-06-14
Category category.notes
Language en

Reaching maximum filename lengths

I ran into a java.io.FileNotFoundException: … (File name too long) error one day, and it turned out to be much deeper than it seems. That’s why I started exploring it, and wrote this note.

Calendar 2023-01-24
Category category.notes
Language en

Strange NPE in Java ternary condition

One day my coworker sent me a code snippet with a simple question “What will be written in test2 variable?”:

1
2
Boolean test = null;
Boolean test2 = (true) ? test : false;
Calendar 2023-01-18
Category category.notes
Language en

Some tips about Material Design Icons

MDI (Material Design Icons) is a popular icon library. It is very useful for both designers and developers: the library contains hundreds of free and ready-to-use icons, designers can use a Figma plugin and developers can use NPM packages like MDI font. Even if you don’t want to see the whole library as part of your project, you can import icons as images.

Первые шаги с Jekyll на GitHub Pages
Calendar 2023-01-12
Category category.articles
Language ru

Первые шаги с Jekyll на GitHub Pages

В процессе работы мне часто приходится ресерчить, искать ответы на какие-то вопросы, собирать вместе информацию из разных источников, изучать что-то новое. Из полученных таким образом знаний составлялись заметки, чтобы потом к ним можно было вернуться. В какой-то момент я понял что хочу иметь не просто записную книжку, а блог, в котором я мог бы тренироваться в оформлении своих заметок и мыслей в статьи.

From Mercurial to Git
Calendar 2022-02-14
Category category.articles
Language en

From Mercurial to Git

Our team maintained a large Mercurial (Hg) monorepo containing 3 significant projects and several smaller ones, with an 8-year history and approximately 30,000 commits.We set a goal to split the monorepo into multiple separated repositories and migrate each to Git with saving all the history. The goal looked unreachable, but the solution appeared to be quite simple.

Calendar 2021-11-18
Category category.notes
Language en

Two different spaces

While working on the reporting system, I needed to pass a test by comparing .xlsx spreadsheets built with our system with those created with BIRT. Reports were compared by scripts, row-by-row. I identified and resolved all apparent differences, but the test was still failed.

Calendar 2020-08-28
Category category.notes
Language ru

Будьте внимательны с var

В lombok уже достаточно давно, а так же в самом языке Java начиная с 10 версии существует возможность объявления переменных через var. Это позволяет не указывать тип явно, а позволить компилятору определить его автоматически. Так же, в lombok, Kotlin и Scala (но не в самом Java) есть его “финализированный” собрат val.