---
title: "Patrick (@zgaduj) | Hashnode"
description: "Patrick (@zgaduj) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@zgaduj"
---

@zgaduj

# Patrick

@zgaduj · Warsaw · Joined October 2016

### [Stop Wasting Queries: How to Cancel MySQL Requests When the Client Disconnects](https://blog.tyszko.dev/stop-wasting-queries-how-to-cancel-mysql-requests-when-the-client-disconnects?utm_source=hashnode&utm_medium=feed)

Introduction In a high-traffic web application, many users may be clicking around at once. Imagine a user who requests a long list of items, then quickly navigates away before the server has finished fetching them from the database. By default, that ...

5 min read · [blog.tyszko.dev](https://blog.tyszko.dev/stop-wasting-queries-how-to-cancel-mysql-requests-when-the-client-disconnects?utm_source=hashnode&utm_medium=feed)

[Apr 30, 2025](https://hashnode.com/posts/stop-wasting-queries-how-to-cancel-mysql-requests-when-the-client-disconnects/6811ca161d4f296c69a7da46)

### [Optimizing Large-Scale Data Processing: Lessons from Real-World Scenarios](https://blog.tyszko.dev/optimizing-large-scale-data-processing-lessons-from-real-world-scenarios?utm_source=hashnode&utm_medium=feed)

Optimizing Data Processing – Practical Insights Recently, I had the opportunity to work on a project where processing very large and coherent data sets became crucial. These don’t have to be strictly production data – what really matters is that they...

4 min read · [blog.tyszko.dev](https://blog.tyszko.dev/optimizing-large-scale-data-processing-lessons-from-real-world-scenarios?utm_source=hashnode&utm_medium=feed)

[Feb 16, 2025](https://hashnode.com/posts/optimizing-large-scale-data-processing-lessons-from-real-world-scenarios/67b1e40df70a02b9bca8842b)

### [Get errors from NestJS and inject to Angular forms](https://blog.tyszko.dev/get-errors-from-nestjs-and-inject-to-angular-forms?utm_source=hashnode&utm_medium=feed)

In every new app, we need to know how we should handle errors from the backend.After creating a lot of frontends and backends I decided to share my experience with forms and validation errors. Probably if you are reading this article you are also thi...

4 min read · [blog.tyszko.dev](https://blog.tyszko.dev/get-errors-from-nestjs-and-inject-to-angular-forms?utm_source=hashnode&utm_medium=feed)

[Sep 10, 2023](https://hashnode.com/posts/get-errors-from-nestjs-and-inject-to-angular-forms/64fdb83a2e4954fb39f656c9)

### [\[Angular\] Custom icon component](https://blog.tyszko.dev/angular-custom-icon-component?utm_source=hashnode&utm_medium=feed)

Hi, sometimes we don't want to implement huge library to use one small component. In a simple example this is Material from Angular. When we decide to use only Material library then the problem doesn't exist, but when we want to use bootstrap or tail...

2 min read · [blog.tyszko.dev](https://blog.tyszko.dev/angular-custom-icon-component?utm_source=hashnode&utm_medium=feed)

[Oct 2, 2022](https://hashnode.com/posts/angular-custom-icon-component/63396519691067b77339b71c)

### [Simple encryption and decryption with secret in TypeScript](https://blog.tyszko.dev/simple-encryption-and-decryption-with-secret-in-typescript?utm_source=hashnode&utm_medium=feed)

In this article I will show you how to easier using built-in nodejs module crypto. For this code we need SECRET\_KEY and SECRET\_IV environments. You can write everything in this variables but if you change values after encrypted data, you decryption ...

1 min read · [blog.tyszko.dev](https://blog.tyszko.dev/simple-encryption-and-decryption-with-secret-in-typescript?utm_source=hashnode&utm_medium=feed)

[Jun 25, 2021](https://hashnode.com/posts/simple-encryption-and-decryption-with-secret-in-typescript/60d5cdbade92ef110afdc33d)
