Quantcast
Channel: Shamasis Bhattacharya – Shamasis Bhattacharya
Browsing latest articles
Browse All 24 View Live

Dynamically Update FusionCharts XML Attributes

This snippet of code adds the functionality to dynamically update FusionCharts DataXML root attributes (also known as “chart attributes”) on-the-fly using JavaScript. In case user requires to update...

View Article


Honey I Shrunk the Codes

The new FusionCharts JavaScript library was built keeping in mind the modern JavaScript paradigm: Scalable, Flexible and Extensible. So much so, that there are three different ways to construct and...

View Article


Optimized Trapping of Undefined-like Values In JavaScript

While working on the FusionCharts JavaScript charts, there was a frequent need to test whether a variable was null, undefined, NaN or an empty string. The “frequent” need was so frequent that the...

View Article

Purpose of Lucifer

Hello world, I am god.On Earth, I had the dream to create life.I am the one who painted green.First, I wove grass — they served a purpose,Held onto the skin of my Earth.Then, I chiseled trees with a...

View Article

Infinite Ways to Detect Array in JavaScript

JavaScript (ECMA script in general) is a miraculous language. It allows us to prove that coding is creativity. One reason for that is the numerous ways a single objective can be coded. For instance,...

View Article


Setting Default Variable Value in JavaScript

Often, there are conditions where we need to provide a default value of a variable if it is undefined. As a case study, we will take up the situation, where we are passing a Boolean value to function...

View Article

Quick Validating JavaScript Function Before Call

There are many instances where we have to execute a function where we have no idea whether it actually exists or not. Let’s say for example, a function expects another function passed to it as...

View Article

The Intersection of Belief, Technology, and Philosophy

As humans, we navigate our lives through a tapestry of beliefs, each thread influencing our actions and decisions. Understanding the forces that shape these beliefs empowers us, granting us insight and...

View Article


The Philosophy of Preservation: Reflections on Two Decades of my Digital Data

In the quiet hum of technological progress, a peculiar shift has occurred — our sense of self, once rooted in physical places and tangible artifacts, now expands into the digital realm. As an ’80s kid,...

View Article


Registers, Rants, and Random Entries — from Grace’s Diary

March 12, 1975 Dear diary, Today was a good day. I optimized a subroutine in 8080 code that shaves off 12 cycles per loop iteration! No compiler could ever dream of doing that. I bet my code could make...

View Article
Browsing latest articles
Browse All 24 View Live