Create a calculator with

Create a calculator withmeasurement units.Once I needed to implement a calculator for folding and converting physical quantities. I then had no time limits, so I solved the problem at a high level of abstraction and, accordingly, for a wide range of tasks. I propose to your court my decision.    Imagine that you need to write a calculator that can not just read numbers, but operate with physical (measurable) quantities - add length, convert the amount of something from one unit of measure to another, etc. First of all, let's designate the task a little more specific. We will have these features:  The calculator must support conditionally ...
+ 0 -

Creation of destructible mesh

Creation of destructible mesh

 

Part 1. Introduction to Marching cubes


 
How to create a mesh from any chaos
 
In Minecraft, we can dig in any direction, removing at once one block with clearly defined edges. But in other games, developers are able to destroy the relief smoothly, without the cubicity of Minecraft.
 
 
Here is an example from No Man's Sky : video .
 
 
A similar technique is used to display images with MRI , metaball-s and for voxelization of the relief.
 
 
In this ...[/h]
+ 0 -

Marvin Minsky "The Emotion Machine": Chapter 5 "Reflective Thinking, Self-Analysis, Reflection"

How to bring the "human" in technology and how technologies help to understand and improve and scale the "human"?
 
 
In this we will help the harsh Marvin Minsky, who with his ruthless intelligence analyzes feelings, emotions, pain, love and consciousness.
 
 
Marvin Minsky "The Emotion Machine": Chapter 5 "Reflective Thinking, Self-Analysis, Reflection"

 
 

§5-4. Reflective Mind


 
I was going to repeat the psalm that I know. Before I started, my attention was focused on the whole picture, but as soon as I started to speak and move away from the beginning of the conversation and this moment began to stretch in my memory. My action was divided into a memory that contained the part I said and ...[/h]
+ 0 -

Classical algorithms and data structures in JavaScript

Hello everybody! I recently launched a project on the Geithab site. jаvascript Algorithms and Data Structures , which contains examples of classical algorithms and data structures written in jаvascript with explanations, examples and links for further study (in particular on relevant YouTube videos).
 
 
The main task of the project is to help programmers in the study and application of algorithms and do it in jаvascript.
 
jаvascript Algorithms and Data Structures is in active development. This means that new implementations of algorithms and data structures will appear ...
+ 0 -

Nebraska problem

Nebraska problem

 
Casey Muratori is one of the programmers of The Witness. In the process of developing the game, he published in his blog posts about the technical tasks that stood before him. Below is the translation of one of these posts.
 
 
Throughout my career as a programmer, one principle has remained unchanged: I always take the time to ask myself - why am I doing something exactly the way I do? This has always happened, from creating simple program constructs to high-level algorithms. Even deeply rooted ideas are often erroneous, and by exposing these ideas to doubts, we can come to surprising and important ...
+ 0 -

Marvin Minsky "The Emotion Machine": Chapter 5 "Reflection"

How to bring the "human" in technology and how technologies help to understand and improve and scale the "human"?
 
 
In this we will help the harsh Marvin Minsky, who with his ruthless intelligence analyzes feelings, emotions, pain, love and consciousness.
 
 
Marvin Minsky "The Emotion Machine": Chapter 5 "Reflection"

 
 

§5-3. Thinking


 

 
 
When Joan chose what to do - run the road ahead or run away, she had to choose one of the following rules:
 
 
If you are on the roadway, That is run away with it
 
If you are on the roadway, That is quickly overtake it

 
 
However, in order for Joan to take these decisions, she needs some mechanism that predicts and ...[/h]
+ 0 -

Improving the quality of images using a neural network

Today, I want to talk about an interesting approach to improve image quality. The official name of the Super Resolution approach.
 
Improvement of image quality by software methods is known from the beginning of the appearance of digital images, but in the last 3 years there has been a qualitative jump caused by the use of neural networks.
 
 
Improving the quality of images using a neural network  
 
An example of improving image quality using Super Resolution technology.
 
arxiv.org/pdf/???v3.pdf
 
Image Super-Resolution Using Deep Convolutional Networks
 
[2] arxiv.org/pdf/???.pdf
 
Image Restoration ...
+ 0 -

Optimization of the sequence of biochemical reactors using python

Optimization of the sequence of biochemical reactors using python  
 

Introduction


 
A biochemical reactor is not a monster that pollutes air and water, but quite the contrary. For example, biological methods of air purification are based on the ability of microorganisms to destroy under aerobic conditions a wide range of substances and compounds to the final products, CO2 and H2O.
 
 
 
 
It breaks the monopoly of oil tycoons and biofuel, which is becoming more and more popular. Biofuel is one of the types of alternative fuels that are produced from vegetable or animal raw materials, from the products of vital activity of organisms or from organic industrial wastes.
 
 
 
1. Computer mathematics systems and their applications.
 
2. Reference book of the chemist 21    Introduction  A biochemical reactor is not a monster that pollutes air and water, but quite the contrary. For example, biological methods of air purification are based on the ability of microorganisms to destroy under aerobic conditions a wide range of substances and compounds to the final products, CO2 and H2O.     It breaks the monopoly of oil tycoons and biofuel, which is becoming more and more popular. Biofuel is one of the types of alternative fuels that are produced from vegetable or animal raw materials, from the products of vital activity of organisms or from organic industrial ...[/h]
+ 0 -

Inverse kinematics in two-dimensional space

Part 1. Mathematics


 
Inverse kinematics in two-dimensional space
 

Introduction


 
We are so used to interacting with the world around us that we do not think about how difficult our hands and feet move. In academic literature, the task of controlling a robot manipulator is called inverse kinematics.
Kinematics
means "
movement
", and the concept of "
inverse
" is due to the fact that we usually do not control the hand itself. We control the "engines" that rotate each individual part. Inverse kinematics is the task of determining how to move these engines to move your hand to a specific point. And in its general form, this task is extremely ...[/h]
[/h]
+ 0 -

Imitation of natural movement: Steering Behaviors - 2

The first part of article here .
 
 
Imitation of natural movement: Steering Behaviors - 2
 

Part 6. Avoidance of collisions


 
For proper navigation, NPCs often require the ability to avoid obstacles. In this part, we'll consider steering behavior
collision avoidance
(avoid collisions), allowing the characters to safely dodge obstacles in the environment.
 
 
 

Introduction


 
The basic idea of ​​avoiding collisions is to generate a control force to evade obstacles each time they are close enough to impede movement. Even if there are several obstacles in the environment, this behavior will simultaneously use one of them to calculate the avoidance ...[/h][/h]
+ 0 -