Lazy computing in everyday life

 3r33337. 3r3-31. 3r33333. And although people who use python scripts to write a shopping list or compile rent data, count them in their heads, but if it happens that you use scripts to solve routine tasks and sometimes the scripts work unacceptably long, then perhaps the idea of ​​using lazy calculations to everything that moves, you will have to taste.
Disk caching of lazy computing trees
 3r33337. 3r33333. In order not to bore you with the need to study that material before reading this, a brief summary of the last part:
 3r33337. 3r33333. evalcache wraps data, functions, and methods into ...
+ 0 -

We write the FPGA loader in LabVIEW. Part 2

 3r31215. 3r3-31. 3r31078. 3r33554. Download configuration to FPGA via USB or disassemble FTDI MPSSE
3r3-1089.  3r31215. We write the FPGA loader in LabVIEW. Part 1 3r3-131121. 3r3-1089.  3r31215. We write the FPGA loader in LabVIEW. Part 2 3r31120. 3r3-1089.  3r31215.
Error handling
3r3-1089.  3r31215. 3r31078. Open source source code, analyze the function MPSSE_open. Despite the algorithmic simplicity (functions are called for each other), quite a lot of D2XX API elements need to be imported: 3r3992. FT_OpenEx , 3r3992. FT_ResetDevice , 3r3992. FT_Purge , 3r3992. FT_SetUSBParameters , 3r3992. FT_SetChars ...
+ 0 -

Testing the white box

3r33816. The development of high quality programs implies that the program and its parts are being tested. Classic unit testing involves breaking a large program into small blocks suitable for testing. Or, if the development of tests occurs in parallel with the development of code or tests are developed before the program (TDD - test driven development), then the program is initially developed in small blocks that meet the requirements of tests. 3r33838. 3r33814.  3r33825. 3r33816. One of the varieties of unit testing can be considered as propery-based testing (this approach is implemented, for ...
+ 0 -

Breaking the fundamentals of C #: allocating memory for a reference type on a

Breaking the fundamentals of C #: allocating memory for a reference type on astack.This article will show the basics of internal device types, as well as an example in which the memory for the reference type will be allocated completely on the stack (this is because I am a full-stack programmer).      Disclaimer  This article does not contain material that should be used in real projects. It is simply an extension of the boundaries in which a programming language is perceived.  Before proceeding with the story, I strongly recommend that you read the first post about StructLayout because there is an example that will be used in this article (However, as always).  Here ...
+ 0 -

As I tried to make a static GLSL analyzer (and what went wrong)

As I tried to make a static GLSL analyzer (and what went wrong) 3r3761. 3r3-31. 3r33737. Once I was preparing for Ludum Dare and made a simple game where I used pixel shaders (I didn't bring others into the Phaser engine). 3r33750. 3r33748.  3r3761. 3r3154.
What are shaders? [/b]
3r33737. Shaders are programs in a si-like language GLSL, which are executed on a video card. There are two types of shaders, in this article we are talking about pixel (they are also “fragment”, fragment shaders), which can be very roughly represented in this form: 3r3373750. 3r33748.  3r3761. 3r???. 3r3734. color = pixelShader (x, y, other attributes) 3r33582. 3r33748.  3r3761...
+ 0 -

Laplace Blur

Laplace Blur
 
 
Is it possible to blur Laplace instead of Gauss, how many times it is faster, and is it worth the loss of 1/32 accuracy.
 
3r311. 3r33232.
 
 
(Laplace Blur - The proposed original name of the algorithm)
 
 
Today, my internal demoscenary kicked me and forced me to write an article that had to be written six months ago. As an amateur at my leisure to develop original effect algorithms, I would like to propose to the public an “almost Gaussian blura” algorithm, featuring the use of extremely fast processor instructions (shifts and masks), and therefore is available for implementation up to microcontrollers ...
+ 0 -

Rockstar programming language: when the code looks like the text of a rock hit

Rockstar programming language: when the code looks like the text of a rock hit 3r3208.  
3r3208.  
The phrase "rockstar developer" makes some pucker: "This is a stupid recruiting buzzword, no one among the developers themselves calls it that way." In Russia, it occurs less frequently, but in English-speaking countries, many are already fed up. And the British .NET developer 3r3202 is particularly keenly aware of it. Dylan Beatty [/b] : he is a fan of rock music, so he sees well how far this “rockstar” is from real rockstars. 3r3208.  
3r3208.  
In the end, Dylan started the programming language Rockstar, the code on which should be similar to rock /metal texts. Firstly, if you can make ...
+ 0 -

We write the FPGA loader in LabVIEW

 3r33800. 3r3-31. We write the FPGA loader in LabVIEW . Here you can argue long and to no avail. The situation is aggravated by the fact that there are a lot of examples of programs on LabVIEW on the network, but they are all focused on the beginner and come down to "oh, look how simple it is, connect the twist to the indicator, twist the handle, change the dial", or at best, the graph in the cycle a random number or a sine is displayed, all this is accompanied by a furious interface in the form of giant toggle switches, twists, and dial gauges. Personally, this conscious simplification annoys me. In a small series of articles I will try ...
+ 0 -

Amplifiers of low frequency classes: A, B, AB, D, G, H

 3r3179. 3r3-31.

Hello, Habr!

3r3167.  3r3179.

Today we will talk about classes: A, B, AB, D, G, H

3r3167.  3r3179.
3r311. 3r33175. 3r3167.  3r3179. First, consider the classes by the position of the working point. Each transistor has an output characteristic, which can be found in the DataSheet. 3r3167.  3r3179. 3r3167.  3r3179. An example of the characteristic in the figure below. 3r3167.  3r3179. 3r3167.  3r3179.
Amplifiers of low frequency classes: A, B, AB, D, G, H 3r33175. 3r3167.  3r3179. The output characteristic of the transistor. 3r3167.  3r3179. 3r3167.  3r3179. It is with this characteristic that we will be able to choose the class of ...[/h][/h]
+ 0 -

SberTech ♥ Open Source, concurrency and reliable banking operations - problem solving with Joker 2018

SberTech ♥ Open Source, concurrency and reliable banking operations - problem solving with Joker 2018This weekend passed Joker 2018 , it was interesting! But not only by speeches was the conference rich. All sponsoring companies tried to stand out against the “competitors” and we are no exception. 3r33350.  3r33357. 3r33350.  3r33357. There was a lot of interesting things on the Sberbank-Technologies stand, but I want to tell you about how we stood out. Our team dealing with the development of 3r3335. Apache Ignite
in SberTech, prepared the tasks and conducted a rally among those who dared to solve them. 3r33350.  3r33357. 3r33350.  3r33357. Under the cut you are expected by the task...
+ 0 -