My disappointment in the software

My disappointment in the software
 

The essence of software development
 
"We need to make 500 holes in the wall, so I designed an automatic drill." It uses elegant precision gears for continuous speed and torque control as needed.
 
- Excellent, she has the ideal weight. Load 500 of these drills into the cannon and shoot into the wall.

 
 
I've been programming for 15 years. But recently, when developing, it's not customary to think about efficiency, simplicity and perfection: right up to the fact that I'm sad for my career and for the IT industry as a whole.
 
 
For example, modern cars operate, say, 98% of what the current ...
+ 0 -

We study the processes in Linux

We study the processes in Linux  
In this article, I would like to talk about the life path of processes in the Linux family. In theory and examples I will look at how processes are born and die, I will tell a little about the mechanics of system calls and signals.
 
 
This article is mostly designed for beginners in system programming and those who just want to learn a little more about how the processes work in Linux.
 
Introduction
 
The attributes of the process are
 
The life cycle of the process
 
 
The birth of the process
 
The status is "ready"
 
...
+ 0 -

CryptoPro connection in Mono

In connection with the transition to Linux, it became necessary to transfer one of our server systems written in C # to Mono. The system works with reinforced EDS, therefore one of the tasks set before us was to test the performance of GOST certificates from CryptoPro in mono. CryptoPro itself has already implemented for a long time. CSP under Linux, but the first attempt to use it showed that the native Mono cryptography classes (similar to those in the base .Net - X509Store, X509Certificate? etc.) not only do not work with GOST keys, they do not even see them in their repositories. Because ...
+ 0 -

Working with COM port in windows and linux

Working with COM port in windows and linux
 
Once upon a time I was making an application that was supposed to run from Windows and Linux and connect to the board with STM32 via UART. This article can be useful for beginners who program in C ++ (use the compilers GCC and MinGW) and who need COM port support under two OSes at once, and which laziness to google and you need ready-made code.
 
 
here . To connect to your project, you need to add just two files: xserial.cpp and xserial.hpp .
 
 
Example of using [/b]
#include
#include "xserial.hpp"
using namespace std;
int main () {
/* initialize the available ...
+ 0 -

The best free editors for development and documentation: Atom

Text editors as well as development tools have become quite a lot and it's difficult to choose from them necessary. I suggest that you familiarize yourself with the best representatives of this class of programs from those that are available for Linux OS and have open source code.
 
The best free editors for development and documentation: Atom
 
The opening of the season, or rather of the seasons, is Atom, because of the incredible combination of modern design, flexibility and extensions. However, in the pursuit of features developers overlooked a small, but important detail because of which a lot of inconvenience.
somehow wrote ...
+ 0 -

Creating an application on .NET Core and Kubernetes: our experience

Creating an application on .NET Core and Kubernetes: our experienceHello!
 
 
Today we will tell about the experience of one of our DevOps projects. We decided to implement a new application for Linux using .Net Core on the micro-service architecture.
 
 
We expect that the project will actively develop, and users will be more and more. Therefore, it should be easy to scale both in terms of functionality and performance.
 
 
We need a fault-tolerant system - if one of the functionality blocks does not work, then the rest should work. We also want to ensure continuous integration, including deployment of the solution on the customer's servers.
 
 
Therefore, such ...
+ 0 -

Modeling Dynamic Systems: How does the Moon move?

Modeling Dynamic Systems: How does the Moon move? The bright memory of my teacher - the first dean of the Physics and Mathematics Faculty of the Novocherkassk Polytechnic Institute, the head of the department "Theoretical Mechanics" Alexander N. Cabelkova
 
 

Introduction


 
 
August, summer is coming to an end. The people furiously jerked to the seas, but it is not surprising - the season itself. And on the habra, meanwhile, In a violent color, pseudoscience disintegrates and smells. . If we talk about the topic of this issue of "Modeling ", then we will combine business with pleasure - we will continue the promised cycle and quite ...[/h]
+ 0 -

We are writing a Linux kernel module: GPIO with IRQ support

Habr, greetings!
 
 
This article is devoted to the development of GPIO (General-Purpose Input /Output) of the Linux kernel module. As in the previous article we implement the basic structure of the GPIO driver with interrupt support (IRQ: Interrupt Request).
 
 
We are writing a Linux kernel module: GPIO with IRQ support  
here .
 
 

Step One


 
First, let's get acquainted with the principle of GPIO driver interaction through the user console.
 
Using a small bash script, create /sysfs controls for each GPIO. To do this, enter the following script in the command line:
 
 
for i in {248255}; do echo $ i> /sys /class /gpio /export; ...[/h]
+ 0 -