Programming

Использование ldflags для установки информации о версиях в приложениях Go — step-by-step Programming tutorial on Progressive Robot

Использование ldflags для установки информации о версиях в приложениях Go

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

Read more
How to Compile and Run Java Program from another Java Program — step-by-step Programming tutorial on Progressive Robot

How to Compile and Run Java Program from another Java Program

Have you ever thought if it's possible to compile and run a java program from another java program? We can use Runtime.exec(String cmd) to issue commands to the underlying operating system. We will use the same approach to compile and run a java program from another java program. Compile and Run Java Program from another […]

Read more
Creating Custom Errors in Go — step-by-step Programming tutorial on Progressive Robot

Creating Custom Errors in Go

When communicating more complicated error information to your users, or to your future self when debugging, sometimes these two mechanisms are not enough to adequately capture and report what has happened. To convey this more complex error information we can implement the standard library interface type, `error`, to get more functionality.

Read more
Defining Structs in Go — step-by-step Programming tutorial on Progressive Robot

Defining Structs in Go

Structs allow storing data from several variables in a single entity with one name. They allow Go developers to describe the world in which a Go program operates. Instead of reasoning about strings describing a `Street`, `City`, or a `PostalCode`, structs allow us to instead talk about an `Address`. They also serve as a natural nexus for documentation. Structs can be defined and used in a few different ways, which are discussed in this tutorial.

Read more
Flyweight Design Pattern in Java — step-by-step Programming tutorial on Progressive Robot

Flyweight Design Pattern in Java

Today we will look into Flyweight design pattern. Flyweight Design Pattern According to GoF, flyweight design pattern intent is: > Use sharing to support large numbers of fine-grained objects efficiently Flyweight design pattern is a Structural design pattern like [Facade pattern](/community/tutorials/facade-design-pattern-in-java "Facade Pattern in Java – Example Tutorial"), [Adapter Pattern](/community/tutorials/adapter-design-pattern-java "Adapter Design Pattern in Java […]

Read more
Обработка паник в Go — step-by-step Programming tutorial on Progressive Robot

Обработка паник в Go

Ошибки, возникающие в программе, относятся к двум широким категориям: ожидаемые программистом ошибки и ошибки, возникновения которых не ожидалось. Интерфейс error, который мы изучили в двух предыдущих статьях, посвященных [обработке…

Read more
How To Build a Responsive About Me Page with Laravel, Sail, and Tailwind CSS — step-by-step Programming tutorial on Progressive Robot

How To Build a Responsive About Me Page with Laravel, Sail, and Tailwind CSS

Laravel Sail is a Docker development environment that is included by default within newer Laravel versions. In this guide, you’ll bootstrap a new Laravel application with Laravel Sail and create a styled “about me” landing page using Tailwind CSS, a utility-first CSS framework designed for rapidly building custom user interfaces. At the end, you’ll have a base that you can use to further develop a Laravel application using Tailwind CSS for the front end and Sail for development.

Read more
CHAT