
Django → Analysis of errors in the development and promotion of a site on Django - Custom tag<cut>
And now some thoughts on the topic of custom tags, and whether they should be introduced at all.
The short answer is NO.
Now let's think about this topic - "Why?" . There is such a well-known Russian-language resource Habr, …
Read
Django → Analysis of errors in the development and promotion of a site on Django - Multilingual forms
forms, Мультиязычноть, Django, Translations
With this publication, I would like to start sharing my observations after almost seven years of supporting the EVILEG project. So that every newbie could roughly understand and imagine whether it is worth doing a similar or different functionality or …
Read
Java → Java Array Programs
Arrays in java:
- An array is the basic Data Structure that contains items of similar data types.
- There is always an ordering amongst the position of the element.
- It can be accessed with the help of the indices. Java supports …

C++ → Leet Code Solutions - 003 - Longest Substring Without Repeating Characters
cpp, LeetCode, C++, C++17, string
Solution "Longest Substring Without Repeating Characters" on Leet Code
Readclass Solution { public: int lengthOfLongestSubstring(string s) { string candidate_str = ""; string checking_str = ""; size_t position = std::string::npos; for (auto& ch : s) { position = checking_str.find(ch); if (position …

C++ → Leed Code Solutions - 002 - Add Two Numbers
Solution "Add Two Numbers" on Leet Code
Read/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode …


Django → Django - Lesson 059. Saving the selected language in user settings
python, language, django, translation
In this article, I would like to show an example of how you can make a link on the site so that the user can switch between languages on the site.
But I will show a more advanced version of …
Read
Projects based on Qt → How to implement TLSv1.2 on Qt 4.8.1
Initially, QSsl in Qt 4.8.1 (released about 13 years ago) used only the maximum of TLS v1.0.
Today is 2022 and Tls v1.0 and v1.1 are being blocked by almost every decent site on the internet.
Qt in QSsl uses …
Read
Django → Django - Tutorial 058. Database Growth Due to django_session Table
Django, Postgres, garbage collection, Python, PostgreSQL
Lately, I have noticed that the fatal moment is approaching, when the disk space for the site on the hosting will catastrophically cease to be enough. And the database dump becomes incredibly huge, although there are no obvious prerequisites for …
Read
Django → Django Rest Framework - Tutorial 001. Adding Token Authentication
Django Rest Framework, QML, Authentication, Token, drf, Felgo
At the moment I am actively working on an application that will work with the REST API of a Django site. And one of the first steps was to set up user authentication by token, but in order for this …
Read
Django → Django - Lesson 057. Multilanguage support in MarkdownField with auto populate functionality
MarkdownField, markdown, modeltranslation, Django
The article How to write auto populate field functionality described the simplest functionality of the MarkdownField field to support markdown syntax on a site with automatic generation of html content.
I did not immediately show advanced functionality to make it …
Read
Django → Django - Tutorial 056. How to convert image to WEBP format when saving to ImageField
ImageField, Django, WEBPField, webp, Python
WEBP is an image compression format that was introduced by Google in 2010. Its main advantage is its low size without visible loss of quality compared to formats such as JPEG or PNG. Therefore, it is quite logical to use …
Read- EvilTourist
- Dec. 4, 2023, 3:04 a.m.
C++ - Test 001. The first program and data types
- Result:80points,
- Rating points4
- EvilTourist
- Nov. 30, 2023, 8:48 a.m.
C++ - Test 001. The first program and data types
- Result:53points,
- Rating points-4




