My way: how I refused to buy a noolite lock and replaced it with my bike

My way: how I refused to buy a noolite lock and replaced it with my bike
 
 
This story began a year and a half ago, when the lighting control blocks "noolite" came into my hands (well, I got it, bought it myself, I have a weakness for various interesting glands). Then at my disposal were two blocks of SB series and MTRF-64 adapter. Blocks of this series attracted me by the fact that they can be introduced into home wiring without its substantial alteration: took out a switch and instead put the unit in, and the switch itself was hung on wires specially deduced from the block. In this configuration, the light can be controlled both from a radio channel and by a classic - a switch...
+ 0 -

In Russia, the popularity of pirated software

In Russia, the popularity of pirated softwareis gradually decreasing.  According to the latest data, in the period from 2016 to 2017 the popularity of pirated software in Russia decreased to the level of 201? about which reported "Vedomosti". For the specified period of time, pirated software accounted for 62% of all installations. In previous years, the percentage of installations of pirated software to licensing has only increased, but now it is a question of reducing this indicator.  Last year, the total cost of pirated software in Russia was $ 1.3 billion, which was a record for Central and Eastern Europe. This is a lot, but for some regions, for example...
+ 0 -

IDisposable - that your mother did not talk about releasing resources. Part 1

This is the translation of the first part of the article. The article was written in 2008. After 10 years, almost did not lose relevance.
 
The deterministic release of resources is the necessity of
 
For more than 20 years of coding experience, I sometimes developed my own languages ​​for solving problems. They ranged from simple native languages ​​to specialized regular expressions for trees. When creating languages, there are many recommendations and some simple rules should not be violated. One of them:
 
Never create a language with exceptions, in which there is no deterministic release of ...
+ 0 -

Play, but check: how the engine calculates the designer

Play, but check: how the engine calculates the designer  
 
When designing a multiplayer game, almost the most important component is the balance. The work of the game designer in this respect is similar to the work of the intelligence analyst: if he works well, no one notices anything. It is worth stumbling, and players shamelessly take advantage of the error. But the most interesting happens when, in addition to the game designer, the programmer is also mistaken
Cossacks 3 ". In the game there are different types of musketeers and other shooters of the 17th and 18th centuries, as well as the opportunity to explore technologies that reduce the time required ...
+ 0 -

Tunneling is version 1.0 of

Good time reading, dear users Habra!
 
In the proposed post we propose the notation of tunnel modeling, originally proposed in articles Tunneling is version 0.9 of and Transformation of Zahman's approach .
 
 
The basis of the approach is the Descartes dualism, for which a mathematical model is proposed in the form of two hyperbolic pseudospheres - abstract (above) and material (bottom) (Fig. 1).
 
 
Tunneling is version 1.0 of
 
Fig. 1 Hyperbolic pseudospheres and spherical world view
 
...
+ 0 -

Interview with Ilya Stenkov, the founder of the Alfatek platform

The case pushed me with Ilya Stenkov, the founder of the famous Alfateka. I considered it impossible not to take this opportunity, and asked him many questions of interest to me about this platform.
 
Friends, there is a preliminary agreement on the next conversation. Write your questions in the comments - ask personally.
 
Abstract of the interview under the cut.
 
Interview with Ilya Stenkov, the founder of the Alfatek platform  
 
 

Thank you, Ilya, for taking the time for our conversation. Why did you decide to open Alfateque?


 
 
There are two answers to this question. One long, the second short. I'll start with a short one.
 
I myself am an active user of a ...[/h]
+ 0 -

Comparison of the DJI Mavic Pro and Mavic Air

Comparison of the DJI Mavic Pro and Mavic Airquadrocopters.Mavic Air is the new compact quadrocopter from DJI. In size, it is located between Mavic Pro and Spark. We will review the most important aspects of each drone, compare them and try to answer the questions you have accumulated.    DJI Spark had problems with overheating in hot climates, so the new feature should prevent it on Mavic Air.   Speed ​​    The maximum speed in the sport mode is only one measurement, but the actual maximum speed will vary depending on how you fly.  In sport mode, both drone run about 65 km /h. When you control both of them using a smartphone, the difference in ...
+ 0 -

Mini Empire

What does a strategic game look like if we only look at the mini-map? Recently I decided to study this idea, returning to the classic
Age of Empires II
.
 
 

The beginning of the study


 
I started by studying the match with three AI players on a medium-sized map. Here is the initial state:
 
 
Mini Empire
 
If
"The first player to prepare"
and taught me something, so it's that it's absolutely normal to hold on to your childhood forever.

 
 
Making every few seconds the screenshots of the mini-map, we can create a timeline for the game. Each frame in the video shown below represents two seconds of real time...
[/h]
+ 0 -

Creating templates in the IDE from Jetbrains

Introduction


 
Today I want to bring a small review-tutorial templates in the ISR from Jetbrains. The examples below will be implemented on Java in Intellij IDEA, but the creation mechanism is the same for other languages ​​and products of the company. I think all programmers in this IDE used built-in templates. For example, when you write fori, press TAB or ENTER and you have a for loop that specifies the variable name and condition, and the rest of the code is generated for you.
 
for (int i = 0; i < ; i++) {
.
}
.
.
 
Or familiar to all java programmers sout -> System.out.println ...[/h]
+ 0 -

How to learn a foreign language without a teacher. Part 1. "My experience"

Note:
The article as a whole is relevant for any European language, including English.
 
In February of last year, I was tempted to learn Spanish. Well, as it were, interest was before, I like Latin music and the language itself. But that time was not enough, then something else was busy In short, the time was finally found and I decided that we should use it to the maximum, so that from the zero level learn at least to understand songs by ear and more or less talk.
 
How to learn a foreign language without a teacher. Part 1. "My experience"
 
I canceled courses at once, because in principle, I do not believe in such a model of education. It creates a pleasant illusion that you ...
+ 0 -