Чашечка Java
10.4K subscribers
3.03K photos
6 videos
49 files
4.24K links
Лучшие материалы по Java на русском и английском

Разместить рекламу: @tproger_sales_bot

Правила общения: https://tprg.ru/rules

Другие каналы: @tproger_channels
Download Telegram
Ускоряем pow

В этой статье я хочу поделиться несколькими нестандартными алгоритмами для быстрого возведения числа в степень, а также продемонстрировать их реализацию и сравнить их быстродействие в C++, C# и Java.

Сравнить точность алгоритмов можно прямо сейчас на этой странице.

В конце будет краткая памятка по тому, где и когда лучше применять какой из методов. При правильном выборе можно добиться увеличения скорости вычислений в 5 раз при погрешности ~1%, а иногда и вовсе без неё.
Ускорь мои степени!

Читать: https://habr.com/ru/post/584662/?utm_campaign=584662
Top 10 Google Cloud Certifications You can Aim in 2021 - Best of Lot

Hello guys, If you are aiming for Cloud Certifications in 2021 then Google Cloud Platform is one of the most in-demand platforms to go for. It's backed by Google and there is a huge demand for...

Read: http://www.java67.com/2021/01/top-10-google-cloud-certifications.html
Top 5 Python Web Development Courses for Beginners in 2021 - Best of Lot

Hello guys, if you want to become a Python web developer and looking for the best online training courses to start with then you have come to the right place. In the past, I have shared the best...

Read: http://www.java67.com/2020/06/top-5-courses-to-learn-python-for-web-development.html
10 Examples of forEach() method in Java 8

From Java 8 onward, you can iterate over a List or any Collection without using any loop in Java. The new Stream class provides a forEach() method, which can be used to loop over all or selected...

Read: http://www.java67.com/2016/01/how-to-use-foreach-method-in-java-8-examples.html
How to use WeakHashMap in Java? Example Tutorial

Hello friends, we are here today again on our journey to Java. I hope everyone is fine and ready to board our train of knowledge. Today we are gonna learn something very interesting and very...

Read: http://www.java67.com/2021/10/how-to-use-weakhashmap-in-java-example.html
6 Best Golang Programming Courses for Beginners to Learn in 2021 [UPDATED] - Best of Lot

Hello guys, if you want to learn the Go programming language in 2021 and look for the best Golang online courses, you have come to the right place. Earlier, I shared the best JavaScript Courses, and...

Read: http://www.java67.com/2019/12/top-5-courses-to-learn-go-or-golang.html
Is Java a good Programming Language to learn to code in 2021?

I often receive questions like which is the first programming language to learn first, Is Java the right programming language to start in 2020,  how good Java is as a first programming language,...

Read: http://www.java67.com/2018/07/is-java-best-programming-language-for-beginners.html
How to Find Repeated Characters in Given String with Count in Java? [Solved]

This is another interesting coding problem or programming exercise for beginner programmers. How do you find repeated or duplicate characters in a given String and their count? You can solve this...

Read: http://www.java67.com/2020/02/how-to-find-duplicate-characters-in-string-with-frequency.html
Top 5 Project Based Courses to learn Laravel and PHP for Web Development in 2021 - Best of Lot

Hello guys, if you want to learn Laravel, one of the most popular PHP frameworks for web development, and looking for the best resources like online courses, tutorials, and classes, then you have...

Read: http://www.java67.com/2020/07/top-5-courses-to-learn-laravel.html
Чашечка Java
Photo
Как мы Neo4j к Helidon прикручивали

Идея поэкспериментировать с интеграцией Neo4j с Helidon возникла вполне естественно.

Neo4j — графовая система управления базами данных с открытым исходным кодом, реализованная на Java. По состоянию на 2015 год считается самой распространённой графовой СУБД. (Википедия, 21.10.2021)

Neo4j написана на Java и доступна из ПО, написанного на других языках с использованием языка запросов Cypher, через транзакционную конечную точку HTTP или через двоичный протокол «bolt». Neo4j в настоящее время является стандартом де-факто для графовых баз данных, используемых во многих отраслях.

Вообще, в се началось с небольшого разговора с Michael Simonis, одним из авторов Spring Data Neo4j 6 и сопровождающим Neo4j-OGM. Мы спросили Михаеля, что он думает о том, как Helidon и Neo4J могут работать вместе. Менее чем через час Михаель прислал мне ссылку на этот репозиторий с полнофункциональным примером для Helidon MP и Neo4j SDN.


Читать: https://habr.com/ru/post/584796/?utm_campaign=584796
Top 10 Data Science and Machine Learning Courses, Certifications in 2021 - Best of Lot

Suppose you work in the technology field today as a programmer or software engineer. In that case, I am sure you have heard about terms like Data Science, Machine Learning, Deep Learning, Artificial...

Read: http://www.java67.com/2018/10/top-10-data-science-and-machine-learning-courses.html
10 Best JavaScript Online Courses on Udemy, Coursera, and Pluralsight in 2021 [UPDATED]

Hello guys, JavaScript is one of the most powerful programming languages and if you want to learn JavaScript then now is the best time. If you are looking for the best and advanced JavaScript courses...

Read: http://www.java67.com/2020/10/best-javascript-courses-for.html
Features of Java Programming Language

The main motive behind the development of the java programming language was to make a more securable, easy-to-understand programming language. It is one of the most used programming languages in the industry nowadays. Let’s analyze the features of java that separates it from other programming languages.
1. Simple & Easy to Learn

Java comes with an easier syntax and structuring of the code as compared to c++. Some concepts in c++ like structs have been left out in java and an alternative method is introduced. Pointers are also left in java and referencing is the alternative for them.

2. Independent of Platforms

Comparing to C and C++, Java is independent of the platforms so it’s written only one time and we can run it anywhere irrespective of the operating system.

C++ is compiled differently on each platform whereas java is compiled into bytecode which is independent of any platform. All that needs to run a java program is a Java Runtime Environment (JRE).

3. Secure in Nature

Java is one of the best programming languages when it comes to the security of the code. All the programs are run inside the virtual machine so there is no interaction of the code with the user’s system. With the use of public and private access modifiers, security can be taken care of.

4. Good Performance

Java ensures quality performance while running the code. Although it doesn’t provide more performance compared to C & C++ because it is an interpreted language while C++ is a compiled language.

5. Object Oriented in Nature

Java is known as an “Object-Oriented Programming Language” and it includes core concepts involved in java. The concepts include Inheritance, Polymorphism, Abstraction & Encapsulation. In java, everything is termed to be an object.

6. Robust

Java possesses the ability to deal with run-time errors, handling with the exceptions and garbage collections to delete needless values. The JVM automatically deletes the value to which no variable is pointing so there is no need to delete the memory manually.
So by now, you are aware of some of the best features that Java provides to its users. You can comment below if you want to add any feature which is not written in the blog.

Read: Features of Java Programming Language.
Советы по работе с Quarkus

В этой статье вы узнаете несколько полезных советов и приемов, связанных с фреймворком Quarkus. Мы сосредоточимся на функциях, которые выделяют Quarkus среди других Java фреймворков.


Читать: https://habr.com/ru/post/585122/?utm_campaign=585122
Почему технические собеседования не нужны

Ремарка - речь пойдет о 98% собеседований в постсоветском пространстве на позицию Java Developer.

Начну вот с чего: знание Collections Framework, его иерархии наследования, внутренней работы HashMap и количества примитивов в языке - никак, совсем никак, не может дать представления о работоспособности человека.

- Фу, какая банальщина, все и так всё понимают. Такие вопросы на собеседованиях дают представление о базовых знаниях человека, а на остальную работу смотрят в период испытательного срока.

Что же, с таким мнением я сталкивался неоднократно и не могу сказать ничего против, но тем не менее, приглашаю вас порассуждать о теме собеседования и разобраться, что с ними не так.

Вот пункты, которые, на мой взгляд, должны лежать в основе построения плана собеседования:

1) Работа разработчика состоит из 40% кодинга и 60% рассуждений, размышлений и попыток понять и вместить задачу, выбрать оптимальный алгоритм ее решения. И я не говорю о созвонах, декомпозиции и обсуждении предстоящего спринта и т.д. и т.п. В таком случае кодинга остается процентов 20.

2) Без грамотного и прозрачного процесса коммуникации между членами команды, проекта не получится. И к сожалению, какой бы прекрасный не был тимлид и ПМ, если разработчики не умеют общаться и понимать, какую информацию важно озвучивать команде, что нужно спрашивать, а что можно загуглить, у проекта будут проблемы.

3) Языки, фреймворки, библиотеки, базы данных и прочее - это всего лишь инструмент для решения проблемы, и он должен быть подобран под задачу, а не наоборот.


Читать: https://habr.com/ru/post/585132/?utm_campaign=585132
Top 5 Online Courses to Learn HTML and CSS in Depth - Best of Lot [UPDATED 2021]

Hello guys, if you want to learn HTML and CSS to become a web designer and developer and are looking for the best HTML and CSS courses, you have come to the right place. In the past, I have shared...

Read: http://www.java67.com/2020/08/5-best-online-courses-to-learn-html-5.html
Top Java Blogs Weekly: Best of 44/2021

Best of Top Java Blogs, year 2021, week 44

Read: https://www.topjavablogs.com/news/best-of-44-2021
Difference between View and Materialized View in Database or SQL? [Answer]

The difference between View and Materialized view is one of the popular SQL interview questions, much like truncate vs delete, correlated vs noncorrelated subquery, or primary key vs unique key. This...

Read: http://www.java67.com/2012/11/what-is-difference-between-view-vs-materialized-view-database-sql.html
Top 5 Free & Paid Spring Certification Courses and Practice Tests

Many Java developers don't know that, similar to Oracle's Java certification, there is also a Spring certification program, which certifies yourself for your Spring framework skill. There are...

Read: http://www.java67.com/2017/08/3-free-spring-certification-mock-exams-practice-questions.html
How to find symbolic link or soft link in Linux? ls + find command Example Tutorial

There are two ways you can find a symbolic link or soft link in UNIX based operating systems like Linux, Solaris, BSD, or IBM AIX. The first way is by using the ls command in UNIX which displays...

Read: http://www.java67.com/2012/10/unix-command-to-find-symbolic-link-or.html