Tips and tricks

My Experiments With Annyang!

Karan Balkar
Note: Please allow access to microphone to use speech recognition feature. Hi everyone! Speech recognition has always being one of those features that is always perceived to be good based on it’s acccuracy. There exists a ton of libraries today that offer this functionality in almost any kind of app. I happened to stumble upon Annyang a few weeks back and wanted to try it in an existing PWA (Progressive Web App).

Chaos in the World of Jenkins

Karan Balkar
Hello everyone! Imagine a tool that regularly stop certain build processes in an existing CI/CD pipeline in order to ensure that the underlying infrastructure is indeed fault resilient. Chaos engineering has been in the news for quite some time now and it is important for software engineers to determine the resiliency of the system. We often develop scalable, complex micro-services that connect to multiple systems but seldom do we think about the fact that what if one of the them does not work or is shut down completely.

Detect and use light and gyroscope sensors in Android

Karan Balkar
Hello everyone! Sensors play a vital role in any electronic device and more importantly help in detecting or measuring a physical property. Nowadays, Android phones come equipped with a range of sensors including light, pressure, temperature, gyroscope, proximity etc. Developers need to build applications using the functionality of these sensors. For that purpose, one needs to learn how to detect and implement the corresponding sensor functionality. Through this post, we will understand how to detect and use the Light and Gyroscope sensors in Android.

Base64 encoding and decoding using Qt 5 framework

Karan Balkar
Hi everyone! In one of my previous posts, we had learnt how to configure and setup Qt for Windows. Base64 is basically a method using which we can encode binary data into a character set in order to transmit the data without any loss or modification of the contents. It is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation.

Sending Http Request Using Qt 5 framework

Karan Balkar
HTTP (Hypertext Transfer Protocol) works as a request-response protocol between a client and server. A web browser may be the client, and an application on a computer that hosts a web site may be the server. For example, a client (browser) submits an HTTP request to the server and then the server returns a response to the client. The response contains status information about the request as well as the requested content.

Getting Started With Qt

Karan Balkar
Hi guys, Qt is a cross-platform application framework used extensively for developing non-GUI programs and consoles for servers. It is written in C++ and works on major platforms including Android, iOS, Windows and more recently Sailfish MeeGo Linux. There exists three versions of Qt available on each of these platforms, namely: GUI Framework – commercial entry level GUI edition, stripped of network and database support (formerly named “Desktop Light”) Full Framework – complete commercial edition Open Source – complete Open Source edition

Parsing JSON using Qt 5 framework

Karan Balkar
Hello friends! In one of my previous posts, we had seen how to send a HTTP request using Qt. The response we got then was a JSON string. JSON is a subset of the object literal notation of JavaScript. It is basically a lightweight data-interchange format making it easy for humans to read and write. A JSON is build on two structures namely, A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list or associative array.

Zipping and unzipping files using Qt 5 framework

Karan Balkar
Hey everyone! Qt provides a QByteArray class that can be used to store raw bytes and traditional 8-bit terminated strings. Moreover, Qt also provides the QString class to store string data. QString is mainly used throughout the Qt API. Through this post, we will learn how to zip and unzip files using Qt. We will create a sample text file containing a message as follows, demo.txt This is a demo to zip and unzip files using Qt framework Pre-requisites: Qt Creator, MinGW compiler for Windows (64 bit)

Using Threejs to Display 3D Model

Karan Balkar
Hi everyone! Three.js is a popular JavaScript library used to display 3D graphics in a web browser using WebGL. It is especially useful when developing AR/VR based applications. A simple implementation could involve rendering a 3D model on the browser. Three.js provides a base class Loader through which developers can load 3D models depending upon the type of the model. The .obj file format is one of the most common formats for 3D models.

Execute batch file using Oracle Job Scheduler

Karan Balkar
Hey everyone! The Oracle database includes a built-in scheduler that allows scheduling functions and procedures that can be called from any PL/SQL program. The DBMS_SCHEDULER package introduced in Oracle 10g helps to create, run and monitor jobs. In addition, one can also define a job to execute a batch (.bat) file. In order to run an external job, you need to enable and start the OracleJobScheduler service on the database server.