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 -

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 -

Transferring the database to an older version of MS SQL Server

Transferring the database to an older version of MS SQL Server  
 
You have an MS SQL Server database that you need to transfer to another physical computer. You have already made a backup and happily begin to recover. But it turns out that on the computer where you want to transfer the database, installed an older version of MS SQL Server. Stack Overflow assures you that everything is bad. But is it really so?
 
 
 
Of course, moving the database from a newer version to an older version is not a classic and not the most correct scenario of work. But often databases are created such that they support all newer versions of SQL, starting with some, for example with 2008 ...
+ 0 -

24-core CPU, and I can not type an e-mail (part 2)

24-core CPU, and I can not type an e-mail (part 2)In last article I promised to disclose in more detail some of the details that were omitted during the investigation of[подвисаний Gmail в Chrome под Windows — прим. пер.]including page tables, locks, WMI and the vmmap error. Now I fill these gaps with the updated code samples. But first, let's briefly state the essence.
 
 
The point was that the process with the support of Control Flow Guard (CFG) allocates executable memory, while allocating CFG memory, which Windows never frees. Therefore, if you continue to allocate and free the executable memory to different addresses , then the process accumulates an arbitrary amount ...
+ 0 -

Windows 95 was ported to Electron

Windows 95 was ported to Electron  
 
In recent years, the Windows 95 operating system has become a benchmark for demonstrating unusual porting capabilities: it has already been run on smart watches Apple Watch and Android Wear and even on the Xbox One console. Now the developer is Felix Riesenberg from the company Slack came to a new level, releasing Windows 95 as application Electron , which can be downloaded and launched on macOS, Windows or Linux.
 
 
Complete with the program there are a number of applications, including Notepad, MS Paint and standard games like Miner. Unfortunately, Internet Explorer is not fully functional: ...
+ 0 -

How to create a sound for another reality

We continue the series of articles on Windows Mixed Reality and develop from scratch a mixed-reality application on Unity in the lab work format. You can create such an application yourself, in parallel with the publication of articles. Today, let's talk about spatial sound and how to create a sense of being in another reality.
 
 
How to create a sound for another reality
 
 
The entire manual will consist of 5 parts. It will be replenished every week. Below you can go to the part you need.
 
 
Part 1: Export the UWP application for Windows Mixed Reality from Unity ;
 
...
+ 0 -

Meet the Windows pseudo console (ConPTY)

Meet the Windows pseudo console (ConPTY)Article published August ? 2018
 
 
This is the second article about the Windows command line, where we will discuss the new Windows pseudo console infrastructure and programming interfaces, that is, Windows Pseudo Console (ConPTY): why we designed it, what it needs, how it works, how to use it, and much more.
 
 
In the last article "A heavy heritage of the past. Windows Command Line Problems » we talked about the prerequisites for the appearance of the terminal and the evolution of the command line in Windows, and also began to study the internal device Windows Console and Windows ...
+ 0 -

24-core CPU, and I can not type the e-mail

24-core CPU, and I can not type the e-mailI was not looking for trouble. I did not run the Chrome build process. a thousand times over the weekend , but only engaged in the most common tasks of the 21st century - just wrote an email at 10:30 am. And suddenly Gmail hung. I continued typing for a few seconds, but no characters appeared on the screen. Then suddenly Gmail dropped - and I went back to my very important writing. But then everything happened again, only this time Gmail did not answer the requests even longer. This is strange
 
 
It is difficult ...
+ 0 -

Developing a mixed reality: did you put a speaker in a virtual living room?

We continue the series of articles on Windows Mixed Reality and develop from scratch a mixed-reality application on Unity in the lab work format. You can create such an application, in parallel with the publication of articles. In this part, we'll look at the motion controller support and add the prefab dynamics to the virtual living room.
 
 
Developing a mixed reality: did you put a speaker in a virtual living room?
 
 
The entire manual will consist of 5 parts. It will be replenished every week. Below you can go to the part you need.
 
 
Part 1: Export the UWP application for Windows Mixed Reality from Unity ...
+ 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 -