Django → Django - Tutorial 031. Change URL without reloading the page with partial content loading
The less information a site has to transmit to each request, the better. Because we get less load on the server and on the communication channel. The first such improvement on the site I did was loading the list of …
ReadJavaScript → JavaScript - How to extract a parameter from a URL
During the development of the site, small tasks arise, for example, how to extract a parameter from the URL.
For example, we have a URL like this:
http://www.example.com/?page=24&info=13
The parameters in this case are page and info .
To solve …
ReadDjango → Django - Tutorial 030. Opportunities VDS server for $ 5 for the project on Django
With the growth of site functionality, as well as attendance, it was possible to successfully test the capabilities of the current VDS server, which I currently use. I would like to describe my experience with VDS, as well as show …
ReadC++ → C ++ - Tutorial 012. static_assert, checking for errors at compile time
Exceptions are thrown during the execution of the program; if the error can be found at compile time, you can use static_assert , which tells you to correct the program code in key locations.
The use of static_assert will look …
ReadDjango → Django - Tutorial 029. Adding private messages and chats on the site - Part 1
чат, message, Django, chat, сообщение
According to the tradition, I will tell you about my experiences on the introduction of new functionality on the site. At the moment, this functionality is a personal message between users. Of course, this now does not work as well …
ReadQt → Idiom "type erasure" on the example of QWidget
Type erasure idiom
The article assumes that the reader has basic knowledge of C++
Straight to the point.
Suppose you need to dynamically (like me, on button click) change the text
several objects such as:
- QLabel
- QPushButton
- QLineEdit
Most of …
ReadQt → Writing a custom Qt 3D aspect - part 2
Introduction
In the previous article we reviewed the custom aspect creation process and showed how to create (most of) the front-end functionality. In this article, we will continue to build our user facet by implementing the appropriate backend types, registering …
ReadQML → QML - Tutorial 035. Using enumerations in QML without C ++
Well, finally they finally got it !!! There was an opportunity to declare enums immediately in QML without dancing with C ++. How to add your enumerations to QML through C ++ I described in this article . In fact, …
ReadQt → Qt/C++ - Tutorial 074. Generating pseudo-random numbers, using STD library random
qsrand, QRandomGenerator, Qt, Random, C++11, qrand
Generating random numbers may be needed, for example, to calculate weapon damage in a computer game or to represent a graph from random numbers.
Qt provides the qrand function for generating random numbers, and also, starting with Qt 5.10 , …
ReadQML → Say hello to Qt Quick pointer handler
We know that over the years Qt Quick's multi-touch support has been inadequate in many of its use cases. We have a PinchArea , to handle zooming, rotating and dragging with two fingers; and MultiPointTouchArea , which can be used …
ReadDjango → Django 2.0 release
The Django team announced the release of Django 2.0
This release starts with free-form semantic versioning in Django, but there are no significant backward compatibility changes (except that Python 2.7 has been removed), which was expected in the 2.0 release. …
Read- Akiv Doros
- Nov. 11, 2024, 10:58 p.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:50points,
- Rating points-4
- molni99
- Oct. 26, 2024, 8:37 a.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:80points,
- Rating points4
- molni99
- Oct. 26, 2024, 8:29 a.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:20points,
- Rating points-10