C++ → The idiom RAII and the principle of structured programming that a function must have one entry point and one exit point
The world of programming in C ++ in the new standards allows us to get up a variety of things, thanks to which we can safely abandon some old statements or principles, or simply flexibly approach these principles.
I would …
ReadQt → Profiling memory usage on Linux with Qt Creator 4.7
Performance Analyzer
You may have heard of the Performance Analyzer (named “CPU Usage Analyzer” in Qt Creator 4.6 and earlier). It's about profiling applications using the excellent "perf" tool in Linux. You can use it locally on Linux - the …
ReadPostgreSQL → Working with trigger functions in PostgreSQL
PostgreSQL, Триггерные функции, База данных
In the process of developing one application for accounting for time norms, it became necessary to create a pivot table with a selection of data from the existing one.
PostgreSQL was used as the database.
The source table base_table is …
ReadDjango → Open source EVILEG
ESNF-ICO, ESNF-DOC, ESNF-C, ESNF, ESNF-LD, Django, EVILEG
There was probably something that many users of the resource EVILEG would like to see among Web developers.
It was decided to open the sources of EVILEG, especially since I repeatedly received requests to show the source of the resource …
ReadQt → How to install OpenCV on Qt on Windows
Introduction
I would like to express my gratitude to Evgeny for this wonderful site and for the fact that he helps novice programmers and not only develop. I would like to ask other users to contribute to the development of …
Django → Django - Tutorial 037. How to add authentication through social networks. Google+
Social, Google, Django, Google API
The second social network through which you can authenticate on the site will be Google+.
I will not go into all the details of setting up and installing the Python Social Auth Django battery, as it was discussed in the …
ReadDjango → Django - Tutorial 036. How to add authentication through social networks. VKontakte
On the recommendation of users of the site began to add authentication through social networks to the site. The first such social network was VKontakte, as the most popular social network among users of my site.
Django itself has the …
ReadQt → Qt/C++ - Tutorial 082. Custom widgets in the Qt Designer
Periodically, questions arise about the inheritance of widgets and the use of inherited widgets within the graphic designer Qt Designer.
If the application of the widget within the code as a whole is understandable, then how to fasten the custom …
ReadC++ → Cooking lambda functions in C ++ - Part 2 - Recursive lambda functions using the example of factorial calculation
factorial, lambda, C++, лямбда функция, факториал
In the previous article , we got acquainted with the structure of lambda functions, and now we'll play with lambdas, calculate the factorial, and consider how the lambda function can be applied for this.
Let's consider for the beginning the …
ReadDjango → Django - Tutorial 035. Different templates for rendering different types of content in the search results
Django, template, content, Search
Constant visitors of the site who use the search on the site, probably noticed that the display of articles differs from displaying comments in the search engine issue of the site. This was achieved by the fact that each content …
ReadDjango → Django - Tutorial 034. How to do a search on several data models
Model, Search, QuerySet, Django
In previous articles, we considered how to do a search on the site on the site. Namely:
- Implementing a search on the site
- Advanced search options
- Passing the argument list to the order_by method to sort the QuerySet
But what …
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