K-Sum – A generalized solution

In this blog post, we will attempt to address the 4-Sum problem from Leet code using the generic approach of K-Sum. Let us state the official definition of the problem. Given an array nums of n integers, return an array of all the unique quadruplets [nums[a], nums[b], nums[c], nums[d]] such that: 0 <= a, b, … Continue reading K-Sum – A generalized solution

QT #3 : Hello World using Qt Widgets

Earlier in this series of Qt byte sized tutorials, we wrote our first program, a console based "Hello World". In this part, we will build a GUI application (after all Qt is mainly a GUI Framework) using Qt Widgets. In doing so, we will also leverage the functionalities of Slots and Signals, which we learned in previous post. Widgets … Continue reading QT #3 : Hello World using Qt Widgets

QT #2 : Signals and Slots

In this section, we will sneak peak into one of the key concepts introduced by Qt - Signals and Slots. Qt uses Signals and slots for communicating between objects. Or to be more precise, all objects that derieved from QObjects (or one of its subclasses). Objects often want to communicate with each other, particularly in GUI programming where … Continue reading QT #2 : Signals and Slots

gRPC-Web : Using gRPC over browser application

Previously, we created a gRPC server in .NET and connected it using a Flutter Desktop client. In this blog post, we would attempt to connect a web application running on a browser to the gRPC server. We will look at the problems, and the solutions we have, particularly, the gRPC-Web .Net Microsoft have come out … Continue reading gRPC-Web : Using gRPC over browser application

QT #1 : Introduction to QT C++

QT(pronounced as Cute) has been around for a long time now. At the time of writing of this blog, Qt 6.4 is the latest stable version. Why Qt ? Qt is a cross platoform framework for development of application across Windows, Linux, Android, IOS and embedded devices. Cross Platform application development allows developers to use the … Continue reading QT #1 : Introduction to QT C++

Migrating to null safety in Flutter/Dart

If you are starting with Flutter, just like me, and end up having used dependency packages with versions which do not support null safety checks then you are most likely to come across with errors such as the following when you do build. error GBA2BE6E0: A library can't opt out of null safety by default, … Continue reading Migrating to null safety in Flutter/Dart

Process Stream data from gRPC Server using Flutter/Dart

In the earlier post, we addressed how to create a simple Grpc server in C# and consume it using a client developed using Flutter/Dart. We will now take the next step and address how to create expose a streaming remote method in the server and consume the same in the client. Streaming method in Server (C#) … Continue reading Process Stream data from gRPC Server using Flutter/Dart

Generate Password Hash for RabbitMq

In the previous post, we explored how to use┬ádocker compose┬áto per-initialize queues in a docker container. The configuration files also provided a way to initialize users. Each of the users where configured with a password, which is given in the configuration file as a hash value comprising of a randomly generated 32 bit salt and … Continue reading Generate Password Hash for RabbitMq