Javascript
Apollo GraphQL Client – Abort pending requests
September 14, 2020
0
, , ,
apollo graphQL
GraphQL + Apollo Client + ReactJS

Quick intro about Apollo GraphQL

Apollo is the industry-standard GraphQL implementation, providing the data graph layer that connects modern apps to the cloud.

Apollo GraphQL

In this tutorial we will understand the integration of AbortController, a JavaScript API with Apollo GraphQL Client using a fullstack ReactJs sample project.

Motivation for this post

It all started with a use case to prevent client from making a repeated request for the same GraphQL mutation query.

All the code inspired in this blog post is from a GitHub issue thread (Read more for interesting discussion …)

With that intro, lets understand how the solution is engineered for this topic.

(more…)
Javascript
Storybook.js custom Webpack setup for SCSS / SASS
June 6, 2020
0
, , , ,
Storybook.js custom Webpack setup for SCSS / SASS 1
Storybook + SASS = Custom SCSS variables

What is Storybook (Quick one!) ?

Storybook is an open source tool for developing UI components in isolation for React, Vue, and Angular. It makes building stunning UIs organized and efficient.

https://storybook.js.org/
(more…)
Artificial Intelligence Cognitive Intelligence
Artificial Cognitive Intelligence – ACi
July 16, 2019
0
,

Artificial intelligence is every where, becoming a lexicon in every industry verticals.

This post is an effort to shed light on the term Artificial Cognitive Intelligence, an under used terminology in the industry of ML/DL & Ai. So brace for my perspective on using it in context with Cognition driven intelligence technology.

AI-image
Artificial Cognitive Intelligence

What does word Cognition mean?

A set of all mental abilities and processes related to knowledge, attention, memory and working memory, judgment and evaluation, reasoning and “computation”, problem solving and decision making, comprehension and production of language

Source: Wikipedia
(more…)
Javascript Reverse Engineering
Reverse engineering Popunder.js – Chrome
May 12, 2019
0
, ,

This is my first reverse engineering write-up. So please excuse me for any errors!

It all started with a Youtube video by @LiveOverflow. Which is awesome by the way. This video talk is on a bit older version of Popunder.js. I have linked it below.

Motivated & intrigued to checkout current version of popunder.js and reverse engineer to understand its engine.

To begin with, I cloned the demo site to my local machine, changed few parts to point my localhost (nothing important to share). It consists of 5 files, out of which script.js is the heart of the engine payload.

First thing that caught my eye was the defensive code against Debugger tools.

(more…)