A new article added: How to sum the elements of an array with Pycuda.
27 December 2019
A new article added: How to sum the elements of an array with Pycuda.

You can install pycuda like this:

pip install pycuda
The code to calculate the sum:
import math

import numpy as np
import pycuda.autoinit
import pycuda.driver as cuda
from pycuda.compiler import SourceModule

if __name__ == "__main__":
    n = 400000000  # It  ...
            read more...
          

A new article added: How to install CUDA on Ubuntu.
27 December 2019
A new article added: How to install CUDA on Ubuntu.

## 1. Installation of the driver for GPU (if it is not installed yet). Download the driver from NVIDIA official website: https://www.nvidia.ru/Download/index.aspx?lang=ru In my case the downloaded file is named: **NVIDIA-Linux-x86_64-440.44.run** In order to install it, we switch to the con ... read more...

A new article added: How to work with metadata of audiofiles in Python (the use of eyeD3).
14 December 2019
A new article added: How to work with metadata of audiofiles in Python (the use of eyeD3).

As it is known, MP3 contains the audio track itself and some metadata such as the title of the track, album, band's name and some other information. And recently I got a necessity to fix the order of the tracks related to an audio book. In this case, the order of tracks matters. But originally, t ... read more...

A new article added: How to estimate probability
25 April 2019
A new article added: How to estimate probability

Available in Russian only yet. ... read more...

A new article added: Author's forecast for the future of the humanity from 2019
01 February 2019
A new article added: Author's forecast for the future of the humanity from 2019

В жизни мы часто очень погружаемся в события, происходящие непосредственно сейчас и с нами, пренебрегая глобальным как с масштабной так и с временной точки зрения. Но если попробовать проанал ... read more...

To all news