Mega-Tutorial Flask, Part XIII: I18n and L10n (edition 2018)

Miguel Grinberg
 
 
Mega-Tutorial Flask, Part XIII: I18n and L10n (edition 2018) There Here
 
This is the thirteenth part of the Mega-Tutorial Flask series, in which I will tell you how to implement multi-language support for your application. As part of this work, you will also learn about creating your own CLI extensions for flask.
 
For reference, here is a list of articles in this series.

Chapter 1: Hello world!

 

Chapter 2: Patterns

 

Chapter 3: Web Forms

 

Chapter 4: Database

 

Chapter 5: User Logins

 

Chapter ..
.
+ 0 -

Deep training in the cloud: optical computers will replace the GPU

And soon. Startup Fathom Computing in the next two years plans Issue an optical device that will bypass the GPU by the speed of training of large neural networks. Developers want to place an optical computer in a cloud-based data center so that creators of artificial intelligence systems can access it from around the world.
 
 
About the decision of Fathom and about who else is engaged in such developments, we will tell under the cut.
 
 
Deep training in the cloud: optical computers will replace the GPU ...
+ 0 -

Development of biometric identification system by speech

Hello colleagues! In this article, I will briefly describe the features of building biometric verification /identification systems that we have encountered, creating our own solution.
 
 
The task of authenticating a person is used in areas with the need for access control. These are banks, insurance companies, and other areas where confidential information is used.
 
 
Traditionally, authentication uses the principle of knowing a "key", such as a password, control word or passport number. The described method has a disadvantage - it is not the identity that is confirmed, but the well-known personality ...
+ 0 -

Will the earth be inherited by robots?

Will the earth be inherited by robots? They say the promised three years are waiting. Here I am in the commentary to article vmb promised to translate the chapter from the book Zero Day, but while it was going to - the whole book has already been translated. So I am posting here the translation of the article by Marvin L. Minsky about the future and development of man. For a tip-off on Minsk articles, thanks MagisterLudi
 
 
hence , Yokohama kaidashi kikou. They say the promised three years are waiting. Here I am in the commentary to article vmb promised to translate the chapter from the book Zero Day, but while it was going to - the whole book has already been translated. So I am posting here the translation of the article by Marvin L. Minsky about the future and development of man. For a tip-off on Minsk articles, thanks MagisterLudi    hence , Yokohama kaidashi kikou...
+ 0 -

Internet of things: from the design of the backend to the absorption of energy

Internet of things: from the design of the backend to the absorption of energy
 
 
Clever everything, should, in theory, save the person from all worries, but so far, that all this can grow wiser, the developers of the Internet of things have to think a lot and solve a variety of tasks.
 
 
Which ones were discussed at InoThings ++ . It was an open conference, so all reports are available at channel , and below are reviews of some interesting reports.
 
this , and are satisfied. Now the relevant option is ClickHouse, in particular for the finite business data distributed over time.
 
 
+ 0 -

Providing automation of domain ownership verification based on DNS records in the ACME protocol[перевод]

From the translator : This is a translation of the article from EFF
 
A Technical Deep Dive: Securing the Automation of ACME DNS Challenge Validation .
 
Author of the original article: Joona Hoikkala.
 
Original publication date: February 2? 2018

 
 
Earlier this month, Let's Encrypt (free, automated, open certification center, which EFF helped launch two years ago) overcame an important milestone: issuance of more than 50 million active certificates ...
+ 0 -

Fundamentals of cryptography. Part 0

Fundamentals of cryptography. Part 0The purpose of this series of articles is to create the simplest crypto protected messenger, focusing exclusively on cryptography, excluding technical niceties of direct communications, network protocols, graphics, and everything else from consideration.
 
 
Step by step, bypassing the vulnerabilities that our zero-based protocol will have, at the end we will get a self-contained cryptographic system that opposes the overwhelming number of attack variations.
 
 
Most people unfamiliar with cryptography, thinking about encryption, imagine a safe in which the original information is put in its pure ...
+ 0 -

Usability of antiviruses on the phone

The main way to infect a phone running Android is to install applications from third-party resources. Files infecting the phone in this case are files with the extension .apk:
 
 
APK (English Android Package) - the format of archived executable application files for Android. Each Android application is compiled and packed into one file. Files of this format are not encrypted, they are a subset of the ZIP archive format.
 
Types of viruses on Android:
 
 
a virus that steals money from the balance of the phone;
 
a virus that steals information;
 
viruses are extortionists.
 
 
All of them are ...
+ 0 -

CsConsoleFormat: formatting in the console in a new way (. NET)

CsConsoleFormat: formatting in the console in a new way (. NET) Everyone is well aware of the rich formatting tools in the console: aligning with spaces, changing the current color of the text and background. If you want to print a couple of lines, then this is completely enough, although the absence of hyphens over spaces sometimes irritates. If you need to display a table, you have to manually calculate the width of the columns, and often just hardcore the width. If you want to colorize the output, you have to speculate the output of the text with endless switching and color restores. If you want to display text with hyphenation by words or combine all of the above
 
The ...
+ 0 -

Experience using the library Puniverse Quasar for the actors

Experience using the library Puniverse Quasar for the actorsIn the past, in 201? there was a small project, which almost perfectly fell on the ideology of actors , decided to experiment and try to use their implementation from Parallel Universe. From the actors themselves much was not required - know yourself to keep the state and communicate with others, sometimes change by timer and do not fall.
 
 
The library is quite mature, almost ?000 stars at githabe , more than 300 forks, pair recommendations on habré … Why not? ...
+ 0 -