Jan 16, 2023

How to use Proxy pattern with QNetworkReply?

qt design-patterns
Preview

Background

In a previous project that I worked on, we had to connect to backend API using Qt framework in order to download some files and display some content of these files, this thing might look easily done using QNetworkAccessManager and QNetworkReply. But we had other things to consider:

  • Size of the downloaded files was large.
  • No file should be stored in the device running the application.
Read more →

Dec 13, 2020

ABC185 editorial

atCoder competitive-programming
Preview

This is unofficial editorial for atCoder abc185.

Read more →

Sep 27, 2020

Polygon.CodeForces Tutorial

competitive-programming
Preview

What is Polygon

According to Polygon itself, The mission of Polygon is to provide platform for creation of programming contest problems. Polygon supports the whole development cycle:

  • Problem statement writing.
  • Test data preparing (generators supported).
  • Model solutions (including correct and wittingly incorrect).
  • Judging.
  • Automatic validation.
Read more →

Sep 19, 2020

ABC179 editorial

atCoder competitive-programming
Preview

This is unofficial editorial for atCoder abc179.

Read more →

Sep 12, 2020

ABC178 editorial

atCoder competitive-programming
Preview

This is unofficial editorial for atCoder abc178.

Read more →