Чашечка Java
الذهاب إلى القناة على Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
إظهار المزيد8 291
المشتركون
+324 ساعات
+127 أيام
-4930 أيام
أرشيف المشاركات
8 292
Инструменты программиста — канал, в котором делимся инструментами, упрощающими жизнь разработчиков. В основном это инструменты, которые доступны бесплатно или за умеренную стоимость.
Подписывайтесь и выбирайте инструменты для себя: @prog_tools
07 نوفمبر 2021, 06:02
8 292
Top Java Blogs Weekly: Best of 46/2021
Best of Top Java Blogs, year 2021, week 46
Read: https://www.topjavablogs.com/news/best-of-46-2021
07 نوفمبر 2021, 01:02
8 292
Top 5 Free R Programming Courses for Beginners in 2022 - Best of Lot
More and more people are learning the R programming language to become Data scientists, one of the hottest and high-paying technical jobs on the planet. Though I am from Python camp when it comes to...
Read: http://www.java67.com/2018/09/top-5-free-R-programming-courses-for-Data-Science-Machine-Learning-Programmers.html
07 نوفمبر 2021, 00:08
8 292
5 Free Linux Courses for Programmers and IT Professionals to Learn Online [2021]
Linux is one of the most popular operating systems to run server-side applications. I have seen almost all Java applications running on Linux, barring a couple of them, which run on Windows as a...
Read: http://www.java67.com/2018/02/5-free-linux-unix-courses-for-programmers-learn-online.html
06 نوفمبر 2021, 09:13
8 292
Top 5 Spring Security Online Training Courses for Java Developers in 2021
Security is one of the most important aspects of a modern web application, be it a Java web application, .NET, or writing using any other web technology. In the Java world, Spring Security rule the...
Read: http://www.java67.com/2017/12/top-5-spring-security-online-training-courses.html
06 نوفمبر 2021, 00:59
8 292
How to use Stream allMatch() and anyMatch() function in Java? Example Tutorial
Hello friends, we all know how streams are super important for our day-to-day needs in programming and coding nowadays. But, do we know all the stream functionalities? Of course not. ...
Read: http://www.java67.com/2021/11/how-to-use-stream-allmatch-and-anymatch.html
05 نوفمبر 2021, 11:46
8 292
Golang для Embedded Linux
При разработке очередной платформы перед командой АТОЛ встал вопрос выбора языка программирования/стека технологий/железа/фреймворка для создания решений. Железо было выбрано на базе относительно недорогой Linux-платформы STM32MP153/512MB DDR3/8GB eMMC. Эта платформа имеет на несколько порядков больше ресурсов, чем используемые в нашей основной массе решений LPC1768/LPC1778/LPC4078/STM32F207. 100% наработок кода компании для устройств были написаны на C/C++, однако прогресс не стоит на месте, и периодически необходимо актуализировать инструменты и технологии разработки, особенно с учетом новых аппаратных возможностей. Из статьи станет ясно, как мы дошли до жизни такой и почему выбрали Golang для создания очередного набора решений.
Выбор стека технологий важен для всех компаний, которые занимаются разработкой железа и перерастают крошечные embedded контроллеры на Cortex M0/M3/M4/M7. Обычно команды при переходе на новую платформу выбирают одно из двух решений: стараются сделать новую версию системы на новом железе/технологиях/архитектуре, превращая решение в нестабильный долгострой, или наоборот — вносят минимальное количество изменений, но иногда вместо совокупности положительных черт разных подходов получают совокупность отрицательных.
В статье исследованы особенности различных языков программирования/технологий (Java, Python, C/C++, Rust, Golang), их плюсы и минусы, сформулированы критерии выбора и представлен выбор команды АТОЛ.
Для анализа использован метод SWOT-анализа. В качестве источников данных — информация сайтов фреймворков. Помимо этого, косвенная информация о боли и страданиях разработчиков получена на Stackoverflow, и часть субъективных выводов сделана на основе моего экспертного мнения за более чем 30-летний опыт программирования.
Читать: https://habr.com/ru/post/587524/?utm_campaign=587524
05 نوفمبر 2021, 11:23
8 292
and therefore has not received an update, remaining at 16.0.2 release. Minecraft’s Java Edition currently deploys with OpenJDK 16 and will soon move to OpenJDK 17. We will archive all OpenJDK 16 released versions once the transition is complete.
New LTS release cadence
In September 2021, Oracle proposed their new Two Year LTS Cadence of the commercial Oracle JDK binaries. Martijn Verburg, who leads the Microsoft Java Engineering Group, and actively participates in the Eclipse Adoptium project and the London Java Community JUG, had this to say about Microsoft’s interest in aligning this release cadence with the Microsoft Build of OpenJDK:
“Microsoft believes in the end-user and operator benefits that modern Java brings. Therefore, we would also like to endorse the 2-year LTS proposal for builds of OpenJDK. Since most of the end-user ecosystem prefers to have the extra stability of an LTS, this is a great way to encourage them with their modernization efforts!
Microsoft is willing to commit to helping maintain the various LTS updates projects as they move through their natural lifecycles.”
— Martijn Verburg
Microsoft expects to release OpenJDK 21 as its next LTS version by 2023 – provided the OpenJDK ecosystem moves forward with this proposal and other OpenJDK vendors adopt this cadence.
Java on Visual Studio Code
Last week we saw the 1.0 release of the Language Support for Java on Visual Studio Code, a multi-year collaboration between Microsoft, Red Hat, and the Java community. This release includes a series of changes, but most importantly the stability that more than 1 million Visual Studio Code Java developers expect.
Highlights in this release include:
* Java 17 support
* Performance improvements
* Type hierarchy navigation
* Source lookup
* Gradle Kotlin support
Java on GitHub
If all this is not enough, we invite all Java developers to sign up for GitHub Copilot and GitHub Codespaces! Both services include support for Java and integration with Visual Studio Code.
Happy coding Java fans!
* JCP Flag cover photo credit to Obie Fernandez - Creative Commons License.
Read: Microsoft Deepens Its Investments in Java.
05 نوفمبر 2021, 03:27
05 نوفمبر 2021, ~05:12
8 292
Microsoft Deepens Its Investments in Java
Big news for Java developers today along with some recent recap. Check it out!
Java Community Process
Today we are proud to share that Microsoft has signed the Java Specification Participation Agreement, known as JSPA, to officially join the Java Community Process. The JCP is the mechanism for developing standard technical specifications for Java technologies, enabling collaboration between individual developers, customers, and vendors interested in submitting suggestions for Java APIs.
“The JCP is the place where we define and discuss the future of Java, and where we need the collaboration of all the Java community”, adds Bruno Souza, President of the SouJava User Group, an Executive Committee Member of the JCP. “Microsoft has been an important part of this community, with their involvement in OpenJDK but also supporting Java User Groups and community events. Because of all that, Microsoft has become a strong partner of SouJava and we are excited to have them go even deeper on their commitment with the Java community.”
As we have collectively learned since the announcement of the Microsoft Build of OpenJDK in April 2021, Java usage within Microsoft has grown way beyond Minecraft. We have more than 500,000 JVMs in production running hundreds of internal Microsoft systems. In addition to significant internal Java usage, there are many customers and developers coding and running Java on Microsoft Azure and GitHub. Joining the JCP is a major, yet natural step forward for Microsoft in helping shape the future of the Java Platform.
“Java remains a key context for IT today and for the foreseeable future,” said James Governor, co-founder of RedMonk. “Microsoft is clearly illustrating its commitment to that future by becoming a strategic member of the Eclipse Foundation, but also with its engineering contributions to technologies such as OpenJDK, Windows on ARM, Apple M1 and Alpine Linux.”
Participating in the JCP is a significant milestone in Microsoft’s journey within the Java ecosystem. We look forward to working on behalf of our customers and teams in collaborating with partners, Java vendors, Java User Groups (JUGs), and individuals. These are the passionate contributors making the future of Java and keeping it innovative.
Microsoft Build of OpenJDK
This week marks the celebration of the latest Microsoft Build of OpenJDK updates. Microsoft is committed in supporting the Long-Term Supported (LTS) versions which are OpenJDK 11 and OpenJDK 17. Developers are encouraged to update their systems and workloads to OpenJDK 17.0.1 and OpenJDK 11.0.13. These versions will soon be rolled out to Microsoft Azure services where Microsoft manages the JDK on behalf of the customers, such as Azure App Service, Azure Functions, and Azure Spring Cloud.
This week we’ve also included new articles in the documentation:
* Vanity URLs for latest updates of LTS builds
* Default locale settings in container images
* Stay on older minor versions in container images
As a reminder, OpenJDK 16 is not a Long-Term Supported (LTS) major release per Microsoft Build of OpenJDK Support Policy, [...]
05 نوفمبر 2021, 03:27
05 نوفمبر 2021, ~05:12
8 292
6 Essential Data Structures Java Programmer should Learn in 2021
Hello guys, Data Structure is a building block of programs. It's even said that "Data Structure + Algorithms= Program". That's why a good knowledge of data structure is very...
Read: http://www.java67.com/2013/08/ata-structures-in-java-programming-array-linked-list-map-set-stack-queue.html
05 نوفمبر 2021, 00:48
8 292
Уроки абстракции: чему FP может научить ООП
Одним из наиболее распространенных «лучших практик» в программировании является принцип DRY: не повторяйся. Для реализации этого принципа можно использовать множество методов: инкапсуляция, параметризация, инверсия управления и многое другое. Одним из этих методов является абстракция, и одно из основных различий между функциональным программированием (FP) и объектно-ориентированным программированием (ООП) заключается в способе применения абстракции. Обычной практикой в ООП является ограничение абстракции до строгого полезного минимума для рассматриваемой проблемы. В ООП преждевременное абстрагирование часто считается ошибкой, как и преждевременная оптимизация.
В FP, с другой стороны, абстракция, как правило, продвигается настолько далеко, насколько это возможно. Каждая проблема разбита на серию простейших возможных функций, которые затем комбинируются для построения решения проблемы. Выявление этих абстракций обычно является наиболее важной частью решения проблемы. Фактически, программисты FP часто тратят больше времени на то, чтобы найти, какую проблему им следует решить, чем на их решение. И, конечно же, обычно кажется, что эти функции одинаковы от одной проблемы к другой. Только способ их комбинирования отличается. Это причина, по которой абстракция является одним из наиболее ценных методов, используемых программистами FP.
В этой статье мы сравним, как ООП и ФП будут обрабатывать абстракцию в конкретной простой задаче: вычислении суммы целых чисел от 1 до произвольного значения n. Проблема настолько проста для решения с помощью императивного программирования, что кажется, что в этом нет ничего интересного. Вот как это можно сделать в Java:
Читать: https://habr.com/ru/post/587440/?utm_campaign=587440
04 نوفمبر 2021, 20:06
8 292
Top 5 Next.js and React.js Framework Courses to learn in 2021 - Best of Lot
If you are using JavaScript and React or follow web development news then you may know about Next.js, a popular React framework that helps in server-side rendering which improves the user experience...
Read: http://www.java67.com/2020/07/top-5-courses-to-learn-nextjs-in-2020.html
04 نوفمبر 2021, 10:51
04 نوفمبر 2021, ~10:53
8 292
Top 5 Free Android Development Courses for Beginners in 2021 - Best of Lot
Hello guys, If you are passionate about creating mobile games and applications and want to learn how to develop Android apps or become an Android application developer, you have come to the right...
Read: http://www.java67.com/2019/01/top-5-free-android-app-development-courses-for-programmers.html
04 نوفمبر 2021, 05:10
8 292
How to format source code in Visual Studio Code (VSCode)
This article shows how to format source code in Visual Studio Code (VSCode).
Tables of contents
* 1. VSCode – Code Formatting Shortcuts
* 2. VSCode – Code Formatting Shortcut #2
* 3. Formatter is not installed.
* 4. References
1. VSCode – Code Formatting Shortcuts
The code formatting is available in Visual Studio Code (VSCode) through the following shortcuts or key combinations:
* On Windows
Shift + Alt + F
* On macOS Shift + Option + F
* On Linux Ctrl + Shift + I
Note
It works for all source codes like HTML, Java, Python, JavaScript ad, etc., it is working the same way.
2. VSCode – Code Formatting Shortcut #2
Alternatively, click on the source code editor, right clicks and select the Format Documentoption.
3. Formatter is not installed.
If we press the code formatting shortcuts and VSCode can’t find any formatter for the specified source code, and VSCode will pop out a dialog at the right-bottom and ask you to install the suggested formatter for the source code;
3.1 Below example shows the VSCode request to install the Python formatter autopep8.
3.2 Clicks Yes button, and VSCode will install the autopep8formatter automatically.
3.3 Try to format the source code again; now, the VSCode will auto-format the Python source code using the installed Python formatter.
4. References
* Basic Editing in Visual Studio Code
* Pyhton formatter autopep8
Read: How to format source code in Visual Studio Code (VSCode) on Mkyong.com.04 نوفمبر 2021, 02:30
04 نوفمبر 2021, ~04:04
8 292
Top 5 Courses to Learn Responsive Web Design in 2021 - Best of Lot
Hello folks, Responsive web design is one of the essential skills to become a frontend web developer, a web designer, and even a full stack developer. If you are interested in learning Responsive web...
Read: http://www.java67.com/2020/08/top-5-courses-to-learn-responsive-web-design-best.html
04 نوفمبر 2021, 00:16
04 نوفمبر 2021, ~04:04
8 292
Top 5 Data Visualization Tools Every Data Analyst and Data Scientist should Learn in 2021 - Best of Lot
Hello guys, If you are learning Data Science and Data Analysis then you may have come across Data Visualization, a technique to visualize data and derive insights. As a data scientist or data...
Read: http://www.java67.com/2020/07/top-5-data-visualization-tools-every.html
03 نوفمبر 2021, 08:40
8 292
5 Things You Can Gift to Programmers, Software Developers, and Tech Geeks
Hello guys, it's that time of the year again when you start thinking about gifts for your programmer boyfriend, husband, colleagues, or your near dear ones. Even if selecting presents or gifts...
Read: http://www.java67.com/2017/10/5-best-gifts-for-programmers-and-software-developers-geeks.html
03 نوفمبر 2021, 08:40
