Size: a a a

Java/Kotlin and more

2021 March 16

СЕ

Сергей Ермаков... in Java/Kotlin and more
Артём
У меня в объекте там сразу null
Заведи хэшсет, форичем перебор, если нет тру и add если есть false
источник

СЕ

Сергей Ермаков... in Java/Kotlin and more
В один проход все сделается
источник

А

Артём in Java/Kotlin and more
Там делал, да, думал мб другой вариант ещё предложат
источник

СЕ

Сергей Ермаков... in Java/Kotlin and more
Артём
Там делал, да, думал мб другой вариант ещё предложат
Какой другой? В жабе нет искусственного интеллекта, все руками
источник

СЕ

Сергей Ермаков... in Java/Kotlin and more
Артём
Там делал, да, думал мб другой вариант ещё предложат
Задача стоит в сохр порялка отает очевиден - перебор
источник

А

Артём in Java/Kotlin and more
источник

k

kuzznya in Java/Kotlin and more
Кто-нибудь уже пробовал Spring Native Beta? (который вышел несколько дней назад)
У меня сборка просто зависла на какой-то стадии и час ничего не происходило (хотя контейнер вроде бы работал)
Иногда потребление было как на скрине
В статье https://habr.com/ru/post/546870/ было сказано, что сборщику нужно больше 7 Гб, а у меня всего 8, возможно, в этом проблема
источник

AL

Aleksander Lemyagov in Java/Kotlin and more
kuzznya
Кто-нибудь уже пробовал Spring Native Beta? (который вышел несколько дней назад)
У меня сборка просто зависла на какой-то стадии и час ничего не происходило (хотя контейнер вроде бы работал)
Иногда потребление было как на скрине
В статье https://habr.com/ru/post/546870/ было сказано, что сборщику нужно больше 7 Гб, а у меня всего 8, возможно, в этом проблема
А зачем этот Native Beta нужен вообще?
источник

k

kuzznya in Java/Kotlin and more
Aleksander Lemyagov
А зачем этот Native Beta нужен вообще?
Компиляция ahead of time
источник

q

qweqwe in Java/Kotlin and more
Артём
Добрый вечер, есть ArrayList с объектами, в объекте есть поля String codeCountry;
boolean unic;

нужно установить unic в true первому попавшемуся уникальному codeCountry  и сохранить порядок входящей коллекции, как можно рализовать без for?
Пример:
826-true
581-true
826-false
344-true
826-false
так нежелательно писать, но если прям так надо
list.stream().collect(Collectors.groupingBy(Function.identity(), Collectors.counting()))
               .entrySet().stream().filter(e -> e.getValue() == 1).forEach((k) -> {
           k.getKey().unic = true;
       });
источник

AE

Alexandr Emelyanov in Java/Kotlin and more
Aleksander Lemyagov
А зачем этот Native Beta нужен вообще?
Для серверлесс. Но на спринге надо извернуться что бы выгодно его сделать
источник

AL

Andrei Legan in Java/Kotlin and more
Переслано от Andrei Legan
Попытался описать свою проблему максимально детально, помогите разобраться пожалуйста
https://ru.stackoverflow.com/questions/1256513/websocket-stomp-java-spring-boot-server-client-net-c
источник

№T

№1 The Great in Java/Kotlin and more
Вопрос касательно зрелости Spring Web Flux и за и против. Я использую spring cloud gateway, который reactive. Один микросервис вызывает другой через gateway. Сделать ли микросервисы и их security в web Flux или по старому?
источник

NK

ID:0 in Java/Kotlin and more
#job #work #project #java #springframework #jvm
——————————————-
Senior Java Developer (Spring)

My name is Maria and I recruiter! I am reaching out as I think you would be a great match for a new role we have: Senior Java Developer for one of our star projects - Bullet Echo :) We’re a small studio based in Moscow and Barcelona, developing fun and creative games like Cut the Rope, C.A.T.S. or Bullet Echo. Our strengths are high quality, innovation and creativity (no copy cats games!), passion and a great team you can learn from. What’s great about this role is that you would be part of great team who developed an award winning game Bullet Echo https://www.bulletecho.game/ This game got an award for the best competitive game of 2020 from google play.
Responsibilities: Design, implementation, deployment and maintenance of highly-scalable and available game backend components; Contribute to best-practices on reliability and availability; Work as part of a team improving development process and communication and contributing to game design discussions.

Requirements: Excellent Java programming skills – a minimum of 3 years experience with server-side Java, concurrency handling, and distributed systems; Good experience with Linux shell and scripting languages; Database design and implementation skills, and good SQL knowledge; Collaborative mindset and good communication skills in Russian and English; Ability to think clearly under pressure. We aim for minimal downtime in our games, and you are expected to be able to respond to and troubleshoot a wide range of issues in a production environment; Strong self-organization skills.

This role based in Moscow.

Salary - from 300K RUB

What’s great about this role is that you would be part of great team who developed an award winning game. This game got an award for the best competitive game of 2020 from google play.

Does it sound interesting? – Please contact Maria (mvsepp@gmail.com or tg @MariaSepp)




———————————
subscribe to our official channel @fordevelopers

По вопросам рекламы и сотрудничества
(s4s , ads , co-ops) :
https://t.me/joinchat/kDX8Rx4qgbZkNzYy
источник

d

dennis Ig in Java/Kotlin and more
ID:0
#job #work #project #java #springframework #jvm
——————————————-
Senior Java Developer (Spring)

My name is Maria and I recruiter! I am reaching out as I think you would be a great match for a new role we have: Senior Java Developer for one of our star projects - Bullet Echo :) We’re a small studio based in Moscow and Barcelona, developing fun and creative games like Cut the Rope, C.A.T.S. or Bullet Echo. Our strengths are high quality, innovation and creativity (no copy cats games!), passion and a great team you can learn from. What’s great about this role is that you would be part of great team who developed an award winning game Bullet Echo https://www.bulletecho.game/ This game got an award for the best competitive game of 2020 from google play.
Responsibilities: Design, implementation, deployment and maintenance of highly-scalable and available game backend components; Contribute to best-practices on reliability and availability; Work as part of a team improving development process and communication and contributing to game design discussions.

Requirements: Excellent Java programming skills – a minimum of 3 years experience with server-side Java, concurrency handling, and distributed systems; Good experience with Linux shell and scripting languages; Database design and implementation skills, and good SQL knowledge; Collaborative mindset and good communication skills in Russian and English; Ability to think clearly under pressure. We aim for minimal downtime in our games, and you are expected to be able to respond to and troubleshoot a wide range of issues in a production environment; Strong self-organization skills.

This role based in Moscow.

Salary - from 300K RUB

What’s great about this role is that you would be part of great team who developed an award winning game. This game got an award for the best competitive game of 2020 from google play.

Does it sound interesting? – Please contact Maria (mvsepp@gmail.com or tg @MariaSepp)




———————————
subscribe to our official channel @fordevelopers

По вопросам рекламы и сотрудничества
(s4s , ads , co-ops) :
https://t.me/joinchat/kDX8Rx4qgbZkNzYy
@MariaSepp Мария вы если что на связи и будете отвечать на вопросы по вакансии... подтвердите, пожалуйста 🙂
источник

MR

Maria Raudsepp in Java/Kotlin and more
ID:0
#job #work #project #java #springframework #jvm
——————————————-
Senior Java Developer (Spring)

My name is Maria and I recruiter! I am reaching out as I think you would be a great match for a new role we have: Senior Java Developer for one of our star projects - Bullet Echo :) We’re a small studio based in Moscow and Barcelona, developing fun and creative games like Cut the Rope, C.A.T.S. or Bullet Echo. Our strengths are high quality, innovation and creativity (no copy cats games!), passion and a great team you can learn from. What’s great about this role is that you would be part of great team who developed an award winning game Bullet Echo https://www.bulletecho.game/ This game got an award for the best competitive game of 2020 from google play.
Responsibilities: Design, implementation, deployment and maintenance of highly-scalable and available game backend components; Contribute to best-practices on reliability and availability; Work as part of a team improving development process and communication and contributing to game design discussions.

Requirements: Excellent Java programming skills – a minimum of 3 years experience with server-side Java, concurrency handling, and distributed systems; Good experience with Linux shell and scripting languages; Database design and implementation skills, and good SQL knowledge; Collaborative mindset and good communication skills in Russian and English; Ability to think clearly under pressure. We aim for minimal downtime in our games, and you are expected to be able to respond to and troubleshoot a wide range of issues in a production environment; Strong self-organization skills.

This role based in Moscow.

Salary - from 300K RUB

What’s great about this role is that you would be part of great team who developed an award winning game. This game got an award for the best competitive game of 2020 from google play.

Does it sound interesting? – Please contact Maria (mvsepp@gmail.com or tg @MariaSepp)




———————————
subscribe to our official channel @fordevelopers

По вопросам рекламы и сотрудничества
(s4s , ads , co-ops) :
https://t.me/joinchat/kDX8Rx4qgbZkNzYy
Всем привет, я на связи и готова ответить на вопросы)
источник

AE

Alexandr Emelyanov in Java/Kotlin and more
№1 The Great
Вопрос касательно зрелости Spring Web Flux и за и против. Я использую spring cloud gateway, который reactive. Один микросервис вызывает другой через gateway. Сделать ли микросервисы и их security в web Flux или по старому?
1. Web Flux зрелый
2. Почему один сервис вызывает другой через гейтвей? Вы не ошиблись?
3. По старому - mvc? Если да, то это вполне живой стек, с которого на вебфлакс переходить стоит только по определённым причинам. Если вы сами не пришли к тому, что "мне надо перейти потому что", то вам скорее всего это и не надо
источник

VS

Vitaly Sirotkin in Java/Kotlin and more
Alexandr Emelyanov
1. Web Flux зрелый
2. Почему один сервис вызывает другой через гейтвей? Вы не ошиблись?
3. По старому - mvc? Если да, то это вполне живой стек, с которого на вебфлакс переходить стоит только по определённым причинам. Если вы сами не пришли к тому, что "мне надо перейти потому что", то вам скорее всего это и не надо
прочитал в первом пункте "зеленый" и у меня аж глаз задергался...
источник

VS

Vitaly Sirotkin in Java/Kotlin and more
System.exit(0)
источник

№T

№1 The Great in Java/Kotlin and more
Alexandr Emelyanov
1. Web Flux зрелый
2. Почему один сервис вызывает другой через гейтвей? Вы не ошиблись?
3. По старому - mvc? Если да, то это вполне живой стек, с которого на вебфлакс переходить стоит только по определённым причинам. Если вы сами не пришли к тому, что "мне надо перейти потому что", то вам скорее всего это и не надо
Gateway у нас используется как security access point. Он делает все path routing. Нет особенной нужды в reactive, но опасался возможной депрекации mvc
источник